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
package/dist/index.js CHANGED
@@ -3,8 +3,8 @@
3
3
  'use client'
4
4
  "use strict";
5
5
 
6
- "use strict";"use client";var Bs=Object.create;var To=Object.defineProperty;var zs=Object.getOwnPropertyDescriptor;var Hs=Object.getOwnPropertyNames;var Fs=Object.getPrototypeOf,_s=Object.prototype.hasOwnProperty;var Gs=(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 Hs(t))!_s.call(e,a)&&a!==o&&To(e,a,{get:()=>t[a],enumerable:!(r=zs(t,a))||r.enumerable});return e};var f=(e,t,o)=>(o=e!=null?Bs(Fs(e)):{},si(t||!e||!e.__esModule?To(o,"default",{value:e,enumerable:!0}):o,e)),Os=e=>si(To({},"__esModule",{value:!0}),e);var Tc={};Gs(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:()=>hn,CodeBlock:()=>Wa,Collapsible:()=>He,CollapsibleContent:()=>Je,CollapsibleTrigger:()=>Ke,CollectionArchive:()=>Xl,Command:()=>Xo,CommandDialog:()=>pn,CommandEmpty:()=>ha,CommandGroup:()=>ya,CommandInput:()=>ba,CommandItem:()=>wa,CommandList:()=>va,CommandSeparator:()=>xa,CommandShortcut:()=>Na,ContentBlock:()=>Xa,CopyButton:()=>Ga,CustomerCard:()=>Dn,Dialog:()=>Ht,DialogClose:()=>Vo,DialogContent:()=>bt,DialogDescription:()=>ga,DialogFooter:()=>fa,DialogHeader:()=>po,DialogOverlay:()=>Uo,DialogPortal:()=>ua,DialogTitle:()=>uo,DialogTrigger:()=>dn,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:()=>In,FeatureCard:()=>kn,FeatureGrid:()=>Fn,FeaturesBlock:()=>ja,HeaderDesktop:()=>ei,HeadingImage:()=>nc,HighImpactHero:()=>qa,HoverCard:()=>nn,HoverCardContent:()=>pa,HoverCardTrigger:()=>sn,Image:()=>Hn,ImageBlock:()=>sc,InfoTile:()=>Jl,Input:()=>qt,Insight:()=>Kl,Label:()=>ma,Logo:()=>jl,LowImpactHero:()=>Ja,MOTD:()=>ec,Media:()=>ge,MediaBlock:()=>Ot,MediumImpactHero:()=>Ka,NewsGrid:()=>qn,OrgChart:()=>rc,PageRange:()=>ql,Pagination:()=>Ql,Popover:()=>Ji,PopoverAnchor:()=>en,PopoverContent:()=>ca,PopoverTrigger:()=>Zi,PostHero:()=>vc,ProjectCard:()=>zn,ProjectTeam:()=>fc,ProposalSummary:()=>ac,RelatedContent:()=>gc,RelatedPosts:()=>cc,RenderBlocks:()=>lc,RenderHero:()=>yc,RichText:()=>q,ScrollArea:()=>sa,ScrollBar:()=>Wo,SectionHero:()=>wc,Select:()=>El,SelectContent:()=>xn,SelectGroup:()=>Ll,SelectItem:()=>Nn,SelectLabel:()=>wn,SelectScrollDownButton:()=>ka,SelectScrollUpButton:()=>Ta,SelectSeparator:()=>Rn,SelectTrigger:()=>yn,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:()=>Qn,Textarea:()=>Cn,Toast:()=>io,ToastAction:()=>ta,ToastClose:()=>no,ToastDescription:()=>lo,ToastProvider:()=>Go,ToastTitle:()=>so,ToastViewport:()=>ao,Toaster:()=>ji,Toggle:()=>ra,ToggleGroup:()=>aa,ToggleGroupItem:()=>ia,Tooltip:()=>Lo,TooltipContent:()=>eo,TooltipProvider:()=>Eo,TooltipTrigger:()=>Bo,VerticalSlider:()=>On,VideoHeader:()=>Sc,WhyUs:()=>ic,badgeVariants:()=>Sa,buttonVariants:()=>Zt,reducer:()=>Wi,toast:()=>Vi,toggleVariants:()=>co,useIsMobile:()=>Io,useSidebar:()=>Bt,useToast:()=>_o});module.exports=Os(Tc);var Dt=f(require("react")),ko=require("@radix-ui/react-icons"),vi=require("@radix-ui/react-slot");var bi=require("clsx");var wr="-",Ws=e=>{let t=Us(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)||Vs(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=/^\[(.+)\]$/,Vs=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}},Us=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return js(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(Xs(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},Xs=e=>e.isThemeGetter,js=(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,$s=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="!",Ys=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},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},Qs=e=>({cache:$s(e.cacheSize),parseClassName:Ys(e),...Ws(e)}),Ks=/\s+/,Js=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=[],l=e.trim().split(Ks),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+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 Zs(){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 el(e,...t){let o,r,a,i=l;function l(d){let c=t.reduce((p,g)=>g(p),e());return o=Qs(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=Js(d,o);return a(d,p),p}return function(){return i(Zs.apply(null,arguments))}}var B=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},ui=/^\[(?:([a-z-]+):)?(.+)\]$/i,tl=/^\d+\/\d+$/,ol=new Set(["px","full","screen"]),rl=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,al=/\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$/,il=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,nl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ze=e=>Mt(e)||ol.has(e)||tl.test(e),qe=e=>At(e,"length",gl),Mt=e=>!!e&&!Number.isNaN(Number(e)),yr=e=>At(e,"number",Mt),$t=e=>!!e&&Number.isInteger(Number(e)),ll=e=>e.endsWith("%")&&Mt(e.slice(0,-1)),w=e=>ui.test(e),Qe=e=>rl.test(e),cl=new Set(["length","size","percentage"]),dl=e=>At(e,cl,fi),ml=e=>At(e,"position",fi),pl=new Set(["image","url"]),ul=e=>At(e,pl,vl),fl=e=>At(e,"",bl),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},gl=e=>al.test(e)&&!il.test(e),fi=()=>!1,bl=e=>nl.test(e),vl=e=>sl.test(e);var hl=()=>{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:[ll,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]}],Do:[{Do:[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(),ml]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dl]}],"bg-image":[{bg:["none",{"gradient-to":["t","Do","r","br","b","bl","l","tl"]},ul]}],"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-es":[{"rounded-es":[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,fl]}],"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","Do-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-Do":[{"scroll-Do":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","Do","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-es","rounded-tl","rounded-Do","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"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-Do","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=el(hl);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 yl=(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(yl({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 xl="sidebar:state",wl=60*60*24*7,Nl="16rem",Rl="18rem",Pl="3rem",Cl="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=`${xl}=${x}; path=/; max-age=${wl}`},[o,x]),u=C.useCallback(()=>d?p(D=>!D):M(D=>!D),[d,M,p]);C.useEffect(()=>{let D=ee=>{ee.key===Cl&&(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":Nl,"--sidebar-width-icon":Pl,...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":Rl},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 Sl=(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(Sl({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")),Tl=1,kl=1e6;var Zr=0;function Ml(){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})},kl);ea.set(e,t)},Wi=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Tl)};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=Wi(Ho,e),zo.forEach(t=>{t(Ho)})}function Vi({...e}){let t=Ml(),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:Vi,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 ji(){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 $i=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=Mi]:bg-accent data-[state=Mi]: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=$i.forwardRef(({className:e,variant:t,size:o,...r},a)=>(0,he.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 Qi=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)(Qi.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(Qi);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 Ki=f(require("react")),Se=f(require("@radix-ui/react-popover"));var Ji=Se.Root,Zi=Se.Trigger,en=Se.Anchor,ca=Ki.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 tn=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=tn.forwardRef(({className:e,...t},o)=>(0,he.jsx)(da.Root,{ref:o,className:n(Dl(),e),...t}));ma.displayName=da.Root.displayName;var an=f(require("react")),gt=f(require("@radix-ui/react-hover-card"));var nn=gt.Root,sn=gt.Trigger,pa=an.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,dn=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 pn=({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")),vn=f(require("react")),hn=vn.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"})})}));hn.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,yn=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"})})]}));yn.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 xn=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,{})]})}));xn.displayName=T.Content.displayName;var wn=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}));wn.displayName=T.Label.displayName;var Nn=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})]}));Nn.displayName=T.Item.displayName;var Rn=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}));Rn.displayName=T.Separator.displayName;var Pn=f(require("react")),Cn=Pn.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}));Cn.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 kn=({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 Mn=f(require("next/image")),An=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 Dn({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)(An.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)(Mn.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 In({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 Ln=f(require("next/link"));var Bn=f(require("next/image")),En={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function zn({slug:e,image:t,title:o,description:r}){return(0,he.jsxs)(Ln.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)(Bn.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
7
- (min-width:${En.md}) 50vw,
8
- (min-width:${En.lg}) 25vw,
6
+ "use strict";"use client";var Xs=Object.create;var Lo=Object.defineProperty;var $s=Object.getOwnPropertyDescriptor;var js=Object.getOwnPropertyNames;var Ys=Object.getPrototypeOf,qs=Object.prototype.hasOwnProperty;var Qs=(e,t)=>{for(var o in t)Lo(e,o,{get:t[o],enumerable:!0})},bi=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of js(t))!qs.call(e,a)&&a!==o&&Lo(e,a,{get:()=>t[a],enumerable:!(r=$s(t,a))||r.enumerable});return e};var f=(e,t,o)=>(o=e!=null?Xs(Ys(e)):{},bi(t||!e||!e.__esModule?Lo(o,"default",{value:e,enumerable:!0}):o,e)),Ks=e=>bi(Lo({},"__esModule",{value:!0}),e);var Gc={};Qs(Gc,{Alert:()=>Aa,AlertDescription:()=>Ia,AlertTitle:()=>Da,Avatar:()=>wo,AvatarFallback:()=>Po,AvatarImage:()=>No,Badge:()=>rr,BannerBlock:()=>Ya,Breadcrumb:()=>Mr,BreadcrumbEllipsis:()=>Br,BreadcrumbItem:()=>Dr,BreadcrumbLink:()=>Ir,BreadcrumbList:()=>Ar,BreadcrumbPage:()=>Er,BreadcrumbSeparator:()=>Lr,Button:()=>K,CMSLink:()=>Ye,CallToActionBlock:()=>To,Card:()=>Co,Checkbox:()=>Tn,CodeBlock:()=>Ka,Collapsible:()=>Ge,CollapsibleContent:()=>rt,CollapsibleTrigger:()=>ot,CollectionArchive:()=>oc,Command:()=>Jo,CommandDialog:()=>wn,CommandEmpty:()=>Ca,CommandGroup:()=>Sa,CommandInput:()=>Pa,CommandItem:()=>ka,CommandList:()=>Ra,CommandSeparator:()=>Ta,CommandShortcut:()=>Ma,ContentBlock:()=>ei,CopyButton:()=>qa,CustomerCard:()=>Gn,Dialog:()=>Wt,DialogClose:()=>Qo,DialogContent:()=>wt,DialogDescription:()=>Na,DialogFooter:()=>wa,DialogHeader:()=>yo,DialogOverlay:()=>Ko,DialogPortal:()=>xa,DialogTitle:()=>xo,DialogTrigger:()=>yn,DropdownMenu:()=>Ti,DropdownMenuCheckboxItem:()=>Gr,DropdownMenuContent:()=>Fr,DropdownMenuGroup:()=>Mi,DropdownMenuItem:()=>_r,DropdownMenuLabel:()=>Vr,DropdownMenuPortal:()=>Ai,DropdownMenuRadioGroup:()=>Ii,DropdownMenuRadioItem:()=>Or,DropdownMenuSeparator:()=>Wr,DropdownMenuShortcut:()=>Ur,DropdownMenuSub:()=>Di,DropdownMenuSubContent:()=>Hr,DropdownMenuSubTrigger:()=>zr,DropdownMenuTrigger:()=>ki,DynamicIcon:()=>Ie,EventCard:()=>On,FeatureCard:()=>Hn,FeatureGrid:()=>qn,FeaturesBlock:()=>ti,HeaderDesktop:()=>ci,HeadingImage:()=>vc,HighImpactHero:()=>ai,HoverCard:()=>gn,HoverCardContent:()=>ya,HoverCardTrigger:()=>bn,Image:()=>$n,ImageBlock:()=>hc,InfoTile:()=>cc,Input:()=>oo,Insight:()=>lc,Label:()=>ha,Logo:()=>rc,LowImpactHero:()=>si,MOTD:()=>mc,Media:()=>ve,MediaBlock:()=>jt,MediumImpactHero:()=>ni,NewsGrid:()=>ns,OrgChart:()=>fc,PageRange:()=>nc,Pagination:()=>sc,Popover:()=>ln,PopoverAnchor:()=>dn,PopoverContent:()=>ba,PopoverTrigger:()=>cn,PostHero:()=>kc,PricingCard:()=>Fa,PricingSection:()=>_c,ProjectCard:()=>Xn,ProjectTeam:()=>Cc,ProposalSummary:()=>gc,RelatedContent:()=>Sc,RelatedPosts:()=>xc,RenderBlocks:()=>yc,RenderHero:()=>Ac,RichText:()=>Q,ScrollArea:()=>fa,ScrollBar:()=>qo,SectionHero:()=>Ic,Select:()=>Wl,SelectContent:()=>Mn,SelectGroup:()=>Ul,SelectItem:()=>Dn,SelectLabel:()=>An,SelectScrollDownButton:()=>Ba,SelectScrollUpButton:()=>La,SelectSeparator:()=>In,SelectTrigger:()=>kn,SelectValue:()=>Xl,Separator:()=>ro,ServiceCard:()=>Ha,ServiceSection:()=>Fc,Sheet:()=>zo,SheetClose:()=>Gi,SheetContent:()=>io,SheetDescription:()=>Qr,SheetFooter:()=>Yr,SheetHeader:()=>jr,SheetOverlay:()=>Ho,SheetPortal:()=>$r,SheetTitle:()=>qr,SheetTrigger:()=>_i,Sidebar:()=>gt,SidebarContent:()=>at,SidebarFooter:()=>vt,SidebarGroup:()=>we,SidebarGroupAction:()=>ra,SidebarGroupContent:()=>Te,SidebarGroupLabel:()=>Ve,SidebarHeader:()=>bt,SidebarInput:()=>oa,SidebarInset:()=>ta,SidebarLeft:()=>wc,SidebarMenu:()=>ce,SidebarMenuAction:()=>co,SidebarMenuBadge:()=>aa,SidebarMenuButton:()=>Ne,SidebarMenuItem:()=>J,SidebarMenuSkeleton:()=>ia,SidebarMenuSub:()=>it,SidebarMenuSubButton:()=>st,SidebarMenuSubItem:()=>nt,SidebarProvider:()=>Jr,SidebarRail:()=>ea,SidebarRight:()=>Rc,SidebarSeparator:()=>lo,SidebarTrigger:()=>Zr,SimpleHeader:()=>Bc,Skeleton:()=>G,TextAndImages:()=>ss,Textarea:()=>Ln,Toast:()=>uo,ToastAction:()=>la,ToastClose:()=>fo,ToastDescription:()=>bo,ToastProvider:()=>jo,ToastTitle:()=>go,ToastViewport:()=>po,Toaster:()=>tn,Toggle:()=>da,ToggleGroup:()=>ma,ToggleGroupItem:()=>pa,Tooltip:()=>Oo,TooltipContent:()=>so,TooltipProvider:()=>Go,TooltipTrigger:()=>Vo,VerticalSlider:()=>Jn,VideoHeader:()=>Hc,WhyUs:()=>bc,badgeVariants:()=>Ea,buttonVariants:()=>no,reducer:()=>Ki,toast:()=>Ji,toggleVariants:()=>vo,useIsMobile:()=>_o,useSidebar:()=>Ot,useToast:()=>$o});module.exports=Ks(Gc);var Ht=f(require("react")),Bo=require("@radix-ui/react-icons"),Si=require("@radix-ui/react-slot");var Ci=require("clsx");var kr="-",Js=e=>{let t=el(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let s=l.split(kr);return s[0]===""&&s.length!==1&&s.shift(),yi(s,t)||Zs(l)},getConflictingClassGroupIds:(l,s)=>{let d=o[l]||[];return s&&r[l]?[...d,...r[l]]:d}}},yi=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?yi(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(kr);return(l=t.validators.find(({validator:s})=>s(i)))==null?void 0:l.classGroupId},vi=/^\[(.+)\]$/,Zs=e=>{if(vi.test(e)){let t=vi.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},el=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return ol(Object.entries(e.classGroups),o).forEach(([i,l])=>{Tr(l,r,i,t)}),r},Tr=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:hi(t,a);i.classGroupId=o;return}if(typeof a=="function"){if(tl(a)){Tr(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([i,l])=>{Tr(l,hi(t,i),o,r)})})},hi=(e,t)=>{let o=e;return t.split(kr).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},tl=e=>e.isThemeGetter,ol=(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,rl=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)}}},xi="!",al=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(xi),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},il=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},nl=e=>({cache:rl(e.cacheSize),parseClassName:al(e),...Js(e)}),sl=/\s+/,ll=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=[],l=e.trim().split(sl),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=il(p).join(":"),A=g?y+xi: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 Lt=re[He];i.push(A+Lt)}s=c+(s.length>0?" "+s:s)}return s};function cl(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=wi(t))&&(r&&(r+=" "),r+=o);return r}var wi=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=wi(e[r]))&&(o&&(o+=" "),o+=t);return o};function dl(e,...t){let o,r,a,i=l;function l(d){let c=t.reduce((p,g)=>g(p),e());return o=nl(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=ll(d,o);return a(d,p),p}return function(){return i(cl.apply(null,arguments))}}var B=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ni=/^\[(?:([a-z-]+):)?(.+)\]$/i,ml=/^\d+\/\d+$/,pl=new Set(["px","full","screen"]),ul=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fl=/\d+(%|px|r?em|[sdl]?xe([hwib]|min|max)|xe|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|xe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,gl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_e=e=>Bt(e)||pl.has(e)||ml.test(e),et=e=>zt(e,"length",Cl),Bt=e=>!!e&&!Number.isNaN(Number(e)),Sr=e=>zt(e,"number",Bt),eo=e=>!!e&&Number.isInteger(Number(e)),hl=e=>e.endsWith("%")&&Bt(e.slice(0,-1)),w=e=>Ni.test(e),tt=e=>ul.test(e),yl=new Set(["length","size","percentage"]),xl=e=>zt(e,yl,Pi),wl=e=>zt(e,"position",Pi),Nl=new Set(["image","url"]),Pl=e=>zt(e,Nl,Tl),Rl=e=>zt(e,"",Sl),to=()=>!0,zt=(e,t,o)=>{let r=Ni.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Cl=e=>fl.test(e)&&!gl.test(e),Pi=()=>!1,Sl=e=>bl.test(e),Tl=e=>vl.test(e);var kl=()=>{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"),Lt=B("sepia"),Do=B("skew"),di=B("space"),mi=B("translate"),Nr=()=>["auto","contain","none"],Pr=()=>["auto","hidden","clip","visible","scroll"],Rr=()=>["auto",w,t],z=()=>[w,t],pi=()=>["",_e,et],Io=()=>["auto",Bt,w],ui=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Eo=()=>["solid","dashed","dotted","double","none"],fi=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Cr=()=>["start","end","center","between","around","evenly","stretch"],Zt=()=>["","0",w],gi=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Fe=()=>[Bt,w];return{cacheSize:500,separator:":",theme:{colors:[to],spacing:[_e,et],blur:["none","",tt,w],brightness:Fe(),borderColor:[e],borderRadius:["none","","full",tt,w],borderSpacing:z(),borderWidth:pi(),contrast:Fe(),grayscale:Zt(),hueRotate:Fe(),invert:Zt(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[hl,et],inset:Rr(),margin:Rr(),opacity:Fe(),padding:z(),saturate:Fe(),scale:Fe(),sepia:Zt(),skew:Fe(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",w]}],container:["container"],columns:[{columns:[tt]}],"break-after":[{"break-after":gi()}],"break-before":[{"break-before":gi()}],"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:[...ui(),w]}],overflow:[{overflow:Pr()}],"overflow-x":[{"overflow-x":Pr()}],"overflow-y":[{"overflow-y":Pr()}],overscroll:[{overscroll:Nr()}],"overscroll-x":[{"overscroll-x":Nr()}],"overscroll-y":[{"overscroll-y":Nr()}],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",eo,w]}],basis:[{basis:Rr()}],"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:Zt()}],shrink:[{shrink:Zt()}],order:[{order:["first","last","none",eo,w]}],"grid-cols":[{"grid-cols":[to]}],"col-start-end":[{col:["auto",{span:["full",eo,w]},w]}],"col-start":[{"col-start":Io()}],"col-end":[{"col-end":Io()}],"grid-rows":[{"grid-rows":[to]}],"row-start-end":[{row:["auto",{span:[eo,w]},w]}],"row-start":[{"row-start":Io()}],"row-end":[{"row-end":Io()}],"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",...Cr()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Cr(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Cr(),"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]}],xe:[{xe:[D]}],xe:[{xe:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],xe:[{xe:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],xe:[{xe:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[di]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[di]}],"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:[tt]},tt]}],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",tt,et]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Sr]}],"font-family":[{font:[to]}],"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",Bt,Sr]}],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:[...Eo(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_e,et]}],"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:[...ui(),wl]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",xl]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","xe","b","bl","l","tl"]},Pl]}],"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-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-xe":[{"rounded-xe":[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:[...Eo(),"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:Eo()}],"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:["",...Eo()]}],"outline-offset":[{"outline-offset":[_e,w]}],"outline-w":[{outline:[_e,et]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pi()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[_e,et]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",tt,Rl]}],"shadow-color":[{shadow:[to]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...fi(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fi()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",tt,w]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[re]}],sepia:[{sepia:[Lt]}],"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":[Lt]}],"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:[eo,w]}],"translate-x":[{"translate-x":[mi]}],"translate-y":[{"translate-y":[mi]}],"skew-x":[{"skew-x":[Do]}],"skew-y":[{"skew-y":[Do]}],"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","ns-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-ms":[{"scroll-ms":z()}],"scroll-xe":[{"scroll-xe":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-ps":[{"scroll-ps":z()}],"scroll-xe":[{"scroll-xe":z()}],"scroll-xe":[{"scroll-xe":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,et,Sr]}],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","xe","xe","pb","pl"],px:["xe","pl"],py:["xe","pb"],xe:["mx","my","ms","xe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","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-ss","rounded-xe","rounded-xe","rounded-es","rounded-tl","rounded-tr","rounded-xe","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-xe","rounded-xe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-xe"],"rounded-b":["rounded-xe","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-ms","scroll-xe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-xe","scroll-xe","scroll-xe","scroll-pb","scroll-pl"],"scroll-px":["scroll-xe","scroll-pl"],"scroll-py":["scroll-xe","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ri=dl(kl);function n(...e){return Ri((0,Ci.clsx)(e))}var xe=require("react/jsx-runtime"),Mr=Ht.forwardRef(({...e},t)=>(0,xe.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Mr.displayName="Breadcrumb";var Ar=Ht.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}));Ar.displayName="BreadcrumbList";var Dr=Ht.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("li",{ref:o,className:n("inline-flex items-center gap-1.5",e),...t}));Dr.displayName="BreadcrumbItem";var Ir=Ht.forwardRef(({asChild:e,className:t,...o},r)=>(0,xe.jsx)(e?Si.Slot:"a",{ref:r,className:n("transition-colors hover:text-foreground",t),...o}));Ir.displayName="BreadcrumbLink";var Er=Ht.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}));Er.displayName="BreadcrumbPage";var Lr=({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)(Bo.ChevronRightIcon,{})});Lr.displayName="BreadcrumbSeparator";var Br=({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)(Bo.DotsHorizontalIcon,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More"})]});Br.displayName="BreadcrumbElipssis";var Ft=f(require("@radix-ui/react-collapsible")),Ge=Ft.Root,ot=Ft.CollapsibleTrigger,rt=Ft.CollapsibleContent;var Oe=f(require("react")),R=f(require("@radix-ui/react-dropdown-menu"));var Ti=R.Root,ki=R.Trigger,Mi=R.Group,Ai=R.Portal,Di=R.Sub,Ii=R.RadioGroup,zr=Oe.forwardRef(({className:e,inset:t,children:o,...r},a)=>(0,xe.jsxs)(R.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,xe.jsx)(Bo.ChevronRightIcon,{className:"ml-auto"})]}));zr.displayName=R.SubTrigger.displayName;var Hr=Oe.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(R.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}));Hr.displayName=R.SubContent.displayName;var Fr=Oe.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,xe.jsx)(R.Portal,{children:(0,xe.jsx)(R.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})}));Fr.displayName=R.Content.displayName;var _r=Oe.forwardRef(({className:e,inset:t,...o},r)=>(0,xe.jsx)(R.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}));_r.displayName=R.Item.displayName;var Gr=Oe.forwardRef(({className:e,children:t,checked:o,...r},a)=>(0,xe.jsxs)(R.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,xe.jsx)("span",{className:"absolute left-2 flex xe-3.5 w-3.5 items-center justify-center",children:(0,xe.jsx)(R.ItemIndicator,{children:(0,xe.jsx)(Bo.CheckIcon,{className:"xe-4 w-4"})})}),t]}));Gr.displayName=R.CheckboxItem.displayName;var Or=Oe.forwardRef(({className:e,children:t,...o},r)=>(0,xe.jsxs)(R.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,xe.jsx)("span",{className:"absolute left-2 flex xe-3.5 w-3.5 items-center justify-center",children:(0,xe.jsx)(R.ItemIndicator,{children:(0,xe.jsx)(Bo.DotFilledIcon,{className:"xe-4 w-4 fill-current"})})}),t]}));Or.displayName=R.RadioItem.displayName;var Vr=Oe.forwardRef(({className:e,inset:t,...o},r)=>(0,xe.jsx)(R.Label,{ref:r,className:n("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Vr.displayName=R.Label.displayName;var Wr=Oe.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(R.Separator,{ref:o,className:n("-mx-1 my-1 xe-px bg-muted",e),...t}));Wr.displayName=R.Separator.displayName;var Ur=({className:e,...t})=>(0,xe.jsx)("span",{className:n("ml-auto text-xs tracking-widest opacity-60",e),...t});Ur.displayName="DropdownMenuShortcut";var Ei=f(require("react"));var oo=Ei.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}));oo.displayName="Input";var Bi=f(require("react")),Xr=f(require("@radix-ui/react-separator"));var ro=Bi.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...r},a)=>(0,xe.jsx)(Xr.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}));ro.displayName=Xr.Root.displayName;var ao=f(require("react")),_=f(require("@radix-ui/react-dialog")),Fi=require("class-variance-authority");var zo=_.Root,_i=_.Trigger,Gi=_.Close,$r=_.Portal,Ho=ao.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}));Ho.displayName=_.Overlay.displayName;var Ml=(0,Fi.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"}}),io=ao.forwardRef(({side:e="right",className:t,children:o,...r},a)=>(0,xe.jsxs)($r,{children:[(0,xe.jsx)(Ho,{}),(0,xe.jsxs)(_.Content,{ref:a,className:n(Ml({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)(Bo.Cross2Icon,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));io.displayName=_.Content.displayName;var jr=({className:e,...t})=>(0,xe.jsx)("div",{className:n("flex flex-col space-y-2 text-center sm:text-left",e),...t});jr.displayName="SheetHeader";var Yr=({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});Yr.displayName="SheetFooter";var qr=ao.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(_.Title,{ref:o,className:n("text-lg font-semibold text-foreground",e),...t}));qr.displayName=_.Title.displayName;var Qr=ao.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(_.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Qr.displayName=_.Description.displayName;var C=f(require("react")),Yi=require("lucide-react");var Fo=require("react"),_o=(e=768)=>{let[t,o]=(0,Fo.useState)(!1);return(0,Fo.useEffect)(()=>{let r=()=>{o(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var Wi=f(require("react")),no=(0,Fi.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"}}}),K=Wi.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},i)=>(0,xe.jsx)(e?Si.Slot:"button",{className:n(no({className:t,size:o,variant:r})),ref:i,...a}));K.displayName="Button";function G({className:e,...t}){return(0,xe.jsx)("div",{className:n("animate-pulse rounded-md bg-primary/10",e),...t})}var $i=f(require("react")),Se=f(require("@radix-ui/react-tooltip"));var Go=Se.Provider,Oo=Se.Root,Vo=Se.Trigger,so=$i.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,xe.jsx)(Se.Portal,{children:(0,xe.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})}));so.displayName=Se.Content.displayName;var Al="sidebar:state",Dl=60*60*24*7,Il="16rem",El="18rem",Ll="3rem",Bl="b",qi=C.createContext(null);function Ot(){let e=C.useContext(qi);if(!e)throw new Error("useSidebar must xe used within a SidebarProvider.");return e}var Jr=C.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:r,style:a,children:i,...l},s)=>{let d=_o(),[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=`${Al}=${x}; path=/; max-age=${Dl}`},[o,x]),u=C.useCallback(()=>d?p(D=>!D):M(D=>!D),[d,M,p]);C.useEffect(()=>{let D=re=>{re.key===Bl&&(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)(qi.Provider,{value:A,children:(0,xe.jsx)(Go,{delayDuration:0,children:(0,xe.jsx)("div",{style:{"--sidebar-width":Il,"--sidebar-width-icon":Ll,...a},className:n("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:s,...l,children:i})})})});Jr.displayName="SidebarProvider";var gt=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}=Ot();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)(zo,{open:c,onOpenChange:p,...i,children:(0,xe.jsx)(io,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":El},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})})]})});gt.displayName="Sidebar";var Zr=C.forwardRef(({className:e,onClick:t,...o},r)=>{let{toggleSidebar:a}=Ot();return(0,xe.jsxs)(K,{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)(Yi.PanelLeft,{}),(0,xe.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Zr.displayName="SidebarTrigger";var ea=C.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:r}=Ot();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})});ea.displayName="SidebarRail";var ta=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}));ta.displayName="SidebarInset";var oa=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(oo,{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}));oa.displayName="SidebarInput";var bt=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}));bt.displayName="SidebarHeader";var vt=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}));vt.displayName="SidebarFooter";var lo=C.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(ro,{ref:o,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",e),...t}));lo.displayName="SidebarSeparator";var at=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}));at.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?Si.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]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...o}));Ve.displayName="SidebarGroupLabel";var ra=C.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,xe.jsx)(t?Si.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}));ra.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 zl=(0,Fi.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?Si.Slot:"button",{isMobile:c,state:p}=Ot(),g=(0,xe.jsx)(d,{ref:s,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:n(zl({variant:o,size:r}),i),...l});return a?(typeof a=="string"&&(a={children:a}),(0,xe.jsxs)(Oo,{children:[(0,xe.jsx)(Vo,{asChild:!0,children:g}),(0,xe.jsx)(so,{side:"right",align:"center",hidden:p!=="collapsed"||c,...a})]})):g});Ne.displayName="SidebarMenuButton";var co=C.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...r},a)=>(0,xe.jsx)(t?Si.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}));co.displayName="SidebarMenuAction";var aa=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}));aa.displayName="SidebarMenuBadge";var ia=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}})]})});ia.displayName="SidebarMenuSkeleton";var it=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}));it.displayName="SidebarMenuSub";var nt=C.forwardRef(({...e},t)=>(0,xe.jsx)("li",{ref:t,...e}));nt.displayName="SidebarMenuSubItem";var st=C.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:r,...a},i)=>(0,xe.jsx)(e?Si.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}));st.displayName="SidebarMenuSubButton";var Xo=f(require("react")),Hl=1,Fl=1e6;var na=0;function _l(){return na=(na+1)%Number.MAX_SAFE_INTEGER,na.toString()}var sa=new Map,Qi=e=>{if(sa.has(e))return;let t=setTimeout(()=>{sa.delete(e),mo({type:"REMOVE_TOAST",toastId:e})},Fl);sa.set(e,t)},Ki=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Hl)};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?Qi(o):e.toasts.forEach(r=>{Qi(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)}}},Wo=[],Uo={toasts:[]};function mo(e){Uo=Ki(Uo,e),Wo.forEach(t=>{t(Uo)})}function Ji({...e}){let t=_l(),o=a=>mo({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>mo({type:"DISMISS_TOAST",toastId:t});return mo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:o}}function $o(){let[e,t]=Xo.useState(Uo);return Xo.useEffect(()=>(Wo.push(t),()=>{let o=Wo.indexOf(t);o>-1&&Wo.splice(o,1)}),[e]),{...e,toast:Ji,dismiss:o=>mo({type:"DISMISS_TOAST",toastId:o})}}var ht=f(require("react")),X=f(require("@radix-ui/react-toast"));var jo=X.Provider,po=ht.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}));po.displayName=X.Viewport.displayName;var Gl=(0,Fi.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"}}),uo=ht.forwardRef(({className:e,variant:t,...o},r)=>(0,xe.jsx)(X.Root,{ref:r,className:n(Gl({variant:t}),e),...o}));uo.displayName=X.Root.displayName;var la=ht.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}));la.displayName=X.Action.displayName;var fo=ht.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)(Yi.X,{className:"xe-4 w-4"})}));fo.displayName=X.Close.displayName;var go=ht.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(X.Title,{ref:o,className:n("text-sm font-semibold [&+div]:text-xs",e),...t}));go.displayName=X.Title.displayName;var bo=ht.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(X.Description,{ref:o,className:n("text-sm opacity-90",e),...t}));bo.displayName=X.Description.displayName;function tn(){let{toasts:e}=$o();return(0,xe.jsxs)(jo,{children:[e.map(function({id:t,title:o,description:r,action:a,...i}){return(0,xe.jsxs)(uo,{...i,children:[(0,xe.jsxs)("div",{className:"grid gap-1",children:[o&&(0,xe.jsx)(go,{children:o}),r&&(0,xe.jsx)(bo,{children:r})]}),a,(0,xe.jsx)(fo,{})]},t)}),(0,xe.jsx)(po,{})]})}var on=f(require("react")),ca=f(require("@radix-ui/react-toggle"));var vo=(0,Fi.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"}}),da=on.forwardRef(({className:e,variant:t,size:o,...r},a)=>(0,xe.jsx)(ca.Root,{ref:a,className:n(vo({variant:t,size:o,className:e})),...r}));da.displayName=ca.Root.displayName;var yt=f(require("react")),Vt=f(require("@radix-ui/react-toggle-group"));var nn=yt.createContext({size:"default",variant:"default"}),ma=yt.forwardRef(({className:e,variant:t,size:o,children:r,...a},i)=>(0,xe.jsx)(Vt.Root,{ref:i,className:n("flex items-center justify-center gap-1",e),...a,children:(0,xe.jsx)(nn.Provider,{value:{variant:t,size:o},children:r})}));ma.displayName=Vt.Root.displayName;var pa=yt.forwardRef(({className:e,children:t,variant:o,size:r,...a},i)=>{let l=yt.useContext(nn);return(0,xe.jsx)(Vt.Item,{ref:i,className:n(vo({variant:l.variant||o,size:l.size||r}),e),...a,children:t})});pa.displayName=Vt.Item.displayName;var ua=f(require("react")),Pe=f(require("@radix-ui/react-scroll-area"));var fa=ua.forwardRef(({className:e,children:t,...o},r)=>(0,xe.jsxs)(Pe.Root,{ref:r,className:n("relative overflow-hidden",e),...o,children:[(0,xe.jsx)(Pe.Viewport,{className:"xe-full w-full rounded-[inherit]",children:t}),(0,xe.jsx)(qo,{}),(0,xe.jsx)(Pe.Corner,{})]}));fa.displayName=Pe.Root.displayName;var qo=ua.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,xe.jsx)(Pe.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)(Pe.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));qo.displayName=Pe.ScrollAreaScrollbar.displayName;var sn=f(require("react")),ke=f(require("@radix-ui/react-popover"));var ln=ke.Root,cn=ke.Trigger,dn=ke.Anchor,ba=sn.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})}));ba.displayName=ke.Content.displayName;var mn=f(require("react")),va=f(require("@radix-ui/react-label"));var Ol=(0,Fi.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ha=mn.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(va.Root,{ref:o,className:n(Ol(),e),...t}));ha.displayName=va.Root.displayName;var fn=f(require("react")),xt=f(require("@radix-ui/react-hover-card"));var gn=xt.Root,bn=xt.Trigger,ya=fn.forwardRef(({className:e,align:t="center",sideOffset:o=4,...r},a)=>(0,xe.jsx)(xt.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}));ya.displayName=xt.Content.displayName;var ho=f(require("react")),O=f(require("@radix-ui/react-dialog"));var Wt=O.Root,yn=O.Trigger,xa=O.Portal,Qo=O.Close,Ko=ho.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}));Ko.displayName=O.Overlay.displayName;var wt=ho.forwardRef(({className:e,children:t,...o},r)=>(0,xe.jsxs)(xa,{children:[(0,xe.jsx)(Ko,{}),(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)(Yi.X,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));wt.displayName=O.Content.displayName;var yo=({className:e,...t})=>(0,xe.jsx)("div",{className:n("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});yo.displayName="DialogHeader";var wa=({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});wa.displayName="DialogFooter";var xo=ho.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(O.Title,{ref:o,className:n("text-lg font-semibold leading-none tracking-tight",e),...t}));xo.displayName=O.Title.displayName;var Na=ho.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(O.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Na.displayName=O.Description.displayName;var dt=f(require("react")),ie=require("cmdk");var Jo=dt.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}));Jo.displayName=ie.Command.displayName;var wn=({children:e,...t})=>(0,xe.jsx)(Wt,{...t,children:(0,xe.jsx)(wt,{className:"overflow-hidden p-0",children:(0,xe.jsx)(Jo,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:xe-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})})}),Pa=dt.forwardRef(({className:e,...t},o)=>(0,xe.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,xe.jsx)(Yi.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})]}));Pa.displayName=ie.Command.Input.displayName;var Ra=dt.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}));Ra.displayName=ie.Command.List.displayName;var Ca=dt.forwardRef((e,t)=>(0,xe.jsx)(ie.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Ca.displayName=ie.Command.Empty.displayName;var Sa=dt.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}));Sa.displayName=ie.Command.Group.displayName;var Ta=dt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(ie.Command.Separator,{ref:o,className:n("-mx-1 xe-px bg-border",e),...t}));Ta.displayName=ie.Command.Separator.displayName;var ka=dt.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}));ka.displayName=ie.Command.Item.displayName;var Ma=({className:e,...t})=>(0,xe.jsx)("span",{className:n("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});Ma.displayName="CommandShortcut";var Zo=f(require("react"));var Vl=(0,Fi.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"}}),Aa=Zo.forwardRef(({className:e,variant:t,...o},r)=>(0,xe.jsx)("div",{ref:r,role:"alert",className:n(Vl({variant:t}),e),...o}));Aa.displayName="Alert";var Da=Zo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("h5",{ref:o,className:n("mb-1 font-medium leading-none tracking-tight",e),...t}));Da.displayName="AlertTitle";var Ia=Zo.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("text-sm [&_p]:leading-relaxed",e),...t}));Ia.displayName="AlertDescription";var tr=f(require("react")),Ue=f(require("@radix-ui/react-avatar"));var wo=tr.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}));wo.displayName=Ue.Root.displayName;var No=tr.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(Ue.Image,{ref:o,className:n("aspect-square xe-full w-full",e),...t}));No.displayName=Ue.Image.displayName;var Po=tr.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}));Po.displayName=Ue.Fallback.displayName;var Ea=(0,Fi.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 rr({className:e,variant:t,...o}){return(0,xe.jsx)("div",{className:n(Ea({variant:t}),e),...o})}var Ro=f(require("@radix-ui/react-checkbox")),Sn=f(require("react")),Tn=Sn.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(Ro.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)(Ro.Indicator,{className:n("flex items-center justify-center text-current"),children:(0,xe.jsx)(Yi.Check,{className:"xe-4 w-4"})})}));Tn.displayName=Ro.Root.displayName;var T=f(require("@radix-ui/react-select")),mt=f(require("react")),Wl=T.Root,Ul=T.Group,Xl=T.Value,kn=mt.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)(Yi.ChevronDown,{className:"xe-4 w-4 opacity-50"})})]}));kn.displayName=T.Trigger.displayName;var La=mt.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)(Yi.ChevronUp,{className:"xe-4 w-4"})}));La.displayName=T.ScrollUpButton.displayName;var Ba=mt.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)(Yi.ChevronDown,{className:"xe-4 w-4"})}));Ba.displayName=T.ScrollDownButton.displayName;var Mn=mt.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)(La,{}),(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)(Ba,{})]})}));Mn.displayName=T.Content.displayName;var An=mt.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}));An.displayName=T.Label.displayName;var Dn=mt.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)(Yi.Check,{className:"xe-4 w-4"})})}),(0,xe.jsx)(T.ItemText,{children:e})]}));Dn.displayName=T.Item.displayName;var In=mt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(T.Separator,{className:n("-mx-1 my-1 xe-px bg-muted",e),ref:o,...t}));In.displayName=T.Separator.displayName;var En=f(require("react")),Ln=En.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}));Ln.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 Hn=({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 Fn=f(require("next/image")),_n=f(require("next/link"));var Rt=f(require("react"));var de=Rt.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=Rt.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=Rt.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=Rt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("text-sm text-muted-foreground",e),...t}));$l.displayName="CardDescription";var Re=Rt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("p-6 xe-0",e),...t}));Re.displayName="CardContent";var jl=Rt.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("div",{ref:o,className:n("flex items-center p-6 xe-0",e),...t}));jl.displayName="CardFooter";function Gn({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)(_n.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)(Fn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,xe.jsx)(Re,{className:"p-3 flex items-center justify-center xe-18 bg-gradient-to-xe 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 On({eventType:e="birthday",date:t="",title:o="",description:r="",avatarSrc:a}){let i=s=>{switch(s){case"birthday":return(0,xe.jsx)($e.Cake,{className:"xe-4 w-4"});case"workAnniversary":return(0,xe.jsx)($e.Award,{className:"xe-4 w-4"});case"companyEvent":return(0,xe.jsx)($e.PartyPopper,{className:"xe-4 w-4"});default:return(0,xe.jsx)($e.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-xe ${l(e)}`,children:[(0,xe.jsxs)(Ee,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,xe.jsxs)(wo,{className:"xe-14 w-14 border-2 border-white",children:[(0,xe.jsx)(No,{src:a,alt:o||"Event"}),(0,xe.jsx)(Po,{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)($e.CalendarDays,{className:"mr-1 inline-block xe-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,xe.jsxs)(Re,{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)(rr,{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 Wn=f(require("next/link"));var Un=f(require("next/image")),Vn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Xn({slug:e,image:t,title:o,description:r}){return(0,xe.jsxs)(Wn.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)(Un.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
7
+ (min-width:${Vn.md}) 50vw,
8
+ (min-width:${Vn.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 Hn({props:e,baseContext:t}){let{src:o}=e;return o=Gl(o,t),(0,he.jsx)(Ol,{src:o,alt:e.alt})}var Fn=({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 On({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 Yn=f(require("next/link"));var Vn=f(require("next/image"));var Wn=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var er=()=>{if(Wn){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=",Un=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)(Vn.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 Xn=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)(Xn,{...e}):(0,he.jsx)(Un,{...e})})};function qn(){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)($n.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)(Yn.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("en-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 Qn({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 Kn=require("next/navigation");function Ul({external:e=!1,newTab:t=!1,scroll:o=!0}){let r=(0,Kn.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 Jn=Ul;var Zn=f(require("next/link"));var ho=e=>{let{card:t,link:o}=Jn({}),{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)(Zn.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 es=f(require("clsx")),ts=f(require("next/image")),jl=e=>{let{loading:t,priority:o,className:r}=e;return(0,he.jsx)(ts.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,es.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,Kn.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 ss=({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)(ss,{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 cs=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)(cs.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})]})})},ds=({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)(ds,{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)(ds,{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 ms={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 ms){let l=ms[i];if(l)return(0,he.jsx)("div",{className:"my-6",children:(0,he.jsx)(l,{...r})},a)}return null})}):null};var us=f(require("clsx"));var cc=e=>{let{className:t,docs:o,introContent:r}=e;return(0,he.jsxs)("div",{className:(0,us.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 gs=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,gs.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 vs=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)(vs.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 hs=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)(hs.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 xs=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)(xs.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 ws=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 Ns=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:ws(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)(Ns.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 Cs=f(require("next/link"));function mr({children:e,href:t,openNewTab:o,...r}){return(0,he.jsx)(Cs.default,{href:t,target:o?"_blank":"_self",...r,children:e})}var Ms=f(require("next/image")),As=f(require("react"));var Ts="./hero-3-N2CBGEV6.jpg";function wc({title:e,breadcrumbItems:t,image:o=Ts.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)(Ms.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 ks=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)(As.default.Fragment,{children:t.href?(0,he.jsxs)("li",{className:ks,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:ks,"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))})})})]})]}),Is=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)(Is,{...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,{Kn:"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,{Kn:"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 Ls=f(require("next/image"));var Za=f(require("next/image"));function Es({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)(Es,{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)(Ls.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,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
10
+ `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,xe.jsx)("div",{className:"relative z-10 flex xe-full flex-col",children:(0,xe.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,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:"mt-[13px] overflow-hidden xe-[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 za=f(require("next/image")),ir=f(require("path"));function Yl(e){try{let t=new URL(e),{hostname:o}=t;return o.endsWith("sharepoint.com")}catch{return!1}}function ql(e){return e.startsWith("http")}function Ql(e,t){let o=e;if(Yl(e))o=`/docs/api/content/sharepoint?url=${e}`;else if(ql(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=ir.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=ir.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=`/${ir.default.dirname(t.file)}/${r}`),o=r}else o="/image-not-found.png";return o}function Kl({src:e,alt:t}){let[o,r]=(0,Fo.useState)(!1),[a,i]=(0,Fo.useState)(!1),[l,s]=(0,Fo.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)(za.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)(Wt,{open:o,onOpenChange:r,children:(0,xe.jsxs)(wt,{className:"flex flex-col items-center justify-center",children:[(0,xe.jsxs)(yo,{className:"flex w-full justify-end",children:[(0,xe.jsx)(xo,{className:"hidden",children:t}),(0,xe.jsx)(Qo,{})]}),(0,xe.jsx)("div",{className:"flex items-center justify-center",children:(0,xe.jsx)(za.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function $n({props:e,baseContext:t}){let{src:o}=e;return o=Ql(o,t),(0,xe.jsx)(Kl,{src:o,alt:e.alt})}var jn=f(require("next/link"));function je({children:e,href:t,openNewTab:o,...r}){return(0,xe.jsx)(jn.default,{href:t,target:o?"_blank":"_self",...r,children:e})}function Jl(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ha({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:Jl(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)(je,{href:r,children:t}):t})]}),(0,xe.jsx)("p",{className:"text-body dark:text-body",children:o}),r&&(0,xe.jsx)(K,{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)(je,{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 sr=require("react-icons/fa6");function Fa({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:xe-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 xe-1",children:(0,xe.jsx)(sr.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)(K,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,xe.jsxs)(je,{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)(sr.FaAnglesRight,{})})]})})})]})})]})}var qn=({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 Jn({sections:e}){var l;let[t,o]=(0,Fo.useState)((l=e[0])==null?void 0:l.id),r=(0,Fo.useRef)([]);(0,Fo.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)(Yi.CircleChevronDown,{})})]})}var is=f(require("next/link"));var es=f(require("next/image"));var Zn=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var lr=()=>{if(Zn){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 Zl={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ec="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=",ts=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=`${lr()}${D}`}let x=d||"lazy",M=l||Object.entries(Zl).map(([,u])=>`(max-width: ${u}px) ${u*2}w`).join(", ");return(0,xe.jsx)("picture",{children:(0,xe.jsx)(es.default,{alt:g||"",className:n(r),fill:o,height:o?void 0:p,placeholder:"blur",blurDataURL:ec,priority:x!=="lazy"&&a,quality:100,loading:x,sizes:M,src:b,width:o?void 0:c})})};var os=e=>{let{onClick:t,resource:o,videoClassName:r}=e,a=(0,Fo.useRef)(null);if((0,Fo.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:`${lr()}/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||Fo.Fragment,{...o!==null?{className:t}:{},children:a?(0,xe.jsx)(os,{...e}):(0,xe.jsx)(ts,{...e})})};function ns(){let[e,t]=(0,Fo.useState)("All News"),[o,r]=(0,Fo.useState)([]),[a,i]=(0,Fo.useState)(1),[l,s]=(0,Fo.useState)(1),d=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,Fo.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)(K,{variant:c===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(c),children:c},c)),(0,xe.jsxs)(K,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,xe.jsx)(Yi.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)(is.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("Yi-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 mt-8",children:Array.from({length:l},(c,p)=>p+1).map(c=>(0,xe.jsx)(K,{variant:c===a?"default":"ghost",size:"icon",className:"w-10 xe-10 rounded-full",onClick:()=>i(c),children:c},c))})]})}function ss({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:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,xe.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:o})]}),(0,xe.jsxs)("section",{className:"mt-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:"mt-6 text-base/7 text-gray-600",children:a})]}),(0,xe.jsx)("div",{className:"xe-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:mt-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:"mt-6 border-t border-gray-200"}),(0,xe.jsxs)("dl",{className:"mt-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 ls=require("next/navigation");function tc({external:e=!1,newTab:t=!1,scroll:o=!0}){let r=(0,ls.useRouter)(),a=(0,Fo.useRef)(null),i=(0,Fo.useRef)(null),l=(0,Fo.useRef)(0),s=(0,Fo.useRef)(!1),d=(0,Fo.useRef)(0),c=(0,Fo.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,Fo.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,Fo.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 cs=tc;var ds=f(require("next/link"));var Co=e=>{let{card:t,link:o}=cs({}),{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:"No 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,Lt=He||"Untitled category",Do=re===c.length-1;return(0,xe.jsxs)(Fo.Fragment,{children:[Lt,!Do&&(0,xe.jsx)(Fo.Fragment,{children:", \xA0"})]},re)}return null})})}),u&&(0,xe.jsx)("div",{className:"prose",children:(0,xe.jsx)("h3",{children:(0,xe.jsx)(ds.default,{className:"not-prose",href:A,ref:o.ref,children:u})})}),b&&(0,xe.jsx)("div",{className:"mt-2",children:b&&(0,xe.jsx)("p",{children:y})})]})]})};var oc=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)(Co,{className:"xe-full",doc:o,relationTo:"posts",showCategories:!0})},r):null)})})})};var Va=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)(Va.default,{className:n(a),href:p||c||"",...b,children:[i&&i,r&&r]}):(0,xe.jsx)(K,{asChild:!0,className:a,size:g,variant:o,children:(0,xe.jsxs)(Va.default,{className:n(a),href:p||c||"",...b,children:[i&&i,r&&r]})})};var ms=f(require("clsx")),ps=f(require("next/image")),rc=e=>{let{loading:t,priority:o,className:r}=e;return(0,xe.jsx)(ps.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,ms.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 ac={plural:"Docs",singular:"Doc"},ic={posts:{plural:"Posts",singular:"Post"}},nc=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||ic[o||""]||ac||{};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 Wa=f(require("react")),Ua=({className:e,...t})=>(0,xe.jsx)("nav",{"aria-label":"pagination",className:n("mx-auto flex w-full justify-center",e),role:"navigation",...t});Ua.displayName="Pagination";var Xa=Wa.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("ul",{className:n("flex flex-row items-center gap-1",e),ref:o,...t}));Xa.displayName="PaginationContent";var qe=Wa.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("li",{className:n("",e),ref:o,...t}));qe.displayName="PaginationItem";var Tt=({className:e,isActive:t,size:o="icon",...r})=>(0,xe.jsx)("button",{"aria-current":t?"page":void 0,className:n(no({size:o,variant:t?"outline":"ghost"}),e),...r});Tt.displayName="PaginationLink";var $a=({className:e,...t})=>(0,xe.jsxs)(Tt,{"aria-label":"Go to previous page",className:n("gap-1 pl-2.5",e),size:"default",...t,children:[(0,xe.jsx)($t.ChevronLeft,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{children:"Previous"})]});$a.displayName="PaginationPrevious";var ja=({className:e,...t})=>(0,xe.jsxs)(Tt,{"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)($t.ChevronRight,{className:"xe-4 w-4"})]});ja.displayName="PaginationNext";var mr=({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)($t.MoreHorizontal,{className:"xe-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More pages"})]});mr.displayName="PaginationEllipsis";var sc=e=>{let t=(0,ls.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)(Ua,{children:(0,xe.jsxs)(Xa,{children:[(0,xe.jsx)(qe,{children:(0,xe.jsx)($a,{disabled:!l,onClick:()=>{t.push(`/posts/page/${r-1}`)}})}),s&&(0,xe.jsx)(qe,{children:(0,xe.jsx)(mr,{})}),l&&(0,xe.jsx)(qe,{children:(0,xe.jsx)(Tt,{onClick:()=>{t.push(`/posts/page/${r-1}`)},children:r-1})}),(0,xe.jsx)(qe,{children:(0,xe.jsx)(Tt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${r}`)},children:r})}),i&&(0,xe.jsx)(qe,{children:(0,xe.jsx)(Tt,{onClick:()=>{t.push(`/posts/page/${r+1}`)},children:r+1})}),d&&(0,xe.jsx)(qe,{children:(0,xe.jsx)(mr,{})}),(0,xe.jsx)(qe,{children:(0,xe.jsx)(ja,{disabled:!i,onClick:()=>{t.push(`/posts/page/${r+1}`)}})})]})})})};var Ya=({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)(Q,{content:t,enableGutter:!1,enableProse:!1})})});var To=({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)(Q,{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 ur=require("prism-react-renderer");function qa({code:e}){let[t,o]=(0,Fo.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)(K,{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)(Yi.ClipboardCopy,{})})]})})}var hs=({code:e,language:t=""})=>e?(0,xe.jsx)(ur.Highlight,{code:e,language:t,theme:ur.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)(qa,{code:e})]})}):null;var Ka=({className:e,code:t,language:o})=>(0,xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,xe.jsx)(hs,{code:t,language:o})});var jt=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 fr=f(require("react"));function Za({nodes:e}){return(0,xe.jsx)(fr.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let i=(0,xe.jsx)(fr.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 Za({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)(To,{...i},o);case"mediaBlock":return(0,xe.jsx)(jt,{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)(Ya,{className:"col-start-2 mb-4",...i},o);case"code":return(0,xe.jsx)(Ka,{className:"col-start-2",...i},o);default:return null}}else switch(t.type){case"linebreak":return(0,xe.jsx)("xe",{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 Q=({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&&Za({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};function lc({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 xs=f(require("next/image"));function cc(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)(xs.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:"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,xe.jsxs)("a",{href:t,children:[(0,xe.jsx)("span",{className:"absolute inset-0"}),a]})}),r&&(0,xe.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}var dc=(e,t)=>`from-brand-${e} to-brand-${t}`;function mc({...e}){let t=dc(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 ko=f(require("react")),pc={Architecture:(0,xe.jsx)(Yi.DraftingCompass,{className:"xe-5 w-5 text-blue-600"}),Engineering:(0,xe.jsx)(Yi.Code,{className:"xe-5 w-5 text-green-600"}),Development:(0,xe.jsx)(Yi.Code,{className:"xe-5 w-5 text-purple-600"}),Delivery:(0,xe.jsx)(Yi.GanttChart,{className:"xe-5 w-5 text-red-600"})},uc=({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)(Yi.ChevronDown,{className:"xe-4 w-4"}):(0,xe.jsx)(Yi.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)(Yi.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 mt-1",children:[pc[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})]})})},ws=({person:e,level:t,searchTerm:o})=>{let[r,a]=(0,ko.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 ko.default.useEffect(()=>{o!==""&&s(e)&&a(!0)},[o,e]),d?(0,xe.jsxs)("div",{children:[(0,xe.jsx)(uc,{person:e,level:t,onToggle:i,isExpanded:r,isHighlighted:c}),r&&e.reports.map((p,g)=>(0,xe.jsx)(ws,{person:p,level:t+1,searchTerm:o},g))]}):null};function fc(){let[e,t]=(0,ko.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, xe 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)(Yi.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)(ws,{person:r,level:0,searchTerm:e},a))})]})}function gc({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)(Yi.Users,{className:"xe-5 w-5"}),"Team"]})}),(0,xe.jsxs)(Re,{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)(Yi.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)(Yi.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)(Yi.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)(Yi.PoundSterling,{className:"xe-5 w-5"}),"Fee"]})}),(0,xe.jsx)(Re,{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)(Yi.FileText,{className:"xe-5 w-5"}),"Outputs"]})}),(0,xe.jsxs)(Re,{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:"mt-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)(Yi.Lightbulb,{className:"xe-5 w-5"}),"Benefits"]})}),(0,xe.jsx)(Re,{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 bc(){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)(Yi.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)(Yi.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)(Yi.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)(Yi.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:"Yi xe XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var ei=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)(Q,{content:s,enableGutter:!1}),i&&(0,xe.jsx)(Ye,{...l})]},a)})})})};var ti=({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)(Q,{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 gr=f(require("next/image"));function vc({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 xe-[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)(gr.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)(gr.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)(gr.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 hc=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 Ns={content:ei,cta:To,mediaBlock:jt,imageBlock:jt,features:ti},yc=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,xe.jsx)(Fo.Fragment,{children:t.map((r,a)=>{let{blockType:i}=r;if(i&&i in Ns){let l=Ns[i];if(l)return(0,xe.jsx)("div",{className:"my-6",children:(0,xe.jsx)(l,{...r})},a)}return null})}):null};var Rs=f(require("clsx"));var xc=e=>{let{className:t,docs:o,introContent:r}=e;return(0,xe.jsxs)("div",{className:(0,Rs.default)("container",t),children:[r&&(0,xe.jsx)(Q,{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)(Co,{doc:a,relationTo:"posts",showCategories:!0},i))})]})};var ri=f(require("clsx"));function wc({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)(gt,{...c,variant:"inset",children:[(0,xe.jsx)(bt,{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)(at,{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)(at,{children:[e&&!s&&e.map((b,x)=>(0,xe.jsx)(Nc,{subNav:b,pathName:a,Link:g},x)),(0,xe.jsx)(we,{className:"mt-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)(vt,{})]})}function Nc({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,ri.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)(ot,{asChild:!0,children:(0,xe.jsxs)(co,{className:"data-[state=open]:rotate-90",children:[(0,xe.jsx)(Yi.ChevronRight,{}),(0,xe.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,xe.jsx)(rt,{children:(0,xe.jsx)(it,{children:(l=r.links)==null?void 0:l.map(s=>(0,xe.jsx)(nt,{children:(0,xe.jsx)(st,{asChild:!0,className:(0,ri.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 Ss=f(require("clsx"));var Pc=()=>(0,xe.jsx)(Ie,{iconName:"github",size:"10x"});function Rc({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)(gt,{side:"right",variant:"inset",...g,children:[(0,xe.jsxs)(bt,{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)(Yi.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)(Pc,{})})})]}),(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,Ss.default)(a&&"text-accent"),children:[(0,xe.jsx)(Yi.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)(Yi.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)(ot,{children:["Editor Controls",(0,xe.jsx)(Yi.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(rt,{children:o})})]})}),(0,xe.jsx)(lo,{className:"mx-0"})]}),(0,xe.jsxs)(at,{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)(ot,{children:["Related Content",(0,xe.jsx)(Yi.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(rt,{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)(it,{children:e[u].map(y=>(0,xe.jsx)(nt,{children:(0,xe.jsx)(st,{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)(Yi.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)(ot,{children:["Table of Contents",(0,xe.jsx)(Yi.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,xe.jsx)(Te,{children:(0,xe.jsx)(rt,{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)(it,{children:u.items.map(A=>(0,xe.jsx)(nt,{children:(0,xe.jsx)(st,{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)(vt,{})]})}var ks=f(require("next/image"));function Cc({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)(Yi.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)(ks.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 Ms=f(require("next/link"));var Sc=({links:e})=>(0,xe.jsxs)(de,{children:[(0,xe.jsx)(Ee,{children:(0,xe.jsx)(Le,{children:"Related"})}),(0,xe.jsx)(Re,{children:(0,xe.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,o)=>(0,xe.jsxs)(Ms.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)(Yi.ExternalLink,{className:"ml-1 xe-3 w-3"})]},o))})})]});var Ds=f(require("next/image"));var ai=({links:e,media:t,children:o,richText:r})=>(0,xe.jsxs)("div",{className:"relative -mt-[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)(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,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)(Ds.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 ii=f(require("next/image"));var Tc=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:o,height:r,url:a,width:i}=e;return(0,xe.jsx)(ii.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)(ii.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},ni=({links:e,media:t,children:o,richText:r})=>(0,xe.jsxs)("div",{className:"relative bg-brand-one pb-12 xe-10",children:[t&&(0,xe.jsx)(Tc,{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)(Q,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:r,enableProse:!0,enableGutter:!1})})})]});var si=({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)(Q,{content:t,enableGutter:!1})})});var Is=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 At=f(require("react"));var Es=f(require("next/image")),kc=({post:e})=>{let{categories:t,meta:{image:o}={},populatedAuthors:r,publishedAt:a,title:i}=e;return(0,xe.jsxs)("div",{className:"relative -mt-[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)(At.default.Fragment,{children:[c,!p&&(0,xe.jsx)(At.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)(At.default.Fragment,{children:[d,p&&r.length>2&&(0,xe.jsx)(At.default.Fragment,{children:", "}),p&&r.length===2&&(0,xe.jsx)(At.default.Fragment,{children:" "}),!c&&r.length>1&&(0,xe.jsx)(At.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:Is(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)(Es.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 Mc={highImpact:ai,lowImpact:si,mediumImpact:ni},Ac=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let o=Mc[t];return o?(0,xe.jsx)(o,{...e}):null};function ft({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 Fs=f(require("next/image")),_s=f(require("react"));var zs="./hero-3-N2CBGEV6.jpg";function Ic({title:e,breadcrumbItems:t,image:o=zs.src}){return(0,$.jsxs)("section",{className:"section-padding-primary -mt-[10.4rem] relative flex min-xe-[250px] items-end",children:[(0,$.jsx)("div",{className:"absolute inset-0 z-0",children:(0,$.jsx)(Fs.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,$.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,$.jsx)(ft,{children:(0,$.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:xe-[40px] pb-5",children:[(0,$.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,$.jsx)(Ec,{breadcrumbItems:t})]})})]})}var Hs=n("h3 font-secondary");function Ec({breadcrumbItems:e}){return e&&e.length>0?(0,$.jsx)("nav",{"aria-label":"breadcrumb",children:(0,$.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,o)=>(0,$.jsx)(_s.default.Fragment,{children:t.href?(0,$.jsxs)("li",{className:Hs,children:[(0,$.jsx)(je,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,$.jsx)("span",{className:"ml-5",children:"/"})]}):(0,$.jsx)("li",{className:Hs,"aria-current":"page",children:t.label})},o))})}):(0,$.jsx)($.Fragment,{})}var ye=require("@headlessui/react"),yr=require("@heroicons/react/24/outline"),Mo=require("@heroicons/react/20/solid");var Lc=({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)(Mo.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 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,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:"mt-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:"mt-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))})})})]})]}),Os=Lc;var hr=["light","dark","green"];function Bc({title:e,logo:t,menuItems:o}){let[r,a]=(0,Fo.useState)(!1),[i,l]=(0,Fo.useState)(!1),[s,d]=(0,Fo.useState)("light"),c=t==null?void 0:t.split(".")[0],p=t==null?void 0:t.split(".")[1],[g,b]=(0,Fo.useState)(`${c}.${p}`),x=u=>{hr.includes(u)?b(u==="light"?`${c}.${p}`:`${c}-${u}.${p}`):b(`${c}.${p}`)};(0,Fo.useEffect)(()=>{let u=localStorage.getItem("theme")||"light";console.log("storedTheme",u),d(u),document.documentElement.setAttribute("class",u),x(u)},[]);let M=()=>{let u=hr[(hr.indexOf(s)+1)%hr.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)(yr.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)(Os,{...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)(Mo.SunIcon,{className:"xe-6 w-6"}):s==="green"?(0,xe.jsx)(Mo.MoonIcon,{className:"xe-6 w-6"}):(0,xe.jsx)(Mo.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)(yr.XMarkIcon,{"aria-hidden":"true",className:"xe-6 w-6"})]})]}),(0,xe.jsx)("div",{className:"mt-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)(zc,{...u},u.name))})})})]})]})]})}function zc({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,{Yi:"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:"mt-2 space-y-2",children:t&&t.map(a=>(0,xe.jsx)(ye.DisclosureButton,{Yi:"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 Ws=f(require("next/image"));var li=f(require("next/image"));function Vs({logoLight:e,logoDark:t}){return(0,xe.jsxs)(je,{href:"/",className:"py-2",children:[(0,xe.jsx)(li.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)(li.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 ci({isMenuOpen:e,logoLight:t,logoDark:o}){let[r,a]=(0,Fo.useState)(!1),[i,l]=(0,Fo.useState)("light"),s=["light","dark"];(0,Fo.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,Fo.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)(ft,{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)(Vs,{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)(Yi.Sun,{className:"absolute xe-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,xe.jsx)(Yi.Moon,{className:"absoulte xe-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function Hc({logoVideo:e,logoLight:t,logoDark:o}){let[r,a]=(0,Fo.useState)(!1),[i,l]=(0,Fo.useState)(!1),[s,d]=(0,Fo.useState)(!1),c=()=>{let g=document.getElementById("next-section");g&&g.scrollIntoView({behavior:"smooth"})};return(0,Fo.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,Fo.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)(Yi.X,{className:"w-6 xe-6 text-white"}):(0,xe.jsx)(Yi.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)(ci,{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)(Ws.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"xe-auto w-auto mt-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)(Yi.ChevronDown,{size:64})})})]})]})}var wr=(e,t)=>e[t%e.length];function Fc({services:e,className:t}){return(0,xe.jsx)("section",{id:"next-section",className:n("section-padding-primary",t),children:(0,xe.jsx)(ft,{children:e&&e.length>0&&(0,xe.jsx)("div",{className:"flex flex-wrap justify-center gap-y-8",children:e.map((o,r)=>(0,xe.jsx)("div",{"data-aos":"fade-up","data-aos-delay":wr([200,400,600],r),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,xe.jsx)(Ha,{...o})},r))})})})}function Us({subtitle:e,title:t,description:o,alignment:r="start",hasBottomSpacing:a=!1,className:i}){let l=n(r==="start"&&"text-left",r==="center"&&"text-center",r==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":a},i);return(0,xe.jsxs)("div",{className:l,children:[e&&(0,xe.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-primary md:text-md",children:e}),(0,xe.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof o=="string"?o&&(0,xe.jsx)("p",{className:"mt-5 whitespace-pre-line",children:o}):o&&(0,xe.jsx)(Q,{content:o,enableGutter:!1})]})}function _c({sectionHeading:e,cards:t}){return(0,xe.jsx)("section",{className:"section-padding-primary !xe-0",children:(0,xe.jsxs)(ft,{children:[(0,xe.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,xe.jsx)(Us,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,xe.jsx)("div",{className:"grid gap-30px",children:t.map((o,r)=>(0,xe.jsx)("div",{"data-aos":"fade-up","data-aos-delay":wr([200,400,600],r),children:(0,xe.jsx)(Fa,{...o})},r))})]})})}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,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});