cortex-react-components 1.29.0 → 1.29.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/{chunk-BG4CGVSG.mjs → chunk-2W7UDDKR.mjs} +1 -1
  2. package/dist/{chunk-QAOWQ4NG.mjs → chunk-3ZIA2KQX.mjs} +1 -1
  3. package/dist/{chunk-Y3XMLED3.mjs → chunk-4MMGN3DI.mjs} +1 -1
  4. package/dist/{chunk-OEM7RQ4Q.mjs → chunk-5EX5KVLO.mjs} +1 -1
  5. package/dist/{chunk-G56GDDMR.mjs → chunk-5YXH7HKC.mjs} +1 -1
  6. package/dist/{chunk-ODLDYXPZ.mjs → chunk-6FHLIH4J.mjs} +1 -1
  7. package/dist/{chunk-RMOHWP4H.mjs → chunk-7T6B7LTY.mjs} +1 -1
  8. package/dist/{chunk-J4WWW7JZ.mjs → chunk-AI4O67DP.mjs} +1 -1
  9. package/dist/{chunk-IB72MBM7.mjs → chunk-CP6IA4YZ.mjs} +1 -1
  10. package/dist/{chunk-QRNJ7O2L.mjs → chunk-CW7WANDA.mjs} +1 -1
  11. package/dist/{chunk-2DFHHXVF.mjs → chunk-EAWJSYRY.mjs} +1 -1
  12. package/dist/{chunk-7FZEK4Y3.mjs → chunk-G5W2FRKR.mjs} +1 -1
  13. package/dist/{chunk-7UWJMEZF.mjs → chunk-H6CE5WUH.mjs} +1 -1
  14. package/dist/{chunk-NGAHEN2R.mjs → chunk-HKQTZEAU.mjs} +1 -1
  15. package/dist/{chunk-WR4OEF6T.mjs → chunk-HLVC24DD.mjs} +1 -1
  16. package/dist/{chunk-EMZQNDA7.mjs → chunk-IMAQJ7N3.mjs} +1 -1
  17. package/dist/{chunk-D43ENVPX.mjs → chunk-IPHHUHS3.mjs} +1 -1
  18. package/dist/{chunk-ZVP4BQYG.mjs → chunk-KHYEZGJL.mjs} +1 -1
  19. package/dist/chunk-KZXIU5HU.mjs +1 -0
  20. package/dist/{chunk-IE2A7UT3.mjs → chunk-LBKMUSVR.mjs} +1 -1
  21. package/dist/{chunk-63BUZTVI.mjs → chunk-MESSAICX.mjs} +1 -1
  22. package/dist/{chunk-Z3ACMQN7.mjs → chunk-MRGXKR3Z.mjs} +1 -1
  23. package/dist/{chunk-3ULIS6GM.mjs → chunk-NJOL7VPX.mjs} +1 -1
  24. package/dist/{chunk-YH4LGOVO.mjs → chunk-NTZ7QYQY.mjs} +1 -1
  25. package/dist/{chunk-4MNYZ3VG.mjs → chunk-PI22WMV7.mjs} +1 -1
  26. package/dist/{chunk-FNFAQ72H.mjs → chunk-UOFX6XIQ.mjs} +1 -1
  27. package/dist/{chunk-MWV2JJKP.mjs → chunk-UWI7CFWY.mjs} +1 -1
  28. package/dist/{chunk-2ZFONB6D.mjs → chunk-V4VMD2TB.mjs} +1 -1
  29. package/dist/{chunk-4KDRHMVB.mjs → chunk-VF2IUC43.mjs} +1 -1
  30. package/dist/{chunk-4HRWWEM5.mjs → chunk-VYG2DHIF.mjs} +1 -1
  31. package/dist/{chunk-MWR4OP2Y.mjs → chunk-WMLRM54W.mjs} +1 -1
  32. package/dist/{chunk-5SC2DMOZ.mjs → chunk-XG7W7VXH.mjs} +1 -1
  33. package/dist/{chunk-XWNNVNOK.mjs → chunk-Y3ZOMYDR.mjs} +1 -1
  34. package/dist/{chunk-NH74CS36.mjs → chunk-ZB2ZNJES.mjs} +1 -1
  35. package/dist/components/Blocks/Banner.mjs +1 -1
  36. package/dist/components/Blocks/CallToAction.mjs +1 -1
  37. package/dist/components/Blocks/Content.mjs +1 -1
  38. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  39. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  40. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  41. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  42. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  43. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  44. package/dist/components/Blocks/index.mjs +1 -1
  45. package/dist/components/Cards/index.mjs +1 -1
  46. package/dist/components/HeaderFooter/Header.mjs +1 -1
  47. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  48. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  49. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  50. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  51. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  52. package/dist/components/HeaderFooter/index.mjs +1 -1
  53. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  54. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  55. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  56. package/dist/components/Heros/PostHero/index.mjs +1 -1
  57. package/dist/components/Heros/RenderHero.mjs +1 -1
  58. package/dist/components/Heros/index.mjs +1 -1
  59. package/dist/components/Layouts/BlogList.mjs +1 -1
  60. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  61. package/dist/components/Layouts/index.mjs +1 -1
  62. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  63. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  64. package/dist/components/Menus/SidebarRight.mjs +1 -1
  65. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  66. package/dist/components/Menus/index.mjs +1 -1
  67. package/dist/components/Pages/Documentation.mjs +1 -1
  68. package/dist/components/Pages/Documentation.stories.mjs +1 -1
  69. package/dist/components/Pages/IndexPage.mjs +1 -1
  70. package/dist/components/Pages/IndexPage.stories.mjs +1 -1
  71. package/dist/components/Pages/Intranet.mjs +1 -1
  72. package/dist/components/Pages/Intranet.stories.mjs +1 -1
  73. package/dist/components/Pages/LandingPage.mjs +1 -1
  74. package/dist/components/Pages/LandingPage.stories.mjs +1 -1
  75. package/dist/components/Pages/Page.mjs +1 -1
  76. package/dist/components/Pages/Page.stories.mjs +1 -1
  77. package/dist/components/Pages/Website.mjs +1 -1
  78. package/dist/components/Pages/Website.stories.mjs +1 -1
  79. package/dist/components/Payload/Card/index.mjs +1 -1
  80. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  81. package/dist/components/Payload/Media/index.mjs +1 -1
  82. package/dist/components/Payload/RichText/index.mjs +1 -1
  83. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  84. package/dist/components/Payload/RichText.stories.mjs +1 -1
  85. package/dist/components/Payload/index.mjs +1 -1
  86. package/dist/components/index.mjs +1 -1
  87. package/dist/components/ui/index.mjs +1 -1
  88. package/dist/components/ui/sidebar.mjs +1 -1
  89. package/dist/globals.css +1 -1
  90. package/dist/hooks/index.mjs +1 -1
  91. package/dist/index.js +4 -4
  92. package/dist/index.mjs +1 -1
  93. package/dist/metafile-cjs.json +1 -1
  94. package/dist/metafile-esm.json +1 -1
  95. package/dist/sections/AboutSection.mjs +1 -1
  96. package/dist/sections/AboutSection.stories.mjs +1 -1
  97. package/dist/sections/BlogDetail.d.ts +7 -1
  98. package/dist/sections/BlogDetail.js +1 -1
  99. package/dist/sections/BlogDetail.mjs +1 -1
  100. package/dist/sections/BlogDetail.stories.js +1 -1
  101. package/dist/sections/BlogDetail.stories.mjs +1 -1
  102. package/dist/sections/BlogListSection.mjs +1 -1
  103. package/dist/sections/BlogListSection.stories.mjs +1 -1
  104. package/dist/sections/ContactSection.mjs +1 -1
  105. package/dist/sections/ContactSection.stories.mjs +1 -1
  106. package/dist/sections/PricingSection.mjs +1 -1
  107. package/dist/sections/PricingSection.stories.mjs +1 -1
  108. package/dist/sections/index.js +1 -1
  109. package/dist/sections/index.mjs +1 -1
  110. package/package.json +1 -1
  111. package/dist/chunk-WA7GWMFM.mjs +0 -1
package/dist/index.js CHANGED
@@ -3,16 +3,16 @@
3
3
  "use strict";
4
4
  'use server'
5
5
 
6
- "use strict";var ic=Object.create;var so=Object.defineProperty;var sc=Object.getOwnPropertyDescriptor;var nc=Object.getOwnPropertyNames;var lc=Object.getPrototypeOf,cc=Object.prototype.hasOwnProperty;var dc=(e,t)=>{for(var a in t)so(e,a,{get:t[a],enumerable:!0})},us=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of nc(t))!cc.call(e,r)&&r!==a&&so(e,r,{get:()=>t[r],enumerable:!(o=sc(t,r))||o.enumerable});return e};var f=(e,t,a)=>(a=e!=null?ic(lc(e)):{},us(t||!e||!e.__esModule?so(a,"default",{value:e,enumerable:!0}):a,e)),mc=e=>us(so({},"__esModule",{value:!0}),e);var xm={};dc(xm,{AboutSection:()=>sm,Alert:()=>vi,AlertDescription:()=>xi,AlertTitle:()=>hi,Avatar:()=>Ua,AvatarFallback:()=>$a,AvatarImage:()=>Va,Badge:()=>Mo,BannerBlock:()=>Si,BlogCard:()=>gl,BlogDetail:()=>hm,BlogList:()=>fd,BlogListSection:()=>lm,BrandLogo:()=>Mt,Breadcrumb:()=>br,BreadcrumbEllipsis:()=>Nr,BreadcrumbItem:()=>hr,BreadcrumbLink:()=>xr,BreadcrumbList:()=>vr,BreadcrumbPage:()=>yr,BreadcrumbSeparator:()=>wr,Button:()=>se,CMSLink:()=>ct,CallToActionBlock:()=>ja,Card:()=>Ya,Categories:()=>ji,Checkbox:()=>Cn,CodeBlock:()=>Mi,Collapsible:()=>at,CollapsibleContent:()=>ht,CollapsibleTrigger:()=>vt,CollectionArchive:()=>vd,Command:()=>Ro,CommandDialog:()=>hn,CommandEmpty:()=>pi,CommandGroup:()=>ui,CommandInput:()=>di,CommandItem:()=>fi,CommandList:()=>mi,CommandSeparator:()=>gi,CommandShortcut:()=>bi,ContactSection:()=>gm,Container:()=>re,ContentBlock:()=>_i,CopyButton:()=>Ti,CustomLink:()=>X,CustomerCard:()=>zn,Dialog:()=>ia,DialogClose:()=>Po,DialogContent:()=>Ft,DialogDescription:()=>ci,DialogFooter:()=>li,DialogHeader:()=>Ga,DialogOverlay:()=>Co,DialogPortal:()=>ni,DialogTitle:()=>_a,DialogTrigger:()=>bn,DropdownMenu:()=>Cs,DropdownMenuCheckboxItem:()=>kr,DropdownMenuContent:()=>Rr,DropdownMenuGroup:()=>Ss,DropdownMenuItem:()=>Sr,DropdownMenuLabel:()=>Ar,DropdownMenuPortal:()=>ks,DropdownMenuRadioGroup:()=>As,DropdownMenuRadioItem:()=>Tr,DropdownMenuSeparator:()=>Mr,DropdownMenuShortcut:()=>Ir,DropdownMenuSub:()=>Ts,DropdownMenuSubContent:()=>Cr,DropdownMenuSubTrigger:()=>Pr,DropdownMenuTrigger:()=>Rs,DynamicIcon:()=>Ee,EventCard:()=>Fn,FeatureCard:()=>En,FeatureGrid:()=>Xn,FeaturesBlock:()=>Ui,Filter:()=>Ki,Footer:()=>tm,Header:()=>am,HeaderDesktop:()=>qa,HeaderMobile:()=>Za,HeadingImage:()=>Dd,HighImpactHero:()=>Qi,HoverCard:()=>pn,HoverCardContent:()=>si,HoverCardTrigger:()=>un,Image:()=>Vn,ImageBlock:()=>Ld,InfoTile:()=>Cd,Input:()=>Ca,Insight:()=>Pd,Label:()=>ii,Logo:()=>hd,LowImpactHero:()=>Zi,MOTD:()=>Sd,Media:()=>$e,MediaBlock:()=>na,MediumImpactHero:()=>qi,NewsGrid:()=>qn,OrgChart:()=>Ad,PageRange:()=>wd,Pagination:()=>Xi,PayloadPagination:()=>Nd,Popover:()=>rn,PopoverAnchor:()=>nn,PopoverContent:()=>oi,PopoverTrigger:()=>sn,PostHero:()=>$d,PricingCard:()=>Ri,PricingSection:()=>im,ProjectCard:()=>Un,ProjectTeam:()=>Gd,ProposalSummary:()=>Md,RelatedContent:()=>_d,RelatedPosts:()=>Bd,RenderBlocks:()=>Ed,RenderHero:()=>Xd,RichText:()=>q,ScrollArea:()=>ti,ScrollBar:()=>No,SectionHero:()=>jd,Select:()=>od,SelectContent:()=>Sn,SelectGroup:()=>rd,SelectItem:()=>Tn,SelectLabel:()=>kn,SelectScrollDownButton:()=>Ni,SelectScrollUpButton:()=>wi,SelectSeparator:()=>An,SelectTrigger:()=>Rn,SelectValue:()=>id,Separator:()=>Ra,ServiceCard:()=>Ci,ServiceSection:()=>rm,Sheet:()=>lo,SheetClose:()=>zs,SheetContent:()=>ka,SheetDescription:()=>zr,SheetFooter:()=>Br,SheetHeader:()=>Er,SheetOverlay:()=>co,SheetPortal:()=>Lr,SheetTitle:()=>Hr,SheetTrigger:()=>Hs,Sidebar:()=>Dt,SidebarContent:()=>xt,SidebarFooter:()=>Et,SidebarGroup:()=>Ie,SidebarGroupAction:()=>$r,SidebarGroupContent:()=>_e,SidebarGroupLabel:()=>rt,SidebarHeader:()=>Lt,SidebarInput:()=>Vr,SidebarInset:()=>Ur,SidebarLeft:()=>Hd,SidebarMenu:()=>xe,SidebarMenuAction:()=>Ia,SidebarMenuBadge:()=>Wr,SidebarMenuButton:()=>De,SidebarMenuItem:()=>le,SidebarMenuSkeleton:()=>Xr,SidebarMenuSub:()=>yt,SidebarMenuSubButton:()=>Nt,SidebarMenuSubItem:()=>wt,SidebarProvider:()=>Or,SidebarRail:()=>_r,SidebarRight:()=>Od,SidebarSeparator:()=>Ma,SidebarTrigger:()=>Gr,SimpleHeader:()=>Qd,Skeleton:()=>Y,TextAndImages:()=>Zn,Textarea:()=>In,ThemeProvider:()=>om,Toast:()=>Ea,ToastAction:()=>Kr,ToastClose:()=>Ba,ToastDescription:()=>za,ToastProvider:()=>yo,ToastTitle:()=>Ha,ToastViewport:()=>La,Toaster:()=>qs,Toggle:()=>Jr,ToggleGroup:()=>qr,ToggleGroupItem:()=>Zr,Tooltip:()=>go,TooltipContent:()=>Aa,TooltipProvider:()=>uo,TooltipTrigger:()=>fo,VerticalSlider:()=>Kn,VideoHeader:()=>Zd,WhyUs:()=>Id,badgeVariants:()=>yi,buttonVariants:()=>Ta,reducer:()=>Ys,toast:()=>Ks,toggleVariants:()=>Fa,useIsMobile:()=>po,useSidebar:()=>oa,useToast:()=>xo});module.exports=mc(xm);var Zt=f(require("react")),no=require("@radix-ui/react-icons"),Ps=require("@radix-ui/react-slot");var Ns=require("clsx");var fr="-",pc=e=>{let t=gc(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(fr);return n[0]===""&&n.length!==1&&n.shift(),bs(n,t)||uc(l)},getConflictingClassGroupIds:(l,n)=>{let d=a[l]||[];return n&&o[l]?[...d,...o[l]]:d}}},bs=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?bs(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let i=e.join(fr);return(l=t.validators.find(({validator:n})=>n(i)))==null?void 0:l.classGroupId},gs=/^\[(.+)\]$/,uc=e=>{if(gs.test(e)){let t=gs.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},gc=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return bc(Object.entries(e.classGroups),a).forEach(([i,l])=>{gr(l,o,i,t)}),o},gr=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let i=r===""?t:fs(t,r);i.classGroupId=a;return}if(typeof r=="function"){if(fc(r)){gr(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([i,l])=>{gr(l,fs(t,i),a,o)})})},fs=(e,t)=>{let a=e;return t.split(fr).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},fc=e=>e.isThemeGetter,bc=(e,t)=>t?e.map(([a,o])=>{let r=o.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>[t+l,n])):i);return[a,r]}):e,vc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(i,l)=>{a.set(i,l),t++,t>e&&(t=0,o=a,a=new Map)};return{get(i){let l=a.get(i);if(l!==void 0)return l;if((l=o.get(i))!==void 0)return r(i,l),l},set(i,l){a.has(i)?a.set(i,l):r(i,l)}}},vs="!",hc=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],i=t.length,l=n=>{let d=[],c=0,m=0,u;for(let w=0;w<n.length;w++){let B=n[w];if(c===0){if(B===r&&(o||n.slice(w,w+i)===t)){d.push(n.slice(m,w)),m=w+i;continue}if(B==="/"){u=w;continue}}B==="["?c++:B==="]"&&c--}let g=d.length===0?n:n.substring(m),x=g.startsWith(vs),E=x?g.substring(1):g,b=u&&u>m?u-m:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:E,maybePostfixModifierPosition:b}};return a?n=>a({className:n,parseClassName:l}):l},xc=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},yc=e=>({cache:vc(e.cacheSize),parseClassName:hc(e),...pc(e)}),wc=/\s+/,Nc=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,i=[],l=e.trim().split(wc),n="";for(let d=l.length-1;d>=0;d-=1){let c=l[d],{modifiers:m,hasImportantModifier:u,baseClassName:g,maybePostfixModifierPosition:x}=a(c),E=!!x,b=o(E?g.substring(0,x):g);if(!b){if(!E){n=c+(n.length>0?" "+n:n);continue}if(b=o(g),!b){n=c+(n.length>0?" "+n:n);continue}E=!1}let w=xc(m).join(":"),B=u?w+vs:w,H=B+b;if(i.includes(H))continue;i.push(H);let ue=r(b,E);for(let Ze=0;Ze<ue.length;++Ze){let Qt=ue[Ze];i.push(B+Qt)}n=c+(n.length>0?" "+n:n)}return n};function Pc(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=hs(t))&&(o&&(o+=" "),o+=a);return o}var hs=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=hs(e[o]))&&(a&&(a+=" "),a+=t);return a};function Cc(e,...t){let a,o,r,i=l;function l(d){let c=t.reduce((m,u)=>u(m),e());return a=yc(c),o=a.cache.get,r=a.cache.set,i=n,n(d)}function n(d){let c=o(d);if(c)return c;let m=Nc(d,a);return r(d,m),m}return function(){return i(Pc.apply(null,arguments))}}var V=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},xs=/^\[(?:([a-Me-]+):)?(.+)\]$/i,Rc=/^\d+\/\d+$/,Sc=new Set(["px","full","screen"]),kc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tc=/\d+(%|px|r?em|[sdl]?Me([hwib]|min|max)|Me|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Me|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ac=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mc=/^(inset_)?-?((\d+)?\.?(\d+)[a-Me]+|0)Me-?((\d+)?\.?(\d+)[a-Me]+|0)/,Ic=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tt=e=>Jt(e)||Sc.has(e)||Rc.test(e),ft=e=>qt(e,"length",Oc),Jt=e=>!!e&&!Number.isNaN(Number(e)),ur=e=>qt(e,"number",Jt),Na=e=>!!e&&Number.isInteger(Number(e)),Dc=e=>e.endsWith("%")&&Jt(e.slice(0,-1)),N=e=>xs.test(e),bt=e=>kc.test(e),Lc=new Set(["length","size","percentage"]),Ec=e=>qt(e,Lc,ys),Bc=e=>qt(e,"position",ys),Hc=new Set(["image","url"]),zc=e=>qt(e,Hc,_c),Fc=e=>qt(e,"",Gc),Pa=()=>!0,qt=(e,t,a)=>{let o=xs.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Oc=e=>Tc.test(e)&&!Ac.test(e),ys=()=>!1,Gc=e=>Mc.test(e),_c=e=>Ic.test(e);var Uc=()=>{let e=V("colors"),t=V("spacing"),a=V("blur"),o=V("brightness"),r=V("borderColor"),i=V("borderRadius"),l=V("borderSpacing"),n=V("borderWidth"),d=V("contrast"),c=V("grayscale"),m=V("hueRotate"),u=V("invert"),g=V("gap"),x=V("gradientColorStops"),E=V("gradientColorStopPositions"),b=V("inset"),w=V("margin"),B=V("opacity"),H=V("padding"),ue=V("saturate"),Ze=V("scale"),Qt=V("sepia"),oo=V("skew"),ns=V("space"),ls=V("translate"),cr=()=>["auto","contain","none"],dr=()=>["auto","hidden","clip","visible","scroll"],mr=()=>["auto",N,t],W=()=>[N,t],cs=()=>["",tt,ft],ro=()=>["auto",Jt,N],ds=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],io=()=>["solid","dashed","dotted","double","none"],ms=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pr=()=>["start","end","center","between","around","evenly","stretch"],wa=()=>["","0",N],ps=()=>["auto","avoid","all","avoid-page","page","left","right","column"],et=()=>[Jt,N];return{cacheSize:500,separator:":",theme:{colors:[Pa],spacing:[tt,ft],blur:["none","",bt,N],brightness:et(),borderColor:[e],borderRadius:["none","","full",bt,N],borderSpacing:W(),borderWidth:cs(),contrast:et(),grayscale:wa(),hueRotate:et(),invert:wa(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[Dc,ft],inset:mr(),margin:mr(),opacity:et(),padding:W(),saturate:et(),scale:et(),sepia:wa(),skew:et(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[bt]}],"break-after":[{"break-after":ps()}],"break-before":[{"break-before":ps()}],"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:[...ds(),N]}],overflow:[{overflow:dr()}],"overflow-x":[{"overflow-x":dr()}],"overflow-Me":[{"overflow-Me":dr()}],overscroll:[{overscroll:cr()}],"overscroll-x":[{"overscroll-x":cr()}],"overscroll-Me":[{"overscroll-Me":cr()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-Me":[{"inset-Me":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],Me:[{Me:["auto",Na,N]}],basis:[{basis:mr()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:wa()}],shrink:[{shrink:wa()}],order:[{order:["first","last","none",Na,N]}],"grid-cols":[{"grid-cols":[Pa]}],"col-start-end":[{col:["auto",{span:["full",Na,N]},N]}],"col-start":[{"col-start":ro()}],"col-end":[{"col-end":ro()}],"grid-rows":[{"grid-rows":[Pa]}],"row-start-end":[{row:["auto",{span:[Na,N]},N]}],"row-start":[{"row-start":ro()}],"row-end":[{"row-end":ro()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-Me":[{"gap-Me":[g]}],"justify-content":[{justify:["normal",...pr()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pr(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pr(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Me:[{Me:[H]}],px:[{px:[H]}],py:[{py:[H]}],ps:[{ps:[H]}],Me:[{Me:[H]}],Me:[{Me:[H]}],pr:[{pr:[H]}],pb:[{pb:[H]}],pl:[{pl:[H]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Me:[{Me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],Me:[{Me:[w]}],"space-x":[{"space-x":[ns]}],"space-x-reverse":["space-x-reverse"],"space-Me":[{"space-Me":[ns]}],"space-Me-reverse":["space-Me-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[bt]},bt]}],Me:[{Me:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Me":[{"min-Me":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-Me":[{"max-Me":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",bt,ft]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ur]}],"font-family":[{font:[Pa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",Jt,ur]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tt,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[B]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...io(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",tt,ft]}],"underline-offset":[{"underline-offset":["auto",tt,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[B]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ds(),Bc]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Me","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ec]}],"bg-image":[{bg:["none",{"gradient-Me":["t","tr","r","br","b","bl","l","tl"]},zc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-Me-pos":[{Me:[E]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-Me":[{Me:[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-Me":[{"rounded-Me":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-Me":[{"border-Me":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[B]}],"border-style":[{border:[...io(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-Me":[{"divide-Me":[n]}],"divide-Me-reverse":["divide-Me-reverse"],"divide-opacity":[{"divide-opacity":[B]}],"divide-style":[{divide:io()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-Me":[{"border-Me":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...io()]}],"outline-offset":[{"outline-offset":[tt,N]}],"outline-w":[{outline:[tt,ft]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:cs()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[B]}],"ring-offset-w":[{"ring-offset":[tt,ft]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",bt,Fc]}],"shadow-color":[{shadow:[Pa]}],opacity:[{opacity:[B]}],"mix-blend":[{"mix-blend":[...ms(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ms()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",bt,N]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[u]}],saturate:[{saturate:[ue]}],sepia:[{sepia:[Qt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[B]}],"backdrop-saturate":[{"backdrop-saturate":[ue]}],"backdrop-sepia":[{"backdrop-sepia":[Qt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-Me":[{"border-spacing-Me":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:et()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:et()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Ze]}],"scale-x":[{"scale-x":[Ze]}],"scale-Me":[{"scale-Me":[Ze]}],rotate:[{rotate:[Na,N]}],"translate-x":[{"translate-x":[ls]}],"translate-Me":[{"translate-Me":[ls]}],"skew-x":[{"skew-x":[oo]}],"skew-Me":[{"skew-Me":[oo]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Me-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Me","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Me","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Me":[{"touch-pan":["Me","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[tt,ft,ur]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Me"],overscroll:["overscroll-x","overscroll-Me"],inset:["inset-x","inset-Me","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Me":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Me"],Me:["px","py","ps","Me","Me","pr","pb","pl"],px:["pr","pl"],py:["Me","pb"],m:["mx","my","ms","Me","mt","mr","mb","Me"],mx:["mr","Me"],my:["mt","mb"],size:["w","Me"],"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-Me","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Me"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Me"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-Me":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-Me":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Me","scroll-mt","scroll-mr","scroll-mb","scroll-Me"],"scroll-mx":["scroll-mr","scroll-Me"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Me":["scroll-px","scroll-py","scroll-ps","scroll-Me","scroll-Me","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Me","scroll-pb"],touch:["touch-x","touch-Me","touch-pz"],"touch-x":["touch"],"touch-Me":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ws=Cc(Uc);function s(...e){return ws((0,Ns.clsx)(e))}var Me=require("react/jsx-runtime"),br=Zt.forwardRef(({...e},t)=>(0,Me.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));br.displayName="Breadcrumb";var vr=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("mo",{ref:a,className:s("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));vr.displayName="BreadcrumbList";var hr=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,className:s("inline-flex items-center gap-1.5",e),...t}));hr.displayName="BreadcrumbItem";var xr=Zt.forwardRef(({asChild:e,className:t,...a},o)=>(0,Me.jsx)(e?Ps.Slot:"a",{ref:o,className:s("transition-colors hover:text-foreground",t),...a}));xr.displayName="BreadcrumbLink";var yr=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:s("font-normal text-foreground",e),...t}));yr.displayName="BreadcrumbPage";var wr=({children:e,className:t,...a})=>(0,Me.jsx)("li",{role:"presentation","aria-hidden":"true",className:s("[&>svg]:w-3.5 [&>svg]:Me-3.5",t),...a,children:e!=null?e:(0,Me.jsx)(no.ChevronRightIcon,{})});wr.displayName="BreadcrumbSeparator";var Nr=({className:e,...t})=>(0,Me.jsxs)("span",{role:"presentation","aria-hidden":"true",className:s("flex Me-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(no.DotsHorizontalIcon,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More"})]});Nr.displayName="BreadcrumbElipssis";var ea=f(require("@radix-ui/react-collapsible")),at=ea.Root,vt=ea.CollapsibleTrigger,ht=ea.CollapsibleContent;var ot=f(require("react")),R=f(require("@radix-ui/react-dropdown-menu"));var Cs=R.Root,Rs=R.Trigger,Ss=R.Group,ks=R.Portal,Ts=R.Sub,As=R.RadioGroup,Pr=ot.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,Me.jsxs)(R.SubTrigger,{ref:r,className:s("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,(0,Me.jsx)(no.ChevronRightIcon,{className:"Me-auto"})]}));Pr.displayName=R.SubTrigger.displayName;var Cr=ot.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.SubContent,{ref:a,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Me-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Cr.displayName=R.SubContent.displayName;var Rr=ot.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Me.jsx)(R.Portal,{children:(0,Me.jsx)(R.Content,{ref:o,sideOffset:t,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Me-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Rr.displayName=R.Content.displayName;var Sr=ot.forwardRef(({className:e,inset:t,...a},o)=>(0,Me.jsx)(R.Item,{ref:o,className:s("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));Sr.displayName=R.Item.displayName;var kr=ot.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,Me.jsxs)(R.CheckboxItem,{ref:r,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex Me-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(no.CheckIcon,{className:"Me-4 w-4"})})}),t]}));kr.displayName=R.CheckboxItem.displayName;var Tr=ot.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(R.RadioItem,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex Me-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(no.DotFilledIcon,{className:"Me-4 w-4 fill-current"})})}),t]}));Tr.displayName=R.RadioItem.displayName;var Ar=ot.forwardRef(({className:e,inset:t,...a},o)=>(0,Me.jsx)(R.Label,{ref:o,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));Ar.displayName=R.Label.displayName;var Mr=ot.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.Separator,{ref:a,className:s("-mx-1 my-1 Me-px bg-muted",e),...t}));Mr.displayName=R.Separator.displayName;var Ir=({className:e,...t})=>(0,Me.jsx)("span",{className:s("Me-auto text-xs tracking-widest opacity-60",e),...t});Ir.displayName="DropdownMenuShortcut";var Ms=f(require("react"));var Ca=Ms.forwardRef(({className:e,type:t,...a},o)=>(0,Me.jsx)("input",{type:t,className:s("flex Me-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));Ca.displayName="Input";var Ds=f(require("react")),Dr=f(require("@radix-ui/react-separator"));var Ra=Ds.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,Me.jsx)(Dr.Root,{ref:r,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"Me-[1px] w-full":"Me-full w-[1px]",e),...o}));Ra.displayName=Dr.Root.displayName;var Sa=f(require("react")),j=f(require("@radix-ui/react-dialog")),Bs=require("class-variance-authority");var lo=j.Root,Hs=j.Trigger,zs=j.Close,Lr=j.Portal,co=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Overlay,{className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));co.displayName=j.Overlay.displayName;var Vc=(0,Bs.cva)("fixed Me-50 gap-4 bg-background Me-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-Me-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-Me-bottom data-[state=open]:slide-in-from-bottom",left:"inset-Me-0 left-0 Me-full w-3/4 border-r data-[state=closed]:slide-out-Me-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-Me-0 right-0 Me-full w-3/4 border-l data-[state=closed]:slide-out-Me-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ka=Sa.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,Me.jsxs)(Lr,{children:[(0,Me.jsx)(co,{}),(0,Me.jsxs)(j.Content,{ref:r,className:s(Vc({side:e}),t),...o,children:[(0,Me.jsxs)(j.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Me.jsx)(no.Cross2Icon,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ka.displayName=j.Content.displayName;var Er=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-2 text-center sm:text-left",e),...t});Er.displayName="SheetHeader";var Br=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Br.displayName="SheetFooter";var Hr=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Title,{ref:a,className:s("text-lg font-semibold text-foreground",e),...t}));Hr.displayName=j.Title.displayName;var zr=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));zr.displayName=j.Description.displayName;var k=f(require("react")),Ws=require("lucide-react");var mo=require("react"),po=(e=768)=>{let[t,a]=(0,mo.useState)(!1);return(0,mo.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Gs=f(require("react")),Ta=(0,Bs.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:"Me-10 px-4 py-2",icon:"Me-10 w-10",lg:"Me-11 rounded px-8",sm:"Me-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"}}}),se=Gs.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},i)=>(0,Me.jsx)(e?Ps.Slot:"button",{className:s(Ta({className:t,size:a,variant:o})),ref:i,...r}));se.displayName="Button";function Y({className:e,...t}){return(0,Me.jsx)("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t})}var Vs=f(require("react")),Ge=f(require("@radix-ui/react-tooltip"));var uo=Ge.Provider,go=Ge.Root,fo=Ge.Trigger,Aa=Vs.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Me.jsx)(Ge.Portal,{children:(0,Me.jsx)(Ge.Content,{ref:o,sideOffset:t,className:s("Me-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Aa.displayName=Ge.Content.displayName;var $c="sidebar:state",Wc=60*60*24*7,Xc="16rem",jc="18rem",Yc="3rem",Kc="b",Xs=k.createContext(null);function oa(){let e=k.useContext(Xs);if(!e)throw new Error("useSidebar must Me used within a SidebarProvider.");return e}var Or=k.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:i,...l},n)=>{let d=po(),[c,m]=k.useState(!1),[u,g]=k.useState(e),x=t!=null?t:u,E=k.useCallback(H=>{if(a)return a==null?void 0:a(typeof H=="function"?H(x):H);g(H),document.cookie=`${$c}=${x}; path=/; max-age=${Wc}`},[a,x]),b=k.useCallback(()=>d?m(H=>!H):E(H=>!H),[d,E,m]);k.useEffect(()=>{let H=ue=>{ue.key===Kc&&(ue.metaKey||ue.ctrlKey)&&(ue.preventDefault(),b())};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[b]);let w=x?"expanded":"collapsed",B=k.useMemo(()=>({state:w,open:x,setOpen:E,isMobile:d,openMobile:c,setOpenMobile:m,toggleSidebar:b}),[w,x,E,d,c,m,b]);return(0,Me.jsx)(Xs.Provider,{value:B,children:(0,Me.jsx)(uo,{delayDuration:0,children:(0,Me.jsx)("div",{style:{"--sidebar-width":Xc,"--sidebar-width-icon":Yc,...r},className:s("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:n,...l,children:i})})})});Or.displayName="SidebarProvider";var Dt=k.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...i},l)=>{let{isMobile:n,state:d,openMobile:c,setOpenMobile:m}=oa();return a==="none"?(0,Me.jsx)("div",{className:s("flex Me-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:l,...i,children:r}):n?(0,Me.jsx)(lo,{open:c,onOpenChange:m,...i,children:(0,Me.jsx)(ka,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar Me-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":jc},side:e,children:(0,Me.jsx)("div",{className:"flex Me-full w-full flex-col",children:r})})}):(0,Me.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":d,"data-collapsible":d==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Me.jsx)("div",{className:s("duration-200 relative Me-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)Me+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Me.jsx)("div",{className:s("duration-200 fixed top-14 bottom-0 Me-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"Me-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Me+_theme(spacing.4)Me+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:(0,Me.jsx)("div",{"data-sidebar":"sidebar",className:"flex Me-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});Dt.displayName="Sidebar";var Gr=k.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=oa();return(0,Me.jsxs)(se,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:s("Me-7 w-7",e),onClick:i=>{t==null||t(i),r()},...a,children:[(0,Me.jsx)(Ws.PanelLeft,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Gr.displayName="SidebarTrigger";var _r=k.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=oa();return(0,Me.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:s("absolute inset-Me-0 Me-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-Me-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]Me&]:cursor-w-resize [[data-side=right]Me&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Me&]:cursor-e-resize [[data-side=right][data-state=collapsed]Me&]: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]Me&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Me&]:-left-2",e),...t})});_r.displayName="SidebarRail";var Ur=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("main",{ref:a,className:s("flex flex-1 flex-col bg-background overflow-Me-auto relative max-Me-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:Me-2 md:peer-data-[variant=inset]:Me-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Ur.displayName="SidebarInset";var Vr=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ca,{ref:a,"data-sidebar":"input",className:s("Me-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Vr.displayName="SidebarInput";var Lt=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"header",className:s("flex flex-col gap-2 Me-2",e),...t}));Lt.displayName="SidebarHeader";var Et=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"footer",className:s("flex flex-col gap-2 Me-2",e),...t}));Et.displayName="SidebarFooter";var Ma=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ra,{ref:a,"data-sidebar":"separator",className:s("mx-2 w-auto bg-sidebar-border",e),...t}));Ma.displayName="SidebarSeparator";var xt=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"content",className:s("flex min-Me-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));xt.displayName="SidebarContent";var Ie=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col Me-2",e),...t}));Ie.displayName="SidebarGroup";var rt=k.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Me.jsx)(t?Ps.Slot:"div",{ref:o,"data-sidebar":"group-label",className:s("duration-200 flex Me-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),...a}));rt.displayName="SidebarGroupLabel";var $r=k.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Me.jsx)(t?Ps.Slot:"button",{ref:o,"data-sidebar":"group-action",className:s("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md Me-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...a}));$r.displayName="SidebarGroupAction";var _e=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group-content",className:s("w-full text-sm",e),...t}));_e.displayName="SidebarGroupContent";var xe=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Eo",{ref:a,"data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e),...t}));xe.displayName="SidebarMenu";var le=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:s("group/menu-item relative",e),...t}));le.displayName="SidebarMenuItem";var Qc=(0,$s.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md Me-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!Me-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"Me-8 text-sm",sm:"Me-7 text-xs",lg:"Me-12 text-sm group-data-[collapsible=icon]:!Me-0"}},defaultVariants:{variant:"default",size:"default"}}),De=k.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:i,...l},n)=>{let d=e?Ps.Slot:"button",{isMobile:c,state:m}=oa(),u=(0,Me.jsx)(d,{ref:n,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:s(Qc({variant:a,size:o}),i),...l});return r?(typeof r=="string"&&(r={children:r}),(0,Me.jsxs)(go,{children:[(0,Me.jsx)(fo,{asChild:!0,children:u}),(0,Me.jsx)(Aa,{side:"right",align:"center",hidden:m!=="collapsed"||c,...r})]})):u});De.displayName="SidebarMenuButton";var Ia=k.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,Me.jsx)(t?Ps.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:s("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md Me-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));Ia.displayName="SidebarMenuAction";var Wr=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:s("absolute right-1 flex Me-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}));Wr.displayName="SidebarMenuBadge";var Xr=k.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=k.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Me.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:s("rounded-md Me-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Me.jsx)(Y,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Me.jsx)(Y,{className:"Me-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});Xr.displayName="SidebarMenuSkeleton";var yt=k.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Eo",{ref:a,"data-sidebar":"menu-sub",className:s("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}));yt.displayName="SidebarMenuSub";var wt=k.forwardRef(({...e},t)=>(0,Me.jsx)("li",{ref:t,...e}));wt.displayName="SidebarMenuSubItem";var Nt=k.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:o,...r},i)=>(0,Me.jsx)(e?Ps.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:s("flex Me-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",o),...r}));Nt.displayName="SidebarMenuSubButton";var ho=f(require("react")),Jc=1,qc=1e6;var jr=0;function Zc(){return jr=(jr+1)%Number.MAX_SAFE_INTEGER,jr.toString()}var Yr=new Map,js=e=>{if(Yr.has(e))return;let t=setTimeout(()=>{Yr.delete(e),Da({type:"REMOVE_TOAST",toastId:e})},qc);Yr.set(e,t)},Ys=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Jc)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?js(a):e.toasts.forEach(o=>{js(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},bo=[],vo={toasts:[]};function Da(e){vo=Ys(vo,e),bo.forEach(t=>{t(vo)})}function Ks({...e}){let t=Zc(),a=r=>Da({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>Da({type:"DISMISS_TOAST",toastId:t});return Da({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:a}}function xo(){let[e,t]=ho.useState(vo);return ho.useEffect(()=>(bo.push(t),()=>{let a=bo.indexOf(t);a>-1&&bo.splice(a,1)}),[e]),{...e,toast:Ks,dismiss:a=>Da({type:"DISMISS_TOAST",toastId:a})}}var Bt=f(require("react")),Z=f(require("@radix-ui/react-toast"));var yo=Z.Provider,La=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Viewport,{ref:a,className:s("fixed top-0 Me-[100] flex max-Me-screen w-full flex-col-reverse Me-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));La.displayName=Z.Viewport.displayName;var ed=(0,Bs.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border Me-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-Me-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"}}),Ea=Bt.forwardRef(({className:e,variant:t,...a},o)=>(0,Me.jsx)(Z.Root,{ref:o,className:s(ed({variant:t}),e),...a}));Ea.displayName=Z.Root.displayName;var Kr=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Action,{ref:a,className:s("inline-flex Me-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}));Kr.displayName=Z.Action.displayName;var Ba=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Close,{ref:a,className:s("absolute right-1 top-1 rounded-md Me-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Me.jsx)(Ws.X,{className:"Me-4 w-4"})}));Ba.displayName=Z.Close.displayName;var Ha=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));Ha.displayName=Z.Title.displayName;var za=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));za.displayName=Z.Description.displayName;function qs(){let{toasts:e}=xo();return(0,Me.jsxs)(yo,{children:[e.map(function({id:t,title:a,description:o,action:r,...i}){return(0,Me.jsxs)(Ea,{...i,children:[(0,Me.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Me.jsx)(Ha,{children:a}),o&&(0,Me.jsx)(za,{children:o})]}),r,(0,Me.jsx)(Ba,{})]},t)}),(0,Me.jsx)(La,{})]})}var Zs=f(require("react")),Qr=f(require("@radix-ui/react-toggle"));var Fa=(0,Bs.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:"Me-9 px-2 min-w-9",sm:"Me-8 px-1.5 min-w-8",lg:"Me-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Jr=Zs.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,Me.jsx)(Qr.Root,{ref:r,className:s(Fa({variant:t,size:a,className:e})),...o}));Jr.displayName=Qr.Root.displayName;var Ht=f(require("react")),ra=f(require("@radix-ui/react-toggle-group"));var an=Ht.createContext({size:"default",variant:"default"}),qr=Ht.forwardRef(({className:e,variant:t,size:a,children:o,...r},i)=>(0,Me.jsx)(ra.Root,{ref:i,className:s("flex items-center justify-center gap-1",e),...r,children:(0,Me.jsx)(an.Provider,{value:{variant:t,size:a},children:o})}));qr.displayName=ra.Root.displayName;var Zr=Ht.forwardRef(({className:e,children:t,variant:a,size:o,...r},i)=>{let l=Ht.useContext(an);return(0,Me.jsx)(ra.Item,{ref:i,className:s(Fa({variant:l.variant||a,size:l.size||o}),e),...r,children:t})});Zr.displayName=ra.Item.displayName;var ei=f(require("react")),Le=f(require("@radix-ui/react-scroll-area"));var ti=ei.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(Le.Root,{ref:o,className:s("relative overflow-hidden",e),...a,children:[(0,Me.jsx)(Le.Viewport,{className:"Me-full w-full rounded-[inherit]",children:t}),(0,Me.jsx)(No,{}),(0,Me.jsx)(Le.Corner,{})]}));ti.displayName=Le.Root.displayName;var No=ei.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,Me.jsx)(Le.ScrollAreaScrollbar,{ref:o,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"Me-full w-2.5 border-l border-l-transparent Me-[1px]",t==="horizontal"&&"Me-2.5 flex-col border-t border-t-transparent Me-[1px]",e),...a,children:(0,Me.jsx)(Le.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));No.displayName=Le.ScrollAreaScrollbar.displayName;var on=f(require("react")),Ue=f(require("@radix-ui/react-popover"));var rn=Ue.Root,sn=Ue.Trigger,nn=Ue.Anchor,oi=on.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Me.jsx)(Ue.Portal,{children:(0,Me.jsx)(Ue.Content,{ref:r,align:t,sideOffset:a,className:s("Me-50 w-72 rounded-md border bg-popover Me-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));oi.displayName=Ue.Content.displayName;var ln=f(require("react")),ri=f(require("@radix-ui/react-label"));var td=(0,Bs.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ii=ln.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(ri.Root,{ref:a,className:s(td(),e),...t}));ii.displayName=ri.Root.displayName;var mn=f(require("react")),zt=f(require("@radix-ui/react-hover-card"));var pn=zt.Root,un=zt.Trigger,si=mn.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Me.jsx)(zt.Content,{ref:r,align:t,sideOffset:a,className:s("Me-50 w-64 rounded-md border bg-popover Me-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));si.displayName=zt.Content.displayName;var Oa=f(require("react")),K=f(require("@radix-ui/react-dialog"));var ia=K.Root,bn=K.Trigger,ni=K.Portal,Po=K.Close,Co=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Overlay,{ref:a,className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Co.displayName=K.Overlay.displayName;var Ft=Oa.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(ni,{children:[(0,Me.jsx)(Co,{}),(0,Me.jsxs)(K.Content,{ref:o,className:s("fixed left-[50%] top-[50%] Me-50 grid w-full max-w-lg translate-x-[-50%] translate-Me-[-50%] gap-4 border bg-background Me-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-Me-left-1/2 data-[state=closed]:slide-out-Me-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[t,(0,Me.jsxs)(K.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Me.jsx)(Ws.X,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ft.displayName=K.Content.displayName;var Ga=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-1.5 text-center sm:text-left",e),...t});Ga.displayName="DialogHeader";var li=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});li.displayName="DialogFooter";var _a=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));_a.displayName=K.Title.displayName;var ci=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));ci.displayName=K.Description.displayName;var Rt=f(require("react")),fe=require("cmdk");var Ro=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command,{ref:a,className:s("flex Me-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Ro.displayName=fe.Command.displayName;var hn=({children:e,...t})=>(0,Me.jsx)(ia,{...t,children:(0,Me.jsx)(Ft,{className:"overflow-hidden Me-0",children:(0,Me.jsx)(Ro,{className:"[&Me[cmdk-group-heading]]:px-2 [&Me[cmdk-group-heading]]:font-medium [&Me[cmdk-group-heading]]:text-muted-foreground [&Me[cmdk-group]:not([hidden])Me~[cmdk-group]]:Me-0 [&Me[cmdk-group]]:px-2 [&Me[cmdk-input-wrapper]_svg]:Me-5 [&Me[cmdk-input-wrapper]_svg]:w-5 [&Me[cmdk-input]]:Me-12 [&Me[cmdk-item]]:px-2 [&Me[cmdk-item]]:py-3 [&Me[cmdk-item]_svg]:Me-5 [&Me[cmdk-item]_svg]:w-5",children:e})})}),di=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Me.jsx)(Ws.Search,{className:"mr-2 Me-4 w-4 shrink-0 opacity-50"}),(0,Me.jsx)(fe.Command.Input,{ref:a,className:s("flex Me-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})]}));di.displayName=fe.Command.Input.displayName;var mi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.List,{ref:a,className:s("max-Me-[300px] overflow-Me-auto overflow-x-hidden",e),...t}));mi.displayName=fe.Command.List.displayName;var pi=Rt.forwardRef((e,t)=>(0,Me.jsx)(fe.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));pi.displayName=fe.Command.Empty.displayName;var ui=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Group,{ref:a,className:s("overflow-hidden Me-1 text-foreground [&Me[cmdk-group-heading]]:px-2 [&Me[cmdk-group-heading]]:py-1.5 [&Me[cmdk-group-heading]]:text-xs [&Me[cmdk-group-heading]]:font-medium [&Me[cmdk-group-heading]]:text-muted-foreground",e),...t}));ui.displayName=fe.Command.Group.displayName;var gi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Separator,{ref:a,className:s("-mx-1 Me-px bg-border",e),...t}));gi.displayName=fe.Command.Separator.displayName;var fi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Item,{ref:a,className:s("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));fi.displayName=fe.Command.Item.displayName;var bi=({className:e,...t})=>(0,Me.jsx)("span",{className:s("Me-auto text-xs tracking-widest text-muted-foreground",e),...t});bi.displayName="CommandShortcut";var So=f(require("react"));var ad=(0,Bs.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-Me-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),vi=So.forwardRef(({className:e,variant:t,...a},o)=>(0,Me.jsx)("div",{ref:o,role:"alert",className:s(ad({variant:t}),e),...a}));vi.displayName="Alert";var hi=So.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("h5",{ref:a,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));hi.displayName="AlertTitle";var xi=So.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm [&_p]:leading-relaxed",e),...t}));xi.displayName="AlertDescription";var To=f(require("react")),st=f(require("@radix-ui/react-avatar"));var Ua=To.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(st.Root,{ref:a,className:s("relative flex Me-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ua.displayName=st.Root.displayName;var Va=To.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(st.Image,{ref:a,className:s("aspect-square Me-full w-full",e),...t}));Va.displayName=st.Image.displayName;var $a=To.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(st.Fallback,{ref:a,className:s("flex Me-full w-full items-center justify-center rounded-full bg-muted",e),...t}));$a.displayName=st.Fallback.displayName;var yi=(0,Bs.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 Mo({className:e,variant:t,...a}){return(0,Me.jsx)("div",{className:s(yi({variant:t}),e),...a})}var Wa=f(require("@radix-ui/react-checkbox")),Pn=f(require("react")),Cn=Pn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Wa.Root,{className:s("peer Me-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Me.jsx)(Wa.Indicator,{className:s("flex items-center justify-center text-current"),children:(0,Me.jsx)(Ws.Check,{className:"Me-4 w-4"})})}));Cn.displayName=Wa.Root.displayName;var A=f(require("@radix-ui/react-select")),St=f(require("react")),od=A.Root,rd=A.Group,id=A.Value,Rn=St.forwardRef(({children:e,className:t,...a},o)=>(0,Me.jsxs)(A.Trigger,{className:s("flex Me-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,(0,Me.jsx)(A.Icon,{asChild:!0,children:(0,Me.jsx)(Ws.ChevronDown,{className:"Me-4 w-4 opacity-50"})})]}));Rn.displayName=A.Trigger.displayName;var wi=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.ScrollUpButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Ws.ChevronUp,{className:"Me-4 w-4"})}));wi.displayName=A.ScrollUpButton.displayName;var Ni=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.ScrollDownButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Ws.ChevronDown,{className:"Me-4 w-4"})}));Ni.displayName=A.ScrollDownButton.displayName;var Sn=St.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,Me.jsx)(A.Portal,{children:(0,Me.jsxs)(A.Content,{className:s("relative Me-50 max-Me-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-Me-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-Me-1",t),position:a,ref:r,...o,children:[(0,Me.jsx)(wi,{}),(0,Me.jsx)(A.Viewport,{className:s("Me-1",a==="popper"&&"Me-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Me.jsx)(Ni,{})]})}));Sn.displayName=A.Content.displayName;var kn=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.Label,{className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:a,...t}));kn.displayName=A.Label.displayName;var Tn=St.forwardRef(({children:e,className:t,...a},o)=>(0,Me.jsxs)(A.Item,{className:s("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex Me-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(A.ItemIndicator,{children:(0,Me.jsx)(Ws.Check,{className:"Me-4 w-4"})})}),(0,Me.jsx)(A.ItemText,{children:e})]}));Tn.displayName=A.Item.displayName;var An=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(A.Separator,{className:s("-mx-1 my-1 Me-px bg-muted",e),ref:a,...t}));An.displayName=A.Separator.displayName;var Mn=f(require("react")),In=Mn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("textarea",{className:s("flex min-Me-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));In.displayName="Textarea";var Ee=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("Ae-")?e+" ":"Ae-"+e+" ",i="Ae-"+t,l=o!=null?o:"",n=r+i+" Ae-"+a+" "+l;return(0,Me.jsx)("i",{className:n})};var En=({title:e,description:t,iconName:a,iconStyle:o,color:r})=>(0,Me.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[r]} Me-6 flex flex-col items-center text-center`,children:[(0,Me.jsx)("div",{className:"w-12 Me-12 ",children:(0,Me.jsx)(Ee,{type:o,iconName:a,className:"w-12 Me-12 text-white"})}),(0,Me.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Me.jsx)("Me",{className:"text-white text-sm",children:t})]});var Bn=f(require("next/image")),Hn=f(require("next/link"));var _t=f(require("react"));var ce=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ce.displayName="Card";var Be=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex flex-col space-Me-1.5 Me-6",e),...t}));Be.displayName="CardHeader";var He=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));He.displayName="CardTitle";var sd=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));sd.displayName="CardDescription";var ye=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("Me-6 Me-0",e),...t}));ye.displayName="CardContent";var nd=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex items-center Me-6 Me-0",e),...t}));nd.displayName="CardFooter";function zn({name:e,logo:t,href:a}){return(0,Me.jsx)(ce,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Me.jsxs)(Hn.default,{href:a,className:"block",children:[(0,Me.jsx)("div",{className:"bg-white Me-2 flex items-center justify-center Me-24",children:(0,Me.jsx)("div",{className:"relative w-full Me-full",children:t&&(0,Me.jsx)(Bn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Me.jsx)(ye,{className:"Me-3 flex items-center justify-center Me-18 bg-gradient-Me-br from-gray-900 via-brand-one Me-gray-900",children:(0,Me.jsx)("Me",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Fn({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let i=n=>{switch(n){case"birthday":return(0,Me.jsx)(Ws.Cake,{className:"Me-4 w-4"});case"workAnniversary":return(0,Me.jsx)(Ws.Award,{className:"Me-4 w-4"});case"companyEvent":return(0,Me.jsx)(Ws.PartyPopper,{className:"Me-4 w-4"});default:return(0,Me.jsx)(Ws.CalendarDays,{className:"Me-4 w-4"})}},l=n=>{switch(n){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 Me-slate-500"}};return(0,Me.jsxs)(ce,{className:`w-full max-w-md overflow-hidden bg-gradient-Me-br ${l(e)}`,children:[(0,Me.jsxs)(Be,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Me.jsxs)(Ua,{className:"Me-14 w-14 border-2 border-white",children:[(0,Me.jsx)(Va,{src:r,alt:a||"Event"}),(0,Me.jsx)($a,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Me.jsxs)("div",{className:"flex flex-col",children:[(0,Me.jsx)(He,{className:"text-xl",children:a||"Untitled Event"}),(0,Me.jsxs)("Me",{className:"text-sm text-white/80",children:[(0,Me.jsx)(Ws.CalendarDays,{className:"mr-1 inline-block Me-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Me.jsxs)(ye,{className:"bg-white bg-opacity-80 Me-4",children:[o&&(0,Me.jsx)("Me",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Me.jsxs)(Mo,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Me.jsx)("span",{className:"Me-1",children:e?e.replace(/([a-Me])([A-Z])/g,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var Gn=f(require("next/link"));var _n=f(require("next/image")),On={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Un({slug:e,image:t,title:a,description:o}){return(0,Me.jsxs)(Gn.default,{href:e,className:"group/portfolio relative Me-1 block aspect-[640/916] overflow-hidden rounded-5 Me-6 md:Me-[1.875rem]",children:[(0,Me.jsx)("span",{className:s("absolute inset-0 Me-[2] bg-gradient-1 from-primary/0 Me-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Me.jsx)(_n.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
6
+ "use strict";var ic=Object.create;var no=Object.defineProperty;var sc=Object.getOwnPropertyDescriptor;var nc=Object.getOwnPropertyNames;var lc=Object.getPrototypeOf,cc=Object.prototype.hasOwnProperty;var dc=(e,t)=>{for(var a in t)no(e,a,{get:t[a],enumerable:!0})},us=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of nc(t))!cc.call(e,r)&&r!==a&&no(e,r,{get:()=>t[r],enumerable:!(o=sc(t,r))||o.enumerable});return e};var f=(e,t,a)=>(a=e!=null?ic(lc(e)):{},us(t||!e||!e.__esModule?no(a,"default",{value:e,enumerable:!0}):a,e)),mc=e=>us(no({},"__esModule",{value:!0}),e);var vm={};dc(vm,{AboutSection:()=>sm,Alert:()=>hi,AlertDescription:()=>yi,AlertTitle:()=>xi,Avatar:()=>Ua,AvatarFallback:()=>$a,AvatarImage:()=>Va,Badge:()=>Io,BannerBlock:()=>ki,BlogCard:()=>gl,BlogDetail:()=>bm,BlogList:()=>fd,BlogListSection:()=>lm,BrandLogo:()=>Mt,Breadcrumb:()=>vr,BreadcrumbEllipsis:()=>Pr,BreadcrumbItem:()=>xr,BreadcrumbLink:()=>yr,BreadcrumbList:()=>hr,BreadcrumbPage:()=>wr,BreadcrumbSeparator:()=>Nr,Button:()=>se,CMSLink:()=>ct,CallToActionBlock:()=>ja,Card:()=>Ya,Categories:()=>Qa,Checkbox:()=>Cn,CodeBlock:()=>Ii,Collapsible:()=>at,CollapsibleContent:()=>ht,CollapsibleTrigger:()=>vt,CollectionArchive:()=>vd,Command:()=>So,CommandDialog:()=>hn,CommandEmpty:()=>ui,CommandGroup:()=>gi,CommandInput:()=>mi,CommandItem:()=>bi,CommandList:()=>pi,CommandSeparator:()=>fi,CommandShortcut:()=>vi,ContactSection:()=>gm,Container:()=>re,ContentBlock:()=>Ui,CopyButton:()=>Ai,CustomLink:()=>X,CustomerCard:()=>zn,Dialog:()=>ia,DialogClose:()=>Co,DialogContent:()=>Ft,DialogDescription:()=>di,DialogFooter:()=>ci,DialogHeader:()=>Ga,DialogOverlay:()=>Ro,DialogPortal:()=>li,DialogTitle:()=>_a,DialogTrigger:()=>bn,DropdownMenu:()=>Cs,DropdownMenuCheckboxItem:()=>Tr,DropdownMenuContent:()=>Sr,DropdownMenuGroup:()=>Ss,DropdownMenuItem:()=>kr,DropdownMenuLabel:()=>Mr,DropdownMenuPortal:()=>ks,DropdownMenuRadioGroup:()=>As,DropdownMenuRadioItem:()=>Ar,DropdownMenuSeparator:()=>Ir,DropdownMenuShortcut:()=>Dr,DropdownMenuSub:()=>Ts,DropdownMenuSubContent:()=>Rr,DropdownMenuSubTrigger:()=>Cr,DropdownMenuTrigger:()=>Rs,DynamicIcon:()=>Ee,EventCard:()=>Fn,FeatureCard:()=>En,FeatureGrid:()=>Xn,FeaturesBlock:()=>Vi,Filter:()=>Ki,Footer:()=>tm,Header:()=>am,HeaderDesktop:()=>Za,HeaderMobile:()=>eo,HeadingImage:()=>Dd,HighImpactHero:()=>Qi,HoverCard:()=>pn,HoverCardContent:()=>ni,HoverCardTrigger:()=>un,Image:()=>Vn,ImageBlock:()=>Ld,InfoTile:()=>Cd,Input:()=>Ca,Insight:()=>Pd,Label:()=>si,Logo:()=>hd,LowImpactHero:()=>Zi,MOTD:()=>Sd,Media:()=>$e,MediaBlock:()=>na,MediumImpactHero:()=>qi,NewsGrid:()=>qn,OrgChart:()=>Ad,PageRange:()=>wd,Pagination:()=>ji,PayloadPagination:()=>Nd,Popover:()=>rn,PopoverAnchor:()=>nn,PopoverContent:()=>ri,PopoverTrigger:()=>sn,PostHero:()=>$d,PricingCard:()=>Si,PricingSection:()=>im,ProjectCard:()=>Un,ProjectTeam:()=>Gd,ProposalSummary:()=>Md,RelatedContent:()=>_d,RelatedPosts:()=>Bd,RenderBlocks:()=>Ed,RenderHero:()=>Xd,RichText:()=>q,ScrollArea:()=>ai,ScrollBar:()=>Po,SectionHero:()=>jd,Select:()=>od,SelectContent:()=>Sn,SelectGroup:()=>rd,SelectItem:()=>Tn,SelectLabel:()=>kn,SelectScrollDownButton:()=>Pi,SelectScrollUpButton:()=>Ni,SelectSeparator:()=>An,SelectTrigger:()=>Rn,SelectValue:()=>id,Separator:()=>Ra,ServiceCard:()=>Ri,ServiceSection:()=>rm,Sheet:()=>co,SheetClose:()=>zs,SheetContent:()=>ka,SheetDescription:()=>Fr,SheetFooter:()=>Hr,SheetHeader:()=>Br,SheetOverlay:()=>mo,SheetPortal:()=>Er,SheetTitle:()=>zr,SheetTrigger:()=>Hs,Sidebar:()=>Dt,SidebarContent:()=>xt,SidebarFooter:()=>Et,SidebarGroup:()=>Ie,SidebarGroupAction:()=>Wr,SidebarGroupContent:()=>_e,SidebarGroupLabel:()=>rt,SidebarHeader:()=>Lt,SidebarInput:()=>$r,SidebarInset:()=>Vr,SidebarLeft:()=>Hd,SidebarMenu:()=>xe,SidebarMenuAction:()=>Ia,SidebarMenuBadge:()=>Xr,SidebarMenuButton:()=>De,SidebarMenuItem:()=>le,SidebarMenuSkeleton:()=>jr,SidebarMenuSub:()=>yt,SidebarMenuSubButton:()=>Nt,SidebarMenuSubItem:()=>wt,SidebarProvider:()=>Gr,SidebarRail:()=>Ur,SidebarRight:()=>Od,SidebarSeparator:()=>Ma,SidebarTrigger:()=>_r,SimpleHeader:()=>Qd,Skeleton:()=>Y,TextAndImages:()=>Zn,Textarea:()=>In,ThemeProvider:()=>om,Toast:()=>Ea,ToastAction:()=>Qr,ToastClose:()=>Ba,ToastDescription:()=>za,ToastProvider:()=>wo,ToastTitle:()=>Ha,ToastViewport:()=>La,Toaster:()=>qs,Toggle:()=>qr,ToggleGroup:()=>Zr,ToggleGroupItem:()=>ei,Tooltip:()=>fo,TooltipContent:()=>Aa,TooltipProvider:()=>go,TooltipTrigger:()=>bo,VerticalSlider:()=>Kn,VideoHeader:()=>Zd,WhyUs:()=>Id,badgeVariants:()=>wi,buttonVariants:()=>Ta,reducer:()=>Ys,toast:()=>Ks,toggleVariants:()=>Fa,useIsMobile:()=>uo,useSidebar:()=>oa,useToast:()=>yo});module.exports=mc(vm);var Zt=f(require("react")),lo=require("@radix-ui/react-icons"),Ps=require("@radix-ui/react-slot");var Ns=require("clsx");var br="-",pc=e=>{let t=gc(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(br);return n[0]===""&&n.length!==1&&n.shift(),bs(n,t)||uc(l)},getConflictingClassGroupIds:(l,n)=>{let c=a[l]||[];return n&&o[l]?[...c,...o[l]]:c}}},bs=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?bs(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let i=e.join(br);return(l=t.validators.find(({validator:n})=>n(i)))==null?void 0:l.classGroupId},gs=/^\[(.+)\]$/,uc=e=>{if(gs.test(e)){let t=gs.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},gc=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return bc(Object.entries(e.classGroups),a).forEach(([i,l])=>{fr(l,o,i,t)}),o},fr=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let i=r===""?t:fs(t,r);i.classGroupId=a;return}if(typeof r=="function"){if(fc(r)){fr(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([i,l])=>{fr(l,fs(t,i),a,o)})})},fs=(e,t)=>{let a=e;return t.split(br).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},fc=e=>e.isThemeGetter,bc=(e,t)=>t?e.map(([a,o])=>{let r=o.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>[t+l,n])):i);return[a,r]}):e,vc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(i,l)=>{a.set(i,l),t++,t>e&&(t=0,o=a,a=new Map)};return{get(i){let l=a.get(i);if(l!==void 0)return l;if((l=o.get(i))!==void 0)return r(i,l),l},set(i,l){a.has(i)?a.set(i,l):r(i,l)}}},vs="!",hc=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],i=t.length,l=n=>{let c=[],d=0,m=0,p;for(let w=0;w<n.length;w++){let B=n[w];if(d===0){if(B===r&&(o||n.slice(w,w+i)===t)){c.push(n.slice(m,w)),m=w+i;continue}if(B==="/"){p=w;continue}}B==="["?d++:B==="]"&&d--}let g=c.length===0?n:n.substring(m),h=g.startsWith(vs),E=h?g.substring(1):g,b=p&&p>m?p-m:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:E,maybePostfixModifierPosition:b}};return a?n=>a({className:n,parseClassName:l}):l},xc=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},yc=e=>({cache:vc(e.cacheSize),parseClassName:hc(e),...pc(e)}),wc=/\s+/,Nc=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,i=[],l=e.trim().split(wc),n="";for(let c=l.length-1;c>=0;c-=1){let d=l[c],{modifiers:m,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:h}=a(d),E=!!h,b=o(E?g.substring(0,h):g);if(!b){if(!E){n=d+(n.length>0?" "+n:n);continue}if(b=o(g),!b){n=d+(n.length>0?" "+n:n);continue}E=!1}let w=xc(m).join(":"),B=p?w+vs:w,H=B+b;if(i.includes(H))continue;i.push(H);let ue=r(b,E);for(let Ze=0;Ze<ue.length;++Ze){let Qt=ue[Ze];i.push(B+Qt)}n=d+(n.length>0?" "+n:n)}return n};function Pc(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=hs(t))&&(o&&(o+=" "),o+=a);return o}var hs=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=hs(e[o]))&&(a&&(a+=" "),a+=t);return a};function Cc(e,...t){let a,o,r,i=l;function l(c){let d=t.reduce((m,p)=>p(m),e());return a=yc(d),o=a.cache.get,r=a.cache.set,i=n,n(c)}function n(c){let d=o(c);if(d)return d;let m=Nc(c,a);return r(c,m),m}return function(){return i(Pc.apply(null,arguments))}}var V=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},xs=/^\[(?:([a-Me-]+):)?(.+)\]$/i,Rc=/^\d+\/\d+$/,Sc=new Set(["px","full","screen"]),kc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tc=/\d+(%|px|r?em|[sdl]?Me([hwib]|min|max)|Me|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ac=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mc=/^(inset_)?-?((\d+)?\.?(\d+)[a-Me]+|0)Me-?((\d+)?\.?(\d+)[a-Me]+|0)/,Ic=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tt=e=>Jt(e)||Sc.has(e)||Rc.test(e),ft=e=>qt(e,"length",Oc),Jt=e=>!!e&&!Number.isNaN(Number(e)),gr=e=>qt(e,"number",Jt),Na=e=>!!e&&Number.isInteger(Number(e)),Dc=e=>e.endsWith("%")&&Jt(e.slice(0,-1)),N=e=>xs.test(e),bt=e=>kc.test(e),Lc=new Set(["length","size","percentage"]),Ec=e=>qt(e,Lc,ys),Bc=e=>qt(e,"position",ys),Hc=new Set(["image","url"]),zc=e=>qt(e,Hc,_c),Fc=e=>qt(e,"",Gc),Pa=()=>!0,qt=(e,t,a)=>{let o=xs.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Oc=e=>Tc.test(e)&&!Ac.test(e),ys=()=>!1,Gc=e=>Mc.test(e),_c=e=>Ic.test(e);var Uc=()=>{let e=V("colors"),t=V("spacing"),a=V("blur"),o=V("brightness"),r=V("borderColor"),i=V("borderRadius"),l=V("borderSpacing"),n=V("borderWidth"),c=V("contrast"),d=V("grayscale"),m=V("hueRotate"),p=V("invert"),g=V("gap"),h=V("gradientColorStops"),E=V("gradientColorStopPositions"),b=V("inset"),w=V("margin"),B=V("opacity"),H=V("padding"),ue=V("saturate"),Ze=V("scale"),Qt=V("sepia"),ro=V("skew"),ns=V("space"),ls=V("translate"),dr=()=>["auto","contain","none"],mr=()=>["auto","hidden","clip","visible","scroll"],pr=()=>["auto",N,t],W=()=>[N,t],cs=()=>["",tt,ft],io=()=>["auto",Jt,N],ds=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],so=()=>["solid","dashed","dotted","double","none"],ms=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ur=()=>["start","end","center","between","around","evenly","stretch"],wa=()=>["","0",N],ps=()=>["auto","avoid","all","avoid-page","page","left","right","column"],et=()=>[Jt,N];return{cacheSize:500,separator:":",theme:{colors:[Pa],spacing:[tt,ft],blur:["none","",bt,N],brightness:et(),borderColor:[e],borderRadius:["none","","full",bt,N],borderSpacing:W(),borderWidth:cs(),contrast:et(),grayscale:wa(),hueRotate:et(),invert:wa(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[Dc,ft],inset:pr(),margin:pr(),opacity:et(),padding:W(),saturate:et(),scale:et(),sepia:wa(),skew:et(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[bt]}],"break-after":[{"break-after":ps()}],"break-before":[{"break-before":ps()}],"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:[...ds(),N]}],overflow:[{overflow:mr()}],"overflow-Me":[{"overflow-Me":mr()}],"overflow-Me":[{"overflow-Me":mr()}],overscroll:[{overscroll:dr()}],"overscroll-Me":[{"overscroll-Me":dr()}],"overscroll-Me":[{"overscroll-Me":dr()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-Me":[{"inset-Me":[b]}],"inset-Me":[{"inset-Me":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],Me:[{Me:["auto",Na,N]}],basis:[{basis:pr()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:wa()}],shrink:[{shrink:wa()}],order:[{order:["first","last","none",Na,N]}],"grid-cols":[{"grid-cols":[Pa]}],"col-start-end":[{col:["auto",{span:["full",Na,N]},N]}],"col-start":[{"col-start":io()}],"col-end":[{"col-end":io()}],"grid-rows":[{"grid-rows":[Pa]}],"row-start-end":[{row:["auto",{span:[Na,N]},N]}],"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",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[g]}],"gap-Me":[{"gap-Me":[g]}],"gap-Me":[{"gap-Me":[g]}],"justify-content":[{justify:["normal",...ur()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ur(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ur(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[H]}],px:[{px:[H]}],py:[{py:[H]}],ps:[{ps:[H]}],Me:[{Me:[H]}],Me:[{Me:[H]}],pr:[{pr:[H]}],pb:[{pb:[H]}],pl:[{pl:[H]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Me:[{Me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],Me:[{Me:[w]}],"space-Me":[{"space-Me":[ns]}],"space-Me-reverse":["space-Me-reverse"],"space-Me":[{"space-Me":[ns]}],"space-Me-reverse":["space-Me-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[bt]},bt]}],h:[{h:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",bt,ft]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",gr]}],"font-family":[{font:[Pa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",Jt,gr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tt,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[B]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...so(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",tt,ft]}],"underline-offset":[{"underline-offset":["auto",tt,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[B]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ds(),Bc]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Me","Me","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ec]}],"bg-image":[{bg:["none",{"gradient-po":["t","Ws","r","br","b","bl","l","tl"]},zc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-po-pos":[{po:[E]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-po":[{po:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-Me":[{"rounded-Me":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-Ws":[{"rounded-Ws":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[n]}],"border-w-Me":[{"border-Me":[n]}],"border-w-Me":[{"border-Me":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[B]}],"border-style":[{border:[...so(),"hidden"]}],"divide-Me":[{"divide-Me":[n]}],"divide-Me-reverse":["divide-Me-reverse"],"divide-Me":[{"divide-Me":[n]}],"divide-Me-reverse":["divide-Me-reverse"],"divide-opacity":[{"divide-opacity":[B]}],"divide-style":[{divide:so()}],"border-color":[{border:[r]}],"border-color-Me":[{"border-Me":[r]}],"border-color-Me":[{"border-Me":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...so()]}],"outline-offset":[{"outline-offset":[tt,N]}],"outline-w":[{outline:[tt,ft]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:cs()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[B]}],"ring-offset-w":[{"ring-offset":[tt,ft]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",bt,Fc]}],"shadow-color":[{shadow:[Pa]}],opacity:[{opacity:[B]}],"mix-blend":[{"mix-blend":[...ms(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ms()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",bt,N]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[p]}],saturate:[{saturate:[ue]}],sepia:[{sepia:[Qt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[B]}],"backdrop-saturate":[{"backdrop-saturate":[ue]}],"backdrop-sepia":[{"backdrop-sepia":[Qt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Me":[{"border-spacing-Me":[l]}],"border-spacing-Me":[{"border-spacing-Me":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:et()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:et()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Ze]}],"scale-Me":[{"scale-Me":[Ze]}],"scale-Me":[{"scale-Me":[Ze]}],rotate:[{rotate:[Na,N]}],"translate-Me":[{"translate-Me":[ls]}],"translate-Me":[{"translate-Me":[ls]}],"skew-Me":[{"skew-Me":[ro]}],"skew-Me":[{"skew-Me":[ro]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Me-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Me","Me",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Me","Me","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Me":[{"touch-pan":["Me","left","right"]}],"touch-Me":[{"touch-pan":["Me","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[tt,ft,gr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Me","overflow-Me"],overscroll:["overscroll-Me","overscroll-Me"],inset:["inset-Me","inset-Me","start","end","top","right","bottom","left"],"inset-Me":["right","left"],"inset-Me":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Me","gap-Me"],p:["px","py","ps","Me","Me","pr","pb","pl"],px:["pr","pl"],py:["Me","pb"],m:["mx","my","ms","Me","mt","mr","mb","Me"],mx:["mr","Me"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-Me","rounded-es","rounded-tl","rounded-Ws","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Me"],"rounded-t":["rounded-tl","rounded-Ws"],"rounded-r":["rounded-Ws","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Me","border-spacing-Me"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Me":["border-w-r","border-w-l"],"border-w-Me":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Me":["border-color-r","border-color-l"],"border-color-Me":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Me","scroll-mt","scroll-mr","scroll-mb","scroll-Me"],"scroll-mx":["scroll-mr","scroll-Me"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Me","scroll-Me","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Me","scroll-pb"],touch:["touch-Me","touch-Me","touch-pz"],"touch-Me":["touch"],"touch-Me":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ws=Cc(Uc);function s(...e){return ws((0,Ns.clsx)(e))}var Me=require("react/jsx-runtime"),vr=Zt.forwardRef(({...e},t)=>(0,Me.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));vr.displayName="Breadcrumb";var hr=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("po",{ref:a,className:s("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));hr.displayName="BreadcrumbList";var xr=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,className:s("inline-flex items-center gap-1.5",e),...t}));xr.displayName="BreadcrumbItem";var yr=Zt.forwardRef(({asChild:e,className:t,...a},o)=>(0,Me.jsx)(e?Ps.Slot:"a",{ref:o,className:s("transition-colors hover:text-foreground",t),...a}));yr.displayName="BreadcrumbLink";var wr=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:s("font-normal text-foreground",e),...t}));wr.displayName="BreadcrumbPage";var Nr=({children:e,className:t,...a})=>(0,Me.jsx)("li",{role:"presentation","aria-hidden":"true",className:s("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...a,children:e!=null?e:(0,Me.jsx)(lo.ChevronRightIcon,{})});Nr.displayName="BreadcrumbSeparator";var Pr=({className:e,...t})=>(0,Me.jsxs)("span",{role:"presentation","aria-hidden":"true",className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(lo.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More"})]});Pr.displayName="BreadcrumbElipssis";var ea=f(require("@radix-ui/react-collapsible")),at=ea.Root,vt=ea.CollapsibleTrigger,ht=ea.CollapsibleContent;var ot=f(require("react")),R=f(require("@radix-ui/react-dropdown-menu"));var Cs=R.Root,Rs=R.Trigger,Ss=R.Group,ks=R.Portal,Ts=R.Sub,As=R.RadioGroup,Cr=ot.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,Me.jsxs)(R.SubTrigger,{ref:r,className:s("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,(0,Me.jsx)(lo.ChevronRightIcon,{className:"Me-auto"})]}));Cr.displayName=R.SubTrigger.displayName;var Rr=ot.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.SubContent,{ref:a,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover 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}));Rr.displayName=R.SubContent.displayName;var Sr=ot.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Me.jsx)(R.Portal,{children:(0,Me.jsx)(R.Content,{ref:o,sideOffset:t,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover 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),...a})}));Sr.displayName=R.Content.displayName;var kr=ot.forwardRef(({className:e,inset:t,...a},o)=>(0,Me.jsx)(R.Item,{ref:o,className:s("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));kr.displayName=R.Item.displayName;var Tr=ot.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,Me.jsxs)(R.CheckboxItem,{ref:r,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(lo.CheckIcon,{className:"h-4 w-4"})})}),t]}));Tr.displayName=R.CheckboxItem.displayName;var Ar=ot.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(R.RadioItem,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(lo.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));Ar.displayName=R.RadioItem.displayName;var Mr=ot.forwardRef(({className:e,inset:t,...a},o)=>(0,Me.jsx)(R.Label,{ref:o,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));Mr.displayName=R.Label.displayName;var Ir=ot.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));Ir.displayName=R.Separator.displayName;var Dr=({className:e,...t})=>(0,Me.jsx)("span",{className:s("Me-auto text-xs tracking-widest opacity-60",e),...t});Dr.displayName="DropdownMenuShortcut";var Ms=f(require("react"));var Ca=Ms.forwardRef(({className:e,type:t,...a},o)=>(0,Me.jsx)("input",{type:t,className:s("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));Ca.displayName="Input";var Ds=f(require("react")),Lr=f(require("@radix-ui/react-separator"));var Ra=Ds.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,Me.jsx)(Lr.Root,{ref:r,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));Ra.displayName=Lr.Root.displayName;var Sa=f(require("react")),j=f(require("@radix-ui/react-dialog")),Bs=require("class-variance-authority");var co=j.Root,Hs=j.Trigger,zs=j.Close,Er=j.Portal,mo=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Overlay,{className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));mo.displayName=j.Overlay.displayName;var Vc=(0,Bs.cva)("fixed Me-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-Me-0 top-0 border-b data-[state=closed]:slide-out-po-top data-[state=open]:slide-in-from-top",bottom:"inset-Me-0 bottom-0 border-t data-[state=closed]:slide-out-po-bottom data-[state=open]:slide-in-from-bottom",left:"inset-Me-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-po-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-Me-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-po-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ka=Sa.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,Me.jsxs)(Er,{children:[(0,Me.jsx)(mo,{}),(0,Me.jsxs)(j.Content,{ref:r,className:s(Vc({side:e}),t),...o,children:[(0,Me.jsxs)(j.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Me.jsx)(lo.Cross2Icon,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ka.displayName=j.Content.displayName;var Br=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-2 text-center sm:text-left",e),...t});Br.displayName="SheetHeader";var Hr=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Me-2",e),...t});Hr.displayName="SheetFooter";var zr=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Title,{ref:a,className:s("text-lg font-semibold text-foreground",e),...t}));zr.displayName=j.Title.displayName;var Fr=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));Fr.displayName=j.Description.displayName;var S=f(require("react")),Ws=require("lucide-react");var po=require("react"),uo=(e=768)=>{let[t,a]=(0,po.useState)(!1);return(0,po.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Gs=f(require("react")),Ta=(0,Bs.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),se=Gs.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},i)=>(0,Me.jsx)(e?Ps.Slot:"button",{className:s(Ta({className:t,size:a,variant:o})),ref:i,...r}));se.displayName="Button";function Y({className:e,...t}){return(0,Me.jsx)("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t})}var Vs=f(require("react")),Ge=f(require("@radix-ui/react-tooltip"));var go=Ge.Provider,fo=Ge.Root,bo=Ge.Trigger,Aa=Vs.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,Me.jsx)(Ge.Portal,{children:(0,Me.jsx)(Ge.Content,{ref:o,sideOffset:t,className:s("Me-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Aa.displayName=Ge.Content.displayName;var $c="sidebar:state",Wc=60*60*24*7,Xc="16rem",jc="18rem",Yc="3rem",Kc="b",Xs=S.createContext(null);function oa(){let e=S.useContext(Xs);if(!e)throw new Error("useSidebar must Me used within a SidebarProvider.");return e}var Gr=S.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:i,...l},n)=>{let c=uo(),[d,m]=S.useState(!1),[p,g]=S.useState(e),h=t!=null?t:p,E=S.useCallback(H=>{if(a)return a==null?void 0:a(typeof H=="function"?H(h):H);g(H),document.cookie=`${$c}=${h}; path=/; max-age=${Wc}`},[a,h]),b=S.useCallback(()=>c?m(H=>!H):E(H=>!H),[c,E,m]);S.useEffect(()=>{let H=ue=>{ue.key===Kc&&(ue.metaKey||ue.ctrlKey)&&(ue.preventDefault(),b())};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[b]);let w=h?"expanded":"collapsed",B=S.useMemo(()=>({state:w,open:h,setOpen:E,isMobile:c,openMobile:d,setOpenMobile:m,toggleSidebar:b}),[w,h,E,c,d,m,b]);return(0,Me.jsx)(Xs.Provider,{value:B,children:(0,Me.jsx)(go,{delayDuration:0,children:(0,Me.jsx)("div",{style:{"--sidebar-width":Xc,"--sidebar-width-icon":Yc,...r},className:s("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:n,...l,children:i})})})});Gr.displayName="SidebarProvider";var Dt=S.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...i},l)=>{let{isMobile:n,state:c,openMobile:d,setOpenMobile:m}=oa();return a==="none"?(0,Me.jsx)("div",{className:s("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:l,...i,children:r}):n?(0,Me.jsx)(co,{open:d,onOpenChange:m,...i,children:(0,Me.jsx)(ka,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":jc},side:e,children:(0,Me.jsx)("div",{className:"flex h-full w-full flex-col",children:r})})}):(0,Me.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Me.jsx)("div",{className:s("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Me+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Me.jsx)("div",{className:s("duration-200 fixed top-14 bottom-0 Me-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Me+_theme(spacing.4)Me+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:(0,Me.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});Dt.displayName="Sidebar";var _r=S.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=oa();return(0,Me.jsxs)(se,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:s("h-7 w-7",e),onClick:i=>{t==null||t(i),r()},...a,children:[(0,Me.jsx)(Ws.PanelLeft,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});_r.displayName="SidebarTrigger";var Ur=S.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=oa();return(0,Me.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:s("absolute inset-Me-0 Me-20 hidden w-4 -translate-Me-1/2 transition-all ease-linear after:absolute after:inset-Me-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]Me&]:cursor-w-resize [[data-side=right]Me&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Me&]:cursor-e-resize [[data-side=right][data-state=collapsed]Me&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Me-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]Me&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Me&]:-left-2",e),...t})});Ur.displayName="SidebarRail";var Vr=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("main",{ref:a,className:s("flex flex-1 flex-col bg-background overflow-Me-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:Me-2 md:peer-data-[variant=inset]:Me-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Vr.displayName="SidebarInset";var $r=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ca,{ref:a,"data-sidebar":"input",className:s("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));$r.displayName="SidebarInput";var Lt=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"header",className:s("flex flex-col gap-2 p-2",e),...t}));Lt.displayName="SidebarHeader";var Et=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"footer",className:s("flex flex-col gap-2 p-2",e),...t}));Et.displayName="SidebarFooter";var Ma=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ra,{ref:a,"data-sidebar":"separator",className:s("mx-2 w-auto bg-sidebar-border",e),...t}));Ma.displayName="SidebarSeparator";var xt=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"content",className:s("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));xt.displayName="SidebarContent";var Ie=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col p-2",e),...t}));Ie.displayName="SidebarGroup";var rt=S.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Me.jsx)(t?Ps.Slot:"div",{ref:o,"data-sidebar":"group-label",className:s("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a}));rt.displayName="SidebarGroupLabel";var Wr=S.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,Me.jsx)(t?Ps.Slot:"button",{ref:o,"data-sidebar":"group-action",className:s("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md 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),...a}));Wr.displayName="SidebarGroupAction";var _e=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group-content",className:s("w-full text-sm",e),...t}));_e.displayName="SidebarGroupContent";var xe=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Bo",{ref:a,"data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e),...t}));xe.displayName="SidebarMenu";var le=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:s("group/menu-item relative",e),...t}));le.displayName="SidebarMenuItem";var Qc=(0,$s.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:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),De=S.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:i,...l},n)=>{let c=e?Ps.Slot:"button",{isMobile:d,state:m}=oa(),p=(0,Me.jsx)(c,{ref:n,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:s(Qc({variant:a,size:o}),i),...l});return r?(typeof r=="string"&&(r={children:r}),(0,Me.jsxs)(fo,{children:[(0,Me.jsx)(bo,{asChild:!0,children:p}),(0,Me.jsx)(Aa,{side:"right",align:"center",hidden:m!=="collapsed"||d,...r})]})):p});De.displayName="SidebarMenuButton";var Ia=S.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,Me.jsx)(t?Ps.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:s("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md 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",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));Ia.displayName="SidebarMenuAction";var Xr=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:s("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Xr.displayName="SidebarMenuBadge";var jr=S.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=S.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Me.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:s("rounded-md h-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Me.jsx)(Y,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Me.jsx)(Y,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});jr.displayName="SidebarMenuSkeleton";var yt=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Bo",{ref:a,"data-sidebar":"menu-sub",className:s("mx-3.5 flex min-w-0 translate-Me-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));yt.displayName="SidebarMenuSub";var wt=S.forwardRef(({...e},t)=>(0,Me.jsx)("li",{ref:t,...e}));wt.displayName="SidebarMenuSubItem";var Nt=S.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:o,...r},i)=>(0,Me.jsx)(e?Ps.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:s("flex h-7 min-w-0 -translate-Me-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...r}));Nt.displayName="SidebarMenuSubButton";var xo=f(require("react")),Jc=1,qc=1e6;var Yr=0;function Zc(){return Yr=(Yr+1)%Number.MAX_SAFE_INTEGER,Yr.toString()}var Kr=new Map,js=e=>{if(Kr.has(e))return;let t=setTimeout(()=>{Kr.delete(e),Da({type:"REMOVE_TOAST",toastId:e})},qc);Kr.set(e,t)},Ys=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Jc)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?js(a):e.toasts.forEach(o=>{js(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},vo=[],ho={toasts:[]};function Da(e){ho=Ys(ho,e),vo.forEach(t=>{t(ho)})}function Ks({...e}){let t=Zc(),a=r=>Da({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>Da({type:"DISMISS_TOAST",toastId:t});return Da({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:a}}function yo(){let[e,t]=xo.useState(ho);return xo.useEffect(()=>(vo.push(t),()=>{let a=vo.indexOf(t);a>-1&&vo.splice(a,1)}),[e]),{...e,toast:Ks,dismiss:a=>Da({type:"DISMISS_TOAST",toastId:a})}}var Bt=f(require("react")),Z=f(require("@radix-ui/react-toast"));var wo=Z.Provider,La=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Viewport,{ref:a,className:s("fixed top-0 Me-[100] flex max-h-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}));La.displayName=Z.Viewport.displayName;var ed=(0,Bs.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Me-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Me-0 data-[swipe=end]:translate-Me-[var(--radix-toast-swipe-end-Me)] data-[swipe=move]:translate-Me-[var(--radix-toast-swipe-move-Me)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-po-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"}}),Ea=Bt.forwardRef(({className:e,variant:t,...a},o)=>(0,Me.jsx)(Z.Root,{ref:o,className:s(ed({variant:t}),e),...a}));Ea.displayName=Z.Root.displayName;var Qr=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Action,{ref:a,className:s("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Qr.displayName=Z.Action.displayName;var Ba=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Close,{ref:a,className:s("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,Me.jsx)(Ws.X,{className:"h-4 w-4"})}));Ba.displayName=Z.Close.displayName;var Ha=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));Ha.displayName=Z.Title.displayName;var za=Bt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));za.displayName=Z.Description.displayName;function qs(){let{toasts:e}=yo();return(0,Me.jsxs)(wo,{children:[e.map(function({id:t,title:a,description:o,action:r,...i}){return(0,Me.jsxs)(Ea,{...i,children:[(0,Me.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Me.jsx)(Ha,{children:a}),o&&(0,Me.jsx)(za,{children:o})]}),r,(0,Me.jsx)(Ba,{})]},t)}),(0,Me.jsx)(La,{})]})}var Zs=f(require("react")),Jr=f(require("@radix-ui/react-toggle"));var Fa=(0,Bs.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),qr=Zs.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,Me.jsx)(Jr.Root,{ref:r,className:s(Fa({variant:t,size:a,className:e})),...o}));qr.displayName=Jr.Root.displayName;var Ht=f(require("react")),ra=f(require("@radix-ui/react-toggle-group"));var an=Ht.createContext({size:"default",variant:"default"}),Zr=Ht.forwardRef(({className:e,variant:t,size:a,children:o,...r},i)=>(0,Me.jsx)(ra.Root,{ref:i,className:s("flex items-center justify-center gap-1",e),...r,children:(0,Me.jsx)(an.Provider,{value:{variant:t,size:a},children:o})}));Zr.displayName=ra.Root.displayName;var ei=Ht.forwardRef(({className:e,children:t,variant:a,size:o,...r},i)=>{let l=Ht.useContext(an);return(0,Me.jsx)(ra.Item,{ref:i,className:s(Fa({variant:l.variant||a,size:l.size||o}),e),...r,children:t})});ei.displayName=ra.Item.displayName;var ti=f(require("react")),Le=f(require("@radix-ui/react-scroll-area"));var ai=ti.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(Le.Root,{ref:o,className:s("relative overflow-hidden",e),...a,children:[(0,Me.jsx)(Le.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Me.jsx)(Po,{}),(0,Me.jsx)(Le.Corner,{})]}));ai.displayName=Le.Root.displayName;var Po=ti.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,Me.jsx)(Le.ScrollAreaScrollbar,{ref:o,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,Me.jsx)(Le.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Po.displayName=Le.ScrollAreaScrollbar.displayName;var on=f(require("react")),Ue=f(require("@radix-ui/react-popover"));var rn=Ue.Root,sn=Ue.Trigger,nn=Ue.Anchor,ri=on.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Me.jsx)(Ue.Portal,{children:(0,Me.jsx)(Ue.Content,{ref:r,align:t,sideOffset:a,className:s("Me-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),...o})}));ri.displayName=Ue.Content.displayName;var ln=f(require("react")),ii=f(require("@radix-ui/react-label"));var td=(0,Bs.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),si=ln.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(ii.Root,{ref:a,className:s(td(),e),...t}));si.displayName=ii.Root.displayName;var mn=f(require("react")),zt=f(require("@radix-ui/react-hover-card"));var pn=zt.Root,un=zt.Trigger,ni=mn.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,Me.jsx)(zt.Content,{ref:r,align:t,sideOffset:a,className:s("Me-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),...o}));ni.displayName=zt.Content.displayName;var Oa=f(require("react")),K=f(require("@radix-ui/react-dialog"));var ia=K.Root,bn=K.Trigger,li=K.Portal,Co=K.Close,Ro=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Overlay,{ref:a,className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ro.displayName=K.Overlay.displayName;var Ft=Oa.forwardRef(({className:e,children:t,...a},o)=>(0,Me.jsxs)(li,{children:[(0,Me.jsx)(Ro,{}),(0,Me.jsxs)(K.Content,{ref:o,className:s("fixed left-[50%] top-[50%] Me-50 grid w-full max-w-lg translate-Me-[-50%] translate-Me-[-50%] gap-4 border bg-background 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-po-left-1/2 data-[state=closed]:slide-out-po-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[t,(0,Me.jsxs)(K.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Me.jsx)(Ws.X,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ft.displayName=K.Content.displayName;var Ga=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-1.5 text-center sm:text-left",e),...t});Ga.displayName="DialogHeader";var ci=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Me-2",e),...t});ci.displayName="DialogFooter";var _a=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));_a.displayName=K.Title.displayName;var di=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));di.displayName=K.Description.displayName;var Rt=f(require("react")),fe=require("cmdk");var So=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command,{ref:a,className:s("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));So.displayName=fe.Command.displayName;var hn=({children:e,...t})=>(0,Me.jsx)(ia,{...t,children:(0,Me.jsx)(Ft,{className:"overflow-hidden p-0",children:(0,Me.jsx)(So,{className:"[&Me[cmdk-group-heading]]:px-2 [&Me[cmdk-group-heading]]:font-medium [&Me[cmdk-group-heading]]:text-muted-foreground [&Me[cmdk-group]:not([hidden])Me~[cmdk-group]]:Me-0 [&Me[cmdk-group]]:px-2 [&Me[cmdk-input-wrapper]_svg]:h-5 [&Me[cmdk-input-wrapper]_svg]:w-5 [&Me[cmdk-input]]:h-12 [&Me[cmdk-item]]:px-2 [&Me[cmdk-item]]:py-3 [&Me[cmdk-item]_svg]:h-5 [&Me[cmdk-item]_svg]:w-5",children:e})})}),mi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Me.jsx)(Ws.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,Me.jsx)(fe.Command.Input,{ref:a,className:s("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));mi.displayName=fe.Command.Input.displayName;var pi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.List,{ref:a,className:s("max-h-[300px] overflow-Me-auto overflow-Me-hidden",e),...t}));pi.displayName=fe.Command.List.displayName;var ui=Rt.forwardRef((e,t)=>(0,Me.jsx)(fe.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));ui.displayName=fe.Command.Empty.displayName;var gi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Group,{ref:a,className:s("overflow-hidden p-1 text-foreground [&Me[cmdk-group-heading]]:px-2 [&Me[cmdk-group-heading]]:py-1.5 [&Me[cmdk-group-heading]]:text-xs [&Me[cmdk-group-heading]]:font-medium [&Me[cmdk-group-heading]]:text-muted-foreground",e),...t}));gi.displayName=fe.Command.Group.displayName;var fi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Separator,{ref:a,className:s("-mx-1 h-px bg-border",e),...t}));fi.displayName=fe.Command.Separator.displayName;var bi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Item,{ref:a,className:s("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));bi.displayName=fe.Command.Item.displayName;var vi=({className:e,...t})=>(0,Me.jsx)("span",{className:s("Me-auto text-xs tracking-widest text-muted-foreground",e),...t});vi.displayName="CommandShortcut";var ko=f(require("react"));var ad=(0,Bs.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-Me-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),hi=ko.forwardRef(({className:e,variant:t,...a},o)=>(0,Me.jsx)("div",{ref:o,role:"alert",className:s(ad({variant:t}),e),...a}));hi.displayName="Alert";var xi=ko.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("h5",{ref:a,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));xi.displayName="AlertTitle";var yi=ko.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm [&_p]:leading-relaxed",e),...t}));yi.displayName="AlertDescription";var Ao=f(require("react")),st=f(require("@radix-ui/react-avatar"));var Ua=Ao.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(st.Root,{ref:a,className:s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ua.displayName=st.Root.displayName;var Va=Ao.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(st.Image,{ref:a,className:s("aspect-square h-full w-full",e),...t}));Va.displayName=st.Image.displayName;var $a=Ao.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(st.Fallback,{ref:a,className:s("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));$a.displayName=st.Fallback.displayName;var wi=(0,Bs.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 Io({className:e,variant:t,...a}){return(0,Me.jsx)("div",{className:s(wi({variant:t}),e),...a})}var Wa=f(require("@radix-ui/react-checkbox")),Pn=f(require("react")),Cn=Pn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Wa.Root,{className:s("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Me.jsx)(Wa.Indicator,{className:s("flex items-center justify-center text-current"),children:(0,Me.jsx)(Ws.Check,{className:"h-4 w-4"})})}));Cn.displayName=Wa.Root.displayName;var T=f(require("@radix-ui/react-select")),St=f(require("react")),od=T.Root,rd=T.Group,id=T.Value,Rn=St.forwardRef(({children:e,className:t,...a},o)=>(0,Me.jsxs)(T.Trigger,{className:s("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,(0,Me.jsx)(T.Icon,{asChild:!0,children:(0,Me.jsx)(Ws.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Rn.displayName=T.Trigger.displayName;var Ni=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(T.ScrollUpButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Ws.ChevronUp,{className:"h-4 w-4"})}));Ni.displayName=T.ScrollUpButton.displayName;var Pi=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(T.ScrollDownButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Ws.ChevronDown,{className:"h-4 w-4"})}));Pi.displayName=T.ScrollDownButton.displayName;var Sn=St.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,Me.jsx)(T.Portal,{children:(0,Me.jsxs)(T.Content,{className:s("relative Me-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-Me-1 data-[side=left]:-translate-Me-1 data-[side=right]:translate-Me-1 data-[side=top]:-translate-Me-1",t),position:a,ref:r,...o,children:[(0,Me.jsx)(Ni,{}),(0,Me.jsx)(T.Viewport,{className:s("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Me.jsx)(Pi,{})]})}));Sn.displayName=T.Content.displayName;var kn=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(T.Label,{className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:a,...t}));kn.displayName=T.Label.displayName;var Tn=St.forwardRef(({children:e,className:t,...a},o)=>(0,Me.jsxs)(T.Item,{className:s("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(T.ItemIndicator,{children:(0,Me.jsx)(Ws.Check,{className:"h-4 w-4"})})}),(0,Me.jsx)(T.ItemText,{children:e})]}));Tn.displayName=T.Item.displayName;var An=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(T.Separator,{className:s("-mx-1 my-1 h-px bg-muted",e),ref:a,...t}));An.displayName=T.Separator.displayName;var Mn=f(require("react")),In=Mn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("textarea",{className:s("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));In.displayName="Textarea";var Ee=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("Ae-")?e+" ":"Ae-"+e+" ",i="Ae-"+t,l=o!=null?o:"",n=r+i+" Ae-"+a+" "+l;return(0,Me.jsx)("i",{className:n})};var En=({title:e,description:t,iconName:a,iconStyle:o,color:r})=>(0,Me.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[r]} p-6 flex flex-col items-center text-center`,children:[(0,Me.jsx)("div",{className:"w-12 h-12 ",children:(0,Me.jsx)(Ee,{type:o,iconName:a,className:"w-12 h-12 text-white"})}),(0,Me.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Me.jsx)("p",{className:"text-white text-sm",children:t})]});var Bn=f(require("next/image")),Hn=f(require("next/link"));var _t=f(require("react"));var ce=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ce.displayName="Card";var Be=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex flex-col space-Me-1.5 p-6",e),...t}));Be.displayName="CardHeader";var He=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));He.displayName="CardTitle";var sd=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));sd.displayName="CardDescription";var ye=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("p-6 Me-0",e),...t}));ye.displayName="CardContent";var nd=_t.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex items-center p-6 Me-0",e),...t}));nd.displayName="CardFooter";function zn({name:e,logo:t,href:a}){return(0,Me.jsx)(ce,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Me.jsxs)(Hn.default,{href:a,className:"block",children:[(0,Me.jsx)("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:(0,Me.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Me.jsx)(Bn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Me.jsx)(ye,{className:"p-3 flex items-center justify-center h-18 bg-gradient-po-br from-gray-900 via-brand-one po-gray-900",children:(0,Me.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 Fn({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let i=n=>{switch(n){case"birthday":return(0,Me.jsx)(Ws.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Me.jsx)(Ws.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Me.jsx)(Ws.PartyPopper,{className:"h-4 w-4"});default:return(0,Me.jsx)(Ws.CalendarDays,{className:"h-4 w-4"})}},l=n=>{switch(n){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 po-slate-500"}};return(0,Me.jsxs)(ce,{className:`w-full max-w-md overflow-hidden bg-gradient-po-br ${l(e)}`,children:[(0,Me.jsxs)(Be,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Me.jsxs)(Ua,{className:"h-14 w-14 border-2 border-white",children:[(0,Me.jsx)(Va,{src:r,alt:a||"Event"}),(0,Me.jsx)($a,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Me.jsxs)("div",{className:"flex flex-col",children:[(0,Me.jsx)(He,{className:"text-xl",children:a||"Untitled Event"}),(0,Me.jsxs)("p",{className:"text-sm text-white/80",children:[(0,Me.jsx)(Ws.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Me.jsxs)(ye,{className:"bg-white bg-opacity-80 p-4",children:[o&&(0,Me.jsx)("p",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Me.jsxs)(Io,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Me.jsx)("span",{className:"Me-1",children:e?e.replace(/([a-Me])([Me-Z])/g,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var Gn=f(require("next/link"));var _n=f(require("next/image")),On={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Un({slug:e,image:t,title:a,description:o}){return(0,Me.jsxs)(Gn.default,{href:e,className:"group/portfolio relative Me-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[(0,Me.jsx)("span",{className:s("absolute inset-0 Me-[2] bg-gradient-1 from-primary/0 po-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Me.jsx)(_n.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
7
7
  (min-width:${On.md}) 50vw,
8
8
  (min-width:${On.lg}) 25vw,
9
9
  100vw
10
- `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Me.jsx)("div",{className:"relative Me-10 flex Me-full flex-col",children:(0,Me.jsxs)("div",{className:"mt-auto divide-Me md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Me.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Me.jsx)("Me",{className:"mt-[13px] overflow-hidden Me-[11px] text-body",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}var Pi=f(require("next/image")),Do=f(require("path"));function ld(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function cd(e){return e.startsWith("http")}function dd(e,t){let a=e;if(ld(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(cd(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=Do.default.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=Do.default.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${Do.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function md({src:e,alt:t}){let[a,o]=(0,mo.useState)(!1),[r,i]=(0,mo.useState)(!1),[l,n]=(0,mo.useState)({width:0,height:0}),d=()=>{r&&o(!0)},c=()=>{o(!1)},m=u=>{let{naturalWidth:g,naturalHeight:x}=u.target;n({width:g,height:x}),i(g>300||x>300)};return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"Me-[300px]":`Me-[${l.height}px]`}`,onClick:d,children:(0,Me.jsx)(Pi.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:m,unoptimized:!0,className:"object-contain max-w-full max-Me-full"})}),(0,Me.jsx)(ia,{open:a,onOpenChange:o,children:(0,Me.jsxs)(Ft,{className:"flex flex-col items-center justify-center",children:[(0,Me.jsxs)(Ga,{className:"flex w-full justify-end",children:[(0,Me.jsx)(_a,{className:"hidden",children:t}),(0,Me.jsx)(Po,{})]}),(0,Me.jsx)("div",{className:"flex items-center justify-center",children:(0,Me.jsx)(Pi.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Vn({props:e,baseContext:t}){let{src:a}=e;return a=dd(a,t),(0,Me.jsx)(md,{src:a,alt:e.alt})}var $n=f(require("next/link"));function X({children:e,href:t,openNewTab:a,...o}){return(0,Me.jsx)($n.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function pd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ci({icon:e,title:t,description:a,slug:o}){return(0,Me.jsxs)("article",{className:s(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Me-1 block Me-full space-Me-6 overflow-hidden rounded-5 Me-6 md:space-Me-7 md:Me-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Me.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Me.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:pd(e)?(0,Me.jsx)(Ee,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Me.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,Me.jsx)(X,{href:o,children:t}):t})]}),(0,Me.jsx)("Me",{className:"text-body dark:text-body",children:a}),o&&(0,Me.jsx)(se,{asChild:!0,className:s(["rounded-5 border Me-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,Me.jsxs)(X,{href:o,children:[(0,Me.jsx)("span",{children:"Read More"}),(0,Me.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Me.jsx)("span",{className:"invisible absolute bottom-0 left-0 Me-[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 Eo=require("react-icons/fa6");function Ri({title:e,description:t,features:a,price:o,duration:r,button:i}){return(0,Me.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Me.jsxs)("div",{className:"Me-full border-card Me-6 dark:border-opacity-20 max-lg:border-b max-lg:Me-14 lg:border-r lg:Me-10",children:[(0,Me.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Me.jsx)("Me",{children:t})]}),(0,Me.jsx)("div",{className:"relative my-auto Me-6 max-lg:pb-14 md:Me-10",children:(0,Me.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-Me-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,Me.jsx)("Eo",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:a.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Me.jsx)("span",{className:"text-accent Me-1",children:(0,Me.jsx)(Eo.FaCircleCheck,{})}),(0,Me.jsx)("span",{children:l})]},n))}),(0,Me.jsxs)("Me",{className:"font-secondary Me-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Me.jsx)("sub",{className:"relative bottom-0 Me-1.5 inline-block text-base lg:text-md",children:r&&r})]}),i&&(0,Me.jsx)("div",{className:"flex-none mr-0 sm:Me-auto",children:(0,Me.jsx)(se,{asChild:!0,className:"border-2 Me-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Me.jsxs)(X,{href:i.href,openNewTab:i.openNewTab,children:[(0,Me.jsx)("span",{className:"relative Me-1",children:i.label}),(0,Me.jsx)("span",{className:"relative Me-1 pl-2",children:(0,Me.jsx)(Eo.FaAnglesRight,{})})]})})})]})})]})}var Xn=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Me.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function Kn({sections:e}){var l;let[t,a]=(0,mo.useState)((l=e[0])==null?void 0:l.id),o=(0,mo.useRef)([]);(0,mo.useEffect)(()=>{let n=[];return e.forEach(d=>{let c=new IntersectionObserver(u=>{u.forEach(g=>{g.isIntersecting&&a(d.id)})},{threshold:.5}),m=document.getElementById(d.id);m&&c.observe(m),n.push(c)}),o.current=n,()=>{n.forEach(d=>d.disconnect())}},[e]);let r=n=>{let d=document.getElementById(n);d&&d.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let n=e.findIndex(c=>c.id===t),d=e[n+1]||e[0];r(d.id)};return(0,Me.jsxs)("div",{className:"flex Me-screen relative",children:[(0,Me.jsx)("div",{className:"fixed left-0 top-0 flex Me-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(n=>(0,Me.jsx)("button",{className:`group relative my-2 Me-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===n.id?n.color:"bg-gray-300"}`,onClick:()=>r(n.id),children:(0,Me.jsx)("span",{className:"absolute left-full Me-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:n.title})},n.id))}),(0,Me.jsx)("div",{className:"Me-12 flex-1 overflow-Me-auto snap-Me snap-mandatory",children:e.map(n=>(0,Me.jsx)("div",{id:n.id,className:`flex Me-screen items-center justify-center snap-always snap-start text-4xl text-white ${n.color}`,children:n.title},n.id))}),(0,Me.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Me.jsx)(Ws.CircleChevronDown,{})})]})}var Qn=f(require("next/link")),Jn=f(require("next/image"));function qn({blogs:e}){return(0,Me.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Me.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:e&&e.map((t,a)=>(0,Me.jsx)(Qn.default,{href:`/insights/${t.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Me.jsxs)("div",{className:"relative size-full",children:[(0,Me.jsx)(Jn.default,{src:t.image.src,alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Me.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-Me-t from-card Me-transparrent flex flex-col justify-end",children:[(0,Me.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[t.authors&&t.authors.map(o=>`${o.name} \xB7 `),t.publishedAt&&new Date(t.publishedAt).toLocaleDateString("Bs-GB",{day:"numeric",month:"long"})]}),(0,Me.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t.title})]})]})},a))})})}function Zn({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:i,raisedAmount:l,companiesCount:n,dealsClosed:d,leadsGenerated:c}){return(0,Me.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Me.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Me.jsxs)("div",{className:"max-w-4xl",children:[(0,Me.jsx)("Me",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Me.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Me.jsx)("Me",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,Me.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-Me-16",children:[(0,Me.jsxs)("div",{className:"lg:pr-8",children:[(0,Me.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,Me.jsx)("Me",{className:"mt-6 text-base/7 text-gray-600",children:r})]}),(0,Me.jsx)("div",{className:"Me-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Me.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:i.map((m,u)=>(0,Me.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Me.jsx)("img",{alt:"",src:m,className:"block size-full object-cover"})},u))})}),(0,Me.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Me.jsx)("Me",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Me.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Me.jsxs)("Me",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-Me-4 sm:grid-cols-2",children:[(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[n,"K"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"Me"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Me"]})]})]})]})]})]})})}var el=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),i=o+1<10?`0${o+1}`:o+1,l=r<10?`0${r}`:r,n=a.getFullYear();return`${l}/${i}/${n}`};var Bo=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Bs-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("Bs-US",{month:"short"}).format(t);return`${a} ${o}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`},tl=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Bs-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("Bs-US",{month:"short"}).format(t);return`${a} ${o}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`};var Si=({className:e,content:t,style:a})=>(0,Me.jsx)("div",{className:s("mx-auto my-8 w-full",e),children:(0,Me.jsx)("div",{className:s("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Me.jsx)(q,{content:t,enableGutter:!1,enableProse:!1})})});var ki=f(require("next/link")),ct=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:i,newTab:l,reference:n,size:d,url:c}=e,m=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:c;if(!m)return null;let u=a==="link"?"clear":d,g=l?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Me.jsxs)(ki.default,{className:s(r),href:m||c||"",...g,children:[i&&i,o&&o]}):(0,Me.jsx)(se,{asChild:!0,className:r,size:u,variant:a,children:(0,Me.jsxs)(ki.default,{className:s(r),href:m||c||"",...g,children:[i&&i,o&&o]})})};var ja=({links:e,richText:t})=>(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"bg-card rounded border-border border Me-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Me.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Me.jsx)(q,{className:"mb-0",content:t,enableGutter:!1})}),(0,Me.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,Me.jsx)(ct,{size:"lg",...a},o))})]})});var zo=require("prism-react-renderer");function Ti({code:e}){let[t,a]=(0,mo.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Me.jsx)("div",{className:"flex justify-end align-middle",children:(0,Me.jsxs)(se,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Me.jsx)("Me",{children:t}),(0,Me.jsx)("div",{className:"w-6 Me-6 dark:invert",children:(0,Me.jsx)(Ws.ClipboardCopy,{})})]})})}var rl=({code:e,language:t=""})=>e?(0,Me.jsx)(zo.Highlight,{code:e,language:t,theme:zo.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,Me.jsxs)("pre",{className:"bg-black Me-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((i,l)=>(0,Me.jsxs)("div",{...a({className:"table-row",line:i}),children:[(0,Me.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Me.jsx)("span",{className:"table-cell pl-4",children:i.map((n,d)=>(0,Me.jsx)("span",{...o({token:n})},d))})]},l)),(0,Me.jsx)(Ti,{code:e})]})}):null;var Mi=({className:e,code:t,language:a})=>(0,Me.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Me.jsx)(rl,{code:t,language:a})});var sl=f(require("next/image"));var il=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Fo=()=>{if(il){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ud={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},gd="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=",nl=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:i,size:l,src:n,loading:d}=e,c,m,u=t,g=n||"";if(!g&&i&&typeof i=="object"){let{alt:b,filename:w,height:B,url:H,width:ue}=i;c=ue,m=B,u=b||"",g=`${Fo()}${H}`}let x=d||"lazy",E=l||Object.entries(ud).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Me.jsx)("picture",{children:(0,Me.jsx)(sl.default,{alt:u||"",className:s(o),fill:a,height:a?void 0:m,placeholder:"blur",blurDataURL:gd,priority:x!=="lazy"&&r,quality:100,loading:x,sizes:E,src:g,width:a?void 0:c})})};var ll=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,mo.useRef)(null);if((0,mo.useEffect)(()=>{let{current:i}=r;i&&i.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:i}=a;return(0,Me.jsx)("video",{autoPlay:!0,className:s(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Me.jsx)("source",{src:`${Fo()}/media/${i}`})})}return null};var $e=e=>{var l;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((l=o==null?void 0:o.mimeType)==null?void 0:l.includes("video"));return(0,Me.jsx)(a||mo.Fragment,{...a!==null?{className:t}:{},children:r?(0,Me.jsx)(ll,{...e}):(0,Me.jsx)(nl,{...e})})};var na=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Me.jsx)("div",{className:s("",{container:a},t),children:(0,Me.jsx)($e,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var Uo=f(require("react"));function _o({nodes:e}){return(0,Me.jsx)(Uo.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Me.jsx)(Uo.default.Fragment,{children:t.text},a);return t.format&1&&(i=(0,Me.jsx)("strong",{children:i},a)),t.format&2&&(i=(0,Me.jsx)("em",{children:i},a)),t.format&4&&(i=(0,Me.jsx)("span",{style:{textDecoration:"line-through"},children:i},a)),t.format&8&&(i=(0,Me.jsx)("span",{style:{textDecoration:"underline"},children:i},a)),t.format&16&&(i=(0,Me.jsx)("code",{children:t.text},a)),t.format&32&&(i=(0,Me.jsx)("sub",{children:i},a)),t.format&64&&(i=(0,Me.jsx)("sup",{children:i},a)),i}if(t.type==="table")return(0,Me.jsx)("table",{children:(0,Me.jsx)("tbody",{children:t.children.map((i,l)=>(0,Me.jsx)("tr",{children:i.children.map((n,d)=>(0,Me.jsx)("td",{children:_o({nodes:n.children})},d))},l))})},a);let o=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let l of i.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return _o({nodes:i.children})},r="children"in t?o(t):"";if(t.type==="block"){let i=t.fields,l=i==null?void 0:i.blockType;if(!i||!l)return null;switch(l){case"cta":return(0,Me.jsx)(ja,{...i},a);case"mediaBlock":return(0,Me.jsx)(na,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Me.jsx)(Si,{className:"col-start-2 mb-4",...i},a);case"code":return(0,Me.jsx)(Mi,{className:"col-start-2",...i},a);default:return null}}else switch(t.type){case"linebreak":return(0,Me.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Me.jsx)("Me",{className:"col-start-2",children:r},a);case"heading":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"col-start-2",children:r},a)}case"list":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Me.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},a):(0,Me.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,Me.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let i=t.fields;return(0,Me.jsx)(ct,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:r},a)}default:return null}})})}var q=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,Me.jsx)("div",{className:s({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&_o({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};function Tt({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:i,invert:l=!1}){let n=s(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":r},i);return(0,$t.jsxs)("div",{className:n,children:[e&&(0,$t.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,$t.jsx)("h2",{className:s("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",l&&"text-gray-900"),children:t}),typeof a=="string"?a&&(0,$t.jsx)("Me",{className:"mt-5 whitespace-pre-line",children:a}):a&&(0,$t.jsx)(q,{content:a,enableGutter:!1})]})}function re({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=s("container",t&&"full-width",a&&"no-padding",o);return(0,Me.jsx)("div",{className:r,children:e})}var la=(e,t)=>e[t%e.length];var Ei=f(require("next/image"));function fd({blogs:e,sectionHeading:t}){return(0,Me.jsx)("section",{className:s("section-padding-primary overflow-hidden "),children:(0,Me.jsxs)(re,{children:[(0,Me.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Me.jsx)(Tt,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Me.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-Me-30px",children:e.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],o),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Me.jsx)(gl,{...a})},o))})]})})}var pl=s("inline-flex items-center gap-2 text-white"),nf=s("text-sm text-white");function gl({slug:e,image:t,authors:a,title:o,publishedAt:r,categories:i}){return(0,Me.jsxs)("article",{className:"group/blog relative Me-1 flex Me-full min-Me-[452px] flex-col overflow-hidden rounded-5 Me-0",children:[(0,Me.jsx)("span",{className:"absolute inset-0 Me-[2] "}),(0,Me.jsx)(Ei.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
10
+ `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Me.jsx)("div",{className:"relative Me-10 flex h-full flex-col",children:(0,Me.jsxs)("div",{className:"mt-auto divide-Me md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Me.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Me.jsx)("p",{className:"mt-[13px] overflow-hidden Me-[11px] text-body",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}var Ci=f(require("next/image")),Lo=f(require("path"));function ld(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function cd(e){return e.startsWith("http")}function dd(e,t){let a=e;if(ld(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(cd(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=Lo.default.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=Lo.default.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${Lo.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function md({src:e,alt:t}){let[a,o]=(0,po.useState)(!1),[r,i]=(0,po.useState)(!1),[l,n]=(0,po.useState)({width:0,height:0}),c=()=>{r&&o(!0)},d=()=>{o(!1)},m=p=>{let{naturalWidth:g,naturalHeight:h}=p.target;n({width:g,height:h}),i(g>300||h>300)};return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"h-[300px]":`h-[${l.height}px]`}`,onClick:c,children:(0,Me.jsx)(Ci.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:m,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),(0,Me.jsx)(ia,{open:a,onOpenChange:o,children:(0,Me.jsxs)(Ft,{className:"flex flex-col items-center justify-center",children:[(0,Me.jsxs)(Ga,{className:"flex w-full justify-end",children:[(0,Me.jsx)(_a,{className:"hidden",children:t}),(0,Me.jsx)(Co,{})]}),(0,Me.jsx)("div",{className:"flex items-center justify-center",children:(0,Me.jsx)(Ci.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Vn({props:e,baseContext:t}){let{src:a}=e;return a=dd(a,t),(0,Me.jsx)(md,{src:a,alt:e.alt})}var $n=f(require("next/link"));function X({children:e,href:t,openNewTab:a,...o}){return(0,Me.jsx)($n.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function pd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ri({icon:e,title:t,description:a,slug:o}){return(0,Me.jsxs)("article",{className:s(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Me-1 block h-full space-Me-6 overflow-hidden rounded-5 p-6 md:space-Me-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Me.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Me.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:pd(e)?(0,Me.jsx)(Ee,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Me.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,Me.jsx)(X,{href:o,children:t}):t})]}),(0,Me.jsx)("p",{className:"text-body dark:text-body",children:a}),o&&(0,Me.jsx)(se,{asChild:!0,className:s(["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,Me.jsxs)(X,{href:o,children:[(0,Me.jsx)("span",{children:"Read More"}),(0,Me.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Me.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-Me-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Me-100 group-hover/service:opacity-100"})]})}var Bo=require("react-icons/fa6");function Si({title:e,description:t,features:a,price:o,duration:r,button:i}){return(0,Me.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Me.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:Me-14 lg:border-r lg:p-10",children:[(0,Me.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Me.jsx)("p",{children:t})]}),(0,Me.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,Me.jsxs)("div",{className:"flex flex-col justify-stretch gap-Me-14 gap-Me-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,Me.jsx)("Bo",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:a.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Me.jsx)("span",{className:"text-accent Me-1",children:(0,Me.jsx)(Bo.FaCircleCheck,{})}),(0,Me.jsx)("span",{children:l})]},n))}),(0,Me.jsxs)("p",{className:"font-secondary Me-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Me.jsx)("sub",{className:"relative bottom-0 Me-1.5 inline-block text-base lg:text-md",children:r&&r})]}),i&&(0,Me.jsx)("div",{className:"flex-none mr-0 sm:Me-auto",children:(0,Me.jsx)(se,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Me.jsxs)(X,{href:i.href,openNewTab:i.openNewTab,children:[(0,Me.jsx)("span",{className:"relative Me-1",children:i.label}),(0,Me.jsx)("span",{className:"relative Me-1 pl-2",children:(0,Me.jsx)(Bo.FaAnglesRight,{})})]})})})]})})]})}var Xn=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Me.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function Kn({sections:e}){var l;let[t,a]=(0,po.useState)((l=e[0])==null?void 0:l.id),o=(0,po.useRef)([]);(0,po.useEffect)(()=>{let n=[];return e.forEach(c=>{let d=new IntersectionObserver(p=>{p.forEach(g=>{g.isIntersecting&&a(c.id)})},{threshold:.5}),m=document.getElementById(c.id);m&&d.observe(m),n.push(d)}),o.current=n,()=>{n.forEach(c=>c.disconnect())}},[e]);let r=n=>{let c=document.getElementById(n);c&&c.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let n=e.findIndex(d=>d.id===t),c=e[n+1]||e[0];r(c.id)};return(0,Me.jsxs)("div",{className:"flex h-screen relative",children:[(0,Me.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(n=>(0,Me.jsx)("button",{className:`group relative my-2 h-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===n.id?n.color:"bg-gray-300"}`,onClick:()=>r(n.id),children:(0,Me.jsx)("span",{className:"absolute left-full Me-2 hidden -translate-Me-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-Me-0 group-hover:opacity-100 lg:block",children:n.title})},n.id))}),(0,Me.jsx)("div",{className:"Me-12 flex-1 overflow-Me-auto snap-Me snap-mandatory",children:e.map(n=>(0,Me.jsx)("div",{id:n.id,className:`flex h-screen items-center justify-center snap-always snap-start text-4xl text-white ${n.color}`,children:n.title},n.id))}),(0,Me.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Me.jsx)(Ws.CircleChevronDown,{})})]})}var Qn=f(require("next/link")),Jn=f(require("next/image"));function qn({blogs:e}){return(0,Me.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Me.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:e&&e.map((t,a)=>(0,Me.jsx)(Qn.default,{href:`/insights/${t.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Me.jsxs)("div",{className:"relative size-full",children:[(0,Me.jsx)(Jn.default,{src:t.image.src,alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Me.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-po-t from-card po-transparrent flex flex-col justify-end",children:[(0,Me.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[t.authors&&t.authors.map(o=>`${o.name} \xB7 `),t.publishedAt&&new Date(t.publishedAt).toLocaleDateString("Bs-GB",{day:"numeric",month:"long"})]}),(0,Me.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t.title})]})]})},a))})})}function Zn({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:i,raisedAmount:l,companiesCount:n,dealsClosed:c,leadsGenerated:d}){return(0,Me.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Me.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Me.jsxs)("div",{className:"max-w-4xl",children:[(0,Me.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Me.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Me.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,Me.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Me-8 lg:gap-Me-16",children:[(0,Me.jsxs)("div",{className:"lg:pr-8",children:[(0,Me.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,Me.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:r})]}),(0,Me.jsx)("div",{className:"Me-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Me.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:i.map((m,p)=>(0,Me.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Me.jsx)("img",{alt:"",src:m,className:"block size-full object-cover"})},p))})}),(0,Me.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Me.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Me.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Me.jsxs)("Me",{className:"mt-6 grid grid-cols-1 gap-Me-8 gap-Me-4 sm:grid-cols-2",children:[(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[n,"K"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Me"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2",children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"Me"]})]})]})]})]})]})})}var el=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),i=o+1<10?`0${o+1}`:o+1,l=r<10?`0${r}`:r,n=a.getFullYear();return`${l}/${i}/${n}`};var Ho=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Bs-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("Bs-US",{month:"short"}).format(t);return`${a} ${o}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`},tl=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Bs-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("Bs-US",{month:"short"}).format(t);return`${a} ${o}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`};var ki=({className:e,content:t,style:a})=>(0,Me.jsx)("div",{className:s("mx-auto my-8 w-full",e),children:(0,Me.jsx)("div",{className:s("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Me.jsx)(q,{content:t,enableGutter:!1,enableProse:!1})})});var Ti=f(require("next/link")),ct=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:i,newTab:l,reference:n,size:c,url:d}=e,m=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:d;if(!m)return null;let p=a==="link"?"clear":c,g=l?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Me.jsxs)(Ti.default,{className:s(r),href:m||d||"",...g,children:[i&&i,o&&o]}):(0,Me.jsx)(se,{asChild:!0,className:r,size:p,variant:a,children:(0,Me.jsxs)(Ti.default,{className:s(r),href:m||d||"",...g,children:[i&&i,o&&o]})})};var ja=({links:e,richText:t})=>(0,Me.jsx)("div",{className:"container",children:(0,Me.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,Me.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Me.jsx)(q,{className:"mb-0",content:t,enableGutter:!1})}),(0,Me.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,Me.jsx)(ct,{size:"lg",...a},o))})]})});var Fo=require("prism-react-renderer");function Ai({code:e}){let[t,a]=(0,po.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Me.jsx)("div",{className:"flex justify-end align-middle",children:(0,Me.jsxs)(se,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Me.jsx)("p",{children:t}),(0,Me.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Me.jsx)(Ws.ClipboardCopy,{})})]})})}var rl=({code:e,language:t=""})=>e?(0,Me.jsx)(Fo.Highlight,{code:e,language:t,theme:Fo.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,Me.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Me-auto",children:[r.map((i,l)=>(0,Me.jsxs)("div",{...a({className:"table-row",line:i}),children:[(0,Me.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Me.jsx)("span",{className:"table-cell pl-4",children:i.map((n,c)=>(0,Me.jsx)("span",{...o({token:n})},c))})]},l)),(0,Me.jsx)(Ai,{code:e})]})}):null;var Ii=({className:e,code:t,language:a})=>(0,Me.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Me.jsx)(rl,{code:t,language:a})});var sl=f(require("next/image"));var il=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Oo=()=>{if(il){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ud={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},gd="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=",nl=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:i,size:l,src:n,loading:c}=e,d,m,p=t,g=n||"";if(!g&&i&&typeof i=="object"){let{alt:b,filename:w,height:B,url:H,width:ue}=i;d=ue,m=B,p=b||"",g=`${Oo()}${H}`}let h=c||"lazy",E=l||Object.entries(ud).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Me.jsx)("picture",{children:(0,Me.jsx)(sl.default,{alt:p||"",className:s(o),fill:a,height:a?void 0:m,placeholder:"blur",blurDataURL:gd,priority:h!=="lazy"&&r,quality:100,loading:h,sizes:E,src:g,width:a?void 0:d})})};var ll=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,po.useRef)(null);if((0,po.useEffect)(()=>{let{current:i}=r;i&&i.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:i}=a;return(0,Me.jsx)("video",{autoPlay:!0,className:s(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Me.jsx)("source",{src:`${Oo()}/media/${i}`})})}return null};var $e=e=>{var l;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((l=o==null?void 0:o.mimeType)==null?void 0:l.includes("video"));return(0,Me.jsx)(a||po.Fragment,{...a!==null?{className:t}:{},children:r?(0,Me.jsx)(ll,{...e}):(0,Me.jsx)(nl,{...e})})};var na=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Me.jsx)("div",{className:s("",{container:a},t),children:(0,Me.jsx)($e,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var Vo=f(require("react"));function Uo({nodes:e}){return(0,Me.jsx)(Vo.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Me.jsx)(Vo.default.Fragment,{children:t.text},a);return t.format&1&&(i=(0,Me.jsx)("strong",{children:i},a)),t.format&2&&(i=(0,Me.jsx)("em",{children:i},a)),t.format&4&&(i=(0,Me.jsx)("span",{style:{textDecoration:"line-through"},children:i},a)),t.format&8&&(i=(0,Me.jsx)("span",{style:{textDecoration:"underline"},children:i},a)),t.format&16&&(i=(0,Me.jsx)("code",{children:t.text},a)),t.format&32&&(i=(0,Me.jsx)("sub",{children:i},a)),t.format&64&&(i=(0,Me.jsx)("sup",{children:i},a)),i}if(t.type==="table")return(0,Me.jsx)("table",{children:(0,Me.jsx)("tbody",{children:t.children.map((i,l)=>(0,Me.jsx)("Ws",{children:i.children.map((n,c)=>(0,Me.jsx)("td",{children:Uo({nodes:n.children})},c))},l))})},a);let o=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let l of i.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Uo({nodes:i.children})},r="children"in t?o(t):"";if(t.type==="block"){let i=t.fields,l=i==null?void 0:i.blockType;if(!i||!l)return null;switch(l){case"cta":return(0,Me.jsx)(ja,{...i},a);case"mediaBlock":return(0,Me.jsx)(na,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Me.jsx)(ki,{className:"col-start-2 mb-4",...i},a);case"code":return(0,Me.jsx)(Ii,{className:"col-start-2",...i},a);default:return null}}else switch(t.type){case"linebreak":return(0,Me.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Me.jsx)("p",{className:"col-start-2",children:r},a);case"heading":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"col-start-2",children:r},a)}case"list":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Me.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},a):(0,Me.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,Me.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let i=t.fields;return(0,Me.jsx)(ct,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:r},a)}default:return null}})})}var q=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,Me.jsx)("div",{className:s({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Uo({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};function Tt({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:i,invert:l=!1}){let n=s(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":r},i);return(0,$t.jsxs)("div",{className:n,children:[e&&(0,$t.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,$t.jsx)("h2",{className:s("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",l&&"text-gray-900"),children:t}),typeof a=="string"?a&&(0,$t.jsx)("p",{className:"mt-5 whitespace-pre-line",children:a}):a&&(0,$t.jsx)(q,{content:a,enableGutter:!1})]})}function re({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=s("container",t&&"full-width",a&&"no-padding",o);return(0,Me.jsx)("div",{className:r,children:e})}var la=(e,t)=>e[t%e.length];var Bi=f(require("next/image"));function fd({blogs:e,sectionHeading:t}){return(0,Me.jsx)("section",{className:s("section-padding-primary overflow-hidden "),children:(0,Me.jsxs)(re,{children:[(0,Me.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Me.jsx)(Tt,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Me.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-Me-30px",children:e.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],o),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Me.jsx)(gl,{...a})},o))})]})})}var pl=s("inline-flex items-center gap-2 text-white"),rf=s("text-sm text-white");function gl({slug:e,image:t,authors:a,title:o,publishedAt:r,categories:i}){return(0,Me.jsxs)("article",{className:"group/blog relative Me-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Me.jsx)("span",{className:"absolute inset-0 Me-[2] "}),(0,Me.jsx)(Bi.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
11
11
  (min-width:768px) 50vw,
12
12
  (min-width:1024px) 33vw,
13
13
  100vw
14
- `,className:s("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,Me.jsx)(Ei.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
14
+ `,className:s("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,Me.jsx)(Bi.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
15
15
  (min-width:768px) 50vw,
16
16
  (min-width:1024px) 33vw,
17
17
  100vw
18
- `,className:s("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Me.jsxs)("div",{className:"relative Me-10 flex Me-full flex-1 w-full flex-col",children:[r&&(0,Me.jsx)("div",{children:(0,Me.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,Me.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,Me.jsx)("span",{className:"block",children:Bo(r)})})})}),(0,Me.jsxs)("div",{className:"mt-auto space-Me-2 text-white md:space-Me-5",children:[(0,Me.jsx)("div",{className:"inline-flex flex-wrap items-center gap-x-5 gap-Me-2",children:(0,Me.jsx)("Me",{className:pl})}),(0,Me.jsx)("h3",{className:"text-md font-bold w-full Me-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Me.jsx)(X,{"aria-label":o,href:e,className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Me.jsx)("div",{children:(0,Me.jsxs)(X,{href:e,className:s(pl,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Me.jsx)("span",{children:"Read More"}),(0,Me.jsx)("span",{className:"text-accent",children:(0,Me.jsx)(Eo.FaArrowRight,{})})]})})]})]})]})}var fl=require("next/navigation");function bd({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,fl.useRouter)(),r=(0,mo.useRef)(null),i=(0,mo.useRef)(null),l=(0,mo.useRef)(0),n=(0,mo.useRef)(!1),d=(0,mo.useRef)(0),c=(0,mo.useCallback)(u=>{if(u.target){let g=u.target,x=+new Date,E=g==null?void 0:g.closest("a");d.current=u.button,E?n.current=!0:(n.current=!1,l.current=x)}},[o,r,i,l]),m=(0,mo.useCallback)(u=>{var g,x;if((g=i.current)!=null&&g.href){let b=+new Date-l.current;if((x=i.current)!=null&&x.href&&b<=250&&!n.current&&d.current===0&&!u.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else o.push(i.current.href,{scroll:a})}},[o,r,i,l]);return(0,mo.useEffect)(()=>{let u=r.current;return u&&(u.addEventListener("mousedown",c),u.addEventListener("mouseup",m)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",c),u==null||u.removeEventListener("mouseup",m))}},[r,i,o]),{card:{ref:r},link:{ref:i}}}var bl=bd;var vl=f(require("next/link"));var Ya=e=>{let{card:t,link:a}=bl({}),{className:o,doc:r,relationTo:i,showCategories:l,title:n}=e,{slug:d,categories:c,meta:m,title:u}=r||{},{description:g,image:x}=m||{},E=c&&Array.isArray(c)&&c.length>0,b=n||u,w=g==null?void 0:g.replace(/\s/g," "),B=`/${i}/${d}`;return(0,Me.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Me.jsxs)("div",{className:"relative w-full ",children:[!x&&(0,Me.jsx)("div",{className:"",children:"No image"}),x&&typeof x!="string"&&(0,Me.jsx)($e,{resource:x,size:"33vw"})]}),(0,Me.jsxs)("div",{className:"Me-4",children:[l&&E&&(0,Me.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&E&&(0,Me.jsx)("div",{children:c==null?void 0:c.map((H,ue)=>{if(typeof H=="object"){let{title:Ze}=H,Qt=Ze||"Untitled category",oo=ue===c.length-1;return(0,Me.jsxs)(mo.Fragment,{children:[Qt,!oo&&(0,Me.jsx)(mo.Fragment,{children:", \xA0"})]},ue)}return null})})}),b&&(0,Me.jsx)("div",{className:"prose",children:(0,Me.jsx)("h3",{children:(0,Me.jsx)(vl.default,{className:"not-prose",href:B,ref:a.ref,children:b})})}),g&&(0,Me.jsx)("div",{className:"mt-2",children:g&&(0,Me.jsx)("Me",{children:w})})]})]})};var vd=e=>{let{posts:t}=e;return(0,Me.jsx)("div",{className:s("container"),children:(0,Me.jsx)("div",{children:(0,Me.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-Me-4 gap-x-4 lg:gap-Me-8 lg:gap-x-8 xl:gap-x-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,Me.jsx)("div",{className:"col-span-4",children:(0,Me.jsx)(Ya,{className:"Me-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var hl=f(require("clsx")),xl=f(require("next/image")),hd=e=>{let{loading:t,priority:a,className:o}=e;return(0,Me.jsx)(xl.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,hl.default)("max-w-[9.375rem] w-full Me-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var xd={plural:"Docs",singular:"Doc"},yd={posts:{plural:"Posts",singular:"Post"}},wd=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:i,totalDocs:l}=e,n=(r?r-1:1)*(i||1)+1;l&&n>l&&(n=0);let d=(r||1)*(i||1);l&&d>l&&(d=l);let{plural:c,singular:m}=o||yd[a||""]||xd||{};return(0,Me.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${n}${n>0?` - ${d}`:""} of ${l} ${l>1?c:m}`]})};var Hi=f(require("react")),zi=({className:e,...t})=>(0,Me.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});zi.displayName="Pagination";var Fi=Hi.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Eo",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Fi.displayName="PaginationContent";var mt=Hi.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{className:s("",e),ref:a,...t}));mt.displayName="PaginationItem";var Wt=({className:e,isActive:t,size:a="icon",...o})=>(0,Me.jsx)("button",{"aria-current":t?"page":void 0,className:s(Ta({size:a,variant:t?"outline":"ghost"}),e),...o});Wt.displayName="PaginationLink";var Oi=({className:e,...t})=>(0,Me.jsxs)(Wt,{"aria-label":"Me Me previous page",className:s("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Me.jsx)(Ws.ChevronLeft,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{children:"Previous"})]});Oi.displayName="PaginationPrevious";var Gi=({className:e,...t})=>(0,Me.jsxs)(Wt,{"aria-label":"Me Me next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Me.jsx)("span",{children:"Next"}),(0,Me.jsx)(Ws.ChevronRight,{className:"Me-4 w-4"})]});Gi.displayName="PaginationNext";var Vo=({className:e,...t})=>(0,Me.jsxs)("span",{"aria-hidden":!0,className:s("flex Me-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(Ws.MoreHorizontal,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More pages"})]});Vo.displayName="PaginationEllipsis";var Nd=e=>{let t=(0,fl.useRouter)(),{className:a,page:o,totalPages:r}=e,i=o<r,l=o>1,n=o-1>1,d=o+1<r;return(0,Me.jsx)("div",{className:s("my-12",a),children:(0,Me.jsx)(zi,{children:(0,Me.jsxs)(Fi,{children:[(0,Me.jsx)(mt,{children:(0,Me.jsx)(Oi,{disabled:!l,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),n&&(0,Me.jsx)(mt,{children:(0,Me.jsx)(Vo,{})}),l&&(0,Me.jsx)(mt,{children:(0,Me.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Me.jsx)(mt,{children:(0,Me.jsx)(Wt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),i&&(0,Me.jsx)(mt,{children:(0,Me.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),d&&(0,Me.jsx)(mt,{children:(0,Me.jsx)(Vo,{})}),(0,Me.jsx)(mt,{children:(0,Me.jsx)(Gi,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};function Pd({icon:e,title:t,body:a,color:o="secondary"}){return(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsxs)("div",{className:"flex py-0 min-Me-16",children:[(0,Me.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Me.jsx)("div",{className:"w-12 Me-12",children:(0,Me.jsx)(Ee,{type:e.type,iconName:e.name})})}),(0,Me.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Me.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Pl=f(require("next/image"));function Cd(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Me.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Me-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Me.jsx)(Pl.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Me.jsxs)("div",{className:"flex flex-1 flex-col Me-4",children:[(0,Me.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,Me.jsxs)("a",{href:t,children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Me.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var Rd=(e,t)=>`from-brand-${e} Me-brand-${t}`;function Sd({...e}){let t=Rd(e.brandFrom||"one",e.brandTo||"two");return(0,Me.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-Me-r ${t}`,children:[(0,Me.jsx)("Me",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Me.jsxs)("a",{href:e.url,children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Me.jsx)("span",{children:e.message&&e.message})]}):(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Me.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ka=f(require("react")),kd={Architecture:(0,Me.jsx)(Ws.DraftingCompass,{className:"Me-5 w-5 text-blue-600"}),Engineering:(0,Me.jsx)(Ws.Code,{className:"Me-5 w-5 text-green-600"}),Development:(0,Me.jsx)(Ws.Code,{className:"Me-5 w-5 text-purple-600"}),Delivery:(0,Me.jsx)(Ws.GanttChart,{className:"Me-5 w-5 text-red-600"})},Td=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let i=e.reports.length>0;return(0,Me.jsx)("div",{className:`Me-${t*4} mb-2`,children:(0,Me.jsxs)("div",{className:`flex items-center Me-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Me.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Me.jsx)(Ws.ChevronDown,{className:"Me-4 w-4"}):(0,Me.jsx)(Ws.ChevronRight,{className:"Me-4 w-4"})}),(0,Me.jsx)("div",{className:"w-10 Me-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Me.jsx)(Ws.Users,{className:"Me-6 w-6 text-gray-500"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Me.jsxs)("div",{className:"flex items-center mt-1",children:[kd[e.discipline],(0,Me.jsx)("span",{className:"Me-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Me.jsx)("span",{className:"Me-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Cl=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,Ka.useState)(t<1),i=()=>r(!o),l=m=>m.name.toLowerCase().includes(a.toLowerCase())||m.discipline.toLowerCase().includes(a.toLowerCase())||m.grade.toLowerCase().includes(a.toLowerCase()),n=m=>l(m)||m.reports.some(n),d=a===""||n(e),c=l(e);return Ka.default.useEffect(()=>{a!==""&&n(e)&&r(!0)},[a,e]),d?(0,Me.jsxs)("div",{children:[(0,Me.jsx)(Td,{person:e,level:t,onToggle:i,isExpanded:o,isHighlighted:c}),o&&e.reports.map((m,u)=>(0,Me.jsx)(Cl,{person:m,level:t+1,searchTerm:a},u))]}):null};function Ad(){let[e,t]=(0,Ka.useState)("");return(0,Me.jsxs)("div",{className:"max-w-5xl mx-auto Me-6",children:[(0,Me.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Me.jsxs)("div",{className:"mb-4 relative",children:[(0,Me.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Me.jsx)(Ws.Search,{className:"absolute right-3 top-2.5 Me-5 w-5 text-gray-400"})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel Me. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Me.jsx)(Cl,{person:o,level:0,searchTerm:e},r))})]})}function Md({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 Me 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 Me ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading Me improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies Me 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 Me leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Me.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{className:"lg:col-span-1 space-Me-6 flex flex-col",children:[(0,Me.jsxs)(ce,{className:"flex-grow",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.Users,{className:"Me-5 w-5"}),"Team"]})}),(0,Me.jsxs)(ye,{className:"Me-6",children:[(0,Me.jsx)("Me",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Me.jsxs)("div",{className:"space-Me-6",children:[(0,Me.jsx)("div",{className:"space-Me-2",children:e.leadership.map((r,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.User,{className:"Me-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsx)("div",{className:"space-Me-2",children:e.core.map((r,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.User,{className:"Me-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:r.role}),r.count&&(0,Me.jsxs)("span",{children:["(",r.count,"x)"]})]}),r.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Me.jsx)(Ws.Users2,{className:"Me-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:"SME input:"})]}),(0,Me.jsx)("div",{className:"Me-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.PoundSterling,{className:"Me-5 w-5"}),"Fee"]})}),(0,Me.jsx)(ye,{className:"Me-6",children:(0,Me.jsx)("Me",{className:"text-lg font-semibold",children:o})})]})]}),(0,Me.jsxs)(ce,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.FileText,{className:"Me-5 w-5"}),"Outputs"]})}),(0,Me.jsxs)(ye,{className:"Me-6 flex-grow overflow-auto",children:[(0,Me.jsx)("mo",{className:"list-decimal list-inside space-Me-4",children:t.map((r,i)=>(0,Me.jsxs)("li",{className:"text-sm",children:[(0,Me.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Me.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,Me.jsx)("Me",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Me.jsxs)(ce,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.Lightbulb,{className:"Me-5 w-5"}),"Benefits"]})}),(0,Me.jsx)(ye,{className:"Me-6 flex-grow overflow-auto",children:(0,Me.jsx)("Eo",{className:"space-Me-4",children:a.map((r,i)=>(0,Me.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Me.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Me.jsx)("span",{children:r})]},i))})})]})]})}function Id(){return(0,Me.jsx)("div",{className:"w-full bg-primary text-white Me-8 rounded-lg border border-dashed border-white/30",children:(0,Me.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Me.jsxs)("div",{className:"space-Me-4 bg-primary Me-3 rounded-lg",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 Me-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Me.jsx)(Ws.BarChart3,{className:"w-8 Me-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Me.jsx)("Me",{className:"text-secondary text-sm",children:"mo excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Me.jsxs)("Eo",{className:"text-sm",children:[(0,Me.jsx)("li",{children:"Strategy definition"}),(0,Me.jsx)("li",{children:"Programme leadership"}),(0,Me.jsx)("li",{children:"Detailed planning"}),(0,Me.jsx)("li",{children:"\u2022 Financial control"}),(0,Me.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 Me-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Me.jsx)(Ws.CogIcon,{className:"w-8 Me-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Me.jsx)("Me",{className:"text-sm",children:"mo deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 Me-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Me.jsx)(Ws.Building2,{className:"w-8 Me-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"mo understand how Me navigate public sector and financial services regulation and how Me deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Me.jsx)("Me",{className:"text-sm",children:"mo have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 Me-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Me.jsx)(Ws.BadgeCheck,{className:"w-8 Me-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Me.jsx)("Me",{className:"text-sky-200 text-sm",children:"mo have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Me.jsx)("Me",{className:"text-sm",children:"As an XXXX strategic partner, Me have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var _i=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Me.jsx)("div",{className:"container my-6",children:(0,Me.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-Me-8 gap-x-16",children:t&&t.length>0&&t.map((o,r)=>{let{enableLink:i,link:l,richText:n,size:d}=o;return(0,Me.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[d]}`,{"md:col-span-2":d!=="full"}),children:[n&&(0,Me.jsx)(q,{content:n,enableGutter:!1}),i&&(0,Me.jsx)(ct,{...l})]},r)})})})};var Ui=({title:e,description:t,features:a})=>(0,Me.jsxs)("section",{className:s("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Me.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Me.jsx)("Me",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Me.jsx)("div",{className:`grid gap-8 md:grid-cols-${a?a.length:1}`,children:a&&a.map((o,r)=>{var l,n;let i=(0,Me.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Me.jsx)("div",{className:"text-accent Me-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Me.jsx)("i",{className:`${o.icon.type} Ae-${o.icon.icon} Ae-4x`})}),(0,Me.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:o.title}),typeof o.content!="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),typeof o.content=="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",children:(0,Me.jsx)(q,{content:o.content,enableGutter:!1})})]},r);return console.log("link",o.link),o.link?(0,Me.jsx)("a",{href:o.link.url?o.link.url:`/${(l=o.link.reference)==null?void 0:l.relationTo}/${((n=o.link.reference)==null?void 0:n.value).slug}`,className:"no-underline group",children:i},r):i})})]});var $o=f(require("next/image"));function Dd({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Me.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Me-[calc(80vw*0.5)]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 Me-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Me.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] Me-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Me.jsx)($o.default,{src:e,alt:"Header background",className:"Me-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Me.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,Me.jsx)("div",{className:"Me-16 w-32 md:Me-24 md:w-48",children:(0,Me.jsx)($o.default,{src:o,alt:"Company logo",className:"Me-full w-full object-contain",width:192,height:96})}),r&&(0,Me.jsx)("div",{className:"Me-10 w-20 md:Me-12 md:w-24",children:(0,Me.jsx)($o.default,{src:r,alt:"Customer logo",className:"Me-full w-full object-contain",width:96,height:48})})]}),(0,Me.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Me.jsx)("Me",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Me.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var Ld=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Me.jsx)("div",{className:s("",{container:a},t),children:(0,Me.jsx)($e,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var Rl={content:_i,cta:ja,mediaBlock:na,imageBlock:na,features:Ui},Ed=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Me.jsx)(mo.Fragment,{children:t.map((o,r)=>{let{blockType:i}=o;if(i&&i in Rl){let l=Rl[i];if(l)return(0,Me.jsx)("div",{className:"my-6",children:(0,Me.jsx)(l,{...o})},r)}return null})}):null};var kl=f(require("clsx"));var Bd=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Me.jsxs)("div",{className:(0,kl.default)("container",t),children:[o&&(0,Me.jsx)(q,{content:o,enableGutter:!1}),(0,Me.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((r,i)=>typeof r=="string"?null:(0,Me.jsx)(Ya,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var $i=f(require("clsx"));function Hd({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:i,onNavClick:l,loading:n=!1,LinkComponent:d,...c}){let u=d?g=>(0,Me.jsx)(d,{...g}):l?({href:g,children:x,...E})=>(0,Me.jsx)("button",{onClick:()=>l&&l(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...E,children:x}):g=>(0,Me.jsx)("a",{...g});return(0,Me.jsxs)(Dt,{...c,variant:"inset",children:[(0,Me.jsx)(Lt,{children:(0,Me.jsx)(xe,{children:(0,Me.jsx)(le,{children:n?(0,Me.jsxs)("div",{className:"grid flex-1 Me-2 text-left text-m leading-tight",children:[(0,Me.jsx)(Y,{className:"bg-gray-200 my-2 w-full Me-7"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 my-2 Me-5"})]}):(0,Me.jsxs)("div",{className:"grid flex-1 Me-2 text-left text-m leading-tight",children:[(0,Me.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Me.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),n&&(0,Me.jsxs)(xt,{children:[(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"})]}),(0,Me.jsxs)(xt,{children:[e&&!n&&e.map((g,x)=>(0,Me.jsx)(zd,{subNav:g,pathName:r,Link:u},x)),(0,Me.jsx)(Ie,{className:"mt-auto",children:(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:t&&!n&&t.map(g=>(0,Me.jsx)(le,{children:(0,Me.jsx)(De,{asChild:!0,size:"sm",children:(0,Me.jsxs)(u,{href:g.url||"",children:[g.icon&&(0,Me.jsx)(g.icon,{}),(0,Me.jsx)("span",{children:g.label})]})})},g.label))})})})]}),(0,Me.jsx)(Et,{})]})}function zd({subNav:e,pathName:t,Link:a}){var i,l;let o=e,r=!1;return o.links&&o.links.map(n=>{n.url===t&&(r=!0)}),(0,Me.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsx)(Ie,{className:"py-0",children:(0,Me.jsx)(xe,{children:(0,Me.jsx)(at,{asChild:!0,defaultOpen:o.isActive,children:(0,Me.jsxs)(le,{children:[(0,Me.jsx)(De,{asChild:!0,tooltip:o.label,className:(0,$i.default)(r&&"font-bold text-accent"),children:(0,Me.jsxs)(a,{href:o.url,children:[o.icon&&(0,Me.jsx)(o.icon,{}),(0,Me.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(vt,{asChild:!0,children:(0,Me.jsxs)(Ia,{className:"data-[state=open]:rotate-90",children:[(0,Me.jsx)(Ws.ChevronRight,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Me.jsx)(ht,{children:(0,Me.jsx)(yt,{children:(l=o.links)==null?void 0:l.map(n=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,className:(0,$i.default)(n.url===t&&"font-bold text-accent"),children:(0,Me.jsx)(a,{href:n.url,children:(0,Me.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var Al=f(require("clsx"));var Fd=()=>(0,Me.jsx)(Ee,{iconName:"github",size:"10x"});function Od({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:n,onGithubClick:d,onNavClick:c,LinkComponent:m,...u}){let E=m?b=>(0,Me.jsx)(m,{...b}):c?({item:b,children:w,...B})=>(0,Me.jsx)("button",{onClick:()=>c&&c(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...B,children:w}):b=>(0,Me.jsx)("a",{href:b.href,...b});return(0,Me.jsxs)(Dt,{side:"right",variant:"inset",...u,children:[(0,Me.jsxs)(Lt,{className:"border-b border-sidebar-border",children:[(0,Me.jsxs)(xe,{className:"flex-row space-x-1",children:[(0,Me.jsx)(le,{children:(0,Me.jsxs)(De,{onClick:i,children:[(0,Me.jsx)(Ws.FilePlus,{})," ",(0,Me.jsx)("span",{children:"Add Document"})]})}),d&&(0,Me.jsx)(le,{children:(0,Me.jsx)(De,{onClick:d,tooltip:"Open in GitHub",children:(0,Me.jsx)(Fd,{})})})]}),(0,Me.jsxs)(xe,{className:"flex-row space-x-1",children:[(0,Me.jsx)(le,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:()=>l(),variant:r?"outline":"default",className:(0,Al.default)(r&&"text-accent"),children:[(0,Me.jsx)(Ws.Edit,{})," ",(0,Me.jsx)("span",{children:"Edit"})]})}),(0,Me.jsx)(le,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:n,children:[(0,Me.jsx)(Ws.Printer,{})," ",(0,Me.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Editor Controls",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:a})})]})}),(0,Me.jsx)(Ma,{className:"mx-0"})]}),(0,Me.jsxs)(xt,{className:"overflow-auto",children:[o&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{children:"Related Content"}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:Array.from({length:3}).map((b,w)=>(0,Me.jsx)(le,{children:(0,Me.jsx)(Y,{className:"bg-gray-200 w-full Me-10"})},w))})})]}),(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{children:"Table of Contents"}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:Array.from({length:3}).map((b,w)=>(0,Me.jsx)(le,{children:(0,Me.jsx)(Y,{className:"bg-gray-200 w-full Me-10"})},w))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Me.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Related Content",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:(0,Me.jsx)(xe,{children:e&&Object.keys(e).map(b=>(0,Me.jsxs)(le,{children:[(0,Me.jsxs)("span",{className:"Me-2 text-xs text-sidebar-foreground",children:[" ",b.charAt(0).toUpperCase()+b.slice(1)]}),b&&e[b]&&(0,Me.jsx)(yt,{children:e[b].map(w=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,isActive:!1,size:"sm",children:(0,Me.jsxs)(E,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Me.jsx)("span",{children:w.label}),w.type==="note"&&(0,Me.jsx)(Ws.PencilLine,{className:"Me-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Me.jsx)(Ee,{iconName:"code-pull-request-draft",className:"Me-2 text-gray-400 !important"})]})})},w.label))})]},b))})})})]})}),t&&!o&&(0,Me.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Table of Contents",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:(0,Me.jsx)(xe,{children:t.map(b=>{var w;return(0,Me.jsxs)(le,{children:[(0,Me.jsx)(De,{asChild:!0,children:(0,Me.jsx)("a",{href:`#${b.url}`,className:"text-xs",children:b.title})}),(w=b.items)!=null&&w.length?(0,Me.jsx)(yt,{children:b.items.map(B=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,isActive:B.isActive,size:"sm",children:(0,Me.jsx)("a",{href:`#${B.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Me.jsx)("span",{children:B.title})})})},B.title))}):null]},b.title)})})})})]})})]}),(0,Me.jsx)(Et,{})]})}var Il=f(require("next/image"));function Gd({title:e,members:t}){return(0,Me.jsx)(ce,{className:"mb-6",children:(0,Me.jsxs)("div",{className:"Me-6",children:[(0,Me.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Me.jsx)(Ws.Users,{className:"w-6 Me-6 text-accent mr-2"}),(0,Me.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:t.map((a,o)=>(0,Me.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Me.jsx)("div",{className:"relative w-12 Me-12 rounded-full overflow-hidden",children:a.avatar&&(0,Me.jsx)(Il.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("Me",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Me.jsx)("Me",{className:"text-sm text-muted-foreground",children:a.role})]})]},o))})]})})}var Dl=f(require("next/link"));var _d=({links:e})=>(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{children:(0,Me.jsx)(He,{children:"Related"})}),(0,Me.jsx)(ye,{children:(0,Me.jsx)("nav",{className:"flex flex-col space-Me-2",children:e.map((t,a)=>(0,Me.jsxs)(Dl.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Me.jsx)(Ws.ExternalLink,{className:"Me-1 Me-3 w-3"})]},a))})})]});var Wi=s("grid Me-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Xi({pages:e}){let t=(0,fl.useSearchParams)(),a=(0,fl.usePathname)(),{replace:o}=(0,fl.useRouter)(),{totalPages:r,page:i}=e,[l,n]=(0,mo.useState)({start:i>3?i-3:1,end:i+2}),d=u=>{u==="left"&&l.start>1?n(g=>({start:g.start-1,end:g.end-1})):u==="right"&&l.end<r&&n(g=>({start:g.start+1,end:g.end+1}))};function c(u){let g=new URLSearchParams(t);u?g.set("page",u):g.delete("page"),o(`${a}?${g.toString()}`)}if(r<=1)return null;let m=[];for(let u=l.start;u<=l.end;u++)m.push(u);return(0,Me.jsx)("div",{className:"mt-12",children:(0,Me.jsxs)("Eo",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(Wi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>d("left"),children:(0,Me.jsx)(Eo.FaArrowLeft,{})})}),m.map((u,g)=>(0,Me.jsx)("li",{children:(0,Me.jsx)("a",{className:s(Wi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:x=>{x.preventDefault(),c(u.toString())},children:u})},g)),l.end<r&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(Wi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>d("right"),children:(0,Me.jsx)(Eo.FaArrowRight,{})})})]})})}var Ud=s("transition-colors duration-400 hover:text-primary ease-in-out");function ji({title:e,links:t}){let a=(0,fl.useSearchParams)(),o=(0,fl.usePathname)(),{replace:r}=(0,fl.useRouter)();function i(l){console.log(l);let n=new URLSearchParams(a);l?n.set("category",l):n.delete("category"),r(`${o}?${n.toString()}`)}return(0,Me.jsx)("div",{className:"space-Me-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:Me-10",children:(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{children:(0,Me.jsx)(He,{children:e&&e})}),(0,Me.jsx)(ye,{children:t&&t.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("Eo",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5 Me-2.5 first:Me-0 hover:cursor-pointer",onClick:d=>{d.preventDefault(),i(l.href)},children:[(0,Me.jsx)("span",{className:"grid Me-3 w-3 place-items-center border border-accent",children:(0,Me.jsx)("span",{className:"block Me-0.5 w-0.5 bg-accent"})}),(0,Me.jsx)("a",{className:Ud,children:l.label})]},n))})})})]})})}function Ki({types:e}){let[t,a]=(0,mo.useState)(e&&e[0].href),o=(0,fl.useSearchParams)(),r=(0,fl.usePathname)(),{replace:i}=(0,fl.useRouter)();function l(n){let d=new URLSearchParams(o);n?d.set("type",n):d.delete("type"),a(n),i(`${r}?${d.toString()}`)}return(0,Me.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,d)=>(0,Me.jsx)(se,{variant:n.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},d))})}var Hl=f(require("next/image"));var Qi=({links:e,media:t,children:a,richText:o})=>(0,Me.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Me.jsx)("div",{className:"container mb-8 Me-10 relative flex items-end justify-center",children:(0,Me.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||o&&(0,Me.jsx)(q,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Me:text-white prose-Me:text-gray-900",content:o,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Me.jsx)("Eo",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(ct,{...r})},i))})]})}),(0,Me.jsxs)("div",{className:"min-Me-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Me.jsx)($e,{fill:!0,imgClassName:"Me-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(Hl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 Me-white dark:from-background/0 dark:Me-background"})]})]});var Ji=f(require("next/image"));var Vd=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:i}=e;return(0,Me.jsx)(Ji.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:i||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Me.jsx)("div",{children:(0,Me.jsx)(Ji.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},qi=({links:e,media:t,children:a,richText:o})=>(0,Me.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 Me-10",children:[t&&(0,Me.jsx)(Vd,{media:t}),(0,Me.jsx)("div",{className:"mx-0 min-w-full relative Me-9",children:(0,Me.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Me.jsx)(q,{className:"prose-headings:text-brand-one-foreground prose-Me:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Zi=({children:e,richText:t})=>(0,Me.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Me.jsx)("div",{className:"container",children:e||t&&(0,Me.jsx)(q,{content:t,enableGutter:!1})})});var jt=f(require("react"));var zl=f(require("next/image")),$d=({post:e})=>{let{categories:t,meta:{image:a}={},populatedAuthors:o,publishedAt:r,title:i}=e;return(0,Me.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Me.jsx)("div",{className:"container Me-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Me.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Me.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,n)=>{if(typeof l=="object"&&l!==null){let{title:d}=l,c=d||"Untitled category",m=n===t.length-1;return(0,Me.jsxs)(jt.default.Fragment,{children:[c,!m&&(0,Me.jsx)(jt.default.Fragment,{children:", \xA0"})]},n)}return null})}),(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Me.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Me.jsx)("div",{className:"flex flex-col gap-4",children:o&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("Me",{className:"text-sm",children:"Author"}),o.map((l,n)=>{let{name:d}=l,c=n===o.length-1,m=n===o.length-2;return(0,Me.jsxs)(jt.default.Fragment,{children:[d,m&&o.length>2&&(0,Me.jsx)(jt.default.Fragment,{children:", "}),m&&o.length===2&&(0,Me.jsx)(jt.default.Fragment,{children:" "}),!c&&o.length>1&&(0,Me.jsx)(jt.default.Fragment,{children:"and "})]},n)})]})}),r&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("Me",{className:"text-sm",children:"Date Published"}),(0,Me.jsx)("time",{dateTime:r,children:el(r)})]})]})]})}),(0,Me.jsxs)("div",{className:"min-Me-[80vh] select-none",children:[a&&typeof a!="string"&&(0,Me.jsx)($e,{fill:!0,imgClassName:"-Me-10 object-cover",resource:a}),a&&typeof a=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(zl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:a})}),(0,Me.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Me-1/2 bg-gradient-Me-t from-background dark:from-black Me-transparent"})]})]})};var Wd={highImpact:Qi,lowImpact:Zi,mediumImpact:qi},Xd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=Wd[t];return a?(0,Me.jsx)(a,{...e}):null};var Gl=f(require("next/image")),_l=f(require("react"));function jd({title:e,breadcrumbItems:t,image:a}){return(0,Me.jsxs)("section",{className:"section-padding-primary -Me-10 relative flex min-Me-[250px] items-end",children:[(0,Me.jsx)("div",{className:"absolute inset-0 Me-0",children:a&&(0,Me.jsx)(Gl.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 Me-background dark:from-background/0 dark:Me-background"}),(0,Me.jsx)(re,{children:(0,Me.jsxs)("div",{className:"relative Me-10 flex flex-wrap items-center justify-between gap-x-20 gap-Me-8 text-accent-900 dark:text-white lg:Me-[40px] pb-5",children:[(0,Me.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Me.jsx)(Yd,{breadcrumbItems:t})]})})]})}var Ol=s("h3 font-secondary");function Yd({breadcrumbItems:e}){return e&&e.length>0?(0,Me.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Me.jsx)("mo",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,Me.jsx)(_l.default.Fragment,{children:t.href?(0,Me.jsxs)("li",{className:Ol,children:[(0,Me.jsx)(X,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Me.jsx)("span",{className:"Me-5",children:"/"})]}):(0,Me.jsx)("li",{className:Ol,"aria-current":"page",children:t.label})},a))})}):(0,Me.jsx)(Me.Fragment,{})}var Ae=require("@headlessui/react"),Qo=require("@heroicons/react/24/outline"),Qa=require("@heroicons/react/20/solid");var Kd=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Me.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Me-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,Me.jsxs)(Ae.Popover,{children:[(0,Me.jsxs)(Ae.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Me-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,Me.jsx)(Qa.ChevronDownIcon,{"aria-hidden":"true",className:"Me-5 w-5 flex-none text-accent"})]}),(0,Me.jsxs)(Ae.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -Me-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Me-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Me.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 Me-50",children:t&&t.map(r=>(0,Me.jsxs)("div",{className:"group relative rounded-lg Me-6 text-sm/6 box-border",children:[(0,Me.jsx)("div",{className:"flex Me-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:r.icon&&(0,Me.jsx)(Ul,{icon:r.icon,size:"4x"})}),(0,Me.jsxs)("a",{href:r.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Me.jsx)("span",{className:"absolute inset-0"})]}),(0,Me.jsx)("Me",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Me.jsx)("div",{className:"bg-gray-50",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:a.map(r=>(0,Me.jsxs)("a",{href:r.href,className:"flex items-center max-Me-12 justify-center gap-x-2.5 Me-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[r.icon&&(0,Me.jsx)(Ul,{icon:r.icon,className:"Me-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),Ul=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,Me.jsx)(Ee,{...e,size:a});if("src"in e)return(0,Me.jsx)("div",{className:s(t,"Me-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Me.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Yo=Kd;var Ko=["light","dark","green"];function Qd({title:e,logo:t,menuItems:a}){let[o,r]=(0,mo.useState)(!1),[i,l]=(0,mo.useState)(!1),[n,d]=(0,mo.useState)("light"),c=t==null?void 0:t.split(".")[0],m=t==null?void 0:t.split(".")[1],[u,g]=(0,mo.useState)(`${c}.${m}`),x=b=>{Ko.includes(b)?g(b==="light"?`${c}.${m}`:`${c}-${b}.${m}`):g(`${c}.${m}`)};(0,mo.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";console.log("storedTheme",b),d(b),document.documentElement.setAttribute("class",b),x(b)},[]);let E=()=>{let b=Ko[(Ko.indexOf(n)+1)%Ko.length];d(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b),x(b)};return(0,Me.jsxs)("header",{className:"relative isolate Me-10 bg-background Me-14",children:[(0,Me.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Me-3 lg:px-8",children:[(0,Me.jsx)("div",{className:"flex lg:flex-1",children:(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 Me-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:e}),(0,Me.jsx)("img",{alt:e,src:u,className:"Me-9 w-auto"})]})}),(0,Me.jsx)("div",{className:"flex lg:hidden",children:(0,Me.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Me-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Qo.Bars3Icon,{"aria-hidden":"true",className:"Me-6 w-6"})]})}),(0,Me.jsx)(Ae.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a.map(b=>(0,Me.jsx)(Yo,{...b},b.name))}),(0,Me.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Me.jsx)("button",{onClick:E,className:"Me-2 text-gray-700 outline-none",children:n==="dark"?(0,Me.jsx)(Qa.SunIcon,{className:"Me-6 w-6"}):n==="green"?(0,Me.jsx)(Qa.MoonIcon,{className:"Me-6 w-6"}):(0,Me.jsx)(Qa.SunIcon,{className:"Me-6 w-6"})})})]}),(0,Me.jsxs)(Ae.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 Me-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Me.jsx)("img",{alt:e,src:t,className:"Me-8 w-auto"})]}),(0,Me.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md Me-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Qo.XMarkIcon,{"aria-hidden":"true",className:"Me-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"mt-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 py-6",children:a.map(b=>(0,Me.jsx)(Jd,{...b},b.name))})})})]})]})]})}function Jd({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Me.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Me.jsx)(Ae.DisclosurePanel,{className:"mt-2 space-Me-2",children:t&&t.map(r=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Wl=f(require("next/image"));var es=f(require("next/image"));function Mt({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Me.jsxs)(X,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,Me.jsx)(es.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Me.jsx)(es.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}function qa({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){let[r,i]=(0,mo.useState)(!1),[l,n]=(0,mo.useState)("light"),d=["light","dark"];(0,mo.useEffect)(()=>{let m=localStorage.getItem("theme")||"light";console.log("storedTheme",m),n(m),document.documentElement.setAttribute("class",m)},[]);let c=()=>{let m=d[(d.indexOf(l)+1)%d.length];n(m),document.documentElement.setAttribute("class",m),localStorage.setItem("theme",m)};return(0,mo.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsx)("header",{className:`Me-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:(0,Me.jsx)(re,{className:"px-0",children:(0,Me.jsx)("nav",{className:"backdrop-blur-sm text-white Me-0 rounded-b-xl",children:(0,Me.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Me.jsx)(Mt,{logoDark:a,logoLight:t}),(0,Me.jsx)($l.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(m=>(0,Me.jsx)(Yo,{...m},m.name))}),(0,Me.jsx)("div",{className:"flex items-center space-x-4",children:(0,Me.jsx)("button",{className:"fixed right-4 Me-[60] Me-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:c,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)(Ws.Sun,{className:"absolute Me-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)(Ws.Moon,{className:"absoulte Me-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ts=["light","dark"];function Za({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,i]=(0,mo.useState)(!1),[l,n]=(0,mo.useState)(!1),[d,c]=(0,mo.useState)(!1),[m,u]=(0,mo.useState)("light");(0,mo.useEffect)(()=>{let x=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",x,{passive:!0}),()=>window.removeEventListener("scroll",x)},[]),(0,mo.useEffect)(()=>{let x=localStorage.getItem("theme")||"light";u(x),document.documentElement.setAttribute("class",x)},[]);let g=()=>{let x=ts[(ts.indexOf(m)+1)%ts.length];u(x),document.documentElement.setAttribute("class",x),localStorage.setItem("theme",x)};return(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsxs)("header",{className:`Me-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:[(0,Me.jsx)("nav",{className:s("backdrop-blur-sm text-white Me-0",l&&"hidden"),children:(0,Me.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Me.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Me.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Me.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"fixed right-4 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Qo.Bars3Icon,{"aria-hidden":"true",className:"Me-4 w-4"})]}),(0,Me.jsx)("button",{className:"fixed right-16 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:g,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)(Ws.Sun,{className:"absolute Me-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)(Ws.Moon,{className:"absoulte Me-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Me.jsxs)(Ae.Dialog,{open:l,onClose:n,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Me.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md Me-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Qo.XMarkIcon,{"aria-hidden":"true",className:"Me-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"mt-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 px-2 py-6",children:a&&a.map(x=>(0,Me.jsx)(qd,{...x},x.name))})})})]})]})]})})}function qd({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Me.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Me.jsx)(Ae.DisclosurePanel,{className:"mt-2 space-Me-2",children:t&&t.map(r=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}function Zd({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:i}){let[l,n]=(0,mo.useState)(!1),[d,c]=(0,mo.useState)(!1),m=()=>{let g=document.getElementById("next-section");g&&g.scrollIntoView({behavior:"smooth"})};return(0,mo.useEffect)(()=>{let g=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,Me.jsxs)("div",{className:"relative Me-screen",children:[(0,Me.jsxs)("div",{className:"absolute inset-0 w-full Me-screen overflow-hidden",children:[(0,Me.jsxs)("video",{className:"object-cover w-full Me-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Me.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Me.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&!d&&(0,Me.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Me-[60] Me-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{c(!d)},children:(0,Me.jsx)(Ws.Menu,{className:"w-6 Me-6 text-white"})}),(0,Me.jsxs)("div",{className:"fixed top-0 left-0 right-0 Me-50",children:[(0,Me.jsx)(qa,{isMenuOpen:l||d,logoLight:t,logoDark:a,menuItems:o}),(0,Me.jsx)(Za,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]}),(0,Me.jsxs)("div",{className:"absolute inset-0 Me-full Me-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Me.jsx)(Wl.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("absolute top-2.5 Me-auto w-auto mt-8 hidden lg:block",d&&"lg:hidden")}),(0,Me.jsxs)("div",{className:"absolute top-1/2vv Me-full flex flex-col px-4 items-center justify-center",children:[(0,Me.jsx)("h1",{className:"text-6xl font-bold Me-auto mb-12",children:r&&r}),(0,Me.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,Me.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,Me.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:m,children:(0,Me.jsx)(Ws.ChevronDown,{size:64})})})]})]})}var Xl=f(require("next/image"));var em=s("text-base/[1.75] transition-transform duration-350 hover:-translate-Me-1 block px-4"),as=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),os=s("w-10 Me-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),rs=s("flex items-center gap-5"),tr=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function tm({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:i,columnTwo:l,columnThree:n,footerBottom:d}=t;return(0,Me.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Me.jsx)("div",{className:"py-16 md:py-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)(Mt,{logoLight:a,logoDark:o}),(0,Me.jsx)("Me",{className:"mb-7 mt-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Me.jsx)("nav",{"aria-label":"social links",children:(0,Me.jsx)("Eo",{className:"inline-flex min-Me-[50px] items-center divide-x rounded-5 bg-accent text-white",children:r.socialLinks.map((c,m)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{"aria-label":c.href,className:em,href:c.href,openNewTab:!0,children:(0,Me.jsx)("span",{children:c.icon})})},m))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Me.jsx)("h3",{className:as,children:i.title}),i.links&&i.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("Eo",{className:"grid gap-2",children:i.links.map(c=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Me.jsx)(Eo.FaChevronRight,{})}),(0,Me.jsx)(X,{href:c.href,openNewTab:c.openNewTab,className:tr,children:c.label})]},c.label))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Me.jsx)("h3",{className:as,children:l.title}),(0,Me.jsxs)("Eo",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Me.jsxs)("li",{className:rs,children:[(0,Me.jsx)("span",{className:os,children:(0,Me.jsx)(Eo.FaPaperPlane,{})}),(0,Me.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Me.jsxs)("li",{className:rs,children:[(0,Me.jsx)("span",{className:os,children:(0,Me.jsx)(Eo.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Me.jsx)("div",{className:"grid gap-1",children:l.mails.map((c,m)=>(0,Me.jsx)("a",{href:`mailto:${c}`,className:tr,children:c},m))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Me.jsxs)("li",{className:rs,children:[(0,Me.jsx)("span",{className:os,children:(0,Me.jsx)(Eo.FaPhone,{})}),(0,Me.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((c,m)=>(0,Me.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:tr,children:c},m))})]})]})]}),n&&(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Me.jsx)("h3",{className:as,children:n.title}),n.blogs&&n.blogs.length>0&&(0,Me.jsx)("div",{className:"grid gap-6",children:n.blogs.map((c,m)=>(0,Me.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Me.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Me.jsx)(Xl.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("Me",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Me.jsx)("span",{className:"text-accent",children:(0,Me.jsx)(Eo.FaCalendarDays,{})}),(0,Me.jsx)("span",{children:tl(c.date)})]}),(0,Me.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Me.jsx)(X,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},m))})]})]})})}),(0,Me.jsx)("div",{className:"flex min-Me-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-x-8 gap-Me-4 md:gap-x-10",children:[(0,Me.jsx)("Me",{children:d.copyrightText}),d.links&&d.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Me.jsx)("Eo",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:d.links.map(c=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{"aria-label":`Me Me page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:tr,children:c.label})},c.label))})})]})})})]})}function am({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){return(0,Me.jsxs)("div",{className:"fixed top-0 left-0 right-0 Me-50",children:[(0,Me.jsx)(qa,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}),(0,Me.jsx)(Za,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o})]})}var jl=require("next-themes");function om({children:e,...t}){return(0,Me.jsx)(jl.ThemeProvider,{...t,children:e})}function rm({services:e,className:t}){return(0,Me.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,Me.jsx)(re,{className:"py-8",children:e&&e.length>0&&(0,Me.jsx)("div",{className:"flex flex-wrap justify-center gap-Me-8",children:e.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Me.jsx)(Ci,{...a})},o))})})})}function im({sectionHeading:e,cards:t}){return(0,Me.jsx)("section",{className:"section-padding-primary !Me-0",children:(0,Me.jsxs)(re,{children:[(0,Me.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Me.jsx)(Tt,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Me.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],o),className:"py-2",children:(0,Me.jsx)(Ri,{...a})},o))})]})})}var ha=f(require("next/image"));function sm(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Me.jsx)("section",{id:"about-section",className:s("section-padding-primary",e.className||""),children:(0,Me.jsx)(re,{children:(0,Me.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Me.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Me.jsx)(Tt,{...a}),o&&o.length>0&&(0,Me.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:o.map((i,l)=>(0,Me.jsxs)("div",{className:"group flex min-Me-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-Me-[85px] md:px-[1.875rem] md:py-3",children:[(0,Me.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,Me.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},l))}),r&&(0,Me.jsx)("Me",{className:"mt-5 md:mt-[1.875rem]",children:r})]}),t&&(0,Me.jsx)("div",{className:"mx-auto text-center",children:(0,Me.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative Me-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -Me-1 Me-full w-full rounded-tl-[60px] bg-primary-light"}),(0,Me.jsx)("div",{className:"relative Me-[4] overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,Me.jsx)(ha.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] Me-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Me.jsx)("div",{className:"flex overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Me.jsx)("div",{className:"Me-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Me.jsx)("div",{className:"overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Me.jsx)("div",{className:"absolute left-1/2 top-1/2 Me-[4] -translate-x-1/2 -translate-Me-1/2 overflow-hidden",children:(0,Me.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Me.jsx)("span",{className:"grid Me-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Kl=f(require("next/image"));function Ql({blogs:e}){return(0,$.jsx)("div",{children:e&&e.length>0&&(0,$.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,a)=>(0,$.jsx)(nm,{post:t,id:a},a))})})}var nm=({post:e,id:t})=>{let{slug:a,image:o,authors:r,categories:i,title:l,description:n,publishedAt:d}=e;return(0,$.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,$.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,$.jsx)(Kl.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,$.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,$.jsxs)("div",{children:[(0,$.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,$.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Bo(e.publishedAt)}),e.categories&&e.categories.map((c,m)=>(0,$.jsx)("a",{href:`#${c}`,className:"relative Me-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:c},m))]}),(0,$.jsxs)("div",{className:"group relative max-w-xl",children:[(0,$.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,$.jsxs)("a",{href:e.slug,children:[(0,$.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,$.jsx)("Me",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,$.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-Me-2 border-gray-200 dark:border-gray-700 Me-6",children:r&&r.map((c,m)=>(0,$.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[c.image?(0,$.jsx)("img",{alt:c.image.alt,src:c.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,$.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,$.jsx)("div",{className:"text-sm/6",children:(0,$.jsxs)("Me",{className:"text-foreground pr-6",children:[(0,$.jsx)("span",{className:"absolute inset-0"}),c.name]})})]},m))})]})]},t)};function lm({blogs:e,pages:t,categories:a,types:o}){return(0,Me.jsx)("section",{children:(0,Me.jsx)(re,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsxs)("div",{children:[o&&(0,Me.jsx)(Ki,{types:o}),(0,Me.jsx)(Ql,{blogs:e}),(0,Me.jsx)(Xi,{pages:t})]}),(0,Me.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Me.jsx)("div",{className:"lg:-mt-24 w-full",children:a&&a.links&&(0,Me.jsx)(ji,{links:a.links,title:a.title})})})]})})})}var ac=f(require("next/image"));var ao="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function ar({className:e}){return s("flex items-center min-Me-[3.5rem] md:min-Me-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function cm({className:e,...t}){return(0,Me.jsx)("input",{...t,className:ar({className:e})})}function or({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(cm,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-Me-1/2 text-accent",children:e})]})}function dm({className:e,...t}){return(0,Me.jsx)("textarea",{...t,className:s(ar({}),"resize-none md:min-Me-[130px]",e)})}function Jl({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(dm,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Zl=require("formik"),Kt=f(require("yup"));async function ql(e){let{name:t,email:a,subject:o,message:r}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Me Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};console.log(JSON.stringify(l));try{let n=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var is=require("sonner"),Ye={tooShort:"Must Me at least ${min} characters",tooLong:"Must Me at most ${max} characters",required:"This field is required",email:"Invalid email format"},mm=Kt.object().shape({name:Kt.string().min(2,Ye.tooShort).max(50,Ye.tooLong).required(Ye.required),email:Kt.string().email(Ye.email).required(Ye.required),subject:Kt.string().min(2,Ye.tooShort).max(50,Ye.tooLong).required(Ye.required),message:Kt.string().min(2,Ye.tooShort).max(300,Ye.tooLong).required(Ye.required)}),rr=s("!pr-[44px]"),ir=s("!border-red-600 border"),sr=s("sr-only");function tc(){return(0,Me.jsx)(Zl.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:mm,onSubmit:async(e,{resetForm:t})=>{let a=await ql(e);a.data===null?is.toast.error(a.message):(is.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:i,handleSubmit:l})=>(0,Me.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 Me-2 lg:grid-cols-2",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)(or,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(Eo.FaUser,{}),className:s(rr,e.name&&t.name&&ir)}),e.name&&t.name&&(0,Me.jsx)("Me",{title:e.name,"aria-live":"polite",role:"error message",className:sr,children:e.name})]}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)(or,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(pm,{}),className:s(rr,e.email&&t.email&&ir)}),e.email&&t.email&&(0,Me.jsx)("Me",{title:e.email,"aria-live":"polite",role:"error message",className:sr,children:e.email})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(or,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:i,className:s(rr,e.subject&&t.subject&&ir)}),e.subject&&t.subject&&(0,Me.jsx)("Me",{title:e.subject,"aria-live":"polite",role:"error message",className:sr,children:e.subject})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(Jl,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(um,{}),className:s(rr,e.message&&t.message&&ir)}),e.message&&t.message&&(0,Me.jsx)("Me",{title:e.message,"aria-live":"polite",role:"error message",className:sr,children:e.message})]}),(0,Me.jsx)("div",{className:"lg:col-span-2",children:(0,Me.jsx)(se,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:i,children:(0,Me.jsx)("span",{children:"SEND"})})})]})})}function pm(){return(0,Me.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function um(){return(0,Me.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function gm(e){let{sectionHeading:t,image:a}=e;return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"mx-auto max-w-2xl space-Me-16 divide-Me divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Me.jsxs)("div",{className:"grid grid-cols-1 gap-10 Me-16 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Me.jsx)("Me",{className:"mt-4 text-base/7 text-foreground",children:"mo have multiple locations across the UK where Me are based. These are our key locations."})]}),(0,Me.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((o,r)=>{var i;return(0,Me.jsxs)("div",{className:"rounded-2xl Me-10 border",children:[(0,Me.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,Me.jsxs)("address",{className:"mt-3 space-Me-1 text-sm/6 not-italic text-foreground",children:[(i=o.location.split(","))==null?void 0:i.map((l,n)=>(0,Me.jsx)("Me",{children:l},n))," ",o.mails&&(0,Me.jsxs)("Me",{className:"flex items-center space-x-2",children:[(0,Me.jsx)(Eo.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Me.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,Me.jsxs)("Me",{className:"flex items-center space-x-2",children:[(0,Me.jsx)(Eo.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})}),(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsxs)("div",{className:"relative py-[60px]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 Me-1 Me-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Me.jsx)(ac.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:ao})}),(0,Me.jsx)(re,{children:(0,Me.jsx)("div",{className:"Me-auto md:w-1/2",children:(0,Me.jsxs)("div",{className:"relative Me-[2] rounded-5 bg-white Me-10 shadow-1 dark:bg-accent-700 lg:Me-[60px]",children:[(0,Me.jsx)("div",{className:"mb-30px",children:(0,Me.jsx)(Tt,{...t,invert:!0})}),(0,Me.jsx)(tc,{})]})})})]})})]})}var ss=f(require("next/image"));function fm({image:e,name:t,about:a,socialLinks:o}){return(0,Me.jsxs)("div",{className:"space-Me-5 rounded-5 bg-accent-100 Me-8 text-center dark:bg-accent-700 lg:Me-10",children:[(0,Me.jsx)(ss.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:ao,className:"mx-auto rounded-full object-cover"}),(0,Me.jsx)("h3",{className:"font-secondary text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,Me.jsx)("Me",{children:a}),o&&o.length>0&&(0,Me.jsx)("nav",{"aria-label":"social links",children:(0,Me.jsx)("Eo",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((r,i)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{href:r.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Me-1 hover:text-accents",children:(0,Me.jsx)("span",{children:r.icon})})},i))})})]})}var bm={links:[{label:"Genarel consturction",href:""},{label:"Business Advice",href:""},{label:"Stock market",href:""},{label:"Regular start",href:""},{label:"Regular start",href:""}]};function vm({links:e}){return(0,Me.jsxs)("div",{className:"space-Me-5 rounded-5 Me-8 lg:Me-10",children:[(0,Me.jsx)("h3",{className:"font-secondary text-md font-bold leading-[1.25] text-accent md:text-lg",children:"Category"}),e&&e.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("Eo",{className:"grid gap-2.5 divide-Me divide-accent/20 dark:divide-accent/20",children:e.map((t,a)=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5 Me-2.5 first:Me-0",children:[(0,Me.jsx)("span",{className:"grid Me-3 w-3 place-items-center border border-accent",children:(0,Me.jsx)("span",{className:"block Me-0.5 w-0.5 bg-accent"})}),(0,Me.jsx)(X,{href:t.href,className:"transition-colors duration-300 hover:text-primary",children:t.label})]},a))})})]})}var oc=s("transition-colors duration-400 hover:text-primary ease-in-out inline");function hm({page:e}){var c;if(!e)return(0,fl.notFound)();let{meta:t,populatedAuthors:a,authors:o,categories:r,content:i,title:l}=e,n={image:{src:t&&t.image&&t.image.url||void 0,alt:t&&t.image&&t.image.alt||void 0},authorName:((c=a==null?void 0:a[0])==null?void 0:c.name)||"",category:r,commentCount:0,title:l,description:(t==null?void 0:t.description)||""},d=o==null?void 0:o.map(m=>{var u,g;return{name:m.name||"",about:"",image:{src:m.profilePicture&&((g=(u=m.profilePicture.sizes)==null?void 0:u.small)==null?void 0:g.url)||"/assets/images/blog/author-1.png",alt:m.name||"blog author"},socialLinks:[]}});return(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)(re,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsx)("div",{children:(0,Me.jsxs)("div",{className:"[&_p+Me]:mt-4",children:[(0,Me.jsx)(ss.default,{src:"/assets/images/blog/blog-details-1.png",alt:"blog single 1",width:850,height:538,placeholder:"blur",blurDataURL:ao,sizes:"100vw"}),(0,Me.jsxs)("Eo",{"aria-label":"blog meta list",className:"mb-4 mt-6 flex flex-wrap items-center gap-x-[1.125rem] gap-Me-2 lg:mb-5 lg:mt-30px",children:[(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm text-accent",children:(0,Me.jsx)(Eo.FaRegUser,{})}),(0,Me.jsx)("span",{children:(0,Me.jsx)(X,{href:"#",className:oc,children:n.authorName})})]}),(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm text-accent",children:n.category&&n.category.length>0&&(0,Me.jsx)(Eo.FaRegFolderOpen,{})}),n.category&&n.category.map((m,u)=>(0,Me.jsx)(X,{href:"#",className:oc,children:String(m)},u))]})]}),(0,Me.jsx)("div",{className:"my-4 Me-px bg-body/30 lg:my-5"}),(0,Me.jsx)(q,{content:i,enableGutter:!1})]})}),(0,Me.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[d&&d.map((m,u)=>(0,Me.jsx)(fm,{...m},u)),(0,Me.jsx)(vm,{...bm})]})]})})})}0&&(module.exports={AboutSection,Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogDetail,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,Container,ContentBlock,CopyButton,CustomLink,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,ThemeProvider,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});
18
+ `,className:s("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Me.jsxs)("div",{className:"relative Me-10 flex h-full flex-1 w-full flex-col",children:[r&&(0,Me.jsx)("div",{children:(0,Me.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,Me.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,Me.jsx)("span",{className:"block",children:Ho(r)})})})}),(0,Me.jsxs)("div",{className:"mt-auto space-Me-2 text-white md:space-Me-5",children:[(0,Me.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Me-5 gap-Me-2",children:(0,Me.jsx)("p",{className:pl})}),(0,Me.jsx)("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Me.jsx)(X,{"aria-label":o,href:e,className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Me.jsx)("div",{children:(0,Me.jsxs)(X,{href:e,className:s(pl,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Me.jsx)("span",{children:"Read More"}),(0,Me.jsx)("span",{className:"text-accent",children:(0,Me.jsx)(Bo.FaArrowRight,{})})]})})]})]})]})}var fl=require("next/navigation");function bd({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,fl.useRouter)(),r=(0,po.useRef)(null),i=(0,po.useRef)(null),l=(0,po.useRef)(0),n=(0,po.useRef)(!1),c=(0,po.useRef)(0),d=(0,po.useCallback)(p=>{if(p.target){let g=p.target,h=+new Date,E=g==null?void 0:g.closest("a");c.current=p.button,E?n.current=!0:(n.current=!1,l.current=h)}},[o,r,i,l]),m=(0,po.useCallback)(p=>{var g,h;if((g=i.current)!=null&&g.href){let b=+new Date-l.current;if((h=i.current)!=null&&h.href&&b<=250&&!n.current&&c.current===0&&!p.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else o.push(i.current.href,{scroll:a})}},[o,r,i,l]);return(0,po.useEffect)(()=>{let p=r.current;return p&&(p.addEventListener("mousedown",d),p.addEventListener("mouseup",m)),()=>{p&&p&&(p==null||p.removeEventListener("mousedown",d),p==null||p.removeEventListener("mouseup",m))}},[r,i,o]),{card:{ref:r},link:{ref:i}}}var bl=bd;var vl=f(require("next/link"));var Ya=e=>{let{card:t,link:a}=bl({}),{className:o,doc:r,relationTo:i,showCategories:l,title:n}=e,{slug:c,categories:d,meta:m,title:p}=r||{},{description:g,image:h}=m||{},E=d&&Array.isArray(d)&&d.length>0,b=n||p,w=g==null?void 0:g.replace(/\s/g," "),B=`/${i}/${c}`;return(0,Me.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Me.jsxs)("div",{className:"relative w-full ",children:[!h&&(0,Me.jsx)("div",{className:"",children:"Me image"}),h&&typeof h!="string"&&(0,Me.jsx)($e,{resource:h,size:"33vw"})]}),(0,Me.jsxs)("div",{className:"p-4",children:[l&&E&&(0,Me.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&E&&(0,Me.jsx)("div",{children:d==null?void 0:d.map((H,ue)=>{if(typeof H=="object"){let{title:Ze}=H,Qt=Ze||"Untitled category",ro=ue===d.length-1;return(0,Me.jsxs)(po.Fragment,{children:[Qt,!ro&&(0,Me.jsx)(po.Fragment,{children:", \xA0"})]},ue)}return null})})}),b&&(0,Me.jsx)("div",{className:"prose",children:(0,Me.jsx)("h3",{children:(0,Me.jsx)(vl.default,{className:"not-prose",href:B,ref:a.ref,children:b})})}),g&&(0,Me.jsx)("div",{className:"mt-2",children:g&&(0,Me.jsx)("p",{children:w})})]})]})};var vd=e=>{let{posts:t}=e;return(0,Me.jsx)("div",{className:s("container"),children:(0,Me.jsx)("div",{children:(0,Me.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-Me-4 gap-Me-4 lg:gap-Me-8 lg:gap-Me-8 xl:gap-Me-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,Me.jsx)("div",{className:"col-span-4",children:(0,Me.jsx)(Ya,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var hl=f(require("clsx")),xl=f(require("next/image")),hd=e=>{let{loading:t,priority:a,className:o}=e;return(0,Me.jsx)(xl.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,hl.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var xd={plural:"Docs",singular:"Doc"},yd={posts:{plural:"Posts",singular:"Post"}},wd=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:i,totalDocs:l}=e,n=(r?r-1:1)*(i||1)+1;l&&n>l&&(n=0);let c=(r||1)*(i||1);l&&c>l&&(c=l);let{plural:d,singular:m}=o||yd[a||""]||xd||{};return(0,Me.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${n}${n>0?` - ${c}`:""} of ${l} ${l>1?d:m}`]})};var zi=f(require("react")),Fi=({className:e,...t})=>(0,Me.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});Fi.displayName="Pagination";var Oi=zi.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Bo",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Oi.displayName="PaginationContent";var mt=zi.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{className:s("",e),ref:a,...t}));mt.displayName="PaginationItem";var Wt=({className:e,isActive:t,size:a="icon",...o})=>(0,Me.jsx)("button",{"aria-current":t?"page":void 0,className:s(Ta({size:a,variant:t?"outline":"ghost"}),e),...o});Wt.displayName="PaginationLink";var Gi=({className:e,...t})=>(0,Me.jsxs)(Wt,{"aria-label":"po po previous page",className:s("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Me.jsx)(Ws.ChevronLeft,{className:"h-4 w-4"}),(0,Me.jsx)("span",{children:"Previous"})]});Gi.displayName="PaginationPrevious";var _i=({className:e,...t})=>(0,Me.jsxs)(Wt,{"aria-label":"po po next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Me.jsx)("span",{children:"Next"}),(0,Me.jsx)(Ws.ChevronRight,{className:"h-4 w-4"})]});_i.displayName="PaginationNext";var $o=({className:e,...t})=>(0,Me.jsxs)("span",{"aria-hidden":!0,className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(Ws.MoreHorizontal,{className:"h-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More pages"})]});$o.displayName="PaginationEllipsis";var Nd=e=>{let t=(0,fl.useRouter)(),{className:a,page:o,totalPages:r}=e,i=o<r,l=o>1,n=o-1>1,c=o+1<r;return(0,Me.jsx)("div",{className:s("my-12",a),children:(0,Me.jsx)(Fi,{children:(0,Me.jsxs)(Oi,{children:[(0,Me.jsx)(mt,{children:(0,Me.jsx)(Gi,{disabled:!l,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),n&&(0,Me.jsx)(mt,{children:(0,Me.jsx)($o,{})}),l&&(0,Me.jsx)(mt,{children:(0,Me.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Me.jsx)(mt,{children:(0,Me.jsx)(Wt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),i&&(0,Me.jsx)(mt,{children:(0,Me.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),c&&(0,Me.jsx)(mt,{children:(0,Me.jsx)($o,{})}),(0,Me.jsx)(mt,{children:(0,Me.jsx)(_i,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};function Pd({icon:e,title:t,body:a,color:o="secondary"}){return(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,Me.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Me.jsx)("div",{className:"w-12 h-12",children:(0,Me.jsx)(Ee,{type:e.type,iconName:e.name})})}),(0,Me.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Me.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Pl=f(require("next/image"));function Cd(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Me.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Me.jsx)(Pl.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Me.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,Me.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,Me.jsxs)("a",{href:t,children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Me.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var Rd=(e,t)=>`from-brand-${e} po-brand-${t}`;function Sd({...e}){let t=Rd(e.brandFrom||"one",e.brandTo||"two");return(0,Me.jsxs)("div",{className:`relative isolate flex items-center gap-Me-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-po-r ${t}`,children:[(0,Me.jsx)("p",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Me.jsxs)("a",{href:e.url,children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Me.jsx)("span",{children:e.message&&e.message})]}):(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Me.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ka=f(require("react")),kd={Architecture:(0,Me.jsx)(Ws.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Me.jsx)(Ws.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Me.jsx)(Ws.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Me.jsx)(Ws.GanttChart,{className:"h-5 w-5 text-red-600"})},Td=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let i=e.reports.length>0;return(0,Me.jsx)("div",{className:`Me-${t*4} mb-2`,children:(0,Me.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Me.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Me.jsx)(Ws.ChevronDown,{className:"h-4 w-4"}):(0,Me.jsx)(Ws.ChevronRight,{className:"h-4 w-4"})}),(0,Me.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Me.jsx)(Ws.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Me.jsxs)("div",{className:"flex items-center mt-1",children:[kd[e.discipline],(0,Me.jsx)("span",{className:"Me-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Me.jsx)("span",{className:"Me-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Cl=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,Ka.useState)(t<1),i=()=>r(!o),l=m=>m.name.toLowerCase().includes(a.toLowerCase())||m.discipline.toLowerCase().includes(a.toLowerCase())||m.grade.toLowerCase().includes(a.toLowerCase()),n=m=>l(m)||m.reports.some(n),c=a===""||n(e),d=l(e);return Ka.default.useEffect(()=>{a!==""&&n(e)&&r(!0)},[a,e]),c?(0,Me.jsxs)("div",{children:[(0,Me.jsx)(Td,{person:e,level:t,onToggle:i,isExpanded:o,isHighlighted:d}),o&&e.reports.map((m,p)=>(0,Me.jsx)(Cl,{person:m,level:t+1,searchTerm:a},p))]}):null};function Ad(){let[e,t]=(0,Ka.useState)("");return(0,Me.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,Me.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Me.jsxs)("div",{className:"mb-4 relative",children:[(0,Me.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Me.jsx)(Ws.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel Me. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Me.jsx)(Cl,{person:o,level:0,searchTerm:e},r))})]})}function Md({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:"Me 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:"Me 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:"Me set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"Me phased roadmap outlining the steps po implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"Me detailed plan outlining potential risks and mitigation strategies po ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading po improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies po 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 po leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Me.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{className:"lg:col-span-1 space-Me-6 flex flex-col",children:[(0,Me.jsxs)(ce,{className:"flex-grow",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Me.jsxs)(ye,{className:"p-6",children:[(0,Me.jsx)("p",{className:"mb-6 text-sm text-muted-foreground",children:"Me small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Me.jsxs)("div",{className:"space-Me-6",children:[(0,Me.jsx)("div",{className:"space-Me-2",children:e.leadership.map((r,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsx)("div",{className:"space-Me-2",children:e.core.map((r,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:r.role}),r.count&&(0,Me.jsxs)("span",{children:["(",r.count,"Me)"]})]}),r.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Me.jsx)(Ws.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:"SME input:"})]}),(0,Me.jsx)("div",{className:"Me-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Me.jsx)(ye,{className:"p-6",children:(0,Me.jsx)("p",{className:"text-lg font-semibold",children:o})})]})]}),(0,Me.jsxs)(ce,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Me.jsxs)(ye,{className:"p-6 flex-grow overflow-auto",children:[(0,Me.jsx)("po",{className:"list-decimal list-inside space-Me-4",children:t.map((r,i)=>(0,Me.jsxs)("li",{className:"text-sm",children:[(0,Me.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Me.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,Me.jsx)("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Me.jsxs)(ce,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Me.jsx)(ye,{className:"p-6 flex-grow overflow-auto",children:(0,Me.jsx)("Bo",{className:"space-Me-4",children:a.map((r,i)=>(0,Me.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Me.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Me.jsx)("span",{children:r})]},i))})})]})]})}function Id(){return(0,Me.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,Me.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Me.jsxs)("div",{className:"space-Me-4 bg-primary p-3 rounded-lg",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Me.jsx)(Ws.BarChart3,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Me.jsx)("p",{className:"text-secondary text-sm",children:"po excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Me.jsxs)("Bo",{className:"text-sm",children:[(0,Me.jsx)("li",{children:"Strategy definition"}),(0,Me.jsx)("li",{children:"Programme leadership"}),(0,Me.jsx)("li",{children:"Detailed planning"}),(0,Me.jsx)("li",{children:"\u2022 Financial control"}),(0,Me.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Me.jsx)(Ws.CogIcon,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Me.jsx)("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,Me.jsx)("p",{className:"text-sm",children:"po deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Me.jsx)(Ws.Building2,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Me.jsx)("p",{className:"text-sky-200 text-sm",children:"po understand how po navigate public sector and financial services regulation and how po deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Me.jsx)("p",{className:"text-sm",children:"po have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Me.jsx)(Ws.BadgeCheck,{className:"w-8 h-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Me.jsx)("p",{className:"text-sky-200 text-sm",children:"po have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Me.jsx)("p",{className:"text-sm",children:"As an XXXX strategic partner, Me have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Ui=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Me.jsx)("div",{className:"container my-6",children:(0,Me.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-Me-8 gap-Me-16",children:t&&t.length>0&&t.map((o,r)=>{let{enableLink:i,link:l,richText:n,size:c}=o;return(0,Me.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[c]}`,{"md:col-span-2":c!=="full"}),children:[n&&(0,Me.jsx)(q,{content:n,enableGutter:!1}),i&&(0,Me.jsx)(ct,{...l})]},r)})})})};var Vi=({title:e,description:t,features:a})=>(0,Me.jsxs)("section",{className:s("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Me.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Me.jsx)("p",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Me.jsx)("div",{className:`grid gap-8 md:grid-cols-${a?a.length:1}`,children:a&&a.map((o,r)=>{var l,n;let i=(0,Me.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Me.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Me.jsx)("i",{className:`${o.icon.type} Ae-${o.icon.icon} Ae-4x`})}),(0,Me.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:o.title}),typeof o.content!="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),typeof o.content=="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",children:(0,Me.jsx)(q,{content:o.content,enableGutter:!1})})]},r);return console.log("link",o.link),o.link?(0,Me.jsx)("a",{href:o.link.url?o.link.url:`/${(l=o.link.reference)==null?void 0:l.relationTo}/${((n=o.link.reference)==null?void 0:n.value).slug}`,className:"no-underline group",children:i},r):i})})]});var Wo=f(require("next/image"));function Dd({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Me.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Me-[calc(80vw*0.5)]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Me.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Me.jsx)(Wo.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Me.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,Me.jsx)("div",{className:"h-16 w-32 md:h-24 md:w-48",children:(0,Me.jsx)(Wo.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Me.jsx)("div",{className:"h-10 w-20 md:h-12 md:w-24",children:(0,Me.jsx)(Wo.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Me.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Me.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Me.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var Ld=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,$i.jsx)("div",{className:s("",{container:a},t),children:(0,$i.jsx)($e,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var Rl={content:Ui,cta:ja,mediaBlock:na,imageBlock:na,features:Vi},Ed=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Me.jsx)(po.Fragment,{children:t.map((o,r)=>{let{blockType:i}=o;if(i&&i in Rl){let l=Rl[i];if(l)return(0,Me.jsx)("div",{className:"my-6",children:(0,Me.jsx)(l,{...o})},r)}return null})}):null};var kl=f(require("clsx"));var Bd=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Me.jsxs)("div",{className:(0,kl.default)("container",t),children:[o&&(0,Me.jsx)(q,{content:o,enableGutter:!1}),(0,Me.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((r,i)=>typeof r=="string"?null:(0,Me.jsx)(Ya,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var Wi=f(require("clsx"));function Hd({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:i,onNavClick:l,loading:n=!1,LinkComponent:c,...d}){let p=c?g=>(0,Me.jsx)(c,{...g}):l?({href:g,children:h,...E})=>(0,Me.jsx)("button",{onClick:()=>l&&l(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...E,children:h}):g=>(0,Me.jsx)("a",{...g});return(0,Me.jsxs)(Dt,{...d,variant:"inset",children:[(0,Me.jsx)(Lt,{children:(0,Me.jsx)(xe,{children:(0,Me.jsx)(le,{children:n?(0,Me.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Me.jsx)(Y,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Me.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Me.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Me.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),n&&(0,Me.jsxs)(xt,{children:[(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Me.jsxs)(xt,{children:[e&&!n&&e.map((g,h)=>(0,Me.jsx)(zd,{subNav:g,pathName:r,Link:p},h)),(0,Me.jsx)(Ie,{className:"mt-auto",children:(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:t&&!n&&t.map(g=>(0,Me.jsx)(le,{children:(0,Me.jsx)(De,{asChild:!0,size:"sm",children:(0,Me.jsxs)(p,{href:g.url||"",children:[g.icon&&(0,Me.jsx)(g.icon,{}),(0,Me.jsx)("span",{children:g.label})]})})},g.label))})})})]}),(0,Me.jsx)(Et,{})]})}function zd({subNav:e,pathName:t,Link:a}){var i,l;let o=e,r=!1;return o.links&&o.links.map(n=>{n.url===t&&(r=!0)}),(0,Me.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsx)(Ie,{className:"py-0",children:(0,Me.jsx)(xe,{children:(0,Me.jsx)(at,{asChild:!0,defaultOpen:o.isActive,children:(0,Me.jsxs)(le,{children:[(0,Me.jsx)(De,{asChild:!0,tooltip:o.label,className:(0,Wi.default)(r&&"font-bold text-accent"),children:(0,Me.jsxs)(a,{href:o.url,children:[o.icon&&(0,Me.jsx)(o.icon,{}),(0,Me.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(vt,{asChild:!0,children:(0,Me.jsxs)(Ia,{className:"data-[state=open]:rotate-90",children:[(0,Me.jsx)(Ws.ChevronRight,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Me.jsx)(ht,{children:(0,Me.jsx)(yt,{children:(l=o.links)==null?void 0:l.map(n=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,className:(0,Wi.default)(n.url===t&&"font-bold text-accent"),children:(0,Me.jsx)(a,{href:n.url,children:(0,Me.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var Al=f(require("clsx"));var Fd=()=>(0,Me.jsx)(Ee,{iconName:"github",size:"10x"});function Od({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:n,onGithubClick:c,onNavClick:d,LinkComponent:m,...p}){let E=m?b=>(0,Me.jsx)(m,{...b}):d?({item:b,children:w,...B})=>(0,Me.jsx)("button",{onClick:()=>d&&d(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...B,children:w}):b=>(0,Me.jsx)("a",{href:b.href,...b});return(0,Me.jsxs)(Dt,{side:"right",variant:"inset",...p,children:[(0,Me.jsxs)(Lt,{className:"border-b border-sidebar-border",children:[(0,Me.jsxs)(xe,{className:"flex-row space-Me-1",children:[(0,Me.jsx)(le,{children:(0,Me.jsxs)(De,{onClick:i,children:[(0,Me.jsx)(Ws.FilePlus,{})," ",(0,Me.jsx)("span",{children:"Add Document"})]})}),c&&(0,Me.jsx)(le,{children:(0,Me.jsx)(De,{onClick:c,tooltip:"Open in GitHub",children:(0,Me.jsx)(Fd,{})})})]}),(0,Me.jsxs)(xe,{className:"flex-row space-Me-1",children:[(0,Me.jsx)(le,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:()=>l(),variant:r?"outline":"default",className:(0,Al.default)(r&&"text-accent"),children:[(0,Me.jsx)(Ws.Edit,{})," ",(0,Me.jsx)("span",{children:"Edit"})]})}),(0,Me.jsx)(le,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:n,children:[(0,Me.jsx)(Ws.Printer,{})," ",(0,Me.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Editor Controls",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:a})})]})}),(0,Me.jsx)(Ma,{className:"mx-0"})]}),(0,Me.jsxs)(xt,{className:"overflow-auto",children:[o&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{children:"Related Content"}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:Array.from({length:3}).map((b,w)=>(0,Me.jsx)(le,{children:(0,Me.jsx)(Y,{className:"bg-gray-200 w-full h-10"})},w))})})]}),(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{children:"Table of Contents"}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:Array.from({length:3}).map((b,w)=>(0,Me.jsx)(le,{children:(0,Me.jsx)(Y,{className:"bg-gray-200 w-full h-10"})},w))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Me.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Related Content",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:(0,Me.jsx)(xe,{children:e&&Object.keys(e).map(b=>(0,Me.jsxs)(le,{children:[(0,Me.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",b.charAt(0).toUpperCase()+b.slice(1)]}),b&&e[b]&&(0,Me.jsx)(yt,{children:e[b].map(w=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,isActive:!1,size:"sm",children:(0,Me.jsxs)(E,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Me.jsx)("span",{children:w.label}),w.type==="note"&&(0,Me.jsx)(Ws.PencilLine,{className:"Me-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Me.jsx)(Ee,{iconName:"code-pull-request-draft",className:"Me-2 text-gray-400 !important"})]})})},w.label))})]},b))})})})]})}),t&&!o&&(0,Me.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Table of Contents",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:(0,Me.jsx)(xe,{children:t.map(b=>{var w;return(0,Me.jsxs)(le,{children:[(0,Me.jsx)(De,{asChild:!0,children:(0,Me.jsx)("a",{href:`#${b.url}`,className:"text-xs",children:b.title})}),(w=b.items)!=null&&w.length?(0,Me.jsx)(yt,{children:b.items.map(B=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,isActive:B.isActive,size:"sm",children:(0,Me.jsx)("a",{href:`#${B.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Me.jsx)("span",{children:B.title})})})},B.title))}):null]},b.title)})})})})]})})]}),(0,Me.jsx)(Et,{})]})}var Il=f(require("next/image"));function Gd({title:e,members:t}){return(0,Me.jsx)(ce,{className:"mb-6",children:(0,Me.jsxs)("div",{className:"p-6",children:[(0,Me.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Me.jsx)(Ws.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Me.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:t.map((a,o)=>(0,Me.jsxs)("div",{className:"flex items-center space-Me-4",children:[(0,Me.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Me.jsx)(Il.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Me.jsx)("p",{className:"text-sm text-muted-foreground",children:a.role})]})]},o))})]})})}var Dl=f(require("next/link"));var _d=({links:e})=>(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{children:(0,Me.jsx)(He,{children:"Related"})}),(0,Me.jsx)(ye,{children:(0,Me.jsx)("nav",{className:"flex flex-col space-Me-2",children:e.map((t,a)=>(0,Me.jsxs)(Dl.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Me.jsx)(Ws.ExternalLink,{className:"Me-1 h-3 w-3"})]},a))})})]});var Xi=s("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function ji({pages:e}){let t=(0,fl.useSearchParams)(),a=(0,fl.usePathname)(),{replace:o}=(0,fl.useRouter)(),{totalPages:r,page:i}=e,[l,n]=(0,po.useState)({start:i>3?i-3:1,end:i+2}),c=p=>{p==="left"&&l.start>1?n(g=>({start:g.start-1,end:g.end-1})):p==="right"&&l.end<r&&n(g=>({start:g.start+1,end:g.end+1}))};function d(p){let g=new URLSearchParams(t);p?g.set("page",p):g.delete("page"),o(`${a}?${g.toString()}`)}if(r<=1)return null;let m=[];for(let p=l.start;p<=l.end;p++)m.push(p);return(0,Me.jsx)("div",{className:"mt-12",children:(0,Me.jsxs)("Bo",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(Xi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Me.jsx)(Bo.FaArrowLeft,{})})}),m.map((p,g)=>(0,Me.jsx)("li",{children:(0,Me.jsx)("a",{className:s(Xi,p===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:h=>{h.preventDefault(),d(p.toString())},children:p})},g)),l.end<r&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(Xi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Me.jsx)(Bo.FaArrowRight,{})})})]})})}var Ud=s("transition-colors duration-400 hover:text-primary ease-in-out");function Qa({title:e,links:t}){let a=(0,fl.useSearchParams)(),o=(0,fl.usePathname)(),{replace:r}=(0,fl.useRouter)();function i(l){console.log(l);let n=new URLSearchParams(a);l?n.set("category",l):n.delete("category"),r(`${o}?${n.toString()}`)}return(0,Me.jsx)("div",{className:"space-Me-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{children:(0,Me.jsx)(He,{children:e&&e})}),(0,Me.jsx)(ye,{children:t&&t.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("Bo",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5 Me-2.5 first:Me-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),i(l.href)},children:[(0,Me.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,Me.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,Me.jsx)("a",{className:Ud,children:l.label})]},n))})})})]})})}function Ki({types:e}){let[t,a]=(0,po.useState)(e&&e[0].href),o=(0,fl.useSearchParams)(),r=(0,fl.usePathname)(),{replace:i}=(0,fl.useRouter)();function l(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),a(n),i(`${r}?${c.toString()}`)}return(0,Me.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Me-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Me.jsx)(se,{variant:n.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},c))})}var Hl=f(require("next/image"));var Qi=({links:e,media:t,children:a,richText:o})=>(0,Me.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Me.jsx)("div",{className:"container mb-8 Me-10 relative flex items-end justify-center",children:(0,Me.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||o&&(0,Me.jsx)(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:o,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Me.jsx)("Bo",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(ct,{...r})},i))})]})}),(0,Me.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Me.jsx)($e,{fill:!0,imgClassName:"Me-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(Hl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 po-white dark:from-background/0 dark:po-background"})]})]});var Ji=f(require("next/image"));var Vd=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:i}=e;return(0,Me.jsx)(Ji.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:i||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Me.jsx)("div",{children:(0,Me.jsx)(Ji.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},qi=({links:e,media:t,children:a,richText:o})=>(0,Me.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 Me-10",children:[t&&(0,Me.jsx)(Vd,{media:t}),(0,Me.jsx)("div",{className:"mx-0 min-w-full relative Me-9",children:(0,Me.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Me.jsx)(q,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Zi=({children:e,richText:t})=>(0,Me.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Me.jsx)("div",{className:"container",children:e||t&&(0,Me.jsx)(q,{content:t,enableGutter:!1})})});var jt=f(require("react"));var zl=f(require("next/image")),$d=({post:e})=>{let{categories:t,meta:{image:a}={},populatedAuthors:o,publishedAt:r,title:i}=e;return(0,Me.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Me.jsx)("div",{className:"container Me-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Me.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Me.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,n)=>{if(typeof l=="object"&&l!==null){let{title:c}=l,d=c||"Untitled category",m=n===t.length-1;return(0,Me.jsxs)(jt.default.Fragment,{children:[d,!m&&(0,Me.jsx)(jt.default.Fragment,{children:", \xA0"})]},n)}return null})}),(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Me.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Me.jsx)("div",{className:"flex flex-col gap-4",children:o&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("p",{className:"text-sm",children:"Author"}),o.map((l,n)=>{let{name:c}=l,d=n===o.length-1,m=n===o.length-2;return(0,Me.jsxs)(jt.default.Fragment,{children:[c,m&&o.length>2&&(0,Me.jsx)(jt.default.Fragment,{children:", "}),m&&o.length===2&&(0,Me.jsx)(jt.default.Fragment,{children:" "}),!d&&o.length>1&&(0,Me.jsx)(jt.default.Fragment,{children:"and "})]},n)})]})}),r&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Me.jsx)("time",{dateTime:r,children:el(r)})]})]})]})}),(0,Me.jsxs)("div",{className:"min-h-[80vh] select-none",children:[a&&typeof a!="string"&&(0,Me.jsx)($e,{fill:!0,imgClassName:"-Me-10 object-cover",resource:a}),a&&typeof a=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(zl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:a})}),(0,Me.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-po-t from-background dark:from-black po-transparent"})]})]})};var Wd={highImpact:Qi,lowImpact:Zi,mediumImpact:qi},Xd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=Wd[t];return a?(0,Me.jsx)(a,{...e}):null};var Gl=f(require("next/image")),_l=f(require("react"));function jd({title:e,breadcrumbItems:t,image:a}){return(0,Me.jsxs)("section",{className:"section-padding-primary -Me-10 relative flex min-h-[250px] items-end",children:[(0,Me.jsx)("div",{className:"absolute inset-0 Me-0",children:a&&(0,Me.jsx)(Gl.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 po-background dark:from-background/0 dark:po-background"}),(0,Me.jsx)(re,{children:(0,Me.jsxs)("div",{className:"relative Me-10 flex flex-wrap items-center justify-between gap-Me-20 gap-Me-8 text-accent-900 dark:text-white lg:Me-[40px] pb-5",children:[(0,Me.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Me.jsx)(Yd,{breadcrumbItems:t})]})})]})}var Ol=s("h3 font-secondary");function Yd({breadcrumbItems:e}){return e&&e.length>0?(0,Me.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Me.jsx)("po",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,Me.jsx)(_l.default.Fragment,{children:t.href?(0,Me.jsxs)("li",{className:Ol,children:[(0,Me.jsx)(X,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Me.jsx)("span",{className:"Me-5",children:"/"})]}):(0,Me.jsx)("li",{className:Ol,"aria-current":"page",children:t.label})},a))})}):(0,Me.jsx)(Me.Fragment,{})}var Ae=require("@headlessui/react"),Jo=require("@heroicons/react/24/outline"),Ja=require("@heroicons/react/20/solid");var Kd=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Me.jsx)("a",{href:o,className:"flex items-center gap-Me-1 text-sm font-semibold text-foreground group",children:(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Me-1/2 scale-Me-0 transition-transform duration-300 ease-in-out group-hover:scale-Me-100"})]})}):(0,Me.jsxs)(Ae.Popover,{children:[(0,Me.jsxs)(Ae.PopoverButton,{className:"flex items-center gap-Me-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Me-1/2 scale-Me-0 transition-transform duration-300 ease-in-out group-hover:scale-Me-100"})]}),(0,Me.jsx)(Ja.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Me.jsxs)(Ae.PopoverPanel,{transition:!0,className:"absolute inset-Me-0 top-0 -Me-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Me-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Me.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Me-4 px-6 py-10 lg:px-8 xl:gap-Me-8 Me-50",children:t&&t.map(r=>(0,Me.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Me.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:r.icon&&(0,Me.jsx)(Ul,{icon:r.icon,size:"4x"})}),(0,Me.jsxs)("a",{href:r.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Me.jsx)("span",{className:"absolute inset-0"})]}),(0,Me.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Me.jsx)("div",{className:"bg-gray-50",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"grid grid-cols-3 divide-Me divide-gray-900/5 border-Me border-gray-900/5",children:a.map(r=>(0,Me.jsxs)("a",{href:r.href,className:"flex items-center max-h-12 justify-center gap-Me-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[r.icon&&(0,Me.jsx)(Ul,{icon:r.icon,className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),Ul=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,Me.jsx)(Ee,{...e,size:a});if("src"in e)return(0,Me.jsx)("div",{className:s(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Me.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Ko=Kd;var Qo=["light","dark","green"];function Qd({title:e,logo:t,menuItems:a}){let[o,r]=(0,po.useState)(!1),[i,l]=(0,po.useState)(!1),[n,c]=(0,po.useState)("light"),d=t==null?void 0:t.split(".")[0],m=t==null?void 0:t.split(".")[1],[p,g]=(0,po.useState)(`${d}.${m}`),h=b=>{Qo.includes(b)?g(b==="light"?`${d}.${m}`:`${d}-${b}.${m}`):g(`${d}.${m}`)};(0,po.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";console.log("storedTheme",b),c(b),document.documentElement.setAttribute("class",b),h(b)},[]);let E=()=>{let b=Qo[(Qo.indexOf(n)+1)%Qo.length];c(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b),h(b)};return(0,Me.jsxs)("header",{className:"relative isolate Me-10 bg-background h-14",children:[(0,Me.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Me.jsx)("div",{className:"flex lg:flex-1",children:(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:e}),(0,Me.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Me.jsx)("div",{className:"flex lg:hidden",children:(0,Me.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Jo.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Me.jsx)(Ae.PopoverGroup,{className:"hidden lg:flex lg:gap-Me-12",children:a.map(b=>(0,Me.jsx)(Ko,{...b},b.name))}),(0,Me.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Me.jsx)("button",{onClick:E,className:"p-2 text-gray-700 outline-none",children:n==="dark"?(0,Me.jsx)(Ja.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,Me.jsx)(Ja.MoonIcon,{className:"h-6 w-6"}):(0,Me.jsx)(Ja.SunIcon,{className:"h-6 w-6"})})})]}),(0,Me.jsxs)(Ae.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Me.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Me.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Jo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"mt-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 py-6",children:a.map(b=>(0,Me.jsx)(Jd,{...b},b.name))})})})]})]})]})}function Jd({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Me.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Me.jsx)(Ae.DisclosurePanel,{className:"mt-2 space-Me-2",children:t&&t.map(r=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Wl=f(require("next/image"));var es=f(require("next/image"));function Mt({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Me.jsxs)(X,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,Me.jsx)(es.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Me.jsx)(es.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}function Za({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){let[r,i]=(0,po.useState)(!1),[l,n]=(0,po.useState)("light"),c=["light","dark"];(0,po.useEffect)(()=>{let m=localStorage.getItem("theme")||"light";console.log("storedTheme",m),n(m),document.documentElement.setAttribute("class",m)},[]);let d=()=>{let m=c[(c.indexOf(l)+1)%c.length];n(m),document.documentElement.setAttribute("class",m),localStorage.setItem("theme",m)};return(0,po.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsx)("header",{className:`Me-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:(0,Me.jsx)(re,{className:"px-0",children:(0,Me.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,Me.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Me.jsx)(Mt,{logoDark:a,logoLight:t}),(0,Me.jsx)($l.PopoverGroup,{className:"hidden lg:flex lg:gap-Me-12",children:o&&o.map(m=>(0,Me.jsx)(Ko,{...m},m.name))}),(0,Me.jsx)("div",{className:"flex items-center space-Me-4",children:(0,Me.jsx)("button",{className:"fixed right-4 Me-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:d,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)(Ws.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)(Ws.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ts=["light","dark"];function eo({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,i]=(0,po.useState)(!1),[l,n]=(0,po.useState)(!1),[c,d]=(0,po.useState)(!1),[m,p]=(0,po.useState)("light");(0,po.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,po.useEffect)(()=>{let h=localStorage.getItem("theme")||"light";p(h),document.documentElement.setAttribute("class",h)},[]);let g=()=>{let h=ts[(ts.indexOf(m)+1)%ts.length];p(h),document.documentElement.setAttribute("class",h),localStorage.setItem("theme",h)};return(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsxs)("header",{className:`Me-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:[(0,Me.jsx)("nav",{className:s("backdrop-blur-sm text-white p-0",l&&"hidden"),children:(0,Me.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Me.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Me.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("div",{className:"flex items-center space-Me-4",children:[(0,Me.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"fixed right-4 Me-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Jo.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Me.jsx)("button",{className:"fixed right-16 Me-[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:g,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)(Ws.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)(Ws.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Me.jsxs)(Ae.Dialog,{open:l,onClose:n,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Me.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Jo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"mt-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 px-2 py-6",children:a&&a.map(h=>(0,Me.jsx)(qd,{...h},h.name))})})})]})]})]})})}function qd({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Me.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Me.jsx)(Ae.DisclosurePanel,{className:"mt-2 space-Me-2",children:t&&t.map(r=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}function Zd({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:i}){let[l,n]=(0,po.useState)(!1),[c,d]=(0,po.useState)(!1),m=()=>{let g=document.getElementById("next-section");g&&g.scrollIntoView({behavior:"smooth"})};return(0,po.useEffect)(()=>{let g=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,Me.jsxs)("div",{className:"relative h-screen",children:[(0,Me.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,Me.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Me.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Me.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&!c&&(0,Me.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Me-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{d(!c)},children:(0,Me.jsx)(Ws.Menu,{className:"w-6 h-6 text-white"})}),(0,Me.jsxs)("div",{className:"fixed top-0 left-0 right-0 Me-50",children:[(0,Me.jsx)(Za,{isMenuOpen:l||c,logoLight:t,logoDark:a,menuItems:o}),(0,Me.jsx)(eo,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]}),(0,Me.jsxs)("div",{className:"absolute inset-0 h-full Me-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Me.jsx)(Wl.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("absolute top-2.5 h-auto w-auto mt-8 hidden lg:block",c&&"lg:hidden")}),(0,Me.jsxs)("div",{className:"absolute top-1/2vv h-full flex flex-col px-4 items-center justify-center",children:[(0,Me.jsx)("h1",{className:"text-6xl font-bold Me-auto mb-12",children:r&&r}),(0,Me.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,Me.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,Me.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:m,children:(0,Me.jsx)(Ws.ChevronDown,{size:64})})})]})]})}var Xl=f(require("next/image"));var em=s("text-base/[1.75] transition-transform duration-350 hover:-translate-Me-1 block px-4"),as=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),os=s("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),rs=s("flex items-center gap-5"),ar=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function tm({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:i,columnTwo:l,columnThree:n,footerBottom:c}=t;return(0,Me.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Me.jsx)("div",{className:"py-16 md:py-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)(Mt,{logoLight:a,logoDark:o}),(0,Me.jsx)("p",{className:"mb-7 mt-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Me.jsx)("nav",{"aria-label":"social links",children:(0,Me.jsx)("Bo",{className:"inline-flex min-h-[50px] items-center divide-Me rounded-5 bg-accent text-white",children:r.socialLinks.map((d,m)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{"aria-label":d.href,className:em,href:d.href,openNewTab:!0,children:(0,Me.jsx)("span",{children:d.icon})})},m))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Me.jsx)("h3",{className:as,children:i.title}),i.links&&i.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("Bo",{className:"grid gap-2",children:i.links.map(d=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Me.jsx)(Bo.FaChevronRight,{})}),(0,Me.jsx)(X,{href:d.href,openNewTab:d.openNewTab,className:ar,children:d.label})]},d.label))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Me.jsx)("h3",{className:as,children:l.title}),(0,Me.jsxs)("Bo",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Me.jsxs)("li",{className:rs,children:[(0,Me.jsx)("span",{className:os,children:(0,Me.jsx)(Bo.FaPaperPlane,{})}),(0,Me.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Me.jsxs)("li",{className:rs,children:[(0,Me.jsx)("span",{className:os,children:(0,Me.jsx)(Bo.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Me.jsx)("div",{className:"grid gap-1",children:l.mails.map((d,m)=>(0,Me.jsx)("a",{href:`mailto:${d}`,className:ar,children:d},m))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Me.jsxs)("li",{className:rs,children:[(0,Me.jsx)("span",{className:os,children:(0,Me.jsx)(Bo.FaPhone,{})}),(0,Me.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((d,m)=>(0,Me.jsx)("a",{href:`tel:${d.split(" ").join("")}`,className:ar,children:d},m))})]})]})]}),n&&(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Me.jsx)("h3",{className:as,children:n.title}),n.blogs&&n.blogs.length>0&&(0,Me.jsx)("div",{className:"grid gap-6",children:n.blogs.map((d,m)=>(0,Me.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Me.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Me.jsx)(Xl.default,{...d.image,alt:d.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Me.jsx)("span",{className:"text-accent",children:(0,Me.jsx)(Bo.FaCalendarDays,{})}),(0,Me.jsx)("span",{children:tl(d.date)})]}),(0,Me.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Me.jsx)(X,{href:d.slug,className:"transition-colors duration-300 hover:text-accent",children:d.title})})]})]},m))})]})]})})}),(0,Me.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Me-8 gap-Me-4 md:gap-Me-10",children:[(0,Me.jsx)("p",{children:c.copyrightText}),c.links&&c.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Me.jsx)("Bo",{className:"flex flex-wrap items-center gap-Me-4 md:gap-Me-7",children:c.links.map(d=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{"aria-label":`po po page ${d.label}`,href:d.href,openNewTab:d.openNewTab,className:ar,children:d.label})},d.label))})})]})})})]})}function am({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){return(0,Me.jsxs)("div",{className:"fixed top-0 left-0 right-0 Me-50",children:[(0,Me.jsx)(Za,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}),(0,Me.jsx)(eo,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o})]})}var jl=require("next-themes");function om({children:e,...t}){return(0,Me.jsx)(jl.ThemeProvider,{...t,children:e})}function rm({services:e,className:t}){return(0,Me.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,Me.jsx)(re,{className:"py-8",children:e&&e.length>0&&(0,Me.jsx)("div",{className:"flex flex-wrap justify-center gap-Me-8",children:e.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Me.jsx)(Ri,{...a})},o))})})})}function im({sectionHeading:e,cards:t}){return(0,Me.jsx)("section",{className:"section-padding-primary !Me-0",children:(0,Me.jsxs)(re,{children:[(0,Me.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Me.jsx)(Tt,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Me.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],o),className:"py-2",children:(0,Me.jsx)(Si,{...a})},o))})]})})}var ha=f(require("next/image"));function sm(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Me.jsx)("section",{id:"about-section",className:s("section-padding-primary",e.className||""),children:(0,Me.jsx)(re,{children:(0,Me.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Me.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Me.jsx)(Tt,{...a}),o&&o.length>0&&(0,Me.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:o.map((i,l)=>(0,Me.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,Me.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,Me.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},l))}),r&&(0,Me.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:r})]}),t&&(0,Me.jsx)("div",{className:"mx-auto text-center",children:(0,Me.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative Me-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -Me-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),(0,Me.jsx)("div",{className:"relative Me-[4] overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,Me.jsx)(ha.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] Me-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Me.jsx)("div",{className:"flex overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Me.jsx)("div",{className:"Me-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Me.jsx)("div",{className:"overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Me.jsx)("div",{className:"absolute left-1/2 top-1/2 Me-[4] -translate-Me-1/2 -translate-Me-1/2 overflow-hidden",children:(0,Me.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Me.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Kl=f(require("next/image"));function Ql({blogs:e}){return(0,$.jsx)("div",{children:e&&e.length>0&&(0,$.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,a)=>(0,$.jsx)(nm,{post:t,id:a},a))})})}var nm=({post:e,id:t})=>{let{slug:a,image:o,authors:r,categories:i,title:l,description:n,publishedAt:c}=e;return(0,$.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,$.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,$.jsx)(Kl.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,$.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,$.jsxs)("div",{children:[(0,$.jsxs)("div",{className:"flex items-center gap-Me-4 text-xs",children:[(0,$.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Ho(e.publishedAt)}),e.categories&&e.categories.map((d,m)=>(0,$.jsx)("a",{href:`#${d}`,className:"relative Me-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:d},m))]}),(0,$.jsxs)("div",{className:"group relative max-w-xl",children:[(0,$.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,$.jsxs)("a",{href:e.slug,children:[(0,$.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,$.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,$.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-Me-2 border-gray-200 dark:border-gray-700 Me-6",children:r&&r.map((d,m)=>(0,$.jsxs)("div",{className:"relative flex items-center gap-Me-4",children:[d.image?(0,$.jsx)("img",{alt:d.image.alt,src:d.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,$.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,$.jsx)("div",{className:"text-sm/6",children:(0,$.jsxs)("p",{className:"text-foreground pr-6",children:[(0,$.jsx)("span",{className:"absolute inset-0"}),d.name]})})]},m))})]})]},t)};function lm({blogs:e,pages:t,categories:a,types:o}){return(0,Me.jsx)("section",{children:(0,Me.jsx)(re,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsxs)("div",{children:[o&&(0,Me.jsx)(Ki,{types:o}),(0,Me.jsx)(Ql,{blogs:e}),(0,Me.jsx)(ji,{pages:t})]}),(0,Me.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Me.jsx)("div",{className:"lg:-mt-24 w-full",children:a&&a.links&&(0,Me.jsx)(Qa,{links:a.links,title:a.title})})})]})})})}var ac=f(require("next/image"));var oo="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function or({className:e}){return s("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function cm({className:e,...t}){return(0,Me.jsx)("input",{...t,className:or({className:e})})}function rr({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(cm,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-Me-1/2 text-accent",children:e})]})}function dm({className:e,...t}){return(0,Me.jsx)("textarea",{...t,className:s(or({}),"resize-none md:min-h-[130px]",e)})}function Jl({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(dm,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Zl=require("formik"),Kt=f(require("yup"));async function ql(e){let{name:t,email:a,subject:o,message:r}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Me Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};console.log(JSON.stringify(l));try{let n=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var is=require("sonner"),Ye={tooShort:"Must Me at least ${min} characters",tooLong:"Must Me at most ${max} characters",required:"This field is required",email:"Invalid email format"},mm=Kt.object().shape({name:Kt.string().min(2,Ye.tooShort).max(50,Ye.tooLong).required(Ye.required),email:Kt.string().email(Ye.email).required(Ye.required),subject:Kt.string().min(2,Ye.tooShort).max(50,Ye.tooLong).required(Ye.required),message:Kt.string().min(2,Ye.tooShort).max(300,Ye.tooLong).required(Ye.required)}),ir=s("!pr-[44px]"),sr=s("!border-red-600 border"),nr=s("sr-only");function tc(){return(0,Me.jsx)(Zl.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:mm,onSubmit:async(e,{resetForm:t})=>{let a=await ql(e);a.data===null?is.toast.error(a.message):(is.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:i,handleSubmit:l})=>(0,Me.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 Me-2 lg:grid-cols-2",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)(rr,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(Bo.FaUser,{}),className:s(ir,e.name&&t.name&&sr)}),e.name&&t.name&&(0,Me.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:nr,children:e.name})]}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)(rr,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(pm,{}),className:s(ir,e.email&&t.email&&sr)}),e.email&&t.email&&(0,Me.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:nr,children:e.email})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(rr,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:i,className:s(ir,e.subject&&t.subject&&sr)}),e.subject&&t.subject&&(0,Me.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:nr,children:e.subject})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(Jl,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:i,icon:(0,Me.jsx)(um,{}),className:s(ir,e.message&&t.message&&sr)}),e.message&&t.message&&(0,Me.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:nr,children:e.message})]}),(0,Me.jsx)("div",{className:"lg:col-span-2",children:(0,Me.jsx)(se,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:i,children:(0,Me.jsx)("span",{children:"SEND"})})})]})})}function pm(){return(0,Me.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function um(){return(0,Me.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function gm(e){let{sectionHeading:t,image:a}=e;return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"mx-auto max-w-2xl space-Me-16 divide-Me divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Me.jsxs)("div",{className:"grid grid-cols-1 gap-10 Me-16 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Me.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"po have multiple locations across the UK where Me are based. These are our key locations."})]}),(0,Me.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((o,r)=>{var i;return(0,Me.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Me.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,Me.jsxs)("address",{className:"mt-3 space-Me-1 text-sm/6 not-italic text-foreground",children:[(i=o.location.split(","))==null?void 0:i.map((l,n)=>(0,Me.jsx)("p",{children:l},n))," ",o.mails&&(0,Me.jsxs)("p",{className:"flex items-center space-Me-2",children:[(0,Me.jsx)(Bo.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Me.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,Me.jsxs)("p",{className:"flex items-center space-Me-2",children:[(0,Me.jsx)(Bo.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})}),(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsxs)("div",{className:"relative py-[60px]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 Me-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Me.jsx)(ac.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:oo})}),(0,Me.jsx)(re,{children:(0,Me.jsx)("div",{className:"Me-auto md:w-1/2",children:(0,Me.jsxs)("div",{className:"relative Me-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Me.jsx)("div",{className:"mb-30px",children:(0,Me.jsx)(Tt,{...t,invert:!0})}),(0,Me.jsx)(tc,{})]})})})]})})]})}var ss=f(require("next/image"));function fm({image:e,name:t,about:a,socialLinks:o}){return(0,Me.jsxs)("div",{className:"space-Me-5 rounded-5 bg-accent-100 p-8 text-center dark:bg-accent-700 lg:p-10",children:[e&&e.src&&(0,Me.jsx)(ss.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:oo,className:"mx-auto rounded-full object-cover"}),(0,Me.jsx)("h3",{className:"font-secondary text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,Me.jsx)("p",{children:a}),o&&o.length>0&&(0,Me.jsx)("nav",{"aria-label":"social links",children:(0,Me.jsx)("Bo",{className:"inline-flex items-center divide-Me divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((r,i)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{href:r.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Me-1 hover:text-accents",children:(0,Me.jsx)("span",{children:r.icon})})},i))})})]})}var oc=s("transition-colors duration-400 hover:text-primary ease-in-out inline");function bm({page:e,categoryList:t}){var m;if(!e)return(0,fl.notFound)();let{meta:a,populatedAuthors:o,authors:r,categories:i,content:l,title:n}=e,c={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((m=o==null?void 0:o[0])==null?void 0:m.name)||"",category:i,commentCount:0,title:n,description:(a==null?void 0:a.description)||""},d=r==null?void 0:r.map(p=>{var g,h;return{name:p.name||"",about:"",image:{src:p.profilePicture&&((h=(g=p.profilePicture.sizes)==null?void 0:g.small)==null?void 0:h.url)||"/assets/images/blog/author-1.png",alt:p.name||"blog author"},socialLinks:[]}});return(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)(re,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsx)("div",{children:(0,Me.jsxs)("div",{className:"[&_p+Me]:mt-4",children:[c.image&&c.image.src&&(0,Me.jsx)(ss.default,{src:c.image.src,alt:c.image.alt||n,width:850,height:538,placeholder:"blur",blurDataURL:oo,sizes:"100vw"}),(0,Me.jsxs)("Bo",{"aria-label":"blog meta list",className:"mb-4 mt-6 flex flex-wrap items-center gap-Me-[1.125rem] gap-Me-2 lg:mb-5 lg:mt-30px",children:[(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm text-accent",children:(0,Me.jsx)(Bo.FaRegUser,{})}),(0,Me.jsx)("span",{children:(0,Me.jsx)(X,{href:"#",className:oc,children:c.authorName})})]}),(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm text-accent",children:c.category&&c.category.length>0&&(0,Me.jsx)(Bo.FaRegFolderOpen,{})}),c.category&&c.category.map((p,g)=>(0,Me.jsx)(X,{href:"#",className:oc,children:p.title},g))]})]}),(0,Me.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Me.jsx)(q,{content:l,enableGutter:!1})]})}),(0,Me.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[d&&d.map((p,g)=>(0,Me.jsx)(fm,{...p},g)),t&&t.links&&(0,Me.jsx)("div",{className:"rounded-5 px-8 Me-0 lg:px-10",children:(0,Me.jsx)(Qa,{links:t.links,title:t.title})})]})]})})})}0&&(module.exports={AboutSection,Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogDetail,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,Container,ContentBlock,CopyButton,CustomLink,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,ThemeProvider,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});