cortex-react-components 1.12.1 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/{chunk-LKCIMTS6.mjs → chunk-35M3KU5K.mjs} +1 -1
  2. package/dist/{chunk-SPDBC32Z.mjs → chunk-55BPPKDS.mjs} +1 -1
  3. package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
  4. package/dist/{chunk-W3RZEXMT.mjs → chunk-6KP2GMUZ.mjs} +1 -1
  5. package/dist/chunk-AVQWXJLX.mjs +1 -0
  6. package/dist/{chunk-BYXLOV2Z.mjs → chunk-FHRWUBJS.mjs} +1 -1
  7. package/dist/{chunk-VQGKJUW5.mjs → chunk-H2TB2T6H.mjs} +1 -1
  8. package/dist/chunk-H7ODBERR.mjs +1 -0
  9. package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
  10. package/dist/{chunk-VY32UTE2.mjs → chunk-KVLKXXVS.mjs} +1 -1
  11. package/dist/{chunk-5PD7YZ3V.mjs → chunk-MLVUDDTJ.mjs} +1 -1
  12. package/dist/chunk-MMYJQ5QE.mjs +1 -0
  13. package/dist/{chunk-CSUTG7F5.mjs → chunk-N7Z6I6KY.mjs} +1 -1
  14. package/dist/{chunk-3QQFCCOW.mjs → chunk-NKCGKJAC.mjs} +1 -1
  15. package/dist/{chunk-WQF47M5N.mjs → chunk-NSUCU5DU.mjs} +1 -1
  16. package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
  17. package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
  18. package/dist/{chunk-L2V7M5EM.mjs → chunk-Q24IVBS5.mjs} +1 -1
  19. package/dist/{chunk-5TTFPIXL.mjs → chunk-Q3HKMCDA.mjs} +1 -1
  20. package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
  21. package/dist/{chunk-PVOG5PVP.mjs → chunk-QUBJO7F3.mjs} +1 -1
  22. package/dist/{chunk-YPP62UKD.mjs → chunk-RQKTHY3B.mjs} +1 -1
  23. package/dist/{chunk-KDTPVITC.mjs → chunk-UN4YL2CJ.mjs} +1 -1
  24. package/dist/components/Blocks/Banner.mjs +1 -1
  25. package/dist/components/Blocks/CallToAction.mjs +1 -1
  26. package/dist/components/Blocks/Content.mjs +1 -1
  27. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  28. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  29. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  30. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  31. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  32. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  33. package/dist/components/Blocks/index.mjs +1 -1
  34. package/dist/components/Cards/index.d.ts +2 -0
  35. package/dist/components/Cards/index.js +4 -4
  36. package/dist/components/Cards/index.mjs +1 -1
  37. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  38. package/dist/components/HeaderFooter/index.mjs +1 -1
  39. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  40. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  41. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  42. package/dist/components/Heros/PostHero/index.mjs +1 -1
  43. package/dist/components/Heros/RenderHero.mjs +1 -1
  44. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  45. package/dist/components/Heros/index.mjs +1 -1
  46. package/dist/components/Layouts/NewsGrid.mjs +1 -1
  47. package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
  48. package/dist/components/Layouts/index.mjs +1 -1
  49. package/dist/components/Other/index.mjs +1 -1
  50. package/dist/components/Pages/Documentation.mjs +1 -1
  51. package/dist/components/Pages/Documentation.stories.mjs +1 -1
  52. package/dist/components/Pages/IndexPage.mjs +1 -1
  53. package/dist/components/Pages/IndexPage.stories.mjs +1 -1
  54. package/dist/components/Pages/Intranet.mjs +1 -1
  55. package/dist/components/Pages/Intranet.stories.mjs +1 -1
  56. package/dist/components/Pages/LandingPage.mjs +1 -1
  57. package/dist/components/Pages/LandingPage.stories.mjs +1 -1
  58. package/dist/components/Pages/Page.mjs +1 -1
  59. package/dist/components/Pages/Page.stories.mjs +1 -1
  60. package/dist/components/Pages/Website.js +1 -1
  61. package/dist/components/Pages/Website.mjs +1 -1
  62. package/dist/components/Pages/Website.stories.js +198 -198
  63. package/dist/components/Pages/Website.stories.mjs +1 -1
  64. package/dist/components/Payload/Card/index.mjs +1 -1
  65. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  66. package/dist/components/Payload/Media/index.mjs +1 -1
  67. package/dist/components/Payload/RichText/index.mjs +1 -1
  68. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  69. package/dist/components/Payload/index.mjs +1 -1
  70. package/dist/components/index.js +4 -4
  71. package/dist/components/index.mjs +1 -1
  72. package/dist/index.d.ts +1 -0
  73. package/dist/index.js +4 -4
  74. package/dist/index.mjs +1 -1
  75. package/dist/metafile-cjs.json +1 -1
  76. package/dist/metafile-esm.json +1 -1
  77. package/dist/sections/PricingSection.mjs +1 -1
  78. package/dist/sections/PricingSection.stories.mjs +1 -1
  79. package/dist/sections/ServiceSection.mjs +1 -1
  80. package/dist/sections/ServiceSection.stories.mjs +1 -1
  81. package/dist/sections/index.d.ts +2 -0
  82. package/dist/sections/index.js +4 -0
  83. package/dist/sections/index.mjs +1 -0
  84. package/package.json +1 -1
  85. package/dist/chunk-ADICCM6Y.mjs +0 -1
  86. package/dist/chunk-MRAO4LPD.mjs +0 -1
  87. package/dist/chunk-SEFPOIPK.mjs +0 -1
@@ -3,8 +3,8 @@
3
3
  'use client'
4
4
  "use strict";
5
5
 
6
- "use strict";"use client";var Es=Object.create;var To=Object.defineProperty;var Ls=Object.getOwnPropertyDescriptor;var Bs=Object.getOwnPropertyNames;var zs=Object.getPrototypeOf,Hs=Object.prototype.hasOwnProperty;var Fs=(e,t)=>{for(var o in t)To(e,o,{get:t[o],enumerable:!0})},si=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Bs(t))!Hs.call(e,a)&&a!==o&&To(e,a,{get:()=>t[a],enumerable:!(r=Ls(t,a))||r.enumerable});return e};var f=(e,t,o)=>(o=e!=null?Es(zs(e)):{},si(t||!e||!e.__esModule?To(o,"default",{value:e,enumerable:!0}):o,e)),_s=e=>si(To({},"__esModule",{value:!0}),e);var Tc={};Fs(Tc,{Alert:()=>Ra,AlertDescription:()=>Ca,AlertTitle:()=>Pa,Avatar:()=>fo,AvatarFallback:()=>bo,AvatarImage:()=>go,Badge:()=>Qo,BannerBlock:()=>_a,Breadcrumb:()=>Nr,BreadcrumbEllipsis:()=>kr,BreadcrumbItem:()=>Pr,BreadcrumbLink:()=>Cr,BreadcrumbList:()=>Rr,BreadcrumbPage:()=>Sr,BreadcrumbSeparator:()=>Tr,Button:()=>ue,CMSLink:()=>Ue,CallToActionBlock:()=>xo,Card:()=>ho,Checkbox:()=>bn,CodeBlock:()=>Wa,Collapsible:()=>He,CollapsibleContent:()=>Je,CollapsibleTrigger:()=>Ke,CollectionArchive:()=>Xl,Command:()=>Xo,CommandDialog:()=>dn,CommandEmpty:()=>ha,CommandGroup:()=>ya,CommandInput:()=>ba,CommandItem:()=>wa,CommandList:()=>va,CommandSeparator:()=>xa,CommandShortcut:()=>Na,ContentBlock:()=>Xa,CopyButton:()=>Ga,CustomerCard:()=>Mn,Dialog:()=>Ht,DialogClose:()=>Vo,DialogContent:()=>bt,DialogDescription:()=>ga,DialogFooter:()=>fa,DialogHeader:()=>po,DialogOverlay:()=>Uo,DialogPortal:()=>ua,DialogTitle:()=>uo,DialogTrigger:()=>ln,DropdownMenu:()=>hi,DropdownMenuCheckboxItem:()=>Er,DropdownMenuContent:()=>Dr,DropdownMenuGroup:()=>xi,DropdownMenuItem:()=>Ir,DropdownMenuLabel:()=>Br,DropdownMenuPortal:()=>wi,DropdownMenuRadioGroup:()=>Ri,DropdownMenuRadioItem:()=>Lr,DropdownMenuSeparator:()=>zr,DropdownMenuShortcut:()=>Hr,DropdownMenuSub:()=>Ni,DropdownMenuSubContent:()=>Ar,DropdownMenuSubTrigger:()=>Mr,DropdownMenuTrigger:()=>yi,DynamicIcon:()=>st,EventCard:()=>An,FeatureCard:()=>Sn,FeatureGrid:()=>zn,FeaturesBlock:()=>ja,HeaderDesktop:()=>ei,HeadingImage:()=>nc,HighImpactHero:()=>qa,HoverCard:()=>rn,HoverCardContent:()=>pa,HoverCardTrigger:()=>an,Image:()=>Bn,ImageBlock:()=>sc,InfoTile:()=>Jl,Input:()=>qt,Insight:()=>Kl,Label:()=>ma,Logo:()=>jl,LowImpactHero:()=>Ja,MOTD:()=>ec,Media:()=>ge,MediaBlock:()=>Ot,MediumImpactHero:()=>Ka,NewsGrid:()=>$n,OrgChart:()=>rc,PageRange:()=>ql,Pagination:()=>Ql,Popover:()=>Qi,PopoverAnchor:()=>Ji,PopoverContent:()=>ca,PopoverTrigger:()=>Ki,PostHero:()=>vc,ProjectCard:()=>Ln,ProjectTeam:()=>fc,ProposalSummary:()=>ac,RelatedContent:()=>gc,RelatedPosts:()=>cc,RenderBlocks:()=>lc,RenderHero:()=>yc,RichText:()=>q,ScrollArea:()=>sa,ScrollBar:()=>Wo,SectionHero:()=>wc,Select:()=>El,SelectContent:()=>hn,SelectGroup:()=>Ll,SelectItem:()=>xn,SelectLabel:()=>yn,SelectScrollDownButton:()=>ka,SelectScrollUpButton:()=>Ta,SelectSeparator:()=>wn,SelectTrigger:()=>vn,SelectValue:()=>Bl,Separator:()=>Qt,Sheet:()=>Mo,SheetClose:()=>Di,SheetContent:()=>Jt,SheetDescription:()=>Vr,SheetFooter:()=>Or,SheetHeader:()=>Gr,SheetOverlay:()=>Ao,SheetPortal:()=>_r,SheetTitle:()=>Wr,SheetTrigger:()=>Ai,Sidebar:()=>dt,SidebarContent:()=>Ze,SidebarFooter:()=>pt,SidebarGroup:()=>ye,SidebarGroupAction:()=>Qr,SidebarGroupContent:()=>Ce,SidebarGroupLabel:()=>_e,SidebarHeader:()=>mt,SidebarInput:()=>qr,SidebarInset:()=>Yr,SidebarLeft:()=>dc,SidebarMenu:()=>ne,SidebarMenuAction:()=>oo,SidebarMenuBadge:()=>Kr,SidebarMenuButton:()=>xe,SidebarMenuItem:()=>Q,SidebarMenuSkeleton:()=>Jr,SidebarMenuSub:()=>et,SidebarMenuSubButton:()=>ot,SidebarMenuSubItem:()=>tt,SidebarProvider:()=>Xr,SidebarRail:()=>$r,SidebarRight:()=>uc,SidebarSeparator:()=>to,SidebarTrigger:()=>jr,SimpleHeader:()=>Pc,Skeleton:()=>G,TextAndImages:()=>Yn,Textarea:()=>Rn,Toast:()=>io,ToastAction:()=>ta,ToastClose:()=>no,ToastDescription:()=>lo,ToastProvider:()=>Go,ToastTitle:()=>so,ToastViewport:()=>ao,Toaster:()=>Ui,Toggle:()=>ra,ToggleGroup:()=>aa,ToggleGroupItem:()=>ia,Tooltip:()=>Lo,TooltipContent:()=>eo,TooltipProvider:()=>Eo,TooltipTrigger:()=>Bo,VerticalSlider:()=>_n,VideoHeader:()=>Sc,WhyUs:()=>ic,badgeVariants:()=>Sa,buttonVariants:()=>Zt,toggleVariants:()=>co,useIsMobile:()=>Io,useSidebar:()=>Bt,useToast:()=>_o});module.exports=_s(Tc);var Dt=f(require("react")),ko=require("@radix-ui/react-icons"),vi=require("@radix-ui/react-slot");var bi=require("clsx");var wr="-",Gs=e=>{let t=Ws(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let s=l.split(wr);return s[0]===""&&s.length!==1&&s.shift(),di(s,t)||Os(l)},getConflictingClassGroupIds:(l,s)=>{let d=o[l]||[];return s&&r[l]?[...d,...r[l]]:d}}},di=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?di(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(wr);return(l=t.validators.find(({validator:s})=>s(i)))==null?void 0:l.classGroupId},li=/^\[(.+)\]$/,Os=e=>{if(li.test(e)){let t=li.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Ws=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return Us(Object.entries(e.classGroups),o).forEach(([i,l])=>{xr(l,r,i,t)}),r},xr=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:ci(t,a);i.classGroupId=o;return}if(typeof a=="function"){if(Vs(a)){xr(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([i,l])=>{xr(l,ci(t,i),o,r)})})},ci=(e,t)=>{let o=e;return t.split(wr).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},Vs=e=>e.isThemeGetter,Us=(e,t)=>t?e.map(([o,r])=>{let a=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[o,a]}):e,Xs=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(i,l)=>{o.set(i,l),t++,t>e&&(t=0,r=o,o=new Map)};return{get(i){let l=o.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return a(i,l),l},set(i,l){o.has(i)?o.set(i,l):a(i,l)}}},mi="!",js=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],i=t.length,l=s=>{let d=[],c=0,p=0,g;for(let y=0;y<s.length;y++){let A=s[y];if(c===0){if(A===a&&(r||s.slice(y,y+i)===t)){d.push(s.slice(p,y)),p=y+i;continue}if(A==="/"){g=y;continue}}A==="["?c++:A==="]"&&c--}let b=d.length===0?s:s.substring(p),x=b.startsWith(mi),M=x?b.substring(1):b,u=g&&g>p?g-p:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:M,maybePostfixModifierPosition:u}};return o?s=>o({className:s,parseClassName:l}):l},$s=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},Ys=e=>({cache:Xs(e.cacheSize),parseClassName:js(e),...Gs(e)}),qs=/\s+/,Qs=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=[],l=e.trim().split(qs),s="";for(let d=l.length-1;d>=0;d-=1){let c=l[d],{modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:x}=o(c),M=!!x,u=r(M?b.substring(0,x):b);if(!u){if(!M){s=c+(s.length>0?" "+s:s);continue}if(u=r(b),!u){s=c+(s.length>0?" "+s:s);continue}M=!1}let y=$s(p).join(":"),A=g?y+mi:y,D=A+u;if(i.includes(D))continue;i.push(D);let ee=a(u,M);for(let Le=0;Le<ee.length;++Le){let kt=ee[Le];i.push(A+kt)}s=c+(s.length>0?" "+s:s)}return s};function Ks(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=pi(t))&&(r&&(r+=" "),r+=o);return r}var pi=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=pi(e[r]))&&(o&&(o+=" "),o+=t);return o};function Js(e,...t){let o,r,a,i=l;function l(d){let c=t.reduce((p,g)=>g(p),e());return o=Ys(c),r=o.cache.get,a=o.cache.set,i=s,s(d)}function s(d){let c=r(d);if(c)return c;let p=Qs(d,o);return a(d,p),p}return function(){return i(Ks.apply(null,arguments))}}var B=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},ui=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zs=/^\d+\/\d+$/,el=new Set(["px","full","screen"]),tl=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ol=/\d+(%|px|r?em|[sdl]?he([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|he|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,al=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,il=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ze=e=>Mt(e)||el.has(e)||Zs.test(e),qe=e=>At(e,"length",ul),Mt=e=>!!e&&!Number.isNaN(Number(e)),yr=e=>At(e,"number",Mt),$t=e=>!!e&&Number.isInteger(Number(e)),nl=e=>e.endsWith("%")&&Mt(e.slice(0,-1)),w=e=>ui.test(e),Qe=e=>tl.test(e),sl=new Set(["length","size","percentage"]),ll=e=>At(e,sl,fi),cl=e=>At(e,"position",fi),dl=new Set(["image","url"]),ml=e=>At(e,dl,gl),pl=e=>At(e,"",fl),Yt=()=>!0,At=(e,t,o)=>{let r=ui.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},ul=e=>ol.test(e)&&!rl.test(e),fi=()=>!1,fl=e=>al.test(e),gl=e=>il.test(e);var bl=()=>{let e=B("colors"),t=B("spacing"),o=B("blur"),r=B("brightness"),a=B("borderColor"),i=B("borderRadius"),l=B("borderSpacing"),s=B("borderWidth"),d=B("contrast"),c=B("grayscale"),p=B("hueRotate"),g=B("invert"),b=B("gap"),x=B("gradientColorStops"),M=B("gradientColorStopPositions"),u=B("inset"),y=B("margin"),A=B("opacity"),D=B("padding"),ee=B("saturate"),Le=B("scale"),kt=B("sepia"),Po=B("skew"),ti=B("space"),oi=B("translate"),gr=()=>["auto","contain","none"],br=()=>["auto","hidden","clip","visible","scroll"],vr=()=>["auto",w,t],z=()=>[w,t],ri=()=>["",ze,qe],Co=()=>["auto",Mt,w],ai=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],So=()=>["solid","dashed","dotted","double","none"],ii=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],hr=()=>["start","end","center","between","around","evenly","stretch"],jt=()=>["","0",w],ni=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Be=()=>[Mt,w];return{cacheSize:500,separator:":",theme:{colors:[Yt],spacing:[ze,qe],blur:["none","",Qe,w],brightness:Be(),borderColor:[e],borderRadius:["none","","full",Qe,w],borderSpacing:z(),borderWidth:ri(),contrast:Be(),grayscale:jt(),hueRotate:Be(),invert:jt(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[nl,qe],inset:vr(),margin:vr(),opacity:Be(),padding:z(),saturate:Be(),scale:Be(),sepia:jt(),skew:Be(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",w]}],container:["container"],columns:[{columns:[Qe]}],"break-after":[{"break-after":ni()}],"break-before":[{"break-before":ni()}],"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:[...ai(),w]}],overflow:[{overflow:br()}],"overflow-x":[{"overflow-x":br()}],"overflow-y":[{"overflow-y":br()}],overscroll:[{overscroll:gr()}],"overscroll-x":[{"overscroll-x":gr()}],"overscroll-y":[{"overscroll-y":gr()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$t,w]}],basis:[{basis:vr()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",w]}],grow:[{grow:jt()}],shrink:[{shrink:jt()}],order:[{order:["first","last","none",$t,w]}],"grid-cols":[{"grid-cols":[Yt]}],"col-start-end":[{col:["auto",{span:["full",$t,w]},w]}],"col-start":[{"col-start":Co()}],"col-end":[{"col-end":Co()}],"grid-rows":[{"grid-rows":[Yt]}],"row-start-end":[{row:["auto",{span:[$t,w]},w]}],"row-start":[{"row-start":Co()}],"row-end":[{"row-end":Co()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","_i",w]}],"auto-rows":[{"auto-rows":["auto","min","max","_i",w]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...hr()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...hr(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...hr(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],_i:[{_i:[D]}],he:[{he:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],he:[{he:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],he:[{he:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ti]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ti]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",w,t]}],"min-w":[{"min-w":[w,t,"min","max","fit"]}],"max-w":[{"max-w":[w,t,"none","full","min","max","fit","prose",{screen:[Qe]},Qe]}],he:[{he:[w,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-he":[{"min-he":[w,t,"min","max","fit","svh","lvh","dvh"]}],"max-he":[{"max-he":[w,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[w,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Qe,qe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yr]}],"font-family":[{font:[Yt]}],"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",w]}],"line-clamp":[{"line-clamp":["none",Mt,yr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ze,w]}],"list-image":[{"list-image":["none",w]}],"list-style-type":[{list:["none","disc","decimal",w]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...So(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ze,qe]}],"underline-offset":[{"underline-offset":["auto",ze,w]}],"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:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",w]}],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",w]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ai(),cl]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ll]}],"bg-image":[{bg:["none",{"gradient-to":["t","Do","r","br","b","bl","l","tl"]},ml]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],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-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-he":[{"rounded-he":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-Do":[{"rounded-Do":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...So(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:So()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...So()]}],"outline-offset":[{"outline-offset":[ze,w]}],"outline-w":[{outline:[ze,qe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ri()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[ze,qe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Qe,pl]}],"shadow-color":[{shadow:[Yt]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...ii(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ii()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Qe,w]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[ee]}],sepia:[{sepia:[kt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[ee]}],"backdrop-sepia":[{"backdrop-sepia":[kt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",w]}],duration:[{duration:Be()}],ease:[{ease:["linear","in","out","in-out",w]}],delay:[{delay:Be()}],animate:[{animate:["none","spin","ping","pulse","bounce",w]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Le]}],"scale-x":[{"scale-x":[Le]}],"scale-y":[{"scale-y":[Le]}],rotate:[{rotate:[$t,w]}],"translate-x":[{"translate-x":[oi]}],"translate-y":[{"translate-y":[oi]}],"skew-x":[{"skew-x":[Po]}],"skew-y":[{"skew-y":[Po]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",w]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","he-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",w]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-he":[{"scroll-he":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-he":[{"scroll-he":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-_i":[{"scroll-_i":z()}],"scroll-he":[{"scroll-he":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",w]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ze,qe,yr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","_i","he","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],he:["mx","my","ms","he","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","he"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-he","rounded-tl","rounded-Do","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-he"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-Do"],"rounded-r":["rounded-Do","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-he":["scroll-mx","scroll-my","scroll-ms","scroll-he","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-_i","scroll-he","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var gi=Js(bl);function n(...e){return gi((0,bi.clsx)(e))}var he=require("react/jsx-runtime"),Nr=Dt.forwardRef(({...e},t)=>(0,he.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Nr.displayName="Breadcrumb";var Rr=Dt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("ol",{ref:o,className:n("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Rr.displayName="BreadcrumbList";var Pr=Dt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("li",{ref:o,className:n("inline-flex items-center gap-1.5",e),...t}));Pr.displayName="BreadcrumbItem";var Cr=Dt.forwardRef(({asChild:e,className:t,...o},r)=>(0,he.jsx)(e?vi.Slot:"a",{ref:r,className:n("transition-colors hover:text-foreground",t),...o}));Cr.displayName="BreadcrumbLink";var Sr=Dt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:n("font-normal text-foreground",e),...t}));Sr.displayName="BreadcrumbPage";var Tr=({children:e,className:t,...o})=>(0,he.jsx)("li",{role:"presentation","aria-hidden":"true",className:n("[&>svg]:w-3.5 [&>svg]:he-3.5",t),...o,children:e!=null?e:(0,he.jsx)(ko.ChevronRightIcon,{})});Tr.displayName="BreadcrumbSeparator";var kr=({className:e,...t})=>(0,he.jsxs)("span",{role:"presentation","aria-hidden":"true",className:n("flex he-9 w-9 items-center justify-center",e),...t,children:[(0,he.jsx)(ko.DotsHorizontalIcon,{className:"he-4 w-4"}),(0,he.jsx)("span",{className:"sr-only",children:"More"})]});kr.displayName="BreadcrumbElipssis";var It=f(require("@radix-ui/react-collapsible")),He=It.Root,Ke=It.CollapsibleTrigger,Je=It.CollapsibleContent;var Fe=f(require("react")),P=f(require("@radix-ui/react-dropdown-menu"));var hi=P.Root,yi=P.Trigger,xi=P.Group,wi=P.Portal,Ni=P.Sub,Ri=P.RadioGroup,Mr=Fe.forwardRef(({className:e,inset:t,children:o,...r},a)=>(0,he.jsxs)(P.SubTrigger,{ref:a,className:n("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),...r,children:[o,(0,he.jsx)(ko.ChevronRightIcon,{className:"ml-auto"})]}));Mr.displayName=P.SubTrigger.displayName;var Ar=Fe.forwardRef(({className:e,...t},o)=>(0,he.jsx)(P.SubContent,{ref:o,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-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}));Ar.displayName=P.SubContent.displayName;var Dr=Fe.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,he.jsx)(P.Portal,{children:(0,he.jsx)(P.Content,{ref:r,sideOffset:t,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-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),...o})}));Dr.displayName=P.Content.displayName;var Ir=Fe.forwardRef(({className:e,inset:t,...o},r)=>(0,he.jsx)(P.Item,{ref:r,className:n("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),...o}));Ir.displayName=P.Item.displayName;var Er=Fe.forwardRef(({className:e,children:t,checked:o,...r},a)=>(0,he.jsxs)(P.CheckboxItem,{ref:a,className:n("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:o,...r,children:[(0,he.jsx)("span",{className:"absolute left-2 flex he-3.5 w-3.5 items-center justify-center",children:(0,he.jsx)(P.ItemIndicator,{children:(0,he.jsx)(ko.CheckIcon,{className:"he-4 w-4"})})}),t]}));Er.displayName=P.CheckboxItem.displayName;var Lr=Fe.forwardRef(({className:e,children:t,...o},r)=>(0,he.jsxs)(P.RadioItem,{ref:r,className:n("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),...o,children:[(0,he.jsx)("span",{className:"absolute left-2 flex he-3.5 w-3.5 items-center justify-center",children:(0,he.jsx)(P.ItemIndicator,{children:(0,he.jsx)(ko.DotFilledIcon,{className:"he-4 w-4 fill-current"})})}),t]}));Lr.displayName=P.RadioItem.displayName;var Br=Fe.forwardRef(({className:e,inset:t,...o},r)=>(0,he.jsx)(P.Label,{ref:r,className:n("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Br.displayName=P.Label.displayName;var zr=Fe.forwardRef(({className:e,...t},o)=>(0,he.jsx)(P.Separator,{ref:o,className:n("-mx-1 my-1 he-px bg-muted",e),...t}));zr.displayName=P.Separator.displayName;var Hr=({className:e,...t})=>(0,he.jsx)("span",{className:n("ml-auto text-xs tracking-widest opacity-60",e),...t});Hr.displayName="DropdownMenuShortcut";var Pi=f(require("react"));var qt=Pi.forwardRef(({className:e,type:t,...o},r)=>(0,he.jsx)("input",{type:t,className:n("flex he-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:r,...o}));qt.displayName="Input";var Si=f(require("react")),Fr=f(require("@radix-ui/react-separator"));var Qt=Si.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...r},a)=>(0,he.jsx)(Fr.Root,{ref:a,decorative:o,orientation:t,className:n("shrink-0 bg-border",t==="horizontal"?"he-[1px] w-full":"he-full w-[1px]",e),...r}));Qt.displayName=Fr.Root.displayName;var Kt=f(require("react")),_=f(require("@radix-ui/react-dialog")),Mi=require("class-variance-authority");var Mo=_.Root,Ai=_.Trigger,Di=_.Close,_r=_.Portal,Ao=Kt.forwardRef(({className:e,...t},o)=>(0,he.jsx)(_.Overlay,{className:n("fixed inset-0 z-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:o}));Ao.displayName=_.Overlay.displayName;var vl=(0,Mi.cva)("fixed z-50 gap-4 bg-background p-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-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 he-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-y-0 right-0 he-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"}}),Jt=Kt.forwardRef(({side:e="right",className:t,children:o,...r},a)=>(0,he.jsxs)(_r,{children:[(0,he.jsx)(Ao,{}),(0,he.jsxs)(_.Content,{ref:a,className:n(vl({side:e}),t),...r,children:[(0,he.jsxs)(_.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,he.jsx)(ko.Cross2Icon,{className:"he-4 w-4"}),(0,he.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));Jt.displayName=_.Content.displayName;var Gr=({className:e,...t})=>(0,he.jsx)("div",{className:n("flex flex-col space-y-2 text-center sm:text-left",e),...t});Gr.displayName="SheetHeader";var Or=({className:e,...t})=>(0,he.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Or.displayName="SheetFooter";var Wr=Kt.forwardRef(({className:e,...t},o)=>(0,he.jsx)(_.Title,{ref:o,className:n("text-lg font-semibold text-foreground",e),...t}));Wr.displayName=_.Title.displayName;var Vr=Kt.forwardRef(({className:e,...t},o)=>(0,he.jsx)(_.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Vr.displayName=_.Description.displayName;var C=f(require("react")),_i=require("lucide-react");var Do=require("react"),Io=(e=768)=>{let[t,o]=(0,Do.useState)(!1);return(0,Do.useEffect)(()=>{let r=()=>{o(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var Li=f(require("react")),Zt=(0,Mi.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:"he-10 px-4 py-2",icon:"he-10 w-10",lg:"he-11 rounded px-8",sm:"he-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"}}}),ue=Li.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},i)=>(0,he.jsx)(e?vi.Slot:"button",{className:n(Zt({className:t,size:o,variant:r})),ref:i,...a}));ue.displayName="Button";function G({className:e,...t}){return(0,he.jsx)("div",{className:n("animate-pulse rounded-md bg-primary/10",e),...t})}var Hi=f(require("react")),Pe=f(require("@radix-ui/react-tooltip"));var Eo=Pe.Provider,Lo=Pe.Root,Bo=Pe.Trigger,eo=Hi.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,he.jsx)(Pe.Portal,{children:(0,he.jsx)(Pe.Content,{ref:r,sideOffset:t,className:n("z-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),...o})}));eo.displayName=Pe.Content.displayName;var hl="sidebar:state",yl=60*60*24*7,xl="16rem",wl="18rem",Nl="3rem",Rl="b",Gi=C.createContext(null);function Bt(){let e=C.useContext(Gi);if(!e)throw new Error("useSidebar must _i used within a SidebarProvider.");return e}var Xr=C.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:r,style:a,children:i,...l},s)=>{let d=Io(),[c,p]=C.useState(!1),[g,b]=C.useState(e),x=t!=null?t:g,M=C.useCallback(D=>{if(o)return o==null?void 0:o(typeof D=="function"?D(x):D);b(D),document.cookie=`${hl}=${x}; path=/; max-age=${yl}`},[o,x]),u=C.useCallback(()=>d?p(D=>!D):M(D=>!D),[d,M,p]);C.useEffect(()=>{let D=ee=>{ee.key===Rl&&(ee.metaKey||ee.ctrlKey)&&(ee.preventDefault(),u())};return window.addEventListener("keydown",D),()=>window.removeEventListener("keydown",D)},[u]);let y=x?"expanded":"collapsed",A=C.useMemo(()=>({state:y,open:x,setOpen:M,isMobile:d,openMobile:c,setOpenMobile:p,toggleSidebar:u}),[y,x,M,d,c,p,u]);return(0,he.jsx)(Gi.Provider,{value:A,children:(0,he.jsx)(Eo,{delayDuration:0,children:(0,he.jsx)("div",{style:{"--sidebar-width":xl,"--sidebar-width-icon":Nl,...a},className:n("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:s,...l,children:i})})})});Xr.displayName="SidebarProvider";var dt=C.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:r,children:a,...i},l)=>{let{isMobile:s,state:d,openMobile:c,setOpenMobile:p}=Bt();return o==="none"?(0,he.jsx)("div",{className:n("flex he-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l,...i,children:a}):s?(0,he.jsx)(Mo,{open:c,onOpenChange:p,...i,children:(0,he.jsx)(Jt,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":wl},side:e,children:(0,he.jsx)("div",{className:"flex he-full w-full flex-col",children:a})})}):(0,he.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":d,"data-collapsible":d==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,he.jsx)("div",{className:n("duration-200 relative he-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,he.jsx)("div",{className:n("duration-200 fixed top-14 bottom-0 z-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"?"p-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",r),...i,children:(0,he.jsx)("div",{"data-sidebar":"sidebar",className:"flex he-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:a})})]})});dt.displayName="Sidebar";var jr=C.forwardRef(({className:e,onClick:t,...o},r)=>{let{toggleSidebar:a}=Bt();return(0,he.jsxs)(ue,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("he-7 w-7",e),onClick:i=>{t==null||t(i),a()},...o,children:[(0,he.jsx)(_i.PanelLeft,{}),(0,he.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});jr.displayName="SidebarTrigger";var $r=C.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:r}=Bt();return(0,he.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-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-x-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})});$r.displayName="SidebarRail";var Yr=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("main",{ref:o,className:n("flex flex-1 flex-col bg-background overflow-y-auto relative max-he-full","md:peer-data-[variant=inset]:he-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}));Yr.displayName="SidebarInset";var qr=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)(qt,{ref:o,"data-sidebar":"input",className:n("he-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));qr.displayName="SidebarInput";var mt=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,"data-sidebar":"header",className:n("flex flex-col gap-2 p-2",e),...t}));mt.displayName="SidebarHeader";var pt=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,"data-sidebar":"footer",className:n("flex flex-col gap-2 p-2",e),...t}));pt.displayName="SidebarFooter";var to=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)(Qt,{ref:o,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",e),...t}));to.displayName="SidebarSeparator";var Ze=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,"data-sidebar":"content",className:n("flex min-he-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));Ze.displayName="SidebarContent";var ye=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col p-2",e),...t}));ye.displayName="SidebarGroup";var _e=C.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,he.jsx)(t?vi.Slot:"div",{ref:r,"data-sidebar":"group-label",className:n("duration-200 flex he-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]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...o}));_e.displayName="SidebarGroupLabel";var Qr=C.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,he.jsx)(t?vi.Slot:"button",{ref:r,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-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),...o}));Qr.displayName="SidebarGroupAction";var Ce=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,"data-sidebar":"group-content",className:n("w-full text-sm",e),...t}));Ce.displayName="SidebarGroupContent";var ne=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("ul",{ref:o,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",e),...t}));ne.displayName="SidebarMenu";var Q=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:n("group/menu-item relative",e),...t}));Q.displayName="SidebarMenuItem";var Pl=(0,Mi.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-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]:!p-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:"he-8 text-sm",sm:"he-7 text-xs",lg:"he-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),xe=C.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:r="default",tooltip:a,className:i,...l},s)=>{let d=e?vi.Slot:"button",{isMobile:c,state:p}=Bt(),g=(0,he.jsx)(d,{ref:s,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:n(Pl({variant:o,size:r}),i),...l});return a?(typeof a=="string"&&(a={children:a}),(0,he.jsxs)(Lo,{children:[(0,he.jsx)(Bo,{asChild:!0,children:g}),(0,he.jsx)(eo,{side:"right",align:"center",hidden:p!=="collapsed"||c,...a})]})):g});xe.displayName="SidebarMenuButton";var oo=C.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...r},a)=>(0,he.jsx)(t?vi.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-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",o&&"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),...r}));oo.displayName="SidebarMenuAction";var Kr=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:n("absolute right-1 flex he-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}));Kr.displayName="SidebarMenuBadge";var Jr=C.forwardRef(({className:e,showIcon:t=!1,...o},r)=>{let a=C.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,he.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:n("rounded-md he-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,he.jsx)(G,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,he.jsx)(G,{className:"he-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});Jr.displayName="SidebarMenuSkeleton";var et=C.forwardRef(({className:e,...t},o)=>(0,he.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));et.displayName="SidebarMenuSub";var tt=C.forwardRef(({...e},t)=>(0,he.jsx)("li",{ref:t,...e}));tt.displayName="SidebarMenuSubItem";var ot=C.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:r,...a},i)=>(0,he.jsx)(e?vi.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:n("flex he-7 min-w-0 -translate-x-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",r),...a}));ot.displayName="SidebarMenuSubButton";var Fo=f(require("react")),Cl=1,Sl=1e6;var Zr=0;function Tl(){return Zr=(Zr+1)%Number.MAX_SAFE_INTEGER,Zr.toString()}var ea=new Map,Oi=e=>{if(ea.has(e))return;let t=setTimeout(()=>{ea.delete(e),ro({type:"REMOVE_TOAST",toastId:e})},Sl);ea.set(e,t)},kl=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Cl)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?Oi(o):e.toasts.forEach(r=>{Oi(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},zo=[],Ho={toasts:[]};function ro(e){Ho=kl(Ho,e),zo.forEach(t=>{t(Ho)})}function Ml({...e}){let t=Tl(),o=a=>ro({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>ro({type:"DISMISS_TOAST",toastId:t});return ro({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:o}}function _o(){let[e,t]=Fo.useState(Ho);return Fo.useEffect(()=>(zo.push(t),()=>{let o=zo.indexOf(t);o>-1&&zo.splice(o,1)}),[e]),{...e,toast:Ml,dismiss:o=>ro({type:"DISMISS_TOAST",toastId:o})}}var ut=f(require("react")),U=f(require("@radix-ui/react-toast"));var Go=U.Provider,ao=ut.forwardRef(({className:e,...t},o)=>(0,he.jsx)(U.Viewport,{ref:o,className:n("fixed top-0 z-[100] flex max-he-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));ao.displayName=U.Viewport.displayName;var Al=(0,Mi.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] 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"}}),io=ut.forwardRef(({className:e,variant:t,...o},r)=>(0,he.jsx)(U.Root,{ref:r,className:n(Al({variant:t}),e),...o}));io.displayName=U.Root.displayName;var ta=ut.forwardRef(({className:e,...t},o)=>(0,he.jsx)(U.Action,{ref:o,className:n("inline-flex he-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}));ta.displayName=U.Action.displayName;var no=ut.forwardRef(({className:e,...t},o)=>(0,he.jsx)(U.Close,{ref:o,className:n("absolute right-1 top-1 rounded-md p-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,he.jsx)(_i.he,{className:"he-4 w-4"})}));no.displayName=U.Close.displayName;var so=ut.forwardRef(({className:e,...t},o)=>(0,he.jsx)(U.Title,{ref:o,className:n("text-sm font-semibold [&+div]:text-xs",e),...t}));so.displayName=U.Title.displayName;var lo=ut.forwardRef(({className:e,...t},o)=>(0,he.jsx)(U.Description,{ref:o,className:n("text-sm opacity-90",e),...t}));lo.displayName=U.Description.displayName;function Ui(){let{toasts:e}=_o();return(0,he.jsxs)(Go,{children:[e.map(function({id:t,title:o,description:r,action:a,...i}){return(0,he.jsxs)(io,{...i,children:[(0,he.jsxs)("div",{className:"grid gap-1",children:[o&&(0,he.jsx)(so,{children:o}),r&&(0,he.jsx)(lo,{children:r})]}),a,(0,he.jsx)(no,{})]},t)}),(0,he.jsx)(ao,{})]})}var Xi=f(require("react")),oa=f(require("@radix-ui/react-toggle"));var co=(0,Mi.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:"he-9 px-2 min-w-9",sm:"he-8 px-1.5 min-w-8",lg:"he-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),ra=Xi.forwardRef(({className:e,variant:t,size:o,...r},a)=>(0,$i.jsx)(oa.Root,{ref:a,className:n(co({variant:t,size:o,className:e})),...r}));ra.displayName=oa.Root.displayName;var ft=f(require("react")),zt=f(require("@radix-ui/react-toggle-group"));var Yi=ft.createContext({size:"default",variant:"default"}),aa=ft.forwardRef(({className:e,variant:t,size:o,children:r,...a},i)=>(0,he.jsx)(zt.Root,{ref:i,className:n("flex items-center justify-center gap-1",e),...a,children:(0,he.jsx)(Yi.Provider,{value:{variant:t,size:o},children:r})}));aa.displayName=zt.Root.displayName;var ia=ft.forwardRef(({className:e,children:t,variant:o,size:r,...a},i)=>{let l=ft.useContext(Yi);return(0,he.jsx)(zt.Item,{ref:i,className:n(co({variant:l.variant||o,size:l.size||r}),e),...a,children:t})});ia.displayName=zt.Item.displayName;var na=f(require("react")),we=f(require("@radix-ui/react-scroll-area"));var sa=na.forwardRef(({className:e,children:t,...o},r)=>(0,he.jsxs)(we.Root,{ref:r,className:n("relative overflow-hidden",e),...o,children:[(0,he.jsx)(we.Viewport,{className:"he-full w-full rounded-[inherit]",children:t}),(0,he.jsx)(Wo,{}),(0,he.jsx)(we.Corner,{})]}));sa.displayName=we.Root.displayName;var Wo=na.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,he.jsx)(we.ScrollAreaScrollbar,{ref:r,orientation:t,className:n("flex touch-none select-none transition-colors",t==="vertical"&&"he-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"he-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o,children:(0,he.jsx)(we.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Wo.displayName=we.ScrollAreaScrollbar.displayName;var qi=f(require("react")),Se=f(require("@radix-ui/react-popover"));var Qi=Se.Root,Ki=Se.Trigger,Ji=Se.Anchor,ca=qi.forwardRef(({className:e,align:t="center",sideOffset:o=4,...r},a)=>(0,he.jsx)(Se.Portal,{children:(0,he.jsx)(Se.Content,{ref:a,align:t,sideOffset:o,className:n("z-50 w-72 rounded-md border bg-popover p-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),...r})}));ca.displayName=Se.Content.displayName;var Zi=f(require("react")),da=f(require("@radix-ui/react-label"));var Dl=(0,Mi.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ma=Zi.forwardRef(({className:e,...t},o)=>(0,he.jsx)(da.Root,{ref:o,className:n(Dl(),e),...t}));ma.displayName=da.Root.displayName;var on=f(require("react")),gt=f(require("@radix-ui/react-hover-card"));var rn=gt.Root,an=gt.Trigger,pa=on.forwardRef(({className:e,align:t="center",sideOffset:o=4,...r},a)=>(0,he.jsx)(gt.Content,{ref:a,align:t,sideOffset:o,className:n("z-50 w-64 rounded-md border bg-popover p-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),...r}));pa.displayName=gt.Content.displayName;var mo=f(require("react")),O=f(require("@radix-ui/react-dialog"));var Ht=O.Root,ln=O.Trigger,ua=O.Portal,Vo=O.Close,Uo=mo.forwardRef(({className:e,...t},o)=>(0,he.jsx)(O.Overlay,{ref:o,className:n("fixed inset-0 z-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}));Uo.displayName=O.Overlay.displayName;var bt=mo.forwardRef(({className:e,children:t,...o},r)=>(0,he.jsxs)(ua,{children:[(0,he.jsx)(Uo,{}),(0,he.jsxs)(O.Content,{ref:r,className:n("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-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),...o,children:[t,(0,he.jsxs)(O.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,he.jsx)(_i.he,{className:"he-4 w-4"}),(0,he.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));bt.displayName=O.Content.displayName;var po=({className:e,...t})=>(0,he.jsx)("div",{className:n("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});po.displayName="DialogHeader";var fa=({className:e,...t})=>(0,he.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});fa.displayName="DialogFooter";var uo=mo.forwardRef(({className:e,...t},o)=>(0,he.jsx)(O.Title,{ref:o,className:n("text-lg font-semibold leading-none tracking-tight",e),...t}));uo.displayName=O.Title.displayName;var ga=mo.forwardRef(({className:e,...t},o)=>(0,he.jsx)(O.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));ga.displayName=O.Description.displayName;var it=f(require("react")),oe=require("cmdk");var Xo=it.forwardRef(({className:e,...t},o)=>(0,he.jsx)(oe.Command,{ref:o,className:n("flex he-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Xo.displayName=oe.Command.displayName;var dn=({children:e,...t})=>(0,he.jsx)(Ht,{...t,children:(0,he.jsx)(bt,{className:"overflow-hidden p-0",children:(0,he.jsx)(Xo,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:he-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:he-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:he-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),ba=it.forwardRef(({className:e,...t},o)=>(0,he.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,he.jsx)(_i.Search,{className:"mr-2 he-4 w-4 shrink-0 opacity-50"}),(0,he.jsx)(oe.Command.Input,{ref:o,className:n("flex he-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})]}));ba.displayName=oe.Command.Input.displayName;var va=it.forwardRef(({className:e,...t},o)=>(0,he.jsx)(oe.Command.List,{ref:o,className:n("max-he-[300px] overflow-y-auto overflow-x-hidden",e),...t}));va.displayName=oe.Command.List.displayName;var ha=it.forwardRef((e,t)=>(0,he.jsx)(oe.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));ha.displayName=oe.Command.Empty.displayName;var ya=it.forwardRef(({className:e,...t},o)=>(0,he.jsx)(oe.Command.Group,{ref:o,className:n("overflow-hidden p-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}));ya.displayName=oe.Command.Group.displayName;var xa=it.forwardRef(({className:e,...t},o)=>(0,he.jsx)(oe.Command.Separator,{ref:o,className:n("-mx-1 he-px bg-border",e),...t}));xa.displayName=oe.Command.Separator.displayName;var wa=it.forwardRef(({className:e,...t},o)=>(0,he.jsx)(oe.Command.Item,{ref:o,className:n("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}));wa.displayName=oe.Command.Item.displayName;var Na=({className:e,...t})=>(0,he.jsx)("span",{className:n("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});Na.displayName="CommandShortcut";var jo=f(require("react"));var Il=(0,Mi.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-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"}}),Ra=jo.forwardRef(({className:e,variant:t,...o},r)=>(0,$o.jsx)("div",{ref:r,role:"alert",className:n(Il({variant:t}),e),...o}));Ra.displayName="Alert";var Pa=jo.forwardRef(({className:e,...t},o)=>(0,$o.jsx)("h5",{ref:o,className:n("mb-1 font-medium leading-none tracking-tight",e),...t}));Pa.displayName="AlertTitle";var Ca=jo.forwardRef(({className:e,...t},o)=>(0,$o.jsx)("div",{ref:o,className:n("text-sm [&_p]:leading-relaxed",e),...t}));Ca.displayName="AlertDescription";var Yo=f(require("react")),Oe=f(require("@radix-ui/react-avatar"));var fo=Yo.forwardRef(({className:e,...t},o)=>(0,he.jsx)(Oe.Root,{ref:o,className:n("relative flex he-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));fo.displayName=Oe.Root.displayName;var go=Yo.forwardRef(({className:e,...t},o)=>(0,he.jsx)(Oe.Image,{ref:o,className:n("aspect-square he-full w-full",e),...t}));go.displayName=Oe.Image.displayName;var bo=Yo.forwardRef(({className:e,...t},o)=>(0,he.jsx)(Oe.Fallback,{ref:o,className:n("flex he-full w-full items-center justify-center rounded-full bg-muted",e),...t}));bo.displayName=Oe.Fallback.displayName;var Sa=(0,Mi.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 Qo({className:e,variant:t,...o}){return(0,he.jsx)("div",{className:n(Sa({variant:t}),e),...o})}var vo=f(require("@radix-ui/react-checkbox")),gn=f(require("react")),bn=gn.forwardRef(({className:e,...t},o)=>(0,he.jsx)(vo.Root,{className:n("peer he-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:o,...t,children:(0,he.jsx)(vo.Indicator,{className:n("flex items-center justify-center text-current"),children:(0,he.jsx)(_i.Check,{className:"he-4 w-4"})})}));bn.displayName=vo.Root.displayName;var T=f(require("@radix-ui/react-select")),nt=f(require("react")),El=T.Root,Ll=T.Group,Bl=T.Value,vn=nt.forwardRef(({children:e,className:t,...o},r)=>(0,he.jsxs)(T.Trigger,{className:n("flex he-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:r,...o,children:[e,(0,he.jsx)(T.Icon,{asChild:!0,children:(0,he.jsx)(_i.ChevronDown,{className:"he-4 w-4 opacity-50"})})]}));vn.displayName=T.Trigger.displayName;var Ta=nt.forwardRef(({className:e,...t},o)=>(0,he.jsx)(T.ScrollUpButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,he.jsx)(_i.ChevronUp,{className:"he-4 w-4"})}));Ta.displayName=T.ScrollUpButton.displayName;var ka=nt.forwardRef(({className:e,...t},o)=>(0,he.jsx)(T.ScrollDownButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,he.jsx)(_i.ChevronDown,{className:"he-4 w-4"})}));ka.displayName=T.ScrollDownButton.displayName;var hn=nt.forwardRef(({children:e,className:t,position:o="popper",...r},a)=>(0,he.jsx)(T.Portal,{children:(0,he.jsxs)(T.Content,{className:n("relative z-50 max-he-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",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,ref:a,...r,children:[(0,he.jsx)(Ta,{}),(0,he.jsx)(T.Viewport,{className:n("p-1",o==="popper"&&"he-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,he.jsx)(ka,{})]})}));hn.displayName=T.Content.displayName;var yn=nt.forwardRef(({className:e,...t},o)=>(0,he.jsx)(T.Label,{className:n("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));yn.displayName=T.Label.displayName;var xn=nt.forwardRef(({children:e,className:t,...o},r)=>(0,he.jsxs)(T.Item,{className:n("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:r,...o,children:[(0,he.jsx)("span",{className:"absolute left-2 flex he-3.5 w-3.5 items-center justify-center",children:(0,he.jsx)(T.ItemIndicator,{children:(0,he.jsx)(_i.Check,{className:"he-4 w-4"})})}),(0,he.jsx)(T.ItemText,{children:e})]}));xn.displayName=T.Item.displayName;var wn=nt.forwardRef(({className:e,...t},o)=>(0,he.jsx)(T.Separator,{className:n("-mx-1 my-1 he-px bg-muted",e),ref:o,...t}));wn.displayName=T.Separator.displayName;var Nn=f(require("react")),Rn=Nn.forwardRef(({className:e,...t},o)=>(0,he.jsx)("textarea",{className:n("flex min-he-[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:o,...t}));Rn.displayName="Textarea";var st=({type:e="solid",iconName:t="cloud",size:o="lg",className:r})=>{let a="fa-"+e+" ",i="fa-"+t,l=r!=null?r:"",s=a+i+" fa-"+o+" "+l;return(0,he.jsx)("i",{className:s})};var Sn=({title:e,description:t,iconName:o,iconStyle:r,color:a})=>(0,he.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"}[a]} p-6 flex flex-col items-center text-center`,children:[(0,he.jsx)("div",{className:"w-12 he-12 ",children:(0,he.jsx)(st,{type:r,iconName:o,className:"w-12 he-12 text-white"})}),(0,he.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,he.jsx)("p",{className:"text-white text-sm",children:t})]});var Tn=f(require("next/image")),kn=f(require("next/link"));var yt=f(require("react"));var se=yt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,className:n("rounded-xl border bg-card text-card-foreground shadow",e),...t}));se.displayName="Card";var Ae=yt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,className:n("flex flex-col space-y-1.5 p-6",e),...t}));Ae.displayName="CardHeader";var De=yt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,className:n("font-semibold leading-none tracking-tight",e),...t}));De.displayName="CardTitle";var zl=yt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,className:n("text-sm text-muted-foreground",e),...t}));zl.displayName="CardDescription";var Ne=yt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,className:n("p-6 pt-0",e),...t}));Ne.displayName="CardContent";var Hl=yt.forwardRef(({className:e,...t},o)=>(0,he.jsx)("div",{ref:o,className:n("flex items-center p-6 pt-0",e),...t}));Hl.displayName="CardFooter";function Mn({name:e,logo:t,href:o}){return(0,he.jsx)(se,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,he.jsxs)(kn.default,{href:o,className:"block",children:[(0,he.jsx)("div",{className:"bg-white p-2 flex items-center justify-center he-24",children:(0,he.jsx)("div",{className:"relative w-full he-full",children:t&&(0,he.jsx)(Tn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,he.jsx)(Ne,{className:"p-3 flex items-center justify-center he-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,he.jsx)("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function An({eventType:e="birthday",date:t="",title:o="",description:r="",avatarSrc:a}){let i=s=>{switch(s){case"birthday":return(0,$.jsx)(_i.Cake,{className:"he-4 w-4"});case"workAnniversary":return(0,$.jsx)(_i.Award,{className:"he-4 w-4"});case"companyEvent":return(0,$.jsx)(_i.PartyPopper,{className:"he-4 w-4"});default:return(0,$.jsx)(_i.CalendarDays,{className:"he-4 w-4"})}},l=s=>{switch(s){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,$.jsxs)(se,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,$.jsxs)(Ae,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,$.jsxs)(fo,{className:"he-14 w-14 border-2 border-white",children:[(0,$.jsx)(go,{src:a,alt:o||"Event"}),(0,$.jsx)(bo,{className:"bg-white text-gray-900",children:o?o.charAt(0).toUpperCase():"?"})]}),(0,$.jsxs)("div",{className:"flex flex-col",children:[(0,$.jsx)(De,{className:"text-xl",children:o||"Untitled Event"}),(0,$.jsxs)("p",{className:"text-sm text-white/80",children:[(0,$.jsx)(_i.CalendarDays,{className:"mr-1 inline-block he-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,$.jsxs)(Ne,{className:"bg-white bg-opacity-80 p-4",children:[r&&(0,$.jsx)("p",{className:"mb-2 text-sm text-gray-700",children:r}),(0,$.jsxs)(Qo,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,$.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-z])([A-he])/g,"$1 $2").split(" ").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "):"Event"})]})]})]})}var In=f(require("next/link"));var En=f(require("next/image")),Dn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Ln({slug:e,image:t,title:o,description:r}){return(0,he.jsxs)(In.default,{href:e,className:"group/portfolio relative z-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[(0,he.jsx)("span",{className:n("absolute inset-0 z-[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,he.jsx)(En.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
7
- (min-width:${Dn.md}) 50vw,
8
- (min-width:${Dn.lg}) 25vw,
6
+ "use strict";"use client";var zs=Object.create;var Ao=Object.defineProperty;var Hs=Object.getOwnPropertyDescriptor;var Fs=Object.getOwnPropertyNames;var _s=Object.getPrototypeOf,Gs=Object.prototype.hasOwnProperty;var Os=(e,t)=>{for(var o in t)Ao(e,o,{get:t[o],enumerable:!0})},di=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Fs(t))!Gs.call(e,a)&&a!==o&&Ao(e,a,{get:()=>t[a],enumerable:!(r=Hs(t,a))||r.enumerable});return e};var f=(e,t,o)=>(o=e!=null?zs(_s(e)):{},di(t||!e||!e.__esModule?Ao(o,"default",{value:e,enumerable:!0}):o,e)),Vs=e=>di(Ao({},"__esModule",{value:!0}),e);var Ec={};Os(Ec,{Alert:()=>Sa,AlertDescription:()=>ka,AlertTitle:()=>Ta,Avatar:()=>vo,AvatarFallback:()=>yo,AvatarImage:()=>ho,Badge:()=>Zo,BannerBlock:()=>Va,Breadcrumb:()=>Cr,BreadcrumbEllipsis:()=>Dr,BreadcrumbItem:()=>Tr,BreadcrumbLink:()=>kr,BreadcrumbList:()=>Sr,BreadcrumbPage:()=>Mr,BreadcrumbSeparator:()=>Ar,Button:()=>Q,CMSLink:()=>Ye,CallToActionBlock:()=>Ro,Card:()=>wo,Checkbox:()=>yn,CodeBlock:()=>Xa,Collapsible:()=>Ge,CollapsibleContent:()=>ot,CollapsibleTrigger:()=>tt,CollectionArchive:()=>Kl,Command:()=>Yo,CommandDialog:()=>un,CommandEmpty:()=>wa,CommandGroup:()=>Na,CommandInput:()=>ya,CommandItem:()=>Pa,CommandList:()=>xa,CommandSeparator:()=>Ra,CommandShortcut:()=>Ca,ContentBlock:()=>Ya,CopyButton:()=>Wa,CustomerCard:()=>In,Dialog:()=>Gt,DialogClose:()=>jo,DialogContent:()=>yt,DialogDescription:()=>ha,DialogFooter:()=>va,DialogHeader:()=>go,DialogOverlay:()=>$o,DialogPortal:()=>ba,DialogTitle:()=>bo,DialogTrigger:()=>mn,DropdownMenu:()=>wi,DropdownMenuCheckboxItem:()=>zr,DropdownMenuContent:()=>Lr,DropdownMenuGroup:()=>Ri,DropdownMenuItem:()=>Br,DropdownMenuLabel:()=>Fr,DropdownMenuPortal:()=>Pi,DropdownMenuRadioGroup:()=>Si,DropdownMenuRadioItem:()=>Hr,DropdownMenuSeparator:()=>_r,DropdownMenuShortcut:()=>Gr,DropdownMenuSub:()=>Ci,DropdownMenuSubContent:()=>Er,DropdownMenuSubTrigger:()=>Ir,DropdownMenuTrigger:()=>Ni,DynamicIcon:()=>Ie,EventCard:()=>En,FeatureCard:()=>Mn,FeatureGrid:()=>On,FeaturesBlock:()=>qa,HeaderDesktop:()=>ri,HeadingImage:()=>pc,HighImpactHero:()=>Ja,HoverCard:()=>sn,HoverCardContent:()=>ga,HoverCardTrigger:()=>ln,Image:()=>Fn,ImageBlock:()=>uc,InfoTile:()=>ac,Input:()=>Jt,Insight:()=>rc,Label:()=>fa,Logo:()=>Jl,LowImpactHero:()=>ti,MOTD:()=>nc,Media:()=>ve,MediaBlock:()=>Ut,MediumImpactHero:()=>ei,NewsGrid:()=>Jn,OrgChart:()=>cc,PageRange:()=>tc,Pagination:()=>oc,Popover:()=>Zi,PopoverAnchor:()=>tn,PopoverContent:()=>pa,PopoverTrigger:()=>en,PostHero:()=>Rc,PricingCard:()=>$l,ProjectCard:()=>Hn,ProjectTeam:()=>xc,ProposalSummary:()=>dc,RelatedContent:()=>wc,RelatedPosts:()=>gc,RenderBlocks:()=>fc,RenderHero:()=>Cc,RichText:()=>K,ScrollArea:()=>da,ScrollBar:()=>Xo,SectionHero:()=>Tc,Select:()=>zl,SelectContent:()=>wn,SelectGroup:()=>Hl,SelectItem:()=>Rn,SelectLabel:()=>Nn,SelectScrollDownButton:()=>Da,SelectScrollUpButton:()=>Aa,SelectSeparator:()=>Pn,SelectTrigger:()=>xn,SelectValue:()=>Fl,Separator:()=>Zt,ServiceCard:()=>jl,Sheet:()=>Io,SheetClose:()=>Li,SheetContent:()=>to,SheetDescription:()=>jr,SheetFooter:()=>Ur,SheetHeader:()=>Wr,SheetOverlay:()=>Eo,SheetPortal:()=>Vr,SheetTitle:()=>Xr,SheetTrigger:()=>Ei,Sidebar:()=>ut,SidebarContent:()=>rt,SidebarFooter:()=>gt,SidebarGroup:()=>we,SidebarGroupAction:()=>Zr,SidebarGroupContent:()=>Te,SidebarGroupLabel:()=>Ve,SidebarHeader:()=>ft,SidebarInput:()=>Jr,SidebarInset:()=>Kr,SidebarLeft:()=>bc,SidebarMenu:()=>ce,SidebarMenuAction:()=>io,SidebarMenuBadge:()=>ea,SidebarMenuButton:()=>Ne,SidebarMenuItem:()=>J,SidebarMenuSkeleton:()=>ta,SidebarMenuSub:()=>at,SidebarMenuSubButton:()=>nt,SidebarMenuSubItem:()=>it,SidebarProvider:()=>Yr,SidebarRail:()=>Qr,SidebarRight:()=>yc,SidebarSeparator:()=>ao,SidebarTrigger:()=>qr,SimpleHeader:()=>Ac,Skeleton:()=>G,TextAndImages:()=>Zn,Textarea:()=>Sn,Toast:()=>lo,ToastAction:()=>aa,ToastClose:()=>co,ToastDescription:()=>po,ToastProvider:()=>Wo,ToastTitle:()=>mo,ToastViewport:()=>so,Toaster:()=>$i,Toggle:()=>na,ToggleGroup:()=>sa,ToggleGroupItem:()=>la,Tooltip:()=>Ho,TooltipContent:()=>ro,TooltipProvider:()=>zo,TooltipTrigger:()=>Fo,VerticalSlider:()=>Un,VideoHeader:()=>Ic,WhyUs:()=>mc,badgeVariants:()=>Ma,buttonVariants:()=>oo,toggleVariants:()=>uo,useIsMobile:()=>Bo,useSidebar:()=>Ft,useToast:()=>Vo});module.exports=Vs(Ec);var Lt=f(require("react")),Do=require("@radix-ui/react-icons"),xi=require("@radix-ui/react-slot");var yi=require("clsx");var Pr="-",Ws=e=>{let t=Xs(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let s=l.split(Pr);return s[0]===""&&s.length!==1&&s.shift(),ui(s,t)||Us(l)},getConflictingClassGroupIds:(l,s)=>{let d=o[l]||[];return s&&r[l]?[...d,...r[l]]:d}}},ui=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?ui(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(Pr);return(l=t.validators.find(({validator:s})=>s(i)))==null?void 0:l.classGroupId},mi=/^\[(.+)\]$/,Us=e=>{if(mi.test(e)){let t=mi.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Xs=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return $s(Object.entries(e.classGroups),o).forEach(([i,l])=>{Rr(l,r,i,t)}),r},Rr=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:pi(t,a);i.classGroupId=o;return}if(typeof a=="function"){if(js(a)){Rr(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([i,l])=>{Rr(l,pi(t,i),o,r)})})},pi=(e,t)=>{let o=e;return t.split(Pr).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},js=e=>e.isThemeGetter,$s=(e,t)=>t?e.map(([o,r])=>{let a=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[o,a]}):e,Ys=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(i,l)=>{o.set(i,l),t++,t>e&&(t=0,r=o,o=new Map)};return{get(i){let l=o.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return a(i,l),l},set(i,l){o.has(i)?o.set(i,l):a(i,l)}}},fi="!",qs=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],i=t.length,l=s=>{let d=[],c=0,p=0,g;for(let y=0;y<s.length;y++){let A=s[y];if(c===0){if(A===a&&(r||s.slice(y,y+i)===t)){d.push(s.slice(p,y)),p=y+i;continue}if(A==="/"){g=y;continue}}A==="["?c++:A==="]"&&c--}let b=d.length===0?s:s.substring(p),x=b.startsWith(fi),M=x?b.substring(1):b,u=g&&g>p?g-p:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:M,maybePostfixModifierPosition:u}};return o?s=>o({className:s,parseClassName:l}):l},Qs=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},Ks=e=>({cache:Ys(e.cacheSize),parseClassName:qs(e),...Ws(e)}),Js=/\s+/,Zs=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=[],l=e.trim().split(Js),s="";for(let d=l.length-1;d>=0;d-=1){let c=l[d],{modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:x}=o(c),M=!!x,u=r(M?b.substring(0,x):b);if(!u){if(!M){s=c+(s.length>0?" "+s:s);continue}if(u=r(b),!u){s=c+(s.length>0?" "+s:s);continue}M=!1}let y=Qs(p).join(":"),A=g?y+fi:y,D=A+u;if(i.includes(D))continue;i.push(D);let re=a(u,M);for(let He=0;He<re.length;++He){let Dt=re[He];i.push(A+Dt)}s=c+(s.length>0?" "+s:s)}return s};function el(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=gi(t))&&(r&&(r+=" "),r+=o);return r}var gi=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=gi(e[r]))&&(o&&(o+=" "),o+=t);return o};function tl(e,...t){let o,r,a,i=l;function l(d){let c=t.reduce((p,g)=>g(p),e());return o=Ks(c),r=o.cache.get,a=o.cache.set,i=s,s(d)}function s(d){let c=r(d);if(c)return c;let p=Zs(d,o);return a(d,p),p}return function(){return i(el.apply(null,arguments))}}var B=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},bi=/^\[(?:([a-z-]+):)?(.+)\]$/i,ol=/^\d+\/\d+$/,rl=new Set(["px","full","screen"]),al=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,il=/\d+(%|px|r?em|[sdl]?xe([hwib]|min|max)|Vi|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|xe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,sl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ll=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_e=e=>It(e)||rl.has(e)||ol.test(e),Ze=e=>Et(e,"length",bl),It=e=>!!e&&!Number.isNaN(Number(e)),Nr=e=>Et(e,"number",It),Qt=e=>!!e&&Number.isInteger(Number(e)),cl=e=>e.endsWith("%")&&It(e.slice(0,-1)),w=e=>bi.test(e),et=e=>al.test(e),dl=new Set(["length","size","percentage"]),ml=e=>Et(e,dl,vi),pl=e=>Et(e,"position",vi),ul=new Set(["image","url"]),fl=e=>Et(e,ul,hl),gl=e=>Et(e,"",vl),Kt=()=>!0,Et=(e,t,o)=>{let r=bi.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},bl=e=>il.test(e)&&!nl.test(e),vi=()=>!1,vl=e=>sl.test(e),hl=e=>ll.test(e);var yl=()=>{let e=B("colors"),t=B("spacing"),o=B("blur"),r=B("brightness"),a=B("borderColor"),i=B("borderRadius"),l=B("borderSpacing"),s=B("borderWidth"),d=B("contrast"),c=B("grayscale"),p=B("hueRotate"),g=B("invert"),b=B("gap"),x=B("gradientColorStops"),M=B("gradientColorStopPositions"),u=B("inset"),y=B("margin"),A=B("opacity"),D=B("padding"),re=B("saturate"),He=B("scale"),Dt=B("sepia"),To=B("skew"),ai=B("space"),ii=B("translate"),hr=()=>["auto","contain","none"],yr=()=>["auto","hidden","clip","visible","scroll"],xr=()=>["auto",w,t],z=()=>[w,t],ni=()=>["",_e,Ze],ko=()=>["auto",It,w],si=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Mo=()=>["solid","dashed","dotted","double","none"],li=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],wr=()=>["start","end","center","between","around","evenly","stretch"],qt=()=>["","0",w],ci=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Fe=()=>[It,w];return{cacheSize:500,separator:":",theme:{colors:[Kt],spacing:[_e,Ze],blur:["none","",et,w],brightness:Fe(),borderColor:[e],borderRadius:["none","","full",et,w],borderSpacing:z(),borderWidth:ni(),contrast:Fe(),grayscale:qt(),hueRotate:Fe(),invert:qt(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[cl,Ze],inset:xr(),margin:xr(),opacity:Fe(),padding:z(),saturate:Fe(),scale:Fe(),sepia:qt(),skew:Fe(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",w]}],container:["container"],columns:[{columns:[et]}],"break-after":[{"break-after":ci()}],"break-before":[{"break-before":ci()}],"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:[...si(),w]}],overflow:[{overflow:yr()}],"overflow-x":[{"overflow-x":yr()}],"overflow-y":[{"overflow-y":yr()}],overscroll:[{overscroll:hr()}],"overscroll-x":[{"overscroll-x":hr()}],"overscroll-y":[{"overscroll-y":hr()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Qt,w]}],basis:[{basis:xr()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",w]}],grow:[{grow:qt()}],shrink:[{shrink:qt()}],order:[{order:["first","last","none",Qt,w]}],"grid-cols":[{"grid-cols":[Kt]}],"col-start-end":[{col:["auto",{span:["full",Qt,w]},w]}],"col-start":[{"col-start":ko()}],"col-end":[{"col-end":ko()}],"grid-rows":[{"grid-rows":[Kt]}],"row-start-end":[{row:["auto",{span:[Qt,w]},w]}],"row-start":[{"row-start":ko()}],"row-end":[{"row-end":ko()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",w]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",w]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...wr()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...wr(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...wr(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],xe:[{xe:[D]}],Vi:[{Vi:[D]}],xe:[{xe:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],xe:[{xe:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],xe:[{xe:[y]}],xe:[{xe:[y]}],xe:[{xe:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ai]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ai]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",w,t]}],"min-w":[{"min-w":[w,t,"min","max","fit"]}],"max-w":[{"max-w":[w,t,"none","full","min","max","fit","prose",{screen:[et]},et]}],xe:[{xe:[w,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-xe":[{"min-xe":[w,t,"min","max","fit","svh","lvh","dvh"]}],"max-xe":[{"max-xe":[w,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[w,t,"auto","min","max","fit"]}],"font-size":[{text:["base",et,Ze]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Nr]}],"font-family":[{font:[Kt]}],"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",w]}],"line-clamp":[{"line-clamp":["none",It,Nr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_e,w]}],"list-image":[{"list-image":["none",w]}],"list-style-type":[{list:["none","disc","decimal",w]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Mo(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_e,Ze]}],"underline-offset":[{"underline-offset":["auto",_e,w]}],"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:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",w]}],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",w]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...si(),pl]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ml]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},fl]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],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-es":[{"rounded-es":[i]}],"rounded-xe":[{"rounded-xe":[i]}],"rounded-xe":[{"rounded-xe":[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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Mo(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Mo()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Mo()]}],"outline-offset":[{"outline-offset":[_e,w]}],"outline-w":[{outline:[_e,Ze]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ni()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[_e,Ze]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",et,gl]}],"shadow-color":[{shadow:[Kt]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...li(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":li()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",et,w]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[re]}],sepia:[{sepia:[Dt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[re]}],"backdrop-sepia":[{"backdrop-sepia":[Dt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",w]}],duration:[{duration:Fe()}],ease:[{ease:["linear","in","out","in-out",w]}],delay:[{delay:Fe()}],animate:[{animate:["none","spin","ping","pulse","bounce",w]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[He]}],"scale-x":[{"scale-x":[He]}],"scale-y":[{"scale-y":[He]}],rotate:[{rotate:[Qt,w]}],"translate-x":[{"translate-x":[ii]}],"translate-y":[{"translate-y":[ii]}],"skew-x":[{"skew-x":[To]}],"skew-y":[{"skew-y":[To]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",w]}],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","xe-resize","nw-resize","xe-resize","sw-resize","ew-resize","xe-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",w]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-xe":[{"scroll-xe":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-xe":[{"scroll-xe":z()}],"scroll-xe":[{"scroll-xe":z()}],"scroll-xe":[{"scroll-xe":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-xe":[{"scroll-xe":z()}],"scroll-Vi":[{"scroll-Vi":z()}],"scroll-xe":[{"scroll-xe":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",w]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_e,Ze,Nr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","xe","Vi","xe","pb","pl"],px:["xe","pl"],py:["Vi","pb"],xe:["mx","my","xe","xe","xe","mr","mb","ml"],mx:["mr","ml"],my:["xe","mb"],size:["w","xe"],"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-es","rounded-xe","rounded-xe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-es","rounded-es"],"rounded-e":["rounded-xe","rounded-xe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-xe":["scroll-mx","scroll-my","scroll-xe","scroll-xe","scroll-xe","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-xe","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-xe","scroll-Vi","scroll-xe","scroll-pb","scroll-pl"],"scroll-px":["scroll-xe","scroll-pl"],"scroll-py":["scroll-Vi","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var hi=tl(yl);function n(...e){return hi((0,yi.clsx)(e))}var xe=require("react/jsx-runtime"),Cr=Lt.forwardRef(({...e},t)=>(0,xe.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Cr.displayName="Breadcrumb";var Sr=Lt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("ol",{ref:o,className:n("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Sr.displayName="BreadcrumbList";var Tr=Lt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("li",{ref:o,className:n("inline-flex items-center gap-1.5",e),...t}));Tr.displayName="BreadcrumbItem";var kr=Lt.forwardRef(({asChild:e,className:t,...o},r)=>(0,xe.jsx)(e?xi.Slot:"a",{ref:r,className:n("transition-colors hover:text-foreground",t),...o}));kr.displayName="BreadcrumbLink";var Mr=Lt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:n("font-normal text-foreground",e),...t}));Mr.displayName="BreadcrumbPage";var Ar=({children:e,className:t,...o})=>(0,xe.jsx)("li",{role:"presentation","aria-hidden":"true",className:n("[&>svg]:w-3.5 [&>svg]:xe-3.5",t),...o,children:e!=null?e:(0,xe.jsx)(Do.ChevronRightIcon,{})});Ar.displayName="BreadcrumbSeparator";var Dr=({className:e,...t})=>(0,xe.jsxs)("span",{role:"presentation","aria-hidden":"true",className:n("flex xe-9 w-9 items-center justify-center",e),...t,children:[(0,xe.jsx)(Do.DotsHorizontalIcon,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More"})]});Dr.displayName="BreadcrumbElipssis";var Bt=f(require("@radix-ui/react-collapsible")),Ge=Bt.Root,tt=Bt.CollapsibleTrigger,ot=Bt.CollapsibleContent;var Oe=f(require("react")),P=f(require("@radix-ui/react-dropdown-menu"));var wi=P.Root,Ni=P.Trigger,Ri=P.Group,Pi=P.Portal,Ci=P.Sub,Si=P.RadioGroup,Ir=Oe.forwardRef(({className:e,inset:t,children:o,...r},a)=>(0,$.jsxs)(P.SubTrigger,{ref:a,className:n("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),...r,children:[o,(0,$.jsx)(Do.ChevronRightIcon,{className:"ml-auto"})]}));Ir.displayName=P.SubTrigger.displayName;var Er=Oe.forwardRef(({className:e,...t},o)=>(0,$.jsx)(P.SubContent,{ref:o,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-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}));Er.displayName=P.SubContent.displayName;var Lr=Oe.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,$.jsx)(P.Portal,{children:(0,$.jsx)(P.Content,{ref:r,sideOffset:t,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-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),...o})}));Lr.displayName=P.Content.displayName;var Br=Oe.forwardRef(({className:e,inset:t,...o},r)=>(0,$.jsx)(P.Item,{ref:r,className:n("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),...o}));Br.displayName=P.Item.displayName;var zr=Oe.forwardRef(({className:e,children:t,checked:o,...r},a)=>(0,$.jsxs)(P.CheckboxItem,{ref:a,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 xe-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:o,...r,children:[(0,$.jsx)("span",{className:"absolute left-2 flex xe-3.5 w-3.5 items-center justify-center",children:(0,$.jsx)(P.ItemIndicator,{children:(0,$.jsx)(Do.CheckIcon,{className:"xe-4 w-4"})})}),t]}));zr.displayName=P.CheckboxItem.displayName;var Hr=Oe.forwardRef(({className:e,children:t,...o},r)=>(0,$.jsxs)(P.RadioItem,{ref:r,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 xe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,$.jsx)("span",{className:"absolute left-2 flex xe-3.5 w-3.5 items-center justify-center",children:(0,$.jsx)(P.ItemIndicator,{children:(0,$.jsx)(Do.DotFilledIcon,{className:"xe-4 w-4 fill-current"})})}),t]}));Hr.displayName=P.RadioItem.displayName;var Fr=Oe.forwardRef(({className:e,inset:t,...o},r)=>(0,$.jsx)(P.Label,{ref:r,className:n("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Fr.displayName=P.Label.displayName;var _r=Oe.forwardRef(({className:e,...t},o)=>(0,$.jsx)(P.Separator,{ref:o,className:n("-mx-1 my-1 xe-px bg-muted",e),...t}));_r.displayName=P.Separator.displayName;var Gr=({className:e,...t})=>(0,$.jsx)("span",{className:n("ml-auto text-xs tracking-widest opacity-60",e),...t});Gr.displayName="DropdownMenuShortcut";var Ti=f(require("react"));var Jt=Ti.forwardRef(({className:e,type:t,...o},r)=>(0,xe.jsx)("input",{type:t,className:n("flex xe-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:r,...o}));Jt.displayName="Input";var Mi=f(require("react")),Or=f(require("@radix-ui/react-separator"));var Zt=Mi.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...r},a)=>(0,xe.jsx)(Or.Root,{ref:a,decorative:o,orientation:t,className:n("shrink-0 bg-border",t==="horizontal"?"xe-[1px] w-full":"xe-full w-[1px]",e),...r}));Zt.displayName=Or.Root.displayName;var eo=f(require("react")),_=f(require("@radix-ui/react-dialog")),Ii=require("class-variance-authority");var Io=_.Root,Ei=_.Trigger,Li=_.Close,Vr=_.Portal,Eo=eo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(_.Overlay,{className:n("fixed inset-0 z-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:o}));Eo.displayName=_.Overlay.displayName;var xl=(0,Ii.cva)("fixed z-50 gap-4 bg-background p-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-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 xe-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-y-0 right-0 xe-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"}}),to=eo.forwardRef(({side:e="right",className:t,children:o,...r},a)=>(0,xe.jsxs)(Vr,{children:[(0,xe.jsx)(Eo,{}),(0,xe.jsxs)(_.Content,{ref:a,className:n(xl({side:e}),t),...r,children:[(0,xe.jsxs)(_.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,xe.jsx)(Do.Cross2Icon,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));to.displayName=_.Content.displayName;var Wr=({className:e,...t})=>(0,xe.jsx)("div",{className:n("flex flex-col space-y-2 text-center sm:text-left",e),...t});Wr.displayName="SheetHeader";var Ur=({className:e,...t})=>(0,xe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Ur.displayName="SheetFooter";var Xr=eo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(_.Title,{ref:o,className:n("text-lg font-semibold text-foreground",e),...t}));Xr.displayName=_.Title.displayName;var jr=eo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(_.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));jr.displayName=_.Description.displayName;var C=f(require("react")),Vi=require("lucide-react");var Lo=require("react"),Bo=(e=768)=>{let[t,o]=(0,Lo.useState)(!1);return(0,Lo.useEffect)(()=>{let r=()=>{o(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var Hi=f(require("react")),oo=(0,Ii.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:"xe-10 px-4 py-2",icon:"xe-10 w-10",lg:"xe-11 rounded px-8",sm:"xe-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"}}}),Q=Hi.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},i)=>(0,xe.jsx)(e?xi.Slot:"button",{className:n(oo({className:t,size:o,variant:r})),ref:i,...a}));Q.displayName="Button";function G({className:e,...t}){return(0,xe.jsx)("div",{className:n("animate-pulse rounded-md bg-primary/10",e),...t})}var Gi=f(require("react")),Se=f(require("@radix-ui/react-tooltip"));var zo=Se.Provider,Ho=Se.Root,Fo=Se.Trigger,ro=Gi.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,$r.jsx)(Se.Portal,{children:(0,$r.jsx)(Se.Content,{ref:r,sideOffset:t,className:n("z-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),...o})}));ro.displayName=Se.Content.displayName;var wl="sidebar:state",Nl=60*60*24*7,Rl="16rem",Pl="18rem",Cl="3rem",Sl="b",Wi=C.createContext(null);function Ft(){let e=C.useContext(Wi);if(!e)throw new Error("useSidebar must xe used within a SidebarProvider.");return e}var Yr=C.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:r,style:a,children:i,...l},s)=>{let d=Bo(),[c,p]=C.useState(!1),[g,b]=C.useState(e),x=t!=null?t:g,M=C.useCallback(D=>{if(o)return o==null?void 0:o(typeof D=="function"?D(x):D);b(D),document.cookie=`${wl}=${x}; path=/; max-age=${Nl}`},[o,x]),u=C.useCallback(()=>d?p(D=>!D):M(D=>!D),[d,M,p]);C.useEffect(()=>{let D=re=>{re.key===Sl&&(re.metaKey||re.ctrlKey)&&(re.preventDefault(),u())};return window.addEventListener("keydown",D),()=>window.removeEventListener("keydown",D)},[u]);let y=x?"expanded":"collapsed",A=C.useMemo(()=>({state:y,open:x,setOpen:M,isMobile:d,openMobile:c,setOpenMobile:p,toggleSidebar:u}),[y,x,M,d,c,p,u]);return(0,xe.jsx)(Wi.Provider,{value:A,children:(0,xe.jsx)(zo,{delayDuration:0,children:(0,xe.jsx)("div",{style:{"--sidebar-width":Rl,"--sidebar-width-icon":Cl,...a},className:n("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:s,...l,children:i})})})});Yr.displayName="SidebarProvider";var ut=C.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:r,children:a,...i},l)=>{let{isMobile:s,state:d,openMobile:c,setOpenMobile:p}=Ft();return o==="none"?(0,xe.jsx)("div",{className:n("flex xe-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l,...i,children:a}):s?(0,xe.jsx)(Io,{open:c,onOpenChange:p,...i,children:(0,xe.jsx)(to,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Pl},side:e,children:(0,xe.jsx)("div",{className:"flex xe-full w-full flex-col",children:a})})}):(0,xe.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":d,"data-collapsible":d==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,xe.jsx)("div",{className:n("duration-200 relative xe-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,xe.jsx)("div",{className:n("duration-200 fixed top-14 bottom-0 z-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"?"p-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",r),...i,children:(0,xe.jsx)("div",{"data-sidebar":"sidebar",className:"flex xe-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:a})})]})});ut.displayName="Sidebar";var qr=C.forwardRef(({className:e,onClick:t,...o},r)=>{let{toggleSidebar:a}=Ft();return(0,xe.jsxs)(Q,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("xe-7 w-7",e),onClick:i=>{t==null||t(i),a()},...o,children:[(0,xe.jsx)(Vi.PanelLeft,{}),(0,xe.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});qr.displayName="SidebarTrigger";var Qr=C.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:r}=Ft();return(0,xe.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-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-x-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})});Qr.displayName="SidebarRail";var Kr=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("main",{ref:o,className:n("flex flex-1 flex-col bg-background overflow-y-auto relative max-xe-full","md:peer-data-[variant=inset]:xe-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}));Kr.displayName="SidebarInset";var Jr=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(Jt,{ref:o,"data-sidebar":"input",className:n("xe-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Jr.displayName="SidebarInput";var ft=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,"data-sidebar":"header",className:n("flex flex-col gap-2 p-2",e),...t}));ft.displayName="SidebarHeader";var gt=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,"data-sidebar":"footer",className:n("flex flex-col gap-2 p-2",e),...t}));gt.displayName="SidebarFooter";var ao=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(Zt,{ref:o,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",e),...t}));ao.displayName="SidebarSeparator";var rt=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,"data-sidebar":"content",className:n("flex min-xe-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));rt.displayName="SidebarContent";var we=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col p-2",e),...t}));we.displayName="SidebarGroup";var Ve=C.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,xe.jsx)(t?xi.Slot:"div",{ref:r,"data-sidebar":"group-label",className:n("duration-200 flex xe-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]:-xe-8 group-data-[collapsible=icon]:opacity-0",e),...o}));Ve.displayName="SidebarGroupLabel";var Zr=C.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,xe.jsx)(t?xi.Slot:"button",{ref:r,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-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),...o}));Zr.displayName="SidebarGroupAction";var Te=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,"data-sidebar":"group-content",className:n("w-full text-sm",e),...t}));Te.displayName="SidebarGroupContent";var ce=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("ul",{ref:o,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",e),...t}));ce.displayName="SidebarMenu";var J=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:n("group/menu-item relative",e),...t}));J.displayName="SidebarMenuItem";var Tl=(0,Ii.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-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:xe-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]:!p-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:"xe-8 text-sm",sm:"xe-7 text-xs",lg:"xe-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Ne=C.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:r="default",tooltip:a,className:i,...l},s)=>{let d=e?xi.Slot:"button",{isMobile:c,state:p}=Ft(),g=(0,xe.jsx)(d,{ref:s,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:n(Tl({variant:o,size:r}),i),...l});return a?(typeof a=="string"&&(a={children:a}),(0,xe.jsxs)(Ho,{children:[(0,xe.jsx)(Fo,{asChild:!0,children:g}),(0,xe.jsx)(ro,{side:"right",align:"center",hidden:p!=="collapsed"||c,...a})]})):g});Ne.displayName="SidebarMenuButton";var io=C.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...r},a)=>(0,xe.jsx)(t?xi.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-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",o&&"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),...r}));io.displayName="SidebarMenuAction";var ea=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:n("absolute right-1 flex xe-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}));ea.displayName="SidebarMenuBadge";var ta=C.forwardRef(({className:e,showIcon:t=!1,...o},r)=>{let a=C.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,xe.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:n("rounded-md xe-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,xe.jsx)(G,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,xe.jsx)(G,{className:"xe-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});ta.displayName="SidebarMenuSkeleton";var at=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));at.displayName="SidebarMenuSub";var it=C.forwardRef(({...e},t)=>(0,xe.jsx)("li",{ref:t,...e}));it.displayName="SidebarMenuSubItem";var nt=C.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:r,...a},i)=>(0,xe.jsx)(e?xi.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:n("flex xe-7 min-w-0 -translate-x-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",r),...a}));nt.displayName="SidebarMenuSubButton";var Oo=f(require("react")),kl=1,Ml=1e6;var oa=0;function Al(){return oa=(oa+1)%Number.MAX_SAFE_INTEGER,oa.toString()}var ra=new Map,Ui=e=>{if(ra.has(e))return;let t=setTimeout(()=>{ra.delete(e),no({type:"REMOVE_TOAST",toastId:e})},Ml);ra.set(e,t)},Dl=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,kl)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?Ui(o):e.toasts.forEach(r=>{Ui(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},_o=[],Go={toasts:[]};function no(e){Go=Dl(Go,e),_o.forEach(t=>{t(Go)})}function Il({...e}){let t=Al(),o=a=>no({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>no({type:"DISMISS_TOAST",toastId:t});return no({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:o}}function Vo(){let[e,t]=Oo.useState(Go);return Oo.useEffect(()=>(_o.push(t),()=>{let o=_o.indexOf(t);o>-1&&_o.splice(o,1)}),[e]),{...e,toast:Il,dismiss:o=>no({type:"DISMISS_TOAST",toastId:o})}}var bt=f(require("react")),X=f(require("@radix-ui/react-toast"));var Wo=X.Provider,so=bt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(X.Viewport,{ref:o,className:n("fixed top-0 z-[100] flex max-xe-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));so.displayName=X.Viewport.displayName;var El=(0,Ii.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 xe-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] 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"}}),lo=bt.forwardRef(({className:e,variant:t,...o},r)=>(0,xe.jsx)(X.Root,{ref:r,className:n(El({variant:t}),e),...o}));lo.displayName=X.Root.displayName;var aa=bt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(X.Action,{ref:o,className:n("inline-flex xe-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}));aa.displayName=X.Action.displayName;var co=bt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(X.Close,{ref:o,className:n("absolute right-1 top-1 rounded-md p-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,xe.jsx)(Vi.X,{className:"xe-4 w-4"})}));co.displayName=X.Close.displayName;var mo=bt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(X.Title,{ref:o,className:n("text-sm font-semibold [&+div]:text-xs",e),...t}));mo.displayName=X.Title.displayName;var po=bt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(X.Description,{ref:o,className:n("text-sm opacity-90",e),...t}));po.displayName=X.Description.displayName;function $i(){let{toasts:e}=Vo();return(0,xe.jsxs)(Wo,{children:[e.map(function({id:t,title:o,description:r,action:a,...i}){return(0,xe.jsxs)(lo,{...i,children:[(0,xe.jsxs)("div",{className:"grid gap-1",children:[o&&(0,xe.jsx)(mo,{children:o}),r&&(0,xe.jsx)(po,{children:r})]}),a,(0,xe.jsx)(co,{})]},t)}),(0,xe.jsx)(so,{})]})}var Yi=f(require("react")),ia=f(require("@radix-ui/react-toggle"));var uo=(0,Ii.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:"xe-9 px-2 min-w-9",sm:"xe-8 px-1.5 min-w-8",lg:"xe-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),na=Yi.forwardRef(({className:e,variant:t,size:o,...r},a)=>(0,xe.jsx)(ia.Root,{ref:a,className:n(uo({variant:t,size:o,className:e})),...r}));na.displayName=ia.Root.displayName;var vt=f(require("react")),_t=f(require("@radix-ui/react-toggle-group"));var Ki=vt.createContext({size:"default",variant:"default"}),sa=vt.forwardRef(({className:e,variant:t,size:o,children:r,...a},i)=>(0,xe.jsx)(_t.Root,{ref:i,className:n("flex items-center justify-center gap-1",e),...a,children:(0,xe.jsx)(Ki.Provider,{value:{variant:t,size:o},children:r})}));sa.displayName=_t.Root.displayName;var la=vt.forwardRef(({className:e,children:t,variant:o,size:r,...a},i)=>{let l=vt.useContext(Ki);return(0,xe.jsx)(_t.Item,{ref:i,className:n(uo({variant:l.variant||o,size:l.size||r}),e),...a,children:t})});la.displayName=_t.Item.displayName;var ca=f(require("react")),Re=f(require("@radix-ui/react-scroll-area"));var da=ca.forwardRef(({className:e,children:t,...o},r)=>(0,xe.jsxs)(Re.Root,{ref:r,className:n("relative overflow-hidden",e),...o,children:[(0,xe.jsx)(Re.Viewport,{className:"xe-full w-full rounded-[inherit]",children:t}),(0,xe.jsx)(Xo,{}),(0,xe.jsx)(Re.Corner,{})]}));da.displayName=Re.Root.displayName;var Xo=ca.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,xe.jsx)(Re.ScrollAreaScrollbar,{ref:r,orientation:t,className:n("flex touch-none select-none transition-colors",t==="vertical"&&"xe-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"xe-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o,children:(0,xe.jsx)(Re.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Xo.displayName=Re.ScrollAreaScrollbar.displayName;var Ji=f(require("react")),ke=f(require("@radix-ui/react-popover"));var Zi=ke.Root,en=ke.Trigger,tn=ke.Anchor,pa=Ji.forwardRef(({className:e,align:t="center",sideOffset:o=4,...r},a)=>(0,xe.jsx)(ke.Portal,{children:(0,xe.jsx)(ke.Content,{ref:a,align:t,sideOffset:o,className:n("z-50 w-72 rounded-md border bg-popover p-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),...r})}));pa.displayName=ke.Content.displayName;var on=f(require("react")),ua=f(require("@radix-ui/react-label"));var Ll=(0,Ii.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),fa=on.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(ua.Root,{ref:o,className:n(Ll(),e),...t}));fa.displayName=ua.Root.displayName;var nn=f(require("react")),ht=f(require("@radix-ui/react-hover-card"));var sn=ht.Root,ln=ht.Trigger,ga=nn.forwardRef(({className:e,align:t="center",sideOffset:o=4,...r},a)=>(0,xe.jsx)(ht.Content,{ref:a,align:t,sideOffset:o,className:n("z-50 w-64 rounded-md border bg-popover p-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),...r}));ga.displayName=ht.Content.displayName;var fo=f(require("react")),O=f(require("@radix-ui/react-dialog"));var Gt=O.Root,mn=O.Trigger,ba=O.Portal,jo=O.Close,$o=fo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(O.Overlay,{ref:o,className:n("fixed inset-0 z-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}));$o.displayName=O.Overlay.displayName;var yt=fo.forwardRef(({className:e,children:t,...o},r)=>(0,xe.jsxs)(ba,{children:[(0,xe.jsx)($o,{}),(0,xe.jsxs)(O.Content,{ref:r,className:n("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-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),...o,children:[t,(0,xe.jsxs)(O.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,xe.jsx)(Vi.X,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));yt.displayName=O.Content.displayName;var go=({className:e,...t})=>(0,xe.jsx)("div",{className:n("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});go.displayName="DialogHeader";var va=({className:e,...t})=>(0,xe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});va.displayName="DialogFooter";var bo=fo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(O.Title,{ref:o,className:n("text-lg font-semibold leading-none tracking-tight",e),...t}));bo.displayName=O.Title.displayName;var ha=fo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(O.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));ha.displayName=O.Description.displayName;var ct=f(require("react")),ie=require("cmdk");var Yo=ct.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(ie.Command,{ref:o,className:n("flex xe-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Yo.displayName=ie.Command.displayName;var un=({children:e,...t})=>(0,xe.jsx)(Gt,{...t,children:(0,xe.jsx)(yt,{className:"overflow-hidden p-0",children:(0,xe.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]]:Vi-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:xe-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:xe-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:xe-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),ya=ct.forwardRef(({className:e,...t},o)=>(0,xe.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,xe.jsx)(Vi.Search,{className:"mr-2 xe-4 w-4 shrink-0 opacity-50"}),(0,xe.jsx)(ie.Command.Input,{ref:o,className:n("flex xe-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})]}));ya.displayName=ie.Command.Input.displayName;var xa=ct.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(ie.Command.List,{ref:o,className:n("max-xe-[300px] overflow-y-auto overflow-x-hidden",e),...t}));xa.displayName=ie.Command.List.displayName;var wa=ct.forwardRef((e,t)=>(0,xe.jsx)(ie.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));wa.displayName=ie.Command.Empty.displayName;var Na=ct.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(ie.Command.Group,{ref:o,className:n("overflow-hidden p-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}));Na.displayName=ie.Command.Group.displayName;var Ra=ct.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(ie.Command.Separator,{ref:o,className:n("-mx-1 xe-px bg-border",e),...t}));Ra.displayName=ie.Command.Separator.displayName;var Pa=ct.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(ie.Command.Item,{ref:o,className:n("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}));Pa.displayName=ie.Command.Item.displayName;var Ca=({className:e,...t})=>(0,xe.jsx)("span",{className:n("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});Ca.displayName="CommandShortcut";var qo=f(require("react"));var Bl=(0,Ii.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-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"}}),Sa=qo.forwardRef(({className:e,variant:t,...o},r)=>(0,xe.jsx)("div",{ref:r,role:"alert",className:n(Bl({variant:t}),e),...o}));Sa.displayName="Alert";var Ta=qo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("h5",{ref:o,className:n("mb-1 font-medium leading-none tracking-tight",e),...t}));Ta.displayName="AlertTitle";var ka=qo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("text-sm [&_p]:leading-relaxed",e),...t}));ka.displayName="AlertDescription";var Ko=f(require("react")),Ue=f(require("@radix-ui/react-avatar"));var vo=Ko.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(Ue.Root,{ref:o,className:n("relative flex xe-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));vo.displayName=Ue.Root.displayName;var ho=Ko.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(Ue.Image,{ref:o,className:n("aspect-square xe-full w-full",e),...t}));ho.displayName=Ue.Image.displayName;var yo=Ko.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(Ue.Fallback,{ref:o,className:n("flex xe-full w-full items-center justify-center rounded-full bg-muted",e),...t}));yo.displayName=Ue.Fallback.displayName;var Ma=(0,Ii.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 Zo({className:e,variant:t,...o}){return(0,xe.jsx)("div",{className:n(Ma({variant:t}),e),...o})}var xo=f(require("@radix-ui/react-checkbox")),hn=f(require("react")),yn=hn.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(xo.Root,{className:n("peer xe-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:o,...t,children:(0,xe.jsx)(xo.Indicator,{className:n("flex items-center justify-center text-current"),children:(0,xe.jsx)(Vi.Check,{className:"xe-4 w-4"})})}));yn.displayName=xo.Root.displayName;var T=f(require("@radix-ui/react-select")),dt=f(require("react")),zl=T.Root,Hl=T.Group,Fl=T.Value,xn=dt.forwardRef(({children:e,className:t,...o},r)=>(0,xe.jsxs)(T.Trigger,{className:n("flex xe-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:r,...o,children:[e,(0,xe.jsx)(T.Icon,{asChild:!0,children:(0,xe.jsx)(Vi.ChevronDown,{className:"xe-4 w-4 opacity-50"})})]}));xn.displayName=T.Trigger.displayName;var Aa=dt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(T.ScrollUpButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,xe.jsx)(Vi.ChevronUp,{className:"xe-4 w-4"})}));Aa.displayName=T.ScrollUpButton.displayName;var Da=dt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(T.ScrollDownButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,xe.jsx)(Vi.ChevronDown,{className:"xe-4 w-4"})}));Da.displayName=T.ScrollDownButton.displayName;var wn=dt.forwardRef(({children:e,className:t,position:o="popper",...r},a)=>(0,xe.jsx)(T.Portal,{children:(0,xe.jsxs)(T.Content,{className:n("relative z-50 max-xe-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",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,ref:a,...r,children:[(0,xe.jsx)(Aa,{}),(0,xe.jsx)(T.Viewport,{className:n("p-1",o==="popper"&&"xe-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,xe.jsx)(Da,{})]})}));wn.displayName=T.Content.displayName;var Nn=dt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(T.Label,{className:n("py-1.5 pl-8 xe-2 text-sm font-semibold",e),ref:o,...t}));Nn.displayName=T.Label.displayName;var Rn=dt.forwardRef(({children:e,className:t,...o},r)=>(0,xe.jsxs)(T.Item,{className:n("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 xe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,xe.jsx)("span",{className:"absolute left-2 flex xe-3.5 w-3.5 items-center justify-center",children:(0,xe.jsx)(T.ItemIndicator,{children:(0,xe.jsx)(Vi.Check,{className:"xe-4 w-4"})})}),(0,xe.jsx)(T.ItemText,{children:e})]}));Rn.displayName=T.Item.displayName;var Pn=dt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(T.Separator,{className:n("-mx-1 my-1 xe-px bg-muted",e),ref:o,...t}));Pn.displayName=T.Separator.displayName;var Cn=f(require("react")),Sn=Cn.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("textarea",{className:n("flex min-xe-[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:o,...t}));Sn.displayName="Textarea";var Ie=({type:e="solid",iconName:t="cloud",size:o="lg",className:r})=>{let a="fa-"+e+" ",i="fa-"+t,l=r!=null?r:"",s=a+i+" fa-"+o+" "+l;return(0,xe.jsx)("i",{className:s})};var Mn=({title:e,description:t,iconName:o,iconStyle:r,color:a})=>(0,xe.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"}[a]} p-6 flex flex-col items-center text-center`,children:[(0,xe.jsx)("div",{className:"w-12 xe-12 ",children:(0,xe.jsx)(Ie,{type:r,iconName:o,className:"w-12 xe-12 text-white"})}),(0,xe.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,xe.jsx)("p",{className:"text-white text-sm",children:t})]});var An=f(require("next/image")),Dn=f(require("next/link"));var Nt=f(require("react"));var de=Nt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("rounded-xl border bg-card text-card-foreground shadow",e),...t}));de.displayName="Card";var Ee=Nt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("flex flex-col space-y-1.5 p-6",e),...t}));Ee.displayName="CardHeader";var Le=Nt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("font-semibold leading-none tracking-tight",e),...t}));Le.displayName="CardTitle";var _l=Nt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("text-sm text-muted-foreground",e),...t}));_l.displayName="CardDescription";var Pe=Nt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("p-6 Vi-0",e),...t}));Pe.displayName="CardContent";var Gl=Nt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("flex items-center p-6 Vi-0",e),...t}));Gl.displayName="CardFooter";function In({name:e,logo:t,href:o}){return(0,xe.jsx)(de,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,xe.jsxs)(Dn.default,{href:o,className:"block",children:[(0,xe.jsx)("div",{className:"bg-white p-2 flex items-center justify-center xe-24",children:(0,xe.jsx)("div",{className:"relative w-full xe-full",children:t&&(0,xe.jsx)(An.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,xe.jsx)(Pe,{className:"p-3 flex items-center justify-center xe-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,xe.jsx)("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function En({eventType:e="birthday",date:t="",title:o="",description:r="",avatarSrc:a}){let i=s=>{switch(s){case"birthday":return(0,xe.jsx)(Vi.Cake,{className:"xe-4 w-4"});case"workAnniversary":return(0,xe.jsx)(Vi.Award,{className:"xe-4 w-4"});case"companyEvent":return(0,xe.jsx)(Vi.PartyPopper,{className:"xe-4 w-4"});default:return(0,xe.jsx)(Vi.CalendarDays,{className:"xe-4 w-4"})}},l=s=>{switch(s){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,xe.jsxs)(de,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,xe.jsxs)(Ee,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,xe.jsxs)(vo,{className:"xe-14 w-14 border-2 border-white",children:[(0,xe.jsx)(ho,{src:a,alt:o||"Event"}),(0,xe.jsx)(yo,{className:"bg-white text-gray-900",children:o?o.charAt(0).toUpperCase():"?"})]}),(0,xe.jsxs)("div",{className:"flex flex-col",children:[(0,xe.jsx)(Le,{className:"text-xl",children:o||"Untitled Event"}),(0,xe.jsxs)("p",{className:"text-sm text-white/80",children:[(0,xe.jsx)(Vi.CalendarDays,{className:"mr-1 inline-block xe-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,xe.jsxs)(Pe,{className:"bg-white bg-opacity-80 p-4",children:[r&&(0,xe.jsx)("p",{className:"mb-2 text-sm text-gray-700",children:r}),(0,xe.jsxs)(Zo,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,xe.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-z])([A-xe])/g,"$1 $2").split(" ").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "):"Event"})]})]})]})}var Bn=f(require("next/link"));var zn=f(require("next/image")),Ln={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Hn({slug:e,image:t,title:o,description:r}){return(0,xe.jsxs)(Bn.default,{href:e,className:"group/portfolio relative z-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[(0,xe.jsx)("span",{className:n("absolute inset-0 z-[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,xe.jsx)(zn.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
7
+ (min-width:${Ln.md}) 50vw,
8
+ (min-width:${Ln.lg}) 25vw,
9
9
  100vw
10
- `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,he.jsx)("div",{className:"relative z-10 flex he-full flex-col",children:(0,he.jsxs)("div",{className:"mt-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,he.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,he.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})}),(0,he.jsx)("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:(0,he.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:r})})]})})]})}var Ma=f(require("next/image")),Jo=f(require("path"));function Fl(e){try{let t=new URL(e),{hostname:o}=t;return o.endsWith("sharepoint.com")}catch{return!1}}function _l(e){return e.startsWith("http")}function Gl(e,t){let o=e;if(Fl(e))o=`/docs/api/content/sharepoint?url=${e}`;else if(_l(e))o=e;else if(t.source==="github"){let r=e.replace("./","");if(r.startsWith("/")&&(r=r.slice(1)),t.linked){if(t.linked.path){let a=Jo.default.dirname(t.linked.path);a.startsWith(".")||(r=`${a}/${r}`)}o=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${r}&branch=${t.linked.branch}`}else{if(t.file){let a=Jo.default.dirname(t.file);a.startsWith(".")||(r=`${a}/${r}`)}o=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${r}&branch=${t.branch}`}}else if(e.startsWith("/"))o=e;else if(e.startsWith("./")){let r=e.replace("./","");t.file&&(r=`/${Jo.default.dirname(t.file)}/${r}`),o=r}else o="/image-not-found.png";return o}function Ol({src:e,alt:t}){let[o,r]=(0,Do.useState)(!1),[a,i]=(0,Do.useState)(!1),[l,s]=(0,Do.useState)({width:0,height:0}),d=()=>{a&&r(!0)},c=()=>{r(!1)},p=g=>{let{naturalWidth:b,naturalHeight:x}=g.target;s({width:b,height:x}),i(b>300||x>300)};return(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"he-[300px]":`he-[${l.height}px]`}`,onClick:d,children:(0,he.jsx)(Ma.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:p,unoptimized:!0,className:"object-contain max-w-full max-he-full"})}),(0,he.jsx)(Ht,{open:o,onOpenChange:r,children:(0,he.jsxs)(bt,{className:"flex flex-col items-center justify-center",children:[(0,he.jsxs)(po,{className:"flex w-full justify-end",children:[(0,he.jsx)(uo,{className:"hidden",children:t}),(0,he.jsx)(Vo,{})]}),(0,he.jsx)("div",{className:"flex items-center justify-center",children:(0,he.jsx)(Ma.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Bn({props:e,baseContext:t}){let{src:o}=e;return o=Gl(o,t),(0,he.jsx)(Ol,{src:o,alt:e.alt})}var zn=({children:e,cardsPerRow:t=3})=>{let o=`repeat(${t}, minmax(0, 1fr))`;return(0,he.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:o},children:e})};function _n({sections:e}){var l;let[t,o]=(0,Do.useState)((l=e[0])==null?void 0:l.id),r=(0,Do.useRef)([]);(0,Do.useEffect)(()=>{let s=[];return e.forEach(d=>{let c=new IntersectionObserver(g=>{g.forEach(b=>{b.isIntersecting&&o(d.id)})},{threshold:.5}),p=document.getElementById(d.id);p&&c.observe(p),s.push(c)}),r.current=s,()=>{s.forEach(d=>d.disconnect())}},[e]);let a=s=>{let d=document.getElementById(s);d&&d.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let s=e.findIndex(c=>c.id===t),d=e[s+1]||e[0];a(d.id)};return(0,he.jsxs)("div",{className:"flex he-screen relative",children:[(0,he.jsx)("div",{className:"fixed left-0 top-0 flex he-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(s=>(0,he.jsx)("button",{className:`group relative my-2 he-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===s.id?s.color:"bg-gray-300"}`,onClick:()=>a(s.id),children:(0,he.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-x-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100 lg:block",children:s.title})},s.id))}),(0,he.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:e.map(s=>(0,he.jsx)("div",{id:s.id,className:`flex he-screen items-center justify-center snap-always snap-start text-4xl text-white ${s.color}`,children:s.title},s.id))}),(0,he.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,he.jsx)(_i.CircleChevronDown,{})})]})}var jn=f(require("next/link"));var On=f(require("next/image"));var Gn=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var er=()=>{if(Gn){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Wl={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Vl="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:o,imgClassName:r,priority:a,resource:i,size:l,src:s,loading:d}=e,c,p,g=t,b=s||"";if(!b&&i&&typeof i=="object"){let{alt:u,filename:y,height:A,url:D,width:ee}=i;c=ee,p=A,g=u||"",b=`${er()}${D}`}let x=d||"lazy",M=l||Object.entries(Wl).map(([,u])=>`(max-width: ${u}px) ${u*2}w`).join(", ");return(0,he.jsx)("picture",{children:(0,he.jsx)(On.default,{alt:g||"",className:n(r),fill:o,height:o?void 0:p,placeholder:"blur",blurDataURL:Vl,priority:x!=="lazy"&&a,quality:100,loading:x,sizes:M,src:b,width:o?void 0:c})})};var Vn=e=>{let{onClick:t,resource:o,videoClassName:r}=e,a=(0,Do.useRef)(null);if((0,Do.useEffect)(()=>{let{current:i}=a;i&&i.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:i}=o;return(0,he.jsx)("video",{autoPlay:!0,className:n(r),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,he.jsx)("source",{src:`${er()}/media/${i}`})})}return null};var ge=e=>{var l;let{className:t,htmlElement:o="div",resource:r}=e,a=typeof r=="object"&&((l=r==null?void 0:r.mimeType)==null?void 0:l.includes("video"));return(0,he.jsx)(o||Do.Fragment,{...o!==null?{className:t}:{},children:a?(0,he.jsx)(Vn,{...e}):(0,he.jsx)(Wn,{...e})})};function $n(){let[e,t]=(0,Do.useState)("All News"),[o,r]=(0,Do.useState)([]),[a,i]=(0,Do.useState)(1),[l,s]=(0,Do.useState)(1),d=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,Do.useEffect)(()=>{async function c(){if(e==="All News"){let x=await(await fetch(`/api/posts?page=${a}`)).json();r(x.docs),s(x.totalPages);return}let g=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${a}`)).json();r(g.docs),s(g.totalPages)}c()},[e,a]),(0,he.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,he.jsxs)("div",{className:"flex gap-2 overflow-x-auto pb-4 mb-6",children:[d.map(c=>(0,he.jsx)(ue,{variant:c===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(c),children:c},c)),(0,he.jsxs)(ue,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,he.jsx)(_i.ChevronRight,{className:"he-4 w-4"}),(0,he.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,he.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:o&&o.map(c=>(0,he.jsxs)(jn.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,he.jsx)(ge,{resource:c.meta.image,size:"33vw"}),(0,he.jsxs)("div",{className:"p-4",children:[(0,he.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[c.populatedAuthors&&c.populatedAuthors.map(p=>p.name)," ","\xB7"," ",c.publishedAt&&new Date(c.publishedAt).toLocaleDateString("Mi-GB",{day:"numeric",month:"long"})]}),(0,he.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,he.jsx)("div",{className:"flex justify-center gap-1 mt-8",children:Array.from({length:l},(c,p)=>p+1).map(c=>(0,he.jsx)(ue,{variant:c===a?"default":"ghost",size:"icon",className:"w-10 he-10 rounded-full",onClick:()=>i(c),children:c},c))})]})}function Yn({title:e,subtitle:t,description:o,missionTitle:r,missionDescription:a,images:i,raisedAmount:l,companiesCount:s,dealsClosed:d,leadsGenerated:c}){return(0,he.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,he.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,he.jsxs)("div",{className:"max-w-4xl",children:[(0,he.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,he.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,he.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:o})]}),(0,he.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[(0,he.jsxs)("div",{className:"lg:pr-8",children:[(0,he.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:r}),(0,he.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:a})]}),(0,he.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,he.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((p,g)=>(0,he.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,he.jsx)("img",{alt:"",src:p,className:"block size-full object-cover"})},g))})}),(0,he.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,he.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,he.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,he.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[(0,he.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,he.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,he.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,he.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,he.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,he.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[s,"he"]})]}),(0,he.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,he.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,he.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"M"]})]}),(0,he.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,he.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,he.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"M"]})]})]})]})]})]})})}var qn=require("next/navigation");function Ul({external:e=!1,newTab:t=!1,scroll:o=!0}){let r=(0,qn.useRouter)(),a=(0,Do.useRef)(null),i=(0,Do.useRef)(null),l=(0,Do.useRef)(0),s=(0,Do.useRef)(!1),d=(0,Do.useRef)(0),c=(0,Do.useCallback)(g=>{if(g.target){let b=g.target,x=+new Date,M=b==null?void 0:b.closest("a");d.current=g.button,M?s.current=!0:(s.current=!1,l.current=x)}},[r,a,i,l]),p=(0,Do.useCallback)(g=>{var b,x;if((b=i.current)!=null&&b.href){let u=+new Date-l.current;if((x=i.current)!=null&&x.href&&u<=250&&!s.current&&d.current===0&&!g.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(i.current.href,y)}else r.push(i.current.href,{scroll:o})}},[r,a,i,l]);return(0,Do.useEffect)(()=>{let g=a.current;return g&&(g.addEventListener("mousedown",c),g.addEventListener("mouseup",p)),()=>{g&&g&&(g==null||g.removeEventListener("mousedown",c),g==null||g.removeEventListener("mouseup",p))}},[a,i,r]),{card:{ref:a},link:{ref:i}}}var Qn=Ul;var Kn=f(require("next/link"));var ho=e=>{let{card:t,link:o}=Qn({}),{className:r,doc:a,relationTo:i,showCategories:l,title:s}=e,{slug:d,categories:c,meta:p,title:g}=a||{},{description:b,image:x}=p||{},M=c&&Array.isArray(c)&&c.length>0,u=s||g,y=b==null?void 0:b.replace(/\s/g," "),A=`/${i}/${d}`;return(0,he.jsxs)("article",{className:n("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",r),ref:t.ref,children:[(0,he.jsxs)("div",{className:"relative w-full ",children:[!x&&(0,he.jsx)("div",{className:"",children:"No image"}),x&&typeof x!="string"&&(0,he.jsx)(ge,{resource:x,size:"33vw"})]}),(0,he.jsxs)("div",{className:"p-4",children:[l&&M&&(0,he.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&M&&(0,he.jsx)("div",{children:c==null?void 0:c.map((D,ee)=>{if(typeof D=="object"){let{title:Le}=D,kt=Le||"Untitled category",Po=ee===c.length-1;return(0,he.jsxs)(Do.Fragment,{children:[kt,!Po&&(0,he.jsx)(Do.Fragment,{children:", \xA0"})]},ee)}return null})})}),u&&(0,he.jsx)("div",{className:"prose",children:(0,he.jsx)("h3",{children:(0,he.jsx)(Kn.default,{className:"not-prose",href:A,ref:o.ref,children:u})})}),b&&(0,he.jsx)("div",{className:"mt-2",children:b&&(0,he.jsx)("p",{children:y})})]})]})};var Xl=e=>{let{posts:t}=e;return(0,he.jsx)("div",{className:n("container"),children:(0,he.jsx)("div",{children:(0,he.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:t==null?void 0:t.map((o,r)=>typeof o=="object"&&o!==null?(0,he.jsx)("div",{className:"col-span-4",children:(0,he.jsx)(ho,{className:"he-full",doc:o,relationTo:"posts",showCategories:!0})},r):null)})})})};var Ea=f(require("next/link")),Ue=e=>{let{type:t,appearance:o="inline",children:r,className:a,label:i,newTab:l,reference:s,size:d,url:c}=e,p=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!p)return null;let g=o==="link"?"clear":d,b=l?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,he.jsxs)(Ea.default,{className:n(a),href:p||c||"",...b,children:[i&&i,r&&r]}):(0,he.jsx)(ue,{asChild:!0,className:a,size:g,variant:o,children:(0,he.jsxs)(Ea.default,{className:n(a),href:p||c||"",...b,children:[i&&i,r&&r]})})};var Jn=f(require("clsx")),Zn=f(require("next/image")),jl=e=>{let{loading:t,priority:o,className:r}=e;return(0,he.jsx)(Zn.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,Jn.default)("max-w-[9.375rem] w-full he-[34px]",r),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var $l={plural:"Docs",singular:"Doc"},Yl={posts:{plural:"Posts",singular:"Post"}},ql=e=>{let{className:t,collection:o,collectionLabels:r,currentPage:a,limit:i,totalDocs:l}=e,s=(a?a-1:1)*(i||1)+1;l&&s>l&&(s=0);let d=(a||1)*(i||1);l&&d>l&&(d=l);let{plural:c,singular:p}=r||Yl[o||""]||$l||{};return(0,he.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 ${s}${s>0?` - ${d}`:""} of ${l} ${l>1?c:p}`]})};var La=f(require("react")),Ba=({className:e,...t})=>(0,he.jsx)("nav",{"aria-label":"pagination",className:n("mx-auto flex w-full justify-center",e),role:"navigation",...t});Ba.displayName="Pagination";var za=La.forwardRef(({className:e,...t},o)=>(0,he.jsx)("ul",{className:n("flex flex-row items-center gap-1",e),ref:o,...t}));za.displayName="PaginationContent";var Xe=La.forwardRef(({className:e,...t},o)=>(0,he.jsx)("li",{className:n("",e),ref:o,...t}));Xe.displayName="PaginationItem";var Nt=({className:e,isActive:t,size:o="icon",...r})=>(0,he.jsx)("button",{"aria-current":t?"page":void 0,className:n(Zt({size:o,variant:t?"outline":"ghost"}),e),...r});Nt.displayName="PaginationLink";var Ha=({className:e,...t})=>(0,he.jsxs)(Nt,{"aria-label":"Go to previous page",className:n("gap-1 pl-2.5",e),size:"default",...t,children:[(0,he.jsx)(_i.ChevronLeft,{className:"he-4 w-4"}),(0,he.jsx)("span",{children:"Previous"})]});Ha.displayName="PaginationPrevious";var Fa=({className:e,...t})=>(0,he.jsxs)(Nt,{"aria-label":"Go to next page",className:n("gap-1 pr-2.5",e),size:"default",...t,children:[(0,he.jsx)("span",{children:"Next"}),(0,he.jsx)(_i.ChevronRight,{className:"he-4 w-4"})]});Fa.displayName="PaginationNext";var rr=({className:e,...t})=>(0,he.jsxs)("span",{"aria-hidden":!0,className:n("flex he-9 w-9 items-center justify-center",e),...t,children:[(0,he.jsx)(_i.MoreHorizontal,{className:"he-4 w-4"}),(0,he.jsx)("span",{className:"sr-only",children:"More pages"})]});rr.displayName="PaginationEllipsis";var Ql=e=>{let t=(0,qn.useRouter)(),{className:o,page:r,totalPages:a}=e,i=r<a,l=r>1,s=r-1>1,d=r+1<a;return(0,he.jsx)("div",{className:n("my-12",o),children:(0,he.jsx)(Ba,{children:(0,he.jsxs)(za,{children:[(0,he.jsx)(Xe,{children:(0,he.jsx)(Ha,{disabled:!l,onClick:()=>{t.push(`/posts/page/${r-1}`)}})}),s&&(0,he.jsx)(Xe,{children:(0,he.jsx)(rr,{})}),l&&(0,he.jsx)(Xe,{children:(0,he.jsx)(Nt,{onClick:()=>{t.push(`/posts/page/${r-1}`)},children:r-1})}),(0,he.jsx)(Xe,{children:(0,he.jsx)(Nt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${r}`)},children:r})}),i&&(0,he.jsx)(Xe,{children:(0,he.jsx)(Nt,{onClick:()=>{t.push(`/posts/page/${r+1}`)},children:r+1})}),d&&(0,he.jsx)(Xe,{children:(0,he.jsx)(rr,{})}),(0,he.jsx)(Xe,{children:(0,he.jsx)(Fa,{disabled:!i,onClick:()=>{t.push(`/posts/page/${r+1}`)}})})]})})})};var _a=({className:e,content:t,style:o})=>(0,he.jsx)("div",{className:n("mx-auto my-8 w-full",e),children:(0,he.jsx)("div",{className:n("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,he.jsx)(q,{content:t,enableGutter:!1,enableProse:!1})})});var xo=({links:e,richText:t})=>(0,he.jsx)("div",{className:"container",children:(0,he.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,he.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,he.jsx)(q,{className:"mb-0",content:t,enableGutter:!1})}),(0,he.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},r)=>(0,he.jsx)(Ue,{size:"lg",...o},r))})]})});var ir=require("prism-react-renderer");function Ga({code:e}){let[t,o]=(0,Do.useState)("Copy");function r(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,he.jsx)("div",{className:"flex justify-end align-middle",children:(0,he.jsxs)(ue,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),r()},children:[(0,he.jsx)("p",{children:t}),(0,he.jsx)("div",{className:"w-6 he-6 dark:invert",children:(0,he.jsx)(_i.ClipboardCopy,{})})]})})}var is=({code:e,language:t=""})=>e?(0,he.jsx)(ir.Highlight,{code:e,language:t,theme:ir.themes.vsDark,children:({getLineProps:o,getTokenProps:r,tokens:a})=>(0,he.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((i,l)=>(0,he.jsxs)("div",{...o({className:"table-row",line:i}),children:[(0,he.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,he.jsx)("span",{className:"table-cell pl-4",children:i.map((s,d)=>(0,he.jsx)("span",{...r({token:s})},d))})]},l)),(0,he.jsx)(Ga,{code:e})]})}):null;var Wa=({className:e,code:t,language:o})=>(0,he.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,he.jsx)(is,{code:t,language:o})});var Ot=e=>{let{className:t,enableGutter:o=!0,imgClassName:r,media:a,staticImage:i}=e;return(0,he.jsx)("div",{className:n("",{container:o},t),children:(0,he.jsx)(ge,{imgClassName:n("border border-border rounded-[0.8rem]",r),resource:a,src:i})})};var nr=f(require("react"));function Ua({nodes:e}){return(0,he.jsx)(nr.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let i=(0,he.jsx)(nr.default.Fragment,{children:t.text},o);return t.format&1&&(i=(0,he.jsx)("strong",{children:i},o)),t.format&2&&(i=(0,he.jsx)("em",{children:i},o)),t.format&4&&(i=(0,he.jsx)("span",{style:{textDecoration:"line-through"},children:i},o)),t.format&8&&(i=(0,he.jsx)("span",{style:{textDecoration:"underline"},children:i},o)),t.format&16&&(i=(0,he.jsx)("code",{children:t.text},o)),t.format&32&&(i=(0,he.jsx)("sub",{children:i},o)),t.format&64&&(i=(0,he.jsx)("sup",{children:i},o)),i}let r=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 Ua({nodes:i.children})},a="children"in t?r(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,he.jsx)(xo,{...i},o);case"mediaBlock":return(0,he.jsx)(Ot,{className:"col-start-1 col-span-3",imgClassName:"he-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,he.jsx)(_a,{className:"col-start-2 mb-4",...i},o);case"code":return(0,he.jsx)(Wa,{className:"col-start-2",...i},o);default:return null}}else switch(t.type){case"linebreak":return(0,he.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,he.jsx)("p",{className:"col-start-2",children:a},o);case"heading":{let i=t==null?void 0:t.tag;return(0,he.jsx)(i,{className:"col-start-2",children:a},o)}case"list":{let i=t==null?void 0:t.tag;return(0,he.jsx)(i,{className:"list col-start-2",children:a},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,he.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},o):(0,he.jsx)("li",{value:t==null?void 0:t.value,children:a},o);case"quote":return(0,he.jsx)("blockquote",{className:"col-start-2",children:a},o);case"link":{let i=t.fields;return(0,he.jsx)(Ue,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:a},o)}default:return null}})})}var q=({className:e,content:t,enableGutter:o=!0,enableProse:r=!0})=>{var a;return t?(0,he.jsx)("div",{className:n({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":r},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ua({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};function Kl({icon:e,title:t,body:o,color:r="secondary"}){return(0,he.jsx)(he.Fragment,{children:(0,he.jsxs)("div",{className:"flex py-0 min-he-16",children:[(0,he.jsx)("div",{className:"px-[2%] flex items-center",children:(0,he.jsx)("div",{className:"w-12 he-12",children:(0,he.jsx)(st,{type:e.type,iconName:e.name})})}),(0,he.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),o&&(0,he.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:o})]})})}var ss=f(require("next/image"));function Jl(e){let{url:t,mainImage:o,excerpt:r,title:a}=e;return(0,$e.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[o&&(0,$e.jsx)(ss.default,{alt:a||"",src:o,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,$e.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,$e.jsx)("div",{className:"mt-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:(0,$e.jsxs)("a",{href:t,children:[(0,$e.jsx)("span",{className:"absolute inset-0"}),a]})}),r&&(0,$e.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}var Zl=(e,t)=>`from-brand-${e} to-brand-${t}`;function ec({...e}){let t=Zl(e.brandFrom||"one",e.brandTo||"two");return(0,he.jsxs)("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,he.jsx)("p",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,he.jsxs)("a",{href:e.url,children:[(0,he.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,he.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,he.jsx)("circle",{r:1,cx:1,cy:1})}),(0,he.jsx)("span",{children:e.message&&e.message})]}):(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,he.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,he.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,he.jsx)("div",{className:"flex flex-1 justify-end"})]})}var wo=f(require("react")),tc={Architecture:(0,he.jsx)(_i.DraftingCompass,{className:"he-5 w-5 text-blue-600"}),Engineering:(0,he.jsx)(_i.Code,{className:"he-5 w-5 text-green-600"}),Development:(0,he.jsx)(_i.Code,{className:"he-5 w-5 text-purple-600"}),Delivery:(0,he.jsx)(_i.GanttChart,{className:"he-5 w-5 text-red-600"})},oc=({person:e,level:t,onToggle:o,isExpanded:r,isHighlighted:a})=>{let i=e.reports.length>0;return(0,he.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,he.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${a?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,he.jsx)("button",{onClick:o,className:"mr-2","aria-label":r?"Collapse":"Expand",children:r?(0,he.jsx)(_i.ChevronDown,{className:"he-4 w-4"}):(0,he.jsx)(_i.ChevronRight,{className:"he-4 w-4"})}),(0,he.jsx)("div",{className:"w-10 he-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,he.jsx)(_i.Users,{className:"he-6 w-6 text-gray-500"})}),(0,he.jsxs)("div",{children:[(0,he.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,he.jsxs)("div",{className:"flex items-center mt-1",children:[tc[e.discipline],(0,he.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,he.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},ls=({person:e,level:t,searchTerm:o})=>{let[r,a]=(0,wo.useState)(t<1),i=()=>a(!r),l=p=>p.name.toLowerCase().includes(o.toLowerCase())||p.discipline.toLowerCase().includes(o.toLowerCase())||p.grade.toLowerCase().includes(o.toLowerCase()),s=p=>l(p)||p.reports.some(s),d=o===""||s(e),c=l(e);return wo.default.useEffect(()=>{o!==""&&s(e)&&a(!0)},[o,e]),d?(0,he.jsxs)("div",{children:[(0,he.jsx)(oc,{person:e,level:t,onToggle:i,isExpanded:r,isHighlighted:c}),r&&e.reports.map((p,g)=>(0,he.jsx)(ls,{person:p,level:t+1,searchTerm:o},g))]}):null};function rc(){let[e,t]=(0,wo.useState)("");return(0,he.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,he.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,he.jsxs)("div",{className:"mb-4 relative",children:[(0,he.jsx)("input",{type:"text",placeholder:"Search by name, discipline, he grade",value:e,onChange:r=>t(r.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,he.jsx)(_i.Search,{className:"absolute right-3 top-2.5 he-5 w-5 text-gray-400"})]}),(0,he.jsx)("div",{className:"space-y-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 he. 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((r,a)=>(0,he.jsx)(ls,{person:r,level:0,searchTerm:e},a))})]})}function ac({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:o=["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:r="\xA3150,000 for delivery of listed outputs"}){return(0,he.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,he.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,he.jsxs)(se,{className:"flex-grow",children:[(0,he.jsx)(Ae,{className:"bg-primary text-primary-foreground",children:(0,he.jsxs)(De,{className:"flex items-center gap-2",children:[(0,he.jsx)(_i.Users,{className:"he-5 w-5"}),"Team"]})}),(0,he.jsxs)(Ne,{className:"p-6",children:[(0,he.jsx)("p",{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,he.jsxs)("div",{className:"space-y-6",children:[(0,he.jsx)("div",{className:"space-y-2",children:e.leadership.map((a,i)=>(0,he.jsxs)("div",{className:"flex items-center justify-between",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2",children:[(0,he.jsx)(_i.User,{className:"he-4 w-4 text-muted-foreground"}),(0,he.jsx)("span",{children:a.role})]}),a.isFTE&&(0,he.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,he.jsx)("div",{className:"space-y-2",children:e.core.map((a,i)=>(0,he.jsxs)("div",{className:"flex items-center justify-between",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2",children:[(0,he.jsx)(_i.User,{className:"he-4 w-4 text-muted-foreground"}),(0,he.jsx)("span",{children:a.role}),a.count&&(0,he.jsxs)("span",{children:["(",a.count,"x)"]})]}),a.isFTE&&(0,he.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,he.jsxs)("div",{children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,he.jsx)(_i.Users2,{className:"he-4 w-4 text-muted-foreground"}),(0,he.jsx)("span",{children:"SME input:"})]}),(0,he.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,he.jsxs)(se,{children:[(0,he.jsx)(Ae,{className:"bg-primary text-primary-foreground",children:(0,he.jsxs)(De,{className:"flex items-center gap-2",children:[(0,he.jsx)(_i.PoundSterling,{className:"he-5 w-5"}),"Fee"]})}),(0,he.jsx)(Ne,{className:"p-6",children:(0,he.jsx)("p",{className:"text-lg font-semibold",children:r})})]})]}),(0,he.jsxs)(se,{className:"lg:col-span-1 flex flex-col",children:[(0,he.jsx)(Ae,{className:"bg-primary text-primary-foreground",children:(0,he.jsxs)(De,{className:"flex items-center gap-2",children:[(0,he.jsx)(_i.FileText,{className:"he-5 w-5"}),"Outputs"]})}),(0,he.jsxs)(Ne,{className:"p-6 flex-grow overflow-auto",children:[(0,he.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((a,i)=>(0,he.jsxs)("li",{className:"text-sm",children:[(0,he.jsxs)("span",{className:"font-medium",children:[a.title,":"]})," ",(0,he.jsx)("span",{className:"text-muted-foreground",children:a.description})]},i))}),(0,he.jsx)("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,he.jsxs)(se,{className:"lg:col-span-1 flex flex-col",children:[(0,he.jsx)(Ae,{className:"bg-primary text-primary-foreground",children:(0,he.jsxs)(De,{className:"flex items-center gap-2",children:[(0,he.jsx)(_i.Lightbulb,{className:"he-5 w-5"}),"Benefits"]})}),(0,he.jsx)(Ne,{className:"p-6 flex-grow overflow-auto",children:(0,he.jsx)("ul",{className:"space-y-4",children:o.map((a,i)=>(0,he.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,he.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,he.jsx)("span",{children:a})]},i))})})]})]})}function ic(){return(0,he.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,he.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,he.jsxs)("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,he.jsx)("div",{className:"w-10 he-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,he.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,he.jsx)(_i.BarChart3,{className:"w-8 he-8"})]}),(0,he.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,he.jsx)("p",{className:"text-secondary text-sm",children:"he excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,he.jsxs)("ul",{className:"text-sm",children:[(0,he.jsx)("li",{children:"Strategy definition"}),(0,he.jsx)("li",{children:"Programme leadership"}),(0,he.jsx)("li",{children:"Detailed planning"}),(0,he.jsx)("li",{children:"\u2022 Financial control"}),(0,he.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,he.jsxs)("div",{className:"space-y-4",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,he.jsx)("div",{className:"w-10 he-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,he.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,he.jsx)(_i.CogIcon,{className:"w-8 he-8"})]}),(0,he.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,he.jsx)("p",{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,he.jsx)("p",{className:"text-sm",children:"he deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,he.jsxs)("div",{className:"space-y-4",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,he.jsx)("div",{className:"w-10 he-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,he.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,he.jsx)(_i.Building2,{className:"w-8 he-8"})]}),(0,he.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,he.jsx)("p",{className:"text-sky-200 text-sm",children:"he 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,he.jsx)("p",{className:"text-sm",children:"he have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,he.jsxs)("div",{className:"space-y-4",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,he.jsx)("div",{className:"w-10 he-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,he.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,he.jsx)(_i.BadgeCheck,{className:"w-8 he-8"})]}),(0,he.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,he.jsx)("p",{className:"text-sky-200 text-sm",children:"he have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,he.jsx)("p",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Xa=e=>{let{columns:t}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,he.jsx)("div",{className:"container my-6",children:(0,he.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((r,a)=>{let{enableLink:i,link:l,richText:s,size:d}=r;return(0,he.jsxs)("div",{className:n(`col-span-4 lg:col-span-${o[d]}`,{"md:col-span-2":d!=="full"}),children:[s&&(0,he.jsx)(q,{content:s,enableGutter:!1}),i&&(0,he.jsx)(Ue,{...l})]},a)})})})};var ja=({title:e,description:t,features:o})=>(0,he.jsxs)("section",{className:n("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,he.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,he.jsx)("p",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,he.jsx)("div",{className:`grid gap-8 md:grid-cols-${o?o.length:1}`,children:o&&o.map((r,a)=>{var l,s;let i=(0,he.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,he.jsx)("div",{className:"text-accent he-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,he.jsx)("i",{className:`${r.icon.type} fa-${r.icon.icon} fa-4x`})}),(0,he.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:r.title}),typeof r.content!="object"&&(0,he.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:r.content}}),typeof r.content=="object"&&(0,he.jsx)("div",{className:"text-lg opacity-80",children:(0,he.jsx)(q,{content:r.content,enableGutter:!1})})]},a);return console.log("link",r.link),r.link?(0,he.jsx)("a",{href:r.link.url?r.link.url:`/${(l=r.link.reference)==null?void 0:l.relationTo}/${((s=r.link.reference)==null?void 0:s.value).slug}`,className:"no-underline group",children:i},a):i})})]});var sr=f(require("next/image"));function nc({image:e,subtitle:t="Case study",title:o,companyLogo:r,customerLogo:a}){return(0,he.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,he.jsx)("div",{className:"absolute left-0 top-0 he-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,he.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] he-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,he.jsx)(sr.default,{src:e,alt:"Header background",className:"he-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,he.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[r&&(0,he.jsx)("div",{className:"he-16 w-32 md:he-24 md:w-48",children:(0,he.jsx)(sr.default,{src:r,alt:"Company logo",className:"he-full w-full object-contain",width:192,height:96})}),a&&(0,he.jsx)("div",{className:"he-10 w-20 md:he-12 md:w-24",children:(0,he.jsx)(sr.default,{src:a,alt:"Customer logo",className:"he-full w-full object-contain",width:96,height:48})})]}),(0,he.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,he.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,he.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:o})]})]})}var sc=e=>{let{className:t,enableGutter:o=!0,imgClassName:r,media:a,staticImage:i}=e;return(0,$a.jsx)("div",{className:n("",{container:o},t),children:(0,$a.jsx)(ge,{imgClassName:n("border border-border rounded-[0.8rem]",r),resource:a,src:i})})};var cs={content:Xa,cta:xo,mediaBlock:Ot,imageBlock:Ot,features:ja},lc=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,he.jsx)(Do.Fragment,{children:t.map((r,a)=>{let{blockType:i}=r;if(i&&i in cs){let l=cs[i];if(l)return(0,he.jsx)("div",{className:"my-6",children:(0,he.jsx)(l,{...r})},a)}return null})}):null};var ms=f(require("clsx"));var cc=e=>{let{className:t,docs:o,introContent:r}=e;return(0,he.jsxs)("div",{className:(0,ms.default)("container",t),children:[r&&(0,he.jsx)(q,{content:r,enableGutter:!1}),(0,he.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:o==null?void 0:o.map((a,i)=>typeof a=="string"?null:(0,he.jsx)(ho,{doc:a,relationTo:"posts",showCategories:!0},i))})]})};var Ya=f(require("clsx"));function dc({mainNav:e,secondaryNav:t,title:o,subTitle:r,pathName:a,menuHeading:i,onNavClick:l,loading:s=!1,LinkComponent:d,...c}){let g=d?b=>(0,he.jsx)(d,{...b}):l?({href:b,children:x,...M})=>(0,he.jsx)("button",{onClick:()=>l&&l(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...M,children:x}):b=>(0,he.jsx)("a",{...b});return(0,he.jsxs)(dt,{...c,variant:"inset",children:[(0,he.jsx)(mt,{children:(0,he.jsx)(ne,{children:(0,he.jsx)(Q,{children:s?(0,he.jsxs)("div",{className:"grid flex-1 p-2 text-left text-he leading-tight",children:[(0,he.jsx)(G,{className:"bg-gray-200 my-2 w-full he-7"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 my-2 he-5"})]}):(0,he.jsxs)("div",{className:"grid flex-1 p-2 text-left text-he leading-tight",children:[(0,he.jsx)("span",{className:"truncate font-semibold",children:o}),r&&(0,he.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),s&&(0,he.jsxs)(Ze,{children:[(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"}),(0,he.jsx)(G,{className:"bg-gray-200 w-3/4 he-5"})]}),(0,he.jsxs)(Ze,{children:[e&&!s&&e.map((b,x)=>(0,he.jsx)(mc,{subNav:b,pathName:a,Link:g},x)),(0,he.jsx)(ye,{className:"mt-auto",children:(0,he.jsx)(Ce,{children:(0,he.jsx)(ne,{children:t&&!s&&t.map(b=>(0,he.jsx)(Q,{children:(0,he.jsx)(xe,{asChild:!0,size:"sm",children:(0,he.jsxs)(g,{href:b.url||"",children:[b.icon&&(0,he.jsx)(b.icon,{}),(0,he.jsx)("span",{children:b.label})]})})},b.label))})})})]}),(0,he.jsx)(pt,{})]})}function mc({subNav:e,pathName:t,Link:o}){var i,l;let r=e,a=!1;return r.links&&r.links.map(s=>{s.url===t&&(a=!0)}),(0,he.jsx)(He,{defaultOpen:!0,className:"group/collapsible",children:(0,he.jsx)(ye,{className:"py-0",children:(0,he.jsx)(ne,{children:(0,he.jsx)(He,{asChild:!0,defaultOpen:r.isActive,children:(0,he.jsxs)(Q,{children:[(0,he.jsx)(xe,{asChild:!0,tooltip:r.label,className:(0,Ya.default)(a&&"font-bold text-accent"),children:(0,he.jsxs)(o,{href:r.url,children:[r.icon&&(0,he.jsx)(r.icon,{}),(0,he.jsx)("span",{children:r.label})]})}),(i=r.links)!=null&&i.length?(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(Ke,{asChild:!0,children:(0,he.jsxs)(oo,{className:"data-[state=open]:rotate-90",children:[(0,he.jsx)(_i.ChevronRight,{}),(0,he.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,he.jsx)(Je,{children:(0,he.jsx)(et,{children:(l=r.links)==null?void 0:l.map(s=>(0,he.jsx)(tt,{children:(0,he.jsx)(ot,{asChild:!0,className:(0,Ya.default)(s.url===t&&"font-bold text-accent"),children:(0,he.jsx)(o,{href:s.url,children:(0,he.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},r.label)})})})}var us=f(require("clsx"));var pc=()=>(0,he.jsx)(st,{iconName:"github",size:"10x"});function uc({relatedContent:e,tableOfContents:t,editorComponent:o,loading:r=!1,editMode:a=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:s,onGithubClick:d,onNavClick:c,LinkComponent:p,...g}){let M=p?u=>(0,he.jsx)(p,{...u}):c?({item:u,children:y,...A})=>(0,he.jsx)("button",{onClick:()=>c&&c(u),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...A,children:y}):u=>(0,he.jsx)("a",{href:u.href,...u});return(0,he.jsxs)(dt,{side:"right",variant:"inset",...g,children:[(0,he.jsxs)(mt,{className:"border-b border-sidebar-border",children:[(0,he.jsxs)(ne,{className:"flex-row space-x-1",children:[(0,he.jsx)(Q,{children:(0,he.jsxs)(xe,{onClick:i,children:[(0,he.jsx)(_i.FilePlus,{})," ",(0,he.jsx)("span",{children:"Add Document"})]})}),d&&(0,he.jsx)(Q,{children:(0,he.jsx)(xe,{onClick:d,tooltip:"Open in GitHub",children:(0,he.jsx)(pc,{})})})]}),(0,he.jsxs)(ne,{className:"flex-row space-x-1",children:[(0,he.jsx)(Q,{className:"w-5/12",children:(0,he.jsxs)(xe,{onClick:()=>l(),variant:a?"outline":"default",className:(0,us.default)(a&&"text-accent"),children:[(0,he.jsx)(_i.Edit,{})," ",(0,he.jsx)("span",{children:"Edit"})]})}),(0,he.jsx)(Q,{className:"w-5/12",children:(0,he.jsxs)(xe,{onClick:s,children:[(0,he.jsx)(_i.Printer,{})," ",(0,he.jsx)("span",{children:"Print"})]})})]})]}),o&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(He,{defaultOpen:!0,className:"group/collapsible",children:(0,he.jsxs)(ye,{children:[(0,he.jsx)(_e,{asChild:!0,children:(0,he.jsxs)(Ke,{children:["Editor Controls",(0,he.jsx)(_i.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,he.jsx)(Ce,{children:(0,he.jsx)(Je,{children:o})})]})}),(0,he.jsx)(to,{className:"mx-0"})]}),(0,he.jsxs)(Ze,{className:"overflow-auto",children:[r&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsxs)(ye,{children:[(0,he.jsx)(_e,{children:"Related Content"}),(0,he.jsx)(Ce,{children:(0,he.jsx)(ne,{children:Array.from({length:3}).map((u,y)=>(0,he.jsx)(Q,{children:(0,he.jsx)(G,{className:"bg-gray-200 w-full he-10"})},y))})})]}),(0,he.jsxs)(ye,{children:[(0,he.jsx)(_e,{children:"Table of Contents"}),(0,he.jsx)(Ce,{children:(0,he.jsx)(ne,{children:Array.from({length:3}).map((u,y)=>(0,he.jsx)(Q,{children:(0,he.jsx)(G,{className:"bg-gray-200 w-full he-10"})},y))})})]})]}),e&&!r&&Object.keys(e).length>0&&(0,he.jsx)(He,{defaultOpen:!0,className:"group/collapsible",children:(0,he.jsxs)(ye,{children:[(0,he.jsx)(_e,{asChild:!0,children:(0,he.jsxs)(Ke,{children:["Related Content",(0,he.jsx)(_i.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,he.jsx)(Ce,{children:(0,he.jsx)(Je,{children:(0,he.jsx)(ne,{children:e&&Object.keys(e).map(u=>(0,he.jsxs)(Q,{children:[(0,he.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",u.charAt(0).toUpperCase()+u.slice(1)]}),u&&e[u]&&(0,he.jsx)(et,{children:e[u].map(y=>(0,he.jsx)(tt,{children:(0,he.jsx)(ot,{asChild:!0,isActive:!1,size:"sm",children:(0,he.jsxs)(M,{href:y.url,item:y,className:"flex justify-between items-center w-full text-xs",children:[(0,he.jsx)("span",{children:y.label}),y.type==="note"&&(0,he.jsx)(_i.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),y.type==="draft"&&(0,he.jsx)(st,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},y.label))})]},u))})})})]})}),t&&!r&&(0,he.jsx)(He,{defaultOpen:!0,className:"group/collapsible",children:(0,he.jsxs)(ye,{children:[(0,he.jsx)(_e,{asChild:!0,children:(0,he.jsxs)(Ke,{children:["Table of Contents",(0,he.jsx)(_i.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,he.jsx)(Ce,{children:(0,he.jsx)(Je,{children:(0,he.jsx)(ne,{children:t.map(u=>{var y;return(0,he.jsxs)(Q,{children:[(0,he.jsx)(xe,{asChild:!0,children:(0,he.jsx)("a",{href:`#${u.url}`,className:"text-xs",children:u.title})}),(y=u.items)!=null&&y.length?(0,he.jsx)(et,{children:u.items.map(A=>(0,he.jsx)(tt,{children:(0,he.jsx)(ot,{asChild:!0,isActive:A.isActive,size:"sm",children:(0,he.jsx)("a",{href:`#${A.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,he.jsx)("span",{children:A.title})})})},A.title))}):null]},u.title)})})})})]})})]}),(0,he.jsx)(pt,{})]})}var gs=f(require("next/image"));function fc({title:e,members:t}){return(0,he.jsx)(se,{className:"mb-6",children:(0,he.jsxs)("div",{className:"p-6",children:[(0,he.jsxs)("div",{className:"flex items-center mb-4",children:[(0,he.jsx)(_i.Users,{className:"w-6 he-6 text-accent mr-2"}),(0,he.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,he.jsx)("div",{className:"space-y-4",children:t.map((o,r)=>(0,he.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,he.jsx)("div",{className:"relative w-12 he-12 rounded-full overflow-hidden",children:o.avatar&&(0,he.jsx)(gs.default,{src:o.avatar,alt:o.name,layout:"fill",objectFit:"cover"})}),(0,he.jsxs)("div",{children:[(0,he.jsx)("p",{className:"font-semibold text-foreground",children:o.name}),o.role&&(0,he.jsx)("p",{className:"text-sm text-muted-foreground",children:o.role})]})]},r))})]})})}var bs=f(require("next/link"));var gc=({links:e})=>(0,he.jsxs)(se,{children:[(0,he.jsx)(Ae,{children:(0,he.jsx)(De,{children:"Related"})}),(0,he.jsx)(Ne,{children:(0,he.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,o)=>(0,he.jsxs)(bs.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,he.jsx)(_i.ExternalLink,{className:"ml-1 he-3 w-3"})]},o))})})]});var hs=f(require("next/image"));var qa=({links:e,media:t,children:o,richText:r})=>(0,he.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,he.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,he.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[o||r&&(0,he.jsx)(q,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:r,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,he.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:a},i)=>(0,he.jsx)("li",{children:(0,he.jsx)(Ue,{...a})},i))})]})}),(0,he.jsxs)("div",{className:"min-he-[80vh] select-none",children:[t&&typeof t=="object"&&(0,he.jsx)(ge,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,he.jsx)("div",{children:(0,he.jsx)(hs.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,he.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Qa=f(require("next/image"));var bc=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:o,height:r,url:a,width:i}=e;return(0,he.jsx)(Qa.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:a||"",width:i||0,height:r||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,he.jsx)("div",{children:(0,he.jsx)(Qa.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ka=({links:e,media:t,children:o,richText:r})=>(0,he.jsxs)("div",{className:"relative bg-brand-one pb-12 pt-10",children:[t&&(0,he.jsx)(bc,{media:t}),(0,he.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,he.jsx)("div",{className:"container text-brand-one-foreground",children:o||r&&(0,he.jsx)(q,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:r,enableProse:!0,enableGutter:!1})})})]});var Ja=({children:e,richText:t})=>(0,he.jsx)("div",{className:"min-w-full py-8 bg-muted",children:(0,he.jsx)("div",{className:"container",children:e||t&&(0,he.jsx)(q,{content:t,enableGutter:!1})})});var ys=e=>{let o=new Date;e&&(o=new Date(e));let r=o.getMonth(),a=o.getDate(),i=r+1<10?`0${r+1}`:r+1,l=a<10?`0${a}`:a,s=o.getFullYear();return`${i}/${l}/${s}`};var Ct=f(require("react"));var xs=f(require("next/image")),vc=({post:e})=>{let{categories:t,meta:{image:o}={},populatedAuthors:r,publishedAt:a,title:i}=e;return(0,he.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,he.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,he.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,he.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,s)=>{if(typeof l=="object"&&l!==null){let{title:d}=l,c=d||"Untitled category",p=s===t.length-1;return(0,he.jsxs)(Ct.default.Fragment,{children:[c,!p&&(0,he.jsx)(Ct.default.Fragment,{children:", \xA0"})]},s)}return null})}),(0,he.jsx)("div",{className:"",children:(0,he.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,he.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,he.jsx)("div",{className:"flex flex-col gap-4",children:r&&(0,he.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,he.jsx)("p",{className:"text-sm",children:"Author"}),r.map((l,s)=>{let{name:d}=l,c=s===r.length-1,p=s===r.length-2;return(0,he.jsxs)(Ct.default.Fragment,{children:[d,p&&r.length>2&&(0,he.jsx)(Ct.default.Fragment,{children:", "}),p&&r.length===2&&(0,he.jsx)(Ct.default.Fragment,{children:" "}),!c&&r.length>1&&(0,he.jsx)(Ct.default.Fragment,{children:"and "})]},s)})]})}),a&&(0,he.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,he.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,he.jsx)("time",{dateTime:a,children:ys(a)})]})]})]})}),(0,he.jsxs)("div",{className:"min-he-[80vh] select-none",children:[o&&typeof o!="string"&&(0,he.jsx)(ge,{fill:!0,imgClassName:"-z-10 object-cover",resource:o}),o&&typeof o=="string"&&(0,he.jsx)("div",{children:(0,he.jsx)(xs.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:o})}),(0,he.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full he-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var hc={highImpact:qa,lowImpact:Ja,mediumImpact:Ka},yc=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let o=hc[t];return o?(0,he.jsx)(o,{...e}):null};function dr({children:e,isFluid:t=!1,isNoPadding:o=!1}){let r=n("container",t&&"full-width",o&&"no-padding");return(0,he.jsx)("div",{className:r,children:e})}var Rs=f(require("next/link"));function mr({children:e,href:t,openNewTab:o,...r}){return(0,he.jsx)(Rs.default,{href:t,target:o?"_blank":"_self",...r,children:e})}var Ts=f(require("next/image")),ks=f(require("react"));var Cs="../hero-3-N2CBGEV6.jpg";function wc({title:e,breadcrumbItems:t,image:o=Cs.src}){return(0,he.jsxs)("section",{className:"section-padding-primary -mt-[10.4rem] relative flex min-he-[250px] items-end",children:[(0,he.jsx)("div",{className:"absolute inset-0 z-0",children:(0,he.jsx)(Ts.default,{priority:!0,src:o,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,he.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,he.jsx)(dr,{children:(0,he.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,he.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,he.jsx)(Nc,{breadcrumbItems:t})]})})]})}var Ss=n("h3 font-secondary");function Nc({breadcrumbItems:e}){return e&&e.length>0?(0,he.jsx)("nav",{"aria-label":"breadcrumb",children:(0,he.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,o)=>(0,he.jsx)(ks.default.Fragment,{children:t.href?(0,he.jsxs)("li",{className:Ss,children:[(0,he.jsx)(mr,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,he.jsx)("span",{className:"ml-5",children:"/"})]}):(0,he.jsx)("li",{className:Ss,"aria-current":"page",children:t.label})},o))})}):(0,he.jsx)(he.Fragment,{})}var ve=require("@headlessui/react"),ur=require("@heroicons/react/24/outline"),No=require("@heroicons/react/20/solid");var Rc=({name:e,items:t,actions:o=[],href:r})=>!t&&r?(0,he.jsxs)("a",{href:r,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,he.jsxs)(ve.Popover,{children:[(0,he.jsxs)(ve.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,he.jsxs)("span",{className:"relative",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,he.jsx)(No.ChevronDownIcon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-accent"})]}),(0,he.jsxs)(ve.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,he.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(a=>(0,he.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,he.jsx)("div",{className:"flex he-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,he.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,he.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,he.jsx)("span",{className:"absolute inset-0"})]}),(0,he.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),o.length>0&&(0,he.jsx)("div",{className:"bg-gray-50",children:(0,he.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,he.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:o.map(a=>(0,he.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,he.jsx)(a.icon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),As=Rc;var pr=["light","dark","green"];function Pc({title:e,logo:t,menuItems:o}){let[r,a]=(0,Do.useState)(!1),[i,l]=(0,Do.useState)(!1),[s,d]=(0,Do.useState)("light"),c=t==null?void 0:t.split(".")[0],p=t==null?void 0:t.split(".")[1],[g,b]=(0,Do.useState)(`${c}.${p}`),x=u=>{pr.includes(u)?b(u==="light"?`${c}.${p}`:`${c}-${u}.${p}`):b(`${c}.${p}`)};(0,Do.useEffect)(()=>{let u=localStorage.getItem("theme")||"light";console.log("storedTheme",u),d(u),document.documentElement.setAttribute("class",u),x(u)},[]);let M=()=>{let u=pr[(pr.indexOf(s)+1)%pr.length];d(u),document.documentElement.setAttribute("class",u),localStorage.setItem("theme",u),x(u)};return(0,he.jsxs)("header",{className:"relative isolate z-10 bg-background he-14",children:[(0,he.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,he.jsx)("div",{className:"flex lg:flex-1",children:(0,he.jsxs)("a",{href:"#",className:"-he-1.5 p-1.5 outline-none",children:[(0,he.jsx)("span",{className:"sr-only",children:e}),(0,he.jsx)("img",{alt:e,src:g,className:"he-9 w-auto"})]})}),(0,he.jsx)("div",{className:"flex lg:hidden",children:(0,he.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-he-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,he.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,he.jsx)(ur.Bars3Icon,{"aria-hidden":"true",className:"he-6 w-6"})]})}),(0,he.jsx)(ve.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o.map(u=>(0,he.jsx)(As,{...u},u.name))}),(0,he.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,he.jsx)("button",{onClick:M,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,he.jsx)(No.SunIcon,{className:"he-6 w-6"}):s==="green"?(0,he.jsx)(No.MoonIcon,{className:"he-6 w-6"}):(0,he.jsx)(No.SunIcon,{className:"he-6 w-6"})})})]}),(0,he.jsxs)(ve.Dialog,{open:r,onClose:a,className:"lg:hidden",children:[(0,he.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,he.jsxs)(ve.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,he.jsxs)("div",{className:"flex items-center justify-between",children:[(0,he.jsxs)("a",{href:"#",className:"-he-1.5 p-1.5 outline-none",children:[(0,he.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,he.jsx)("img",{alt:e,src:t,className:"he-8 w-auto"})]}),(0,he.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-he-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,he.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,he.jsx)(ur.XMarkIcon,{"aria-hidden":"true",className:"he-6 w-6"})]})]}),(0,he.jsx)("div",{className:"mt-6 flow-root",children:(0,he.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,he.jsx)("div",{className:"space-y-2 py-6",children:o.map(u=>(0,he.jsx)(Cc,{...u},u.name))})})})]})]})]})}function Cc({name:e,items:t,actions:o,href:r}){return!t&&r?(0,he.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,he.jsxs)(ve.Disclosure,{Do:"div",className:"-mx-3",children:[(0,he.jsx)(ve.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,he.jsx)(ve.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,he.jsx)(ve.DisclosureButton,{Do:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var Is=f(require("next/image"));var Za=f(require("next/image"));function Ds({logoLight:e,logoDark:t}){return(0,he.jsxs)(mr,{href:"/",className:"py-2",children:[(0,he.jsx)(Za.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:"200px",height:"auto"}}),(0,he.jsx)(Za.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:"200px",height:"auto"}})]})}function ei({isMenuOpen:e,logoLight:t,logoDark:o}){let[r,a]=(0,Do.useState)(!1),[i,l]=(0,Do.useState)("light"),s=["light","dark"];(0,Do.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),l(c),document.documentElement.setAttribute("class",c)},[]);let d=()=>{let c=s[(s.indexOf(i)+1)%s.length];l(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,Do.useEffect)(()=>{let c=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,he.jsx)(he.Fragment,{children:(0,he.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,he.jsx)(dr,{children:(0,he.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,he.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl dark:border dark:border-accent",children:[(0,he.jsx)(Ds,{logoDark:o,logoLight:t}),(0,he.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,he.jsx)("li",{children:(0,he.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,he.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 he-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,he.jsx)("li",{children:(0,he.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,he.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 he-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,he.jsx)("li",{children:(0,he.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,he.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 he-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,he.jsx)("li",{children:(0,he.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,he.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 he-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,he.jsx)("div",{className:"flex items-center space-x-4",children:(0,he.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:d,children:(0,he.jsxs)("div",{className:"relative",children:[(0,he.jsx)(_i.Sun,{className:"absolute he-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,he.jsx)(_i.Moon,{className:"absoulte he-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function Sc({logoVideo:e,logoLight:t,logoDark:o}){let[r,a]=(0,Do.useState)(!1),[i,l]=(0,Do.useState)(!1),[s,d]=(0,Do.useState)(!1),c=()=>{let g=document.getElementById("next-section");g&&g.scrollIntoView({behavior:"smooth"})};return(0,Do.useEffect)(()=>{let g=()=>{window.scrollY>100?(l(!0),d(!1)):(l(!1),d(!0))};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,Do.useEffect)(()=>{let g=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,he.jsxs)("div",{className:"relative he-screen",children:[(0,he.jsxs)("div",{className:"absolute inset-0 w-full he-screen overflow-hidden",children:[(0,he.jsxs)("video",{className:"object-cover w-full he-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,he.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,he.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!r&&(0,he.jsx)("button",{className:"fixed top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{d(!s)},children:s?(0,he.jsx)(_i.he,{className:"w-6 he-6 text-white"}):(0,he.jsx)(_i.Menu,{className:"w-6 he-6 text-white"})}),(0,he.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50",children:(0,he.jsx)(ei,{isMenuOpen:r,logoLight:t,logoDark:o})}),(0,he.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${i||s?"opacity-0":"opacity-100"}`}),(0,he.jsxs)("div",{className:"absolute inset-0 he-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,he.jsx)(Is.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"he-auto w-auto mt-8"}),(0,he.jsxs)("div",{children:[(0,he.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"he are Cortex Reply."}),(0,he.jsx)("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,he.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,he.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:c,children:(0,he.jsx)(_i.ChevronDown,{size:64})})})]})]})}0&&(module.exports={Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,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,HeaderDesktop,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,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,toggleVariants,useIsMobile,useSidebar,useToast});
10
+ `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,xe.jsx)("div",{className:"relative z-10 flex xe-full flex-col",children:(0,xe.jsxs)("div",{className:"xe-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,xe.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,xe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})}),(0,xe.jsx)("p",{className:"xe-[13px] overflow-hidden Vi-[11px] text-body",children:(0,xe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:r})})]})})]})}var Ia=f(require("next/image")),tr=f(require("path"));function Ol(e){try{let t=new URL(e),{hostname:o}=t;return o.endsWith("sharepoint.com")}catch{return!1}}function Vl(e){return e.startsWith("http")}function Wl(e,t){let o=e;if(Ol(e))o=`/docs/api/content/sharepoint?url=${e}`;else if(Vl(e))o=e;else if(t.source==="github"){let r=e.replace("./","");if(r.startsWith("/")&&(r=r.slice(1)),t.linked){if(t.linked.path){let a=tr.default.dirname(t.linked.path);a.startsWith(".")||(r=`${a}/${r}`)}o=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${r}&branch=${t.linked.branch}`}else{if(t.file){let a=tr.default.dirname(t.file);a.startsWith(".")||(r=`${a}/${r}`)}o=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${r}&branch=${t.branch}`}}else if(e.startsWith("/"))o=e;else if(e.startsWith("./")){let r=e.replace("./","");t.file&&(r=`/${tr.default.dirname(t.file)}/${r}`),o=r}else o="/image-not-found.png";return o}function Ul({src:e,alt:t}){let[o,r]=(0,Lo.useState)(!1),[a,i]=(0,Lo.useState)(!1),[l,s]=(0,Lo.useState)({width:0,height:0}),d=()=>{a&&r(!0)},c=()=>{r(!1)},p=g=>{let{naturalWidth:b,naturalHeight:x}=g.target;s({width:b,height:x}),i(b>300||x>300)};return(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"xe-[300px]":`xe-[${l.height}px]`}`,onClick:d,children:(0,xe.jsx)(Ia.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:p,unoptimized:!0,className:"object-contain max-w-full max-xe-full"})}),(0,xe.jsx)(Gt,{open:o,onOpenChange:r,children:(0,xe.jsxs)(yt,{className:"flex flex-col items-center justify-center",children:[(0,xe.jsxs)(go,{className:"flex w-full justify-end",children:[(0,xe.jsx)(bo,{className:"hidden",children:t}),(0,xe.jsx)(jo,{})]}),(0,xe.jsx)("div",{className:"flex items-center justify-center",children:(0,xe.jsx)(Ia.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Fn({props:e,baseContext:t}){let{src:o}=e;return o=Wl(o,t),(0,xe.jsx)(Ul,{src:o,alt:e.alt})}var _n=f(require("next/link"));function $e({children:e,href:t,openNewTab:o,...r}){return(0,xe.jsx)(_n.default,{href:t,target:o?"_blank":"_self",...r,children:e})}function Xl(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function jl({icon:e,title:t,description:o,slug:r}){return(0,xe.jsxs)("article",{className:n(["group/service bg-white shadow-3 transition-transform duration-350 dark:bg-card dark:text-white dark:shadow-none","relative z-1 block xe-full space-y-6 overflow-hidden rounded-5 p-6 md:space-y-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,xe.jsxs)("div",{className:"flex items-center gap-5",children:[(0,xe.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:Xl(e)?(0,xe.jsx)(Ie,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,xe.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r?(0,xe.jsx)($e,{href:r,children:t}):t})]}),(0,xe.jsx)("p",{className:"text-body dark:text-body",children:o}),r&&(0,xe.jsx)(Q,{asChild:!0,className:n(["rounded-5 border p-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,xe.jsxs)($e,{href:r,children:[(0,xe.jsx)("span",{children:"Read More"}),(0,xe.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,xe.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,xe.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,xe.jsx)("span",{className:"invisible absolute bottom-0 left-0 xe-[2px] w-full scale-x-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-x-100 group-hover/service:opacity-100"})]})}var rr=require("react-icons/fa6");function $l({title:e,description:t,features:o,price:r,duration:a,button:i}){return(0,xe.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,xe.jsxs)("div",{className:"xe-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:Vi-14 lg:border-r lg:p-10",children:[(0,xe.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,xe.jsx)("p",{children:t})]}),(0,xe.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,xe.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-y-5 md:flex-row md:items-center",children:[o&&o.length>0&&(0,xe.jsx)("ul",{"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:o.map((l,s)=>(0,xe.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,xe.jsx)("span",{className:"text-accent Vi-1",children:(0,xe.jsx)(rr.FaCircleCheck,{})}),(0,xe.jsx)("span",{children:l})]},s))}),(0,xe.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[r&&r,(0,xe.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:a&&a})]}),i&&(0,xe.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,xe.jsx)(Q,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,xe.jsxs)($e,{href:i.href,openNewTab:i.openNewTab,children:[(0,xe.jsx)("span",{className:"relative z-1",children:i.label}),(0,xe.jsx)("span",{className:"relative z-1 pl-2",children:(0,xe.jsx)(rr.FaAnglesRight,{})})]})})})]})})]})}var On=({children:e,cardsPerRow:t=3})=>{let o=`repeat(${t}, minmax(0, 1fr))`;return(0,xe.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:o},children:e})};function Un({sections:e}){var l;let[t,o]=(0,Lo.useState)((l=e[0])==null?void 0:l.id),r=(0,Lo.useRef)([]);(0,Lo.useEffect)(()=>{let s=[];return e.forEach(d=>{let c=new IntersectionObserver(g=>{g.forEach(b=>{b.isIntersecting&&o(d.id)})},{threshold:.5}),p=document.getElementById(d.id);p&&c.observe(p),s.push(c)}),r.current=s,()=>{s.forEach(d=>d.disconnect())}},[e]);let a=s=>{let d=document.getElementById(s);d&&d.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let s=e.findIndex(c=>c.id===t),d=e[s+1]||e[0];a(d.id)};return(0,xe.jsxs)("div",{className:"flex xe-screen relative",children:[(0,xe.jsx)("div",{className:"fixed left-0 top-0 flex xe-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(s=>(0,xe.jsx)("button",{className:`group relative my-2 xe-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===s.id?s.color:"bg-gray-300"}`,onClick:()=>a(s.id),children:(0,xe.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-x-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100 lg:block",children:s.title})},s.id))}),(0,xe.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:e.map(s=>(0,xe.jsx)("div",{id:s.id,className:`flex xe-screen items-center justify-center snap-always snap-start text-4xl text-white ${s.color}`,children:s.title},s.id))}),(0,xe.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,xe.jsx)(Vi.CircleChevronDown,{})})]})}var Kn=f(require("next/link"));var jn=f(require("next/image"));var Xn=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ar=()=>{if(Xn){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Yl={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ql="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=",$n=e=>{let{alt:t,fill:o,imgClassName:r,priority:a,resource:i,size:l,src:s,loading:d}=e,c,p,g=t,b=s||"";if(!b&&i&&typeof i=="object"){let{alt:u,filename:y,height:A,url:D,width:re}=i;c=re,p=A,g=u||"",b=`${ar()}${D}`}let x=d||"lazy",M=l||Object.entries(Yl).map(([,u])=>`(max-width: ${u}px) ${u*2}w`).join(", ");return(0,xe.jsx)("picture",{children:(0,xe.jsx)(jn.default,{alt:g||"",className:n(r),fill:o,height:o?void 0:p,placeholder:"blur",blurDataURL:ql,priority:x!=="lazy"&&a,quality:100,loading:x,sizes:M,src:b,width:o?void 0:c})})};var Yn=e=>{let{onClick:t,resource:o,videoClassName:r}=e,a=(0,Lo.useRef)(null);if((0,Lo.useEffect)(()=>{let{current:i}=a;i&&i.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:i}=o;return(0,xe.jsx)("video",{autoPlay:!0,className:n(r),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,xe.jsx)("source",{src:`${ar()}/media/${i}`})})}return null};var ve=e=>{var l;let{className:t,htmlElement:o="div",resource:r}=e,a=typeof r=="object"&&((l=r==null?void 0:r.mimeType)==null?void 0:l.includes("video"));return(0,xe.jsx)(o||Lo.Fragment,{...o!==null?{className:t}:{},children:a?(0,xe.jsx)(Yn,{...e}):(0,xe.jsx)($n,{...e})})};function Jn(){let[e,t]=(0,Lo.useState)("All News"),[o,r]=(0,Lo.useState)([]),[a,i]=(0,Lo.useState)(1),[l,s]=(0,Lo.useState)(1),d=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,Lo.useEffect)(()=>{async function c(){if(e==="All News"){let x=await(await fetch(`/api/posts?page=${a}`)).json();r(x.docs),s(x.totalPages);return}let g=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${a}`)).json();r(g.docs),s(g.totalPages)}c()},[e,a]),(0,xe.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,xe.jsxs)("div",{className:"flex gap-2 overflow-x-auto pb-4 mb-6",children:[d.map(c=>(0,xe.jsx)(Q,{variant:c===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(c),children:c},c)),(0,xe.jsxs)(Q,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,xe.jsx)(Vi.ChevronRight,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,xe.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:o&&o.map(c=>(0,xe.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,xe.jsx)(ve,{resource:c.meta.image,size:"33vw"}),(0,xe.jsxs)("div",{className:"p-4",children:[(0,xe.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[c.populatedAuthors&&c.populatedAuthors.map(p=>p.name)," ","\xB7"," ",c.publishedAt&&new Date(c.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,xe.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,xe.jsx)("div",{className:"flex justify-center gap-1 xe-8",children:Array.from({length:l},(c,p)=>p+1).map(c=>(0,xe.jsx)(Q,{variant:c===a?"default":"ghost",size:"icon",className:"w-10 xe-10 rounded-full",onClick:()=>i(c),children:c},c))})]})}function Zn({title:e,subtitle:t,description:o,missionTitle:r,missionDescription:a,images:i,raisedAmount:l,companiesCount:s,dealsClosed:d,leadsGenerated:c}){return(0,xe.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,xe.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,xe.jsxs)("div",{className:"max-w-4xl",children:[(0,xe.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,xe.jsx)("h1",{className:"xe-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,xe.jsx)("p",{className:"xe-6 text-balance text-xl/8 text-gray-700",children:o})]}),(0,xe.jsxs)("section",{className:"xe-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[(0,xe.jsxs)("div",{className:"lg:xe-8",children:[(0,xe.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:r}),(0,xe.jsx)("p",{className:"xe-6 text-base/7 text-gray-600",children:a})]}),(0,xe.jsx)("div",{className:"Vi-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,xe.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((p,g)=>(0,xe.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,xe.jsx)("img",{alt:"",src:p,className:"block size-full object-cover"})},g))})}),(0,xe.jsxs)("div",{className:"max-lg:xe-16 lg:col-span-1",children:[(0,xe.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,xe.jsx)("hr",{className:"xe-6 border-t border-gray-200"}),(0,xe.jsxs)("dl",{className:"xe-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[(0,xe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,xe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,xe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,xe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,xe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,xe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[s,"K"]})]}),(0,xe.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,xe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,xe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"M"]})]}),(0,xe.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,xe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,xe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"M"]})]})]})]})]})]})})}var es=require("next/navigation");function Ql({external:e=!1,newTab:t=!1,scroll:o=!0}){let r=(0,es.useRouter)(),a=(0,Lo.useRef)(null),i=(0,Lo.useRef)(null),l=(0,Lo.useRef)(0),s=(0,Lo.useRef)(!1),d=(0,Lo.useRef)(0),c=(0,Lo.useCallback)(g=>{if(g.target){let b=g.target,x=+new Date,M=b==null?void 0:b.closest("a");d.current=g.button,M?s.current=!0:(s.current=!1,l.current=x)}},[r,a,i,l]),p=(0,Lo.useCallback)(g=>{var b,x;if((b=i.current)!=null&&b.href){let u=+new Date-l.current;if((x=i.current)!=null&&x.href&&u<=250&&!s.current&&d.current===0&&!g.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(i.current.href,y)}else r.push(i.current.href,{scroll:o})}},[r,a,i,l]);return(0,Lo.useEffect)(()=>{let g=a.current;return g&&(g.addEventListener("mousedown",c),g.addEventListener("mouseup",p)),()=>{g&&g&&(g==null||g.removeEventListener("mousedown",c),g==null||g.removeEventListener("mouseup",p))}},[a,i,r]),{card:{ref:a},link:{ref:i}}}var ts=Ql;var os=f(require("next/link"));var wo=e=>{let{card:t,link:o}=ts({}),{className:r,doc:a,relationTo:i,showCategories:l,title:s}=e,{slug:d,categories:c,meta:p,title:g}=a||{},{description:b,image:x}=p||{},M=c&&Array.isArray(c)&&c.length>0,u=s||g,y=b==null?void 0:b.replace(/\s/g," "),A=`/${i}/${d}`;return(0,xe.jsxs)("article",{className:n("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",r),ref:t.ref,children:[(0,xe.jsxs)("div",{className:"relative w-full ",children:[!x&&(0,xe.jsx)("div",{className:"",children:"xe image"}),x&&typeof x!="string"&&(0,xe.jsx)(ve,{resource:x,size:"33vw"})]}),(0,xe.jsxs)("div",{className:"p-4",children:[l&&M&&(0,xe.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&M&&(0,xe.jsx)("div",{children:c==null?void 0:c.map((D,re)=>{if(typeof D=="object"){let{title:He}=D,Dt=He||"Untitled category",To=re===c.length-1;return(0,xe.jsxs)(Lo.Fragment,{children:[Dt,!To&&(0,xe.jsx)(Lo.Fragment,{children:", \xA0"})]},re)}return null})})}),u&&(0,xe.jsx)("div",{className:"prose",children:(0,xe.jsx)("h3",{children:(0,xe.jsx)(os.default,{className:"not-prose",href:A,ref:o.ref,children:u})})}),b&&(0,xe.jsx)("div",{className:"xe-2",children:b&&(0,xe.jsx)("p",{children:y})})]})]})};var Kl=e=>{let{posts:t}=e;return(0,xe.jsx)("div",{className:n("container"),children:(0,xe.jsx)("div",{children:(0,xe.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:t==null?void 0:t.map((o,r)=>typeof o=="object"&&o!==null?(0,xe.jsx)("div",{className:"col-span-4",children:(0,xe.jsx)(wo,{className:"xe-full",doc:o,relationTo:"posts",showCategories:!0})},r):null)})})})};var za=f(require("next/link")),Ye=e=>{let{type:t,appearance:o="inline",children:r,className:a,label:i,newTab:l,reference:s,size:d,url:c}=e,p=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!p)return null;let g=o==="link"?"clear":d,b=l?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,xe.jsxs)(za.default,{className:n(a),href:p||c||"",...b,children:[i&&i,r&&r]}):(0,xe.jsx)(Q,{asChild:!0,className:a,size:g,variant:o,children:(0,xe.jsxs)(za.default,{className:n(a),href:p||c||"",...b,children:[i&&i,r&&r]})})};var rs=f(require("clsx")),as=f(require("next/image")),Jl=e=>{let{loading:t,priority:o,className:r}=e;return(0,xe.jsx)(as.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,rs.default)("max-w-[9.375rem] w-full xe-[34px]",r),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var Zl={plural:"Docs",singular:"Doc"},ec={posts:{plural:"Posts",singular:"Post"}},tc=e=>{let{className:t,collection:o,collectionLabels:r,currentPage:a,limit:i,totalDocs:l}=e,s=(a?a-1:1)*(i||1)+1;l&&s>l&&(s=0);let d=(a||1)*(i||1);l&&d>l&&(d=l);let{plural:c,singular:p}=r||ec[o||""]||Zl||{};return(0,xe.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 ${s}${s>0?` - ${d}`:""} of ${l} ${l>1?c:p}`]})};var Ha=f(require("react")),Fa=({className:e,...t})=>(0,xe.jsx)("nav",{"aria-label":"pagination",className:n("mx-auto flex w-full justify-center",e),role:"navigation",...t});Fa.displayName="Pagination";var _a=Ha.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("ul",{className:n("flex flex-row items-center gap-1",e),ref:o,...t}));_a.displayName="PaginationContent";var qe=Ha.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("li",{className:n("",e),ref:o,...t}));qe.displayName="PaginationItem";var Ct=({className:e,isActive:t,size:o="icon",...r})=>(0,xe.jsx)("button",{"aria-current":t?"page":void 0,className:n(oo({size:o,variant:t?"outline":"ghost"}),e),...r});Ct.displayName="PaginationLink";var Ga=({className:e,...t})=>(0,xe.jsxs)(Ct,{"aria-label":"Go to previous page",className:n("gap-1 pl-2.5",e),size:"default",...t,children:[(0,xe.jsx)(Vi.ChevronLeft,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{children:"Previous"})]});Ga.displayName="PaginationPrevious";var Oa=({className:e,...t})=>(0,xe.jsxs)(Ct,{"aria-label":"Go to next page",className:n("gap-1 xe-2.5",e),size:"default",...t,children:[(0,xe.jsx)("span",{children:"Next"}),(0,xe.jsx)(Vi.ChevronRight,{className:"xe-4 w-4"})]});Oa.displayName="PaginationNext";var sr=({className:e,...t})=>(0,xe.jsxs)("span",{"aria-hidden":!0,className:n("flex xe-9 w-9 items-center justify-center",e),...t,children:[(0,xe.jsx)(Vi.MoreHorizontal,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More pages"})]});sr.displayName="PaginationEllipsis";var oc=e=>{let t=(0,es.useRouter)(),{className:o,page:r,totalPages:a}=e,i=r<a,l=r>1,s=r-1>1,d=r+1<a;return(0,xe.jsx)("div",{className:n("my-12",o),children:(0,xe.jsx)(Fa,{children:(0,xe.jsxs)(_a,{children:[(0,xe.jsx)(qe,{children:(0,xe.jsx)(Ga,{disabled:!l,onClick:()=>{t.push(`/posts/page/${r-1}`)}})}),s&&(0,xe.jsx)(qe,{children:(0,xe.jsx)(sr,{})}),l&&(0,xe.jsx)(qe,{children:(0,xe.jsx)(Ct,{onClick:()=>{t.push(`/posts/page/${r-1}`)},children:r-1})}),(0,xe.jsx)(qe,{children:(0,xe.jsx)(Ct,{isActive:!0,onClick:()=>{t.push(`/posts/page/${r}`)},children:r})}),i&&(0,xe.jsx)(qe,{children:(0,xe.jsx)(Ct,{onClick:()=>{t.push(`/posts/page/${r+1}`)},children:r+1})}),d&&(0,xe.jsx)(qe,{children:(0,xe.jsx)(sr,{})}),(0,xe.jsx)(qe,{children:(0,xe.jsx)(Oa,{disabled:!i,onClick:()=>{t.push(`/posts/page/${r+1}`)}})})]})})})};var Va=({className:e,content:t,style:o})=>(0,xe.jsx)("div",{className:n("mx-auto my-8 w-full",e),children:(0,xe.jsx)("div",{className:n("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,xe.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var Ro=({links:e,richText:t})=>(0,xe.jsx)("div",{className:"container",children:(0,xe.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,xe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,xe.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},r)=>(0,xe.jsx)(Ye,{size:"lg",...o},r))})]})});var cr=require("prism-react-renderer");function Wa({code:e}){let[t,o]=(0,Lo.useState)("Copy");function r(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,xe.jsx)("div",{className:"flex justify-end align-middle",children:(0,xe.jsxs)(Q,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),r()},children:[(0,xe.jsx)("p",{children:t}),(0,xe.jsx)("div",{className:"w-6 xe-6 dark:invert",children:(0,xe.jsx)(Vi.ClipboardCopy,{})})]})})}var ds=({code:e,language:t=""})=>e?(0,xe.jsx)(cr.Highlight,{code:e,language:t,theme:cr.themes.vsDark,children:({getLineProps:o,getTokenProps:r,tokens:a})=>(0,xe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((i,l)=>(0,xe.jsxs)("div",{...o({className:"table-row",line:i}),children:[(0,xe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,xe.jsx)("span",{className:"table-cell pl-4",children:i.map((s,d)=>(0,xe.jsx)("span",{...r({token:s})},d))})]},l)),(0,xe.jsx)(Wa,{code:e})]})}):null;var Xa=({className:e,code:t,language:o})=>(0,xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,xe.jsx)(ds,{code:t,language:o})});var Ut=e=>{let{className:t,enableGutter:o=!0,imgClassName:r,media:a,staticImage:i}=e;return(0,xe.jsx)("div",{className:n("",{container:o},t),children:(0,xe.jsx)(ve,{imgClassName:n("border border-border rounded-[0.8rem]",r),resource:a,src:i})})};var dr=f(require("react"));function $a({nodes:e}){return(0,xe.jsx)(dr.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let i=(0,xe.jsx)(dr.default.Fragment,{children:t.text},o);return t.format&1&&(i=(0,xe.jsx)("strong",{children:i},o)),t.format&2&&(i=(0,xe.jsx)("em",{children:i},o)),t.format&4&&(i=(0,xe.jsx)("span",{style:{textDecoration:"line-through"},children:i},o)),t.format&8&&(i=(0,xe.jsx)("span",{style:{textDecoration:"underline"},children:i},o)),t.format&16&&(i=(0,xe.jsx)("code",{children:t.text},o)),t.format&32&&(i=(0,xe.jsx)("sub",{children:i},o)),t.format&64&&(i=(0,xe.jsx)("sup",{children:i},o)),i}let r=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 $a({nodes:i.children})},a="children"in t?r(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,xe.jsx)(Ro,{...i},o);case"mediaBlock":return(0,xe.jsx)(Ut,{className:"col-start-1 col-span-3",imgClassName:"xe-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,xe.jsx)(Va,{className:"col-start-2 mb-4",...i},o);case"code":return(0,xe.jsx)(Xa,{className:"col-start-2",...i},o);default:return null}}else switch(t.type){case"linebreak":return(0,xe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,xe.jsx)("p",{className:"col-start-2",children:a},o);case"heading":{let i=t==null?void 0:t.tag;return(0,xe.jsx)(i,{className:"col-start-2",children:a},o)}case"list":{let i=t==null?void 0:t.tag;return(0,xe.jsx)(i,{className:"list col-start-2",children:a},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,xe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},o):(0,xe.jsx)("li",{value:t==null?void 0:t.value,children:a},o);case"quote":return(0,xe.jsx)("blockquote",{className:"col-start-2",children:a},o);case"link":{let i=t.fields;return(0,xe.jsx)(Ye,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:a},o)}default:return null}})})}var K=({className:e,content:t,enableGutter:o=!0,enableProse:r=!0})=>{var a;return t?(0,xe.jsx)("div",{className:n({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":r},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&$a({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};function rc({icon:e,title:t,body:o,color:r="secondary"}){return(0,xe.jsx)(xe.Fragment,{children:(0,xe.jsxs)("div",{className:"flex py-0 min-xe-16",children:[(0,xe.jsx)("div",{className:"px-[2%] flex items-center",children:(0,xe.jsx)("div",{className:"w-12 xe-12",children:(0,xe.jsx)(Ie,{type:e.type,iconName:e.name})})}),(0,xe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),o&&(0,xe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:o})]})})}var ps=f(require("next/image"));function ac(e){let{url:t,mainImage:o,excerpt:r,title:a}=e;return(0,xe.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[o&&(0,xe.jsx)(ps.default,{alt:a||"",src:o,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,xe.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,xe.jsx)("div",{className:"xe-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,xe.jsxs)("a",{href:t,children:[(0,xe.jsx)("span",{className:"absolute inset-0"}),a]})}),r&&(0,xe.jsx)("div",{className:"xe-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}var ic=(e,t)=>`from-brand-${e} to-brand-${t}`;function nc({...e}){let t=ic(e.brandFrom||"one",e.brandTo||"two");return(0,xe.jsxs)("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,xe.jsx)("p",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,xe.jsxs)("a",{href:e.url,children:[(0,xe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,xe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,xe.jsx)("circle",{r:1,cx:1,cy:1})}),(0,xe.jsx)("span",{children:e.message&&e.message})]}):(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,xe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,xe.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,xe.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Po=f(require("react")),sc={Architecture:(0,xe.jsx)(Vi.DraftingCompass,{className:"xe-5 w-5 text-blue-600"}),Engineering:(0,xe.jsx)(Vi.Code,{className:"xe-5 w-5 text-green-600"}),Development:(0,xe.jsx)(Vi.Code,{className:"xe-5 w-5 text-purple-600"}),Delivery:(0,xe.jsx)(Vi.GanttChart,{className:"xe-5 w-5 text-red-600"})},lc=({person:e,level:t,onToggle:o,isExpanded:r,isHighlighted:a})=>{let i=e.reports.length>0;return(0,xe.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,xe.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${a?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,xe.jsx)("button",{onClick:o,className:"mr-2","aria-label":r?"Collapse":"Expand",children:r?(0,xe.jsx)(Vi.ChevronDown,{className:"xe-4 w-4"}):(0,xe.jsx)(Vi.ChevronRight,{className:"xe-4 w-4"})}),(0,xe.jsx)("div",{className:"w-10 xe-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,xe.jsx)(Vi.Users,{className:"xe-6 w-6 text-gray-500"})}),(0,xe.jsxs)("div",{children:[(0,xe.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,xe.jsxs)("div",{className:"flex items-center xe-1",children:[sc[e.discipline],(0,xe.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,xe.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},us=({person:e,level:t,searchTerm:o})=>{let[r,a]=(0,Po.useState)(t<1),i=()=>a(!r),l=p=>p.name.toLowerCase().includes(o.toLowerCase())||p.discipline.toLowerCase().includes(o.toLowerCase())||p.grade.toLowerCase().includes(o.toLowerCase()),s=p=>l(p)||p.reports.some(s),d=o===""||s(e),c=l(e);return Po.default.useEffect(()=>{o!==""&&s(e)&&a(!0)},[o,e]),d?(0,xe.jsxs)("div",{children:[(0,xe.jsx)(lc,{person:e,level:t,onToggle:i,isExpanded:r,isHighlighted:c}),r&&e.reports.map((p,g)=>(0,xe.jsx)(us,{person:p,level:t+1,searchTerm:o},g))]}):null};function cc(){let[e,t]=(0,Po.useState)("");return(0,xe.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,xe.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,xe.jsxs)("div",{className:"mb-4 relative",children:[(0,xe.jsx)("input",{type:"text",placeholder:"Search by name, discipline, Lo grade",value:e,onChange:r=>t(r.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,xe.jsx)(Vi.Search,{className:"absolute right-3 top-2.5 xe-5 w-5 text-gray-400"})]}),(0,xe.jsx)("div",{className:"space-y-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 xe. 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((r,a)=>(0,xe.jsx)(us,{person:r,level:0,searchTerm:e},a))})]})}function dc({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:o=["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:r="\xA3150,000 for delivery of listed outputs"}){return(0,xe.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,xe.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,xe.jsxs)(de,{className:"flex-grow",children:[(0,xe.jsx)(Ee,{className:"bg-primary text-primary-foreground",children:(0,xe.jsxs)(Le,{className:"flex items-center gap-2",children:[(0,xe.jsx)(Vi.Users,{className:"xe-5 w-5"}),"Team"]})}),(0,xe.jsxs)(Pe,{className:"p-6",children:[(0,xe.jsx)("p",{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,xe.jsxs)("div",{className:"space-y-6",children:[(0,xe.jsx)("div",{className:"space-y-2",children:e.leadership.map((a,i)=>(0,xe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,xe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,xe.jsx)(Vi.User,{className:"xe-4 w-4 text-muted-foreground"}),(0,xe.jsx)("span",{children:a.role})]}),a.isFTE&&(0,xe.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,xe.jsx)("div",{className:"space-y-2",children:e.core.map((a,i)=>(0,xe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,xe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,xe.jsx)(Vi.User,{className:"xe-4 w-4 text-muted-foreground"}),(0,xe.jsx)("span",{children:a.role}),a.count&&(0,xe.jsxs)("span",{children:["(",a.count,"x)"]})]}),a.isFTE&&(0,xe.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,xe.jsxs)("div",{children:[(0,xe.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,xe.jsx)(Vi.Users2,{className:"xe-4 w-4 text-muted-foreground"}),(0,xe.jsx)("span",{children:"SME input:"})]}),(0,xe.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,xe.jsxs)(de,{children:[(0,xe.jsx)(Ee,{className:"bg-primary text-primary-foreground",children:(0,xe.jsxs)(Le,{className:"flex items-center gap-2",children:[(0,xe.jsx)(Vi.PoundSterling,{className:"xe-5 w-5"}),"Fee"]})}),(0,xe.jsx)(Pe,{className:"p-6",children:(0,xe.jsx)("p",{className:"text-lg font-semibold",children:r})})]})]}),(0,xe.jsxs)(de,{className:"lg:col-span-1 flex flex-col",children:[(0,xe.jsx)(Ee,{className:"bg-primary text-primary-foreground",children:(0,xe.jsxs)(Le,{className:"flex items-center gap-2",children:[(0,xe.jsx)(Vi.FileText,{className:"xe-5 w-5"}),"Outputs"]})}),(0,xe.jsxs)(Pe,{className:"p-6 flex-grow overflow-auto",children:[(0,xe.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((a,i)=>(0,xe.jsxs)("li",{className:"text-sm",children:[(0,xe.jsxs)("span",{className:"font-medium",children:[a.title,":"]})," ",(0,xe.jsx)("span",{className:"text-muted-foreground",children:a.description})]},i))}),(0,xe.jsx)("p",{className:"xe-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,xe.jsxs)(de,{className:"lg:col-span-1 flex flex-col",children:[(0,xe.jsx)(Ee,{className:"bg-primary text-primary-foreground",children:(0,xe.jsxs)(Le,{className:"flex items-center gap-2",children:[(0,xe.jsx)(Vi.Lightbulb,{className:"xe-5 w-5"}),"Benefits"]})}),(0,xe.jsx)(Pe,{className:"p-6 flex-grow overflow-auto",children:(0,xe.jsx)("ul",{className:"space-y-4",children:o.map((a,i)=>(0,xe.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,xe.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,xe.jsx)("span",{children:a})]},i))})})]})]})}function mc(){return(0,xe.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,xe.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,xe.jsxs)("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[(0,xe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,xe.jsx)("div",{className:"w-10 xe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,xe.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,xe.jsx)(Vi.BarChart3,{className:"w-8 xe-8"})]}),(0,xe.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,xe.jsx)("p",{className:"text-secondary text-sm",children:"xe excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,xe.jsxs)("ul",{className:"text-sm",children:[(0,xe.jsx)("li",{children:"Strategy definition"}),(0,xe.jsx)("li",{children:"Programme leadership"}),(0,xe.jsx)("li",{children:"Detailed planning"}),(0,xe.jsx)("li",{children:"\u2022 Financial control"}),(0,xe.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,xe.jsxs)("div",{className:"space-y-4",children:[(0,xe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,xe.jsx)("div",{className:"w-10 xe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,xe.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,xe.jsx)(Vi.CogIcon,{className:"w-8 xe-8"})]}),(0,xe.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,xe.jsx)("p",{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,xe.jsx)("p",{className:"text-sm",children:"xe deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,xe.jsxs)("div",{className:"space-y-4",children:[(0,xe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,xe.jsx)("div",{className:"w-10 xe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,xe.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,xe.jsx)(Vi.Building2,{className:"w-8 xe-8"})]}),(0,xe.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,xe.jsx)("p",{className:"text-sky-200 text-sm",children:"xe 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,xe.jsx)("p",{className:"text-sm",children:"xe have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,xe.jsxs)("div",{className:"space-y-4",children:[(0,xe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,xe.jsx)("div",{className:"w-10 xe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,xe.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,xe.jsx)(Vi.BadgeCheck,{className:"w-8 xe-8"})]}),(0,xe.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,xe.jsx)("p",{className:"text-sky-200 text-sm",children:"xe have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,xe.jsx)("p",{className:"text-sm",children:"As xe XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Ya=e=>{let{columns:t}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,xe.jsx)("div",{className:"container my-6",children:(0,xe.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((r,a)=>{let{enableLink:i,link:l,richText:s,size:d}=r;return(0,xe.jsxs)("div",{className:n(`col-span-4 lg:col-span-${o[d]}`,{"md:col-span-2":d!=="full"}),children:[s&&(0,xe.jsx)(K,{content:s,enableGutter:!1}),i&&(0,xe.jsx)(Ye,{...l})]},a)})})})};var qa=({title:e,description:t,features:o})=>(0,xe.jsxs)("section",{className:n("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,xe.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,xe.jsx)("p",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,xe.jsx)("div",{className:`grid gap-8 md:grid-cols-${o?o.length:1}`,children:o&&o.map((r,a)=>{var l,s;let i=(0,xe.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,xe.jsx)("div",{className:"text-accent xe-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,xe.jsx)("i",{className:`${r.icon.type} fa-${r.icon.icon} fa-4x`})}),(0,xe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:r.title}),typeof r.content!="object"&&(0,xe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:r.content}}),typeof r.content=="object"&&(0,xe.jsx)("div",{className:"text-lg opacity-80",children:(0,xe.jsx)(K,{content:r.content,enableGutter:!1})})]},a);return console.log("link",r.link),r.link?(0,xe.jsx)("a",{href:r.link.url?r.link.url:`/${(l=r.link.reference)==null?void 0:l.relationTo}/${((s=r.link.reference)==null?void 0:s.value).slug}`,className:"no-underline group",children:i},a):i})})]});var mr=f(require("next/image"));function pc({image:e,subtitle:t="Case study",title:o,companyLogo:r,customerLogo:a}){return(0,xe.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Vi-[calc(80vw*0.5)]",children:[(0,xe.jsx)("div",{className:"absolute left-0 top-0 xe-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,xe.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] xe-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,xe.jsx)(mr.default,{src:e,alt:"Header background",className:"xe-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,xe.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[r&&(0,xe.jsx)("div",{className:"xe-16 w-32 md:xe-24 md:w-48",children:(0,xe.jsx)(mr.default,{src:r,alt:"Company logo",className:"xe-full w-full object-contain",width:192,height:96})}),a&&(0,xe.jsx)("div",{className:"xe-10 w-20 md:xe-12 md:w-24",children:(0,xe.jsx)(mr.default,{src:a,alt:"Customer logo",className:"xe-full w-full object-contain",width:96,height:48})})]}),(0,xe.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,xe.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,xe.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:o})]})]})}var uc=e=>{let{className:t,enableGutter:o=!0,imgClassName:r,media:a,staticImage:i}=e;return(0,xe.jsx)("div",{className:n("",{container:o},t),children:(0,xe.jsx)(ve,{imgClassName:n("border border-border rounded-[0.8rem]",r),resource:a,src:i})})};var fs={content:Ya,cta:Ro,mediaBlock:Ut,imageBlock:Ut,features:qa},fc=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,xe.jsx)(Lo.Fragment,{children:t.map((r,a)=>{let{blockType:i}=r;if(i&&i in fs){let l=fs[i];if(l)return(0,xe.jsx)("div",{className:"my-6",children:(0,xe.jsx)(l,{...r})},a)}return null})}):null};var bs=f(require("clsx"));var gc=e=>{let{className:t,docs:o,introContent:r}=e;return(0,xe.jsxs)("div",{className:(0,bs.default)("container",t),children:[r&&(0,xe.jsx)(K,{content:r,enableGutter:!1}),(0,xe.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:o==null?void 0:o.map((a,i)=>typeof a=="string"?null:(0,xe.jsx)(wo,{doc:a,relationTo:"posts",showCategories:!0},i))})]})};var Ka=f(require("clsx"));function bc({mainNav:e,secondaryNav:t,title:o,subTitle:r,pathName:a,menuHeading:i,onNavClick:l,loading:s=!1,LinkComponent:d,...c}){let g=d?b=>(0,xe.jsx)(d,{...b}):l?({href:b,children:x,...M})=>(0,xe.jsx)("button",{onClick:()=>l&&l(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...M,children:x}):b=>(0,xe.jsx)("a",{...b});return(0,xe.jsxs)(ut,{...c,variant:"inset",children:[(0,xe.jsx)(ft,{children:(0,xe.jsx)(ce,{children:(0,xe.jsx)(J,{children:s?(0,xe.jsxs)("div",{className:"grid flex-1 p-2 text-left text-xe leading-tight",children:[(0,xe.jsx)(G,{className:"bg-gray-200 my-2 w-full xe-7"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 my-2 xe-5"})]}):(0,xe.jsxs)("div",{className:"grid flex-1 p-2 text-left text-xe leading-tight",children:[(0,xe.jsx)("span",{className:"truncate font-semibold",children:o}),r&&(0,xe.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),s&&(0,xe.jsxs)(rt,{children:[(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"}),(0,xe.jsx)(G,{className:"bg-gray-200 w-3/4 xe-5"})]}),(0,xe.jsxs)(rt,{children:[e&&!s&&e.map((b,x)=>(0,xe.jsx)(vc,{subNav:b,pathName:a,Link:g},x)),(0,xe.jsx)(we,{className:"xe-auto",children:(0,xe.jsx)(Te,{children:(0,xe.jsx)(ce,{children:t&&!s&&t.map(b=>(0,xe.jsx)(J,{children:(0,xe.jsx)(Ne,{asChild:!0,size:"sm",children:(0,xe.jsxs)(g,{href:b.url||"",children:[b.icon&&(0,xe.jsx)(b.icon,{}),(0,xe.jsx)("span",{children:b.label})]})})},b.label))})})})]}),(0,xe.jsx)(gt,{})]})}function vc({subNav:e,pathName:t,Link:o}){var i,l;let r=e,a=!1;return r.links&&r.links.map(s=>{s.url===t&&(a=!0)}),(0,xe.jsx)(Ge,{defaultOpen:!0,className:"group/collapsible",children:(0,xe.jsx)(we,{className:"py-0",children:(0,xe.jsx)(ce,{children:(0,xe.jsx)(Ge,{asChild:!0,defaultOpen:r.isActive,children:(0,xe.jsxs)(J,{children:[(0,xe.jsx)(Ne,{asChild:!0,tooltip:r.label,className:(0,Ka.default)(a&&"font-bold text-accent"),children:(0,xe.jsxs)(o,{href:r.url,children:[r.icon&&(0,xe.jsx)(r.icon,{}),(0,xe.jsx)("span",{children:r.label})]})}),(i=r.links)!=null&&i.length?(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(tt,{asChild:!0,children:(0,xe.jsxs)(io,{className:"data-[state=open]:rotate-90",children:[(0,xe.jsx)(Vi.ChevronRight,{}),(0,xe.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,xe.jsx)(ot,{children:(0,xe.jsx)(at,{children:(l=r.links)==null?void 0:l.map(s=>(0,xe.jsx)(it,{children:(0,xe.jsx)(nt,{asChild:!0,className:(0,Ka.default)(s.url===t&&"font-bold text-accent"),children:(0,xe.jsx)(o,{href:s.url,children:(0,xe.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},r.label)})})})}var hs=f(require("clsx"));var hc=()=>(0,xe.jsx)(Ie,{iconName:"github",size:"10x"});function yc({relatedContent:e,tableOfContents:t,editorComponent:o,loading:r=!1,editMode:a=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:s,onGithubClick:d,onNavClick:c,LinkComponent:p,...g}){let M=p?u=>(0,xe.jsx)(p,{...u}):c?({item:u,children:y,...A})=>(0,xe.jsx)("button",{onClick:()=>c&&c(u),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...A,children:y}):u=>(0,xe.jsx)("a",{href:u.href,...u});return(0,xe.jsxs)(ut,{side:"right",variant:"inset",...g,children:[(0,xe.jsxs)(ft,{className:"border-b border-sidebar-border",children:[(0,xe.jsxs)(ce,{className:"flex-row space-x-1",children:[(0,xe.jsx)(J,{children:(0,xe.jsxs)(Ne,{onClick:i,children:[(0,xe.jsx)(Vi.FilePlus,{})," ",(0,xe.jsx)("span",{children:"Add Document"})]})}),d&&(0,xe.jsx)(J,{children:(0,xe.jsx)(Ne,{onClick:d,tooltip:"Open in GitHub",children:(0,xe.jsx)(hc,{})})})]}),(0,xe.jsxs)(ce,{className:"flex-row space-x-1",children:[(0,xe.jsx)(J,{className:"w-5/12",children:(0,xe.jsxs)(Ne,{onClick:()=>l(),variant:a?"outline":"default",className:(0,hs.default)(a&&"text-accent"),children:[(0,xe.jsx)(Vi.Edit,{})," ",(0,xe.jsx)("span",{children:"Edit"})]})}),(0,xe.jsx)(J,{className:"w-5/12",children:(0,xe.jsxs)(Ne,{onClick:s,children:[(0,xe.jsx)(Vi.Printer,{})," ",(0,xe.jsx)("span",{children:"Print"})]})})]})]}),o&&(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(Ge,{defaultOpen:!0,className:"group/collapsible",children:(0,xe.jsxs)(we,{children:[(0,xe.jsx)(Ve,{asChild:!0,children:(0,xe.jsxs)(tt,{children:["Editor Controls",(0,xe.jsx)(Vi.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(ot,{children:o})})]})}),(0,xe.jsx)(ao,{className:"mx-0"})]}),(0,xe.jsxs)(rt,{className:"overflow-auto",children:[r&&(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsxs)(we,{children:[(0,xe.jsx)(Ve,{children:"Related Content"}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(ce,{children:Array.from({length:3}).map((u,y)=>(0,xe.jsx)(J,{children:(0,xe.jsx)(G,{className:"bg-gray-200 w-full xe-10"})},y))})})]}),(0,xe.jsxs)(we,{children:[(0,xe.jsx)(Ve,{children:"Table of Contents"}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(ce,{children:Array.from({length:3}).map((u,y)=>(0,xe.jsx)(J,{children:(0,xe.jsx)(G,{className:"bg-gray-200 w-full xe-10"})},y))})})]})]}),e&&!r&&Object.keys(e).length>0&&(0,xe.jsx)(Ge,{defaultOpen:!0,className:"group/collapsible",children:(0,xe.jsxs)(we,{children:[(0,xe.jsx)(Ve,{asChild:!0,children:(0,xe.jsxs)(tt,{children:["Related Content",(0,xe.jsx)(Vi.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(ot,{children:(0,xe.jsx)(ce,{children:e&&Object.keys(e).map(u=>(0,xe.jsxs)(J,{children:[(0,xe.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",u.charAt(0).toUpperCase()+u.slice(1)]}),u&&e[u]&&(0,xe.jsx)(at,{children:e[u].map(y=>(0,xe.jsx)(it,{children:(0,xe.jsx)(nt,{asChild:!0,isActive:!1,size:"sm",children:(0,xe.jsxs)(M,{href:y.url,item:y,className:"flex justify-between items-center w-full text-xs",children:[(0,xe.jsx)("span",{children:y.label}),y.type==="note"&&(0,xe.jsx)(Vi.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),y.type==="draft"&&(0,xe.jsx)(Ie,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},y.label))})]},u))})})})]})}),t&&!r&&(0,xe.jsx)(Ge,{defaultOpen:!0,className:"group/collapsible",children:(0,xe.jsxs)(we,{children:[(0,xe.jsx)(Ve,{asChild:!0,children:(0,xe.jsxs)(tt,{children:["Table of Contents",(0,xe.jsx)(Vi.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(ot,{children:(0,xe.jsx)(ce,{children:t.map(u=>{var y;return(0,xe.jsxs)(J,{children:[(0,xe.jsx)(Ne,{asChild:!0,children:(0,xe.jsx)("a",{href:`#${u.url}`,className:"text-xs",children:u.title})}),(y=u.items)!=null&&y.length?(0,xe.jsx)(at,{children:u.items.map(A=>(0,xe.jsx)(it,{children:(0,xe.jsx)(nt,{asChild:!0,isActive:A.isActive,size:"sm",children:(0,xe.jsx)("a",{href:`#${A.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,xe.jsx)("span",{children:A.title})})})},A.title))}):null]},u.title)})})})})]})})]}),(0,xe.jsx)(gt,{})]})}var xs=f(require("next/image"));function xc({title:e,members:t}){return(0,xe.jsx)(de,{className:"mb-6",children:(0,xe.jsxs)("div",{className:"p-6",children:[(0,xe.jsxs)("div",{className:"flex items-center mb-4",children:[(0,xe.jsx)(Vi.Users,{className:"w-6 xe-6 text-accent mr-2"}),(0,xe.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,xe.jsx)("div",{className:"space-y-4",children:t.map((o,r)=>(0,xe.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,xe.jsx)("div",{className:"relative w-12 xe-12 rounded-full overflow-hidden",children:o.avatar&&(0,xe.jsx)(xs.default,{src:o.avatar,alt:o.name,layout:"fill",objectFit:"cover"})}),(0,xe.jsxs)("div",{children:[(0,xe.jsx)("p",{className:"font-semibold text-foreground",children:o.name}),o.role&&(0,xe.jsx)("p",{className:"text-sm text-muted-foreground",children:o.role})]})]},r))})]})})}var ws=f(require("next/link"));var wc=({links:e})=>(0,xe.jsxs)(de,{children:[(0,xe.jsx)(Ee,{children:(0,xe.jsx)(Le,{children:"Related"})}),(0,xe.jsx)(Pe,{children:(0,xe.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,o)=>(0,xe.jsxs)(ws.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,xe.jsx)(Vi.ExternalLink,{className:"ml-1 xe-3 w-3"})]},o))})})]});var Rs=f(require("next/image"));var Ja=({links:e,media:t,children:o,richText:r})=>(0,xe.jsxs)("div",{className:"relative -xe-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,xe.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,xe.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[o||r&&(0,xe.jsx)(K,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:r,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,xe.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:a},i)=>(0,xe.jsx)("li",{children:(0,xe.jsx)(Ye,{...a})},i))})]})}),(0,xe.jsxs)("div",{className:"min-xe-[80vh] select-none",children:[t&&typeof t=="object"&&(0,xe.jsx)(ve,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,xe.jsx)("div",{children:(0,xe.jsx)(Rs.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,xe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Za=f(require("next/image"));var Nc=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:o,height:r,url:a,width:i}=e;return(0,xe.jsx)(Za.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:a||"",width:i||0,height:r||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,xe.jsx)("div",{children:(0,xe.jsx)(Za.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},ei=({links:e,media:t,children:o,richText:r})=>(0,xe.jsxs)("div",{className:"relative bg-brand-one pb-12 Vi-10",children:[t&&(0,xe.jsx)(Nc,{media:t}),(0,xe.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,xe.jsx)("div",{className:"container text-brand-one-foreground",children:o||r&&(0,xe.jsx)(K,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:r,enableProse:!0,enableGutter:!1})})})]});var ti=({children:e,richText:t})=>(0,xe.jsx)("div",{className:"min-w-full py-8 bg-muted",children:(0,xe.jsx)("div",{className:"container",children:e||t&&(0,xe.jsx)(K,{content:t,enableGutter:!1})})});var Ps=e=>{let o=new Date;e&&(o=new Date(e));let r=o.getMonth(),a=o.getDate(),i=r+1<10?`0${r+1}`:r+1,l=a<10?`0${a}`:a,s=o.getFullYear();return`${i}/${l}/${s}`};var kt=f(require("react"));var Cs=f(require("next/image")),Rc=({post:e})=>{let{categories:t,meta:{image:o}={},populatedAuthors:r,publishedAt:a,title:i}=e;return(0,xe.jsxs)("div",{className:"relative -xe-[10.4rem] flex items-end",children:[(0,xe.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,xe.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,xe.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,s)=>{if(typeof l=="object"&&l!==null){let{title:d}=l,c=d||"Untitled category",p=s===t.length-1;return(0,xe.jsxs)(kt.default.Fragment,{children:[c,!p&&(0,xe.jsx)(kt.default.Fragment,{children:", \xA0"})]},s)}return null})}),(0,xe.jsx)("div",{className:"",children:(0,xe.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,xe.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,xe.jsx)("div",{className:"flex flex-col gap-4",children:r&&(0,xe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,xe.jsx)("p",{className:"text-sm",children:"Author"}),r.map((l,s)=>{let{name:d}=l,c=s===r.length-1,p=s===r.length-2;return(0,xe.jsxs)(kt.default.Fragment,{children:[d,p&&r.length>2&&(0,xe.jsx)(kt.default.Fragment,{children:", "}),p&&r.length===2&&(0,xe.jsx)(kt.default.Fragment,{children:" "}),!c&&r.length>1&&(0,xe.jsx)(kt.default.Fragment,{children:"and "})]},s)})]})}),a&&(0,xe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,xe.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,xe.jsx)("time",{dateTime:a,children:Ps(a)})]})]})]})}),(0,xe.jsxs)("div",{className:"min-xe-[80vh] select-none",children:[o&&typeof o!="string"&&(0,xe.jsx)(ve,{fill:!0,imgClassName:"-z-10 object-cover",resource:o}),o&&typeof o=="string"&&(0,xe.jsx)("div",{children:(0,xe.jsx)(Cs.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:o})}),(0,xe.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full xe-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Pc={highImpact:Ja,lowImpact:ti,mediumImpact:ei},Cc=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let o=Pc[t];return o?(0,xe.jsx)(o,{...e}):null};function fr({children:e,isFluid:t=!1,isNoPadding:o=!1}){let r=n("container",t&&"full-width",o&&"no-padding");return(0,xe.jsx)("div",{className:r,children:e})}var As=f(require("next/image")),Ds=f(require("react"));var ks="../hero-3-N2CBGEV6.jpg";function Tc({title:e,breadcrumbItems:t,image:o=ks.src}){return(0,xe.jsxs)("section",{className:"section-padding-primary -xe-[10.4rem] relative flex min-xe-[250px] items-end",children:[(0,xe.jsx)("div",{className:"absolute inset-0 z-0",children:(0,xe.jsx)(As.default,{priority:!0,src:o,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,xe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,xe.jsx)(fr,{children:(0,xe.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:Vi-[40px] pb-5",children:[(0,xe.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,xe.jsx)(kc,{breadcrumbItems:t})]})})]})}var Ms=n("h3 font-secondary");function kc({breadcrumbItems:e}){return e&&e.length>0?(0,xe.jsx)("nav",{"aria-label":"breadcrumb",children:(0,xe.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,o)=>(0,xe.jsx)(Ds.default.Fragment,{children:t.href?(0,xe.jsxs)("li",{className:Ms,children:[(0,xe.jsx)($e,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,xe.jsx)("span",{className:"ml-5",children:"/"})]}):(0,xe.jsx)("li",{className:Ms,"aria-current":"page",children:t.label})},o))})}):(0,xe.jsx)(xe.Fragment,{})}var ye=require("@headlessui/react"),br=require("@heroicons/react/24/outline"),Co=require("@heroicons/react/20/solid");var Mc=({name:e,items:t,actions:o=[],href:r})=>!t&&r?(0,xe.jsxs)("a",{href:r,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,xe.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 xe-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,xe.jsxs)(ye.Popover,{children:[(0,xe.jsxs)(ye.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,xe.jsxs)("span",{className:"relative",children:[e,(0,xe.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 xe-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,xe.jsx)(Co.ChevronDownIcon,{"aria-hidden":"true",className:"xe-5 w-5 flex-none text-accent"})]}),(0,xe.jsxs)(ye.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover xe-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,xe.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(a=>(0,xe.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,xe.jsx)("div",{className:"flex xe-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,xe.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,xe.jsxs)("a",{href:a.href,className:"xe-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,xe.jsx)("span",{className:"absolute inset-0"})]}),(0,xe.jsx)("p",{className:"xe-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),o.length>0&&(0,xe.jsx)("div",{className:"bg-gray-50",children:(0,xe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,xe.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:o.map(a=>(0,xe.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,xe.jsx)(a.icon,{"aria-hidden":"true",className:"xe-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),Es=Mc;var gr=["light","dark","green"];function Ac({title:e,logo:t,menuItems:o}){let[r,a]=(0,Lo.useState)(!1),[i,l]=(0,Lo.useState)(!1),[s,d]=(0,Lo.useState)("light"),c=t==null?void 0:t.split(".")[0],p=t==null?void 0:t.split(".")[1],[g,b]=(0,Lo.useState)(`${c}.${p}`),x=u=>{gr.includes(u)?b(u==="light"?`${c}.${p}`:`${c}-${u}.${p}`):b(`${c}.${p}`)};(0,Lo.useEffect)(()=>{let u=localStorage.getItem("theme")||"light";console.log("storedTheme",u),d(u),document.documentElement.setAttribute("class",u),x(u)},[]);let M=()=>{let u=gr[(gr.indexOf(s)+1)%gr.length];d(u),document.documentElement.setAttribute("class",u),localStorage.setItem("theme",u),x(u)};return(0,xe.jsxs)("header",{className:"relative isolate z-10 bg-background xe-14",children:[(0,xe.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,xe.jsx)("div",{className:"flex lg:flex-1",children:(0,xe.jsxs)("a",{href:"#",className:"-xe-1.5 p-1.5 outline-none",children:[(0,xe.jsx)("span",{className:"sr-only",children:e}),(0,xe.jsx)("img",{alt:e,src:g,className:"xe-9 w-auto"})]})}),(0,xe.jsx)("div",{className:"flex lg:hidden",children:(0,xe.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-xe-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,xe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,xe.jsx)(br.Bars3Icon,{"aria-hidden":"true",className:"xe-6 w-6"})]})}),(0,xe.jsx)(ye.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o.map(u=>(0,xe.jsx)(Es,{...u},u.name))}),(0,xe.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,xe.jsx)("button",{onClick:M,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,xe.jsx)(Co.SunIcon,{className:"xe-6 w-6"}):s==="green"?(0,xe.jsx)(Co.MoonIcon,{className:"xe-6 w-6"}):(0,xe.jsx)(Co.SunIcon,{className:"xe-6 w-6"})})})]}),(0,xe.jsxs)(ye.Dialog,{open:r,onClose:a,className:"lg:hidden",children:[(0,xe.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,xe.jsxs)(ye.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,xe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,xe.jsxs)("a",{href:"#",className:"-xe-1.5 p-1.5 outline-none",children:[(0,xe.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,xe.jsx)("img",{alt:e,src:t,className:"xe-8 w-auto"})]}),(0,xe.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-xe-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,xe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,xe.jsx)(br.XMarkIcon,{"aria-hidden":"true",className:"xe-6 w-6"})]})]}),(0,xe.jsx)("div",{className:"xe-6 flow-root",children:(0,xe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,xe.jsx)("div",{className:"space-y-2 py-6",children:o.map(u=>(0,xe.jsx)(Dc,{...u},u.name))})})})]})]})]})}function Dc({name:e,items:t,actions:o,href:r}){return!t&&r?(0,xe.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,xe.jsxs)(ye.Disclosure,{as:"div",className:"-mx-3",children:[(0,xe.jsx)(ye.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 xe-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,xe.jsx)(ye.DisclosurePanel,{className:"xe-2 space-y-2",children:t&&t.map(a=>(0,xe.jsx)(ye.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 xe-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var Bs=f(require("next/image"));var oi=f(require("next/image"));function Ls({logoLight:e,logoDark:t}){return(0,xe.jsxs)($e,{href:"/",className:"py-2",children:[(0,xe.jsx)(oi.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:"200px",height:"auto"}}),(0,xe.jsx)(oi.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:"200px",height:"auto"}})]})}function ri({isMenuOpen:e,logoLight:t,logoDark:o}){let[r,a]=(0,$t.useState)(!1),[i,l]=(0,$t.useState)("light"),s=["light","dark"];(0,$t.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),l(c),document.documentElement.setAttribute("class",c)},[]);let d=()=>{let c=s[(s.indexOf(i)+1)%s.length];l(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,$t.useEffect)(()=>{let c=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,xe.jsx)(xe.Fragment,{children:(0,xe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,xe.jsx)(fr,{children:(0,xe.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,xe.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl dark:border dark:border-accent",children:[(0,xe.jsx)(Ls,{logoDark:o,logoLight:t}),(0,xe.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 xe-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 xe-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 xe-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 xe-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,xe.jsx)("div",{className:"flex items-center space-x-4",children:(0,xe.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:d,children:(0,xe.jsxs)("div",{className:"relative",children:[(0,xe.jsx)(Vi.Sun,{className:"absolute xe-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,xe.jsx)(Vi.Moon,{className:"absoulte xe-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function Ic({logoVideo:e,logoLight:t,logoDark:o}){let[r,a]=(0,Lo.useState)(!1),[i,l]=(0,Lo.useState)(!1),[s,d]=(0,Lo.useState)(!1),c=()=>{let g=document.getElementById("next-section");g&&g.scrollIntoView({behavior:"smooth"})};return(0,Lo.useEffect)(()=>{let g=()=>{window.scrollY>100?(l(!0),d(!1)):(l(!1),d(!0))};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,Lo.useEffect)(()=>{let g=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,xe.jsxs)("div",{className:"relative xe-screen",children:[(0,xe.jsxs)("div",{className:"absolute inset-0 w-full xe-screen overflow-hidden",children:[(0,xe.jsxs)("video",{className:"object-cover w-full xe-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,xe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,xe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!r&&(0,xe.jsx)("button",{className:"fixed top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{d(!s)},children:s?(0,xe.jsx)(Vi.X,{className:"w-6 xe-6 text-white"}):(0,xe.jsx)(Vi.Menu,{className:"w-6 xe-6 text-white"})}),(0,xe.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50",children:(0,xe.jsx)(ri,{isMenuOpen:r,logoLight:t,logoDark:o})}),(0,xe.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${i||s?"opacity-0":"opacity-100"}`}),(0,xe.jsxs)("div",{className:"absolute inset-0 xe-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,xe.jsx)(Bs.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"xe-auto w-auto xe-8"}),(0,xe.jsxs)("div",{children:[(0,xe.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"xe are Cortex Reply."}),(0,xe.jsx)("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,xe.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,xe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:c,children:(0,xe.jsx)(Vi.ChevronDown,{size:64})})})]})]})}0&&(module.exports={Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,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,HeaderDesktop,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,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,toggleVariants,useIsMobile,useSidebar,useToast});