cortex-react-components 1.22.1 → 1.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/{chunk-OCZX7ASJ.mjs → chunk-2SSVZSE4.mjs} +1 -1
  2. package/dist/{chunk-635GJHAZ.mjs → chunk-2XFMQU5T.mjs} +1 -1
  3. package/dist/{chunk-KHQHXFXT.mjs → chunk-4DKHBSMY.mjs} +1 -1
  4. package/dist/chunk-5FFTSAM2.mjs +1 -0
  5. package/dist/{chunk-HOTJ3KYZ.mjs → chunk-APJGF4AI.mjs} +1 -1
  6. package/dist/{chunk-DT4BKA5D.mjs → chunk-BQQYRB4K.mjs} +1 -1
  7. package/dist/{chunk-VAEYKO2L.mjs → chunk-E3FZ6GTZ.mjs} +1 -1
  8. package/dist/{chunk-ZDDN4BC5.mjs → chunk-GCBC75DA.mjs} +1 -1
  9. package/dist/{chunk-D43ENVPX.mjs → chunk-IPHHUHS3.mjs} +1 -1
  10. package/dist/{chunk-IE2A7UT3.mjs → chunk-LBKMUSVR.mjs} +1 -1
  11. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  12. package/dist/components/Blocks/index.mjs +1 -1
  13. package/dist/components/Cards/index.mjs +1 -1
  14. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  15. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  16. package/dist/components/Menus/SidebarRight.mjs +1 -1
  17. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  18. package/dist/components/Menus/index.mjs +1 -1
  19. package/dist/components/Pages/Documentation.mjs +1 -1
  20. package/dist/components/Pages/Documentation.stories.mjs +1 -1
  21. package/dist/components/Pages/IndexPage.mjs +1 -1
  22. package/dist/components/Pages/IndexPage.stories.mjs +1 -1
  23. package/dist/components/Pages/Intranet.mjs +1 -1
  24. package/dist/components/Pages/Intranet.stories.mjs +1 -1
  25. package/dist/components/Pages/Page.mjs +1 -1
  26. package/dist/components/Pages/Page.stories.mjs +1 -1
  27. package/dist/components/Pages/Website.mjs +1 -1
  28. package/dist/components/Pages/Website.stories.mjs +1 -1
  29. package/dist/components/index.mjs +1 -1
  30. package/dist/components/ui/index.mjs +1 -1
  31. package/dist/components/ui/sidebar.mjs +1 -1
  32. package/dist/hooks/index.mjs +1 -1
  33. package/dist/index.js +2 -2
  34. package/dist/index.mjs +1 -1
  35. package/dist/metafile-cjs.json +1 -1
  36. package/dist/metafile-esm.json +1 -1
  37. package/dist/sections/BlogListSection.js +1 -1
  38. package/dist/sections/BlogListSection.mjs +1 -1
  39. package/dist/sections/BlogListSection.stories.js +1 -1
  40. package/dist/sections/BlogListSection.stories.mjs +1 -1
  41. package/dist/sections/ContactSection.mjs +1 -1
  42. package/dist/sections/ContactSection.stories.mjs +1 -1
  43. package/dist/sections/PricingSection.mjs +1 -1
  44. package/dist/sections/PricingSection.stories.mjs +1 -1
  45. package/dist/sections/index.js +1 -1
  46. package/dist/sections/index.mjs +1 -1
  47. package/package.json +1 -1
  48. package/dist/chunk-OLAQGTFS.mjs +0 -1
package/dist/index.js CHANGED
@@ -3,8 +3,8 @@
3
3
  "use strict";
4
4
  'use server'
5
5
 
6
- "use strict";var Wl=Object.create;var to=Object.defineProperty;var Xl=Object.getOwnPropertyDescriptor;var jl=Object.getOwnPropertyNames;var Yl=Object.getPrototypeOf,Kl=Object.prototype.hasOwnProperty;var Ql=(e,t)=>{for(var a in t)to(e,a,{get:t[a],enumerable:!0})},ss=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of jl(t))!Kl.call(e,r)&&r!==a&&to(e,r,{get:()=>t[r],enumerable:!(o=Xl(t,r))||o.enumerable});return e};var g=(e,t,a)=>(a=e!=null?Wl(Yl(e)):{},ss(t||!e||!e.__esModule?to(a,"default",{value:e,enumerable:!0}):a,e)),ql=e=>ss(to({},"__esModule",{value:!0}),e);var Jd={};Ql(Jd,{AboutSection:()=>Ud,Alert:()=>ci,AlertDescription:()=>mi,AlertTitle:()=>di,Avatar:()=>Va,AvatarFallback:()=>$a,AvatarImage:()=>Ua,Badge:()=>Ro,BannerBlock:()=>ki,BlogListSection:()=>Wd,BrandLogo:()=>kt,Breadcrumb:()=>lr,BreadcrumbEllipsis:()=>gr,BreadcrumbItem:()=>dr,BreadcrumbLink:()=>mr,BreadcrumbList:()=>cr,BreadcrumbPage:()=>pr,BreadcrumbSeparator:()=>ur,Button:()=>X,CMSLink:()=>nt,CallToActionBlock:()=>Ya,Card:()=>Xa,Categories:()=>Oi,Checkbox:()=>vn,CodeBlock:()=>Mi,Collapsible:()=>et,CollapsibleContent:()=>bt,CollapsibleTrigger:()=>ft,CollectionArchive:()=>ad,Command:()=>yo,CommandDialog:()=>mn,CommandEmpty:()=>ri,CommandGroup:()=>ii,CommandInput:()=>ai,CommandItem:()=>ni,CommandList:()=>oi,CommandSeparator:()=>si,CommandShortcut:()=>li,ContactSection:()=>qd,ContentBlock:()=>Ei,CopyButton:()=>Ti,CustomerCard:()=>Mn,Dialog:()=>ra,DialogClose:()=>ho,DialogContent:()=>Bt,DialogDescription:()=>ti,DialogFooter:()=>ei,DialogHeader:()=>Ga,DialogOverlay:()=>xo,DialogPortal:()=>Zr,DialogTitle:()=>_a,DialogTrigger:()=>cn,DropdownMenu:()=>vs,DropdownMenuCheckboxItem:()=>xr,DropdownMenuContent:()=>vr,DropdownMenuGroup:()=>xs,DropdownMenuItem:()=>hr,DropdownMenuLabel:()=>wr,DropdownMenuPortal:()=>ys,DropdownMenuRadioGroup:()=>Ns,DropdownMenuRadioItem:()=>yr,DropdownMenuSeparator:()=>Nr,DropdownMenuShortcut:()=>Pr,DropdownMenuSub:()=>ws,DropdownMenuSubContent:()=>br,DropdownMenuSubTrigger:()=>fr,DropdownMenuTrigger:()=>hs,DynamicIcon:()=>je,EventCard:()=>In,FeatureCard:()=>kn,FeatureGrid:()=>On,FeaturesBlock:()=>Li,Filter:()=>_i,Footer:()=>Gd,HeaderDesktop:()=>ji,HeaderMobile:()=>Ki,HeadingImage:()=>vd,HighImpactHero:()=>Vi,HoverCard:()=>rn,HoverCardContent:()=>Jr,HoverCardTrigger:()=>sn,Image:()=>Hn,ImageBlock:()=>hd,InfoTile:()=>cd,Input:()=>Ca,Insight:()=>ld,Label:()=>qr,Logo:()=>od,LowImpactHero:()=>Wi,MOTD:()=>md,Media:()=>Se,MediaBlock:()=>la,MediumImpactHero:()=>$i,NewsGrid:()=>Qn,OrgChart:()=>gd,PageRange:()=>sd,Pagination:()=>Fi,PayloadPagination:()=>nd,Popover:()=>qs,PopoverAnchor:()=>Zs,PopoverContent:()=>Kr,PopoverTrigger:()=>Js,PostHero:()=>Ad,PricingCard:()=>vi,PricingSection:()=>Vd,ProjectCard:()=>Bn,ProjectTeam:()=>Rd,ProposalSummary:()=>fd,RelatedContent:()=>Sd,RelatedPosts:()=>yd,RenderBlocks:()=>xd,RenderHero:()=>Id,RichText:()=>ae,ScrollArea:()=>jr,ScrollBar:()=>vo,SectionHero:()=>Dd,Select:()=>Uc,SelectContent:()=>xn,SelectGroup:()=>$c,SelectItem:()=>wn,SelectLabel:()=>yn,SelectScrollDownButton:()=>gi,SelectScrollUpButton:()=>ui,SelectSeparator:()=>Nn,SelectTrigger:()=>hn,SelectValue:()=>Wc,Separator:()=>Ra,ServiceCard:()=>bi,ServiceSection:()=>_d,Sheet:()=>oo,SheetClose:()=>Ms,SheetContent:()=>ka,SheetDescription:()=>Ar,SheetFooter:()=>kr,SheetHeader:()=>Sr,SheetOverlay:()=>ro,SheetPortal:()=>Rr,SheetTitle:()=>Tr,SheetTrigger:()=>As,Sidebar:()=>At,SidebarContent:()=>vt,SidebarFooter:()=>It,SidebarGroup:()=>Ie,SidebarGroupAction:()=>Hr,SidebarGroupContent:()=>Ge,SidebarGroupLabel:()=>at,SidebarHeader:()=>Mt,SidebarInput:()=>Br,SidebarInset:()=>Lr,SidebarLeft:()=>wd,SidebarMenu:()=>be,SidebarMenuAction:()=>Ia,SidebarMenuBadge:()=>zr,SidebarMenuButton:()=>De,SidebarMenuItem:()=>re,SidebarMenuSkeleton:()=>Fr,SidebarMenuSub:()=>ht,SidebarMenuSubButton:()=>yt,SidebarMenuSubItem:()=>xt,SidebarProvider:()=>Ir,SidebarRail:()=>Er,SidebarRight:()=>Cd,SidebarSeparator:()=>Ma,SidebarTrigger:()=>Dr,SimpleHeader:()=>Bd,Skeleton:()=>j,TextAndImages:()=>qn,Textarea:()=>Cn,Toast:()=>La,ToastAction:()=>_r,ToastClose:()=>Ba,ToastDescription:()=>za,ToastProvider:()=>fo,ToastTitle:()=>Ha,ToastViewport:()=>Ea,Toaster:()=>Ws,Toggle:()=>Ur,ToggleGroup:()=>$r,ToggleGroupItem:()=>Wr,Tooltip:()=>lo,TooltipContent:()=>Aa,TooltipProvider:()=>no,TooltipTrigger:()=>co,VerticalSlider:()=>Vn,VideoHeader:()=>Fd,WhyUs:()=>bd,badgeVariants:()=>pi,buttonVariants:()=>Ta,reducer:()=>_s,toast:()=>Vs,toggleVariants:()=>Fa,useIsMobile:()=>so,useSidebar:()=>aa,useToast:()=>go});module.exports=ql(Jd);var Jt=g(require("react")),ao=require("@radix-ui/react-icons"),bs=require("@radix-ui/react-slot");var fs=require("clsx");var nr="-",Jl=e=>{let t=ec(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(nr);return n[0]===""&&n.length!==1&&n.shift(),cs(n,t)||Zl(l)},getConflictingClassGroupIds:(l,n)=>{let m=a[l]||[];return n&&o[l]?[...m,...o[l]]:m}}},cs=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?cs(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let i=e.join(nr);return(l=t.validators.find(({validator:n})=>n(i)))==null?void 0:l.classGroupId},ns=/^\[(.+)\]$/,Zl=e=>{if(ns.test(e)){let t=ns.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},ec=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return ac(Object.entries(e.classGroups),a).forEach(([i,l])=>{sr(l,o,i,t)}),o},sr=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let i=r===""?t:ls(t,r);i.classGroupId=a;return}if(typeof r=="function"){if(tc(r)){sr(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([i,l])=>{sr(l,ls(t,i),a,o)})})},ls=(e,t)=>{let a=e;return t.split(nr).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},tc=e=>e.isThemeGetter,ac=(e,t)=>t?e.map(([a,o])=>{let r=o.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>[t+l,n])):i);return[a,r]}):e,oc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(i,l)=>{a.set(i,l),t++,t>e&&(t=0,o=a,a=new Map)};return{get(i){let l=a.get(i);if(l!==void 0)return l;if((l=o.get(i))!==void 0)return r(i,l),l},set(i,l){a.has(i)?a.set(i,l):r(i,l)}}},ds="!",rc=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],i=t.length,l=n=>{let m=[],c=0,d=0,u;for(let w=0;w<n.length;w++){let L=n[w];if(c===0){if(L===r&&(o||n.slice(w,w+i)===t)){m.push(n.slice(d,w)),d=w+i;continue}if(L==="/"){u=w;continue}}L==="["?c++:L==="]"&&c--}let b=m.length===0?n:n.substring(d),h=b.startsWith(ds),S=h?b.substring(1):b,f=u&&u>d?u-d:void 0;return{modifiers:m,hasImportantModifier:h,baseClassName:S,maybePostfixModifierPosition:f}};return a?n=>a({className:n,parseClassName:l}):l},ic=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},sc=e=>({cache:oc(e.cacheSize),parseClassName:rc(e),...Jl(e)}),nc=/\s+/,lc=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,i=[],l=e.trim().split(nc),n="";for(let m=l.length-1;m>=0;m-=1){let c=l[m],{modifiers:d,hasImportantModifier:u,baseClassName:b,maybePostfixModifierPosition:h}=a(c),S=!!h,f=o(S?b.substring(0,h):b);if(!f){if(!S){n=c+(n.length>0?" "+n:n);continue}if(f=o(b),!f){n=c+(n.length>0?" "+n:n);continue}S=!1}let w=ic(d).join(":"),L=u?w+ds:w,B=L+f;if(i.includes(B))continue;i.push(B);let de=r(f,S);for(let qe=0;qe<de.length;++qe){let Kt=de[qe];i.push(L+Kt)}n=c+(n.length>0?" "+n:n)}return n};function cc(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=ms(t))&&(o&&(o+=" "),o+=a);return o}var ms=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=ms(e[o]))&&(a&&(a+=" "),a+=t);return a};function dc(e,...t){let a,o,r,i=l;function l(m){let c=t.reduce((d,u)=>u(d),e());return a=sc(c),o=a.cache.get,r=a.cache.set,i=n,n(m)}function n(m){let c=o(m);if(c)return c;let d=lc(m,a);return r(m,d),d}return function(){return i(cc.apply(null,arguments))}}var O=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},ps=/^\[(?:([a-Me-]+):)?(.+)\]$/i,mc=/^\d+\/\d+$/,pc=new Set(["px","full","screen"]),uc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gc=/\d+(%|px|r?em|[sdl]?Me([hwib]|min|max)|Me|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bc=/^(inset_)?-?((\d+)?\.?(\d+)[a-Me]+|0)_-?((\d+)?\.?(\d+)[a-Me]+|0)/,vc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ze=e=>Qt(e)||pc.has(e)||mc.test(e),ut=e=>qt(e,"length",Rc),Qt=e=>!!e&&!Number.isNaN(Number(e)),ir=e=>qt(e,"number",Qt),Na=e=>!!e&&Number.isInteger(Number(e)),hc=e=>e.endsWith("%")&&Qt(e.slice(0,-1)),N=e=>ps.test(e),gt=e=>uc.test(e),xc=new Set(["length","size","percentage"]),yc=e=>qt(e,xc,us),wc=e=>qt(e,"position",us),Nc=new Set(["image","url"]),Pc=e=>qt(e,Nc,kc),Cc=e=>qt(e,"",Sc),Pa=()=>!0,qt=(e,t,a)=>{let o=ps.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Rc=e=>gc.test(e)&&!fc.test(e),us=()=>!1,Sc=e=>bc.test(e),kc=e=>vc.test(e);var Tc=()=>{let e=O("colors"),t=O("spacing"),a=O("blur"),o=O("brightness"),r=O("borderColor"),i=O("borderRadius"),l=O("borderSpacing"),n=O("borderWidth"),m=O("contrast"),c=O("grayscale"),d=O("hueRotate"),u=O("invert"),b=O("gap"),h=O("gradientColorStops"),S=O("gradientColorStopPositions"),f=O("inset"),w=O("margin"),L=O("opacity"),B=O("padding"),de=O("saturate"),qe=O("scale"),Kt=O("sepia"),Ja=O("skew"),es=O("space"),ts=O("translate"),tr=()=>["auto","contain","none"],ar=()=>["auto","hidden","clip","visible","scroll"],or=()=>["auto",N,t],_=()=>[N,t],as=()=>["",Ze,ut],Za=()=>["auto",Qt,N],os=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],eo=()=>["solid","dashed","dotted","double","none"],rs=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],rr=()=>["start","end","center","between","around","evenly","stretch"],wa=()=>["","0",N],is=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Je=()=>[Qt,N];return{cacheSize:500,separator:":",theme:{colors:[Pa],spacing:[Ze,ut],blur:["none","",gt,N],brightness:Je(),borderColor:[e],borderRadius:["none","","full",gt,N],borderSpacing:_(),borderWidth:as(),contrast:Je(),grayscale:wa(),hueRotate:Je(),invert:wa(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[hc,ut],inset:or(),margin:or(),opacity:Je(),padding:_(),saturate:Je(),scale:Je(),sepia:wa(),skew:Je(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[gt]}],"break-after":[{"break-after":is()}],"break-before":[{"break-before":is()}],"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:[...os(),N]}],overflow:[{overflow:ar()}],"overflow-Me":[{"overflow-Me":ar()}],"overflow-Me":[{"overflow-Me":ar()}],overscroll:[{overscroll:tr()}],"overscroll-Me":[{"overscroll-Me":tr()}],"overscroll-Me":[{"overscroll-Me":tr()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-Me":[{"inset-Me":[f]}],"inset-Me":[{"inset-Me":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],Me:[{Me:["auto",Na,N]}],basis:[{basis:or()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:wa()}],shrink:[{shrink:wa()}],order:[{order:["first","last","none",Na,N]}],"grid-cols":[{"grid-cols":[Pa]}],"col-start-end":[{col:["auto",{span:["full",Na,N]},N]}],"col-start":[{"col-start":Za()}],"col-end":[{"col-end":Za()}],"grid-rows":[{"grid-rows":[Pa]}],"row-start-end":[{row:["auto",{span:[Na,N]},N]}],"row-start":[{"row-start":Za()}],"row-end":[{"row-end":Za()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[b]}],"gap-Me":[{"gap-Me":[b]}],"gap-Me":[{"gap-Me":[b]}],"justify-content":[{justify:["normal",...rr()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...rr(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...rr(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Me:[{Me:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],Me:[{Me:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Me:[{Me:[w]}],Me:[{Me:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-Me":[{"space-Me":[es]}],"space-Me-reverse":["space-Me-reverse"],"space-Me":[{"space-Me":[es]}],"space-Me-reverse":["space-Me-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[gt]},gt]}],h:[{h:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",gt,ut]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ir]}],"font-family":[{font:[Pa]}],"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",N]}],"line-clamp":[{"line-clamp":["none",Qt,ir]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ze,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...eo(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ze,ut]}],"underline-offset":[{"underline-offset":["auto",Ze,N]}],"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:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],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",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...os(),wc]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Me","Me","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yc]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Pc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-Me":[{"rounded-Me":[i]}],"rounded-Me":[{"rounded-Me":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[n]}],"border-w-Me":[{"border-Me":[n]}],"border-w-Me":[{"border-Me":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[L]}],"border-style":[{border:[...eo(),"hidden"]}],"divide-Me":[{"divide-Me":[n]}],"divide-Me-reverse":["divide-Me-reverse"],"divide-Me":[{"divide-Me":[n]}],"divide-Me-reverse":["divide-Me-reverse"],"divide-opacity":[{"divide-opacity":[L]}],"divide-style":[{divide:eo()}],"border-color":[{border:[r]}],"border-color-Me":[{"border-Me":[r]}],"border-color-Me":[{"border-Me":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...eo()]}],"outline-offset":[{"outline-offset":[Ze,N]}],"outline-w":[{outline:[Ze,ut]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:as()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[Ze,ut]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",gt,Cc]}],"shadow-color":[{shadow:[Pa]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":[...rs(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":rs()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",gt,N]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[de]}],sepia:[{sepia:[Kt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[de]}],"backdrop-sepia":[{"backdrop-sepia":[Kt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Me":[{"border-spacing-Me":[l]}],"border-spacing-Me":[{"border-spacing-Me":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:Je()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:Je()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[qe]}],"scale-Me":[{"scale-Me":[qe]}],"scale-Me":[{"scale-Me":[qe]}],rotate:[{rotate:[Na,N]}],"translate-Me":[{"translate-Me":[ts]}],"translate-Me":[{"translate-Me":[ts]}],"skew-Me":[{"skew-Me":[Ja]}],"skew-Me":[{"skew-Me":[Ja]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],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","Me-resize","nw-resize","Me-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Me","Me",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-Me":[{"scroll-Me":_()}],"scroll-Me":[{"scroll-Me":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-Me":[{"scroll-Me":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-Me":[{"scroll-Me":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Me","Me","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Me":[{"touch-pan":["Me","left","right"]}],"touch-Me":[{"touch-pan":["Me","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ze,ut,ir]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Me","overflow-Me"],overscroll:["overscroll-Me","overscroll-Me"],inset:["inset-Me","inset-Me","start","end","top","right","bottom","left"],"inset-Me":["right","left"],"inset-Me":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Me","gap-Me"],Me:["px","py","ps","pe","Me","pr","pb","pl"],px:["pr","pl"],py:["Me","pb"],m:["mx","my","ms","Me","Me","mr","mb","ml"],mx:["mr","ml"],my:["Me","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-Me","rounded-Me","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Me","rounded-Me"],"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-Me","border-spacing-Me"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Me":["border-w-r","border-w-l"],"border-w-Me":["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-Me":["border-color-r","border-color-l"],"border-color-Me":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Me","scroll-Me","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Me","scroll-mb"],"scroll-Me":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Me","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Me","scroll-pb"],touch:["touch-Me","touch-Me","touch-pz"],"touch-Me":["touch"],"touch-Me":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var gs=dc(Tc);function s(...e){return gs((0,fs.clsx)(e))}var Me=require("react/jsx-runtime"),lr=Jt.forwardRef(({...e},t)=>(0,Me.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));lr.displayName="Breadcrumb";var cr=Jt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Me",{ref:a,className:s("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));cr.displayName="BreadcrumbList";var dr=Jt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,className:s("inline-flex items-center gap-1.5",e),...t}));dr.displayName="BreadcrumbItem";var mr=Jt.forwardRef(({asChild:e,className:t,...a},o)=>(0,Me.jsx)(e?bs.Slot:"a",{ref:o,className:s("transition-colors hover:text-foreground",t),...a}));mr.displayName="BreadcrumbLink";var pr=Jt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:s("font-normal text-foreground",e),...t}));pr.displayName="BreadcrumbPage";var ur=({children:e,className:t,...a})=>(0,Me.jsx)("li",{role:"presentation","aria-hidden":"true",className:s("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...a,children:e!=null?e:(0,Me.jsx)(ao.ChevronRightIcon,{})});ur.displayName="BreadcrumbSeparator";var gr=({className:e,...t})=>(0,Me.jsxs)("span",{role:"presentation","aria-hidden":"true",className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(ao.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More"})]});gr.displayName="BreadcrumbElipssis";var Zt=g(require("@radix-ui/react-collapsible")),et=Zt.Root,ft=Zt.CollapsibleTrigger,bt=Zt.CollapsibleContent;var tt=g(require("react")),R=g(require("@radix-ui/react-dropdown-menu"));var vs=R.Root,hs=R.Trigger,xs=R.Group,ys=R.Portal,ws=R.Sub,Ns=R.RadioGroup,fr=tt.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,Me.jsxs)(R.SubTrigger,{ref:r,className:s("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,(0,Me.jsx)(ao.ChevronRightIcon,{className:"ml-auto"})]}));fr.displayName=R.SubTrigger.displayName;var br=tt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.SubContent,{ref:a,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Me-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));br.displayName=R.SubContent.displayName;var vr=tt.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Me.jsx)(R.Portal,{children:(0,Me.jsx)(R.Content,{ref:o,sideOffset:t,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Me-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));vr.displayName=R.Content.displayName;var hr=tt.forwardRef(({className:e,inset:t,...a},o)=>(0,Me.jsx)(R.Item,{ref:o,className:s("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));hr.displayName=R.Item.displayName;var xr=tt.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,Me.jsxs)(R.CheckboxItem,{ref:r,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(ao.CheckIcon,{className:"h-4 w-4"})})}),t]}));xr.displayName=R.CheckboxItem.displayName;var yr=tt.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(R.RadioItem,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(ao.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));yr.displayName=R.RadioItem.displayName;var wr=tt.forwardRef(({className:e,inset:t,...a},o)=>(0,Me.jsx)(R.Label,{ref:o,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));wr.displayName=R.Label.displayName;var Nr=tt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));Nr.displayName=R.Separator.displayName;var Pr=({className:e,...t})=>(0,Me.jsx)("span",{className:s("ml-auto text-xs tracking-widest opacity-60",e),...t});Pr.displayName="DropdownMenuShortcut";var Ps=g(require("react"));var Ca=Ps.forwardRef(({className:e,type:t,...a},o)=>(0,Me.jsx)("input",{type:t,className:s("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));Ca.displayName="Input";var Rs=g(require("react")),Cr=g(require("@radix-ui/react-separator"));var Ra=Rs.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,Me.jsx)(Cr.Root,{ref:r,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));Ra.displayName=Cr.Root.displayName;var Sa=g(require("react")),W=g(require("@radix-ui/react-dialog")),Ts=require("class-variance-authority");var oo=W.Root,As=W.Trigger,Ms=W.Close,Rr=W.Portal,ro=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(W.Overlay,{className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));ro.displayName=W.Overlay.displayName;var Ac=(0,Ts.cva)("fixed Me-50 gap-4 bg-background Me-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-Me-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Me-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-Me-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-Me-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ka=Sa.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,Me.jsxs)(Rr,{children:[(0,Me.jsx)(ro,{}),(0,Me.jsxs)(W.Content,{ref:r,className:s(Ac({side:e}),t),...o,children:[(0,Me.jsxs)(W.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Me.jsx)(ao.Cross2Icon,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ka.displayName=W.Content.displayName;var Sr=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-2 text-center sm:text-left",e),...t});Sr.displayName="SheetHeader";var kr=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Me-2",e),...t});kr.displayName="SheetFooter";var Tr=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(W.Title,{ref:a,className:s("text-lg font-semibold text-foreground",e),...t}));Tr.displayName=W.Title.displayName;var Ar=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(W.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));Ar.displayName=W.Description.displayName;var k=g(require("react")),Fs=require("lucide-react");var io=require("react"),so=(e=768)=>{let[t,a]=(0,io.useState)(!1);return(0,io.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Es=g(require("react")),Ta=(0,Ts.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"}}}),X=Es.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},i)=>(0,Me.jsx)(e?bs.Slot:"button",{className:s(Ta({className:t,size:a,variant:o})),ref:i,...r}));X.displayName="Button";function j({className:e,...t}){return(0,Me.jsx)("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t})}var Hs=g(require("react")),Oe=g(require("@radix-ui/react-tooltip"));var no=Oe.Provider,lo=Oe.Root,co=Oe.Trigger,Aa=Hs.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Me.jsx)(Oe.Portal,{children:(0,Me.jsx)(Oe.Content,{ref:o,sideOffset:t,className:s("Me-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Aa.displayName=Oe.Content.displayName;var Mc="sidebar:state",Ic=60*60*24*7,Dc="16rem",Ec="18rem",Lc="3rem",Bc="b",Os=k.createContext(null);function aa(){let e=k.useContext(Os);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var Ir=k.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:i,...l},n)=>{let m=so(),[c,d]=k.useState(!1),[u,b]=k.useState(e),h=t!=null?t:u,S=k.useCallback(B=>{if(a)return a==null?void 0:a(typeof B=="function"?B(h):B);b(B),document.cookie=`${Mc}=${h}; path=/; max-age=${Ic}`},[a,h]),f=k.useCallback(()=>m?d(B=>!B):S(B=>!B),[m,S,d]);k.useEffect(()=>{let B=de=>{de.key===Bc&&(de.metaKey||de.ctrlKey)&&(de.preventDefault(),f())};return window.addEventListener("keydown",B),()=>window.removeEventListener("keydown",B)},[f]);let w=h?"expanded":"collapsed",L=k.useMemo(()=>({state:w,open:h,setOpen:S,isMobile:m,openMobile:c,setOpenMobile:d,toggleSidebar:f}),[w,h,S,m,c,d,f]);return(0,Me.jsx)(Os.Provider,{value:L,children:(0,Me.jsx)(no,{delayDuration:0,children:(0,Me.jsx)("div",{style:{"--sidebar-width":Dc,"--sidebar-width-icon":Lc,...r},className:s("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:n,...l,children:i})})})});Ir.displayName="SidebarProvider";var At=k.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...i},l)=>{let{isMobile:n,state:m,openMobile:c,setOpenMobile:d}=aa();return a==="none"?(0,Me.jsx)("div",{className:s("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:l,...i,children:r}):n?(0,Me.jsx)(oo,{open:c,onOpenChange:d,...i,children:(0,Me.jsx)(ka,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar Me-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Ec},side:e,children:(0,Me.jsx)("div",{className:"flex h-full w-full flex-col",children:r})})}):(0,Me.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":m,"data-collapsible":m==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Me.jsx)("div",{className:s("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Me.jsx)("div",{className:s("duration-200 fixed top-14 bottom-0 Me-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"Me-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:(0,Me.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});At.displayName="Sidebar";var Dr=k.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=aa();return(0,Me.jsxs)(X,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:s("h-7 w-7",e),onClick:i=>{t==null||t(i),r()},...a,children:[(0,Me.jsx)(Fs.PanelLeft,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Dr.displayName="SidebarTrigger";var Er=k.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=aa();return(0,Me.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:s("absolute inset-Me-0 Me-20 hidden w-4 -translate-Me-1/2 transition-all ease-linear after:absolute after:inset-Me-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Me-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});Er.displayName="SidebarRail";var Lr=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("main",{ref:a,className:s("flex flex-1 flex-col bg-background overflow-Me-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Lr.displayName="SidebarInset";var Br=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ca,{ref:a,"data-sidebar":"input",className:s("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Br.displayName="SidebarInput";var Mt=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"header",className:s("flex flex-col gap-2 Me-2",e),...t}));Mt.displayName="SidebarHeader";var It=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"footer",className:s("flex flex-col gap-2 Me-2",e),...t}));It.displayName="SidebarFooter";var Ma=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ra,{ref:a,"data-sidebar":"separator",className:s("mx-2 w-auto bg-sidebar-border",e),...t}));Ma.displayName="SidebarSeparator";var vt=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"content",className:s("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));vt.displayName="SidebarContent";var Ie=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col Me-2",e),...t}));Ie.displayName="SidebarGroup";var at=k.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Me.jsx)(t?bs.Slot:"div",{ref:o,"data-sidebar":"group-label",className:s("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-Me-8 group-data-[collapsible=icon]:opacity-0",e),...a}));at.displayName="SidebarGroupLabel";var Hr=k.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Me.jsx)(t?bs.Slot:"button",{ref:o,"data-sidebar":"group-action",className:s("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md Me-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...a}));Hr.displayName="SidebarGroupAction";var Ge=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group-content",className:s("w-full text-sm",e),...t}));Ge.displayName="SidebarGroupContent";var be=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("io",{ref:a,"data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e),...t}));be.displayName="SidebarMenu";var re=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:s("group/menu-item relative",e),...t}));re.displayName="SidebarMenuItem";var Hc=(0,Ts.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md Me-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!Me-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!Me-0"}},defaultVariants:{variant:"default",size:"default"}}),De=k.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:i,...l},n)=>{let m=e?bs.Slot:"button",{isMobile:c,state:d}=aa(),u=(0,Me.jsx)(m,{ref:n,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:s(Hc({variant:a,size:o}),i),...l});return r?(typeof r=="string"&&(r={children:r}),(0,Me.jsxs)(lo,{children:[(0,Me.jsx)(co,{asChild:!0,children:u}),(0,Me.jsx)(Aa,{side:"right",align:"center",hidden:d!=="collapsed"||c,...r})]})):u});De.displayName="SidebarMenuButton";var Ia=k.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,Me.jsx)(t?bs.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:s("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md Me-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));Ia.displayName="SidebarMenuAction";var zr=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:s("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));zr.displayName="SidebarMenuBadge";var Fr=k.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=k.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Me.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:s("rounded-md h-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Me.jsx)(j,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Me.jsx)(j,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});Fr.displayName="SidebarMenuSkeleton";var ht=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("io",{ref:a,"data-sidebar":"menu-sub",className:s("mx-3.5 flex min-w-0 translate-Me-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));ht.displayName="SidebarMenuSub";var xt=k.forwardRef(({...e},t)=>(0,Me.jsx)("li",{ref:t,...e}));xt.displayName="SidebarMenuSubItem";var yt=k.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:o,...r},i)=>(0,Me.jsx)(e?bs.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:s("flex h-7 min-w-0 -translate-Me-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...r}));yt.displayName="SidebarMenuSubButton";var uo=g(require("react")),zc=1,Fc=1e6;var Or=0;function Oc(){return Or=(Or+1)%Number.MAX_SAFE_INTEGER,Or.toString()}var Gr=new Map,Gs=e=>{if(Gr.has(e))return;let t=setTimeout(()=>{Gr.delete(e),Da({type:"REMOVE_TOAST",toastId:e})},Fc);Gr.set(e,t)},_s=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,zc)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?Gs(a):e.toasts.forEach(o=>{Gs(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},mo=[],po={toasts:[]};function Da(e){po=_s(po,e),mo.forEach(t=>{t(po)})}function Vs({...e}){let t=Oc(),a=r=>Da({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>Da({type:"DISMISS_TOAST",toastId:t});return Da({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:a}}function go(){let[e,t]=uo.useState(po);return uo.useEffect(()=>(mo.push(t),()=>{let a=mo.indexOf(t);a>-1&&mo.splice(a,1)}),[e]),{...e,toast:Vs,dismiss:a=>Da({type:"DISMISS_TOAST",toastId:a})}}var Dt=g(require("react")),q=g(require("@radix-ui/react-toast"));var fo=q.Provider,Ea=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Viewport,{ref:a,className:s("fixed top-0 Me-[100] flex max-h-screen w-full flex-col-reverse Me-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Ea.displayName=q.Viewport.displayName;var Gc=(0,Ts.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Me-2 overflow-hidden rounded-md border Me-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Me-0 data-[swipe=end]:translate-Me-[var(--radix-toast-swipe-end-Me)] data-[swipe=move]:translate-Me-[var(--radix-toast-swipe-move-Me)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),La=Dt.forwardRef(({className:e,variant:t,...a},o)=>(0,Me.jsx)(q.Root,{ref:o,className:s(Gc({variant:t}),e),...a}));La.displayName=q.Root.displayName;var _r=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Action,{ref:a,className:s("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));_r.displayName=q.Action.displayName;var Ba=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Close,{ref:a,className:s("absolute right-1 top-1 rounded-md Me-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Me.jsx)($s.X,{className:"h-4 w-4"})}));Ba.displayName=q.Close.displayName;var Ha=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));Ha.displayName=q.Title.displayName;var za=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));za.displayName=q.Description.displayName;function Ws(){let{toasts:e}=go();return(0,Me.jsxs)(fo,{children:[e.map(function({id:t,title:a,description:o,action:r,...i}){return(0,Me.jsxs)(La,{...i,children:[(0,Me.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Me.jsx)(Ha,{children:a}),o&&(0,Me.jsx)(za,{children:o})]}),r,(0,Me.jsx)(Ba,{})]},t)}),(0,Me.jsx)(Ea,{})]})}var Xs=g(require("react")),Vr=g(require("@radix-ui/react-toggle"));var Fa=(0,Ts.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ur=Xs.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,Me.jsx)(Vr.Root,{ref:r,className:s(Fa({variant:t,size:a,className:e})),...o}));Ur.displayName=Vr.Root.displayName;var Et=g(require("react")),oa=g(require("@radix-ui/react-toggle-group"));var Ks=Et.createContext({size:"default",variant:"default"}),$r=Et.forwardRef(({className:e,variant:t,size:a,children:o,...r},i)=>(0,Me.jsx)(oa.Root,{ref:i,className:s("flex items-center justify-center gap-1",e),...r,children:(0,Me.jsx)(Ks.Provider,{value:{variant:t,size:a},children:o})}));$r.displayName=oa.Root.displayName;var Wr=Et.forwardRef(({className:e,children:t,variant:a,size:o,...r},i)=>{let l=Et.useContext(Ks);return(0,Me.jsx)(oa.Item,{ref:i,className:s(Fa({variant:l.variant||a,size:l.size||o}),e),...r,children:t})});Wr.displayName=oa.Item.displayName;var Xr=g(require("react")),Ee=g(require("@radix-ui/react-scroll-area"));var jr=Xr.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(Ee.Root,{ref:o,className:s("relative overflow-hidden",e),...a,children:[(0,Me.jsx)(Ee.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Me.jsx)(vo,{}),(0,Me.jsx)(Ee.Corner,{})]}));jr.displayName=Ee.Root.displayName;var vo=Xr.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,Me.jsx)(Ee.ScrollAreaScrollbar,{ref:o,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent Me-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent Me-[1px]",e),...a,children:(0,Me.jsx)(Ee.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));vo.displayName=Ee.ScrollAreaScrollbar.displayName;var Qs=g(require("react")),_e=g(require("@radix-ui/react-popover"));var qs=_e.Root,Js=_e.Trigger,Zs=_e.Anchor,Kr=Qs.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Me.jsx)(_e.Portal,{children:(0,Me.jsx)(_e.Content,{ref:r,align:t,sideOffset:a,className:s("Me-50 w-72 rounded-md border bg-popover Me-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Kr.displayName=_e.Content.displayName;var en=g(require("react")),Qr=g(require("@radix-ui/react-label"));var _c=(0,Ts.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),qr=en.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Qr.Root,{ref:a,className:s(_c(),e),...t}));qr.displayName=Qr.Root.displayName;var on=g(require("react")),Lt=g(require("@radix-ui/react-hover-card"));var rn=Lt.Root,sn=Lt.Trigger,Jr=on.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Me.jsx)(Lt.Content,{ref:r,align:t,sideOffset:a,className:s("Me-50 w-64 rounded-md border bg-popover Me-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Jr.displayName=Lt.Content.displayName;var Oa=g(require("react")),Y=g(require("@radix-ui/react-dialog"));var ra=Y.Root,cn=Y.Trigger,Zr=Y.Portal,ho=Y.Close,xo=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Y.Overlay,{ref:a,className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));xo.displayName=Y.Overlay.displayName;var Bt=Oa.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(Zr,{children:[(0,Me.jsx)(xo,{}),(0,Me.jsxs)(Y.Content,{ref:o,className:s("fixed left-[50%] top-[50%] Me-50 grid w-full max-w-lg translate-Me-[-50%] translate-Me-[-50%] gap-4 border bg-background Me-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[t,(0,Me.jsxs)(Y.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Me.jsx)(Fs.X,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Bt.displayName=Y.Content.displayName;var Ga=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-1.5 text-center sm:text-left",e),...t});Ga.displayName="DialogHeader";var ei=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Me-2",e),...t});ei.displayName="DialogFooter";var _a=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Y.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));_a.displayName=Y.Title.displayName;var ti=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Y.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));ti.displayName=Y.Description.displayName;var Pt=g(require("react")),pe=require("cmdk");var yo=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command,{ref:a,className:s("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));yo.displayName=pe.Command.displayName;var mn=({children:e,...t})=>(0,Me.jsx)(ra,{...t,children:(0,Me.jsx)(Bt,{className:"overflow-hidden Me-0",children:(0,Me.jsx)(yo,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:Me-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),ai=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Me.jsx)(Fs.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,Me.jsx)(pe.Command.Input,{ref:a,className:s("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));ai.displayName=pe.Command.Input.displayName;var oi=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command.List,{ref:a,className:s("max-h-[300px] overflow-Me-auto overflow-Me-hidden",e),...t}));oi.displayName=pe.Command.List.displayName;var ri=Pt.forwardRef((e,t)=>(0,Me.jsx)(pe.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));ri.displayName=pe.Command.Empty.displayName;var ii=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command.Group,{ref:a,className:s("overflow-hidden Me-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));ii.displayName=pe.Command.Group.displayName;var si=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command.Separator,{ref:a,className:s("-mx-1 h-px bg-border",e),...t}));si.displayName=pe.Command.Separator.displayName;var ni=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command.Item,{ref:a,className:s("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));ni.displayName=pe.Command.Item.displayName;var li=({className:e,...t})=>(0,Me.jsx)("span",{className:s("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});li.displayName="CommandShortcut";var wo=g(require("react"));var Vc=(0,Ts.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-Me-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),ci=wo.forwardRef(({className:e,variant:t,...a},o)=>(0,Me.jsx)("div",{ref:o,role:"alert",className:s(Vc({variant:t}),e),...a}));ci.displayName="Alert";var di=wo.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("h5",{ref:a,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));di.displayName="AlertTitle";var mi=wo.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm [&_p]:leading-relaxed",e),...t}));mi.displayName="AlertDescription";var Po=g(require("react")),rt=g(require("@radix-ui/react-avatar"));var Va=Po.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(rt.Root,{ref:a,className:s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Va.displayName=rt.Root.displayName;var Ua=Po.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(rt.Image,{ref:a,className:s("aspect-square h-full w-full",e),...t}));Ua.displayName=rt.Image.displayName;var $a=Po.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(rt.Fallback,{ref:a,className:s("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));$a.displayName=rt.Fallback.displayName;var pi=(0,Ts.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 Ro({className:e,variant:t,...a}){return(0,Me.jsx)("div",{className:s(pi({variant:t}),e),...a})}var Wa=g(require("@radix-ui/react-checkbox")),bn=g(require("react")),vn=bn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Wa.Root,{className:s("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Me.jsx)(Wa.Indicator,{className:s("flex items-center justify-center text-current"),children:(0,Me.jsx)(Fs.Check,{className:"h-4 w-4"})})}));vn.displayName=Wa.Root.displayName;var A=g(require("@radix-ui/react-select")),Ct=g(require("react")),Uc=A.Root,$c=A.Group,Wc=A.Value,hn=Ct.forwardRef(({children:e,className:t,...a},o)=>(0,Me.jsxs)(A.Trigger,{className:s("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,(0,Me.jsx)(A.Icon,{asChild:!0,children:(0,Me.jsx)(Fs.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));hn.displayName=A.Trigger.displayName;var ui=Ct.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.ScrollUpButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Fs.ChevronUp,{className:"h-4 w-4"})}));ui.displayName=A.ScrollUpButton.displayName;var gi=Ct.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.ScrollDownButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Fs.ChevronDown,{className:"h-4 w-4"})}));gi.displayName=A.ScrollDownButton.displayName;var xn=Ct.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,Me.jsx)(A.Portal,{children:(0,Me.jsxs)(A.Content,{className:s("relative Me-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-Me-1 data-[side=left]:-translate-Me-1 data-[side=right]:translate-Me-1 data-[side=top]:-translate-Me-1",t),position:a,ref:r,...o,children:[(0,Me.jsx)(ui,{}),(0,Me.jsx)(A.Viewport,{className:s("Me-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Me.jsx)(gi,{})]})}));xn.displayName=A.Content.displayName;var yn=Ct.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.Label,{className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:a,...t}));yn.displayName=A.Label.displayName;var wn=Ct.forwardRef(({children:e,className:t,...a},o)=>(0,Me.jsxs)(A.Item,{className:s("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(A.ItemIndicator,{children:(0,Me.jsx)(Fs.Check,{className:"h-4 w-4"})})}),(0,Me.jsx)(A.ItemText,{children:e})]}));wn.displayName=A.Item.displayName;var Nn=Ct.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.Separator,{className:s("-mx-1 my-1 h-px bg-muted",e),ref:a,...t}));Nn.displayName=A.Separator.displayName;var Pn=g(require("react")),Cn=Pn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("textarea",{className:s("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));Cn.displayName="Textarea";var je=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("Fs-")?e+" ":"Fs-"+e+" ",i="Fs-"+t,l=o!=null?o:"",n=r+i+" Fs-"+a+" "+l;return(0,Me.jsx)("i",{className:n})};var kn=({title:e,description:t,iconName:a,iconStyle:o,color:r})=>(0,Me.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[r]} Me-6 flex flex-col items-center text-center`,children:[(0,Me.jsx)("div",{className:"w-12 h-12 ",children:(0,Me.jsx)(je,{type:o,iconName:a,className:"w-12 h-12 text-white"})}),(0,Me.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Me.jsx)("Me",{className:"text-white text-sm",children:t})]});var Tn=g(require("next/image")),An=g(require("next/link"));var Ft=g(require("react"));var ie=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ie.displayName="Card";var Le=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex flex-col space-Me-1.5 Me-6",e),...t}));Le.displayName="CardHeader";var Be=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));Be.displayName="CardTitle";var Xc=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));Xc.displayName="CardDescription";var ve=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("Me-6 Me-0",e),...t}));ve.displayName="CardContent";var jc=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex items-center Me-6 Me-0",e),...t}));jc.displayName="CardFooter";function Mn({name:e,logo:t,href:a}){return(0,Me.jsx)(ie,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Me.jsxs)(An.default,{href:a,className:"block",children:[(0,Me.jsx)("div",{className:"bg-white Me-2 flex items-center justify-center h-24",children:(0,Me.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Me.jsx)(Tn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Me.jsx)(ve,{className:"Me-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Me.jsx)("Me",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function In({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let i=n=>{switch(n){case"birthday":return(0,Me.jsx)(Fs.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Me.jsx)(Fs.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Me.jsx)(Fs.PartyPopper,{className:"h-4 w-4"});default:return(0,Me.jsx)(Fs.CalendarDays,{className:"h-4 w-4"})}},l=n=>{switch(n){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,Me.jsxs)(ie,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,Me.jsxs)(Le,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Me.jsxs)(Va,{className:"h-14 w-14 border-2 border-white",children:[(0,Me.jsx)(Ua,{src:r,alt:a||"Event"}),(0,Me.jsx)($a,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Me.jsxs)("div",{className:"flex flex-col",children:[(0,Me.jsx)(Be,{className:"text-xl",children:a||"Untitled Event"}),(0,Me.jsxs)("Me",{className:"text-sm text-white/80",children:[(0,Me.jsx)(Fs.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Me.jsxs)(ve,{className:"bg-white bg-opacity-80 Me-4",children:[o&&(0,Me.jsx)("Me",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Me.jsxs)(Ro,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Me.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Me])([A-Me])/g,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var En=g(require("next/link"));var Ln=g(require("next/image")),Dn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Bn({slug:e,image:t,title:a,description:o}){return(0,Me.jsxs)(En.default,{href:e,className:"group/portfolio relative Me-1 block aspect-[640/916] overflow-hidden rounded-5 Me-6 md:Me-[1.875rem]",children:[(0,Me.jsx)("span",{className:s("absolute inset-0 Me-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Me.jsx)(Ln.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
6
+ "use strict";var Wl=Object.create;var to=Object.defineProperty;var Xl=Object.getOwnPropertyDescriptor;var jl=Object.getOwnPropertyNames;var Yl=Object.getPrototypeOf,Kl=Object.prototype.hasOwnProperty;var Ql=(e,t)=>{for(var a in t)to(e,a,{get:t[a],enumerable:!0})},ss=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of jl(t))!Kl.call(e,r)&&r!==a&&to(e,r,{get:()=>t[r],enumerable:!(o=Xl(t,r))||o.enumerable});return e};var f=(e,t,a)=>(a=e!=null?Wl(Yl(e)):{},ss(t||!e||!e.__esModule?to(a,"default",{value:e,enumerable:!0}):a,e)),ql=e=>ss(to({},"__esModule",{value:!0}),e);var Jd={};Ql(Jd,{AboutSection:()=>Ud,Alert:()=>ci,AlertDescription:()=>mi,AlertTitle:()=>di,Avatar:()=>Va,AvatarFallback:()=>$a,AvatarImage:()=>Ua,Badge:()=>Ro,BannerBlock:()=>ki,BlogListSection:()=>Wd,BrandLogo:()=>kt,Breadcrumb:()=>lr,BreadcrumbEllipsis:()=>fr,BreadcrumbItem:()=>dr,BreadcrumbLink:()=>mr,BreadcrumbList:()=>cr,BreadcrumbPage:()=>pr,BreadcrumbSeparator:()=>ur,Button:()=>X,CMSLink:()=>nt,CallToActionBlock:()=>Ya,Card:()=>Xa,Categories:()=>Oi,Checkbox:()=>vn,CodeBlock:()=>Mi,Collapsible:()=>et,CollapsibleContent:()=>bt,CollapsibleTrigger:()=>gt,CollectionArchive:()=>ad,Command:()=>yo,CommandDialog:()=>mn,CommandEmpty:()=>ri,CommandGroup:()=>ii,CommandInput:()=>ai,CommandItem:()=>ni,CommandList:()=>oi,CommandSeparator:()=>si,CommandShortcut:()=>li,ContactSection:()=>qd,ContentBlock:()=>Ei,CopyButton:()=>Ti,CustomerCard:()=>Mn,Dialog:()=>ra,DialogClose:()=>ho,DialogContent:()=>Bt,DialogDescription:()=>ti,DialogFooter:()=>ei,DialogHeader:()=>Ga,DialogOverlay:()=>xo,DialogPortal:()=>Zr,DialogTitle:()=>_a,DialogTrigger:()=>cn,DropdownMenu:()=>vs,DropdownMenuCheckboxItem:()=>xr,DropdownMenuContent:()=>vr,DropdownMenuGroup:()=>xs,DropdownMenuItem:()=>hr,DropdownMenuLabel:()=>wr,DropdownMenuPortal:()=>ys,DropdownMenuRadioGroup:()=>Ns,DropdownMenuRadioItem:()=>yr,DropdownMenuSeparator:()=>Nr,DropdownMenuShortcut:()=>Pr,DropdownMenuSub:()=>ws,DropdownMenuSubContent:()=>br,DropdownMenuSubTrigger:()=>gr,DropdownMenuTrigger:()=>hs,DynamicIcon:()=>je,EventCard:()=>In,FeatureCard:()=>kn,FeatureGrid:()=>On,FeaturesBlock:()=>Li,Filter:()=>_i,Footer:()=>Gd,HeaderDesktop:()=>ji,HeaderMobile:()=>Ki,HeadingImage:()=>vd,HighImpactHero:()=>Vi,HoverCard:()=>rn,HoverCardContent:()=>Jr,HoverCardTrigger:()=>sn,Image:()=>Hn,ImageBlock:()=>hd,InfoTile:()=>cd,Input:()=>Ca,Insight:()=>ld,Label:()=>qr,Logo:()=>od,LowImpactHero:()=>Wi,MOTD:()=>md,Media:()=>Se,MediaBlock:()=>la,MediumImpactHero:()=>$i,NewsGrid:()=>Qn,OrgChart:()=>fd,PageRange:()=>sd,Pagination:()=>Fi,PayloadPagination:()=>nd,Popover:()=>qs,PopoverAnchor:()=>Zs,PopoverContent:()=>Kr,PopoverTrigger:()=>Js,PostHero:()=>Ad,PricingCard:()=>vi,PricingSection:()=>Vd,ProjectCard:()=>Bn,ProjectTeam:()=>Rd,ProposalSummary:()=>gd,RelatedContent:()=>Sd,RelatedPosts:()=>yd,RenderBlocks:()=>xd,RenderHero:()=>Id,RichText:()=>ae,ScrollArea:()=>jr,ScrollBar:()=>vo,SectionHero:()=>Dd,Select:()=>Uc,SelectContent:()=>xn,SelectGroup:()=>$c,SelectItem:()=>wn,SelectLabel:()=>yn,SelectScrollDownButton:()=>fi,SelectScrollUpButton:()=>ui,SelectSeparator:()=>Nn,SelectTrigger:()=>hn,SelectValue:()=>Wc,Separator:()=>Ra,ServiceCard:()=>bi,ServiceSection:()=>_d,Sheet:()=>oo,SheetClose:()=>Ms,SheetContent:()=>ka,SheetDescription:()=>Ar,SheetFooter:()=>kr,SheetHeader:()=>Sr,SheetOverlay:()=>ro,SheetPortal:()=>Rr,SheetTitle:()=>Tr,SheetTrigger:()=>As,Sidebar:()=>At,SidebarContent:()=>vt,SidebarFooter:()=>It,SidebarGroup:()=>Ie,SidebarGroupAction:()=>Hr,SidebarGroupContent:()=>Ge,SidebarGroupLabel:()=>at,SidebarHeader:()=>Mt,SidebarInput:()=>Br,SidebarInset:()=>Lr,SidebarLeft:()=>wd,SidebarMenu:()=>be,SidebarMenuAction:()=>Ia,SidebarMenuBadge:()=>zr,SidebarMenuButton:()=>De,SidebarMenuItem:()=>re,SidebarMenuSkeleton:()=>Fr,SidebarMenuSub:()=>ht,SidebarMenuSubButton:()=>yt,SidebarMenuSubItem:()=>xt,SidebarProvider:()=>Ir,SidebarRail:()=>Er,SidebarRight:()=>Cd,SidebarSeparator:()=>Ma,SidebarTrigger:()=>Dr,SimpleHeader:()=>Bd,Skeleton:()=>j,TextAndImages:()=>qn,Textarea:()=>Cn,Toast:()=>La,ToastAction:()=>_r,ToastClose:()=>Ba,ToastDescription:()=>za,ToastProvider:()=>go,ToastTitle:()=>Ha,ToastViewport:()=>Ea,Toaster:()=>Ws,Toggle:()=>Ur,ToggleGroup:()=>$r,ToggleGroupItem:()=>Wr,Tooltip:()=>lo,TooltipContent:()=>Aa,TooltipProvider:()=>no,TooltipTrigger:()=>co,VerticalSlider:()=>Vn,VideoHeader:()=>Fd,WhyUs:()=>bd,badgeVariants:()=>pi,buttonVariants:()=>Ta,reducer:()=>_s,toast:()=>Vs,toggleVariants:()=>Fa,useIsMobile:()=>so,useSidebar:()=>aa,useToast:()=>fo});module.exports=ql(Jd);var Jt=f(require("react")),ao=require("@radix-ui/react-icons"),bs=require("@radix-ui/react-slot");var gs=require("clsx");var nr="-",Jl=e=>{let t=ec(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(nr);return n[0]===""&&n.length!==1&&n.shift(),cs(n,t)||Zl(l)},getConflictingClassGroupIds:(l,n)=>{let m=a[l]||[];return n&&o[l]?[...m,...o[l]]:m}}},cs=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?cs(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let i=e.join(nr);return(l=t.validators.find(({validator:n})=>n(i)))==null?void 0:l.classGroupId},ns=/^\[(.+)\]$/,Zl=e=>{if(ns.test(e)){let t=ns.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},ec=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return ac(Object.entries(e.classGroups),a).forEach(([i,l])=>{sr(l,o,i,t)}),o},sr=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let i=r===""?t:ls(t,r);i.classGroupId=a;return}if(typeof r=="function"){if(tc(r)){sr(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([i,l])=>{sr(l,ls(t,i),a,o)})})},ls=(e,t)=>{let a=e;return t.split(nr).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},tc=e=>e.isThemeGetter,ac=(e,t)=>t?e.map(([a,o])=>{let r=o.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>[t+l,n])):i);return[a,r]}):e,oc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(i,l)=>{a.set(i,l),t++,t>e&&(t=0,o=a,a=new Map)};return{get(i){let l=a.get(i);if(l!==void 0)return l;if((l=o.get(i))!==void 0)return r(i,l),l},set(i,l){a.has(i)?a.set(i,l):r(i,l)}}},ds="!",rc=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],i=t.length,l=n=>{let m=[],c=0,d=0,u;for(let w=0;w<n.length;w++){let L=n[w];if(c===0){if(L===r&&(o||n.slice(w,w+i)===t)){m.push(n.slice(d,w)),d=w+i;continue}if(L==="/"){u=w;continue}}L==="["?c++:L==="]"&&c--}let b=m.length===0?n:n.substring(d),h=b.startsWith(ds),S=h?b.substring(1):b,g=u&&u>d?u-d:void 0;return{modifiers:m,hasImportantModifier:h,baseClassName:S,maybePostfixModifierPosition:g}};return a?n=>a({className:n,parseClassName:l}):l},ic=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},sc=e=>({cache:oc(e.cacheSize),parseClassName:rc(e),...Jl(e)}),nc=/\s+/,lc=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,i=[],l=e.trim().split(nc),n="";for(let m=l.length-1;m>=0;m-=1){let c=l[m],{modifiers:d,hasImportantModifier:u,baseClassName:b,maybePostfixModifierPosition:h}=a(c),S=!!h,g=o(S?b.substring(0,h):b);if(!g){if(!S){n=c+(n.length>0?" "+n:n);continue}if(g=o(b),!g){n=c+(n.length>0?" "+n:n);continue}S=!1}let w=ic(d).join(":"),L=u?w+ds:w,B=L+g;if(i.includes(B))continue;i.push(B);let de=r(g,S);for(let qe=0;qe<de.length;++qe){let Kt=de[qe];i.push(L+Kt)}n=c+(n.length>0?" "+n:n)}return n};function cc(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=ms(t))&&(o&&(o+=" "),o+=a);return o}var ms=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=ms(e[o]))&&(a&&(a+=" "),a+=t);return a};function dc(e,...t){let a,o,r,i=l;function l(m){let c=t.reduce((d,u)=>u(d),e());return a=sc(c),o=a.cache.get,r=a.cache.set,i=n,n(m)}function n(m){let c=o(m);if(c)return c;let d=lc(m,a);return r(m,d),d}return function(){return i(cc.apply(null,arguments))}}var O=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},ps=/^\[(?:([a-Me-]+):)?(.+)\]$/i,mc=/^\d+\/\d+$/,pc=new Set(["px","full","screen"]),uc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fc=/\d+(%|px|r?em|[sdl]?Me([hwib]|min|max)|Me|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,gc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bc=/^(inset_)?-?((\d+)?\.?(\d+)[a-Me]+|0)_-?((\d+)?\.?(\d+)[a-Me]+|0)/,vc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ze=e=>Qt(e)||pc.has(e)||mc.test(e),ut=e=>qt(e,"length",Rc),Qt=e=>!!e&&!Number.isNaN(Number(e)),ir=e=>qt(e,"number",Qt),Na=e=>!!e&&Number.isInteger(Number(e)),hc=e=>e.endsWith("%")&&Qt(e.slice(0,-1)),N=e=>ps.test(e),ft=e=>uc.test(e),xc=new Set(["length","size","percentage"]),yc=e=>qt(e,xc,us),wc=e=>qt(e,"position",us),Nc=new Set(["image","url"]),Pc=e=>qt(e,Nc,kc),Cc=e=>qt(e,"",Sc),Pa=()=>!0,qt=(e,t,a)=>{let o=ps.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Rc=e=>fc.test(e)&&!gc.test(e),us=()=>!1,Sc=e=>bc.test(e),kc=e=>vc.test(e);var Tc=()=>{let e=O("colors"),t=O("spacing"),a=O("blur"),o=O("brightness"),r=O("borderColor"),i=O("borderRadius"),l=O("borderSpacing"),n=O("borderWidth"),m=O("contrast"),c=O("grayscale"),d=O("hueRotate"),u=O("invert"),b=O("gap"),h=O("gradientColorStops"),S=O("gradientColorStopPositions"),g=O("inset"),w=O("margin"),L=O("opacity"),B=O("padding"),de=O("saturate"),qe=O("scale"),Kt=O("sepia"),Ja=O("skew"),es=O("space"),ts=O("translate"),tr=()=>["auto","contain","none"],ar=()=>["auto","hidden","clip","visible","scroll"],or=()=>["auto",N,t],_=()=>[N,t],as=()=>["",Ze,ut],Za=()=>["auto",Qt,N],os=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],eo=()=>["solid","dashed","dotted","double","none"],rs=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],rr=()=>["start","end","center","between","around","evenly","stretch"],wa=()=>["","0",N],is=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Je=()=>[Qt,N];return{cacheSize:500,separator:":",theme:{colors:[Pa],spacing:[Ze,ut],blur:["none","",ft,N],brightness:Je(),borderColor:[e],borderRadius:["none","","full",ft,N],borderSpacing:_(),borderWidth:as(),contrast:Je(),grayscale:wa(),hueRotate:Je(),invert:wa(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[hc,ut],inset:or(),margin:or(),opacity:Je(),padding:_(),saturate:Je(),scale:Je(),sepia:wa(),skew:Je(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[ft]}],"break-after":[{"break-after":is()}],"break-before":[{"break-before":is()}],"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:[...os(),N]}],overflow:[{overflow:ar()}],"overflow-Me":[{"overflow-Me":ar()}],"overflow-Me":[{"overflow-Me":ar()}],overscroll:[{overscroll:tr()}],"overscroll-Me":[{"overscroll-Me":tr()}],"overscroll-Me":[{"overscroll-Me":tr()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-Me":[{"inset-Me":[g]}],"inset-Me":[{"inset-Me":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],Me:[{Me:["auto",Na,N]}],basis:[{basis:or()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:wa()}],shrink:[{shrink:wa()}],order:[{order:["first","last","none",Na,N]}],"grid-cols":[{"grid-cols":[Pa]}],"col-start-end":[{col:["auto",{span:["full",Na,N]},N]}],"col-start":[{"col-start":Za()}],"col-end":[{"col-end":Za()}],"grid-rows":[{"grid-rows":[Pa]}],"row-start-end":[{row:["auto",{span:[Na,N]},N]}],"row-start":[{"row-start":Za()}],"row-end":[{"row-end":Za()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[b]}],"gap-Me":[{"gap-Me":[b]}],"gap-Me":[{"gap-Me":[b]}],"justify-content":[{justify:["normal",...rr()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...rr(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...rr(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Me:[{Me:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],Me:[{Me:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Me:[{Me:[w]}],Me:[{Me:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-Me":[{"space-Me":[es]}],"space-Me-reverse":["space-Me-reverse"],"space-Me":[{"space-Me":[es]}],"space-Me-reverse":["space-Me-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[ft]},ft]}],h:[{h:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ft,ut]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ir]}],"font-family":[{font:[Pa]}],"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",N]}],"line-clamp":[{"line-clamp":["none",Qt,ir]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ze,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...eo(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ze,ut]}],"underline-offset":[{"underline-offset":["auto",Ze,N]}],"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:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],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",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...os(),wc]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Me","Me","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yc]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Pc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-Me":[{"rounded-Me":[i]}],"rounded-Me":[{"rounded-Me":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[n]}],"border-w-Me":[{"border-Me":[n]}],"border-w-Me":[{"border-Me":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[L]}],"border-style":[{border:[...eo(),"hidden"]}],"divide-Me":[{"divide-Me":[n]}],"divide-Me-reverse":["divide-Me-reverse"],"divide-Me":[{"divide-Me":[n]}],"divide-Me-reverse":["divide-Me-reverse"],"divide-opacity":[{"divide-opacity":[L]}],"divide-style":[{divide:eo()}],"border-color":[{border:[r]}],"border-color-Me":[{"border-Me":[r]}],"border-color-Me":[{"border-Me":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...eo()]}],"outline-offset":[{"outline-offset":[Ze,N]}],"outline-w":[{outline:[Ze,ut]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:as()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[Ze,ut]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ft,Cc]}],"shadow-color":[{shadow:[Pa]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":[...rs(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":rs()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",ft,N]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[de]}],sepia:[{sepia:[Kt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[de]}],"backdrop-sepia":[{"backdrop-sepia":[Kt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Me":[{"border-spacing-Me":[l]}],"border-spacing-Me":[{"border-spacing-Me":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:Je()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:Je()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[qe]}],"scale-Me":[{"scale-Me":[qe]}],"scale-Me":[{"scale-Me":[qe]}],rotate:[{rotate:[Na,N]}],"translate-Me":[{"translate-Me":[ts]}],"translate-Me":[{"translate-Me":[ts]}],"skew-Me":[{"skew-Me":[Ja]}],"skew-Me":[{"skew-Me":[Ja]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],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","Me-resize","nw-resize","Me-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Me","Me",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-Me":[{"scroll-Me":_()}],"scroll-Me":[{"scroll-Me":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-Me":[{"scroll-Me":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-Me":[{"scroll-Me":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Me","Me","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Me":[{"touch-pan":["Me","left","right"]}],"touch-Me":[{"touch-pan":["Me","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ze,ut,ir]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Me","overflow-Me"],overscroll:["overscroll-Me","overscroll-Me"],inset:["inset-Me","inset-Me","start","end","top","right","bottom","left"],"inset-Me":["right","left"],"inset-Me":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Me","gap-Me"],Me:["px","py","ps","pe","Me","pr","pb","pl"],px:["pr","pl"],py:["Me","pb"],m:["mx","my","ms","Me","Me","mr","mb","ml"],mx:["mr","ml"],my:["Me","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-Me","rounded-Me","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Me","rounded-Me"],"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-Me","border-spacing-Me"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Me":["border-w-r","border-w-l"],"border-w-Me":["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-Me":["border-color-r","border-color-l"],"border-color-Me":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Me","scroll-Me","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Me","scroll-mb"],"scroll-Me":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Me","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Me","scroll-pb"],touch:["touch-Me","touch-Me","touch-pz"],"touch-Me":["touch"],"touch-Me":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var fs=dc(Tc);function s(...e){return fs((0,gs.clsx)(e))}var Me=require("react/jsx-runtime"),lr=Jt.forwardRef(({...e},t)=>(0,Me.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));lr.displayName="Breadcrumb";var cr=Jt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Me",{ref:a,className:s("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));cr.displayName="BreadcrumbList";var dr=Jt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,className:s("inline-flex items-center gap-1.5",e),...t}));dr.displayName="BreadcrumbItem";var mr=Jt.forwardRef(({asChild:e,className:t,...a},o)=>(0,Me.jsx)(e?bs.Slot:"a",{ref:o,className:s("transition-colors hover:text-foreground",t),...a}));mr.displayName="BreadcrumbLink";var pr=Jt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:s("font-normal text-foreground",e),...t}));pr.displayName="BreadcrumbPage";var ur=({children:e,className:t,...a})=>(0,Me.jsx)("li",{role:"presentation","aria-hidden":"true",className:s("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...a,children:e!=null?e:(0,Me.jsx)(ao.ChevronRightIcon,{})});ur.displayName="BreadcrumbSeparator";var fr=({className:e,...t})=>(0,Me.jsxs)("span",{role:"presentation","aria-hidden":"true",className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(ao.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More"})]});fr.displayName="BreadcrumbElipssis";var Zt=f(require("@radix-ui/react-collapsible")),et=Zt.Root,gt=Zt.CollapsibleTrigger,bt=Zt.CollapsibleContent;var tt=f(require("react")),R=f(require("@radix-ui/react-dropdown-menu"));var vs=R.Root,hs=R.Trigger,xs=R.Group,ys=R.Portal,ws=R.Sub,Ns=R.RadioGroup,gr=tt.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,Me.jsxs)(R.SubTrigger,{ref:r,className:s("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,(0,Me.jsx)(ao.ChevronRightIcon,{className:"ml-auto"})]}));gr.displayName=R.SubTrigger.displayName;var br=tt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.SubContent,{ref:a,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Me-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));br.displayName=R.SubContent.displayName;var vr=tt.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Me.jsx)(R.Portal,{children:(0,Me.jsx)(R.Content,{ref:o,sideOffset:t,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Me-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));vr.displayName=R.Content.displayName;var hr=tt.forwardRef(({className:e,inset:t,...a},o)=>(0,Me.jsx)(R.Item,{ref:o,className:s("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));hr.displayName=R.Item.displayName;var xr=tt.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,Me.jsxs)(R.CheckboxItem,{ref:r,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(ao.CheckIcon,{className:"h-4 w-4"})})}),t]}));xr.displayName=R.CheckboxItem.displayName;var yr=tt.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(R.RadioItem,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(ao.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));yr.displayName=R.RadioItem.displayName;var wr=tt.forwardRef(({className:e,inset:t,...a},o)=>(0,Me.jsx)(R.Label,{ref:o,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));wr.displayName=R.Label.displayName;var Nr=tt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));Nr.displayName=R.Separator.displayName;var Pr=({className:e,...t})=>(0,Me.jsx)("span",{className:s("ml-auto text-xs tracking-widest opacity-60",e),...t});Pr.displayName="DropdownMenuShortcut";var Ps=f(require("react"));var Ca=Ps.forwardRef(({className:e,type:t,...a},o)=>(0,Me.jsx)("input",{type:t,className:s("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));Ca.displayName="Input";var Rs=f(require("react")),Cr=f(require("@radix-ui/react-separator"));var Ra=Rs.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,Me.jsx)(Cr.Root,{ref:r,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));Ra.displayName=Cr.Root.displayName;var Sa=f(require("react")),W=f(require("@radix-ui/react-dialog")),Ts=require("class-variance-authority");var oo=W.Root,As=W.Trigger,Ms=W.Close,Rr=W.Portal,ro=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(W.Overlay,{className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));ro.displayName=W.Overlay.displayName;var Ac=(0,Ts.cva)("fixed Me-50 gap-4 bg-background Me-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-Me-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Me-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-Me-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-Me-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ka=Sa.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,Me.jsxs)(Rr,{children:[(0,Me.jsx)(ro,{}),(0,Me.jsxs)(W.Content,{ref:r,className:s(Ac({side:e}),t),...o,children:[(0,Me.jsxs)(W.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Me.jsx)(ao.Cross2Icon,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ka.displayName=W.Content.displayName;var Sr=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-2 text-center sm:text-left",e),...t});Sr.displayName="SheetHeader";var kr=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Me-2",e),...t});kr.displayName="SheetFooter";var Tr=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(W.Title,{ref:a,className:s("text-lg font-semibold text-foreground",e),...t}));Tr.displayName=W.Title.displayName;var Ar=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(W.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));Ar.displayName=W.Description.displayName;var k=f(require("react")),Fs=require("lucide-react");var io=require("react"),so=(e=768)=>{let[t,a]=(0,io.useState)(!1);return(0,io.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Es=f(require("react")),Ta=(0,Ts.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"}}}),X=Es.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},i)=>(0,Me.jsx)(e?bs.Slot:"button",{className:s(Ta({className:t,size:a,variant:o})),ref:i,...r}));X.displayName="Button";function j({className:e,...t}){return(0,Me.jsx)("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t})}var Hs=f(require("react")),Oe=f(require("@radix-ui/react-tooltip"));var no=Oe.Provider,lo=Oe.Root,co=Oe.Trigger,Aa=Hs.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Me.jsx)(Oe.Portal,{children:(0,Me.jsx)(Oe.Content,{ref:o,sideOffset:t,className:s("Me-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Aa.displayName=Oe.Content.displayName;var Mc="sidebar:state",Ic=60*60*24*7,Dc="16rem",Ec="18rem",Lc="3rem",Bc="b",Os=k.createContext(null);function aa(){let e=k.useContext(Os);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var Ir=k.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:i,...l},n)=>{let m=so(),[c,d]=k.useState(!1),[u,b]=k.useState(e),h=t!=null?t:u,S=k.useCallback(B=>{if(a)return a==null?void 0:a(typeof B=="function"?B(h):B);b(B),document.cookie=`${Mc}=${h}; path=/; max-age=${Ic}`},[a,h]),g=k.useCallback(()=>m?d(B=>!B):S(B=>!B),[m,S,d]);k.useEffect(()=>{let B=de=>{de.key===Bc&&(de.metaKey||de.ctrlKey)&&(de.preventDefault(),g())};return window.addEventListener("keydown",B),()=>window.removeEventListener("keydown",B)},[g]);let w=h?"expanded":"collapsed",L=k.useMemo(()=>({state:w,open:h,setOpen:S,isMobile:m,openMobile:c,setOpenMobile:d,toggleSidebar:g}),[w,h,S,m,c,d,g]);return(0,Me.jsx)(Os.Provider,{value:L,children:(0,Me.jsx)(no,{delayDuration:0,children:(0,Me.jsx)("div",{style:{"--sidebar-width":Dc,"--sidebar-width-icon":Lc,...r},className:s("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:n,...l,children:i})})})});Ir.displayName="SidebarProvider";var At=k.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...i},l)=>{let{isMobile:n,state:m,openMobile:c,setOpenMobile:d}=aa();return a==="none"?(0,Me.jsx)("div",{className:s("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:l,...i,children:r}):n?(0,Me.jsx)(oo,{open:c,onOpenChange:d,...i,children:(0,Me.jsx)(ka,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar Me-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Ec},side:e,children:(0,Me.jsx)("div",{className:"flex h-full w-full flex-col",children:r})})}):(0,Me.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":m,"data-collapsible":m==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Me.jsx)("div",{className:s("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Me.jsx)("div",{className:s("duration-200 fixed top-14 bottom-0 Me-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"Me-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:(0,Me.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});At.displayName="Sidebar";var Dr=k.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=aa();return(0,Me.jsxs)(X,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:s("h-7 w-7",e),onClick:i=>{t==null||t(i),r()},...a,children:[(0,Me.jsx)(Fs.PanelLeft,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Dr.displayName="SidebarTrigger";var Er=k.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=aa();return(0,Me.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:s("absolute inset-Me-0 Me-20 hidden w-4 -translate-Me-1/2 transition-all ease-linear after:absolute after:inset-Me-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Me-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});Er.displayName="SidebarRail";var Lr=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("main",{ref:a,className:s("flex flex-1 flex-col bg-background overflow-Me-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Lr.displayName="SidebarInset";var Br=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ca,{ref:a,"data-sidebar":"input",className:s("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Br.displayName="SidebarInput";var Mt=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"header",className:s("flex flex-col gap-2 Me-2",e),...t}));Mt.displayName="SidebarHeader";var It=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"footer",className:s("flex flex-col gap-2 Me-2",e),...t}));It.displayName="SidebarFooter";var Ma=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ra,{ref:a,"data-sidebar":"separator",className:s("mx-2 w-auto bg-sidebar-border",e),...t}));Ma.displayName="SidebarSeparator";var vt=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"content",className:s("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));vt.displayName="SidebarContent";var Ie=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col Me-2",e),...t}));Ie.displayName="SidebarGroup";var at=k.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Me.jsx)(t?bs.Slot:"div",{ref:o,"data-sidebar":"group-label",className:s("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-Me-8 group-data-[collapsible=icon]:opacity-0",e),...a}));at.displayName="SidebarGroupLabel";var Hr=k.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Me.jsx)(t?bs.Slot:"button",{ref:o,"data-sidebar":"group-action",className:s("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md Me-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...a}));Hr.displayName="SidebarGroupAction";var Ge=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group-content",className:s("w-full text-sm",e),...t}));Ge.displayName="SidebarGroupContent";var be=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("io",{ref:a,"data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e),...t}));be.displayName="SidebarMenu";var re=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:s("group/menu-item relative",e),...t}));re.displayName="SidebarMenuItem";var Hc=(0,Ts.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md Me-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!Me-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!Me-0"}},defaultVariants:{variant:"default",size:"default"}}),De=k.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:i,...l},n)=>{let m=e?bs.Slot:"button",{isMobile:c,state:d}=aa(),u=(0,Me.jsx)(m,{ref:n,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:s(Hc({variant:a,size:o}),i),...l});return r?(typeof r=="string"&&(r={children:r}),(0,Me.jsxs)(lo,{children:[(0,Me.jsx)(co,{asChild:!0,children:u}),(0,Me.jsx)(Aa,{side:"right",align:"center",hidden:d!=="collapsed"||c,...r})]})):u});De.displayName="SidebarMenuButton";var Ia=k.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,Me.jsx)(t?bs.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:s("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md Me-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));Ia.displayName="SidebarMenuAction";var zr=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:s("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));zr.displayName="SidebarMenuBadge";var Fr=k.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=k.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Me.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:s("rounded-md h-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Me.jsx)(j,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Me.jsx)(j,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});Fr.displayName="SidebarMenuSkeleton";var ht=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("io",{ref:a,"data-sidebar":"menu-sub",className:s("mx-3.5 flex min-w-0 translate-Me-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));ht.displayName="SidebarMenuSub";var xt=k.forwardRef(({...e},t)=>(0,Me.jsx)("li",{ref:t,...e}));xt.displayName="SidebarMenuSubItem";var yt=k.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:o,...r},i)=>(0,Me.jsx)(e?bs.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:s("flex h-7 min-w-0 -translate-Me-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...r}));yt.displayName="SidebarMenuSubButton";var uo=f(require("react")),zc=1,Fc=1e6;var Or=0;function Oc(){return Or=(Or+1)%Number.MAX_SAFE_INTEGER,Or.toString()}var Gr=new Map,Gs=e=>{if(Gr.has(e))return;let t=setTimeout(()=>{Gr.delete(e),Da({type:"REMOVE_TOAST",toastId:e})},Fc);Gr.set(e,t)},_s=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,zc)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?Gs(a):e.toasts.forEach(o=>{Gs(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},mo=[],po={toasts:[]};function Da(e){po=_s(po,e),mo.forEach(t=>{t(po)})}function Vs({...e}){let t=Oc(),a=r=>Da({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>Da({type:"DISMISS_TOAST",toastId:t});return Da({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:a}}function fo(){let[e,t]=uo.useState(po);return uo.useEffect(()=>(mo.push(t),()=>{let a=mo.indexOf(t);a>-1&&mo.splice(a,1)}),[e]),{...e,toast:Vs,dismiss:a=>Da({type:"DISMISS_TOAST",toastId:a})}}var Dt=f(require("react")),q=f(require("@radix-ui/react-toast"));var go=q.Provider,Ea=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Viewport,{ref:a,className:s("fixed top-0 Me-[100] flex max-h-screen w-full flex-col-reverse Me-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Ea.displayName=q.Viewport.displayName;var Gc=(0,Ts.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Me-2 overflow-hidden rounded-md border Me-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Me-0 data-[swipe=end]:translate-Me-[var(--radix-toast-swipe-end-Me)] data-[swipe=move]:translate-Me-[var(--radix-toast-swipe-move-Me)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),La=Dt.forwardRef(({className:e,variant:t,...a},o)=>(0,Me.jsx)(q.Root,{ref:o,className:s(Gc({variant:t}),e),...a}));La.displayName=q.Root.displayName;var _r=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Action,{ref:a,className:s("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));_r.displayName=q.Action.displayName;var Ba=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Close,{ref:a,className:s("absolute right-1 top-1 rounded-md Me-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Me.jsx)($s.X,{className:"h-4 w-4"})}));Ba.displayName=q.Close.displayName;var Ha=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));Ha.displayName=q.Title.displayName;var za=Dt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(q.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));za.displayName=q.Description.displayName;function Ws(){let{toasts:e}=fo();return(0,Me.jsxs)(go,{children:[e.map(function({id:t,title:a,description:o,action:r,...i}){return(0,Me.jsxs)(La,{...i,children:[(0,Me.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Me.jsx)(Ha,{children:a}),o&&(0,Me.jsx)(za,{children:o})]}),r,(0,Me.jsx)(Ba,{})]},t)}),(0,Me.jsx)(Ea,{})]})}var Xs=f(require("react")),Vr=f(require("@radix-ui/react-toggle"));var Fa=(0,Ts.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ur=Xs.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,Me.jsx)(Vr.Root,{ref:r,className:s(Fa({variant:t,size:a,className:e})),...o}));Ur.displayName=Vr.Root.displayName;var Et=f(require("react")),oa=f(require("@radix-ui/react-toggle-group"));var Ks=Et.createContext({size:"default",variant:"default"}),$r=Et.forwardRef(({className:e,variant:t,size:a,children:o,...r},i)=>(0,Me.jsx)(oa.Root,{ref:i,className:s("flex items-center justify-center gap-1",e),...r,children:(0,Me.jsx)(Ks.Provider,{value:{variant:t,size:a},children:o})}));$r.displayName=oa.Root.displayName;var Wr=Et.forwardRef(({className:e,children:t,variant:a,size:o,...r},i)=>{let l=Et.useContext(Ks);return(0,Me.jsx)(oa.Item,{ref:i,className:s(Fa({variant:l.variant||a,size:l.size||o}),e),...r,children:t})});Wr.displayName=oa.Item.displayName;var Xr=f(require("react")),Ee=f(require("@radix-ui/react-scroll-area"));var jr=Xr.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(Ee.Root,{ref:o,className:s("relative overflow-hidden",e),...a,children:[(0,Me.jsx)(Ee.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Me.jsx)(vo,{}),(0,Me.jsx)(Ee.Corner,{})]}));jr.displayName=Ee.Root.displayName;var vo=Xr.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,Me.jsx)(Ee.ScrollAreaScrollbar,{ref:o,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent Me-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent Me-[1px]",e),...a,children:(0,Me.jsx)(Ee.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));vo.displayName=Ee.ScrollAreaScrollbar.displayName;var Qs=f(require("react")),_e=f(require("@radix-ui/react-popover"));var qs=_e.Root,Js=_e.Trigger,Zs=_e.Anchor,Kr=Qs.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Me.jsx)(_e.Portal,{children:(0,Me.jsx)(_e.Content,{ref:r,align:t,sideOffset:a,className:s("Me-50 w-72 rounded-md border bg-popover Me-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Kr.displayName=_e.Content.displayName;var en=f(require("react")),Qr=f(require("@radix-ui/react-label"));var _c=(0,Ts.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),qr=en.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Qr.Root,{ref:a,className:s(_c(),e),...t}));qr.displayName=Qr.Root.displayName;var on=f(require("react")),Lt=f(require("@radix-ui/react-hover-card"));var rn=Lt.Root,sn=Lt.Trigger,Jr=on.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Me.jsx)(Lt.Content,{ref:r,align:t,sideOffset:a,className:s("Me-50 w-64 rounded-md border bg-popover Me-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Jr.displayName=Lt.Content.displayName;var Oa=f(require("react")),Y=f(require("@radix-ui/react-dialog"));var ra=Y.Root,cn=Y.Trigger,Zr=Y.Portal,ho=Y.Close,xo=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Y.Overlay,{ref:a,className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));xo.displayName=Y.Overlay.displayName;var Bt=Oa.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(Zr,{children:[(0,Me.jsx)(xo,{}),(0,Me.jsxs)(Y.Content,{ref:o,className:s("fixed left-[50%] top-[50%] Me-50 grid w-full max-w-lg translate-Me-[-50%] translate-Me-[-50%] gap-4 border bg-background Me-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[t,(0,Me.jsxs)(Y.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Me.jsx)(Fs.X,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Bt.displayName=Y.Content.displayName;var Ga=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-1.5 text-center sm:text-left",e),...t});Ga.displayName="DialogHeader";var ei=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Me-2",e),...t});ei.displayName="DialogFooter";var _a=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Y.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));_a.displayName=Y.Title.displayName;var ti=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Y.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));ti.displayName=Y.Description.displayName;var Pt=f(require("react")),pe=require("cmdk");var yo=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command,{ref:a,className:s("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));yo.displayName=pe.Command.displayName;var mn=({children:e,...t})=>(0,Me.jsx)(ra,{...t,children:(0,Me.jsx)(Bt,{className:"overflow-hidden Me-0",children:(0,Me.jsx)(yo,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:Me-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),ai=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Me.jsx)(Fs.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,Me.jsx)(pe.Command.Input,{ref:a,className:s("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));ai.displayName=pe.Command.Input.displayName;var oi=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command.List,{ref:a,className:s("max-h-[300px] overflow-Me-auto overflow-Me-hidden",e),...t}));oi.displayName=pe.Command.List.displayName;var ri=Pt.forwardRef((e,t)=>(0,Me.jsx)(pe.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));ri.displayName=pe.Command.Empty.displayName;var ii=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command.Group,{ref:a,className:s("overflow-hidden Me-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));ii.displayName=pe.Command.Group.displayName;var si=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command.Separator,{ref:a,className:s("-mx-1 h-px bg-border",e),...t}));si.displayName=pe.Command.Separator.displayName;var ni=Pt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(pe.Command.Item,{ref:a,className:s("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));ni.displayName=pe.Command.Item.displayName;var li=({className:e,...t})=>(0,Me.jsx)("span",{className:s("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});li.displayName="CommandShortcut";var wo=f(require("react"));var Vc=(0,Ts.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-Me-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),ci=wo.forwardRef(({className:e,variant:t,...a},o)=>(0,Me.jsx)("div",{ref:o,role:"alert",className:s(Vc({variant:t}),e),...a}));ci.displayName="Alert";var di=wo.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("h5",{ref:a,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));di.displayName="AlertTitle";var mi=wo.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm [&_p]:leading-relaxed",e),...t}));mi.displayName="AlertDescription";var Po=f(require("react")),rt=f(require("@radix-ui/react-avatar"));var Va=Po.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(rt.Root,{ref:a,className:s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Va.displayName=rt.Root.displayName;var Ua=Po.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(rt.Image,{ref:a,className:s("aspect-square h-full w-full",e),...t}));Ua.displayName=rt.Image.displayName;var $a=Po.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(rt.Fallback,{ref:a,className:s("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));$a.displayName=rt.Fallback.displayName;var pi=(0,Ts.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 Ro({className:e,variant:t,...a}){return(0,Me.jsx)("div",{className:s(pi({variant:t}),e),...a})}var Wa=f(require("@radix-ui/react-checkbox")),bn=f(require("react")),vn=bn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Wa.Root,{className:s("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Me.jsx)(Wa.Indicator,{className:s("flex items-center justify-center text-current"),children:(0,Me.jsx)(Fs.Check,{className:"h-4 w-4"})})}));vn.displayName=Wa.Root.displayName;var A=f(require("@radix-ui/react-select")),Ct=f(require("react")),Uc=A.Root,$c=A.Group,Wc=A.Value,hn=Ct.forwardRef(({children:e,className:t,...a},o)=>(0,Me.jsxs)(A.Trigger,{className:s("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,(0,Me.jsx)(A.Icon,{asChild:!0,children:(0,Me.jsx)(Fs.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));hn.displayName=A.Trigger.displayName;var ui=Ct.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.ScrollUpButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Fs.ChevronUp,{className:"h-4 w-4"})}));ui.displayName=A.ScrollUpButton.displayName;var fi=Ct.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.ScrollDownButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Fs.ChevronDown,{className:"h-4 w-4"})}));fi.displayName=A.ScrollDownButton.displayName;var xn=Ct.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,Me.jsx)(A.Portal,{children:(0,Me.jsxs)(A.Content,{className:s("relative Me-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-Me-1 data-[side=left]:-translate-Me-1 data-[side=right]:translate-Me-1 data-[side=top]:-translate-Me-1",t),position:a,ref:r,...o,children:[(0,Me.jsx)(ui,{}),(0,Me.jsx)(A.Viewport,{className:s("Me-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Me.jsx)(fi,{})]})}));xn.displayName=A.Content.displayName;var yn=Ct.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.Label,{className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:a,...t}));yn.displayName=A.Label.displayName;var wn=Ct.forwardRef(({children:e,className:t,...a},o)=>(0,Me.jsxs)(A.Item,{className:s("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(A.ItemIndicator,{children:(0,Me.jsx)(Fs.Check,{className:"h-4 w-4"})})}),(0,Me.jsx)(A.ItemText,{children:e})]}));wn.displayName=A.Item.displayName;var Nn=Ct.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.Separator,{className:s("-mx-1 my-1 h-px bg-muted",e),ref:a,...t}));Nn.displayName=A.Separator.displayName;var Pn=f(require("react")),Cn=Pn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("textarea",{className:s("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));Cn.displayName="Textarea";var je=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("io-")?e+" ":"io-"+e+" ",i="io-"+t,l=o!=null?o:"",n=r+i+" io-"+a+" "+l;return(0,Me.jsx)("i",{className:n})};var kn=({title:e,description:t,iconName:a,iconStyle:o,color:r})=>(0,Me.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[r]} Me-6 flex flex-col items-center text-center`,children:[(0,Me.jsx)("div",{className:"w-12 h-12 ",children:(0,Me.jsx)(je,{type:o,iconName:a,className:"w-12 h-12 text-white"})}),(0,Me.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Me.jsx)("Me",{className:"text-white text-sm",children:t})]});var Tn=f(require("next/image")),An=f(require("next/link"));var Ft=f(require("react"));var ie=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ie.displayName="Card";var Le=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex flex-col space-Me-1.5 Me-6",e),...t}));Le.displayName="CardHeader";var Be=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));Be.displayName="CardTitle";var Xc=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));Xc.displayName="CardDescription";var ve=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("Me-6 Me-0",e),...t}));ve.displayName="CardContent";var jc=Ft.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex items-center Me-6 Me-0",e),...t}));jc.displayName="CardFooter";function Mn({name:e,logo:t,href:a}){return(0,Me.jsx)(ie,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Me.jsxs)(An.default,{href:a,className:"block",children:[(0,Me.jsx)("div",{className:"bg-white Me-2 flex items-center justify-center h-24",children:(0,Me.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Me.jsx)(Tn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Me.jsx)(ve,{className:"Me-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Me.jsx)("Me",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function In({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let i=n=>{switch(n){case"birthday":return(0,Me.jsx)(Fs.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Me.jsx)(Fs.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Me.jsx)(Fs.PartyPopper,{className:"h-4 w-4"});default:return(0,Me.jsx)(Fs.CalendarDays,{className:"h-4 w-4"})}},l=n=>{switch(n){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,Me.jsxs)(ie,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,Me.jsxs)(Le,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Me.jsxs)(Va,{className:"h-14 w-14 border-2 border-white",children:[(0,Me.jsx)(Ua,{src:r,alt:a||"Event"}),(0,Me.jsx)($a,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Me.jsxs)("div",{className:"flex flex-col",children:[(0,Me.jsx)(Be,{className:"text-xl",children:a||"Untitled Event"}),(0,Me.jsxs)("Me",{className:"text-sm text-white/80",children:[(0,Me.jsx)(Fs.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Me.jsxs)(ve,{className:"bg-white bg-opacity-80 Me-4",children:[o&&(0,Me.jsx)("Me",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Me.jsxs)(Ro,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Me.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Me])([A-Me])/g,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var En=f(require("next/link"));var Ln=f(require("next/image")),Dn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Bn({slug:e,image:t,title:a,description:o}){return(0,Me.jsxs)(En.default,{href:e,className:"group/portfolio relative Me-1 block aspect-[640/916] overflow-hidden rounded-5 Me-6 md:Me-[1.875rem]",children:[(0,Me.jsx)("span",{className:s("absolute inset-0 Me-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Me.jsx)(Ln.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
7
7
  (min-width:${Dn.md}) 50vw,
8
8
  (min-width:${Dn.lg}) 25vw,
9
9
  100vw
10
- `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Me.jsx)("div",{className:"relative Me-10 flex h-full flex-col",children:(0,Me.jsxs)("div",{className:"Me-auto divide-Me md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Me.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Me.jsx)("Me",{className:"Me-[13px] overflow-hidden Me-[11px] text-body",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}var fi=g(require("next/image")),ko=g(require("path"));function Yc(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function Kc(e){return e.startsWith("http")}function Qc(e,t){let a=e;if(Yc(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(Kc(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=ko.default.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=ko.default.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${ko.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function qc({src:e,alt:t}){let[a,o]=(0,io.useState)(!1),[r,i]=(0,io.useState)(!1),[l,n]=(0,io.useState)({width:0,height:0}),m=()=>{r&&o(!0)},c=()=>{o(!1)},d=u=>{let{naturalWidth:b,naturalHeight:h}=u.target;n({width:b,height:h}),i(b>300||h>300)};return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"h-[300px]":`h-[${l.height}px]`}`,onClick:m,children:(0,Me.jsx)(fi.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:d,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),(0,Me.jsx)(ra,{open:a,onOpenChange:o,children:(0,Me.jsxs)(Bt,{className:"flex flex-col items-center justify-center",children:[(0,Me.jsxs)(Ga,{className:"flex w-full justify-end",children:[(0,Me.jsx)(_a,{className:"hidden",children:t}),(0,Me.jsx)(ho,{})]}),(0,Me.jsx)("div",{className:"flex items-center justify-center",children:(0,Me.jsx)(fi.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Hn({props:e,baseContext:t}){let{src:a}=e;return a=Qc(a,t),(0,Me.jsx)(qc,{src:a,alt:e.alt})}var zn=g(require("next/link"));function he({children:e,href:t,openNewTab:a,...o}){return(0,Me.jsx)(zn.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function Jc(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function bi({icon:e,title:t,description:a,slug:o}){return(0,Me.jsxs)("article",{className:s(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Me-1 block h-full space-Me-6 overflow-hidden rounded-5 Me-6 md:space-Me-7 md:Me-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Me.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Me.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:Jc(e)?(0,Me.jsx)(je,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Me.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,Me.jsx)(he,{href:o,children:t}):t})]}),(0,Me.jsx)("Me",{className:"text-body dark:text-body",children:a}),o&&(0,Me.jsx)(X,{asChild:!0,className:s(["rounded-5 border Me-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,Me.jsxs)(he,{href:o,children:[(0,Me.jsx)("span",{children:"Read More"}),(0,Me.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Me.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-Me-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Me-100 group-hover/service:opacity-100"})]})}var Ao=require("react-icons/fa6");function vi({title:e,description:t,features:a,price:o,duration:r,button:i}){return(0,Me.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Me.jsxs)("div",{className:"h-full border-card Me-6 dark:border-opacity-20 max-lg:border-b max-lg:Me-14 lg:border-r lg:Me-10",children:[(0,Me.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Me.jsx)("Me",{children:t})]}),(0,Me.jsx)("div",{className:"relative my-auto Me-6 max-lg:pb-14 md:Me-10",children:(0,Me.jsxs)("div",{className:"flex flex-col justify-stretch gap-Me-14 gap-Me-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,Me.jsx)("io",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:a.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Me.jsx)("span",{className:"text-accent Me-1",children:(0,Me.jsx)(Ao.FaCircleCheck,{})}),(0,Me.jsx)("span",{children:l})]},n))}),(0,Me.jsxs)("Me",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Me.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:r&&r})]}),i&&(0,Me.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Me.jsx)(X,{asChild:!0,className:"border-2 Me-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Me.jsxs)(he,{href:i.href,openNewTab:i.openNewTab,children:[(0,Me.jsx)("span",{className:"relative Me-1",children:i.label}),(0,Me.jsx)("span",{className:"relative Me-1 pl-2",children:(0,Me.jsx)(Ao.FaAnglesRight,{})})]})})})]})})]})}var On=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Me.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function Vn({sections:e}){var l;let[t,a]=(0,io.useState)((l=e[0])==null?void 0:l.id),o=(0,io.useRef)([]);(0,io.useEffect)(()=>{let n=[];return e.forEach(m=>{let c=new IntersectionObserver(u=>{u.forEach(b=>{b.isIntersecting&&a(m.id)})},{threshold:.5}),d=document.getElementById(m.id);d&&c.observe(d),n.push(c)}),o.current=n,()=>{n.forEach(m=>m.disconnect())}},[e]);let r=n=>{let m=document.getElementById(n);m&&m.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let n=e.findIndex(c=>c.id===t),m=e[n+1]||e[0];r(m.id)};return(0,Me.jsxs)("div",{className:"flex h-screen relative",children:[(0,Me.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(n=>(0,Me.jsx)("button",{className:`group relative my-2 h-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===n.id?n.color:"bg-gray-300"}`,onClick:()=>r(n.id),children:(0,Me.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-Me-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-Me-0 group-hover:opacity-100 lg:block",children:n.title})},n.id))}),(0,Me.jsx)("div",{className:"ml-12 flex-1 overflow-Me-auto snap-Me snap-mandatory",children:e.map(n=>(0,Me.jsx)("div",{id:n.id,className:`flex h-screen items-center justify-center snap-always snap-start text-4xl text-white ${n.color}`,children:n.title},n.id))}),(0,Me.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Me.jsx)(Fs.CircleChevronDown,{})})]})}var Kn=g(require("next/link"));var $n=g(require("next/image"));var Un=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Mo=()=>{if(Un){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Zc={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ed="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=",Wn=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:i,size:l,src:n,loading:m}=e,c,d,u=t,b=n||"";if(!b&&i&&typeof i=="object"){let{alt:f,filename:w,height:L,url:B,width:de}=i;c=de,d=L,u=f||"",b=`${Mo()}${B}`}let h=m||"lazy",S=l||Object.entries(Zc).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,Me.jsx)("picture",{children:(0,Me.jsx)($n.default,{alt:u||"",className:s(o),fill:a,height:a?void 0:d,placeholder:"blur",blurDataURL:ed,priority:h!=="lazy"&&r,quality:100,loading:h,sizes:S,src:b,width:a?void 0:c})})};var Xn=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,io.useRef)(null);if((0,io.useEffect)(()=>{let{current:i}=r;i&&i.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:i}=a;return(0,Me.jsx)("video",{autoPlay:!0,className:s(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Me.jsx)("source",{src:`${Mo()}/media/${i}`})})}return null};var Se=e=>{var l;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((l=o==null?void 0:o.mimeType)==null?void 0:l.includes("video"));return(0,Me.jsx)(a||io.Fragment,{...a!==null?{className:t}:{},children:r?(0,Me.jsx)(Xn,{...e}):(0,Me.jsx)(Wn,{...e})})};function Qn(){let[e,t]=(0,io.useState)("All News"),[a,o]=(0,io.useState)([]),[r,i]=(0,io.useState)(1),[l,n]=(0,io.useState)(1),m=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,io.useEffect)(()=>{async function c(){if(e==="All News"){let h=await(await fetch(`/api/posts?page=${r}`)).json();o(h.docs),n(h.totalPages);return}let u=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${r}`)).json();o(u.docs),n(u.totalPages)}c()},[e,r]),(0,Me.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,Me.jsxs)("div",{className:"flex gap-2 overflow-Me-auto pb-4 mb-6",children:[m.map(c=>(0,Me.jsx)(X,{variant:c===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(c),children:c},c)),(0,Me.jsxs)(X,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,Me.jsx)(Fs.ChevronRight,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,Me.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:a&&a.map(c=>(0,Me.jsxs)(Kn.default,{href:`/posts/${c.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[c.meta&&c.meta.image&&typeof c.meta.image!="string"&&(0,Me.jsx)(Se,{resource:c.meta.image,size:"33vw"}),(0,Me.jsxs)("div",{className:"Me-4",children:[(0,Me.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[c.populatedAuthors&&c.populatedAuthors.map(d=>d.name)," ","\xB7"," ",c.publishedAt&&new Date(c.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Me.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:c.title})]})]},c.id))}),(0,Me.jsx)("div",{className:"flex justify-center gap-1 Me-8",children:Array.from({length:l},(c,d)=>d+1).map(c=>(0,Me.jsx)(X,{variant:c===r?"default":"ghost",size:"icon",className:"w-10 h-10 rounded-full",onClick:()=>i(c),children:c},c))})]})}function qn({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:i,raisedAmount:l,companiesCount:n,dealsClosed:m,leadsGenerated:c}){return(0,Me.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Me.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Me.jsxs)("div",{className:"max-w-4xl",children:[(0,Me.jsx)("Me",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Me.jsx)("h1",{className:"Me-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Me.jsx)("Me",{className:"Me-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,Me.jsxs)("section",{className:"Me-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Me-8 lg:gap-Me-16",children:[(0,Me.jsxs)("div",{className:"lg:pr-8",children:[(0,Me.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,Me.jsx)("Me",{className:"Me-6 text-base/7 text-gray-600",children:r})]}),(0,Me.jsx)("div",{className:"Me-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Me.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:i.map((d,u)=>(0,Me.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Me.jsx)("img",{alt:"",src:d,className:"block size-full object-cover"})},u))})}),(0,Me.jsxs)("div",{className:"max-lg:Me-16 lg:col-span-1",children:[(0,Me.jsx)("Me",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Me.jsx)("hr",{className:"Me-6 border-t border-gray-200"}),(0,Me.jsxs)("dl",{className:"Me-6 grid grid-cols-1 gap-Me-8 gap-Me-4 sm:grid-cols-2",children:[(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[n,"Me"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"Me"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Me"]})]})]})]})]})]})})}var Jn=require("next/navigation");function td({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,Jn.useRouter)(),r=(0,io.useRef)(null),i=(0,io.useRef)(null),l=(0,io.useRef)(0),n=(0,io.useRef)(!1),m=(0,io.useRef)(0),c=(0,io.useCallback)(u=>{if(u.target){let b=u.target,h=+new Date,S=b==null?void 0:b.closest("a");m.current=u.button,S?n.current=!0:(n.current=!1,l.current=h)}},[o,r,i,l]),d=(0,io.useCallback)(u=>{var b,h;if((b=i.current)!=null&&b.href){let f=+new Date-l.current;if((h=i.current)!=null&&h.href&&f<=250&&!n.current&&m.current===0&&!u.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else o.push(i.current.href,{scroll:a})}},[o,r,i,l]);return(0,io.useEffect)(()=>{let u=r.current;return u&&(u.addEventListener("mousedown",c),u.addEventListener("mouseup",d)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",c),u==null||u.removeEventListener("mouseup",d))}},[r,i,o]),{card:{ref:r},link:{ref:i}}}var Zn=td;var el=g(require("next/link"));var Xa=e=>{let{card:t,link:a}=Zn({}),{className:o,doc:r,relationTo:i,showCategories:l,title:n}=e,{slug:m,categories:c,meta:d,title:u}=r||{},{description:b,image:h}=d||{},S=c&&Array.isArray(c)&&c.length>0,f=n||u,w=b==null?void 0:b.replace(/\s/g," "),L=`/${i}/${m}`;return(0,Me.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Me.jsxs)("div",{className:"relative w-full ",children:[!h&&(0,Me.jsx)("div",{className:"",children:"Me image"}),h&&typeof h!="string"&&(0,Me.jsx)(Se,{resource:h,size:"33vw"})]}),(0,Me.jsxs)("div",{className:"Me-4",children:[l&&S&&(0,Me.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&S&&(0,Me.jsx)("div",{children:c==null?void 0:c.map((B,de)=>{if(typeof B=="object"){let{title:qe}=B,Kt=qe||"Untitled category",Ja=de===c.length-1;return(0,Me.jsxs)(io.Fragment,{children:[Kt,!Ja&&(0,Me.jsx)(io.Fragment,{children:", \xA0"})]},de)}return null})})}),f&&(0,Me.jsx)("div",{className:"prose",children:(0,Me.jsx)("h3",{children:(0,Me.jsx)(el.default,{className:"not-prose",href:L,ref:a.ref,children:f})})}),b&&(0,Me.jsx)("div",{className:"Me-2",children:b&&(0,Me.jsx)("Me",{children:w})})]})]})};var ad=e=>{let{posts:t}=e;return(0,Me.jsx)("div",{className:s("container"),children:(0,Me.jsx)("div",{children:(0,Me.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-Me-4 gap-Me-4 lg:gap-Me-8 lg:gap-Me-8 xl:gap-Me-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,Me.jsx)("div",{className:"col-span-4",children:(0,Me.jsx)(Xa,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var wi=g(require("next/link")),nt=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:i,newTab:l,reference:n,size:m,url:c}=e,d=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:c;if(!d)return null;let u=a==="link"?"clear":m,b=l?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Me.jsxs)(wi.default,{className:s(r),href:d||c||"",...b,children:[i&&i,o&&o]}):(0,Me.jsx)(X,{asChild:!0,className:r,size:u,variant:a,children:(0,Me.jsxs)(wi.default,{className:s(r),href:d||c||"",...b,children:[i&&i,o&&o]})})};var tl=g(require("clsx")),al=g(require("next/image")),od=e=>{let{loading:t,priority:a,className:o}=e;return(0,Me.jsx)(al.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,tl.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var rd={plural:"Docs",singular:"Doc"},id={posts:{plural:"Posts",singular:"Post"}},sd=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:i,totalDocs:l}=e,n=(r?r-1:1)*(i||1)+1;l&&n>l&&(n=0);let m=(r||1)*(i||1);l&&m>l&&(m=l);let{plural:c,singular:d}=o||id[a||""]||rd||{};return(0,Me.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${n}${n>0?` - ${m}`:""} of ${l} ${l>1?c:d}`]})};var Ni=g(require("react")),Pi=({className:e,...t})=>(0,Me.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});Pi.displayName="Pagination";var Ci=Ni.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("io",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Ci.displayName="PaginationContent";var lt=Ni.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{className:s("",e),ref:a,...t}));lt.displayName="PaginationItem";var _t=({className:e,isActive:t,size:a="icon",...o})=>(0,Me.jsx)("button",{"aria-current":t?"page":void 0,className:s(Ta({size:a,variant:t?"outline":"ghost"}),e),...o});_t.displayName="PaginationLink";var Ri=({className:e,...t})=>(0,Me.jsxs)(_t,{"aria-label":"Me to previous page",className:s("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Me.jsx)(Fs.ChevronLeft,{className:"h-4 w-4"}),(0,Me.jsx)("span",{children:"Previous"})]});Ri.displayName="PaginationPrevious";var Si=({className:e,...t})=>(0,Me.jsxs)(_t,{"aria-label":"Me to next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Me.jsx)("span",{children:"Next"}),(0,Me.jsx)(Fs.ChevronRight,{className:"h-4 w-4"})]});Si.displayName="PaginationNext";var Eo=({className:e,...t})=>(0,Me.jsxs)("span",{"aria-hidden":!0,className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(Fs.MoreHorizontal,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More pages"})]});Eo.displayName="PaginationEllipsis";var nd=e=>{let t=(0,Jn.useRouter)(),{className:a,page:o,totalPages:r}=e,i=o<r,l=o>1,n=o-1>1,m=o+1<r;return(0,Me.jsx)("div",{className:s("my-12",a),children:(0,Me.jsx)(Pi,{children:(0,Me.jsxs)(Ci,{children:[(0,Me.jsx)(lt,{children:(0,Me.jsx)(Ri,{disabled:!l,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),n&&(0,Me.jsx)(lt,{children:(0,Me.jsx)(Eo,{})}),l&&(0,Me.jsx)(lt,{children:(0,Me.jsx)(_t,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Me.jsx)(lt,{children:(0,Me.jsx)(_t,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),i&&(0,Me.jsx)(lt,{children:(0,Me.jsx)(_t,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),m&&(0,Me.jsx)(lt,{children:(0,Me.jsx)(Eo,{})}),(0,Me.jsx)(lt,{children:(0,Me.jsx)(Si,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};var ki=({className:e,content:t,style:a})=>(0,Me.jsx)("div",{className:s("mx-auto my-8 w-full",e),children:(0,Me.jsx)("div",{className:s("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Me.jsx)(ae,{content:t,enableGutter:!1,enableProse:!1})})});var Ya=({links:e,richText:t})=>(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"bg-card rounded border-border border Me-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Me.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Me.jsx)(ae,{className:"mb-0",content:t,enableGutter:!1})}),(0,Me.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,Me.jsx)(nt,{size:"lg",...a},o))})]})});var Bo=require("prism-react-renderer");function Ti({code:e}){let[t,a]=(0,io.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Me.jsx)("div",{className:"flex justify-end align-middle",children:(0,Me.jsxs)(X,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Me.jsx)("Me",{children:t}),(0,Me.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Me.jsx)(Fs.ClipboardCopy,{})})]})})}var ll=({code:e,language:t=""})=>e?(0,Me.jsx)(Bo.Highlight,{code:e,language:t,theme:Bo.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,Me.jsxs)("pre",{className:"bg-black Me-4 border text-xs border-border rounded overflow-Me-auto",children:[r.map((i,l)=>(0,Me.jsxs)("div",{...a({className:"table-row",line:i}),children:[(0,Me.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Me.jsx)("span",{className:"table-cell pl-4",children:i.map((n,m)=>(0,Me.jsx)("span",{...o({token:n})},m))})]},l)),(0,Me.jsx)(Ti,{code:e})]})}):null;var Mi=({className:e,code:t,language:a})=>(0,Me.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Me.jsx)(ll,{code:t,language:a})});var la=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Me.jsx)("div",{className:s("",{container:a},t),children:(0,Me.jsx)(Se,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var Ho=g(require("react"));function Di({nodes:e}){return(0,Me.jsx)(Ho.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Me.jsx)(Ho.default.Fragment,{children:t.text},a);return t.format&1&&(i=(0,Me.jsx)("strong",{children:i},a)),t.format&2&&(i=(0,Me.jsx)("em",{children:i},a)),t.format&4&&(i=(0,Me.jsx)("span",{style:{textDecoration:"line-through"},children:i},a)),t.format&8&&(i=(0,Me.jsx)("span",{style:{textDecoration:"underline"},children:i},a)),t.format&16&&(i=(0,Me.jsx)("code",{children:t.text},a)),t.format&32&&(i=(0,Me.jsx)("sub",{children:i},a)),t.format&64&&(i=(0,Me.jsx)("sup",{children:i},a)),i}let o=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let l of i.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Di({nodes:i.children})},r="children"in t?o(t):"";if(t.type==="block"){let i=t.fields,l=i==null?void 0:i.blockType;if(!i||!l)return null;switch(l){case"cta":return(0,Me.jsx)(Ya,{...i},a);case"mediaBlock":return(0,Me.jsx)(la,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Me.jsx)(ki,{className:"col-start-2 mb-4",...i},a);case"code":return(0,Me.jsx)(Mi,{className:"col-start-2",...i},a);default:return null}}else switch(t.type){case"linebreak":return(0,Me.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Me.jsx)("Me",{className:"col-start-2",children:r},a);case"heading":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"col-start-2",children:r},a)}case"list":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Me.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},a):(0,Me.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,Me.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let i=t.fields;return(0,Me.jsx)(nt,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:r},a)}default:return null}})})}var ae=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,Me.jsx)("div",{className:s({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Di({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};function ld({icon:e,title:t,body:a,color:o="secondary"}){return(0,$e.jsx)($e.Fragment,{children:(0,$e.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,$e.jsx)("div",{className:"px-[2%] flex items-center",children:(0,$e.jsx)("div",{className:"w-12 h-12",children:(0,$e.jsx)(je,{type:e.type,iconName:e.name})})}),(0,$e.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,$e.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var dl=g(require("next/image"));function cd(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Me.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Me-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Me.jsx)(dl.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Me.jsxs)("div",{className:"flex flex-1 flex-col Me-4",children:[(0,Me.jsx)("div",{className:"Me-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,Me.jsxs)("a",{href:t,children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Me.jsx)("div",{className:"Me-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var dd=(e,t)=>`from-brand-${e} to-brand-${t}`;function md({...e}){let t=dd(e.brandFrom||"one",e.brandTo||"two");return(0,Me.jsxs)("div",{className:`relative isolate flex items-center gap-Me-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Me.jsxs)("a",{href:e.url,children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Me.jsx)("span",{children:e.message&&e.message})]}):(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Me.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ka=g(require("react")),pd={Architecture:(0,Me.jsx)(Fs.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Me.jsx)(Fs.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Me.jsx)(Fs.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Me.jsx)(Fs.GanttChart,{className:"h-5 w-5 text-red-600"})},ud=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let i=e.reports.length>0;return(0,Me.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Me.jsxs)("div",{className:`flex items-center Me-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Me.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Me.jsx)(Fs.ChevronDown,{className:"h-4 w-4"}):(0,Me.jsx)(Fs.ChevronRight,{className:"h-4 w-4"})}),(0,Me.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Me.jsx)(Fs.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Me.jsxs)("div",{className:"flex items-center Me-1",children:[pd[e.discipline],(0,Me.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Me.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},ml=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,Ka.useState)(t<1),i=()=>r(!o),l=d=>d.name.toLowerCase().includes(a.toLowerCase())||d.discipline.toLowerCase().includes(a.toLowerCase())||d.grade.toLowerCase().includes(a.toLowerCase()),n=d=>l(d)||d.reports.some(n),m=a===""||n(e),c=l(e);return Ka.default.useEffect(()=>{a!==""&&n(e)&&r(!0)},[a,e]),m?(0,Me.jsxs)("div",{children:[(0,Me.jsx)(ud,{person:e,level:t,onToggle:i,isExpanded:o,isHighlighted:c}),o&&e.reports.map((d,u)=>(0,Me.jsx)(ml,{person:d,level:t+1,searchTerm:a},u))]}):null};function gd(){let[e,t]=(0,Ka.useState)("");return(0,Me.jsxs)("div",{className:"max-w-5xl mx-auto Me-6",children:[(0,Me.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Me.jsxs)("div",{className:"mb-4 relative",children:[(0,Me.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Me.jsx)(Fs.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Me.jsx)(ml,{person:o,level:0,searchTerm:e},r))})]})}function fd({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Me.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{className:"lg:col-span-1 space-Me-6 flex flex-col",children:[(0,Me.jsxs)(ie,{className:"flex-grow",children:[(0,Me.jsx)(Le,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(Be,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Me.jsxs)(ve,{className:"Me-6",children:[(0,Me.jsx)("Me",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Me.jsxs)("div",{className:"space-Me-6",children:[(0,Me.jsx)("div",{className:"space-Me-2",children:e.leadership.map((r,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsx)("div",{className:"space-Me-2",children:e.core.map((r,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:r.role}),r.count&&(0,Me.jsxs)("span",{children:["(",r.count,"Me)"]})]}),r.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Me.jsx)(Fs.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:"SME input:"})]}),(0,Me.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Me.jsxs)(ie,{children:[(0,Me.jsx)(Le,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(Be,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Me.jsx)(ve,{className:"Me-6",children:(0,Me.jsx)("Me",{className:"text-lg font-semibold",children:o})})]})]}),(0,Me.jsxs)(ie,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Le,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(Be,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Me.jsxs)(ve,{className:"Me-6 flex-grow overflow-auto",children:[(0,Me.jsx)("Me",{className:"list-decimal list-inside space-Me-4",children:t.map((r,i)=>(0,Me.jsxs)("li",{className:"text-sm",children:[(0,Me.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Me.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,Me.jsx)("Me",{className:"Me-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Me.jsxs)(ie,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Le,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(Be,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Me.jsx)(ve,{className:"Me-6 flex-grow overflow-auto",children:(0,Me.jsx)("io",{className:"space-Me-4",children:a.map((r,i)=>(0,Me.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Me.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Me.jsx)("span",{children:r})]},i))})})]})]})}function bd(){return(0,Me.jsx)("div",{className:"w-full bg-primary text-white Me-8 rounded-lg border border-dashed border-white/30",children:(0,Me.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Me.jsxs)("div",{className:"space-Me-4 bg-primary Me-3 rounded-lg",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Me.jsx)(Fs.BarChart3,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Me.jsx)("Me",{className:"text-secondary text-sm",children:"Ae excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Me.jsxs)("io",{className:"text-sm",children:[(0,Me.jsx)("li",{children:"Strategy definition"}),(0,Me.jsx)("li",{children:"Programme leadership"}),(0,Me.jsx)("li",{children:"Detailed planning"}),(0,Me.jsx)("li",{children:"\u2022 Financial control"}),(0,Me.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Me.jsx)(Fs.CogIcon,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Me.jsx)("Me",{className:"text-sm",children:"Ae deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Me.jsx)(Fs.Building2,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"Ae understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Me.jsx)("Me",{className:"text-sm",children:"Ae have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Me.jsx)(Fs.BadgeCheck,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"Ae have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Me.jsx)("Me",{className:"text-sm",children:"As Me XXXX strategic partner, Me have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Ei=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Me.jsx)("div",{className:"container my-6",children:(0,Me.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-Me-8 gap-Me-16",children:t&&t.length>0&&t.map((o,r)=>{let{enableLink:i,link:l,richText:n,size:m}=o;return(0,Me.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[m]}`,{"md:col-span-2":m!=="full"}),children:[n&&(0,Me.jsx)(ae,{content:n,enableGutter:!1}),i&&(0,Me.jsx)(nt,{...l})]},r)})})})};var Li=({title:e,description:t,features:a})=>(0,Me.jsxs)("section",{className:s("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Me.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Me.jsx)("Me",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Me.jsx)("div",{className:`grid gap-8 md:grid-cols-${a?a.length:1}`,children:a&&a.map((o,r)=>{var l,n;let i=(0,Me.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Me.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,Me.jsx)("i",{className:`${o.icon.type} Fs-${o.icon.icon} Fs-4x`})}),(0,Me.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:o.title}),typeof o.content!="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),typeof o.content=="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",children:(0,Me.jsx)(ae,{content:o.content,enableGutter:!1})})]},r);return console.log("link",o.link),o.link?(0,Me.jsx)("a",{href:o.link.url?o.link.url:`/${(l=o.link.reference)==null?void 0:l.relationTo}/${((n=o.link.reference)==null?void 0:n.value).slug}`,className:"no-underline group",children:i},r):i})})]});var zo=g(require("next/image"));function vd({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Me.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Me-[calc(80vw*0.5)]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Me.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Me.jsx)(zo.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Me.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,Me.jsx)("div",{className:"h-16 w-32 md:h-24 md:w-48",children:(0,Me.jsx)(zo.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Me.jsx)("div",{className:"h-10 w-20 md:h-12 md:w-24",children:(0,Me.jsx)(zo.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Me.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Me.jsx)("Me",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Me.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var hd=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Me.jsx)("div",{className:s("",{container:a},t),children:(0,Me.jsx)(Se,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var pl={content:Ei,cta:Ya,mediaBlock:la,imageBlock:la,features:Li},xd=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Me.jsx)(io.Fragment,{children:t.map((o,r)=>{let{blockType:i}=o;if(i&&i in pl){let l=pl[i];if(l)return(0,Me.jsx)("div",{className:"my-6",children:(0,Me.jsx)(l,{...o})},r)}return null})}):null};var gl=g(require("clsx"));var yd=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Me.jsxs)("div",{className:(0,gl.default)("container",t),children:[o&&(0,Me.jsx)(ae,{content:o,enableGutter:!1}),(0,Me.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((r,i)=>typeof r=="string"?null:(0,Me.jsx)(Xa,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var Hi=g(require("clsx"));function wd({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:i,onNavClick:l,loading:n=!1,LinkComponent:m,...c}){let u=m?b=>(0,Me.jsx)(m,{...b}):l?({href:b,children:h,...S})=>(0,Me.jsx)("button",{onClick:()=>l&&l(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...S,children:h}):b=>(0,Me.jsx)("a",{...b});return(0,Me.jsxs)(At,{...c,variant:"inset",children:[(0,Me.jsx)(Mt,{children:(0,Me.jsx)(be,{children:(0,Me.jsx)(re,{children:n?(0,Me.jsxs)("div",{className:"grid flex-1 Me-2 text-left text-m leading-tight",children:[(0,Me.jsx)(j,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Me.jsxs)("div",{className:"grid flex-1 Me-2 text-left text-m leading-tight",children:[(0,Me.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Me.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),n&&(0,Me.jsxs)(vt,{children:[(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Me.jsxs)(vt,{children:[e&&!n&&e.map((b,h)=>(0,Me.jsx)(Nd,{subNav:b,pathName:r,Link:u},h)),(0,Me.jsx)(Ie,{className:"Me-auto",children:(0,Me.jsx)(Ge,{children:(0,Me.jsx)(be,{children:t&&!n&&t.map(b=>(0,Me.jsx)(re,{children:(0,Me.jsx)(De,{asChild:!0,size:"sm",children:(0,Me.jsxs)(u,{href:b.url||"",children:[b.icon&&(0,Me.jsx)(b.icon,{}),(0,Me.jsx)("span",{children:b.label})]})})},b.label))})})})]}),(0,Me.jsx)(It,{})]})}function Nd({subNav:e,pathName:t,Link:a}){var i,l;let o=e,r=!1;return o.links&&o.links.map(n=>{n.url===t&&(r=!0)}),(0,Me.jsx)(et,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsx)(Ie,{className:"py-0",children:(0,Me.jsx)(be,{children:(0,Me.jsx)(et,{asChild:!0,defaultOpen:o.isActive,children:(0,Me.jsxs)(re,{children:[(0,Me.jsx)(De,{asChild:!0,tooltip:o.label,className:(0,Hi.default)(r&&"font-bold text-accent"),children:(0,Me.jsxs)(a,{href:o.url,children:[o.icon&&(0,Me.jsx)(o.icon,{}),(0,Me.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(ft,{asChild:!0,children:(0,Me.jsxs)(Ia,{className:"data-[state=open]:rotate-90",children:[(0,Me.jsx)(Fs.ChevronRight,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Me.jsx)(bt,{children:(0,Me.jsx)(ht,{children:(l=o.links)==null?void 0:l.map(n=>(0,Me.jsx)(xt,{children:(0,Me.jsx)(yt,{asChild:!0,className:(0,Hi.default)(n.url===t&&"font-bold text-accent"),children:(0,Me.jsx)(a,{href:n.url,children:(0,Me.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var bl=g(require("clsx"));var Pd=()=>(0,Me.jsx)(je,{iconName:"github",size:"10x"});function Cd({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:n,onGithubClick:m,onNavClick:c,LinkComponent:d,...u}){let S=d?f=>(0,Me.jsx)(d,{...f}):c?({item:f,children:w,...L})=>(0,Me.jsx)("button",{onClick:()=>c&&c(f),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...L,children:w}):f=>(0,Me.jsx)("a",{href:f.href,...f});return(0,Me.jsxs)(At,{side:"right",variant:"inset",...u,children:[(0,Me.jsxs)(Mt,{className:"border-b border-sidebar-border",children:[(0,Me.jsxs)(be,{className:"flex-row space-Me-1",children:[(0,Me.jsx)(re,{children:(0,Me.jsxs)(De,{onClick:i,children:[(0,Me.jsx)(Fs.FilePlus,{})," ",(0,Me.jsx)("span",{children:"Add Document"})]})}),m&&(0,Me.jsx)(re,{children:(0,Me.jsx)(De,{onClick:m,tooltip:"Open in GitHub",children:(0,Me.jsx)(Pd,{})})})]}),(0,Me.jsxs)(be,{className:"flex-row space-Me-1",children:[(0,Me.jsx)(re,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:()=>l(),variant:r?"outline":"default",className:(0,bl.default)(r&&"text-accent"),children:[(0,Me.jsx)(Fs.Edit,{})," ",(0,Me.jsx)("span",{children:"Edit"})]})}),(0,Me.jsx)(re,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:n,children:[(0,Me.jsx)(Fs.Printer,{})," ",(0,Me.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(et,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{asChild:!0,children:(0,Me.jsxs)(ft,{children:["Editor Controls",(0,Me.jsx)(Fs.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(bt,{children:a})})]})}),(0,Me.jsx)(Ma,{className:"mx-0"})]}),(0,Me.jsxs)(vt,{className:"overflow-auto",children:[o&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{children:"Related Content"}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(be,{children:Array.from({length:3}).map((f,w)=>(0,Me.jsx)(re,{children:(0,Me.jsx)(j,{className:"bg-gray-200 w-full h-10"})},w))})})]}),(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{children:"Table of Contents"}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(be,{children:Array.from({length:3}).map((f,w)=>(0,Me.jsx)(re,{children:(0,Me.jsx)(j,{className:"bg-gray-200 w-full h-10"})},w))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Me.jsx)(et,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{asChild:!0,children:(0,Me.jsxs)(ft,{children:["Related Content",(0,Me.jsx)(Fs.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(bt,{children:(0,Me.jsx)(be,{children:e&&Object.keys(e).map(f=>(0,Me.jsxs)(re,{children:[(0,Me.jsxs)("span",{className:"Me-2 text-xs text-sidebar-foreground",children:[" ",f.charAt(0).toUpperCase()+f.slice(1)]}),f&&e[f]&&(0,Me.jsx)(ht,{children:e[f].map(w=>(0,Me.jsx)(xt,{children:(0,Me.jsx)(yt,{asChild:!0,isActive:!1,size:"sm",children:(0,Me.jsxs)(S,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Me.jsx)("span",{children:w.label}),w.type==="note"&&(0,Me.jsx)(Fs.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Me.jsx)(je,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},w.label))})]},f))})})})]})}),t&&!o&&(0,Me.jsx)(et,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{asChild:!0,children:(0,Me.jsxs)(ft,{children:["Table of Contents",(0,Me.jsx)(Fs.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(bt,{children:(0,Me.jsx)(be,{children:t.map(f=>{var w;return(0,Me.jsxs)(re,{children:[(0,Me.jsx)(De,{asChild:!0,children:(0,Me.jsx)("a",{href:`#${f.url}`,className:"text-xs",children:f.title})}),(w=f.items)!=null&&w.length?(0,Me.jsx)(ht,{children:f.items.map(L=>(0,Me.jsx)(xt,{children:(0,Me.jsx)(yt,{asChild:!0,isActive:L.isActive,size:"sm",children:(0,Me.jsx)("a",{href:`#${L.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Me.jsx)("span",{children:L.title})})})},L.title))}):null]},f.title)})})})})]})})]}),(0,Me.jsx)(It,{})]})}var hl=g(require("next/image"));function Rd({title:e,members:t}){return(0,Me.jsx)(ie,{className:"mb-6",children:(0,Me.jsxs)("div",{className:"Me-6",children:[(0,Me.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Me.jsx)(Fs.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Me.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:t.map((a,o)=>(0,Me.jsxs)("div",{className:"flex items-center space-Me-4",children:[(0,Me.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Me.jsx)(hl.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("Me",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Me.jsx)("Me",{className:"text-sm text-muted-foreground",children:a.role})]})]},o))})]})})}var xl=g(require("next/link"));var Sd=({links:e})=>(0,Me.jsxs)(ie,{children:[(0,Me.jsx)(Le,{children:(0,Me.jsx)(Be,{children:"Related"})}),(0,Me.jsx)(ve,{children:(0,Me.jsx)("nav",{className:"flex flex-col space-Me-2",children:e.map((t,a)=>(0,Me.jsxs)(xl.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Me.jsx)(Fs.ExternalLink,{className:"ml-1 h-3 w-3"})]},a))})})]});var zi=s("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Fi({pages:e}){let t=(0,Jn.useSearchParams)(),a=(0,Jn.usePathname)(),{replace:o}=(0,Jn.useRouter)(),{totalPages:r,page:i}=e,[l,n]=(0,io.useState)({start:i>3?i-3:1,end:i+2}),m=u=>{u==="left"&&l.start>1?n(b=>({start:b.start-1,end:b.end-1})):u==="right"&&l.end<r&&n(b=>({start:b.start+1,end:b.end+1}))};function c(u){let b=new URLSearchParams(t);u?b.set("page",u):b.delete("page"),o(`${a}?${b.toString()}`)}if(r<=1)return null;let d=[];for(let u=l.start;u<=l.end;u++)d.push(u);return(0,Me.jsx)("div",{className:"Me-12",children:(0,Me.jsxs)("io",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(zi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>m("left"),children:(0,Me.jsx)(Ao.FaArrowLeft,{})})}),d.map((u,b)=>(0,Me.jsx)("li",{children:(0,Me.jsx)("a",{className:s(zi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:h=>{h.preventDefault(),c(u.toString())},children:u})},b)),l.end<r&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(zi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>m("right"),children:(0,Me.jsx)(Ao.FaArrowRight,{})})})]})})}var kd=s("transition-colors duration-400 hover:text-primary ease-in-out");function Oi({title:e,links:t}){let a=(0,Jn.useSearchParams)(),o=(0,Jn.usePathname)(),{replace:r}=(0,Jn.useRouter)();function i(l){console.log(l);let n=new URLSearchParams(a);l?n.set("category",l):n.delete("category"),r(`${o}?${n.toString()}`)}return(0,Me.jsx)("div",{className:"space-Me-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:Me-10",children:(0,Me.jsxs)(ie,{children:[(0,Me.jsx)(Le,{children:(0,Me.jsx)(Be,{children:e&&e})}),(0,Me.jsx)(ve,{children:t&&t.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("io",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5 Me-2.5 first:Me-0 hover:cursor-pointer",onClick:m=>{m.preventDefault(),i(l.href)},children:[(0,Me.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,Me.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,Me.jsx)("a",{className:kd,children:l.label})]},n))})})})]})})}function _i({types:e}){let[t,a]=(0,io.useState)(e&&e[0].href),o=(0,Jn.useSearchParams)(),r=(0,Jn.usePathname)(),{replace:i}=(0,Jn.useRouter)();function l(n){let m=new URLSearchParams(o);n?m.set("type",n):m.delete("type"),a(n),i(`${r}?${m.toString()}`)}return(0,Me.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Me-auto pb-4 mb-6",children:e&&e.map((n,m)=>(0,Me.jsx)(X,{variant:n.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},m))})}var Pl=g(require("next/image"));var Vi=({links:e,media:t,children:a,richText:o})=>(0,Me.jsxs)("div",{className:"relative -Me-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Me.jsx)("div",{className:"container mb-8 Me-10 relative flex items-end justify-center",children:(0,Me.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||o&&(0,Me.jsx)(ae,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Me:text-white prose-Me:text-gray-900",content:o,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Me.jsx)("io",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(nt,{...r})},i))})]})}),(0,Me.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Me.jsx)(Se,{fill:!0,imgClassName:"Me-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(Pl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ui=g(require("next/image"));var Td=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:i}=e;return(0,Me.jsx)(Ui.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:i||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Me.jsx)("div",{children:(0,Me.jsx)(Ui.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},$i=({links:e,media:t,children:a,richText:o})=>(0,Me.jsxs)("div",{className:"relative bg-brand-one pb-12 Me-20 Me-10",children:[t&&(0,Me.jsx)(Td,{media:t}),(0,Me.jsx)("div",{className:"mx-0 min-w-full relative Me-9",children:(0,Me.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Me.jsx)(ae,{className:"prose-headings:text-brand-one-foreground prose-Me:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Wi=({children:e,richText:t})=>(0,Me.jsx)("div",{className:"min-w-full py-10 bg-muted Me-24",children:(0,Me.jsx)("div",{className:"container",children:e||t&&(0,Me.jsx)(ae,{content:t,enableGutter:!1})})});var Cl=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),i=o+1<10?`0${o+1}`:o+1,l=r<10?`0${r}`:r,n=a.getFullYear();return`${l}/${i}/${n}`};var Rl=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${o}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"Fs";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`};var $t=g(require("react"));var Sl=g(require("next/image")),Ad=({post:e})=>{let{categories:t,meta:{image:a}={},populatedAuthors:o,publishedAt:r,title:i}=e;return(0,Me.jsxs)("div",{className:"relative -Me-[10.4rem] flex items-end",children:[(0,Me.jsx)("div",{className:"container Me-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Me.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Me.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,n)=>{if(typeof l=="object"&&l!==null){let{title:m}=l,c=m||"Untitled category",d=n===t.length-1;return(0,Me.jsxs)($t.default.Fragment,{children:[c,!d&&(0,Me.jsx)($t.default.Fragment,{children:", \xA0"})]},n)}return null})}),(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Me.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Me.jsx)("div",{className:"flex flex-col gap-4",children:o&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("Me",{className:"text-sm",children:"Author"}),o.map((l,n)=>{let{name:m}=l,c=n===o.length-1,d=n===o.length-2;return(0,Me.jsxs)($t.default.Fragment,{children:[m,d&&o.length>2&&(0,Me.jsx)($t.default.Fragment,{children:", "}),d&&o.length===2&&(0,Me.jsx)($t.default.Fragment,{children:" "}),!c&&o.length>1&&(0,Me.jsx)($t.default.Fragment,{children:"and "})]},n)})]})}),r&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("Me",{className:"text-sm",children:"Date Published"}),(0,Me.jsx)("time",{dateTime:r,children:Cl(r)})]})]})]})}),(0,Me.jsxs)("div",{className:"min-h-[80vh] select-none",children:[a&&typeof a!="string"&&(0,Me.jsx)(Se,{fill:!0,imgClassName:"-Me-10 object-cover",resource:a}),a&&typeof a=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(Sl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:a})}),(0,Me.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Md={highImpact:Vi,lowImpact:Wi,mediumImpact:$i},Id=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=Md[t];return a?(0,Me.jsx)(a,{...e}):null};function Pe({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=s("container",t&&"full-width",a&&"no-padding",o);return(0,Me.jsx)("div",{className:r,children:e})}var Ml=g(require("next/image")),Il=g(require("react"));function Dd({title:e,breadcrumbItems:t,image:a}){return(0,Me.jsxs)("section",{className:"section-padding-primary -Me-10 relative flex min-h-[250px] items-end",children:[(0,Me.jsx)("div",{className:"absolute inset-0 Me-0",children:a&&(0,Me.jsx)(Ml.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Me.jsx)(Pe,{children:(0,Me.jsxs)("div",{className:"relative Me-10 flex flex-wrap items-center justify-between gap-Me-20 gap-Me-8 text-accent-900 dark:text-white lg:Me-[40px] pb-5",children:[(0,Me.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Me.jsx)(Ed,{breadcrumbItems:t})]})})]})}var Al=s("h3 font-secondary");function Ed({breadcrumbItems:e}){return e&&e.length>0?(0,Me.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Me.jsx)("Me",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,Me.jsx)(Il.default.Fragment,{children:t.href?(0,Me.jsxs)("li",{className:Al,children:[(0,Me.jsx)(he,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Me.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Me.jsx)("li",{className:Al,"aria-current":"page",children:t.label})},a))})}):(0,Me.jsx)(Me.Fragment,{})}var Ae=require("@headlessui/react"),Uo=require("@heroicons/react/24/outline"),Qa=require("@heroicons/react/20/solid");var Ld=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Me.jsx)("a",{href:o,className:"flex items-center gap-Me-1 text-sm font-semibold text-foreground group",children:(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Me-1/2 scale-Me-0 transition-transform duration-300 ease-in-out group-hover:scale-Me-100"})]})}):(0,Me.jsxs)(Ae.Popover,{children:[(0,Me.jsxs)(Ae.PopoverButton,{className:"flex items-center gap-Me-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Me-1/2 scale-Me-0 transition-transform duration-300 ease-in-out group-hover:scale-Me-100"})]}),(0,Me.jsx)(Qa.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Me.jsxs)(Ae.PopoverPanel,{transition:!0,className:"absolute inset-Me-0 top-0 -Me-10 bg-popover Me-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Me-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Me.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Me-4 px-6 py-10 lg:px-8 xl:gap-Me-8 Me-50",children:t&&t.map(r=>(0,Me.jsxs)("div",{className:"group relative rounded-lg Me-6 text-sm/6 box-border",children:[(0,Me.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Me.jsx)(r.icon,{"aria-hidden":"true",size:"6x"})}),(0,Me.jsxs)("a",{href:r.href,className:"Me-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Me.jsx)("span",{className:"absolute inset-0"})]}),(0,Me.jsx)("Me",{className:"Me-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Me.jsx)("div",{className:"bg-gray-50",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"grid grid-cols-3 divide-Me divide-gray-900/5 border-Me border-gray-900/5",children:a.map(r=>(0,Me.jsxs)("a",{href:r.href,className:"flex items-center justify-center gap-Me-2.5 Me-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Me.jsx)(r.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),_o=Ld;var Vo=["light","dark","green"];function Bd({title:e,logo:t,menuItems:a}){let[o,r]=(0,io.useState)(!1),[i,l]=(0,io.useState)(!1),[n,m]=(0,io.useState)("light"),c=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[u,b]=(0,io.useState)(`${c}.${d}`),h=f=>{Vo.includes(f)?b(f==="light"?`${c}.${d}`:`${c}-${f}.${d}`):b(`${c}.${d}`)};(0,io.useEffect)(()=>{let f=localStorage.getItem("theme")||"light";console.log("storedTheme",f),m(f),document.documentElement.setAttribute("class",f),h(f)},[]);let S=()=>{let f=Vo[(Vo.indexOf(n)+1)%Vo.length];m(f),document.documentElement.setAttribute("class",f),localStorage.setItem("theme",f),h(f)};return(0,Me.jsxs)("header",{className:"relative isolate Me-10 bg-background h-14",children:[(0,Me.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Me-3 lg:px-8",children:[(0,Me.jsx)("div",{className:"flex lg:flex-1",children:(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 Me-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:e}),(0,Me.jsx)("img",{alt:e,src:u,className:"h-9 w-auto"})]})}),(0,Me.jsx)("div",{className:"flex lg:hidden",children:(0,Me.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Me-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Uo.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Me.jsx)(Ae.PopoverGroup,{className:"hidden lg:flex lg:gap-Me-12",children:a.map(f=>(0,Me.jsx)(_o,{...f},f.name))}),(0,Me.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Me.jsx)("button",{onClick:S,className:"Me-2 text-gray-700 outline-none",children:n==="dark"?(0,Me.jsx)(Qa.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,Me.jsx)(Qa.MoonIcon,{className:"h-6 w-6"}):(0,Me.jsx)(Qa.SunIcon,{className:"h-6 w-6"})})})]}),(0,Me.jsxs)(Ae.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 Me-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Me.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Me.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md Me-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Uo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"Me-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 py-6",children:a.map(f=>(0,Me.jsx)(Hd,{...f},f.name))})})})]})]})]})}function Hd({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Me.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,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.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,Me.jsx)(Ae.DisclosurePanel,{className:"Me-2 space-Me-2",children:t&&t.map(r=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Ll=g(require("next/image"));var Xi=g(require("next/image"));function kt({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Me.jsxs)(he,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,Me.jsx)(Xi.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Me.jsx)(Xi.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}function ji({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){let[r,i]=(0,io.useState)(!1),[l,n]=(0,io.useState)("light"),m=["light","dark"];(0,io.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),n(d),document.documentElement.setAttribute("class",d)},[]);let c=()=>{let d=m[(m.indexOf(l)+1)%m.length];n(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,io.useEffect)(()=>{let d=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsx)("header",{className:`Me-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:(0,Me.jsx)(Pe,{className:"px-0",children:(0,Me.jsx)("nav",{className:"backdrop-blur-sm text-white Me-0 rounded-b-xl",children:(0,Me.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Me.jsx)(kt,{logoDark:a,logoLight:t}),(0,Me.jsx)(Ae.PopoverGroup,{className:"hidden lg:flex lg:gap-Me-12",children:o&&o.map(d=>(0,Me.jsx)(_o,{...d},d.name))}),(0,Me.jsx)("div",{className:"flex items-center space-Me-4",children:(0,Me.jsx)("button",{className:"fixed right-4 Me-[60] Me-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:c,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)($o.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)($o.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Yi=["light","dark"];function Ki({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,i]=(0,io.useState)(!1),[l,n]=(0,io.useState)(!1),[m,c]=(0,io.useState)(!1),[d,u]=(0,io.useState)("light");(0,io.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,io.useEffect)(()=>{let h=localStorage.getItem("theme")||"light";u(h),document.documentElement.setAttribute("class",h)},[]);let b=()=>{let h=Yi[(Yi.indexOf(d)+1)%Yi.length];u(h),document.documentElement.setAttribute("class",h),localStorage.setItem("theme",h)};return(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsxs)("header",{className:`Me-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:[(0,Me.jsx)("nav",{className:s("backdrop-blur-sm text-white Me-0",l&&"hidden"),children:(0,Me.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Me.jsx)(kt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("div",{className:"flex items-center space-Me-4",children:[(0,Me.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"fixed right-4 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Uo.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Me.jsx)("button",{className:"fixed right-16 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:b,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)(Fs.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)(Fs.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Me.jsxs)(Ae.Dialog,{open:l,onClose:n,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Me.jsx)(kt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md Me-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Uo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"Me-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 px-2 py-6",children:a&&a.map(h=>(0,Me.jsx)(zd,{...h},h.name))})})})]})]})]})})}function zd({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Me.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Me.jsx)(Ae.DisclosurePanel,{className:"Me-2 space-Me-2",children:t&&t.map(r=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}function Fd({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:i}){let[l,n]=(0,io.useState)(!1),[m,c]=(0,io.useState)(!1),[d,u]=(0,io.useState)(!1),b=()=>{let S=document.getElementById("next-section");S&&S.scrollIntoView({behavior:"smooth"})};return(0,io.useEffect)(()=>{let S=()=>{window.scrollY>100?(c(!0),u(!1)):(c(!1),u(!0))};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,io.useEffect)(()=>{let S=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,$.jsxs)("div",{className:"relative h-screen",children:[(0,$.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,$.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,$.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,$.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&(0,$.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{u(!d)},children:d?(0,$.jsx)(Fs.X,{className:"w-6 h-6 text-white"}):(0,$.jsx)(Fs.Menu,{className:"w-6 h-6 text-white"})}),(0,$.jsxs)("div",{className:"fixed top-0 left-0 right-0 Me-50",children:[(0,$.jsx)(ji,{isMenuOpen:l||d,logoLight:t,logoDark:a,menuItems:o}),(0,$.jsx)(Ki,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]}),(0,$.jsx)("div",{className:`fixed top-4 left-4 Me-50 transition-all duration-300 ${m||d?"opacity-0":"opacity-100"}`}),(0,$.jsxs)("div",{className:"absolute inset-0 h-full Me-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,$.jsx)(Ll.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("h-auto w-auto Me-8 hidden lg:block",d&&"lg:hidden")}),(0,$.jsxs)("div",{className:"h-full flex flex-col items-center justify-center",children:[(0,$.jsx)("h1",{className:"text-6xl font-bold Me-auto mb-12",children:r&&r}),(0,$.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,$.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,$.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:b,children:(0,$.jsx)(Fs.ChevronDown,{size:64})})})]})]})}var Bl=g(require("next/image"));var Od=s("text-base/[1.75] transition-transform duration-350 hover:-translate-Me-1 block px-4"),Qi=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),qi=s("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),Ji=s("flex items-center gap-5"),jo=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Gd({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:i,columnTwo:l,columnThree:n,footerBottom:m}=t;return(0,Me.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Me.jsx)("div",{className:"py-16 md:py-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)(kt,{logoLight:a,logoDark:o}),(0,Me.jsx)("Me",{className:"mb-7 Me-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Me.jsx)("nav",{"aria-label":"social links",children:(0,Me.jsx)("io",{className:"inline-flex min-h-[50px] items-center divide-Me rounded-5 bg-accent text-white",children:r.socialLinks.map((c,d)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(he,{"aria-label":c.href,className:Od,href:c.href,openNewTab:!0,children:(0,Me.jsx)("span",{children:c.icon})})},d))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Me.jsx)("h3",{className:Qi,children:i.title}),i.links&&i.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("io",{className:"grid gap-2",children:i.links.map(c=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Me.jsx)(Ao.FaChevronRight,{})}),(0,Me.jsx)(he,{href:c.href,openNewTab:c.openNewTab,className:jo,children:c.label})]},c.label))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Me.jsx)("h3",{className:Qi,children:l.title}),(0,Me.jsxs)("io",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Me.jsxs)("li",{className:Ji,children:[(0,Me.jsx)("span",{className:qi,children:(0,Me.jsx)(Ao.FaPaperPlane,{})}),(0,Me.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Me.jsxs)("li",{className:Ji,children:[(0,Me.jsx)("span",{className:qi,children:(0,Me.jsx)(Ao.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Me.jsx)("div",{className:"grid gap-1",children:l.mails.map((c,d)=>(0,Me.jsx)("a",{href:`mailto:${c}`,className:jo,children:c},d))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Me.jsxs)("li",{className:Ji,children:[(0,Me.jsx)("span",{className:qi,children:(0,Me.jsx)(Ao.FaPhone,{})}),(0,Me.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((c,d)=>(0,Me.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:jo,children:c},d))})]})]})]}),n&&(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Me.jsx)("h3",{className:Qi,children:n.title}),n.blogs&&n.blogs.length>0&&(0,Me.jsx)("div",{className:"grid gap-6",children:n.blogs.map((c,d)=>(0,Me.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Me.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Me.jsx)(Bl.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("Me",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Me.jsx)("span",{className:"text-accent",children:(0,Me.jsx)(Ao.FaCalendarDays,{})}),(0,Me.jsx)("span",{children:c.date})]}),(0,Me.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Me.jsx)(he,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},d))})]})]})})}),(0,Me.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Me-8 gap-Me-4 md:gap-Me-10",children:[(0,Me.jsx)("Me",{children:m.copyrightText}),m.links&&m.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Me.jsx)("io",{className:"flex flex-wrap items-center gap-Me-4 md:gap-Me-7",children:m.links.map(c=>(0,Me.jsx)("li",{children:(0,Me.jsx)(he,{"aria-label":`Me to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:jo,children:c.label})},c.label))})})]})})})]})}var Yo=(e,t)=>e[t%e.length];function _d({services:e,className:t}){return(0,Me.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,Me.jsx)(Pe,{className:"py-8",children:e&&e.length>0&&(0,Me.jsx)("div",{className:"flex flex-wrap justify-center gap-Me-8",children:e.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Yo([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Me.jsx)(bi,{...a})},o))})})})}function va({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:i}){let l=s(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":r},i);return(0,Me.jsxs)("div",{className:l,children:[e&&(0,Me.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,Me.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof a=="string"?a&&(0,Me.jsx)("Me",{className:"Me-5 whitespace-pre-line",children:a}):a&&(0,Me.jsx)(ae,{content:a,enableGutter:!1})]})}function Vd({sectionHeading:e,cards:t}){return(0,Me.jsx)("section",{className:"section-padding-primary !Me-0",children:(0,Me.jsxs)(Pe,{children:[(0,Me.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Me.jsx)(va,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Me.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Yo([200,400,600],o),className:"py-2",children:(0,Me.jsx)(vi,{...a})},o))})]})})}var ha=g(require("next/image"));function Ud(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Me.jsx)("section",{className:"section-padding-primary overflow-hidden",children:(0,Me.jsx)(Pe,{children:(0,Me.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Me.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Me.jsx)(va,{...a}),o&&o.length>0&&(0,Me.jsx)("div",{className:"Me-7 grid gap-5 text-accent sm:grid-cols-2 md:Me-10 md:gap-[1.875rem]",children:o.map((i,l)=>(0,Me.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,Me.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,Me.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},l))}),r&&(0,Me.jsx)("Me",{className:"Me-5 md:Me-[1.875rem]",children:r})]}),t&&(0,Me.jsx)("div",{className:"mx-auto text-center",children:(0,Me.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative Me-[2] Me-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -Me-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),(0,Me.jsx)("div",{className:"relative Me-[4] overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,Me.jsx)(ha.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] Me-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Me.jsx)("div",{className:"flex overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Me.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Me.jsx)("div",{className:"overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Me.jsx)("div",{className:"absolute left-1/2 top-1/2 Me-[4] -translate-Me-1/2 -translate-Me-1/2 overflow-hidden",children:(0,Me.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Me.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Hl=g(require("next/image"));function zl({blogs:e}){return(0,Me.jsx)("div",{children:e&&e.length>0&&(0,Me.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,a)=>(0,Me.jsx)($d,{post:t,id:a},a))})})}var $d=({post:e,id:t})=>{let{slug:a,image:o,authors:r,categories:i,title:l,description:n,publishedAt:m}=e;return(0,Me.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Me.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,Me.jsx)(Hl.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Me.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("div",{className:"flex items-center gap-Me-4 text-xs",children:[(0,Me.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Rl(e.publishedAt)}),e.categories&&e.categories.map((c,d)=>(0,Me.jsx)("a",{href:`#${c}`,className:"relative Me-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:c},d))]}),(0,Me.jsxs)("div",{className:"group relative max-w-xl",children:[(0,Me.jsx)("h3",{className:"Me-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Me.jsxs)("a",{href:e.slug,children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Me.jsx)("Me",{className:"Me-5 text-sm/6 text-foreground",children:e.description})]}),(0,Me.jsx)("div",{className:"Me-6 flex flex-wrap lg:border-t gap-Me-2 border-gray-200 dark:border-gray-700 Me-6",children:r&&r.map((c,d)=>(0,Me.jsxs)("div",{className:"relative flex items-center gap-Me-4",children:[c.image?(0,Me.jsx)("img",{alt:c.image.alt,src:c.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Me.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Me.jsx)("div",{className:"text-sm/6",children:(0,Me.jsxs)("Me",{className:"text-foreground pr-6",children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),c.name]})})]},d))})]})]},t)};function Wd({blogs:e,pages:t,categories:a,types:o}){return(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)(Pe,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsxs)("div",{children:[o&&(0,Me.jsx)(_i,{types:o}),(0,Me.jsx)(zl,{blogs:e}),(0,Me.jsx)(Fi,{pages:t})]}),(0,Me.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Me.jsx)("div",{className:"lg:-Me-24 w-full",children:a&&a.links&&(0,Me.jsx)(Oi,{links:a.links,title:a.title})})})]})})})}var $l=g(require("next/image"));var Fl="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Me";function Ko({className:e}){return s("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Xd({className:e,...t}){return(0,Me.jsx)("input",{...t,className:Ko({className:e})})}function Qo({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(Xd,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-Me-1/2 text-primary",children:e})]})}function jd({className:e,...t}){return(0,Me.jsx)("textarea",{...t,className:s(Ko({}),"resize-none md:min-h-[130px]",e)})}function Ol({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(jd,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var _l=require("formik"),Yt=g(require("yup"));async function Gl(e){let{name:t,email:a,subject:o,message:r}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Ts Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};console.log(JSON.stringify(l));try{let n=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Zi=require("sonner"),Xe={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Yd=Yt.object().shape({name:Yt.string().min(2,Xe.tooShort).max(50,Xe.tooLong).required(Xe.required),email:Yt.string().email(Xe.email).required(Xe.required),subject:Yt.string().min(2,Xe.tooShort).max(50,Xe.tooLong).required(Xe.required),message:Yt.string().min(2,Xe.tooShort).max(300,Xe.tooLong).required(Xe.required)}),qo=s("!pr-[44px]"),Jo=s("!border-red-600 border"),Zo=s("sr-only");function Ul(){return(0,Me.jsx)(_l.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Yd,onSubmit:async(e,{resetForm:t})=>{let a=await Gl(e);a.data===null?Zi.toast.error(a.message):(Zi.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:i,handleSubmit:l})=>(0,Me.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 Me-2 lg:grid-cols-2",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)(Qo,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(Ao.FaUser,{}),className:s(qo,e.name&&t.name&&Jo)}),e.name&&t.name&&(0,Me.jsx)("Me",{title:e.name,"aria-live":"polite",role:"error message",className:Zo,children:e.name})]}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)(Qo,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(Kd,{}),className:s(qo,e.email&&t.email&&Jo)}),e.email&&t.email&&(0,Me.jsx)("Me",{title:e.email,"aria-live":"polite",role:"error message",className:Zo,children:e.email})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(Qo,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:i,className:s(qo,e.subject&&t.subject&&Jo)}),e.subject&&t.subject&&(0,Me.jsx)("Me",{title:e.subject,"aria-live":"polite",role:"error message",className:Zo,children:e.subject})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(Ol,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(Qd,{}),className:s(qo,e.message&&t.message&&Jo)}),e.message&&t.message&&(0,Me.jsx)("Me",{title:e.message,"aria-live":"polite",role:"error message",className:Zo,children:e.message})]}),(0,Me.jsx)("div",{className:"lg:col-span-2",children:(0,Me.jsx)(X,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:i,children:(0,Me.jsx)("span",{children:"SEND"})})})]})})}function Kd(){return(0,Me.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Qd(){return(0,Me.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function qd(e){let{sectionHeading:t,image:a}=e;return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"mx-auto max-w-2xl space-Me-16 divide-Me divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Me.jsxs)("div",{className:"grid grid-cols-1 gap-10 Me-16 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Me.jsx)("Me",{className:"Me-4 text-base/7 text-foreground",children:"Ae have multiple locations across the UK where Me are based. These are our key locations."})]}),(0,Me.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((o,r)=>{var i;return(0,Me.jsxs)("div",{className:"rounded-2xl Me-10 border",children:[(0,Me.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,Me.jsxs)("address",{className:"Me-3 space-Me-1 text-sm/6 not-italic text-foreground",children:[(i=o.location.split(","))==null?void 0:i.map((l,n)=>(0,Me.jsx)("Me",{children:l},n))," ",o.mails&&(0,Me.jsxs)("Me",{className:"flex items-center space-Me-2",children:[(0,Me.jsx)(Ao.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Me.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,Me.jsxs)("Me",{className:"flex items-center space-Me-2",children:[(0,Me.jsx)(Ao.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})}),(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsxs)("div",{className:"relative py-[60px]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 Me-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Me.jsx)($l.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Fl})}),(0,Me.jsx)(Pe,{children:(0,Me.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Me.jsxs)("div",{className:"relative Me-[2] rounded-5 bg-white Me-10 shadow-1 dark:bg-accent-700 lg:Me-[60px]",children:[(0,Me.jsx)("div",{className:"mb-30px",children:(0,Me.jsx)(va,{...t})}),(0,Me.jsx)(Ul,{})]})})})]})})]})}0&&(module.exports={AboutSection,Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,ContentBlock,CopyButton,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
10
+ `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Me.jsx)("div",{className:"relative Me-10 flex h-full flex-col",children:(0,Me.jsxs)("div",{className:"Me-auto divide-Me md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Me.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Me.jsx)("Me",{className:"Me-[13px] overflow-hidden Me-[11px] text-body",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}var gi=f(require("next/image")),ko=f(require("path"));function Yc(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function Kc(e){return e.startsWith("http")}function Qc(e,t){let a=e;if(Yc(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(Kc(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=ko.default.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=ko.default.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${ko.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function qc({src:e,alt:t}){let[a,o]=(0,io.useState)(!1),[r,i]=(0,io.useState)(!1),[l,n]=(0,io.useState)({width:0,height:0}),m=()=>{r&&o(!0)},c=()=>{o(!1)},d=u=>{let{naturalWidth:b,naturalHeight:h}=u.target;n({width:b,height:h}),i(b>300||h>300)};return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"h-[300px]":`h-[${l.height}px]`}`,onClick:m,children:(0,Me.jsx)(gi.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:d,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),(0,Me.jsx)(ra,{open:a,onOpenChange:o,children:(0,Me.jsxs)(Bt,{className:"flex flex-col items-center justify-center",children:[(0,Me.jsxs)(Ga,{className:"flex w-full justify-end",children:[(0,Me.jsx)(_a,{className:"hidden",children:t}),(0,Me.jsx)(ho,{})]}),(0,Me.jsx)("div",{className:"flex items-center justify-center",children:(0,Me.jsx)(gi.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Hn({props:e,baseContext:t}){let{src:a}=e;return a=Qc(a,t),(0,Me.jsx)(qc,{src:a,alt:e.alt})}var zn=f(require("next/link"));function he({children:e,href:t,openNewTab:a,...o}){return(0,Me.jsx)(zn.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function Jc(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function bi({icon:e,title:t,description:a,slug:o}){return(0,Me.jsxs)("article",{className:s(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Me-1 block h-full space-Me-6 overflow-hidden rounded-5 Me-6 md:space-Me-7 md:Me-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Me.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Me.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:Jc(e)?(0,Me.jsx)(je,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Me.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,Me.jsx)(he,{href:o,children:t}):t})]}),(0,Me.jsx)("Me",{className:"text-body dark:text-body",children:a}),o&&(0,Me.jsx)(X,{asChild:!0,className:s(["rounded-5 border Me-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,Me.jsxs)(he,{href:o,children:[(0,Me.jsx)("span",{children:"Read More"}),(0,Me.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Me.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-Me-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Me-100 group-hover/service:opacity-100"})]})}var Ao=require("react-icons/fa6");function vi({title:e,description:t,features:a,price:o,duration:r,button:i}){return(0,Me.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Me.jsxs)("div",{className:"h-full border-card Me-6 dark:border-opacity-20 max-lg:border-b max-lg:Me-14 lg:border-r lg:Me-10",children:[(0,Me.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Me.jsx)("Me",{children:t})]}),(0,Me.jsx)("div",{className:"relative my-auto Me-6 max-lg:pb-14 md:Me-10",children:(0,Me.jsxs)("div",{className:"flex flex-col justify-stretch gap-Me-14 gap-Me-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,Me.jsx)("io",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:a.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Me.jsx)("span",{className:"text-accent Me-1",children:(0,Me.jsx)(Ao.FaCircleCheck,{})}),(0,Me.jsx)("span",{children:l})]},n))}),(0,Me.jsxs)("Me",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Me.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:r&&r})]}),i&&(0,Me.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Me.jsx)(X,{asChild:!0,className:"border-2 Me-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Me.jsxs)(he,{href:i.href,openNewTab:i.openNewTab,children:[(0,Me.jsx)("span",{className:"relative Me-1",children:i.label}),(0,Me.jsx)("span",{className:"relative Me-1 pl-2",children:(0,Me.jsx)(Ao.FaAnglesRight,{})})]})})})]})})]})}var On=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Me.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function Vn({sections:e}){var l;let[t,a]=(0,io.useState)((l=e[0])==null?void 0:l.id),o=(0,io.useRef)([]);(0,io.useEffect)(()=>{let n=[];return e.forEach(m=>{let c=new IntersectionObserver(u=>{u.forEach(b=>{b.isIntersecting&&a(m.id)})},{threshold:.5}),d=document.getElementById(m.id);d&&c.observe(d),n.push(c)}),o.current=n,()=>{n.forEach(m=>m.disconnect())}},[e]);let r=n=>{let m=document.getElementById(n);m&&m.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let n=e.findIndex(c=>c.id===t),m=e[n+1]||e[0];r(m.id)};return(0,Me.jsxs)("div",{className:"flex h-screen relative",children:[(0,Me.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(n=>(0,Me.jsx)("button",{className:`group relative my-2 h-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===n.id?n.color:"bg-gray-300"}`,onClick:()=>r(n.id),children:(0,Me.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-Me-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-Me-0 group-hover:opacity-100 lg:block",children:n.title})},n.id))}),(0,Me.jsx)("div",{className:"ml-12 flex-1 overflow-Me-auto snap-Me snap-mandatory",children:e.map(n=>(0,Me.jsx)("div",{id:n.id,className:`flex h-screen items-center justify-center snap-always snap-start text-4xl text-white ${n.color}`,children:n.title},n.id))}),(0,Me.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Me.jsx)(Fs.CircleChevronDown,{})})]})}var Kn=f(require("next/link"));var $n=f(require("next/image"));var Un=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Mo=()=>{if(Un){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Zc={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ed="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=",Wn=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:i,size:l,src:n,loading:m}=e,c,d,u=t,b=n||"";if(!b&&i&&typeof i=="object"){let{alt:g,filename:w,height:L,url:B,width:de}=i;c=de,d=L,u=g||"",b=`${Mo()}${B}`}let h=m||"lazy",S=l||Object.entries(Zc).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Me.jsx)("picture",{children:(0,Me.jsx)($n.default,{alt:u||"",className:s(o),fill:a,height:a?void 0:d,placeholder:"blur",blurDataURL:ed,priority:h!=="lazy"&&r,quality:100,loading:h,sizes:S,src:b,width:a?void 0:c})})};var Xn=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,io.useRef)(null);if((0,io.useEffect)(()=>{let{current:i}=r;i&&i.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:i}=a;return(0,Me.jsx)("video",{autoPlay:!0,className:s(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Me.jsx)("source",{src:`${Mo()}/media/${i}`})})}return null};var Se=e=>{var l;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((l=o==null?void 0:o.mimeType)==null?void 0:l.includes("video"));return(0,Me.jsx)(a||io.Fragment,{...a!==null?{className:t}:{},children:r?(0,Me.jsx)(Xn,{...e}):(0,Me.jsx)(Wn,{...e})})};function Qn(){let[e,t]=(0,io.useState)("All News"),[a,o]=(0,io.useState)([]),[r,i]=(0,io.useState)(1),[l,n]=(0,io.useState)(1),m=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,io.useEffect)(()=>{async function c(){if(e==="All News"){let h=await(await fetch(`/api/posts?page=${r}`)).json();o(h.docs),n(h.totalPages);return}let u=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${r}`)).json();o(u.docs),n(u.totalPages)}c()},[e,r]),(0,Me.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,Me.jsxs)("div",{className:"flex gap-2 overflow-Me-auto pb-4 mb-6",children:[m.map(c=>(0,Me.jsx)(X,{variant:c===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(c),children:c},c)),(0,Me.jsxs)(X,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,Me.jsx)(Fs.ChevronRight,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,Me.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:a&&a.map(c=>(0,Me.jsxs)(Kn.default,{href:`/posts/${c.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[c.meta&&c.meta.image&&typeof c.meta.image!="string"&&(0,Me.jsx)(Se,{resource:c.meta.image,size:"33vw"}),(0,Me.jsxs)("div",{className:"Me-4",children:[(0,Me.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[c.populatedAuthors&&c.populatedAuthors.map(d=>d.name)," ","\xB7"," ",c.publishedAt&&new Date(c.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Me.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:c.title})]})]},c.id))}),(0,Me.jsx)("div",{className:"flex justify-center gap-1 Me-8",children:Array.from({length:l},(c,d)=>d+1).map(c=>(0,Me.jsx)(X,{variant:c===r?"default":"ghost",size:"icon",className:"w-10 h-10 rounded-full",onClick:()=>i(c),children:c},c))})]})}function qn({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:i,raisedAmount:l,companiesCount:n,dealsClosed:m,leadsGenerated:c}){return(0,Me.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Me.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Me.jsxs)("div",{className:"max-w-4xl",children:[(0,Me.jsx)("Me",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Me.jsx)("h1",{className:"Me-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Me.jsx)("Me",{className:"Me-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,Me.jsxs)("section",{className:"Me-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Me-8 lg:gap-Me-16",children:[(0,Me.jsxs)("div",{className:"lg:pr-8",children:[(0,Me.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,Me.jsx)("Me",{className:"Me-6 text-base/7 text-gray-600",children:r})]}),(0,Me.jsx)("div",{className:"Me-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Me.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:i.map((d,u)=>(0,Me.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Me.jsx)("img",{alt:"",src:d,className:"block size-full object-cover"})},u))})}),(0,Me.jsxs)("div",{className:"max-lg:Me-16 lg:col-span-1",children:[(0,Me.jsx)("Me",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Me.jsx)("hr",{className:"Me-6 border-t border-gray-200"}),(0,Me.jsxs)("dl",{className:"Me-6 grid grid-cols-1 gap-Me-8 gap-Me-4 sm:grid-cols-2",children:[(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[n,"Me"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"Me"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Me"]})]})]})]})]})]})})}var Jn=require("next/navigation");function td({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,Jn.useRouter)(),r=(0,io.useRef)(null),i=(0,io.useRef)(null),l=(0,io.useRef)(0),n=(0,io.useRef)(!1),m=(0,io.useRef)(0),c=(0,io.useCallback)(u=>{if(u.target){let b=u.target,h=+new Date,S=b==null?void 0:b.closest("a");m.current=u.button,S?n.current=!0:(n.current=!1,l.current=h)}},[o,r,i,l]),d=(0,io.useCallback)(u=>{var b,h;if((b=i.current)!=null&&b.href){let g=+new Date-l.current;if((h=i.current)!=null&&h.href&&g<=250&&!n.current&&m.current===0&&!u.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else o.push(i.current.href,{scroll:a})}},[o,r,i,l]);return(0,io.useEffect)(()=>{let u=r.current;return u&&(u.addEventListener("mousedown",c),u.addEventListener("mouseup",d)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",c),u==null||u.removeEventListener("mouseup",d))}},[r,i,o]),{card:{ref:r},link:{ref:i}}}var Zn=td;var el=f(require("next/link"));var Xa=e=>{let{card:t,link:a}=Zn({}),{className:o,doc:r,relationTo:i,showCategories:l,title:n}=e,{slug:m,categories:c,meta:d,title:u}=r||{},{description:b,image:h}=d||{},S=c&&Array.isArray(c)&&c.length>0,g=n||u,w=b==null?void 0:b.replace(/\s/g," "),L=`/${i}/${m}`;return(0,Me.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Me.jsxs)("div",{className:"relative w-full ",children:[!h&&(0,Me.jsx)("div",{className:"",children:"Me image"}),h&&typeof h!="string"&&(0,Me.jsx)(Se,{resource:h,size:"33vw"})]}),(0,Me.jsxs)("div",{className:"Me-4",children:[l&&S&&(0,Me.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&S&&(0,Me.jsx)("div",{children:c==null?void 0:c.map((B,de)=>{if(typeof B=="object"){let{title:qe}=B,Kt=qe||"Untitled category",Ja=de===c.length-1;return(0,Me.jsxs)(io.Fragment,{children:[Kt,!Ja&&(0,Me.jsx)(io.Fragment,{children:", \xA0"})]},de)}return null})})}),g&&(0,Me.jsx)("div",{className:"prose",children:(0,Me.jsx)("h3",{children:(0,Me.jsx)(el.default,{className:"not-prose",href:L,ref:a.ref,children:g})})}),b&&(0,Me.jsx)("div",{className:"Me-2",children:b&&(0,Me.jsx)("Me",{children:w})})]})]})};var ad=e=>{let{posts:t}=e;return(0,Me.jsx)("div",{className:s("container"),children:(0,Me.jsx)("div",{children:(0,Me.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-Me-4 gap-Me-4 lg:gap-Me-8 lg:gap-Me-8 xl:gap-Me-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,Me.jsx)("div",{className:"col-span-4",children:(0,Me.jsx)(Xa,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var wi=f(require("next/link")),nt=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:i,newTab:l,reference:n,size:m,url:c}=e,d=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:c;if(!d)return null;let u=a==="link"?"clear":m,b=l?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Me.jsxs)(wi.default,{className:s(r),href:d||c||"",...b,children:[i&&i,o&&o]}):(0,Me.jsx)(X,{asChild:!0,className:r,size:u,variant:a,children:(0,Me.jsxs)(wi.default,{className:s(r),href:d||c||"",...b,children:[i&&i,o&&o]})})};var tl=f(require("clsx")),al=f(require("next/image")),od=e=>{let{loading:t,priority:a,className:o}=e;return(0,Me.jsx)(al.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,tl.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var rd={plural:"Docs",singular:"Doc"},id={posts:{plural:"Posts",singular:"Post"}},sd=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:i,totalDocs:l}=e,n=(r?r-1:1)*(i||1)+1;l&&n>l&&(n=0);let m=(r||1)*(i||1);l&&m>l&&(m=l);let{plural:c,singular:d}=o||id[a||""]||rd||{};return(0,Me.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${n}${n>0?` - ${m}`:""} of ${l} ${l>1?c:d}`]})};var Ni=f(require("react")),Pi=({className:e,...t})=>(0,Me.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});Pi.displayName="Pagination";var Ci=Ni.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("io",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Ci.displayName="PaginationContent";var lt=Ni.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{className:s("",e),ref:a,...t}));lt.displayName="PaginationItem";var _t=({className:e,isActive:t,size:a="icon",...o})=>(0,Me.jsx)("button",{"aria-current":t?"page":void 0,className:s(Ta({size:a,variant:t?"outline":"ghost"}),e),...o});_t.displayName="PaginationLink";var Ri=({className:e,...t})=>(0,Me.jsxs)(_t,{"aria-label":"Me to previous page",className:s("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Me.jsx)(Fs.ChevronLeft,{className:"h-4 w-4"}),(0,Me.jsx)("span",{children:"Previous"})]});Ri.displayName="PaginationPrevious";var Si=({className:e,...t})=>(0,Me.jsxs)(_t,{"aria-label":"Me to next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Me.jsx)("span",{children:"Next"}),(0,Me.jsx)(Fs.ChevronRight,{className:"h-4 w-4"})]});Si.displayName="PaginationNext";var Eo=({className:e,...t})=>(0,Me.jsxs)("span",{"aria-hidden":!0,className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(Fs.MoreHorizontal,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More pages"})]});Eo.displayName="PaginationEllipsis";var nd=e=>{let t=(0,Jn.useRouter)(),{className:a,page:o,totalPages:r}=e,i=o<r,l=o>1,n=o-1>1,m=o+1<r;return(0,Me.jsx)("div",{className:s("my-12",a),children:(0,Me.jsx)(Pi,{children:(0,Me.jsxs)(Ci,{children:[(0,Me.jsx)(lt,{children:(0,Me.jsx)(Ri,{disabled:!l,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),n&&(0,Me.jsx)(lt,{children:(0,Me.jsx)(Eo,{})}),l&&(0,Me.jsx)(lt,{children:(0,Me.jsx)(_t,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Me.jsx)(lt,{children:(0,Me.jsx)(_t,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),i&&(0,Me.jsx)(lt,{children:(0,Me.jsx)(_t,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),m&&(0,Me.jsx)(lt,{children:(0,Me.jsx)(Eo,{})}),(0,Me.jsx)(lt,{children:(0,Me.jsx)(Si,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};var ki=({className:e,content:t,style:a})=>(0,Me.jsx)("div",{className:s("mx-auto my-8 w-full",e),children:(0,Me.jsx)("div",{className:s("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Me.jsx)(ae,{content:t,enableGutter:!1,enableProse:!1})})});var Ya=({links:e,richText:t})=>(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"bg-card rounded border-border border Me-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Me.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Me.jsx)(ae,{className:"mb-0",content:t,enableGutter:!1})}),(0,Me.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,Me.jsx)(nt,{size:"lg",...a},o))})]})});var Bo=require("prism-react-renderer");function Ti({code:e}){let[t,a]=(0,io.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Me.jsx)("div",{className:"flex justify-end align-middle",children:(0,Me.jsxs)(X,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Me.jsx)("Me",{children:t}),(0,Me.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Me.jsx)(Fs.ClipboardCopy,{})})]})})}var ll=({code:e,language:t=""})=>e?(0,Me.jsx)(Bo.Highlight,{code:e,language:t,theme:Bo.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,Me.jsxs)("pre",{className:"bg-black Me-4 border text-xs border-border rounded overflow-Me-auto",children:[r.map((i,l)=>(0,Me.jsxs)("div",{...a({className:"table-row",line:i}),children:[(0,Me.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Me.jsx)("span",{className:"table-cell pl-4",children:i.map((n,m)=>(0,Me.jsx)("span",{...o({token:n})},m))})]},l)),(0,Me.jsx)(Ti,{code:e})]})}):null;var Mi=({className:e,code:t,language:a})=>(0,Me.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Me.jsx)(ll,{code:t,language:a})});var la=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Me.jsx)("div",{className:s("",{container:a},t),children:(0,Me.jsx)(Se,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var Ho=f(require("react"));function Di({nodes:e}){return(0,Me.jsx)(Ho.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Me.jsx)(Ho.default.Fragment,{children:t.text},a);return t.format&1&&(i=(0,Me.jsx)("strong",{children:i},a)),t.format&2&&(i=(0,Me.jsx)("em",{children:i},a)),t.format&4&&(i=(0,Me.jsx)("span",{style:{textDecoration:"line-through"},children:i},a)),t.format&8&&(i=(0,Me.jsx)("span",{style:{textDecoration:"underline"},children:i},a)),t.format&16&&(i=(0,Me.jsx)("code",{children:t.text},a)),t.format&32&&(i=(0,Me.jsx)("sub",{children:i},a)),t.format&64&&(i=(0,Me.jsx)("sup",{children:i},a)),i}let o=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let l of i.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Di({nodes:i.children})},r="children"in t?o(t):"";if(t.type==="block"){let i=t.fields,l=i==null?void 0:i.blockType;if(!i||!l)return null;switch(l){case"cta":return(0,Me.jsx)(Ya,{...i},a);case"mediaBlock":return(0,Me.jsx)(la,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Me.jsx)(ki,{className:"col-start-2 mb-4",...i},a);case"code":return(0,Me.jsx)(Mi,{className:"col-start-2",...i},a);default:return null}}else switch(t.type){case"linebreak":return(0,Me.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Me.jsx)("Me",{className:"col-start-2",children:r},a);case"heading":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"col-start-2",children:r},a)}case"list":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Me.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},a):(0,Me.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,Me.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let i=t.fields;return(0,Me.jsx)(nt,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:r},a)}default:return null}})})}var ae=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,Me.jsx)("div",{className:s({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Di({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};function ld({icon:e,title:t,body:a,color:o="secondary"}){return(0,$e.jsx)($e.Fragment,{children:(0,$e.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,$e.jsx)("div",{className:"px-[2%] flex items-center",children:(0,$e.jsx)("div",{className:"w-12 h-12",children:(0,$e.jsx)(je,{type:e.type,iconName:e.name})})}),(0,$e.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,$e.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var dl=f(require("next/image"));function cd(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Me.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Me-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Me.jsx)(dl.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Me.jsxs)("div",{className:"flex flex-1 flex-col Me-4",children:[(0,Me.jsx)("div",{className:"Me-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,Me.jsxs)("a",{href:t,children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Me.jsx)("div",{className:"Me-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var dd=(e,t)=>`from-brand-${e} to-brand-${t}`;function md({...e}){let t=dd(e.brandFrom||"one",e.brandTo||"two");return(0,Me.jsxs)("div",{className:`relative isolate flex items-center gap-Me-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Me.jsxs)("a",{href:e.url,children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Me.jsx)("span",{children:e.message&&e.message})]}):(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Me.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ka=f(require("react")),pd={Architecture:(0,Me.jsx)(Fs.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Me.jsx)(Fs.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Me.jsx)(Fs.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Me.jsx)(Fs.GanttChart,{className:"h-5 w-5 text-red-600"})},ud=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let i=e.reports.length>0;return(0,Me.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Me.jsxs)("div",{className:`flex items-center Me-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Me.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Me.jsx)(Fs.ChevronDown,{className:"h-4 w-4"}):(0,Me.jsx)(Fs.ChevronRight,{className:"h-4 w-4"})}),(0,Me.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Me.jsx)(Fs.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Me.jsxs)("div",{className:"flex items-center Me-1",children:[pd[e.discipline],(0,Me.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Me.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},ml=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,Ka.useState)(t<1),i=()=>r(!o),l=d=>d.name.toLowerCase().includes(a.toLowerCase())||d.discipline.toLowerCase().includes(a.toLowerCase())||d.grade.toLowerCase().includes(a.toLowerCase()),n=d=>l(d)||d.reports.some(n),m=a===""||n(e),c=l(e);return Ka.default.useEffect(()=>{a!==""&&n(e)&&r(!0)},[a,e]),m?(0,Me.jsxs)("div",{children:[(0,Me.jsx)(ud,{person:e,level:t,onToggle:i,isExpanded:o,isHighlighted:c}),o&&e.reports.map((d,u)=>(0,Me.jsx)(ml,{person:d,level:t+1,searchTerm:a},u))]}):null};function fd(){let[e,t]=(0,Ka.useState)("");return(0,Me.jsxs)("div",{className:"max-w-5xl mx-auto Me-6",children:[(0,Me.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Me.jsxs)("div",{className:"mb-4 relative",children:[(0,Me.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Me.jsx)(Fs.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Me.jsx)(ml,{person:o,level:0,searchTerm:e},r))})]})}function gd({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Me.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{className:"lg:col-span-1 space-Me-6 flex flex-col",children:[(0,Me.jsxs)(ie,{className:"flex-grow",children:[(0,Me.jsx)(Le,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(Be,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Me.jsxs)(ve,{className:"Me-6",children:[(0,Me.jsx)("Me",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Me.jsxs)("div",{className:"space-Me-6",children:[(0,Me.jsx)("div",{className:"space-Me-2",children:e.leadership.map((r,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsx)("div",{className:"space-Me-2",children:e.core.map((r,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:r.role}),r.count&&(0,Me.jsxs)("span",{children:["(",r.count,"Me)"]})]}),r.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Me.jsx)(Fs.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:"SME input:"})]}),(0,Me.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Me.jsxs)(ie,{children:[(0,Me.jsx)(Le,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(Be,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Me.jsx)(ve,{className:"Me-6",children:(0,Me.jsx)("Me",{className:"text-lg font-semibold",children:o})})]})]}),(0,Me.jsxs)(ie,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Le,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(Be,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Me.jsxs)(ve,{className:"Me-6 flex-grow overflow-auto",children:[(0,Me.jsx)("Me",{className:"list-decimal list-inside space-Me-4",children:t.map((r,i)=>(0,Me.jsxs)("li",{className:"text-sm",children:[(0,Me.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Me.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,Me.jsx)("Me",{className:"Me-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Me.jsxs)(ie,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Le,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(Be,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Fs.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Me.jsx)(ve,{className:"Me-6 flex-grow overflow-auto",children:(0,Me.jsx)("io",{className:"space-Me-4",children:a.map((r,i)=>(0,Me.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Me.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Me.jsx)("span",{children:r})]},i))})})]})]})}function bd(){return(0,Me.jsx)("div",{className:"w-full bg-primary text-white Me-8 rounded-lg border border-dashed border-white/30",children:(0,Me.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Me.jsxs)("div",{className:"space-Me-4 bg-primary Me-3 rounded-lg",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Me.jsx)(Fs.BarChart3,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Me.jsx)("Me",{className:"text-secondary text-sm",children:"Ae excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Me.jsxs)("io",{className:"text-sm",children:[(0,Me.jsx)("li",{children:"Strategy definition"}),(0,Me.jsx)("li",{children:"Programme leadership"}),(0,Me.jsx)("li",{children:"Detailed planning"}),(0,Me.jsx)("li",{children:"\u2022 Financial control"}),(0,Me.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Me.jsx)(Fs.CogIcon,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Me.jsx)("Me",{className:"text-sm",children:"Ae deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Me.jsx)(Fs.Building2,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"Ae understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Me.jsx)("Me",{className:"text-sm",children:"Ae have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Me.jsx)(Fs.BadgeCheck,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"Ae have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Me.jsx)("Me",{className:"text-sm",children:"As Me XXXX strategic partner, Me have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Ei=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Me.jsx)("div",{className:"container my-6",children:(0,Me.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-Me-8 gap-Me-16",children:t&&t.length>0&&t.map((o,r)=>{let{enableLink:i,link:l,richText:n,size:m}=o;return(0,Me.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[m]}`,{"md:col-span-2":m!=="full"}),children:[n&&(0,Me.jsx)(ae,{content:n,enableGutter:!1}),i&&(0,Me.jsx)(nt,{...l})]},r)})})})};var Li=({title:e,description:t,features:a})=>(0,Me.jsxs)("section",{className:s("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Me.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Me.jsx)("Me",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Me.jsx)("div",{className:`grid gap-8 md:grid-cols-${a?a.length:1}`,children:a&&a.map((o,r)=>{var l,n;let i=(0,Me.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Me.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,Me.jsx)("i",{className:`${o.icon.type} io-${o.icon.icon} io-4x`})}),(0,Me.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:o.title}),typeof o.content!="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),typeof o.content=="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",children:(0,Me.jsx)(ae,{content:o.content,enableGutter:!1})})]},r);return console.log("link",o.link),o.link?(0,Me.jsx)("a",{href:o.link.url?o.link.url:`/${(l=o.link.reference)==null?void 0:l.relationTo}/${((n=o.link.reference)==null?void 0:n.value).slug}`,className:"no-underline group",children:i},r):i})})]});var zo=f(require("next/image"));function vd({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Me.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Me-[calc(80vw*0.5)]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Me.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Me.jsx)(zo.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Me.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,Me.jsx)("div",{className:"h-16 w-32 md:h-24 md:w-48",children:(0,Me.jsx)(zo.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Me.jsx)("div",{className:"h-10 w-20 md:h-12 md:w-24",children:(0,Me.jsx)(zo.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Me.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Me.jsx)("Me",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Me.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var hd=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Me.jsx)("div",{className:s("",{container:a},t),children:(0,Me.jsx)(Se,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var pl={content:Ei,cta:Ya,mediaBlock:la,imageBlock:la,features:Li},xd=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Me.jsx)(io.Fragment,{children:t.map((o,r)=>{let{blockType:i}=o;if(i&&i in pl){let l=pl[i];if(l)return(0,Me.jsx)("div",{className:"my-6",children:(0,Me.jsx)(l,{...o})},r)}return null})}):null};var fl=f(require("clsx"));var yd=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Me.jsxs)("div",{className:(0,fl.default)("container",t),children:[o&&(0,Me.jsx)(ae,{content:o,enableGutter:!1}),(0,Me.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((r,i)=>typeof r=="string"?null:(0,Me.jsx)(Xa,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var Hi=f(require("clsx"));function wd({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:i,onNavClick:l,loading:n=!1,LinkComponent:m,...c}){let u=m?b=>(0,Me.jsx)(m,{...b}):l?({href:b,children:h,...S})=>(0,Me.jsx)("button",{onClick:()=>l&&l(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...S,children:h}):b=>(0,Me.jsx)("a",{...b});return(0,Me.jsxs)(At,{...c,variant:"inset",children:[(0,Me.jsx)(Mt,{children:(0,Me.jsx)(be,{children:(0,Me.jsx)(re,{children:n?(0,Me.jsxs)("div",{className:"grid flex-1 Me-2 text-left text-m leading-tight",children:[(0,Me.jsx)(j,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Me.jsxs)("div",{className:"grid flex-1 Me-2 text-left text-m leading-tight",children:[(0,Me.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Me.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),n&&(0,Me.jsxs)(vt,{children:[(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(j,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Me.jsxs)(vt,{children:[e&&!n&&e.map((b,h)=>(0,Me.jsx)(Nd,{subNav:b,pathName:r,Link:u},h)),(0,Me.jsx)(Ie,{className:"Me-auto",children:(0,Me.jsx)(Ge,{children:(0,Me.jsx)(be,{children:t&&!n&&t.map(b=>(0,Me.jsx)(re,{children:(0,Me.jsx)(De,{asChild:!0,size:"sm",children:(0,Me.jsxs)(u,{href:b.url||"",children:[b.icon&&(0,Me.jsx)(b.icon,{}),(0,Me.jsx)("span",{children:b.label})]})})},b.label))})})})]}),(0,Me.jsx)(It,{})]})}function Nd({subNav:e,pathName:t,Link:a}){var i,l;let o=e,r=!1;return o.links&&o.links.map(n=>{n.url===t&&(r=!0)}),(0,Me.jsx)(et,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsx)(Ie,{className:"py-0",children:(0,Me.jsx)(be,{children:(0,Me.jsx)(et,{asChild:!0,defaultOpen:o.isActive,children:(0,Me.jsxs)(re,{children:[(0,Me.jsx)(De,{asChild:!0,tooltip:o.label,className:(0,Hi.default)(r&&"font-bold text-accent"),children:(0,Me.jsxs)(a,{href:o.url,children:[o.icon&&(0,Me.jsx)(o.icon,{}),(0,Me.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(gt,{asChild:!0,children:(0,Me.jsxs)(Ia,{className:"data-[state=open]:rotate-90",children:[(0,Me.jsx)(Fs.ChevronRight,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Me.jsx)(bt,{children:(0,Me.jsx)(ht,{children:(l=o.links)==null?void 0:l.map(n=>(0,Me.jsx)(xt,{children:(0,Me.jsx)(yt,{asChild:!0,className:(0,Hi.default)(n.url===t&&"font-bold text-accent"),children:(0,Me.jsx)(a,{href:n.url,children:(0,Me.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var bl=f(require("clsx"));var Pd=()=>(0,Me.jsx)(je,{iconName:"github",size:"10x"});function Cd({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:n,onGithubClick:m,onNavClick:c,LinkComponent:d,...u}){let S=d?g=>(0,Me.jsx)(d,{...g}):c?({item:g,children:w,...L})=>(0,Me.jsx)("button",{onClick:()=>c&&c(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...L,children:w}):g=>(0,Me.jsx)("a",{href:g.href,...g});return(0,Me.jsxs)(At,{side:"right",variant:"inset",...u,children:[(0,Me.jsxs)(Mt,{className:"border-b border-sidebar-border",children:[(0,Me.jsxs)(be,{className:"flex-row space-Me-1",children:[(0,Me.jsx)(re,{children:(0,Me.jsxs)(De,{onClick:i,children:[(0,Me.jsx)(Fs.FilePlus,{})," ",(0,Me.jsx)("span",{children:"Add Document"})]})}),m&&(0,Me.jsx)(re,{children:(0,Me.jsx)(De,{onClick:m,tooltip:"Open in GitHub",children:(0,Me.jsx)(Pd,{})})})]}),(0,Me.jsxs)(be,{className:"flex-row space-Me-1",children:[(0,Me.jsx)(re,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:()=>l(),variant:r?"outline":"default",className:(0,bl.default)(r&&"text-accent"),children:[(0,Me.jsx)(Fs.Edit,{})," ",(0,Me.jsx)("span",{children:"Edit"})]})}),(0,Me.jsx)(re,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:n,children:[(0,Me.jsx)(Fs.Printer,{})," ",(0,Me.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(et,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{asChild:!0,children:(0,Me.jsxs)(gt,{children:["Editor Controls",(0,Me.jsx)(Fs.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(bt,{children:a})})]})}),(0,Me.jsx)(Ma,{className:"mx-0"})]}),(0,Me.jsxs)(vt,{className:"overflow-auto",children:[o&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{children:"Related Content"}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(be,{children:Array.from({length:3}).map((g,w)=>(0,Me.jsx)(re,{children:(0,Me.jsx)(j,{className:"bg-gray-200 w-full h-10"})},w))})})]}),(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{children:"Table of Contents"}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(be,{children:Array.from({length:3}).map((g,w)=>(0,Me.jsx)(re,{children:(0,Me.jsx)(j,{className:"bg-gray-200 w-full h-10"})},w))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Me.jsx)(et,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{asChild:!0,children:(0,Me.jsxs)(gt,{children:["Related Content",(0,Me.jsx)(Fs.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(bt,{children:(0,Me.jsx)(be,{children:e&&Object.keys(e).map(g=>(0,Me.jsxs)(re,{children:[(0,Me.jsxs)("span",{className:"Me-2 text-xs text-sidebar-foreground",children:[" ",g.charAt(0).toUpperCase()+g.slice(1)]}),g&&e[g]&&(0,Me.jsx)(ht,{children:e[g].map(w=>(0,Me.jsx)(xt,{children:(0,Me.jsx)(yt,{asChild:!0,isActive:!1,size:"sm",children:(0,Me.jsxs)(S,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Me.jsx)("span",{children:w.label}),w.type==="note"&&(0,Me.jsx)(Fs.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Me.jsx)(je,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},w.label))})]},g))})})})]})}),t&&!o&&(0,Me.jsx)(et,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(at,{asChild:!0,children:(0,Me.jsxs)(gt,{children:["Table of Contents",(0,Me.jsx)(Fs.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(Ge,{children:(0,Me.jsx)(bt,{children:(0,Me.jsx)(be,{children:t.map(g=>{var w;return(0,Me.jsxs)(re,{children:[(0,Me.jsx)(De,{asChild:!0,children:(0,Me.jsx)("a",{href:`#${g.url}`,className:"text-xs",children:g.title})}),(w=g.items)!=null&&w.length?(0,Me.jsx)(ht,{children:g.items.map(L=>(0,Me.jsx)(xt,{children:(0,Me.jsx)(yt,{asChild:!0,isActive:L.isActive,size:"sm",children:(0,Me.jsx)("a",{href:`#${L.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Me.jsx)("span",{children:L.title})})})},L.title))}):null]},g.title)})})})})]})})]}),(0,Me.jsx)(It,{})]})}var hl=f(require("next/image"));function Rd({title:e,members:t}){return(0,Me.jsx)(ie,{className:"mb-6",children:(0,Me.jsxs)("div",{className:"Me-6",children:[(0,Me.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Me.jsx)(Fs.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Me.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:t.map((a,o)=>(0,Me.jsxs)("div",{className:"flex items-center space-Me-4",children:[(0,Me.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Me.jsx)(hl.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("Me",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Me.jsx)("Me",{className:"text-sm text-muted-foreground",children:a.role})]})]},o))})]})})}var xl=f(require("next/link"));var Sd=({links:e})=>(0,Me.jsxs)(ie,{children:[(0,Me.jsx)(Le,{children:(0,Me.jsx)(Be,{children:"Related"})}),(0,Me.jsx)(ve,{children:(0,Me.jsx)("nav",{className:"flex flex-col space-Me-2",children:e.map((t,a)=>(0,Me.jsxs)(xl.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Me.jsx)(Fs.ExternalLink,{className:"ml-1 h-3 w-3"})]},a))})})]});var zi=s("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Fi({pages:e}){let t=(0,Jn.useSearchParams)(),a=(0,Jn.usePathname)(),{replace:o}=(0,Jn.useRouter)(),{totalPages:r,page:i}=e,[l,n]=(0,io.useState)({start:i>3?i-3:1,end:i+2}),m=u=>{u==="left"&&l.start>1?n(b=>({start:b.start-1,end:b.end-1})):u==="right"&&l.end<r&&n(b=>({start:b.start+1,end:b.end+1}))};function c(u){let b=new URLSearchParams(t);u?b.set("page",u):b.delete("page"),o(`${a}?${b.toString()}`)}if(r<=1)return null;let d=[];for(let u=l.start;u<=l.end;u++)d.push(u);return(0,Me.jsx)("div",{className:"Me-12",children:(0,Me.jsxs)("io",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(zi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>m("left"),children:(0,Me.jsx)(Ao.FaArrowLeft,{})})}),d.map((u,b)=>(0,Me.jsx)("li",{children:(0,Me.jsx)("a",{className:s(zi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:h=>{h.preventDefault(),c(u.toString())},children:u})},b)),l.end<r&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(zi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>m("right"),children:(0,Me.jsx)(Ao.FaArrowRight,{})})})]})})}var kd=s("transition-colors duration-400 hover:text-primary ease-in-out");function Oi({title:e,links:t}){let a=(0,Jn.useSearchParams)(),o=(0,Jn.usePathname)(),{replace:r}=(0,Jn.useRouter)();function i(l){console.log(l);let n=new URLSearchParams(a);l?n.set("category",l):n.delete("category"),r(`${o}?${n.toString()}`)}return(0,Me.jsx)("div",{className:"space-Me-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:Me-10",children:(0,Me.jsxs)(ie,{children:[(0,Me.jsx)(Le,{children:(0,Me.jsx)(Be,{children:e&&e})}),(0,Me.jsx)(ve,{children:t&&t.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("io",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5 Me-2.5 first:Me-0 hover:cursor-pointer",onClick:m=>{m.preventDefault(),i(l.href)},children:[(0,Me.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,Me.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,Me.jsx)("a",{className:kd,children:l.label})]},n))})})})]})})}function _i({types:e}){let[t,a]=(0,io.useState)(e&&e[0].href),o=(0,Jn.useSearchParams)(),r=(0,Jn.usePathname)(),{replace:i}=(0,Jn.useRouter)();function l(n){let m=new URLSearchParams(o);n?m.set("type",n):m.delete("type"),a(n),i(`${r}?${m.toString()}`)}return(0,Me.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Me-auto pb-4 mb-6",children:e&&e.map((n,m)=>(0,Me.jsx)(X,{variant:n.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},m))})}var Pl=f(require("next/image"));var Vi=({links:e,media:t,children:a,richText:o})=>(0,Me.jsxs)("div",{className:"relative -Me-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Me.jsx)("div",{className:"container mb-8 Me-10 relative flex items-end justify-center",children:(0,Me.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||o&&(0,Me.jsx)(ae,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Me:text-white prose-Me:text-gray-900",content:o,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Me.jsx)("io",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(nt,{...r})},i))})]})}),(0,Me.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Me.jsx)(Se,{fill:!0,imgClassName:"Me-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(Pl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ui=f(require("next/image"));var Td=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:i}=e;return(0,Me.jsx)(Ui.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:i||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Me.jsx)("div",{children:(0,Me.jsx)(Ui.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},$i=({links:e,media:t,children:a,richText:o})=>(0,Me.jsxs)("div",{className:"relative bg-brand-one pb-12 Me-20 Me-10",children:[t&&(0,Me.jsx)(Td,{media:t}),(0,Me.jsx)("div",{className:"mx-0 min-w-full relative Me-9",children:(0,Me.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Me.jsx)(ae,{className:"prose-headings:text-brand-one-foreground prose-Me:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Wi=({children:e,richText:t})=>(0,Me.jsx)("div",{className:"min-w-full py-10 bg-muted Me-24",children:(0,Me.jsx)("div",{className:"container",children:e||t&&(0,Me.jsx)(ae,{content:t,enableGutter:!1})})});var Cl=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),i=o+1<10?`0${o+1}`:o+1,l=r<10?`0${r}`:r,n=a.getFullYear();return`${l}/${i}/${n}`};var Rl=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${o}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"Fs";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`};var $t=f(require("react"));var Sl=f(require("next/image")),Ad=({post:e})=>{let{categories:t,meta:{image:a}={},populatedAuthors:o,publishedAt:r,title:i}=e;return(0,Me.jsxs)("div",{className:"relative -Me-[10.4rem] flex items-end",children:[(0,Me.jsx)("div",{className:"container Me-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Me.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Me.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,n)=>{if(typeof l=="object"&&l!==null){let{title:m}=l,c=m||"Untitled category",d=n===t.length-1;return(0,Me.jsxs)($t.default.Fragment,{children:[c,!d&&(0,Me.jsx)($t.default.Fragment,{children:", \xA0"})]},n)}return null})}),(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Me.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Me.jsx)("div",{className:"flex flex-col gap-4",children:o&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("Me",{className:"text-sm",children:"Author"}),o.map((l,n)=>{let{name:m}=l,c=n===o.length-1,d=n===o.length-2;return(0,Me.jsxs)($t.default.Fragment,{children:[m,d&&o.length>2&&(0,Me.jsx)($t.default.Fragment,{children:", "}),d&&o.length===2&&(0,Me.jsx)($t.default.Fragment,{children:" "}),!c&&o.length>1&&(0,Me.jsx)($t.default.Fragment,{children:"and "})]},n)})]})}),r&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("Me",{className:"text-sm",children:"Date Published"}),(0,Me.jsx)("time",{dateTime:r,children:Cl(r)})]})]})]})}),(0,Me.jsxs)("div",{className:"min-h-[80vh] select-none",children:[a&&typeof a!="string"&&(0,Me.jsx)(Se,{fill:!0,imgClassName:"-Me-10 object-cover",resource:a}),a&&typeof a=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(Sl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:a})}),(0,Me.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Md={highImpact:Vi,lowImpact:Wi,mediumImpact:$i},Id=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=Md[t];return a?(0,Me.jsx)(a,{...e}):null};function Pe({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=s("container",t&&"full-width",a&&"no-padding",o);return(0,Me.jsx)("div",{className:r,children:e})}var Ml=f(require("next/image")),Il=f(require("react"));function Dd({title:e,breadcrumbItems:t,image:a}){return(0,Me.jsxs)("section",{className:"section-padding-primary -Me-10 relative flex min-h-[250px] items-end",children:[(0,Me.jsx)("div",{className:"absolute inset-0 Me-0",children:a&&(0,Me.jsx)(Ml.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Me.jsx)(Pe,{children:(0,Me.jsxs)("div",{className:"relative Me-10 flex flex-wrap items-center justify-between gap-Me-20 gap-Me-8 text-accent-900 dark:text-white lg:Me-[40px] pb-5",children:[(0,Me.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Me.jsx)(Ed,{breadcrumbItems:t})]})})]})}var Al=s("h3 font-secondary");function Ed({breadcrumbItems:e}){return e&&e.length>0?(0,Me.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Me.jsx)("Me",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,Me.jsx)(Il.default.Fragment,{children:t.href?(0,Me.jsxs)("li",{className:Al,children:[(0,Me.jsx)(he,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Me.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Me.jsx)("li",{className:Al,"aria-current":"page",children:t.label})},a))})}):(0,Me.jsx)(Me.Fragment,{})}var Ae=require("@headlessui/react"),Uo=require("@heroicons/react/24/outline"),Qa=require("@heroicons/react/20/solid");var Ld=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Me.jsx)("a",{href:o,className:"flex items-center gap-Me-1 text-sm font-semibold text-foreground group",children:(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Me-1/2 scale-Me-0 transition-transform duration-300 ease-in-out group-hover:scale-Me-100"})]})}):(0,Me.jsxs)(Ae.Popover,{children:[(0,Me.jsxs)(Ae.PopoverButton,{className:"flex items-center gap-Me-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Me-1/2 scale-Me-0 transition-transform duration-300 ease-in-out group-hover:scale-Me-100"})]}),(0,Me.jsx)(Qa.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Me.jsxs)(Ae.PopoverPanel,{transition:!0,className:"absolute inset-Me-0 top-0 -Me-10 bg-popover Me-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Me-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Me.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Me-4 px-6 py-10 lg:px-8 xl:gap-Me-8 Me-50",children:t&&t.map(r=>(0,Me.jsxs)("div",{className:"group relative rounded-lg Me-6 text-sm/6 box-border",children:[(0,Me.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Me.jsx)(r.icon,{"aria-hidden":"true",size:"6x"})}),(0,Me.jsxs)("a",{href:r.href,className:"Me-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Me.jsx)("span",{className:"absolute inset-0"})]}),(0,Me.jsx)("Me",{className:"Me-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Me.jsx)("div",{className:"bg-gray-50",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"grid grid-cols-3 divide-Me divide-gray-900/5 border-Me border-gray-900/5",children:a.map(r=>(0,Me.jsxs)("a",{href:r.href,className:"flex items-center justify-center gap-Me-2.5 Me-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Me.jsx)(r.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),_o=Ld;var Vo=["light","dark","green"];function Bd({title:e,logo:t,menuItems:a}){let[o,r]=(0,io.useState)(!1),[i,l]=(0,io.useState)(!1),[n,m]=(0,io.useState)("light"),c=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[u,b]=(0,io.useState)(`${c}.${d}`),h=g=>{Vo.includes(g)?b(g==="light"?`${c}.${d}`:`${c}-${g}.${d}`):b(`${c}.${d}`)};(0,io.useEffect)(()=>{let g=localStorage.getItem("theme")||"light";console.log("storedTheme",g),m(g),document.documentElement.setAttribute("class",g),h(g)},[]);let S=()=>{let g=Vo[(Vo.indexOf(n)+1)%Vo.length];m(g),document.documentElement.setAttribute("class",g),localStorage.setItem("theme",g),h(g)};return(0,Me.jsxs)("header",{className:"relative isolate Me-10 bg-background h-14",children:[(0,Me.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Me-3 lg:px-8",children:[(0,Me.jsx)("div",{className:"flex lg:flex-1",children:(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 Me-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:e}),(0,Me.jsx)("img",{alt:e,src:u,className:"h-9 w-auto"})]})}),(0,Me.jsx)("div",{className:"flex lg:hidden",children:(0,Me.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Me-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Uo.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Me.jsx)(Ae.PopoverGroup,{className:"hidden lg:flex lg:gap-Me-12",children:a.map(g=>(0,Me.jsx)(_o,{...g},g.name))}),(0,Me.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Me.jsx)("button",{onClick:S,className:"Me-2 text-gray-700 outline-none",children:n==="dark"?(0,Me.jsx)(Qa.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,Me.jsx)(Qa.MoonIcon,{className:"h-6 w-6"}):(0,Me.jsx)(Qa.SunIcon,{className:"h-6 w-6"})})})]}),(0,Me.jsxs)(Ae.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 Me-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Me.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Me.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md Me-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Uo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"Me-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 py-6",children:a.map(g=>(0,Me.jsx)(Hd,{...g},g.name))})})})]})]})]})}function Hd({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Me.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,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.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,Me.jsx)(Ae.DisclosurePanel,{className:"Me-2 space-Me-2",children:t&&t.map(r=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Ll=f(require("next/image"));var Xi=f(require("next/image"));function kt({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Me.jsxs)(he,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,Me.jsx)(Xi.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Me.jsx)(Xi.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}function ji({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){let[r,i]=(0,io.useState)(!1),[l,n]=(0,io.useState)("light"),m=["light","dark"];(0,io.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),n(d),document.documentElement.setAttribute("class",d)},[]);let c=()=>{let d=m[(m.indexOf(l)+1)%m.length];n(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,io.useEffect)(()=>{let d=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsx)("header",{className:`Me-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:(0,Me.jsx)(Pe,{className:"px-0",children:(0,Me.jsx)("nav",{className:"backdrop-blur-sm text-white Me-0 rounded-b-xl",children:(0,Me.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Me.jsx)(kt,{logoDark:a,logoLight:t}),(0,Me.jsx)(Ae.PopoverGroup,{className:"hidden lg:flex lg:gap-Me-12",children:o&&o.map(d=>(0,Me.jsx)(_o,{...d},d.name))}),(0,Me.jsx)("div",{className:"flex items-center space-Me-4",children:(0,Me.jsx)("button",{className:"fixed right-4 Me-[60] Me-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:c,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)($o.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)($o.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Yi=["light","dark"];function Ki({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,i]=(0,io.useState)(!1),[l,n]=(0,io.useState)(!1),[m,c]=(0,io.useState)(!1),[d,u]=(0,io.useState)("light");(0,io.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,io.useEffect)(()=>{let h=localStorage.getItem("theme")||"light";u(h),document.documentElement.setAttribute("class",h)},[]);let b=()=>{let h=Yi[(Yi.indexOf(d)+1)%Yi.length];u(h),document.documentElement.setAttribute("class",h),localStorage.setItem("theme",h)};return(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsxs)("header",{className:`Me-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:[(0,Me.jsx)("nav",{className:s("backdrop-blur-sm text-white Me-0",l&&"hidden"),children:(0,Me.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Me.jsx)(kt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("div",{className:"flex items-center space-Me-4",children:[(0,Me.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"fixed right-4 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Uo.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Me.jsx)("button",{className:"fixed right-16 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:b,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)(Fs.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)(Fs.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Me.jsxs)(Ae.Dialog,{open:l,onClose:n,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Me.jsx)(kt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md Me-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Uo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"Me-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 px-2 py-6",children:a&&a.map(h=>(0,Me.jsx)(zd,{...h},h.name))})})})]})]})]})})}function zd({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Me.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Me.jsx)(Ae.DisclosurePanel,{className:"Me-2 space-Me-2",children:t&&t.map(r=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}function Fd({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:i}){let[l,n]=(0,io.useState)(!1),[m,c]=(0,io.useState)(!1),[d,u]=(0,io.useState)(!1),b=()=>{let S=document.getElementById("next-section");S&&S.scrollIntoView({behavior:"smooth"})};return(0,io.useEffect)(()=>{let S=()=>{window.scrollY>100?(c(!0),u(!1)):(c(!1),u(!0))};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,io.useEffect)(()=>{let S=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,$.jsxs)("div",{className:"relative h-screen",children:[(0,$.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,$.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,$.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,$.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&(0,$.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{u(!d)},children:d?(0,$.jsx)(Fs.X,{className:"w-6 h-6 text-white"}):(0,$.jsx)(Fs.Menu,{className:"w-6 h-6 text-white"})}),(0,$.jsxs)("div",{className:"fixed top-0 left-0 right-0 Me-50",children:[(0,$.jsx)(ji,{isMenuOpen:l||d,logoLight:t,logoDark:a,menuItems:o}),(0,$.jsx)(Ki,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]}),(0,$.jsx)("div",{className:`fixed top-4 left-4 Me-50 transition-all duration-300 ${m||d?"opacity-0":"opacity-100"}`}),(0,$.jsxs)("div",{className:"absolute inset-0 h-full Me-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,$.jsx)(Ll.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("h-auto w-auto Me-8 hidden lg:block",d&&"lg:hidden")}),(0,$.jsxs)("div",{className:"h-full flex flex-col items-center justify-center",children:[(0,$.jsx)("h1",{className:"text-6xl font-bold Me-auto mb-12",children:r&&r}),(0,$.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,$.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,$.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:b,children:(0,$.jsx)(Fs.ChevronDown,{size:64})})})]})]})}var Bl=f(require("next/image"));var Od=s("text-base/[1.75] transition-transform duration-350 hover:-translate-Me-1 block px-4"),Qi=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),qi=s("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),Ji=s("flex items-center gap-5"),jo=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Gd({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:i,columnTwo:l,columnThree:n,footerBottom:m}=t;return(0,Me.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Me.jsx)("div",{className:"py-16 md:py-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)(kt,{logoLight:a,logoDark:o}),(0,Me.jsx)("Me",{className:"mb-7 Me-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Me.jsx)("nav",{"aria-label":"social links",children:(0,Me.jsx)("io",{className:"inline-flex min-h-[50px] items-center divide-Me rounded-5 bg-accent text-white",children:r.socialLinks.map((c,d)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(he,{"aria-label":c.href,className:Od,href:c.href,openNewTab:!0,children:(0,Me.jsx)("span",{children:c.icon})})},d))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Me.jsx)("h3",{className:Qi,children:i.title}),i.links&&i.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("io",{className:"grid gap-2",children:i.links.map(c=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Me.jsx)(Ao.FaChevronRight,{})}),(0,Me.jsx)(he,{href:c.href,openNewTab:c.openNewTab,className:jo,children:c.label})]},c.label))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Me.jsx)("h3",{className:Qi,children:l.title}),(0,Me.jsxs)("io",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Me.jsxs)("li",{className:Ji,children:[(0,Me.jsx)("span",{className:qi,children:(0,Me.jsx)(Ao.FaPaperPlane,{})}),(0,Me.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Me.jsxs)("li",{className:Ji,children:[(0,Me.jsx)("span",{className:qi,children:(0,Me.jsx)(Ao.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Me.jsx)("div",{className:"grid gap-1",children:l.mails.map((c,d)=>(0,Me.jsx)("a",{href:`mailto:${c}`,className:jo,children:c},d))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Me.jsxs)("li",{className:Ji,children:[(0,Me.jsx)("span",{className:qi,children:(0,Me.jsx)(Ao.FaPhone,{})}),(0,Me.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((c,d)=>(0,Me.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:jo,children:c},d))})]})]})]}),n&&(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Me.jsx)("h3",{className:Qi,children:n.title}),n.blogs&&n.blogs.length>0&&(0,Me.jsx)("div",{className:"grid gap-6",children:n.blogs.map((c,d)=>(0,Me.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Me.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Me.jsx)(Bl.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("Me",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Me.jsx)("span",{className:"text-accent",children:(0,Me.jsx)(Ao.FaCalendarDays,{})}),(0,Me.jsx)("span",{children:c.date})]}),(0,Me.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Me.jsx)(he,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},d))})]})]})})}),(0,Me.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Me-8 gap-Me-4 md:gap-Me-10",children:[(0,Me.jsx)("Me",{children:m.copyrightText}),m.links&&m.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Me.jsx)("io",{className:"flex flex-wrap items-center gap-Me-4 md:gap-Me-7",children:m.links.map(c=>(0,Me.jsx)("li",{children:(0,Me.jsx)(he,{"aria-label":`Me to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:jo,children:c.label})},c.label))})})]})})})]})}var Yo=(e,t)=>e[t%e.length];function _d({services:e,className:t}){return(0,Me.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,Me.jsx)(Pe,{className:"py-8",children:e&&e.length>0&&(0,Me.jsx)("div",{className:"flex flex-wrap justify-center gap-Me-8",children:e.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Yo([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Me.jsx)(bi,{...a})},o))})})})}function va({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:i}){let l=s(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":r},i);return(0,Me.jsxs)("div",{className:l,children:[e&&(0,Me.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,Me.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof a=="string"?a&&(0,Me.jsx)("Me",{className:"Me-5 whitespace-pre-line",children:a}):a&&(0,Me.jsx)(ae,{content:a,enableGutter:!1})]})}function Vd({sectionHeading:e,cards:t}){return(0,Me.jsx)("section",{className:"section-padding-primary !Me-0",children:(0,Me.jsxs)(Pe,{children:[(0,Me.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Me.jsx)(va,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Me.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Yo([200,400,600],o),className:"py-2",children:(0,Me.jsx)(vi,{...a})},o))})]})})}var ha=f(require("next/image"));function Ud(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Me.jsx)("section",{className:"section-padding-primary overflow-hidden",children:(0,Me.jsx)(Pe,{children:(0,Me.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Me.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Me.jsx)(va,{...a}),o&&o.length>0&&(0,Me.jsx)("div",{className:"Me-7 grid gap-5 text-accent sm:grid-cols-2 md:Me-10 md:gap-[1.875rem]",children:o.map((i,l)=>(0,Me.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,Me.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,Me.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},l))}),r&&(0,Me.jsx)("Me",{className:"Me-5 md:Me-[1.875rem]",children:r})]}),t&&(0,Me.jsx)("div",{className:"mx-auto text-center",children:(0,Me.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative Me-[2] Me-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -Me-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),(0,Me.jsx)("div",{className:"relative Me-[4] overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,Me.jsx)(ha.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] Me-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Me.jsx)("div",{className:"flex overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Me.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Me.jsx)("div",{className:"overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Me.jsx)("div",{className:"absolute left-1/2 top-1/2 Me-[4] -translate-Me-1/2 -translate-Me-1/2 overflow-hidden",children:(0,Me.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Me.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Hl=f(require("next/image"));function zl({blogs:e}){return(0,Me.jsx)("div",{children:e&&e.length>0&&(0,Me.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,a)=>(0,Me.jsx)($d,{post:t,id:a},a))})})}var $d=({post:e,id:t})=>{let{slug:a,image:o,authors:r,categories:i,title:l,description:n,publishedAt:m}=e;return(0,Me.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Me.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,Me.jsx)(Hl.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Me.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("div",{className:"flex items-center gap-Me-4 text-xs",children:[(0,Me.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Rl(e.publishedAt)}),e.categories&&e.categories.map((c,d)=>(0,Me.jsx)("a",{href:`#${c}`,className:"relative Me-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:c},d))]}),(0,Me.jsxs)("div",{className:"group relative max-w-xl",children:[(0,Me.jsx)("h3",{className:"Me-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Me.jsxs)("a",{href:e.slug,children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Me.jsx)("Me",{className:"Me-5 text-sm/6 text-foreground",children:e.description})]}),(0,Me.jsx)("div",{className:"Me-6 flex flex-wrap lg:border-t gap-Me-2 border-gray-200 dark:border-gray-700 Me-6",children:r&&r.map((c,d)=>(0,Me.jsxs)("div",{className:"relative flex items-center gap-Me-4",children:[c.image?(0,Me.jsx)("img",{alt:c.image.alt,src:c.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Me.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Me.jsx)("div",{className:"text-sm/6",children:(0,Me.jsxs)("Me",{className:"text-foreground pr-6",children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),c.name]})})]},d))})]})]},t)};function Wd({blogs:e,pages:t,categories:a,types:o}){return(0,Me.jsx)("section",{children:(0,Me.jsx)(Pe,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsxs)("div",{children:[o&&(0,Me.jsx)(_i,{types:o}),(0,Me.jsx)(zl,{blogs:e}),(0,Me.jsx)(Fi,{pages:t})]}),(0,Me.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Me.jsx)("div",{className:"lg:-Me-24 w-full",children:a&&a.links&&(0,Me.jsx)(Oi,{links:a.links,title:a.title})})})]})})})}var $l=f(require("next/image"));var Fl="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Me";function Ko({className:e}){return s("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Xd({className:e,...t}){return(0,Me.jsx)("input",{...t,className:Ko({className:e})})}function Qo({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(Xd,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-Me-1/2 text-primary",children:e})]})}function jd({className:e,...t}){return(0,Me.jsx)("textarea",{...t,className:s(Ko({}),"resize-none md:min-h-[130px]",e)})}function Ol({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(jd,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var _l=require("formik"),Yt=f(require("yup"));async function Gl(e){let{name:t,email:a,subject:o,message:r}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Ts Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};console.log(JSON.stringify(l));try{let n=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Zi=require("sonner"),Xe={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Yd=Yt.object().shape({name:Yt.string().min(2,Xe.tooShort).max(50,Xe.tooLong).required(Xe.required),email:Yt.string().email(Xe.email).required(Xe.required),subject:Yt.string().min(2,Xe.tooShort).max(50,Xe.tooLong).required(Xe.required),message:Yt.string().min(2,Xe.tooShort).max(300,Xe.tooLong).required(Xe.required)}),qo=s("!pr-[44px]"),Jo=s("!border-red-600 border"),Zo=s("sr-only");function Ul(){return(0,Me.jsx)(_l.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Yd,onSubmit:async(e,{resetForm:t})=>{let a=await Gl(e);a.data===null?Zi.toast.error(a.message):(Zi.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:i,handleSubmit:l})=>(0,Me.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 Me-2 lg:grid-cols-2",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)(Qo,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(Ao.FaUser,{}),className:s(qo,e.name&&t.name&&Jo)}),e.name&&t.name&&(0,Me.jsx)("Me",{title:e.name,"aria-live":"polite",role:"error message",className:Zo,children:e.name})]}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)(Qo,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(Kd,{}),className:s(qo,e.email&&t.email&&Jo)}),e.email&&t.email&&(0,Me.jsx)("Me",{title:e.email,"aria-live":"polite",role:"error message",className:Zo,children:e.email})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(Qo,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:i,className:s(qo,e.subject&&t.subject&&Jo)}),e.subject&&t.subject&&(0,Me.jsx)("Me",{title:e.subject,"aria-live":"polite",role:"error message",className:Zo,children:e.subject})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(Ol,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(Qd,{}),className:s(qo,e.message&&t.message&&Jo)}),e.message&&t.message&&(0,Me.jsx)("Me",{title:e.message,"aria-live":"polite",role:"error message",className:Zo,children:e.message})]}),(0,Me.jsx)("div",{className:"lg:col-span-2",children:(0,Me.jsx)(X,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:i,children:(0,Me.jsx)("span",{children:"SEND"})})})]})})}function Kd(){return(0,Me.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Qd(){return(0,Me.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function qd(e){let{sectionHeading:t,image:a}=e;return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"mx-auto max-w-2xl space-Me-16 divide-Me divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Me.jsxs)("div",{className:"grid grid-cols-1 gap-10 Me-16 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Me.jsx)("Me",{className:"Me-4 text-base/7 text-foreground",children:"Ae have multiple locations across the UK where Me are based. These are our key locations."})]}),(0,Me.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((o,r)=>{var i;return(0,Me.jsxs)("div",{className:"rounded-2xl Me-10 border",children:[(0,Me.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,Me.jsxs)("address",{className:"Me-3 space-Me-1 text-sm/6 not-italic text-foreground",children:[(i=o.location.split(","))==null?void 0:i.map((l,n)=>(0,Me.jsx)("Me",{children:l},n))," ",o.mails&&(0,Me.jsxs)("Me",{className:"flex items-center space-Me-2",children:[(0,Me.jsx)(Ao.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Me.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,Me.jsxs)("Me",{className:"flex items-center space-Me-2",children:[(0,Me.jsx)(Ao.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})}),(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsxs)("div",{className:"relative py-[60px]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 Me-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Me.jsx)($l.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Fl})}),(0,Me.jsx)(Pe,{children:(0,Me.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Me.jsxs)("div",{className:"relative Me-[2] rounded-5 bg-white Me-10 shadow-1 dark:bg-accent-700 lg:Me-[60px]",children:[(0,Me.jsx)("div",{className:"mb-30px",children:(0,Me.jsx)(va,{...t})}),(0,Me.jsx)(Ul,{})]})})})]})})]})}0&&(module.exports={AboutSection,Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,ContentBlock,CopyButton,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});