cortex-react-components 1.34.0 → 1.34.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 (109) hide show
  1. package/dist/{chunk-XTFOVKFL.mjs → chunk-3IHGGPRN.mjs} +1 -1
  2. package/dist/{chunk-Y3ZD3LIO.mjs → chunk-3PC5BLK7.mjs} +1 -1
  3. package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
  4. package/dist/{chunk-7QPNALSX.mjs → chunk-3ZQYE7M3.mjs} +1 -1
  5. package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
  6. package/dist/{chunk-FHE7LU6G.mjs → chunk-6ZXYKK6J.mjs} +1 -1
  7. package/dist/{chunk-VE7ZJ62Y.mjs → chunk-A2QVFCP5.mjs} +1 -1
  8. package/dist/chunk-AO2FTKDA.mjs +1 -0
  9. package/dist/{chunk-4BEPYHEG.mjs → chunk-BBLJ3L2P.mjs} +1 -1
  10. package/dist/{chunk-KAJDV47B.mjs → chunk-DESYC5BB.mjs} +1 -1
  11. package/dist/{chunk-KKDY7QXC.mjs → chunk-FOMIQYMA.mjs} +1 -1
  12. package/dist/{chunk-AYQM572B.mjs → chunk-GFTFZ7JY.mjs} +1 -1
  13. package/dist/{chunk-V7YLLLES.mjs → chunk-GOMLTG5W.mjs} +1 -1
  14. package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
  15. package/dist/{chunk-ITOI4U3L.mjs → chunk-K6CEB2MJ.mjs} +1 -1
  16. package/dist/{chunk-YOIWC7S2.mjs → chunk-LHFZLDTD.mjs} +1 -1
  17. package/dist/{chunk-NW7VCO7D.mjs → chunk-LXAGAIOE.mjs} +1 -1
  18. package/dist/{chunk-M3MMOJFM.mjs → chunk-MZ45XGZG.mjs} +1 -1
  19. package/dist/{chunk-WY4P6RJP.mjs → chunk-NZHUMOVD.mjs} +1 -1
  20. package/dist/{chunk-ZFNSRYYX.mjs → chunk-O2DBG3NV.mjs} +1 -1
  21. package/dist/{chunk-LHFBM5DP.mjs → chunk-OBJPMP7L.mjs} +1 -1
  22. package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
  23. package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
  24. package/dist/{chunk-K5QOQSAS.mjs → chunk-OVAOTY36.mjs} +1 -1
  25. package/dist/{chunk-MEBJNGL3.mjs → chunk-OZ3WPHBH.mjs} +1 -1
  26. package/dist/{chunk-IIHBXLZQ.mjs → chunk-PIHQ5WLE.mjs} +1 -1
  27. package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
  28. package/dist/{chunk-WSXDK4KT.mjs → chunk-S7CP4YF5.mjs} +1 -1
  29. package/dist/{chunk-MBCAGZ76.mjs → chunk-ULKXH4YN.mjs} +1 -1
  30. package/dist/{chunk-IPG2W7EV.mjs → chunk-VP7B5S7N.mjs} +1 -1
  31. package/dist/{chunk-77MZDWUP.mjs → chunk-ZE5A5R73.mjs} +1 -1
  32. package/dist/{chunk-NYGYSEK6.mjs → chunk-ZNC5NNDY.mjs} +1 -1
  33. package/dist/components/Blocks/Banner.mjs +1 -1
  34. package/dist/components/Blocks/CallToAction.mjs +1 -1
  35. package/dist/components/Blocks/Content.mjs +1 -1
  36. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  37. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  38. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  39. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  40. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  41. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  42. package/dist/components/Blocks/index.mjs +1 -1
  43. package/dist/components/Cards/index.mjs +1 -1
  44. package/dist/components/HeaderFooter/Header.mjs +1 -1
  45. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  46. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  47. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  48. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  49. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  50. package/dist/components/HeaderFooter/index.mjs +1 -1
  51. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  52. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  53. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  54. package/dist/components/Heros/RenderHero.mjs +1 -1
  55. package/dist/components/Heros/index.mjs +1 -1
  56. package/dist/components/Layouts/BlogList.mjs +1 -1
  57. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  58. package/dist/components/Layouts/index.mjs +1 -1
  59. package/dist/components/Menus/index.mjs +1 -1
  60. package/dist/components/Payload/Card/index.mjs +1 -1
  61. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  62. package/dist/components/Payload/Media/index.mjs +1 -1
  63. package/dist/components/Payload/RichText/index.mjs +1 -1
  64. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  65. package/dist/components/Payload/RichText.stories.mjs +1 -1
  66. package/dist/components/Payload/index.mjs +1 -1
  67. package/dist/components/index.mjs +1 -1
  68. package/dist/index.d.ts +1 -0
  69. package/dist/index.js +3 -3
  70. package/dist/index.mjs +1 -1
  71. package/dist/metafile-cjs.json +1 -1
  72. package/dist/metafile-esm.json +1 -1
  73. package/dist/pages/Blog.js +1 -1
  74. package/dist/pages/Blog.mjs +1 -1
  75. package/dist/pages/Blog.stories.js +1 -1
  76. package/dist/pages/Blog.stories.mjs +1 -1
  77. package/dist/pages/Documentation.mjs +1 -1
  78. package/dist/pages/Documentation.stories.mjs +1 -1
  79. package/dist/pages/IndexPage.mjs +1 -1
  80. package/dist/pages/IndexPage.stories.mjs +1 -1
  81. package/dist/pages/Intranet.mjs +1 -1
  82. package/dist/pages/Intranet.stories.mjs +1 -1
  83. package/dist/pages/LandingPage.mjs +1 -1
  84. package/dist/pages/LandingPage.stories.mjs +1 -1
  85. package/dist/pages/Page.mjs +1 -1
  86. package/dist/pages/Page.stories.mjs +1 -1
  87. package/dist/pages/Website.js +1 -1
  88. package/dist/pages/Website.mjs +1 -1
  89. package/dist/pages/Website.stories.js +1 -1
  90. package/dist/pages/Website.stories.mjs +1 -1
  91. package/dist/sections/AboutSection.mjs +1 -1
  92. package/dist/sections/AboutSection.stories.mjs +1 -1
  93. package/dist/sections/BlogDetail.js +1 -1
  94. package/dist/sections/BlogDetail.mjs +1 -1
  95. package/dist/sections/BlogDetail.stories.js +1 -1
  96. package/dist/sections/BlogDetail.stories.mjs +1 -1
  97. package/dist/sections/BlogListSection.mjs +1 -1
  98. package/dist/sections/BlogListSection.stories.mjs +1 -1
  99. package/dist/sections/ContactSection.mjs +1 -1
  100. package/dist/sections/ContactSection.stories.mjs +1 -1
  101. package/dist/sections/MainPageSection.js +1 -1
  102. package/dist/sections/MainPageSection.mjs +1 -1
  103. package/dist/sections/PricingSection.mjs +1 -1
  104. package/dist/sections/PricingSection.stories.mjs +1 -1
  105. package/dist/sections/form/index.mjs +1 -1
  106. package/dist/sections/index.js +1 -1
  107. package/dist/sections/index.mjs +1 -1
  108. package/package.json +1 -1
  109. package/dist/chunk-HU2USG4O.mjs +0 -1
package/dist/index.js CHANGED
@@ -3,11 +3,11 @@
3
3
  "use strict";
4
4
  'use server'
5
5
 
6
- "use strict";var mc=Object.create;var co=Object.defineProperty;var pc=Object.getOwnPropertyDescriptor;var uc=Object.getOwnPropertyNames;var fc=Object.getPrototypeOf,gc=Object.prototype.hasOwnProperty;var bc=(e,t)=>{for(var a in t)co(e,a,{get:t[a],enumerable:!0})},gs=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of uc(t))!gc.call(e,r)&&r!==a&&co(e,r,{get:()=>t[r],enumerable:!(o=pc(t,r))||o.enumerable});return e};var b=(e,t,a)=>(a=e!=null?mc(fc(e)):{},gs(t||!e||!e.__esModule?co(a,"default",{value:e,enumerable:!0}):a,e)),vc=e=>gs(co({},"__esModule",{value:!0}),e);var Nm={};bc(Nm,{AboutSection:()=>dm,Alert:()=>xi,AlertDescription:()=>wi,AlertTitle:()=>yi,Avatar:()=>Va,AvatarFallback:()=>Wa,AvatarImage:()=>$a,Badge:()=>sa,BannerBlock:()=>Ti,BlogCard:()=>bl,BlogDetail:()=>ym,BlogList:()=>wd,BlogListSection:()=>pm,BrandLogo:()=>It,Breadcrumb:()=>hr,BreadcrumbEllipsis:()=>Cr,BreadcrumbItem:()=>yr,BreadcrumbLink:()=>wr,BreadcrumbList:()=>xr,BreadcrumbPage:()=>Nr,BreadcrumbSeparator:()=>Pr,Button:()=>j,CMSLink:()=>ct,CallToActionBlock:()=>Ya,Card:()=>Ka,Categories:()=>qa,Checkbox:()=>Sn,CodeBlock:()=>Di,Collapsible:()=>at,CollapsibleContent:()=>xt,CollapsibleTrigger:()=>ht,CollectionArchive:()=>Pd,Command:()=>To,CommandDialog:()=>yn,CommandEmpty:()=>fi,CommandGroup:()=>gi,CommandInput:()=>pi,CommandItem:()=>vi,CommandList:()=>ui,CommandSeparator:()=>bi,CommandShortcut:()=>hi,ContactSection:()=>hm,Container:()=>le,ContentBlock:()=>Vi,CopyButton:()=>Mi,CustomLink:()=>oe,CustomerCard:()=>On,Dialog:()=>ia,DialogClose:()=>So,DialogContent:()=>Ft,DialogDescription:()=>mi,DialogFooter:()=>di,DialogHeader:()=>_a,DialogOverlay:()=>ko,DialogPortal:()=>ci,DialogTitle:()=>Ua,DialogTrigger:()=>hn,DropdownMenu:()=>Ss,DropdownMenuCheckboxItem:()=>Ar,DropdownMenuContent:()=>kr,DropdownMenuGroup:()=>Ts,DropdownMenuItem:()=>Tr,DropdownMenuLabel:()=>Ir,DropdownMenuPortal:()=>As,DropdownMenuRadioGroup:()=>Is,DropdownMenuRadioItem:()=>Mr,DropdownMenuSeparator:()=>Dr,DropdownMenuShortcut:()=>Lr,DropdownMenuSub:()=>Ms,DropdownMenuSubContent:()=>Sr,DropdownMenuSubTrigger:()=>Rr,DropdownMenuTrigger:()=>ks,DynamicIcon:()=>He,EventCard:()=>Gn,FeatureCard:()=>Hn,FeatureGrid:()=>Yn,FeaturesBlock:()=>$i,Filter:()=>qi,Footer:()=>im,Header:()=>sm,HeaderDesktop:()=>to,HeaderMobile:()=>ao,HeadingImage:()=>Fd,HighImpactHero:()=>Ji,HoverCard:()=>fn,HoverCardContent:()=>li,HoverCardTrigger:()=>gn,Image:()=>Wn,ImageBlock:()=>Od,InfoTile:()=>Md,Input:()=>Ra,Insight:()=>Ad,Label:()=>ni,Logo:()=>Cd,LowImpactHero:()=>ts,MOTD:()=>Dd,MainPageSection:()=>wm,Media:()=>mt,MediaBlock:()=>la,MediumImpactHero:()=>es,NewsGrid:()=>el,OrgChart:()=>Bd,PageRange:()=>kd,Pagination:()=>Ki,PayloadPagination:()=>Td,Popover:()=>nn,PopoverAnchor:()=>cn,PopoverContent:()=>ii,PopoverTrigger:()=>ln,PostHero:()=>Yd,PricingCard:()=>ki,PricingSection:()=>cm,ProjectCard:()=>$n,ProjectTeam:()=>Xd,ProposalSummary:()=>Hd,RelatedContent:()=>ji,RelatedPosts:()=>_d,RenderBlocks:()=>Gd,RenderHero:()=>Qd,RichText:()=>K,ScrollArea:()=>oi,ScrollBar:()=>Ro,SectionHero:()=>qd,Select:()=>cd,SelectContent:()=>Tn,SelectGroup:()=>dd,SelectItem:()=>Mn,SelectLabel:()=>An,SelectScrollDownButton:()=>Ci,SelectScrollUpButton:()=>Pi,SelectSeparator:()=>In,SelectTrigger:()=>kn,SelectValue:()=>md,Separator:()=>Sa,ServiceCard:()=>Si,ServiceSection:()=>lm,Sheet:()=>po,SheetClose:()=>Os,SheetContent:()=>Ta,SheetDescription:()=>Or,SheetFooter:()=>zr,SheetHeader:()=>Hr,SheetOverlay:()=>uo,SheetPortal:()=>Br,SheetTitle:()=>Fr,SheetTrigger:()=>Fs,Sidebar:()=>Dt,SidebarContent:()=>yt,SidebarFooter:()=>Et,SidebarGroup:()=>Le,SidebarGroupAction:()=>Xr,SidebarGroupContent:()=>_e,SidebarGroupLabel:()=>rt,SidebarHeader:()=>Lt,SidebarInput:()=>Wr,SidebarInset:()=>$r,SidebarLeft:()=>Ud,SidebarMenu:()=>Ce,SidebarMenuAction:()=>Da,SidebarMenuBadge:()=>jr,SidebarMenuButton:()=>Ee,SidebarMenuItem:()=>ue,SidebarMenuSkeleton:()=>Yr,SidebarMenuSub:()=>wt,SidebarMenuSubButton:()=>Pt,SidebarMenuSubItem:()=>Nt,SidebarProvider:()=>_r,SidebarRail:()=>Vr,SidebarRight:()=>Wd,SidebarSeparator:()=>Ia,SidebarTrigger:()=>Ur,SimpleHeader:()=>em,Skeleton:()=>q,TextAndImages:()=>tl,Textarea:()=>Ln,ThemeProvider:()=>nm,Toast:()=>Ba,ToastAction:()=>qr,ToastClose:()=>Ha,ToastDescription:()=>Fa,ToastProvider:()=>Po,ToastTitle:()=>za,ToastViewport:()=>Ea,Toaster:()=>en,Toggle:()=>Zr,ToggleGroup:()=>ei,ToggleGroupItem:()=>ti,Tooltip:()=>vo,TooltipContent:()=>Ma,TooltipProvider:()=>bo,TooltipTrigger:()=>ho,VerticalSlider:()=>qn,VideoHeader:()=>om,WhyUs:()=>zd,badgeVariants:()=>Ni,buttonVariants:()=>Aa,reducer:()=>Qs,toast:()=>qs,toggleVariants:()=>Oa,useIsMobile:()=>go,useSidebar:()=>oa,useToast:()=>No});module.exports=vc(Nm);var Zt=b(require("react")),mo=require("@radix-ui/react-icons"),Rs=require("@radix-ui/react-slot");var Cs=require("clsx");var vr="-",hc=e=>{let t=yc(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{let l=n.split(vr);return l[0]===""&&l.length!==1&&l.shift(),hs(l,t)||xc(n)},getConflictingClassGroupIds:(n,l)=>{let d=a[n]||[];return l&&o[n]?[...d,...o[n]]:d}}},hs=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?hs(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let i=e.join(vr);return(n=t.validators.find(({validator:l})=>l(i)))==null?void 0:n.classGroupId},bs=/^\[(.+)\]$/,xc=e=>{if(bs.test(e)){let t=bs.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},yc=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return Nc(Object.entries(e.classGroups),a).forEach(([i,n])=>{br(n,o,i,t)}),o},br=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let i=r===""?t:vs(t,r);i.classGroupId=a;return}if(typeof r=="function"){if(wc(r)){br(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([i,n])=>{br(n,vs(t,i),a,o)})})},vs=(e,t)=>{let a=e;return t.split(vr).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},wc=e=>e.isThemeGetter,Nc=(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(([n,l])=>[t+n,l])):i);return[a,r]}):e,Pc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(i,n)=>{a.set(i,n),t++,t>e&&(t=0,o=a,a=new Map)};return{get(i){let n=a.get(i);if(n!==void 0)return n;if((n=o.get(i))!==void 0)return r(i,n),n},set(i,n){a.has(i)?a.set(i,n):r(i,n)}}},xs="!",Cc=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],i=t.length,n=l=>{let d=[],c=0,p=0,u;for(let w=0;w<l.length;w++){let M=l[w];if(c===0){if(M===r&&(o||l.slice(w,w+i)===t)){d.push(l.slice(p,w)),p=w+i;continue}if(M==="/"){u=w;continue}}M==="["?c++:M==="]"&&c--}let m=d.length===0?l:l.substring(p),v=m.startsWith(xs),N=v?m.substring(1):m,f=u&&u>p?u-p:void 0;return{modifiers:d,hasImportantModifier:v,baseClassName:N,maybePostfixModifierPosition:f}};return a?l=>a({className:l,parseClassName:n}):n},Rc=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},Sc=e=>({cache:Pc(e.cacheSize),parseClassName:Cc(e),...hc(e)}),kc=/\s+/,Tc=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,i=[],n=e.trim().split(kc),l="";for(let d=n.length-1;d>=0;d-=1){let c=n[d],{modifiers:p,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:v}=a(c),N=!!v,f=o(N?m.substring(0,v):m);if(!f){if(!N){l=c+(l.length>0?" "+l:l);continue}if(f=o(m),!f){l=c+(l.length>0?" "+l:l);continue}N=!1}let w=Rc(p).join(":"),M=u?w+xs:w,L=M+f;if(i.includes(L))continue;i.push(L);let he=r(f,N);for(let Ze=0;Ze<he.length;++Ze){let Qt=he[Ze];i.push(M+Qt)}l=c+(l.length>0?" "+l:l)}return l};function Ac(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=ys(t))&&(o&&(o+=" "),o+=a);return o}var ys=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=ys(e[o]))&&(a&&(a+=" "),a+=t);return a};function Mc(e,...t){let a,o,r,i=n;function n(d){let c=t.reduce((p,u)=>u(p),e());return a=Sc(c),o=a.cache.get,r=a.cache.set,i=l,l(d)}function l(d){let c=o(d);if(c)return c;let p=Tc(d,a);return r(d,p),p}return function(){return i(Ac.apply(null,arguments))}}var V=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},ws=/^\[(?:([a-De-]+):)?(.+)\]$/i,Ic=/^\d+\/\d+$/,Dc=new Set(["px","full","screen"]),Lc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ec=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|De|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Bc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Hc=/^(inset_)?-?((\d+)?\.?(\d+)[a-De]+|0)De-?((\d+)?\.?(\d+)[a-De]+|0)/,zc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tt=e=>qt(e)||Dc.has(e)||Ic.test(e),bt=e=>Jt(e,"length",Wc),qt=e=>!!e&&!Number.isNaN(Number(e)),gr=e=>Jt(e,"number",qt),Pa=e=>!!e&&Number.isInteger(Number(e)),Fc=e=>e.endsWith("%")&&qt(e.slice(0,-1)),P=e=>ws.test(e),vt=e=>Lc.test(e),Oc=new Set(["length","size","percentage"]),Gc=e=>Jt(e,Oc,Ns),_c=e=>Jt(e,"position",Ns),Uc=new Set(["image","url"]),Vc=e=>Jt(e,Uc,jc),$c=e=>Jt(e,"",Xc),Ca=()=>!0,Jt=(e,t,a)=>{let o=ws.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Wc=e=>Ec.test(e)&&!Bc.test(e),Ns=()=>!1,Xc=e=>Hc.test(e),jc=e=>zc.test(e);var Yc=()=>{let e=V("colors"),t=V("spacing"),a=V("blur"),o=V("brightness"),r=V("borderColor"),i=V("borderRadius"),n=V("borderSpacing"),l=V("borderWidth"),d=V("contrast"),c=V("grayscale"),p=V("hueRotate"),u=V("invert"),m=V("gap"),v=V("gradientColorStops"),N=V("gradientColorStopPositions"),f=V("inset"),w=V("margin"),M=V("opacity"),L=V("padding"),he=V("saturate"),Ze=V("scale"),Qt=V("sepia"),so=V("skew"),cs=V("space"),ds=V("translate"),mr=()=>["auto","contain","none"],pr=()=>["auto","hidden","clip","visible","scroll"],ur=()=>["auto",P,t],W=()=>[P,t],ms=()=>["",tt,bt],no=()=>["auto",qt,P],ps=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],lo=()=>["solid","dashed","dotted","double","none"],us=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fr=()=>["start","end","center","between","around","evenly","stretch"],Na=()=>["","0",P],fs=()=>["auto","avoid","all","avoid-page","page","left","right","column"],et=()=>[qt,P];return{cacheSize:500,separator:":",theme:{colors:[Ca],spacing:[tt,bt],blur:["none","",vt,P],brightness:et(),borderColor:[e],borderRadius:["none","","full",vt,P],borderSpacing:W(),borderWidth:ms(),contrast:et(),grayscale:Na(),hueRotate:et(),invert:Na(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[Fc,bt],inset:ur(),margin:ur(),opacity:et(),padding:W(),saturate:et(),scale:et(),sepia:Na(),skew:et(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",P]}],container:["container"],columns:[{columns:[vt]}],"break-after":[{"break-after":fs()}],"break-before":[{"break-before":fs()}],"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:[...ps(),P]}],overflow:[{overflow:pr()}],"overflow-De":[{"overflow-De":pr()}],"overflow-De":[{"overflow-De":pr()}],overscroll:[{overscroll:mr()}],"overscroll-De":[{"overscroll-De":mr()}],"overscroll-De":[{"overscroll-De":mr()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-De":[{"inset-De":[f]}],"inset-De":[{"inset-De":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],De:[{De:["auto",Pa,P]}],basis:[{basis:ur()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",P]}],grow:[{grow:Na()}],shrink:[{shrink:Na()}],order:[{order:["first","last","none",Pa,P]}],"grid-cols":[{"grid-cols":[Ca]}],"col-start-end":[{col:["auto",{span:["full",Pa,P]},P]}],"col-start":[{"col-start":no()}],"col-end":[{"col-end":no()}],"grid-rows":[{"grid-rows":[Ca]}],"row-start-end":[{row:["auto",{span:[Pa,P]},P]}],"row-start":[{"row-start":no()}],"row-end":[{"row-end":no()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",P]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",P]}],gap:[{gap:[m]}],"gap-De":[{"gap-De":[m]}],"gap-De":[{"gap-De":[m]}],"justify-content":[{justify:["normal",...fr()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fr(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fr(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[L]}],px:[{px:[L]}],py:[{py:[L]}],ps:[{ps:[L]}],De:[{De:[L]}],pt:[{pt:[L]}],pr:[{pr:[L]}],pb:[{pb:[L]}],De:[{De:[L]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],fo:[{fo:[w]}],"space-De":[{"space-De":[cs]}],"space-De-reverse":["space-De-reverse"],"space-De":[{"space-De":[cs]}],"space-De-reverse":["space-De-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",P,t]}],"min-w":[{"min-w":[P,t,"min","max","fit"]}],"max-w":[{"max-w":[P,t,"none","full","min","max","fit","prose",{screen:[vt]},vt]}],De:[{De:[P,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-De":[{"min-De":[P,t,"min","max","fit","svh","lvh","dvh"]}],"max-De":[{"max-De":[P,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[P,t,"auto","min","max","fit"]}],"font-size":[{text:["base",vt,bt]}],"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:[Ca]}],"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",P]}],"line-clamp":[{"line-clamp":["none",qt,gr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tt,P]}],"list-image":[{"list-image":["none",P]}],"list-style-type":[{list:["none","disc","decimal",P]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...lo(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",tt,bt]}],"underline-offset":[{"underline-offset":["auto",tt,P]}],"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",P]}],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",P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ps(),_c]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","De","De","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gc]}],"bg-image":[{bg:["none",{"gradient-to":["t","js","r","br","b","bl","l","tl"]},Vc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],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-De":[{"rounded-De":[i]}],"rounded-De":[{"rounded-De":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-js":[{"rounded-js":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-De":[{"border-De":[l]}],"border-w-De":[{"border-De":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[...lo(),"hidden"]}],"divide-De":[{"divide-De":[l]}],"divide-De-reverse":["divide-De-reverse"],"divide-De":[{"divide-De":[l]}],"divide-De-reverse":["divide-De-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:lo()}],"border-color":[{border:[r]}],"border-color-De":[{"border-De":[r]}],"border-color-De":[{"border-De":[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:["",...lo()]}],"outline-offset":[{"outline-offset":[tt,P]}],"outline-w":[{outline:[tt,bt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ms()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[tt,bt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",vt,$c]}],"shadow-color":[{shadow:[Ca]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":[...us(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":us()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",vt,P]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[u]}],saturate:[{saturate:[he]}],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":[p]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[he]}],"backdrop-sepia":[{"backdrop-sepia":[Qt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-De":[{"border-spacing-De":[n]}],"border-spacing-De":[{"border-spacing-De":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",P]}],duration:[{duration:et()}],ease:[{ease:["linear","in","out","in-out",P]}],delay:[{delay:et()}],animate:[{animate:["none","spin","ping","pulse","bounce",P]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Ze]}],"scale-De":[{"scale-De":[Ze]}],"scale-De":[{"scale-De":[Ze]}],rotate:[{rotate:[Pa,P]}],"translate-De":[{"translate-De":[ds]}],"translate-De":[{"translate-De":[ds]}],"skew-De":[{"skew-De":[so]}],"skew-De":[{"skew-De":[so]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",P]}],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","De-resize","nw-resize","De-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","De","De",""]}],"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-fo":[{"scroll-fo":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-De":[{"scroll-De":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-De":[{"scroll-De":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","De","De","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-De":[{"touch-pan":["De","left","right"]}],"touch-De":[{"touch-pan":["De","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[tt,bt,gr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-De","overflow-De"],overscroll:["overscroll-De","overscroll-De"],inset:["inset-De","inset-De","start","end","top","right","bottom","left"],"inset-De":["right","left"],"inset-De":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-De","gap-De"],p:["px","py","ps","De","pt","pr","pb","De"],px:["pr","De"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","fo"],mx:["mr","fo"],my:["mt","mb"],size:["w","De"],"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-De","rounded-De","rounded-es","rounded-tl","rounded-js","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-De","rounded-De"],"rounded-t":["rounded-tl","rounded-js"],"rounded-r":["rounded-js","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-De","border-spacing-De"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-De":["border-w-r","border-w-l"],"border-w-De":["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-De":["border-color-r","border-color-l"],"border-color-De":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-fo"],"scroll-mx":["scroll-mr","scroll-fo"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-De","scroll-pt","scroll-pr","scroll-pb","scroll-De"],"scroll-px":["scroll-pr","scroll-De"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-De","touch-De","touch-pz"],"touch-De":["touch"],"touch-De":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ps=Mc(Yc);function s(...e){return Ps((0,Cs.clsx)(e))}var De=require("react/jsx-runtime"),hr=Zt.forwardRef(({...e},t)=>(0,De.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));hr.displayName="Breadcrumb";var xr=Zt.forwardRef(({className:e,...t},a)=>(0,De.jsx)("ol",{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}));xr.displayName="BreadcrumbList";var yr=Zt.forwardRef(({className:e,...t},a)=>(0,De.jsx)("li",{ref:a,className:s("inline-flex items-center gap-1.5",e),...t}));yr.displayName="BreadcrumbItem";var wr=Zt.forwardRef(({asChild:e,className:t,...a},o)=>(0,De.jsx)(e?Rs.Slot:"a",{ref:o,className:s("transition-colors hover:text-foreground",t),...a}));wr.displayName="BreadcrumbLink";var Nr=Zt.forwardRef(({className:e,...t},a)=>(0,De.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:s("font-normal text-foreground",e),...t}));Nr.displayName="BreadcrumbPage";var Pr=({children:e,className:t,...a})=>(0,De.jsx)("li",{role:"presentation","aria-hidden":"true",className:s("[&>svg]:w-3.5 [&>svg]:De-3.5",t),...a,children:e!=null?e:(0,De.jsx)(mo.ChevronRightIcon,{})});Pr.displayName="BreadcrumbSeparator";var Cr=({className:e,...t})=>(0,De.jsxs)("span",{role:"presentation","aria-hidden":"true",className:s("flex De-9 w-9 items-center justify-center",e),...t,children:[(0,De.jsx)(mo.DotsHorizontalIcon,{className:"De-4 w-4"}),(0,De.jsx)("span",{className:"sr-only",children:"More"})]});Cr.displayName="BreadcrumbElipssis";var ea=b(require("@radix-ui/react-collapsible")),at=ea.Root,ht=ea.CollapsibleTrigger,xt=ea.CollapsibleContent;var ot=b(require("react")),S=b(require("@radix-ui/react-dropdown-menu"));var Ss=S.Root,ks=S.Trigger,Ts=S.Group,As=S.Portal,Ms=S.Sub,Is=S.RadioGroup,Rr=ot.forwardRef(({className:e,inset:t,children:a,...o},r)=>(0,De.jsxs)(S.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&&"De-8",e),...o,children:[a,(0,De.jsx)(mo.ChevronRightIcon,{className:"fo-auto"})]}));Rr.displayName=S.SubTrigger.displayName;var Sr=ot.forwardRef(({className:e,...t},a)=>(0,De.jsx)(S.SubContent,{ref:a,className:s("De-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}));Sr.displayName=S.SubContent.displayName;var kr=ot.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,De.jsx)(S.Portal,{children:(0,De.jsx)(S.Content,{ref:o,sideOffset:t,className:s("De-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})}));kr.displayName=S.Content.displayName;var Tr=ot.forwardRef(({className:e,inset:t,...a},o)=>(0,De.jsx)(S.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&&"De-8",e),...a}));Tr.displayName=S.Item.displayName;var Ar=ot.forwardRef(({className:e,children:t,checked:a,...o},r)=>(0,De.jsxs)(S.CheckboxItem,{ref:r,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 De-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,De.jsx)("span",{className:"absolute left-2 flex De-3.5 w-3.5 items-center justify-center",children:(0,De.jsx)(S.ItemIndicator,{children:(0,De.jsx)(mo.CheckIcon,{className:"De-4 w-4"})})}),t]}));Ar.displayName=S.CheckboxItem.displayName;var Mr=ot.forwardRef(({className:e,children:t,...a},o)=>(0,De.jsxs)(S.RadioItem,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 De-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,De.jsx)("span",{className:"absolute left-2 flex De-3.5 w-3.5 items-center justify-center",children:(0,De.jsx)(S.ItemIndicator,{children:(0,De.jsx)(mo.DotFilledIcon,{className:"De-4 w-4 fill-current"})})}),t]}));Mr.displayName=S.RadioItem.displayName;var Ir=ot.forwardRef(({className:e,inset:t,...a},o)=>(0,De.jsx)(S.Label,{ref:o,className:s("px-2 py-1.5 text-sm font-semibold",t&&"De-8",e),...a}));Ir.displayName=S.Label.displayName;var Dr=ot.forwardRef(({className:e,...t},a)=>(0,De.jsx)(S.Separator,{ref:a,className:s("-mx-1 my-1 De-px bg-muted",e),...t}));Dr.displayName=S.Separator.displayName;var Lr=({className:e,...t})=>(0,De.jsx)("span",{className:s("fo-auto text-xs tracking-widest opacity-60",e),...t});Lr.displayName="DropdownMenuShortcut";var Ds=b(require("react"));var Ra=Ds.forwardRef(({className:e,type:t,...a},o)=>(0,De.jsx)("input",{type:t,className:s("flex De-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}));Ra.displayName="Input";var Es=b(require("react")),Er=b(require("@radix-ui/react-separator"));var Sa=Es.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>(0,De.jsx)(Er.Root,{ref:r,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"De-[1px] w-full":"De-full w-[1px]",e),...o}));Sa.displayName=Er.Root.displayName;var ka=b(require("react")),Q=b(require("@radix-ui/react-dialog")),zs=require("class-variance-authority");var po=Q.Root,Fs=Q.Trigger,Os=Q.Close,Br=Q.Portal,uo=ka.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Q.Overlay,{className:s("fixed inset-0 De-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}));uo.displayName=Q.Overlay.displayName;var Kc=(0,zs.cva)("fixed De-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-De-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-De-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-De-0 left-0 De-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-De-0 right-0 De-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Ta=ka.forwardRef(({side:e="right",className:t,children:a,...o},r)=>(0,De.jsxs)(Br,{children:[(0,De.jsx)(uo,{}),(0,De.jsxs)(Q.Content,{ref:r,className:s(Kc({side:e}),t),...o,children:[(0,De.jsxs)(Q.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,De.jsx)(mo.Cross2Icon,{className:"De-4 w-4"}),(0,De.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));Ta.displayName=Q.Content.displayName;var Hr=({className:e,...t})=>(0,De.jsx)("div",{className:s("flex flex-col space-De-2 text-center sm:text-left",e),...t});Hr.displayName="SheetHeader";var zr=({className:e,...t})=>(0,De.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-De-2",e),...t});zr.displayName="SheetFooter";var Fr=ka.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Q.Title,{ref:a,className:s("text-lg font-semibold text-foreground",e),...t}));Fr.displayName=Q.Title.displayName;var Or=ka.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Q.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));Or.displayName=Q.Description.displayName;var k=b(require("react")),js=require("lucide-react");var fo=require("react"),go=(e=768)=>{let[t,a]=(0,fo.useState)(!1);return(0,fo.useEffect)(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Us=b(require("react")),Aa=(0,zs.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:"De-10 px-4 py-2",icon:"De-10 w-10",lg:"De-11 rounded px-8",sm:"De-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"}}}),j=Us.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},i)=>(0,De.jsx)(e?Rs.Slot:"button",{className:s(Aa({className:t,size:a,variant:o})),ref:i,...r}));j.displayName="Button";function q({className:e,...t}){return(0,$s.jsx)("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t})}var Ws=b(require("react")),Ge=b(require("@radix-ui/react-tooltip"));var bo=Ge.Provider,vo=Ge.Root,ho=Ge.Trigger,Ma=Ws.forwardRef(({className:e,sideOffset:t=4,...a},o)=>(0,De.jsx)(Ge.Portal,{children:(0,De.jsx)(Ge.Content,{ref:o,sideOffset:t,className:s("De-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})}));Ma.displayName=Ge.Content.displayName;var Qc="sidebar:state",qc=60*60*24*7,Jc="16rem",Zc="18rem",ed="3rem",td="b",Ys=k.createContext(null);function oa(){let e=k.useContext(Ys);if(!e)throw new Error("useSidebar must De used within a SidebarProvider.");return e}var _r=k.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:i,...n},l)=>{let d=go(),[c,p]=k.useState(!1),[u,m]=k.useState(e),v=t!=null?t:u,N=k.useCallback(L=>{if(a)return a==null?void 0:a(typeof L=="function"?L(v):L);m(L),document.cookie=`${Qc}=${v}; path=/; max-age=${qc}`},[a,v]),f=k.useCallback(()=>d?p(L=>!L):N(L=>!L),[d,N,p]);k.useEffect(()=>{let L=he=>{he.key===td&&(he.metaKey||he.ctrlKey)&&(he.preventDefault(),f())};return window.addEventListener("keydown",L),()=>window.removeEventListener("keydown",L)},[f]);let w=v?"expanded":"collapsed",M=k.useMemo(()=>({state:w,open:v,setOpen:N,isMobile:d,openMobile:c,setOpenMobile:p,toggleSidebar:f}),[w,v,N,d,c,p,f]);return(0,De.jsx)(Ys.Provider,{value:M,children:(0,De.jsx)(bo,{delayDuration:0,children:(0,De.jsx)("div",{style:{"--sidebar-width":Jc,"--sidebar-width-icon":ed,...r},className:s("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:l,...n,children:i})})})});_r.displayName="SidebarProvider";var Dt=k.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...i},n)=>{let{isMobile:l,state:d,openMobile:c,setOpenMobile:p}=oa();return a==="none"?(0,De.jsx)("div",{className:s("flex De-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:n,...i,children:r}):l?(0,De.jsx)(po,{open:c,onOpenChange:p,...i,children:(0,De.jsx)(Ta,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Zc},side:e,children:(0,De.jsx)("div",{className:"flex De-full w-full flex-col",children:r})})}):(0,De.jsxs)("div",{ref:n,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,De.jsx)("div",{className:s("duration-200 relative De-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)De+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,De.jsx)("div",{className:s("duration-200 fixed top-14 bottom-0 De-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)De+_theme(spacing.4)De+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,De.jsx)("div",{"data-sidebar":"sidebar",className:"flex De-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 Ur=k.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=oa();return(0,De.jsxs)(j,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:s("De-7 w-7",e),onClick:i=>{t==null||t(i),r()},...a,children:[(0,De.jsx)(js.PanelLeft,{}),(0,De.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Ur.displayName="SidebarTrigger";var Vr=k.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=oa();return(0,De.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:s("absolute inset-De-0 De-20 hidden w-4 -translate-De-1/2 transition-all ease-linear after:absolute after:inset-De-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]De&]:cursor-w-resize [[data-side=right]De&]:cursor-e-resize","[[data-side=left][data-state=collapsed]De&]:cursor-e-resize [[data-side=right][data-state=collapsed]De&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-De-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]De&]:-right-2","[[data-side=right][data-collapsible=offcanvas]De&]:-left-2",e),...t})});Vr.displayName="SidebarRail";var $r=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("main",{ref:a,className:s("flex flex-1 flex-col bg-background overflow-De-auto relative max-De-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:fo-2 md:peer-data-[variant=inset]:fo-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));$r.displayName="SidebarInset";var Wr=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Ra,{ref:a,"data-sidebar":"input",className:s("De-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Wr.displayName="SidebarInput";var Lt=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"header",className:s("flex flex-col gap-2 p-2",e),...t}));Lt.displayName="SidebarHeader";var Et=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"footer",className:s("flex flex-col gap-2 p-2",e),...t}));Et.displayName="SidebarFooter";var Ia=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Sa,{ref:a,"data-sidebar":"separator",className:s("mx-2 w-auto bg-sidebar-border",e),...t}));Ia.displayName="SidebarSeparator";var yt=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"content",className:s("flex min-De-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));yt.displayName="SidebarContent";var Le=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col p-2",e),...t}));Le.displayName="SidebarGroup";var rt=k.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,De.jsx)(t?Rs.Slot:"div",{ref:o,"data-sidebar":"group-label",className:s("duration-200 flex De-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 Xr=k.forwardRef(({className:e,asChild:t=!1,...a},o)=>(0,De.jsx)(t?Rs.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}));Xr.displayName="SidebarGroupAction";var _e=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"group-content",className:s("w-full text-sm",e),...t}));_e.displayName="SidebarGroupContent";var Ce=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("De",{ref:a,"data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e),...t}));Ce.displayName="SidebarMenu";var ue=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:s("group/menu-item relative",e),...t}));ue.displayName="SidebarMenuItem";var ad=(0,zs.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:"De-8 text-sm",sm:"De-7 text-xs",lg:"De-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Ee=k.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:i,...n},l)=>{let d=e?Rs.Slot:"button",{isMobile:c,state:p}=oa(),u=(0,De.jsx)(d,{ref:l,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:s(ad({variant:a,size:o}),i),...n});return r?(typeof r=="string"&&(r={children:r}),(0,De.jsxs)(vo,{children:[(0,De.jsx)(ho,{asChild:!0,children:u}),(0,De.jsx)(Ma,{side:"right",align:"center",hidden:p!=="collapsed"||c,...r})]})):u});Ee.displayName="SidebarMenuButton";var Da=k.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>(0,De.jsx)(t?Rs.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}));Da.displayName="SidebarMenuAction";var jr=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:s("absolute right-1 flex De-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}));jr.displayName="SidebarMenuBadge";var Yr=k.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=k.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,De.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:s("rounded-md De-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,De.jsx)(q,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,De.jsx)(q,{className:"De-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});Yr.displayName="SidebarMenuSkeleton";var wt=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("De",{ref:a,"data-sidebar":"menu-sub",className:s("mx-3.5 flex min-w-0 translate-De-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));wt.displayName="SidebarMenuSub";var Nt=k.forwardRef(({...e},t)=>(0,De.jsx)("li",{ref:t,...e}));Nt.displayName="SidebarMenuSubItem";var Pt=k.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:o,...r},i)=>(0,De.jsx)(e?Rs.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:s("flex De-7 min-w-0 -translate-De-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}));Pt.displayName="SidebarMenuSubButton";var wo=b(require("react")),od=1,rd=1e6;var Kr=0;function id(){return Kr=(Kr+1)%Number.MAX_SAFE_INTEGER,Kr.toString()}var Qr=new Map,Ks=e=>{if(Qr.has(e))return;let t=setTimeout(()=>{Qr.delete(e),La({type:"REMOVE_TOAST",toastId:e})},rd);Qr.set(e,t)},Qs=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,od)};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?Ks(a):e.toasts.forEach(o=>{Ks(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)}}},xo=[],yo={toasts:[]};function La(e){yo=Qs(yo,e),xo.forEach(t=>{t(yo)})}function qs({...e}){let t=id(),a=r=>La({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>La({type:"DISMISS_TOAST",toastId:t});return La({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:a}}function No(){let[e,t]=wo.useState(yo);return wo.useEffect(()=>(xo.push(t),()=>{let a=xo.indexOf(t);a>-1&&xo.splice(a,1)}),[e]),{...e,toast:qs,dismiss:a=>La({type:"DISMISS_TOAST",toastId:a})}}var Bt=b(require("react")),te=b(require("@radix-ui/react-toast"));var Po=te.Provider,Ea=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.Viewport,{ref:a,className:s("fixed top-0 De-[100] flex max-De-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}));Ea.displayName=te.Viewport.displayName;var sd=(0,zs.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-De-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-De-0 data-[swipe=end]:translate-De-[var(--radix-toast-swipe-end-De)] data-[swipe=move]:translate-De-[var(--radix-toast-swipe-move-De)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Ba=Bt.forwardRef(({className:e,variant:t,...a},o)=>(0,De.jsx)(te.Root,{ref:o,className:s(sd({variant:t}),e),...a}));Ba.displayName=te.Root.displayName;var qr=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.Action,{ref:a,className:s("inline-flex De-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=te.Action.displayName;var Ha=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.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,De.jsx)(js.De,{className:"De-4 w-4"})}));Ha.displayName=te.Close.displayName;var za=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));za.displayName=te.Title.displayName;var Fa=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));Fa.displayName=te.Description.displayName;function en(){let{toasts:e}=No();return(0,De.jsxs)(Po,{children:[e.map(function({id:t,title:a,description:o,action:r,...i}){return(0,De.jsxs)(Ba,{...i,children:[(0,De.jsxs)("div",{className:"grid gap-1",children:[a&&(0,De.jsx)(za,{children:a}),o&&(0,De.jsx)(Fa,{children:o})]}),r,(0,De.jsx)(Ha,{})]},t)}),(0,De.jsx)(Ea,{})]})}var tn=b(require("react")),Jr=b(require("@radix-ui/react-toggle"));var Oa=(0,zs.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=De]:bg-accent data-[state=De]: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:"De-9 px-2 min-w-9",sm:"De-8 px-1.5 min-w-8",lg:"De-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Zr=tn.forwardRef(({className:e,variant:t,size:a,...o},r)=>(0,De.jsx)(Jr.Root,{ref:r,className:s(Oa({variant:t,size:a,className:e})),...o}));Zr.displayName=Jr.Root.displayName;var Ht=b(require("react")),ra=b(require("@radix-ui/react-toggle-group"));var rn=Ht.createContext({size:"default",variant:"default"}),ei=Ht.forwardRef(({className:e,variant:t,size:a,children:o,...r},i)=>(0,De.jsx)(ra.Root,{ref:i,className:s("flex items-center justify-center gap-1",e),...r,children:(0,De.jsx)(rn.Provider,{value:{variant:t,size:a},children:o})}));ei.displayName=ra.Root.displayName;var ti=Ht.forwardRef(({className:e,children:t,variant:a,size:o,...r},i)=>{let n=Ht.useContext(rn);return(0,De.jsx)(ra.Item,{ref:i,className:s(Oa({variant:n.variant||a,size:n.size||o}),e),...r,children:t})});ti.displayName=ra.Item.displayName;var ai=b(require("react")),Be=b(require("@radix-ui/react-scroll-area"));var oi=ai.forwardRef(({className:e,children:t,...a},o)=>(0,De.jsxs)(Be.Root,{ref:o,className:s("relative overflow-hidden",e),...a,children:[(0,De.jsx)(Be.Viewport,{className:"De-full w-full rounded-[inherit]",children:t}),(0,De.jsx)(Ro,{}),(0,De.jsx)(Be.Corner,{})]}));oi.displayName=Be.Root.displayName;var Ro=ai.forwardRef(({className:e,orientation:t="vertical",...a},o)=>(0,De.jsx)(Be.ScrollAreaScrollbar,{ref:o,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"De-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"De-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,De.jsx)(Be.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Ro.displayName=Be.ScrollAreaScrollbar.displayName;var sn=b(require("react")),Ue=b(require("@radix-ui/react-popover"));var nn=Ue.Root,ln=Ue.Trigger,cn=Ue.Anchor,ii=sn.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,De.jsx)(Ue.Portal,{children:(0,De.jsx)(Ue.Content,{ref:r,align:t,sideOffset:a,className:s("De-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})}));ii.displayName=Ue.Content.displayName;var dn=b(require("react")),si=b(require("@radix-ui/react-label"));var nd=(0,zs.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ni=dn.forwardRef(({className:e,...t},a)=>(0,De.jsx)(si.Root,{ref:a,className:s(nd(),e),...t}));ni.displayName=si.Root.displayName;var un=b(require("react")),zt=b(require("@radix-ui/react-hover-card"));var fn=zt.Root,gn=zt.Trigger,li=un.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>(0,De.jsx)(zt.Content,{ref:r,align:t,sideOffset:a,className:s("De-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}));li.displayName=zt.Content.displayName;var Ga=b(require("react")),J=b(require("@radix-ui/react-dialog"));var ia=J.Root,hn=J.Trigger,ci=J.Portal,So=J.Close,ko=Ga.forwardRef(({className:e,...t},a)=>(0,De.jsx)(J.Overlay,{ref:a,className:s("fixed inset-0 De-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));ko.displayName=J.Overlay.displayName;var Ft=Ga.forwardRef(({className:e,children:t,...a},o)=>(0,De.jsxs)(ci,{children:[(0,De.jsx)(ko,{}),(0,De.jsxs)(J.Content,{ref:o,className:s("fixed left-[50%] top-[50%] De-50 grid w-full max-w-lg translate-De-[-50%] translate-De-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[t,(0,De.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-accent data-[state=open]:text-muted-foreground",children:[(0,De.jsx)(js.De,{className:"De-4 w-4"}),(0,De.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ft.displayName=J.Content.displayName;var _a=({className:e,...t})=>(0,De.jsx)("div",{className:s("flex flex-col space-De-1.5 text-center sm:text-left",e),...t});_a.displayName="DialogHeader";var di=({className:e,...t})=>(0,De.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-De-2",e),...t});di.displayName="DialogFooter";var Ua=Ga.forwardRef(({className:e,...t},a)=>(0,De.jsx)(J.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));Ua.displayName=J.Title.displayName;var mi=Ga.forwardRef(({className:e,...t},a)=>(0,De.jsx)(J.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));mi.displayName=J.Description.displayName;var St=b(require("react")),ye=require("cmdk");var To=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.Command,{ref:a,className:s("flex De-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));To.displayName=ye.Command.displayName;var yn=({children:e,...t})=>(0,De.jsx)(ia,{...t,children:(0,De.jsx)(Ft,{className:"overflow-hidden p-0",children:(0,De.jsx)(To,{className:"[&De[cmdk-group-heading]]:px-2 [&De[cmdk-group-heading]]:font-medium [&De[cmdk-group-heading]]:text-muted-foreground [&De[cmdk-group]:not([hidden])De~[cmdk-group]]:pt-0 [&De[cmdk-group]]:px-2 [&De[cmdk-input-wrapper]_svg]:De-5 [&De[cmdk-input-wrapper]_svg]:w-5 [&De[cmdk-input]]:De-12 [&De[cmdk-item]]:px-2 [&De[cmdk-item]]:py-3 [&De[cmdk-item]_svg]:De-5 [&De[cmdk-item]_svg]:w-5",children:e})})}),pi=St.forwardRef(({className:e,...t},a)=>(0,De.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,De.jsx)(js.Search,{className:"mr-2 De-4 w-4 shrink-0 opacity-50"}),(0,De.jsx)(ye.Command.Input,{ref:a,className:s("flex De-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})]}));pi.displayName=ye.Command.Input.displayName;var ui=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.Command.List,{ref:a,className:s("max-De-[300px] overflow-De-auto overflow-De-hidden",e),...t}));ui.displayName=ye.Command.List.displayName;var fi=St.forwardRef((e,t)=>(0,De.jsx)(ye.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));fi.displayName=ye.Command.Empty.displayName;var gi=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.Command.Group,{ref:a,className:s("overflow-hidden p-1 text-foreground [&De[cmdk-group-heading]]:px-2 [&De[cmdk-group-heading]]:py-1.5 [&De[cmdk-group-heading]]:text-xs [&De[cmdk-group-heading]]:font-medium [&De[cmdk-group-heading]]:text-muted-foreground",e),...t}));gi.displayName=ye.Command.Group.displayName;var bi=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.Command.Separator,{ref:a,className:s("-mx-1 De-px bg-border",e),...t}));bi.displayName=ye.Command.Separator.displayName;var vi=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.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}));vi.displayName=ye.Command.Item.displayName;var hi=({className:e,...t})=>(0,De.jsx)("span",{className:s("fo-auto text-xs tracking-widest text-muted-foreground",e),...t});hi.displayName="CommandShortcut";var Ao=b(require("react"));var ld=(0,zs.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-De-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:De-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),xi=Ao.forwardRef(({className:e,variant:t,...a},o)=>(0,De.jsx)("div",{ref:o,role:"alert",className:s(ld({variant:t}),e),...a}));xi.displayName="Alert";var yi=Ao.forwardRef(({className:e,...t},a)=>(0,De.jsx)("h5",{ref:a,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));yi.displayName="AlertTitle";var wi=Ao.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("text-sm [&_p]:leading-relaxed",e),...t}));wi.displayName="AlertDescription";var Io=b(require("react")),st=b(require("@radix-ui/react-avatar"));var Va=Io.forwardRef(({className:e,...t},a)=>(0,De.jsx)(st.Root,{ref:a,className:s("relative flex De-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Va.displayName=st.Root.displayName;var $a=Io.forwardRef(({className:e,...t},a)=>(0,De.jsx)(st.Image,{ref:a,className:s("aspect-square De-full w-full",e),...t}));$a.displayName=st.Image.displayName;var Wa=Io.forwardRef(({className:e,...t},a)=>(0,De.jsx)(st.Fallback,{ref:a,className:s("flex De-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Wa.displayName=st.Fallback.displayName;var Ni=(0,zs.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 sa({className:e,variant:t,...a}){return(0,De.jsx)("div",{className:s(Ni({variant:t}),e),...a})}var Xa=b(require("@radix-ui/react-checkbox")),Rn=b(require("react")),Sn=Rn.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Xa.Root,{className:s("peer De-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,De.jsx)(Xa.Indicator,{className:s("flex items-center justify-center text-current"),children:(0,De.jsx)(js.Check,{className:"De-4 w-4"})})}));Sn.displayName=Xa.Root.displayName;var A=b(require("@radix-ui/react-select")),kt=b(require("react")),cd=A.Root,dd=A.Group,md=A.Value,kn=kt.forwardRef(({children:e,className:t,...a},o)=>(0,De.jsxs)(A.Trigger,{className:s("flex De-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,De.jsx)(A.Icon,{asChild:!0,children:(0,De.jsx)(js.ChevronDown,{className:"De-4 w-4 opacity-50"})})]}));kn.displayName=A.Trigger.displayName;var Pi=kt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(A.ScrollUpButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,De.jsx)(js.ChevronUp,{className:"De-4 w-4"})}));Pi.displayName=A.ScrollUpButton.displayName;var Ci=kt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(A.ScrollDownButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,De.jsx)(js.ChevronDown,{className:"De-4 w-4"})}));Ci.displayName=A.ScrollDownButton.displayName;var Tn=kt.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>(0,De.jsx)(A.Portal,{children:(0,De.jsxs)(A.Content,{className:s("relative De-50 max-De-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-De-1 data-[side=left]:-translate-De-1 data-[side=right]:translate-De-1 data-[side=top]:-translate-De-1",t),position:a,ref:r,...o,children:[(0,De.jsx)(Pi,{}),(0,De.jsx)(A.Viewport,{className:s("p-1",a==="popper"&&"De-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,De.jsx)(Ci,{})]})}));Tn.displayName=A.Content.displayName;var An=kt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(A.Label,{className:s("py-1.5 De-8 pr-2 text-sm font-semibold",e),ref:a,...t}));An.displayName=A.Label.displayName;var Mn=kt.forwardRef(({children:e,className:t,...a},o)=>(0,De.jsxs)(A.Item,{className:s("relative flex w-full cursor-default select-none items-center rounded py-1.5 De-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,De.jsx)("span",{className:"absolute left-2 flex De-3.5 w-3.5 items-center justify-center",children:(0,De.jsx)(A.ItemIndicator,{children:(0,De.jsx)(js.Check,{className:"De-4 w-4"})})}),(0,De.jsx)(A.ItemText,{children:e})]}));Mn.displayName=A.Item.displayName;var In=kt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(A.Separator,{className:s("-mx-1 my-1 De-px bg-muted",e),ref:a,...t}));In.displayName=A.Separator.displayName;var Dn=b(require("react")),Ln=Dn.forwardRef(({className:e,...t},a)=>(0,De.jsx)("textarea",{className:s("flex min-De-[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}));Ln.displayName="Textarea";var He=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("vl-")?e+" ":"vl-"+e+" ",i="vl-"+t,n=o!=null?o:"",l=r+i+" vl-"+a+" "+n;return(0,De.jsx)("i",{className:l})};var Hn=({title:e,description:t,iconName:a,iconStyle:o,color:r})=>(0,De.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,De.jsx)("div",{className:"w-12 De-12 ",children:(0,De.jsx)(He,{type:o,iconName:a,className:"w-12 De-12 text-white"})}),(0,De.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,De.jsx)("p",{className:"text-white text-sm",children:t})]});var zn=b(require("next/image")),Fn=b(require("next/link"));var _t=b(require("react"));var Y=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Y.displayName="Card";var de=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("flex flex-col space-De-1.5 p-6",e),...t}));de.displayName="CardHeader";var me=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));me.displayName="CardTitle";var pd=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));pd.displayName="CardDescription";var ae=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("p-6 pt-0",e),...t}));ae.displayName="CardContent";var ud=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("flex items-center p-6 pt-0",e),...t}));ud.displayName="CardFooter";function On({name:e,logo:t,href:a}){return(0,De.jsx)(Y,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,De.jsxs)(Fn.default,{href:a,className:"block",children:[(0,De.jsx)("div",{className:"bg-white p-2 flex items-center justify-center De-24",children:(0,De.jsx)("div",{className:"relative w-full De-full",children:t&&(0,De.jsx)(zn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,De.jsx)(ae,{className:"p-3 flex items-center justify-center De-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,De.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 Gn({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let i=l=>{switch(l){case"birthday":return(0,De.jsx)(js.Cake,{className:"De-4 w-4"});case"workAnniversary":return(0,De.jsx)(js.Award,{className:"De-4 w-4"});case"companyEvent":return(0,De.jsx)(js.PartyPopper,{className:"De-4 w-4"});default:return(0,De.jsx)(js.CalendarDays,{className:"De-4 w-4"})}},n=l=>{switch(l){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,De.jsxs)(Y,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${n(e)}`,children:[(0,De.jsxs)(de,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,De.jsxs)(Va,{className:"De-14 w-14 border-2 border-white",children:[(0,De.jsx)($a,{src:r,alt:a||"Event"}),(0,De.jsx)(Wa,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,De.jsxs)("div",{className:"flex flex-col",children:[(0,De.jsx)(me,{className:"text-xl",children:a||"Untitled Event"}),(0,De.jsxs)("p",{className:"text-sm text-white/80",children:[(0,De.jsx)(js.CalendarDays,{className:"mr-1 inline-block De-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,De.jsxs)(ae,{className:"bg-white bg-opacity-80 p-4",children:[o&&(0,De.jsx)("p",{className:"mb-2 text-sm text-gray-700",children:o}),(0,De.jsxs)(sa,{variant:"secondary",className:`${n(e)} text-white/80`,children:[i(e),(0,De.jsx)("span",{className:"fo-1",children:e?e.replace(/([a-De])([A-De])/De,"$1 $2").split(" ").map(l=>l.charAt(0).toUpperCase()+l.slice(1)).join(" "):"Event"})]})]})]})}var Un=b(require("next/link"));var Vn=b(require("next/image")),_n={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function $n({slug:e,image:t,title:a,description:o}){return(0,De.jsxs)(Un.default,{href:e,className:"group/portfolio relative De-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[(0,De.jsx)("span",{className:s("absolute inset-0 De-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,De.jsx)(Vn.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
6
+ "use strict";var mc=Object.create;var cr=Object.defineProperty;var pc=Object.getOwnPropertyDescriptor;var uc=Object.getOwnPropertyNames;var gc=Object.getPrototypeOf,fc=Object.prototype.hasOwnProperty;var bc=(e,t)=>{for(var a in t)cr(e,a,{get:t[a],enumerable:!0})},fs=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of uc(t))!fc.call(e,o)&&o!==a&&cr(e,o,{get:()=>t[o],enumerable:!(r=pc(t,o))||r.enumerable});return e};var b=(e,t,a)=>(a=e!=null?mc(gc(e)):{},fs(t||!e||!e.__esModule?cr(a,"default",{value:e,enumerable:!0}):a,e)),vc=e=>fs(cr({},"__esModule",{value:!0}),e);var Cm={};bc(Cm,{AboutSection:()=>pm,Alert:()=>xi,AlertDescription:()=>wi,AlertTitle:()=>yi,Avatar:()=>Va,AvatarFallback:()=>Wa,AvatarImage:()=>$a,Badge:()=>sa,BannerBlock:()=>Ti,BlogCard:()=>bl,BlogDetail:()=>Nm,BlogList:()=>Pd,BlogListSection:()=>gm,BrandLogo:()=>Mt,Breadcrumb:()=>ho,BreadcrumbEllipsis:()=>Co,BreadcrumbItem:()=>yo,BreadcrumbLink:()=>wo,BreadcrumbList:()=>xo,BreadcrumbPage:()=>No,BreadcrumbSeparator:()=>Po,Button:()=>j,CMSLink:()=>ct,CallToActionBlock:()=>Ya,Card:()=>Ka,Categories:()=>qa,Checkbox:()=>Sn,CodeBlock:()=>Di,Collapsible:()=>at,CollapsibleContent:()=>xt,CollapsibleTrigger:()=>ht,CollectionArchive:()=>Rd,Command:()=>kr,CommandDialog:()=>yn,CommandEmpty:()=>gi,CommandGroup:()=>fi,CommandInput:()=>pi,CommandItem:()=>vi,CommandList:()=>ui,CommandSeparator:()=>bi,CommandShortcut:()=>hi,ContactSection:()=>ym,Container:()=>le,ContentBlock:()=>Vi,CopyButton:()=>Ii,CustomLink:()=>re,CustomerCard:()=>On,Dialog:()=>ia,DialogClose:()=>Rr,DialogContent:()=>Ft,DialogDescription:()=>mi,DialogFooter:()=>di,DialogHeader:()=>_a,DialogOverlay:()=>Sr,DialogPortal:()=>ci,DialogTitle:()=>Ua,DialogTrigger:()=>hn,DropdownMenu:()=>Ss,DropdownMenuCheckboxItem:()=>Ao,DropdownMenuContent:()=>ko,DropdownMenuGroup:()=>Ts,DropdownMenuItem:()=>To,DropdownMenuLabel:()=>Mo,DropdownMenuPortal:()=>As,DropdownMenuRadioGroup:()=>Ms,DropdownMenuRadioItem:()=>Io,DropdownMenuSeparator:()=>Do,DropdownMenuShortcut:()=>Lo,DropdownMenuSub:()=>Is,DropdownMenuSubContent:()=>So,DropdownMenuSubTrigger:()=>Ro,DropdownMenuTrigger:()=>ks,DynamicIcon:()=>He,EventCard:()=>Gn,FeatureCard:()=>Hn,FeatureGrid:()=>Yn,FeaturesBlock:()=>$i,Filter:()=>qi,Footer:()=>nm,Header:()=>lm,HeaderDesktop:()=>tr,HeaderMobile:()=>ar,HeadingImage:()=>Gd,HighImpactHero:()=>Ji,HoverCard:()=>gn,HoverCardContent:()=>li,HoverCardTrigger:()=>fn,Image:()=>Wn,ImageBlock:()=>_d,InfoTile:()=>Dd,Input:()=>Ra,Insight:()=>Md,Label:()=>ni,Logo:()=>Sd,LowImpactHero:()=>ts,MOTD:()=>Ed,MainPageSection:()=>Pm,Media:()=>mt,MediaBlock:()=>la,MediumImpactHero:()=>es,NewsGrid:()=>el,OrgChart:()=>zd,PageRange:()=>Ad,Pagination:()=>Ki,PayloadPagination:()=>Id,Popover:()=>nn,PopoverAnchor:()=>cn,PopoverContent:()=>ii,PopoverTrigger:()=>ln,PostHero:()=>Qd,PricingCard:()=>ki,PricingSection:()=>mm,ProjectCard:()=>$n,ProjectTeam:()=>Yd,ProposalSummary:()=>Fd,RelatedContent:()=>ji,RelatedPosts:()=>Vd,RenderBlocks:()=>Ud,RenderHero:()=>Jd,RichText:()=>K,ScrollArea:()=>ri,ScrollBar:()=>Cr,SectionHero:()=>Zd,Select:()=>md,SelectContent:()=>Tn,SelectGroup:()=>pd,SelectItem:()=>In,SelectLabel:()=>An,SelectScrollDownButton:()=>Ci,SelectScrollUpButton:()=>Pi,SelectSeparator:()=>Mn,SelectTrigger:()=>kn,SelectValue:()=>ud,Separator:()=>Sa,ServiceCard:()=>Si,ServiceSection:()=>dm,Sheet:()=>mr,SheetClose:()=>Os,SheetContent:()=>Ta,SheetDescription:()=>Oo,SheetFooter:()=>zo,SheetHeader:()=>Ho,SheetOverlay:()=>pr,SheetPortal:()=>Bo,SheetTitle:()=>Fo,SheetTrigger:()=>Fs,Sidebar:()=>Dt,SidebarContent:()=>yt,SidebarFooter:()=>Et,SidebarGroup:()=>Le,SidebarGroupAction:()=>Xo,SidebarGroupContent:()=>_e,SidebarGroupLabel:()=>ot,SidebarHeader:()=>Lt,SidebarInput:()=>Wo,SidebarInset:()=>$o,SidebarLeft:()=>$d,SidebarMenu:()=>Ce,SidebarMenuAction:()=>Da,SidebarMenuBadge:()=>jo,SidebarMenuButton:()=>Ee,SidebarMenuItem:()=>ue,SidebarMenuSkeleton:()=>Yo,SidebarMenuSub:()=>wt,SidebarMenuSubButton:()=>Pt,SidebarMenuSubItem:()=>Nt,SidebarProvider:()=>_o,SidebarRail:()=>Vo,SidebarRight:()=>jd,SidebarSeparator:()=>Ma,SidebarTrigger:()=>Uo,SimpleHeader:()=>am,Skeleton:()=>q,TextAndImages:()=>tl,Textarea:()=>Ln,ThemeProvider:()=>cm,Toast:()=>Ba,ToastAction:()=>qo,ToastClose:()=>Ha,ToastDescription:()=>Fa,ToastProvider:()=>Nr,ToastTitle:()=>za,ToastViewport:()=>Ea,Toaster:()=>en,Toggle:()=>Zo,ToggleGroup:()=>ei,ToggleGroupItem:()=>ti,Tooltip:()=>br,TooltipContent:()=>Ia,TooltipProvider:()=>fr,TooltipTrigger:()=>vr,VerticalSlider:()=>qn,VideoHeader:()=>im,WhyUs:()=>Od,badgeVariants:()=>Ni,buttonVariants:()=>Aa,cn:()=>s,getTableOfContents:()=>Kc,reducer:()=>Qs,toast:()=>qs,toggleVariants:()=>Oa,useIsMobile:()=>gr,useSidebar:()=>ra,useToast:()=>wr});module.exports=vc(Cm);var Zt=b(require("react")),dr=require("@radix-ui/react-icons"),Rs=require("@radix-ui/react-slot");var Cs=require("clsx");var vo="-",hc=e=>{let t=yc(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:n=>{let l=n.split(vo);return l[0]===""&&l.length!==1&&l.shift(),hs(l,t)||xc(n)},getConflictingClassGroupIds:(n,l)=>{let c=a[n]||[];return l&&r[n]?[...c,...r[n]]:c}}},hs=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let a=e[0],r=t.nextPart.get(a),o=r?hs(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(vo);return(n=t.validators.find(({validator:l})=>l(i)))==null?void 0:n.classGroupId},bs=/^\[(.+)\]$/,xc=e=>{if(bs.test(e)){let t=bs.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},yc=e=>{let{theme:t,prefix:a}=e,r={nextPart:new Map,validators:[]};return Nc(Object.entries(e.classGroups),a).forEach(([i,n])=>{bo(n,r,i,t)}),r},bo=(e,t,a,r)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:vs(t,o);i.classGroupId=a;return}if(typeof o=="function"){if(wc(o)){bo(o(r),t,a,r);return}t.validators.push({validator:o,classGroupId:a});return}Object.entries(o).forEach(([i,n])=>{bo(n,vs(t,i),a,r)})})},vs=(e,t)=>{let a=e;return t.split(vo).forEach(r=>{a.nextPart.has(r)||a.nextPart.set(r,{nextPart:new Map,validators:[]}),a=a.nextPart.get(r)}),a},wc=e=>e.isThemeGetter,Nc=(e,t)=>t?e.map(([a,r])=>{let o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([n,l])=>[t+n,l])):i);return[a,o]}):e,Pc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,r=new Map,o=(i,n)=>{a.set(i,n),t++,t>e&&(t=0,r=a,a=new Map)};return{get(i){let n=a.get(i);if(n!==void 0)return n;if((n=r.get(i))!==void 0)return o(i,n),n},set(i,n){a.has(i)?a.set(i,n):o(i,n)}}},xs="!",Cc=e=>{let{separator:t,experimentalParseClassName:a}=e,r=t.length===1,o=t[0],i=t.length,n=l=>{let c=[],d=0,p=0,u;for(let w=0;w<l.length;w++){let I=l[w];if(d===0){if(I===o&&(r||l.slice(w,w+i)===t)){c.push(l.slice(p,w)),p=w+i;continue}if(I==="/"){u=w;continue}}I==="["?d++:I==="]"&&d--}let m=c.length===0?l:l.substring(p),v=m.startsWith(xs),N=v?m.substring(1):m,g=u&&u>p?u-p:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:N,maybePostfixModifierPosition:g}};return a?l=>a({className:l,parseClassName:n}):n},Rc=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(r=>{r[0]==="["?(t.push(...a.sort(),r),a=[]):a.push(r)}),t.push(...a.sort()),t},Sc=e=>({cache:Pc(e.cacheSize),parseClassName:Cc(e),...hc(e)}),kc=/\s+/,Tc=(e,t)=>{let{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],n=e.trim().split(kc),l="";for(let c=n.length-1;c>=0;c-=1){let d=n[c],{modifiers:p,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:v}=a(d),N=!!v,g=r(N?m.substring(0,v):m);if(!g){if(!N){l=d+(l.length>0?" "+l:l);continue}if(g=r(m),!g){l=d+(l.length>0?" "+l:l);continue}N=!1}let w=Rc(p).join(":"),I=u?w+xs:w,L=I+g;if(i.includes(L))continue;i.push(L);let he=o(g,N);for(let Ze=0;Ze<he.length;++Ze){let Qt=he[Ze];i.push(I+Qt)}l=d+(l.length>0?" "+l:l)}return l};function Ac(){let e=0,t,a,r="";for(;e<arguments.length;)(t=arguments[e++])&&(a=ys(t))&&(r&&(r+=" "),r+=a);return r}var ys=e=>{if(typeof e=="string")return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=ys(e[r]))&&(a&&(a+=" "),a+=t);return a};function Ic(e,...t){let a,r,o,i=n;function n(c){let d=t.reduce((p,u)=>u(p),e());return a=Sc(d),r=a.cache.get,o=a.cache.set,i=l,l(c)}function l(c){let d=r(c);if(d)return d;let p=Tc(c,a);return o(c,p),p}return function(){return i(Ac.apply(null,arguments))}}var V=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},ws=/^\[(?:([a-De-]+):)?(.+)\]$/i,Mc=/^\d+\/\d+$/,Dc=new Set(["px","full","screen"]),Lc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ec=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|De|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Bc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Hc=/^(inset_)?-?((\d+)?\.?(\d+)[a-De]+|0)De-?((\d+)?\.?(\d+)[a-De]+|0)/,zc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tt=e=>qt(e)||Dc.has(e)||Mc.test(e),bt=e=>Jt(e,"length",Wc),qt=e=>!!e&&!Number.isNaN(Number(e)),fo=e=>Jt(e,"number",qt),Pa=e=>!!e&&Number.isInteger(Number(e)),Fc=e=>e.endsWith("%")&&qt(e.slice(0,-1)),P=e=>ws.test(e),vt=e=>Lc.test(e),Oc=new Set(["length","size","percentage"]),Gc=e=>Jt(e,Oc,Ns),_c=e=>Jt(e,"position",Ns),Uc=new Set(["image","url"]),Vc=e=>Jt(e,Uc,jc),$c=e=>Jt(e,"",Xc),Ca=()=>!0,Jt=(e,t,a)=>{let r=ws.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):a(r[2]):!1},Wc=e=>Ec.test(e)&&!Bc.test(e),Ns=()=>!1,Xc=e=>Hc.test(e),jc=e=>zc.test(e);var Yc=()=>{let e=V("colors"),t=V("spacing"),a=V("blur"),r=V("brightness"),o=V("borderColor"),i=V("borderRadius"),n=V("borderSpacing"),l=V("borderWidth"),c=V("contrast"),d=V("grayscale"),p=V("hueRotate"),u=V("invert"),m=V("gap"),v=V("gradientColorStops"),N=V("gradientColorStopPositions"),g=V("inset"),w=V("margin"),I=V("opacity"),L=V("padding"),he=V("saturate"),Ze=V("scale"),Qt=V("sepia"),sr=V("skew"),cs=V("space"),ds=V("translate"),mo=()=>["auto","contain","none"],po=()=>["auto","hidden","clip","visible","scroll"],uo=()=>["auto",P,t],W=()=>[P,t],ms=()=>["",tt,bt],nr=()=>["auto",qt,P],ps=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],lr=()=>["solid","dashed","dotted","double","none"],us=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],go=()=>["start","end","center","between","around","evenly","stretch"],Na=()=>["","0",P],gs=()=>["auto","avoid","all","avoid-page","page","left","right","column"],et=()=>[qt,P];return{cacheSize:500,separator:":",theme:{colors:[Ca],spacing:[tt,bt],blur:["none","",vt,P],brightness:et(),borderColor:[e],borderRadius:["none","","full",vt,P],borderSpacing:W(),borderWidth:ms(),contrast:et(),grayscale:Na(),hueRotate:et(),invert:Na(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[Fc,bt],inset:uo(),margin:uo(),opacity:et(),padding:W(),saturate:et(),scale:et(),sepia:Na(),skew:et(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",P]}],container:["container"],columns:[{columns:[vt]}],"break-after":[{"break-after":gs()}],"break-before":[{"break-before":gs()}],"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:[...ps(),P]}],overflow:[{overflow:po()}],"overflow-De":[{"overflow-De":po()}],"overflow-De":[{"overflow-De":po()}],overscroll:[{overscroll:mo()}],"overscroll-De":[{"overscroll-De":mo()}],"overscroll-De":[{"overscroll-De":mo()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-De":[{"inset-De":[g]}],"inset-De":[{"inset-De":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],De:[{De:["auto",Pa,P]}],basis:[{basis:uo()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",P]}],grow:[{grow:Na()}],shrink:[{shrink:Na()}],order:[{order:["first","last","none",Pa,P]}],"grid-cols":[{"grid-cols":[Ca]}],"col-start-end":[{col:["auto",{span:["full",Pa,P]},P]}],"col-start":[{"col-start":nr()}],"col-end":[{"col-end":nr()}],"grid-rows":[{"grid-rows":[Ca]}],"row-start-end":[{row:["auto",{span:[Pa,P]},P]}],"row-start":[{"row-start":nr()}],"row-end":[{"row-end":nr()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",P]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",P]}],gap:[{gap:[m]}],"gap-De":[{"gap-De":[m]}],"gap-De":[{"gap-De":[m]}],"justify-content":[{justify:["normal",...go()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...go(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...go(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[L]}],px:[{px:[L]}],py:[{py:[L]}],ps:[{ps:[L]}],De:[{De:[L]}],pt:[{pt:[L]}],pr:[{pr:[L]}],pb:[{pb:[L]}],De:[{De:[L]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ur:[{ur:[w]}],"space-De":[{"space-De":[cs]}],"space-De-reverse":["space-De-reverse"],"space-De":[{"space-De":[cs]}],"space-De-reverse":["space-De-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",P,t]}],"min-w":[{"min-w":[P,t,"min","max","fit"]}],"max-w":[{"max-w":[P,t,"none","full","min","max","fit","prose",{screen:[vt]},vt]}],De:[{De:[P,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-De":[{"min-De":[P,t,"min","max","fit","svh","lvh","dvh"]}],"max-De":[{"max-De":[P,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[P,t,"auto","min","max","fit"]}],"font-size":[{text:["base",vt,bt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fo]}],"font-family":[{font:[Ca]}],"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",P]}],"line-clamp":[{"line-clamp":["none",qt,fo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tt,P]}],"list-image":[{"list-image":["none",P]}],"list-style-type":[{list:["none","disc","decimal",P]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...lr(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",tt,bt]}],"underline-offset":[{"underline-offset":["auto",tt,P]}],"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",P]}],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",P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ps(),_c]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","De","De","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gc]}],"bg-image":[{bg:["none",{"gradient-js":["t","tr","r","br","b","bl","l","tl"]},Vc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-js-pos":[{js:[N]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-js":[{js:[v]}],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-De":[{"rounded-De":[i]}],"rounded-De":[{"rounded-De":[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:[l]}],"border-w-De":[{"border-De":[l]}],"border-w-De":[{"border-De":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...lr(),"hidden"]}],"divide-De":[{"divide-De":[l]}],"divide-De-reverse":["divide-De-reverse"],"divide-De":[{"divide-De":[l]}],"divide-De-reverse":["divide-De-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:lr()}],"border-color":[{border:[o]}],"border-color-De":[{"border-De":[o]}],"border-color-De":[{"border-De":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...lr()]}],"outline-offset":[{"outline-offset":[tt,P]}],"outline-w":[{outline:[tt,bt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ms()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[tt,bt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",vt,$c]}],"shadow-color":[{shadow:[Ca]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...us(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":us()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",vt,P]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[u]}],saturate:[{saturate:[he]}],sepia:[{sepia:[Qt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[he]}],"backdrop-sepia":[{"backdrop-sepia":[Qt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-De":[{"border-spacing-De":[n]}],"border-spacing-De":[{"border-spacing-De":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",P]}],duration:[{duration:et()}],ease:[{ease:["linear","in","out","in-out",P]}],delay:[{delay:et()}],animate:[{animate:["none","spin","ping","pulse","bounce",P]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Ze]}],"scale-De":[{"scale-De":[Ze]}],"scale-De":[{"scale-De":[Ze]}],rotate:[{rotate:[Pa,P]}],"translate-De":[{"translate-De":[ds]}],"translate-De":[{"translate-De":[ds]}],"skew-De":[{"skew-De":[sr]}],"skew-De":[{"skew-De":[sr]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",P]}],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","De-resize","nw-resize","De-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","De","De",""]}],"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-ur":[{"scroll-ur":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-De":[{"scroll-De":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-De":[{"scroll-De":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","De","De","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-De":[{"touch-pan":["De","left","right"]}],"touch-De":[{"touch-pan":["De","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[tt,bt,fo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-De","overflow-De"],overscroll:["overscroll-De","overscroll-De"],inset:["inset-De","inset-De","start","end","top","right","bottom","left"],"inset-De":["right","left"],"inset-De":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-De","gap-De"],p:["px","py","ps","De","pt","pr","pb","De"],px:["pr","De"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ur"],mx:["mr","ur"],my:["mt","mb"],size:["w","De"],"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-De","rounded-De","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-De","rounded-De"],"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-De","border-spacing-De"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-De":["border-w-r","border-w-l"],"border-w-De":["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-De":["border-color-r","border-color-l"],"border-color-De":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ur"],"scroll-mx":["scroll-mr","scroll-ur"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-De","scroll-pt","scroll-pr","scroll-pb","scroll-De"],"scroll-px":["scroll-pr","scroll-De"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-De","touch-De","touch-pz"],"touch-De":["touch"],"touch-De":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ps=Ic(Yc);function s(...e){return Ps((0,Cs.clsx)(e))}function Kc(e){let t=0,a=(i,n)=>`${i.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,r=e.layout.flatMap(i=>{let n=[];return"title"in i&&i.title&&n.push({text:i.title,id:a(i.title,t++),tag:"h2"}),"columns"in i&&Array.isArray(i.columns)&&i.columns.forEach(l=>{l.title&&n.push({text:l.title,id:a(l.title,t++),tag:"h2"}),l.richText&&l.richText.root.children.filter(c=>c.type==="heading").forEach(c=>{n.push({text:c.children[0].text,id:a(c.children[0].text,t++),tag:c.tag||"h2"})})}),n}),o=Qc(e.layout);return{tableOfContents:r,contentWithIds:o}}function Qc(e){let t=(r,o)=>`${r.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${o}`,a=0;return e.map(r=>(r.title&&(r.id=t(r.title,a++)),r.columns&&(r.columns=r.columns.map(o=>(o.title&&(o.id=t(o.title,a++)),o.richText&&(o.richText.root.children=o.richText.root.children.map(i=>(i.type==="heading"&&(i.id=t(i.children[0].text,a++)),i))),o))),r))}var De=require("react/jsx-runtime"),ho=Zt.forwardRef(({...e},t)=>(0,De.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));ho.displayName="Breadcrumb";var xo=Zt.forwardRef(({className:e,...t},a)=>(0,De.jsx)("js",{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}));xo.displayName="BreadcrumbList";var yo=Zt.forwardRef(({className:e,...t},a)=>(0,De.jsx)("li",{ref:a,className:s("inline-flex items-center gap-1.5",e),...t}));yo.displayName="BreadcrumbItem";var wo=Zt.forwardRef(({asChild:e,className:t,...a},r)=>(0,De.jsx)(e?Rs.Slot:"a",{ref:r,className:s("transition-colors hover:text-foreground",t),...a}));wo.displayName="BreadcrumbLink";var No=Zt.forwardRef(({className:e,...t},a)=>(0,De.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:s("font-normal text-foreground",e),...t}));No.displayName="BreadcrumbPage";var Po=({children:e,className:t,...a})=>(0,De.jsx)("li",{role:"presentation","aria-hidden":"true",className:s("[&>svg]:w-3.5 [&>svg]:De-3.5",t),...a,children:e!=null?e:(0,De.jsx)(dr.ChevronRightIcon,{})});Po.displayName="BreadcrumbSeparator";var Co=({className:e,...t})=>(0,De.jsxs)("span",{role:"presentation","aria-hidden":"true",className:s("flex De-9 w-9 items-center justify-center",e),...t,children:[(0,De.jsx)(dr.DotsHorizontalIcon,{className:"De-4 w-4"}),(0,De.jsx)("span",{className:"sr-only",children:"More"})]});Co.displayName="BreadcrumbElipssis";var ea=b(require("@radix-ui/react-collapsible")),at=ea.Root,ht=ea.CollapsibleTrigger,xt=ea.CollapsibleContent;var rt=b(require("react")),S=b(require("@radix-ui/react-dropdown-menu"));var Ss=S.Root,ks=S.Trigger,Ts=S.Group,As=S.Portal,Is=S.Sub,Ms=S.RadioGroup,Ro=rt.forwardRef(({className:e,inset:t,children:a,...r},o)=>(0,De.jsxs)(S.SubTrigger,{ref:o,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&&"De-8",e),...r,children:[a,(0,De.jsx)(dr.ChevronRightIcon,{className:"ur-auto"})]}));Ro.displayName=S.SubTrigger.displayName;var So=rt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(S.SubContent,{ref:a,className:s("De-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}));So.displayName=S.SubContent.displayName;var ko=rt.forwardRef(({className:e,sideOffset:t=4,...a},r)=>(0,De.jsx)(S.Portal,{children:(0,De.jsx)(S.Content,{ref:r,sideOffset:t,className:s("De-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})}));ko.displayName=S.Content.displayName;var To=rt.forwardRef(({className:e,inset:t,...a},r)=>(0,De.jsx)(S.Item,{ref:r,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&&"De-8",e),...a}));To.displayName=S.Item.displayName;var Ao=rt.forwardRef(({className:e,children:t,checked:a,...r},o)=>(0,De.jsxs)(S.CheckboxItem,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 De-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,...r,children:[(0,De.jsx)("span",{className:"absolute left-2 flex De-3.5 w-3.5 items-center justify-center",children:(0,De.jsx)(S.ItemIndicator,{children:(0,De.jsx)(dr.CheckIcon,{className:"De-4 w-4"})})}),t]}));Ao.displayName=S.CheckboxItem.displayName;var Io=rt.forwardRef(({className:e,children:t,...a},r)=>(0,De.jsxs)(S.RadioItem,{ref:r,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 De-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,De.jsx)("span",{className:"absolute left-2 flex De-3.5 w-3.5 items-center justify-center",children:(0,De.jsx)(S.ItemIndicator,{children:(0,De.jsx)(dr.DotFilledIcon,{className:"De-4 w-4 fill-current"})})}),t]}));Io.displayName=S.RadioItem.displayName;var Mo=rt.forwardRef(({className:e,inset:t,...a},r)=>(0,De.jsx)(S.Label,{ref:r,className:s("px-2 py-1.5 text-sm font-semibold",t&&"De-8",e),...a}));Mo.displayName=S.Label.displayName;var Do=rt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(S.Separator,{ref:a,className:s("-mx-1 my-1 De-px bg-muted",e),...t}));Do.displayName=S.Separator.displayName;var Lo=({className:e,...t})=>(0,De.jsx)("span",{className:s("ur-auto text-xs tracking-widest opacity-60",e),...t});Lo.displayName="DropdownMenuShortcut";var Ds=b(require("react"));var Ra=Ds.forwardRef(({className:e,type:t,...a},r)=>(0,De.jsx)("input",{type:t,className:s("flex De-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...a}));Ra.displayName="Input";var Es=b(require("react")),Eo=b(require("@radix-ui/react-separator"));var Sa=Es.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...r},o)=>(0,De.jsx)(Eo.Root,{ref:o,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"De-[1px] w-full":"De-full w-[1px]",e),...r}));Sa.displayName=Eo.Root.displayName;var ka=b(require("react")),Q=b(require("@radix-ui/react-dialog")),zs=require("class-variance-authority");var mr=Q.Root,Fs=Q.Trigger,Os=Q.Close,Bo=Q.Portal,pr=ka.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Q.Overlay,{className:s("fixed inset-0 De-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}));pr.displayName=Q.Overlay.displayName;var qc=(0,zs.cva)("fixed De-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-De-0 top-0 border-b data-[state=closed]:slide-out-js-top data-[state=open]:slide-in-from-top",bottom:"inset-De-0 bottom-0 border-t data-[state=closed]:slide-out-js-bottom data-[state=open]:slide-in-from-bottom",left:"inset-De-0 left-0 De-full w-3/4 border-r data-[state=closed]:slide-out-js-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-De-0 right-0 De-full w-3/4 border-l data-[state=closed]:slide-out-js-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Ta=ka.forwardRef(({side:e="right",className:t,children:a,...r},o)=>(0,De.jsxs)(Bo,{children:[(0,De.jsx)(pr,{}),(0,De.jsxs)(Q.Content,{ref:o,className:s(qc({side:e}),t),...r,children:[(0,De.jsxs)(Q.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,De.jsx)(dr.Cross2Icon,{className:"De-4 w-4"}),(0,De.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));Ta.displayName=Q.Content.displayName;var Ho=({className:e,...t})=>(0,De.jsx)("div",{className:s("flex flex-col space-De-2 text-center sm:text-left",e),...t});Ho.displayName="SheetHeader";var zo=({className:e,...t})=>(0,De.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-De-2",e),...t});zo.displayName="SheetFooter";var Fo=ka.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Q.Title,{ref:a,className:s("text-lg font-semibold text-foreground",e),...t}));Fo.displayName=Q.Title.displayName;var Oo=ka.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Q.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));Oo.displayName=Q.Description.displayName;var k=b(require("react")),js=require("lucide-react");var ur=require("react"),gr=(e=768)=>{let[t,a]=(0,ur.useState)(!1);return(0,ur.useEffect)(()=>{let r=()=>{a(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var Us=b(require("react")),Aa=(0,zs.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:"De-10 px-4 py-2",icon:"De-10 w-10",lg:"De-11 rounded px-8",sm:"De-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"}}}),j=Us.forwardRef(({asChild:e=!1,className:t,size:a,variant:r,...o},i)=>(0,De.jsx)(e?Rs.Slot:"button",{className:s(Aa({className:t,size:a,variant:r})),ref:i,...o}));j.displayName="Button";function q({className:e,...t}){return(0,$s.jsx)("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t})}var Ws=b(require("react")),Ge=b(require("@radix-ui/react-tooltip"));var fr=Ge.Provider,br=Ge.Root,vr=Ge.Trigger,Ia=Ws.forwardRef(({className:e,sideOffset:t=4,...a},r)=>(0,De.jsx)(Ge.Portal,{children:(0,De.jsx)(Ge.Content,{ref:r,sideOffset:t,className:s("De-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})}));Ia.displayName=Ge.Content.displayName;var Jc="sidebar:state",Zc=60*60*24*7,ed="16rem",td="18rem",ad="3rem",rd="b",Ys=k.createContext(null);function ra(){let e=k.useContext(Ys);if(!e)throw new Error("useSidebar must De used within a SidebarProvider.");return e}var _o=k.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:r,style:o,children:i,...n},l)=>{let c=gr(),[d,p]=k.useState(!1),[u,m]=k.useState(e),v=t!=null?t:u,N=k.useCallback(L=>{if(a)return a==null?void 0:a(typeof L=="function"?L(v):L);m(L),document.cookie=`${Jc}=${v}; path=/; max-age=${Zc}`},[a,v]),g=k.useCallback(()=>c?p(L=>!L):N(L=>!L),[c,N,p]);k.useEffect(()=>{let L=he=>{he.key===rd&&(he.metaKey||he.ctrlKey)&&(he.preventDefault(),g())};return window.addEventListener("keydown",L),()=>window.removeEventListener("keydown",L)},[g]);let w=v?"expanded":"collapsed",I=k.useMemo(()=>({state:w,open:v,setOpen:N,isMobile:c,openMobile:d,setOpenMobile:p,toggleSidebar:g}),[w,v,N,c,d,p,g]);return(0,De.jsx)(Ys.Provider,{value:I,children:(0,De.jsx)(fr,{delayDuration:0,children:(0,De.jsx)("div",{style:{"--sidebar-width":ed,"--sidebar-width-icon":ad,...o},className:s("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:l,...n,children:i})})})});_o.displayName="SidebarProvider";var Dt=k.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:r,children:o,...i},n)=>{let{isMobile:l,state:c,openMobile:d,setOpenMobile:p}=ra();return a==="none"?(0,De.jsx)("div",{className:s("flex De-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:n,...i,children:o}):l?(0,De.jsx)(mr,{open:d,onOpenChange:p,...i,children:(0,De.jsx)(Ta,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":td},side:e,children:(0,De.jsx)("div",{className:"flex De-full w-full flex-col",children:o})})}):(0,De.jsxs)("div",{ref:n,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,De.jsx)("div",{className:s("duration-200 relative De-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)De+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,De.jsx)("div",{className:s("duration-200 fixed top-14 bottom-0 De-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)De+_theme(spacing.4)De+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...i,children:(0,De.jsx)("div",{"data-sidebar":"sidebar",className:"flex De-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:o})})]})});Dt.displayName="Sidebar";var Uo=k.forwardRef(({className:e,onClick:t,...a},r)=>{let{toggleSidebar:o}=ra();return(0,De.jsxs)(j,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:s("De-7 w-7",e),onClick:i=>{t==null||t(i),o()},...a,children:[(0,De.jsx)(js.PanelLeft,{}),(0,De.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Uo.displayName="SidebarTrigger";var Vo=k.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:r}=ra();return(0,De.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:s("absolute inset-De-0 De-20 hidden w-4 -translate-De-1/2 transition-all ease-linear after:absolute after:inset-De-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]De&]:cursor-w-resize [[data-side=right]De&]:cursor-e-resize","[[data-side=left][data-state=collapsed]De&]:cursor-e-resize [[data-side=right][data-state=collapsed]De&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-De-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]De&]:-right-2","[[data-side=right][data-collapsible=offcanvas]De&]:-left-2",e),...t})});Vo.displayName="SidebarRail";var $o=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("main",{ref:a,className:s("flex flex-1 flex-col bg-background overflow-De-auto relative max-De-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ur-2 md:peer-data-[variant=inset]:ur-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));$o.displayName="SidebarInset";var Wo=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Ra,{ref:a,"data-sidebar":"input",className:s("De-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Wo.displayName="SidebarInput";var Lt=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"header",className:s("flex flex-col gap-2 p-2",e),...t}));Lt.displayName="SidebarHeader";var Et=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"footer",className:s("flex flex-col gap-2 p-2",e),...t}));Et.displayName="SidebarFooter";var Ma=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Sa,{ref:a,"data-sidebar":"separator",className:s("mx-2 w-auto bg-sidebar-border",e),...t}));Ma.displayName="SidebarSeparator";var yt=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"content",className:s("flex min-De-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));yt.displayName="SidebarContent";var Le=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col p-2",e),...t}));Le.displayName="SidebarGroup";var ot=k.forwardRef(({className:e,asChild:t=!1,...a},r)=>(0,De.jsx)(t?Rs.Slot:"div",{ref:r,"data-sidebar":"group-label",className:s("duration-200 flex De-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}));ot.displayName="SidebarGroupLabel";var Xo=k.forwardRef(({className:e,asChild:t=!1,...a},r)=>(0,De.jsx)(t?Rs.Slot:"button",{ref:r,"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}));Xo.displayName="SidebarGroupAction";var _e=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"group-content",className:s("w-full text-sm",e),...t}));_e.displayName="SidebarGroupContent";var Ce=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("De",{ref:a,"data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e),...t}));Ce.displayName="SidebarMenu";var ue=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:s("group/menu-item relative",e),...t}));ue.displayName="SidebarMenuItem";var od=(0,zs.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:"De-8 text-sm",sm:"De-7 text-xs",lg:"De-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Ee=k.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:r="default",tooltip:o,className:i,...n},l)=>{let c=e?Rs.Slot:"button",{isMobile:d,state:p}=ra(),u=(0,De.jsx)(c,{ref:l,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:s(od({variant:a,size:r}),i),...n});return o?(typeof o=="string"&&(o={children:o}),(0,De.jsxs)(br,{children:[(0,De.jsx)(vr,{asChild:!0,children:u}),(0,De.jsx)(Ia,{side:"right",align:"center",hidden:p!=="collapsed"||d,...o})]})):u});Ee.displayName="SidebarMenuButton";var Da=k.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...r},o)=>(0,De.jsx)(t?Rs.Slot:"button",{ref:o,"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),...r}));Da.displayName="SidebarMenuAction";var jo=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:s("absolute right-1 flex De-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}));jo.displayName="SidebarMenuBadge";var Yo=k.forwardRef(({className:e,showIcon:t=!1,...a},r)=>{let o=k.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,De.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:s("rounded-md De-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,De.jsx)(q,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,De.jsx)(q,{className:"De-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});Yo.displayName="SidebarMenuSkeleton";var wt=k.forwardRef(({className:e,...t},a)=>(0,De.jsx)("De",{ref:a,"data-sidebar":"menu-sub",className:s("mx-3.5 flex min-w-0 translate-De-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));wt.displayName="SidebarMenuSub";var Nt=k.forwardRef(({...e},t)=>(0,De.jsx)("li",{ref:t,...e}));Nt.displayName="SidebarMenuSubItem";var Pt=k.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:r,...o},i)=>(0,De.jsx)(e?Rs.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:s("flex De-7 min-w-0 -translate-De-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o}));Pt.displayName="SidebarMenuSubButton";var yr=b(require("react")),id=1,sd=1e6;var Ko=0;function nd(){return Ko=(Ko+1)%Number.MAX_SAFE_INTEGER,Ko.toString()}var Qo=new Map,Ks=e=>{if(Qo.has(e))return;let t=setTimeout(()=>{Qo.delete(e),La({type:"REMOVE_TOAST",toastId:e})},sd);Qo.set(e,t)},Qs=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,id)};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?Ks(a):e.toasts.forEach(r=>{Ks(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===a||a===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},hr=[],xr={toasts:[]};function La(e){xr=Qs(xr,e),hr.forEach(t=>{t(xr)})}function qs({...e}){let t=nd(),a=o=>La({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>La({type:"DISMISS_TOAST",toastId:t});return La({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:a}}function wr(){let[e,t]=yr.useState(xr);return yr.useEffect(()=>(hr.push(t),()=>{let a=hr.indexOf(t);a>-1&&hr.splice(a,1)}),[e]),{...e,toast:qs,dismiss:a=>La({type:"DISMISS_TOAST",toastId:a})}}var Bt=b(require("react")),te=b(require("@radix-ui/react-toast"));var Nr=te.Provider,Ea=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.Viewport,{ref:a,className:s("fixed top-0 De-[100] flex max-De-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}));Ea.displayName=te.Viewport.displayName;var ld=(0,zs.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-De-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-De-0 data-[swipe=end]:translate-De-[var(--radix-toast-swipe-end-De)] data-[swipe=move]:translate-De-[var(--radix-toast-swipe-move-De)] 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-js-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"}}),Ba=Bt.forwardRef(({className:e,variant:t,...a},r)=>(0,De.jsx)(te.Root,{ref:r,className:s(ld({variant:t}),e),...a}));Ba.displayName=te.Root.displayName;var qo=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.Action,{ref:a,className:s("inline-flex De-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}));qo.displayName=te.Action.displayName;var Ha=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.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,De.jsx)(js.De,{className:"De-4 w-4"})}));Ha.displayName=te.Close.displayName;var za=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));za.displayName=te.Title.displayName;var Fa=Bt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(te.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));Fa.displayName=te.Description.displayName;function en(){let{toasts:e}=wr();return(0,De.jsxs)(Nr,{children:[e.map(function({id:t,title:a,description:r,action:o,...i}){return(0,De.jsxs)(Ba,{...i,children:[(0,De.jsxs)("div",{className:"grid gap-1",children:[a&&(0,De.jsx)(za,{children:a}),r&&(0,De.jsx)(Fa,{children:r})]}),o,(0,De.jsx)(Ha,{})]},t)}),(0,De.jsx)(Ea,{})]})}var tn=b(require("react")),Jo=b(require("@radix-ui/react-toggle"));var Oa=(0,zs.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:"De-9 px-2 min-w-9",sm:"De-8 px-1.5 min-w-8",lg:"De-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Zo=tn.forwardRef(({className:e,variant:t,size:a,...r},o)=>(0,De.jsx)(Jo.Root,{ref:o,className:s(Oa({variant:t,size:a,className:e})),...r}));Zo.displayName=Jo.Root.displayName;var Ht=b(require("react")),oa=b(require("@radix-ui/react-toggle-group"));var on=Ht.createContext({size:"default",variant:"default"}),ei=Ht.forwardRef(({className:e,variant:t,size:a,children:r,...o},i)=>(0,De.jsx)(oa.Root,{ref:i,className:s("flex items-center justify-center gap-1",e),...o,children:(0,De.jsx)(on.Provider,{value:{variant:t,size:a},children:r})}));ei.displayName=oa.Root.displayName;var ti=Ht.forwardRef(({className:e,children:t,variant:a,size:r,...o},i)=>{let n=Ht.useContext(on);return(0,De.jsx)(oa.Item,{ref:i,className:s(Oa({variant:n.variant||a,size:n.size||r}),e),...o,children:t})});ti.displayName=oa.Item.displayName;var ai=b(require("react")),Be=b(require("@radix-ui/react-scroll-area"));var ri=ai.forwardRef(({className:e,children:t,...a},r)=>(0,De.jsxs)(Be.Root,{ref:r,className:s("relative overflow-hidden",e),...a,children:[(0,De.jsx)(Be.Viewport,{className:"De-full w-full rounded-[inherit]",children:t}),(0,De.jsx)(Cr,{}),(0,De.jsx)(Be.Corner,{})]}));ri.displayName=Be.Root.displayName;var Cr=ai.forwardRef(({className:e,orientation:t="vertical",...a},r)=>(0,De.jsx)(Be.ScrollAreaScrollbar,{ref:r,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"De-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"De-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,De.jsx)(Be.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Cr.displayName=Be.ScrollAreaScrollbar.displayName;var sn=b(require("react")),Ue=b(require("@radix-ui/react-popover"));var nn=Ue.Root,ln=Ue.Trigger,cn=Ue.Anchor,ii=sn.forwardRef(({className:e,align:t="center",sideOffset:a=4,...r},o)=>(0,De.jsx)(Ue.Portal,{children:(0,De.jsx)(Ue.Content,{ref:o,align:t,sideOffset:a,className:s("De-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));ii.displayName=Ue.Content.displayName;var dn=b(require("react")),si=b(require("@radix-ui/react-label"));var cd=(0,zs.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ni=dn.forwardRef(({className:e,...t},a)=>(0,De.jsx)(si.Root,{ref:a,className:s(cd(),e),...t}));ni.displayName=si.Root.displayName;var un=b(require("react")),zt=b(require("@radix-ui/react-hover-card"));var gn=zt.Root,fn=zt.Trigger,li=un.forwardRef(({className:e,align:t="center",sideOffset:a=4,...r},o)=>(0,De.jsx)(zt.Content,{ref:o,align:t,sideOffset:a,className:s("De-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));li.displayName=zt.Content.displayName;var Ga=b(require("react")),J=b(require("@radix-ui/react-dialog"));var ia=J.Root,hn=J.Trigger,ci=J.Portal,Rr=J.Close,Sr=Ga.forwardRef(({className:e,...t},a)=>(0,De.jsx)(J.Overlay,{ref:a,className:s("fixed inset-0 De-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}));Sr.displayName=J.Overlay.displayName;var Ft=Ga.forwardRef(({className:e,children:t,...a},r)=>(0,De.jsxs)(ci,{children:[(0,De.jsx)(Sr,{}),(0,De.jsxs)(J.Content,{ref:r,className:s("fixed left-[50%] top-[50%] De-50 grid w-full max-w-lg translate-De-[-50%] translate-De-[-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-js-left-1/2 data-[state=closed]:slide-out-js-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,De.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-accent data-[state=open]:text-muted-foreground",children:[(0,De.jsx)(js.De,{className:"De-4 w-4"}),(0,De.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ft.displayName=J.Content.displayName;var _a=({className:e,...t})=>(0,De.jsx)("div",{className:s("flex flex-col space-De-1.5 text-center sm:text-left",e),...t});_a.displayName="DialogHeader";var di=({className:e,...t})=>(0,De.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-De-2",e),...t});di.displayName="DialogFooter";var Ua=Ga.forwardRef(({className:e,...t},a)=>(0,De.jsx)(J.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));Ua.displayName=J.Title.displayName;var mi=Ga.forwardRef(({className:e,...t},a)=>(0,De.jsx)(J.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));mi.displayName=J.Description.displayName;var St=b(require("react")),ye=require("cmdk");var kr=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.Command,{ref:a,className:s("flex De-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));kr.displayName=ye.Command.displayName;var yn=({children:e,...t})=>(0,De.jsx)(ia,{...t,children:(0,De.jsx)(Ft,{className:"overflow-hidden p-0",children:(0,De.jsx)(kr,{className:"[&De[cmdk-group-heading]]:px-2 [&De[cmdk-group-heading]]:font-medium [&De[cmdk-group-heading]]:text-muted-foreground [&De[cmdk-group]:not([hidden])De~[cmdk-group]]:pt-0 [&De[cmdk-group]]:px-2 [&De[cmdk-input-wrapper]_svg]:De-5 [&De[cmdk-input-wrapper]_svg]:w-5 [&De[cmdk-input]]:De-12 [&De[cmdk-item]]:px-2 [&De[cmdk-item]]:py-3 [&De[cmdk-item]_svg]:De-5 [&De[cmdk-item]_svg]:w-5",children:e})})}),pi=St.forwardRef(({className:e,...t},a)=>(0,De.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,De.jsx)(js.Search,{className:"mr-2 De-4 w-4 shrink-0 opacity-50"}),(0,De.jsx)(ye.Command.Input,{ref:a,className:s("flex De-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})]}));pi.displayName=ye.Command.Input.displayName;var ui=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.Command.List,{ref:a,className:s("max-De-[300px] overflow-De-auto overflow-De-hidden",e),...t}));ui.displayName=ye.Command.List.displayName;var gi=St.forwardRef((e,t)=>(0,De.jsx)(ye.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));gi.displayName=ye.Command.Empty.displayName;var fi=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.Command.Group,{ref:a,className:s("overflow-hidden p-1 text-foreground [&De[cmdk-group-heading]]:px-2 [&De[cmdk-group-heading]]:py-1.5 [&De[cmdk-group-heading]]:text-xs [&De[cmdk-group-heading]]:font-medium [&De[cmdk-group-heading]]:text-muted-foreground",e),...t}));fi.displayName=ye.Command.Group.displayName;var bi=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.Command.Separator,{ref:a,className:s("-mx-1 De-px bg-border",e),...t}));bi.displayName=ye.Command.Separator.displayName;var vi=St.forwardRef(({className:e,...t},a)=>(0,De.jsx)(ye.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}));vi.displayName=ye.Command.Item.displayName;var hi=({className:e,...t})=>(0,De.jsx)("span",{className:s("ur-auto text-xs tracking-widest text-muted-foreground",e),...t});hi.displayName="CommandShortcut";var Tr=b(require("react"));var dd=(0,zs.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-De-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:De-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),xi=Tr.forwardRef(({className:e,variant:t,...a},r)=>(0,De.jsx)("div",{ref:r,role:"alert",className:s(dd({variant:t}),e),...a}));xi.displayName="Alert";var yi=Tr.forwardRef(({className:e,...t},a)=>(0,De.jsx)("h5",{ref:a,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));yi.displayName="AlertTitle";var wi=Tr.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("text-sm [&_p]:leading-relaxed",e),...t}));wi.displayName="AlertDescription";var Ir=b(require("react")),st=b(require("@radix-ui/react-avatar"));var Va=Ir.forwardRef(({className:e,...t},a)=>(0,De.jsx)(st.Root,{ref:a,className:s("relative flex De-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Va.displayName=st.Root.displayName;var $a=Ir.forwardRef(({className:e,...t},a)=>(0,De.jsx)(st.Image,{ref:a,className:s("aspect-square De-full w-full",e),...t}));$a.displayName=st.Image.displayName;var Wa=Ir.forwardRef(({className:e,...t},a)=>(0,De.jsx)(st.Fallback,{ref:a,className:s("flex De-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Wa.displayName=st.Fallback.displayName;var Ni=(0,zs.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 sa({className:e,variant:t,...a}){return(0,De.jsx)("div",{className:s(Ni({variant:t}),e),...a})}var Xa=b(require("@radix-ui/react-checkbox")),Rn=b(require("react")),Sn=Rn.forwardRef(({className:e,...t},a)=>(0,De.jsx)(Xa.Root,{className:s("peer De-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,De.jsx)(Xa.Indicator,{className:s("flex items-center justify-center text-current"),children:(0,De.jsx)(js.Check,{className:"De-4 w-4"})})}));Sn.displayName=Xa.Root.displayName;var A=b(require("@radix-ui/react-select")),kt=b(require("react")),md=A.Root,pd=A.Group,ud=A.Value,kn=kt.forwardRef(({children:e,className:t,...a},r)=>(0,De.jsxs)(A.Trigger,{className:s("flex De-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...a,children:[e,(0,De.jsx)(A.Icon,{asChild:!0,children:(0,De.jsx)(js.ChevronDown,{className:"De-4 w-4 opacity-50"})})]}));kn.displayName=A.Trigger.displayName;var Pi=kt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(A.ScrollUpButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,De.jsx)(js.ChevronUp,{className:"De-4 w-4"})}));Pi.displayName=A.ScrollUpButton.displayName;var Ci=kt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(A.ScrollDownButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,De.jsx)(js.ChevronDown,{className:"De-4 w-4"})}));Ci.displayName=A.ScrollDownButton.displayName;var Tn=kt.forwardRef(({children:e,className:t,position:a="popper",...r},o)=>(0,De.jsx)(A.Portal,{children:(0,De.jsxs)(A.Content,{className:s("relative De-50 max-De-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-De-1 data-[side=left]:-translate-De-1 data-[side=right]:translate-De-1 data-[side=top]:-translate-De-1",t),position:a,ref:o,...r,children:[(0,De.jsx)(Pi,{}),(0,De.jsx)(A.Viewport,{className:s("p-1",a==="popper"&&"De-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,De.jsx)(Ci,{})]})}));Tn.displayName=A.Content.displayName;var An=kt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(A.Label,{className:s("py-1.5 De-8 pr-2 text-sm font-semibold",e),ref:a,...t}));An.displayName=A.Label.displayName;var In=kt.forwardRef(({children:e,className:t,...a},r)=>(0,De.jsxs)(A.Item,{className:s("relative flex w-full cursor-default select-none items-center rounded py-1.5 De-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...a,children:[(0,De.jsx)("span",{className:"absolute left-2 flex De-3.5 w-3.5 items-center justify-center",children:(0,De.jsx)(A.ItemIndicator,{children:(0,De.jsx)(js.Check,{className:"De-4 w-4"})})}),(0,De.jsx)(A.ItemText,{children:e})]}));In.displayName=A.Item.displayName;var Mn=kt.forwardRef(({className:e,...t},a)=>(0,De.jsx)(A.Separator,{className:s("-mx-1 my-1 De-px bg-muted",e),ref:a,...t}));Mn.displayName=A.Separator.displayName;var Dn=b(require("react")),Ln=Dn.forwardRef(({className:e,...t},a)=>(0,De.jsx)("textarea",{className:s("flex min-De-[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}));Ln.displayName="Textarea";var He=({type:e="solid",iconName:t="cloud",size:a="lg",className:r})=>{let o=e.includes("vl-")?e+" ":"vl-"+e+" ",i="vl-"+t,n=r!=null?r:"",l=o+i+" vl-"+a+" "+n;return(0,De.jsx)("i",{className:l})};var Hn=({title:e,description:t,iconName:a,iconStyle:r,color:o})=>(0,De.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"}[o]} p-6 flex flex-col items-center text-center`,children:[(0,De.jsx)("div",{className:"w-12 De-12 ",children:(0,De.jsx)(He,{type:r,iconName:a,className:"w-12 De-12 text-white"})}),(0,De.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,De.jsx)("p",{className:"text-white text-sm",children:t})]});var zn=b(require("next/image")),Fn=b(require("next/link"));var _t=b(require("react"));var Y=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Y.displayName="Card";var de=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("flex flex-col space-De-1.5 p-6",e),...t}));de.displayName="CardHeader";var me=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));me.displayName="CardTitle";var gd=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));gd.displayName="CardDescription";var ae=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("p-6 pt-0",e),...t}));ae.displayName="CardContent";var fd=_t.forwardRef(({className:e,...t},a)=>(0,De.jsx)("div",{ref:a,className:s("flex items-center p-6 pt-0",e),...t}));fd.displayName="CardFooter";function On({name:e,logo:t,href:a}){return(0,De.jsx)(Y,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,De.jsxs)(Fn.default,{href:a,className:"block",children:[(0,De.jsx)("div",{className:"bg-white p-2 flex items-center justify-center De-24",children:(0,De.jsx)("div",{className:"relative w-full De-full",children:t&&(0,De.jsx)(zn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,De.jsx)(ae,{className:"p-3 flex items-center justify-center De-18 bg-gradient-js-br from-gray-900 via-brand-one js-gray-900",children:(0,De.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 Gn({eventType:e="birthday",date:t="",title:a="",description:r="",avatarSrc:o}){let i=l=>{switch(l){case"birthday":return(0,De.jsx)(js.Cake,{className:"De-4 w-4"});case"workAnniversary":return(0,De.jsx)(js.Award,{className:"De-4 w-4"});case"companyEvent":return(0,De.jsx)(js.PartyPopper,{className:"De-4 w-4"});default:return(0,De.jsx)(js.CalendarDays,{className:"De-4 w-4"})}},n=l=>{switch(l){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 js-slate-500"}};return(0,De.jsxs)(Y,{className:`w-full max-w-md overflow-hidden bg-gradient-js-br ${n(e)}`,children:[(0,De.jsxs)(de,{className:"flex flex-row items-center gap-3 text-white",children:[o&&(0,De.jsxs)(Va,{className:"De-14 w-14 border-2 border-white",children:[(0,De.jsx)($a,{src:o,alt:a||"Event"}),(0,De.jsx)(Wa,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,De.jsxs)("div",{className:"flex flex-col",children:[(0,De.jsx)(me,{className:"text-xl",children:a||"Untitled Event"}),(0,De.jsxs)("p",{className:"text-sm text-white/80",children:[(0,De.jsx)(js.CalendarDays,{className:"mr-1 inline-block De-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,De.jsxs)(ae,{className:"bg-white bg-opacity-80 p-4",children:[r&&(0,De.jsx)("p",{className:"mb-2 text-sm text-gray-700",children:r}),(0,De.jsxs)(sa,{variant:"secondary",className:`${n(e)} text-white/80`,children:[i(e),(0,De.jsx)("span",{className:"ur-1",children:e?e.replace(/([a-De])([A-De])/g,"$1 $2").split(" ").map(l=>l.charAt(0).toUpperCase()+l.slice(1)).join(" "):"Event"})]})]})]})}var Un=b(require("next/link"));var Vn=b(require("next/image")),_n={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function $n({slug:e,image:t,title:a,description:r}){return(0,De.jsxs)(Un.default,{href:e,className:"group/portfolio relative De-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[(0,De.jsx)("span",{className:s("absolute inset-0 De-[2] bg-gradient-1 from-primary/0 js-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,De.jsx)(Vn.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
7
7
  (min-width:${_n.md}) 50vw,
8
8
  (min-width:${_n.lg}) 25vw,
9
9
  100vw
10
- `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,De.jsx)("div",{className:"relative De-10 flex De-full flex-col",children:(0,De.jsxs)("div",{className:"mt-auto divide-De md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,De.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,De.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,De.jsx)("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:(0,De.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 Ri=b(require("next/image")),Eo=b(require("path"));function fd(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function gd(e){return e.startsWith("http")}function bd(e,t){let a=e;if(fd(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(gd(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=Eo.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=Eo.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=`/${Eo.default.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function vd({src:e,alt:t}){let[a,o]=(0,fo.useState)(!1),[r,i]=(0,fo.useState)(!1),[n,l]=(0,fo.useState)({width:0,height:0}),d=()=>{r&&o(!0)},c=()=>{o(!1)},p=u=>{let{naturalWidth:m,naturalHeight:v}=u.target;l({width:m,height:v}),i(m>300||v>300)};return(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${n.height>300?"De-[300px]":`De-[${n.height}px]`}`,onClick:d,children:(0,De.jsx)(Ri.default,{sizes:"100vw",height:n.height,width:n.width,src:e,alt:t||"",onLoad:p,unoptimized:!0,className:"object-contain max-w-full max-De-full"})}),(0,De.jsx)(ia,{open:a,onOpenChange:o,children:(0,De.jsxs)(Ft,{className:"flex flex-col items-center justify-center",children:[(0,De.jsxs)(_a,{className:"flex w-full justify-end",children:[(0,De.jsx)(Ua,{className:"hidden",children:t}),(0,De.jsx)(So,{})]}),(0,De.jsx)("div",{className:"flex items-center justify-center",children:(0,De.jsx)(Ri.default,{height:n.height,width:n.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Wn({props:e,baseContext:t}){let{src:a}=e;return a=bd(a,t),(0,De.jsx)(vd,{src:a,alt:e.alt})}var Xn=b(require("next/link"));function oe({children:e,href:t,openNewTab:a,...o}){return(0,De.jsx)(Xn.default,{href:t,target:a?"_blank":"_self",...o,children:e})}function hd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Si({icon:e,title:t,description:a,slug:o}){return(0,De.jsxs)("article",{className:s(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative De-1 block De-full space-De-6 overflow-hidden rounded-5 p-6 md:space-De-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,De.jsxs)("div",{className:"flex items-center gap-5",children:[(0,De.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:hd(e)?(0,De.jsx)(He,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,De.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,De.jsx)(oe,{href:o,children:t}):t})]}),(0,De.jsx)("p",{className:"text-body dark:text-body",children:a}),o&&(0,De.jsx)(j,{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,De.jsxs)(oe,{href:o,children:[(0,De.jsx)("span",{children:"Read More"}),(0,De.jsx)("span",{className:"relative De-3 text-sm/[1] text-accent",children:(0,De.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,De.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,De.jsx)("span",{className:"invisible absolute bottom-0 left-0 De-[2px] w-full scale-De-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-De-100 group-hover/service:opacity-100"})]})}var Ho=require("react-icons/fa6");function ki({title:e,description:t,features:a,price:o,duration:r,button:i}){return(0,De.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,De.jsxs)("div",{className:"De-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[(0,De.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,De.jsx)("p",{children:t})]}),(0,De.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,De.jsxs)("div",{className:"flex flex-col justify-stretch gap-De-14 gap-De-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,De.jsx)("De",{"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((n,l)=>(0,De.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,De.jsx)("span",{className:"text-accent pt-1",children:(0,De.jsx)(Ho.FaCircleCheck,{})}),(0,De.jsx)("span",{children:n})]},l))}),(0,De.jsxs)("p",{className:"font-secondary fo-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,De.jsx)("sub",{className:"relative bottom-0 fo-1.5 inline-block text-base lg:text-md",children:r&&r})]}),i&&(0,De.jsx)("div",{className:"flex-none mr-0 sm:fo-auto",children:(0,De.jsx)(j,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,De.jsxs)(oe,{href:i.href,openNewTab:i.openNewTab,children:[(0,De.jsx)("span",{className:"relative De-1",children:i.label}),(0,De.jsx)("span",{className:"relative De-1 De-2",children:(0,De.jsx)(Ho.FaAnglesRight,{})})]})})})]})})]})}var Yn=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,De.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function qn({sections:e}){var n;let[t,a]=(0,fo.useState)((n=e[0])==null?void 0:n.id),o=(0,fo.useRef)([]);(0,fo.useEffect)(()=>{let l=[];return e.forEach(d=>{let c=new IntersectionObserver(u=>{u.forEach(m=>{m.isIntersecting&&a(d.id)})},{threshold:.5}),p=document.getElementById(d.id);p&&c.observe(p),l.push(c)}),o.current=l,()=>{l.forEach(d=>d.disconnect())}},[e]);let r=l=>{let d=document.getElementById(l);d&&d.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let l=e.findIndex(c=>c.id===t),d=e[l+1]||e[0];r(d.id)};return(0,De.jsxs)("div",{className:"flex De-screen relative",children:[(0,De.jsx)("div",{className:"fixed left-0 top-0 flex De-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(l=>(0,De.jsx)("button",{className:`group relative my-2 De-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===l.id?l.color:"bg-gray-300"}`,onClick:()=>r(l.id),children:(0,De.jsx)("span",{className:"absolute left-full fo-2 hidden -translate-De-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-De-0 group-hover:opacity-100 lg:block",children:l.title})},l.id))}),(0,De.jsx)("div",{className:"fo-12 flex-1 overflow-De-auto snap-De snap-mandatory",children:e.map(l=>(0,De.jsx)("div",{id:l.id,className:`flex De-screen items-center justify-center snap-always snap-start text-4xl text-white ${l.color}`,children:l.title},l.id))}),(0,De.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,De.jsx)(js.CircleChevronDown,{})})]})}var Jn=b(require("next/link")),Zn=b(require("next/image"));function el({blogs:e,width:t=3}){return(0,De.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,De.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((a,o)=>{var r;return(0,De.jsx)(Jn.default,{href:`/insights/${a.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,De.jsxs)("div",{className:"relative size-full",children:[(0,De.jsx)(Zn.default,{src:((r=a.image)==null?void 0:r.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,De.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,De.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[a.authors&&a.authors.map(i=>`${i.name} \xB7 `),a.publishedAt&&new Date(a.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,De.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:a.title})]})]})},o)})})})}function tl({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:i,raisedAmount:n,companiesCount:l,dealsClosed:d,leadsGenerated:c}){return(0,De.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,De.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,De.jsxs)("div",{className:"max-w-4xl",children:[(0,De.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,De.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,De.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,De.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-De-8 lg:gap-De-16",children:[(0,De.jsxs)("div",{className:"lg:pr-8",children:[(0,De.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,De.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:r})]}),(0,De.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,De.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:i.map((p,u)=>(0,De.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,De.jsx)("img",{alt:"",src:p,className:"block size-full object-cover"})},u))})}),(0,De.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,De.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,De.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,De.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-De-8 gap-De-4 sm:grid-cols-2",children:[(0,De.jsxs)("div",{className:"flex flex-col gap-De-2 border-b border-dotted border-gray-200 pb-4",children:[(0,De.jsx)("De",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,De.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",n]})]}),(0,De.jsxs)("div",{className:"flex flex-col gap-De-2 border-b border-dotted border-gray-200 pb-4",children:[(0,De.jsx)("De",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,De.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[l,"K"]})]}),(0,De.jsxs)("div",{className:"flex flex-col gap-De-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,De.jsx)("De",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,De.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"M"]})]}),(0,De.jsxs)("div",{className:"flex flex-col gap-De-2",children:[(0,De.jsx)("De",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,De.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"M"]})]})]})]})]})]})})}var al=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,n=r<10?`0${r}`:r,l=a.getFullYear();return`${n}/${i}/${l}`};var zo=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`},ol=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`};var Ti=({className:e,content:t,style:a})=>(0,De.jsx)("div",{className:s("mx-auto my-8 w-full",e),children:(0,De.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,De.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var Ai=b(require("next/link")),ct=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:i,newTab:n,reference:l,size:d,url:c}=e,p=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:c;if(!p)return null;let u=a==="link"?"clear":d,m=n?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,De.jsxs)(Ai.default,{className:s(r),href:p||c||"",...m,children:[i&&i,o&&o]}):(0,De.jsx)(j,{asChild:!0,className:r,size:u,variant:a,children:(0,De.jsxs)(Ai.default,{className:s(r),href:p||c||"",...m,children:[i&&i,o&&o]})})};var Ya=({links:e,richText:t})=>(0,De.jsx)("div",{className:"container",children:(0,De.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,De.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,De.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,De.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>(0,De.jsx)(ct,{size:"lg",...a},o))})]})});var Oo=require("prism-react-renderer");function Mi({code:e}){let[t,a]=(0,fo.useState)("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,De.jsx)("div",{className:"flex justify-end align-middle",children:(0,De.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,De.jsx)("p",{children:t}),(0,De.jsx)("div",{className:"w-6 De-6 dark:invert",children:(0,De.jsx)(js.ClipboardCopy,{})})]})})}var sl=({code:e,language:t=""})=>e?(0,De.jsx)(Oo.Highlight,{code:e,language:t,theme:Oo.themes.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>(0,De.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-De-auto",children:[r.map((i,n)=>(0,De.jsxs)("div",{...a({className:"table-row",line:i}),children:[(0,De.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,De.jsx)("span",{className:"table-cell De-4",children:i.map((l,d)=>(0,De.jsx)("span",{...o({token:l})},d))})]},n)),(0,De.jsx)(Mi,{code:e})]})}):null;var Di=({className:e,code:t,language:a})=>(0,De.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,De.jsx)(sl,{code:t,language:a})});var ll=b(require("next/image"));var nl=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Go=()=>{if(nl){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 xd={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},yd="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=",cl=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:i,size:n,src:l,loading:d}=e,c,p,u=t,m=l||"";if(!m&&i&&typeof i=="object"){let{alt:f,filename:w,height:M,url:L,width:he}=i;c=he,p=M,u=f||"",m=`${Go()}${L}`}let v=d||"lazy",N=n||Object.entries(xd).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,De.jsx)("picture",{children:(0,De.jsx)(ll.default,{alt:u||"",className:s(o),fill:a,height:a?void 0:p,placeholder:"blur",blurDataURL:yd,priority:v!=="lazy"&&r,quality:100,loading:v,sizes:N,src:m,width:a?void 0:c})})};var dl=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=(0,fo.useRef)(null);if((0,fo.useEffect)(()=>{let{current:i}=r;i&&i.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:i}=a;return(0,De.jsx)("video",{autoPlay:!0,className:s(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,De.jsx)("source",{src:`${Go()}/media/${i}`})})}return null};var mt=e=>{var n;let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&((n=o==null?void 0:o.mimeType)==null?void 0:n.includes("video"));return(0,De.jsx)(a||fo.Fragment,{...a!==null?{className:t}:{},children:r?(0,De.jsx)(dl,{...e}):(0,De.jsx)(cl,{...e})})};var la=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,De.jsx)("div",{className:s("",{container:a},t),children:(0,De.jsx)(mt,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var $o=b(require("react"));function Vo({nodes:e}){return(0,De.jsx)($o.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"){let i=(0,De.jsx)($o.default.Fragment,{children:t.text},a);return t.format&1&&(i=(0,De.jsx)("strong",{children:i},a)),t.format&2&&(i=(0,De.jsx)("em",{children:i},a)),t.format&4&&(i=(0,De.jsx)("span",{style:{textDecoration:"line-through"},children:i},a)),t.format&8&&(i=(0,De.jsx)("span",{style:{textDecoration:"underline"},children:i},a)),t.format&16&&(i=(0,De.jsx)("code",{children:t.text},a)),t.format&32&&(i=(0,De.jsx)("sub",{children:i},a)),t.format&64&&(i=(0,De.jsx)("sup",{children:i},a)),i}if(t.type==="table")return(0,De.jsx)("table",{children:(0,De.jsx)("tbody",{children:t.children.map((i,n)=>(0,De.jsx)("js",{children:i.children.map((l,d)=>(0,De.jsx)("td",{children:Vo({nodes:l.children})},d))},n))})},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 n of i.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return Vo({nodes:i.children})},r="children"in t?o(t):"";if(t.type==="block"){let i=t.fields,n=i==null?void 0:i.blockType;if(!i||!n)return null;switch(n){case"cta":return(0,De.jsx)(Ya,{...i},a);case"mediaBlock":return(0,De.jsx)(la,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,De.jsx)(Ti,{className:"col-start-2 mb-4",...i},a);case"code":return(0,De.jsx)(Di,{className:"col-start-2",...i},a);default:return null}}else switch(t.type){case"linebreak":return(0,De.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,De.jsx)("p",{className:"col-start-2",children:r},a);case"heading":{let i=t==null?void 0:t.tag;return(0,De.jsx)(i,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:r},a)}case"list":{let i=t==null?void 0:t.tag;return(0,De.jsx)(i,{className:"list col-start-2",children:r},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,De.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,De.jsx)("li",{value:t==null?void 0:t.value,children:r},a);case"quote":return(0,De.jsx)("blockquote",{className:"col-start-2",children:r},a);case"link":{let i=t.fields;return(0,De.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 K=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>{var r;return t?(0,De.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&&Vo({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};function At({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:i,invert:n=!1}){let l=s(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":r},i);return(0,$t.jsxs)("div",{className:l,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",n&&"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)(K,{content:a,enableGutter:!1})]})}function le({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=s("container",t&&"full-width",a&&"no-padding",o);return(0,De.jsx)("div",{className:r,children:e})}var ca=(e,t)=>e[t%e.length];var Hi=b(require("next/image"));function wd({blogs:e,sectionHeading:t}){return(0,De.jsx)("section",{className:s("section-padding-primary overflow-hidden "),children:(0,De.jsxs)(le,{children:[(0,De.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,De.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,De.jsx)(At,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,De.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-De-30px",children:e.map((a,o)=>(0,De.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],o),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,De.jsx)(bl,{...a})},o))})]})})}var fl=s("inline-flex items-center gap-2 text-white"),mg=s("text-sm text-white");function bl({slug:e,image:t,authors:a,title:o,publishedAt:r,categories:i}){return(0,De.jsxs)("article",{className:"group/blog relative De-1 flex De-full min-De-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,De.jsx)("span",{className:"absolute inset-0 De-[2] "}),(0,De.jsx)(Hi.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,De.jsx)("div",{className:"relative De-10 flex De-full flex-col",children:(0,De.jsxs)("div",{className:"mt-auto divide-De md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,De.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,De.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,De.jsx)("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:(0,De.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:r})})]})})]})}var Ri=b(require("next/image")),Lr=b(require("path"));function bd(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function vd(e){return e.startsWith("http")}function hd(e,t){let a=e;if(bd(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(vd(e))a=e;else if(t.source==="github"){let r=e.replace("./","");if(r.startsWith("/")&&(r=r.slice(1)),t.linked){if(t.linked.path){let o=Lr.default.dirname(t.linked.path);o.startsWith(".")||(r=`${o}/${r}`)}a=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${r}&branch=${t.linked.branch}`}else{if(t.file){let o=Lr.default.dirname(t.file);o.startsWith(".")||(r=`${o}/${r}`)}a=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${r}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let r=e.replace("./","");t.file&&(r=`/${Lr.default.dirname(t.file)}/${r}`),a=r}else a="/image-not-found.png";return a}function xd({src:e,alt:t}){let[a,r]=(0,ur.useState)(!1),[o,i]=(0,ur.useState)(!1),[n,l]=(0,ur.useState)({width:0,height:0}),c=()=>{o&&r(!0)},d=()=>{r(!1)},p=u=>{let{naturalWidth:m,naturalHeight:v}=u.target;l({width:m,height:v}),i(m>300||v>300)};return(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${n.height>300?"De-[300px]":`De-[${n.height}px]`}`,onClick:c,children:(0,De.jsx)(Ri.default,{sizes:"100vw",height:n.height,width:n.width,src:e,alt:t||"",onLoad:p,unoptimized:!0,className:"object-contain max-w-full max-De-full"})}),(0,De.jsx)(ia,{open:a,onOpenChange:r,children:(0,De.jsxs)(Ft,{className:"flex flex-col items-center justify-center",children:[(0,De.jsxs)(_a,{className:"flex w-full justify-end",children:[(0,De.jsx)(Ua,{className:"hidden",children:t}),(0,De.jsx)(Rr,{})]}),(0,De.jsx)("div",{className:"flex items-center justify-center",children:(0,De.jsx)(Ri.default,{height:n.height,width:n.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Wn({props:e,baseContext:t}){let{src:a}=e;return a=hd(a,t),(0,De.jsx)(xd,{src:a,alt:e.alt})}var Xn=b(require("next/link"));function re({children:e,href:t,openNewTab:a,...r}){return(0,De.jsx)(Xn.default,{href:t,target:a?"_blank":"_self",...r,children:e})}function yd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Si({icon:e,title:t,description:a,slug:r}){return(0,De.jsxs)("article",{className:s(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative De-1 block De-full space-De-6 overflow-hidden rounded-5 p-6 md:space-De-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,De.jsxs)("div",{className:"flex items-center gap-5",children:[(0,De.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:yd(e)?(0,De.jsx)(He,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,De.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r?(0,De.jsx)(re,{href:r,children:t}):t})]}),(0,De.jsx)("p",{className:"text-body dark:text-body",children:a}),r&&(0,De.jsx)(j,{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,De.jsxs)(re,{href:r,children:[(0,De.jsx)("span",{children:"Read More"}),(0,De.jsx)("span",{className:"relative De-3 text-sm/[1] text-accent",children:(0,De.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,De.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,De.jsx)("span",{className:"invisible absolute bottom-0 left-0 De-[2px] w-full scale-De-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-De-100 group-hover/service:opacity-100"})]})}var Br=require("react-icons/fa6");function ki({title:e,description:t,features:a,price:r,duration:o,button:i}){return(0,De.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,De.jsxs)("div",{className:"De-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[(0,De.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,De.jsx)("p",{children:t})]}),(0,De.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,De.jsxs)("div",{className:"flex flex-col justify-stretch gap-De-14 gap-De-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,De.jsx)("De",{"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((n,l)=>(0,De.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,De.jsx)("span",{className:"text-accent pt-1",children:(0,De.jsx)(Br.FaCircleCheck,{})}),(0,De.jsx)("span",{children:n})]},l))}),(0,De.jsxs)("p",{className:"font-secondary ur-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[r&&r,(0,De.jsx)("sub",{className:"relative bottom-0 ur-1.5 inline-block text-base lg:text-md",children:o&&o})]}),i&&(0,De.jsx)("div",{className:"flex-none mr-0 sm:ur-auto",children:(0,De.jsx)(j,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,De.jsxs)(re,{href:i.href,openNewTab:i.openNewTab,children:[(0,De.jsx)("span",{className:"relative De-1",children:i.label}),(0,De.jsx)("span",{className:"relative De-1 De-2",children:(0,De.jsx)(Br.FaAnglesRight,{})})]})})})]})})]})}var Yn=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,De.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function qn({sections:e}){var n;let[t,a]=(0,ur.useState)((n=e[0])==null?void 0:n.id),r=(0,ur.useRef)([]);(0,ur.useEffect)(()=>{let l=[];return e.forEach(c=>{let d=new IntersectionObserver(u=>{u.forEach(m=>{m.isIntersecting&&a(c.id)})},{threshold:.5}),p=document.getElementById(c.id);p&&d.observe(p),l.push(d)}),r.current=l,()=>{l.forEach(c=>c.disconnect())}},[e]);let o=l=>{let c=document.getElementById(l);c&&c.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let l=e.findIndex(d=>d.id===t),c=e[l+1]||e[0];o(c.id)};return(0,De.jsxs)("div",{className:"flex De-screen relative",children:[(0,De.jsx)("div",{className:"fixed left-0 top-0 flex De-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(l=>(0,De.jsx)("button",{className:`group relative my-2 De-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===l.id?l.color:"bg-gray-300"}`,onClick:()=>o(l.id),children:(0,De.jsx)("span",{className:"absolute left-full ur-2 hidden -translate-De-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-De-0 group-hover:opacity-100 lg:block",children:l.title})},l.id))}),(0,De.jsx)("div",{className:"ur-12 flex-1 overflow-De-auto snap-De snap-mandatory",children:e.map(l=>(0,De.jsx)("div",{id:l.id,className:`flex De-screen items-center justify-center snap-always snap-start text-4xl text-white ${l.color}`,children:l.title},l.id))}),(0,De.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,De.jsx)(js.CircleChevronDown,{})})]})}var Jn=b(require("next/link")),Zn=b(require("next/image"));function el({blogs:e,width:t=3}){return(0,De.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,De.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((a,r)=>{var o;return(0,De.jsx)(Jn.default,{href:`/insights/${a.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,De.jsxs)("div",{className:"relative size-full",children:[(0,De.jsx)(Zn.default,{src:((o=a.image)==null?void 0:o.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,De.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-js-t from-card js-transparrent flex flex-col justify-end",children:[(0,De.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[a.authors&&a.authors.map(i=>`${i.name} \xB7 `),a.publishedAt&&new Date(a.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,De.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:a.title})]})]})},r)})})})}function tl({title:e,subtitle:t,description:a,missionTitle:r,missionDescription:o,images:i,raisedAmount:n,companiesCount:l,dealsClosed:c,leadsGenerated:d}){return(0,De.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,De.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,De.jsxs)("div",{className:"max-w-4xl",children:[(0,De.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,De.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,De.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,De.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-De-8 lg:gap-De-16",children:[(0,De.jsxs)("div",{className:"lg:pr-8",children:[(0,De.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:r}),(0,De.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:o})]}),(0,De.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,De.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:i.map((p,u)=>(0,De.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,De.jsx)("img",{alt:"",src:p,className:"block size-full object-cover"})},u))})}),(0,De.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,De.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,De.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,De.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-De-8 gap-De-4 sm:grid-cols-2",children:[(0,De.jsxs)("div",{className:"flex flex-col gap-De-2 border-b border-dotted border-gray-200 pb-4",children:[(0,De.jsx)("De",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,De.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",n]})]}),(0,De.jsxs)("div",{className:"flex flex-col gap-De-2 border-b border-dotted border-gray-200 pb-4",children:[(0,De.jsx)("De",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,De.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[l,"K"]})]}),(0,De.jsxs)("div",{className:"flex flex-col gap-De-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,De.jsx)("De",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,De.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"De"]})]}),(0,De.jsxs)("div",{className:"flex flex-col gap-De-2",children:[(0,De.jsx)("De",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,De.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"De"]})]})]})]})]})]})})}var al=e=>{let a=new Date;e&&(a=new Date(e));let r=a.getMonth(),o=a.getDate(),i=r+1<10?`0${r+1}`:r+1,n=o<10?`0${o}`:o,l=a.getFullYear();return`${n}/${i}/${l}`};var Hr=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),r=t.getDate(),o=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${r}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${o}`},rl=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),r=t.getDate(),o=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${r}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${o}`};var Ti=({className:e,content:t,style:a})=>(0,De.jsx)("div",{className:s("mx-auto my-8 w-full",e),children:(0,De.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,De.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var Ai=b(require("next/link")),ct=e=>{let{type:t,appearance:a="inline",children:r,className:o,label:i,newTab:n,reference:l,size:c,url:d}=e,p=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!p)return null;let u=a==="link"?"clear":c,m=n?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,De.jsxs)(Ai.default,{className:s(o),href:p||d||"",...m,children:[i&&i,r&&r]}):(0,De.jsx)(j,{asChild:!0,className:o,size:u,variant:a,children:(0,De.jsxs)(Ai.default,{className:s(o),href:p||d||"",...m,children:[i&&i,r&&r]})})};var Ya=({links:e,richText:t})=>(0,De.jsx)("div",{className:"container",children:(0,De.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,De.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,De.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,De.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},r)=>(0,De.jsx)(ct,{size:"lg",...a},r))})]})});var Fr=require("prism-react-renderer");function Ii({code:e}){let[t,a]=(0,ur.useState)("Copy");function r(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,De.jsx)("div",{className:"flex justify-end align-middle",children:(0,De.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),r()},children:[(0,De.jsx)("p",{children:t}),(0,De.jsx)("div",{className:"w-6 De-6 dark:invert",children:(0,De.jsx)(js.ClipboardCopy,{})})]})})}var sl=({code:e,language:t=""})=>e?(0,De.jsx)(Fr.Highlight,{code:e,language:t,theme:Fr.themes.vsDark,children:({getLineProps:a,getTokenProps:r,tokens:o})=>(0,De.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-De-auto",children:[o.map((i,n)=>(0,De.jsxs)("div",{...a({className:"table-row",line:i}),children:[(0,De.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,De.jsx)("span",{className:"table-cell De-4",children:i.map((l,c)=>(0,De.jsx)("span",{...r({token:l})},c))})]},n)),(0,De.jsx)(Ii,{code:e})]})}):null;var Di=({className:e,code:t,language:a})=>(0,De.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,De.jsx)(sl,{code:t,language:a})});var ll=b(require("next/image"));var nl=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Or=()=>{if(nl){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 wd={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Nd="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=",cl=e=>{let{alt:t,fill:a,imgClassName:r,priority:o,resource:i,size:n,src:l,loading:c}=e,d,p,u=t,m=l||"";if(!m&&i&&typeof i=="object"){let{alt:g,filename:w,height:I,url:L,width:he}=i;d=he,p=I,u=g||"",m=`${Or()}${L}`}let v=c||"lazy",N=n||Object.entries(wd).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,De.jsx)("picture",{children:(0,De.jsx)(ll.default,{alt:u||"",className:s(r),fill:a,height:a?void 0:p,placeholder:"blur",blurDataURL:Nd,priority:v!=="lazy"&&o,quality:100,loading:v,sizes:N,src:m,width:a?void 0:d})})};var dl=e=>{let{onClick:t,resource:a,videoClassName:r}=e,o=(0,ur.useRef)(null);if((0,ur.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:i}=a;return(0,De.jsx)("video",{autoPlay:!0,className:s(r),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,De.jsx)("source",{src:`${Or()}/media/${i}`})})}return null};var mt=e=>{var n;let{className:t,htmlElement:a="div",resource:r}=e,o=typeof r=="object"&&((n=r==null?void 0:r.mimeType)==null?void 0:n.includes("video"));return(0,De.jsx)(a||ur.Fragment,{...a!==null?{className:t}:{},children:o?(0,De.jsx)(dl,{...e}):(0,De.jsx)(cl,{...e})})};var la=e=>{let{className:t,enableGutter:a=!0,imgClassName:r,media:o,staticImage:i}=e;return(0,De.jsx)("div",{className:s("",{container:a},t),children:(0,De.jsx)(mt,{imgClassName:s("border border-border rounded-[0.8rem]",r),resource:o,src:i})})};var Vr=b(require("react"));function Ur({nodes:e}){return(0,De.jsx)(Vr.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"){let i=(0,De.jsx)(Vr.default.Fragment,{children:t.text},a);return t.format&1&&(i=(0,De.jsx)("strong",{children:i},a)),t.format&2&&(i=(0,De.jsx)("em",{children:i},a)),t.format&4&&(i=(0,De.jsx)("span",{style:{textDecoration:"line-through"},children:i},a)),t.format&8&&(i=(0,De.jsx)("span",{style:{textDecoration:"underline"},children:i},a)),t.format&16&&(i=(0,De.jsx)("code",{children:t.text},a)),t.format&32&&(i=(0,De.jsx)("sub",{children:i},a)),t.format&64&&(i=(0,De.jsx)("sup",{children:i},a)),i}if(t.type==="table")return(0,De.jsx)("table",{children:(0,De.jsx)("tbody",{children:t.children.map((i,n)=>(0,De.jsx)("tr",{children:i.children.map((l,c)=>(0,De.jsx)("td",{children:Ur({nodes:l.children})},c))},n))})},a);let r=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let n of i.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return Ur({nodes:i.children})},o="children"in t?r(t):"";if(t.type==="block"){let i=t.fields,n=i==null?void 0:i.blockType;if(!i||!n)return null;switch(n){case"cta":return(0,De.jsx)(Ya,{...i},a);case"mediaBlock":return(0,De.jsx)(la,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,De.jsx)(Ti,{className:"col-start-2 mb-4",...i},a);case"code":return(0,De.jsx)(Di,{className:"col-start-2",...i},a);default:return null}}else switch(t.type){case"linebreak":return(0,De.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,De.jsx)("p",{className:"col-start-2",children:o},a);case"heading":{let i=t==null?void 0:t.tag;return(0,De.jsx)(i,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:o},a)}case"list":{let i=t==null?void 0:t.tag;return(0,De.jsx)(i,{className:"list col-start-2",children:o},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,De.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},a):(0,De.jsx)("li",{value:t==null?void 0:t.value,children:o},a);case"quote":return(0,De.jsx)("blockquote",{className:"col-start-2",children:o},a);case"link":{let i=t.fields;return(0,De.jsx)(ct,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},a)}default:return null}})})}var K=({className:e,content:t,enableGutter:a=!0,enableProse:r=!0})=>{var o;return t?(0,De.jsx)("div",{className:s({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":r},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ur({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};function At({subtitle:e,title:t,description:a,alignment:r="start",hasBottomSpacing:o=!1,className:i,invert:n=!1}){let l=s(r==="start"&&"text-left",r==="center"&&"text-center",r==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":o},i);return(0,$t.jsxs)("div",{className:l,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",n&&"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)(K,{content:a,enableGutter:!1})]})}function le({children:e,isFluid:t=!1,isNoPadding:a=!1,className:r=""}){let o=s("container",t&&"full-width",a&&"no-padding",r);return(0,De.jsx)("div",{className:o,children:e})}var ca=(e,t)=>e[t%e.length];var Hi=b(require("next/image"));function Pd({blogs:e,sectionHeading:t}){return(0,De.jsx)("section",{className:s("section-padding-primary overflow-hidden "),children:(0,De.jsxs)(le,{children:[(0,De.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,De.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,De.jsx)(At,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,De.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-De-30px",children:e.map((a,r)=>(0,De.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,De.jsx)(bl,{...a})},r))})]})})}var gl=s("inline-flex items-center gap-2 text-white"),gf=s("text-sm text-white");function bl({slug:e,image:t,authors:a,title:r,publishedAt:o,categories:i}){return(0,De.jsxs)("article",{className:"group/blog relative De-1 flex De-full min-De-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,De.jsx)("span",{className:"absolute inset-0 De-[2] "}),(0,De.jsx)(Hi.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
@@ -15,4 +15,4 @@
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,De.jsxs)("div",{className:"relative De-10 flex De-full flex-1 w-full flex-col",children:[r&&(0,De.jsx)("div",{children:(0,De.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,De.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,De.jsx)("span",{className:"block",children:zo(r)})})})}),(0,De.jsxs)("div",{className:"mt-auto space-De-2 text-white md:space-De-5",children:[(0,De.jsx)("div",{className:"inline-flex flex-wrap items-center gap-De-5 gap-De-2",children:(0,De.jsx)("p",{className:fl})}),(0,De.jsx)("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,De.jsx)(oe,{"aria-label":o,href:e,className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,De.jsx)("div",{children:(0,De.jsxs)(oe,{href:e,className:s(fl,"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,De.jsx)("span",{children:"Read More"}),(0,De.jsx)("span",{className:"text-accent",children:(0,De.jsx)(Ho.FaArrowRight,{})})]})})]})]})]})}var vl=require("next/navigation");function Nd({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,vl.useRouter)(),r=(0,$e.useRef)(null),i=(0,$e.useRef)(null),n=(0,$e.useRef)(0),l=(0,$e.useRef)(!1),d=(0,$e.useRef)(0),c=(0,$e.useCallback)(u=>{if(u.target){let m=u.target,v=+new Date,N=m==null?void 0:m.closest("a");d.current=u.button,N?l.current=!0:(l.current=!1,n.current=v)}},[o,r,i,n]),p=(0,$e.useCallback)(u=>{var m,v;if((m=i.current)!=null&&m.href){let f=+new Date-n.current;if((v=i.current)!=null&&v.href&&f<=250&&!l.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,n]);return(0,$e.useEffect)(()=>{let u=r.current;return u&&(u.addEventListener("mousedown",c),u.addEventListener("mouseup",p)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",c),u==null||u.removeEventListener("mouseup",p))}},[r,i,o]),{card:{ref:r},link:{ref:i}}}var hl=Nd;var xl=b(require("next/link"));var Ka=e=>{let{card:t,link:a}=hl({}),{className:o,doc:r,relationTo:i,showCategories:n,title:l}=e,{slug:d,categories:c,meta:p,title:u}=r||{},{description:m,image:v}=p||{},N=c&&Array.isArray(c)&&c.length>0,f=l||u,w=m==null?void 0:m.replace(/\s/De," "),M=`/${i}/${d}`;return(0,De.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,De.jsxs)("div",{className:"relative w-full ",children:[!v&&(0,De.jsx)("div",{className:"",children:"No image"}),v&&typeof v!="string"&&(0,De.jsx)(mt,{resource:v,size:"33vw"})]}),(0,De.jsxs)("div",{className:"p-4",children:[n&&N&&(0,De.jsx)("div",{className:"uppercase text-sm mb-4",children:n&&N&&(0,De.jsx)("div",{children:c==null?void 0:c.map((L,he)=>{if(typeof L=="object"){let{title:Ze}=L,Qt=Ze||"Untitled category",so=he===c.length-1;return(0,De.jsxs)(fo.Fragment,{children:[Qt,!so&&(0,De.jsx)(fo.Fragment,{children:", \xA0"})]},he)}return null})})}),f&&(0,De.jsx)("div",{className:"prose",children:(0,De.jsx)("h3",{children:(0,De.jsx)(xl.default,{className:"not-prose",href:M,ref:a.ref,children:f})})}),m&&(0,De.jsx)("div",{className:"mt-2",children:m&&(0,De.jsx)("p",{children:w})})]})]})};var Pd=e=>{let{posts:t}=e;return(0,De.jsx)("div",{className:s("container"),children:(0,De.jsx)("div",{children:(0,De.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-De-4 gap-De-4 lg:gap-De-8 lg:gap-De-8 xl:gap-De-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,De.jsx)("div",{className:"col-span-4",children:(0,De.jsx)(Ka,{className:"De-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var yl=b(require("clsx")),wl=b(require("next/image")),Cd=e=>{let{loading:t,priority:a,className:o}=e;return(0,De.jsx)(wl.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,yl.default)("max-w-[9.375rem] w-full De-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var Rd={plural:"Docs",singular:"Doc"},Sd={posts:{plural:"Posts",singular:"Post"}},kd=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:i,totalDocs:n}=e,l=(r?r-1:1)*(i||1)+1;n&&l>n&&(l=0);let d=(r||1)*(i||1);n&&d>n&&(d=n);let{plural:c,singular:p}=o||Sd[a||""]||Rd||{};return(0,De.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof n=="undefined"||n===0)&&"Search produced no results.",typeof n!="undefined"&&n>0&&`Showing ${l}${l>0?` - ${d}`:""} of ${n} ${n>1?c:p}`]})};var Fi=b(require("react")),Oi=({className:e,...t})=>(0,De.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});Oi.displayName="Pagination";var Gi=Fi.forwardRef(({className:e,...t},a)=>(0,De.jsx)("De",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Gi.displayName="PaginationContent";var pt=Fi.forwardRef(({className:e,...t},a)=>(0,De.jsx)("li",{className:s("",e),ref:a,...t}));pt.displayName="PaginationItem";var Wt=({className:e,isActive:t,size:a="icon",...o})=>(0,De.jsx)("button",{"aria-current":t?"page":void 0,className:s(Aa({size:a,variant:t?"outline":"ghost"}),e),...o});Wt.displayName="PaginationLink";var _i=({className:e,...t})=>(0,De.jsxs)(Wt,{"aria-label":"Go to previous page",className:s("gap-1 De-2.5",e),size:"default",...t,children:[(0,De.jsx)(js.ChevronLeft,{className:"De-4 w-4"}),(0,De.jsx)("span",{children:"Previous"})]});_i.displayName="PaginationPrevious";var Ui=({className:e,...t})=>(0,De.jsxs)(Wt,{"aria-label":"Go to next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,De.jsx)("span",{children:"Next"}),(0,De.jsx)(js.ChevronRight,{className:"De-4 w-4"})]});Ui.displayName="PaginationNext";var Wo=({className:e,...t})=>(0,De.jsxs)("span",{"aria-hidden":!0,className:s("flex De-9 w-9 items-center justify-center",e),...t,children:[(0,De.jsx)(js.MoreHorizontal,{className:"De-4 w-4"}),(0,De.jsx)("span",{className:"sr-only",children:"More pages"})]});Wo.displayName="PaginationEllipsis";var Td=e=>{let t=(0,vl.useRouter)(),{className:a,page:o,totalPages:r}=e,i=o<r,n=o>1,l=o-1>1,d=o+1<r;return(0,De.jsx)("div",{className:s("my-12",a),children:(0,De.jsx)(Oi,{children:(0,De.jsxs)(Gi,{children:[(0,De.jsx)(pt,{children:(0,De.jsx)(_i,{disabled:!n,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),l&&(0,De.jsx)(pt,{children:(0,De.jsx)(Wo,{})}),n&&(0,De.jsx)(pt,{children:(0,De.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,De.jsx)(pt,{children:(0,De.jsx)(Wt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),i&&(0,De.jsx)(pt,{children:(0,De.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),d&&(0,De.jsx)(pt,{children:(0,De.jsx)(Wo,{})}),(0,De.jsx)(pt,{children:(0,De.jsx)(Ui,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};function Ad({icon:e,title:t,body:a,color:o="secondary"}){return(0,De.jsx)(De.Fragment,{children:(0,De.jsxs)("div",{className:"flex py-0 min-De-16",children:[(0,De.jsx)("div",{className:"px-[2%] flex items-center",children:(0,De.jsx)("div",{className:"w-12 De-12",children:(0,De.jsx)(He,{type:e.type,iconName:e.name})})}),(0,De.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,De.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Rl=b(require("next/image"));function Md(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,De.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,De.jsx)(Rl.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,De.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,De.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,De.jsxs)("a",{href:t,children:[(0,De.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,De.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var Id=(e,t)=>`from-brand-${e} to-brand-${t}`;function Dd({...e}){let t=Id(e.brandFrom||"one",e.brandTo||"two");return(0,De.jsxs)("div",{className:`relative isolate flex items-center gap-De-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,De.jsx)("p",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,De.jsxs)("a",{href:e.url,children:[(0,De.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,De.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,De.jsx)("circle",{r:1,cx:1,cy:1})}),(0,De.jsx)("span",{children:e.message&&e.message})]}):(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,De.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,De.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,De.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Qa=b(require("react")),Ld={Architecture:(0,De.jsx)(js.DraftingCompass,{className:"De-5 w-5 text-blue-600"}),Engineering:(0,De.jsx)(js.Code,{className:"De-5 w-5 text-green-600"}),Development:(0,De.jsx)(js.Code,{className:"De-5 w-5 text-purple-600"}),Delivery:(0,De.jsx)(js.GanttChart,{className:"De-5 w-5 text-red-600"})},Ed=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let i=e.reports.length>0;return(0,De.jsx)("div",{className:`fo-${t*4} mb-2`,children:(0,De.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,De.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,De.jsx)(js.ChevronDown,{className:"De-4 w-4"}):(0,De.jsx)(js.ChevronRight,{className:"De-4 w-4"})}),(0,De.jsx)("div",{className:"w-10 De-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,De.jsx)(js.Users,{className:"De-6 w-6 text-gray-500"})}),(0,De.jsxs)("div",{children:[(0,De.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,De.jsxs)("div",{className:"flex items-center mt-1",children:[Ld[e.discipline],(0,De.jsx)("span",{className:"fo-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,De.jsx)("span",{className:"fo-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Sl=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,Qa.useState)(t<1),i=()=>r(!o),n=p=>p.name.toLowerCase().includes(a.toLowerCase())||p.discipline.toLowerCase().includes(a.toLowerCase())||p.grade.toLowerCase().includes(a.toLowerCase()),l=p=>n(p)||p.reports.some(l),d=a===""||l(e),c=n(e);return Qa.default.useEffect(()=>{a!==""&&l(e)&&r(!0)},[a,e]),d?(0,De.jsxs)("div",{children:[(0,De.jsx)(Ed,{person:e,level:t,onToggle:i,isExpanded:o,isHighlighted:c}),o&&e.reports.map((p,u)=>(0,De.jsx)(Sl,{person:p,level:t+1,searchTerm:a},u))]}):null};function Bd(){let[e,t]=(0,Qa.useState)("");return(0,De.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,De.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,De.jsxs)("div",{className:"mb-4 relative",children:[(0,De.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,De.jsx)(js.Search,{className:"absolute right-3 top-2.5 De-5 w-5 text-gray-400"})]}),(0,De.jsx)("div",{className:"space-De-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,De.jsx)(Sl,{person:o,level:0,searchTerm:e},r))})]})}function Hd({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,De.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,De.jsxs)("div",{className:"lg:col-span-1 space-De-6 flex flex-col",children:[(0,De.jsxs)(Y,{className:"flex-grow",children:[(0,De.jsx)(de,{className:"bg-primary text-primary-foreground",children:(0,De.jsxs)(me,{className:"flex items-center gap-2",children:[(0,De.jsx)(js.Users,{className:"De-5 w-5"}),"Team"]})}),(0,De.jsxs)(ae,{className:"p-6",children:[(0,De.jsx)("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,De.jsxs)("div",{className:"space-De-6",children:[(0,De.jsx)("div",{className:"space-De-2",children:e.leadership.map((r,i)=>(0,De.jsxs)("div",{className:"flex items-center justify-between",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2",children:[(0,De.jsx)(js.User,{className:"De-4 w-4 text-muted-foreground"}),(0,De.jsx)("span",{children:r.role})]}),r.isFTE&&(0,De.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,De.jsx)("div",{className:"space-De-2",children:e.core.map((r,i)=>(0,De.jsxs)("div",{className:"flex items-center justify-between",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2",children:[(0,De.jsx)(js.User,{className:"De-4 w-4 text-muted-foreground"}),(0,De.jsx)("span",{children:r.role}),r.count&&(0,De.jsxs)("span",{children:["(",r.count,"De)"]})]}),r.isFTE&&(0,De.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,De.jsxs)("div",{children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,De.jsx)(js.Users2,{className:"De-4 w-4 text-muted-foreground"}),(0,De.jsx)("span",{children:"SME input:"})]}),(0,De.jsx)("div",{className:"fo-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{className:"bg-primary text-primary-foreground",children:(0,De.jsxs)(me,{className:"flex items-center gap-2",children:[(0,De.jsx)(js.PoundSterling,{className:"De-5 w-5"}),"Fee"]})}),(0,De.jsx)(ae,{className:"p-6",children:(0,De.jsx)("p",{className:"text-lg font-semibold",children:o})})]})]}),(0,De.jsxs)(Y,{className:"lg:col-span-1 flex flex-col",children:[(0,De.jsx)(de,{className:"bg-primary text-primary-foreground",children:(0,De.jsxs)(me,{className:"flex items-center gap-2",children:[(0,De.jsx)(js.FileText,{className:"De-5 w-5"}),"Outputs"]})}),(0,De.jsxs)(ae,{className:"p-6 flex-grow overflow-auto",children:[(0,De.jsx)("ol",{className:"list-decimal list-inside space-De-4",children:t.map((r,i)=>(0,De.jsxs)("li",{className:"text-sm",children:[(0,De.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,De.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,De.jsx)("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,De.jsxs)(Y,{className:"lg:col-span-1 flex flex-col",children:[(0,De.jsx)(de,{className:"bg-primary text-primary-foreground",children:(0,De.jsxs)(me,{className:"flex items-center gap-2",children:[(0,De.jsx)(js.Lightbulb,{className:"De-5 w-5"}),"Benefits"]})}),(0,De.jsx)(ae,{className:"p-6 flex-grow overflow-auto",children:(0,De.jsx)("De",{className:"space-De-4",children:a.map((r,i)=>(0,De.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,De.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,De.jsx)("span",{children:r})]},i))})})]})]})}function zd(){return(0,De.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,De.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,De.jsxs)("div",{className:"space-De-4 bg-primary p-3 rounded-lg",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 relative De-10",children:[(0,De.jsx)("div",{className:"w-10 De-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,De.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,De.jsx)(js.BarChart3,{className:"w-8 De-8"})]}),(0,De.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,De.jsx)("p",{className:"text-secondary text-sm",children:"De excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,De.jsxs)("De",{className:"text-sm",children:[(0,De.jsx)("li",{children:"Strategy definition"}),(0,De.jsx)("li",{children:"Programme leadership"}),(0,De.jsx)("li",{children:"Detailed planning"}),(0,De.jsx)("li",{children:"\u2022 Financial control"}),(0,De.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,De.jsxs)("div",{className:"space-De-4",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 relative De-10",children:[(0,De.jsx)("div",{className:"w-10 De-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,De.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,De.jsx)(js.CogIcon,{className:"w-8 De-8"})]}),(0,De.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,De.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,De.jsx)("p",{className:"text-sm",children:"De deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,De.jsxs)("div",{className:"space-De-4",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 relative De-10",children:[(0,De.jsx)("div",{className:"w-10 De-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,De.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,De.jsx)(js.Building2,{className:"w-8 De-8"})]}),(0,De.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,De.jsx)("p",{className:"text-sky-200 text-sm",children:"De understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,De.jsx)("p",{className:"text-sm",children:"De have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,De.jsxs)("div",{className:"space-De-4",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 relative De-10",children:[(0,De.jsx)("div",{className:"w-10 De-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,De.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,De.jsx)(js.BadgeCheck,{className:"w-8 De-8"})]}),(0,De.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,De.jsx)("p",{className:"text-sky-200 text-sm",children:"De have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,De.jsx)("p",{className:"text-sm",children:"As zs XXXX strategic partner, De have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Vi=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,De.jsx)("div",{className:"container my-6",children:(0,De.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-De-8 gap-De-16",children:t&&t.length>0&&t.map((o,r)=>{let{enableLink:i,link:n,richText:l,size:d}=o;return(0,De.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[d]}`,{"md:col-span-2":d!=="full"}),children:[l&&(0,De.jsx)(K,{content:l,enableGutter:!1}),i&&(0,De.jsx)(ct,{...n})]},r)})})})};var $i=({title:e,description:t,features:a,id:o})=>(0,De.jsxs)("section",{className:s("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,De.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:o||"",children:e}),t&&typeof t=="string"&&(0,De.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,De.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,De.jsx)(K,{content:t,enableGutter:!1})}),(0,De.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${a?a.length:1}`,children:a&&a.map((r,i)=>{let n=(0,De.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,De.jsx)("div",{className:"text-accent De-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,De.jsx)("i",{className:`${r.icon.type} vl-${r.icon.icon} vl-4x`})}),(0,De.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:r.title}),typeof r.content!="object"&&(0,De.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:r.content}}),typeof r.content=="object"&&(0,De.jsx)("div",{className:"text-lg opacity-80",children:(0,De.jsx)(K,{content:r.content,enableGutter:!1})})]},i);return console.log("link",r.link),r.link?(0,De.jsx)("a",{href:r.link.url?r.link.url:"#",className:"no-underline group",children:n},i):n})})]});var Xo=b(require("next/image"));function Fd({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,De.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,De.jsx)("div",{className:"absolute left-0 top-0 De-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,De.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] De-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,De.jsx)(Xo.default,{src:e,alt:"Header background",className:"De-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,De.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,De.jsx)("div",{className:"De-16 w-32 md:De-24 md:w-48",children:(0,De.jsx)(Xo.default,{src:o,alt:"Company logo",className:"De-full w-full object-contain",width:192,height:96})}),r&&(0,De.jsx)("div",{className:"De-10 w-20 md:De-12 md:w-24",children:(0,De.jsx)(Xo.default,{src:r,alt:"Customer logo",className:"De-full w-full object-contain",width:96,height:48})})]}),(0,De.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,De.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,De.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var Od=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,De.jsx)("div",{className:s("",{container:a},t),children:(0,De.jsx)(mt,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var kl={content:Vi,cta:Ya,mediaBlock:la,imageBlock:la,features:$i},Gd=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,De.jsx)(fo.Fragment,{children:t.map((o,r)=>{let{blockType:i}=o;if(i&&i in kl){let n=kl[i];if(n)return(0,De.jsx)("div",{className:"my-6",children:(0,De.jsx)(n,{...o})},r)}return null})}):null};var Al=b(require("clsx"));var _d=e=>{let{className:t,docs:a,introContent:o}=e;return(0,De.jsxs)("div",{className:(0,Al.default)("container",t),children:[o&&(0,De.jsx)(K,{content:o,enableGutter:!1}),(0,De.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,De.jsx)(Ka,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var Xi=b(require("clsx"));function Ud({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:i,onNavClick:n,loading:l=!1,LinkComponent:d,...c}){let u=d?m=>(0,De.jsx)(d,{...m}):n?({href:m,children:v,...N})=>(0,De.jsx)("button",{onClick:()=>n&&n(m),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...N,children:v}):m=>(0,De.jsx)("a",{...m});return(0,De.jsxs)(Dt,{...c,variant:"inset",children:[(0,De.jsx)(Lt,{children:(0,De.jsx)(Ce,{children:(0,De.jsx)(ue,{children:l?(0,De.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,De.jsx)(q,{className:"bg-gray-200 my-2 w-full De-7"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 my-2 De-5"})]}):(0,De.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,De.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,De.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),l&&(0,De.jsxs)(yt,{children:[(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"})]}),(0,De.jsxs)(yt,{children:[e&&!l&&e.map((m,v)=>(0,De.jsx)(Vd,{subNav:m,pathName:r,Link:u},v)),(0,De.jsx)(Le,{className:"mt-auto",children:(0,De.jsx)(_e,{children:(0,De.jsx)(Ce,{children:t&&!l&&t.map(m=>(0,De.jsx)(ue,{children:(0,De.jsx)(Ee,{asChild:!0,size:"sm",children:(0,De.jsxs)(u,{href:m.url||"",children:[m.icon&&(0,De.jsx)(m.icon,{}),(0,De.jsx)("span",{children:m.label})]})})},m.label))})})})]}),(0,De.jsx)(Et,{})]})}function Vd({subNav:e,pathName:t,Link:a}){var i,n;let o=e,r=!1;return o.links&&o.links.map(l=>{l.url===t&&(r=!0)}),(0,De.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,De.jsx)(Le,{className:"py-0",children:(0,De.jsx)(Ce,{children:(0,De.jsx)(at,{asChild:!0,defaultOpen:o.isActive,children:(0,De.jsxs)(ue,{children:[(0,De.jsx)(Ee,{asChild:!0,tooltip:o.label,className:(0,Xi.default)(r&&"font-bold text-accent"),children:(0,De.jsxs)(a,{href:o.url,children:[o.icon&&(0,De.jsx)(o.icon,{}),(0,De.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)(ht,{asChild:!0,children:(0,De.jsxs)(Da,{className:"data-[state=open]:rotate-90",children:[(0,De.jsx)(js.ChevronRight,{}),(0,De.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,De.jsx)(xt,{children:(0,De.jsx)(wt,{children:(n=o.links)==null?void 0:n.map(l=>(0,De.jsx)(Nt,{children:(0,De.jsx)(Pt,{asChild:!0,className:(0,Xi.default)(l.url===t&&"font-bold text-accent"),children:(0,De.jsx)(a,{href:l.url,children:(0,De.jsx)("span",{children:l.label})})})},l.label))})})]}):null]})},o.label)})})})}var Il=b(require("clsx"));var $d=()=>(0,De.jsx)(He,{iconName:"github",size:"10x"});function Wd({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:i,onEditDocument:n,onPrintDocument:l,onGithubClick:d,onNavClick:c,LinkComponent:p,...u}){let N=p?f=>(0,De.jsx)(p,{...f}):c?({item:f,children:w,...M})=>(0,De.jsx)("button",{onClick:()=>c&&c(f),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...M,children:w}):f=>(0,De.jsx)("a",{href:f.href,...f});return(0,De.jsxs)(Dt,{side:"right",variant:"inset",...u,children:[(0,De.jsxs)(Lt,{className:"border-b border-sidebar-border",children:[(0,De.jsxs)(Ce,{className:"flex-row space-De-1",children:[(0,De.jsx)(ue,{children:(0,De.jsxs)(Ee,{onClick:i,children:[(0,De.jsx)(js.FilePlus,{})," ",(0,De.jsx)("span",{children:"Add Document"})]})}),d&&(0,De.jsx)(ue,{children:(0,De.jsx)(Ee,{onClick:d,tooltip:"Open in GitHub",children:(0,De.jsx)($d,{})})})]}),(0,De.jsxs)(Ce,{className:"flex-row space-De-1",children:[(0,De.jsx)(ue,{className:"w-5/12",children:(0,De.jsxs)(Ee,{onClick:()=>n(),variant:r?"outline":"default",className:(0,Il.default)(r&&"text-accent"),children:[(0,De.jsx)(js.Edit,{})," ",(0,De.jsx)("span",{children:"Edit"})]})}),(0,De.jsx)(ue,{className:"w-5/12",children:(0,De.jsxs)(Ee,{onClick:l,children:[(0,De.jsx)(js.Printer,{})," ",(0,De.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,De.jsxs)(Le,{children:[(0,De.jsx)(rt,{asChild:!0,children:(0,De.jsxs)(ht,{children:["Editor Controls",(0,De.jsx)(js.ChevronDown,{className:"fo-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,De.jsx)(_e,{children:(0,De.jsx)(xt,{children:a})})]})}),(0,De.jsx)(Ia,{className:"mx-0"})]}),(0,De.jsxs)(yt,{className:"overflow-auto",children:[o&&(0,De.jsxs)(De.Fragment,{children:[(0,De.jsxs)(Le,{children:[(0,De.jsx)(rt,{children:"Related Content"}),(0,De.jsx)(_e,{children:(0,De.jsx)(Ce,{children:Array.from({length:3}).map((f,w)=>(0,De.jsx)(ue,{children:(0,De.jsx)(q,{className:"bg-gray-200 w-full De-10"})},w))})})]}),(0,De.jsxs)(Le,{children:[(0,De.jsx)(rt,{children:"Table of Contents"}),(0,De.jsx)(_e,{children:(0,De.jsx)(Ce,{children:Array.from({length:3}).map((f,w)=>(0,De.jsx)(ue,{children:(0,De.jsx)(q,{className:"bg-gray-200 w-full De-10"})},w))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,De.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,De.jsxs)(Le,{children:[(0,De.jsx)(rt,{asChild:!0,children:(0,De.jsxs)(ht,{children:["Related Content",(0,De.jsx)(js.ChevronDown,{className:"fo-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,De.jsx)(_e,{children:(0,De.jsx)(xt,{children:(0,De.jsx)(Ce,{children:e&&Object.keys(e).map(f=>(0,De.jsxs)(ue,{children:[(0,De.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",f.charAt(0).toUpperCase()+f.slice(1)]}),f&&e[f]&&(0,De.jsx)(wt,{children:e[f].map(w=>(0,De.jsx)(Nt,{children:(0,De.jsx)(Pt,{asChild:!0,isActive:!1,size:"sm",children:(0,De.jsxs)(N,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,De.jsx)("span",{children:w.label}),w.type==="note"&&(0,De.jsx)(js.PencilLine,{className:"fo-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,De.jsx)(He,{iconName:"code-pull-request-draft",className:"fo-2 text-gray-400 !important"})]})})},w.label))})]},f))})})})]})}),t&&!o&&(0,De.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,De.jsxs)(Le,{children:[(0,De.jsx)(rt,{asChild:!0,children:(0,De.jsxs)(ht,{children:["Table of Contents",(0,De.jsx)(js.ChevronDown,{className:"fo-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,De.jsx)(_e,{children:(0,De.jsx)(xt,{children:(0,De.jsx)(Ce,{children:t.map(f=>{var w;return(0,De.jsxs)(ue,{children:[(0,De.jsx)(Ee,{asChild:!0,children:(0,De.jsx)("a",{href:`#${f.url}`,className:"text-xs",children:f.title})}),(w=f.items)!=null&&w.length?(0,De.jsx)(wt,{children:f.items.map(M=>(0,De.jsx)(Nt,{children:(0,De.jsx)(Pt,{asChild:!0,isActive:M.isActive,size:"sm",children:(0,De.jsx)("a",{href:`#${M.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,De.jsx)("span",{children:M.title})})})},M.title))}):null]},f.title)})})})})]})})]}),(0,De.jsx)(Et,{})]})}var Ll=b(require("next/image"));function Xd({title:e,members:t}){return(0,De.jsx)(Y,{className:"mb-6",children:(0,De.jsxs)("div",{className:"p-6",children:[(0,De.jsxs)("div",{className:"flex items-center mb-4",children:[(0,De.jsx)(js.Users,{className:"w-6 De-6 text-accent mr-2"}),(0,De.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,De.jsx)("div",{className:"space-De-4",children:t.map((a,o)=>(0,De.jsxs)("div",{className:"flex items-center space-De-4",children:[(0,De.jsx)("div",{className:"relative w-12 De-12 rounded-full overflow-hidden",children:a.avatar&&(0,De.jsx)(Ll.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,De.jsxs)("div",{children:[(0,De.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,De.jsx)("p",{className:"text-sm text-muted-foreground",children:a.role})]})]},o))})]})})}var El=b(require("next/link"));var ji=({links:e,title:t="Related Content"})=>(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{className:"text-accent",children:t})}),(0,De.jsx)(ae,{children:(0,De.jsx)("nav",{className:"flex flex-col space-De-2",children:e.map((a,o)=>(0,De.jsxs)(El.default,{href:a.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[a.title,a.url.startsWith("http")&&(0,De.jsx)(js.ExternalLink,{className:"fo-1 De-3 w-3"})]},o))})})]});var Yi=s("grid De-[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 Ki({pages:e}){let t=(0,vl.useSearchParams)(),a=(0,vl.usePathname)(),{replace:o}=(0,vl.useRouter)(),{totalPages:r,page:i}=e,[n,l]=(0,fo.useState)({start:i>3?i-3:1,end:i+2}),d=u=>{u==="left"&&n.start>1?l(m=>({start:m.start-1,end:m.end-1})):u==="right"&&n.end<r&&l(m=>({start:m.start+1,end:m.end+1}))};function c(u){let m=new URLSearchParams(t);u?m.set("page",u):m.delete("page"),o(`${a}?${m.toString()}`)}if(r<=1)return null;let p=[];for(let u=n.start;u<=n.end;u++)p.push(u);return(0,De.jsx)("div",{className:"mt-12",children:(0,De.jsxs)("De",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,De.jsx)("li",{children:(0,De.jsx)("button",{className:s(Yi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>d("left"),children:(0,De.jsx)(Ho.FaArrowLeft,{})})}),p.map((u,m)=>(0,De.jsx)("li",{children:(0,De.jsx)("a",{className:s(Yi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:v=>{v.preventDefault(),c(u.toString())},children:u})},m)),n.end<r&&(0,De.jsx)("li",{children:(0,De.jsx)("button",{className:s(Yi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>d("right"),children:(0,De.jsx)(Ho.FaArrowRight,{})})})]})})}var Mb=s("transition-colors duration-400 hover:text-primary ease-in-out");function qa({title:e,links:t}){let a=(0,vl.useSearchParams)(),o=(0,vl.usePathname)(),{replace:r}=(0,vl.useRouter)();function i(n){console.log(n);let l=new URLSearchParams(a);n?l.set("category",n):l.delete("category"),r(`${o}?${l.toString()}`)}return(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{className:"text-accent",children:e&&e})}),(0,De.jsx)(ae,{children:t&&t.length>0&&(0,De.jsx)("nav",{"aria-label":"footer links navigation",children:(0,De.jsx)("De",{className:"grid gap-2.5 ",children:t.map((n,l)=>(0,De.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:d=>{d.preventDefault(),i(n.href)},children:[n.label,(0,De.jsx)(js.ExternalLink,{className:"fo-1 De-3 w-3"})]},l))})})})]})}function qi({types:e}){let[t,a]=(0,fo.useState)(e&&e[0].href),o=(0,vl.useSearchParams)(),r=(0,vl.usePathname)(),{replace:i}=(0,vl.useRouter)();function n(l){let d=new URLSearchParams(o);l?d.set("type",l):d.delete("type"),a(l),i(`${r}?${d.toString()}`)}return(0,De.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-De-auto pb-4 mb-6",children:e&&e.map((l,d)=>(0,De.jsx)(j,{variant:l.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",l.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(l.href),children:l.label},d))})}var Ol=b(require("next/image"));var Ji=({links:e,media:t,children:a,richText:o})=>(0,De.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,De.jsx)("div",{className:"container mb-8 De-10 relative flex items-end justify-center",children:(0,De.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||o&&(0,De.jsx)(K,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:o,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,De.jsx)("De",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,De.jsx)("li",{children:(0,De.jsx)(ct,{...r})},i))})]})}),(0,De.jsxs)("div",{className:"min-De-[80vh] select-none",children:[t&&typeof t=="object"&&(0,De.jsx)(mt,{fill:!0,imgClassName:"De-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,De.jsx)("div",{children:(0,De.jsx)(Ol.default,{className:"-De-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,De.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Zi=b(require("next/image"));var jd=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:i}=e;return(0,De.jsx)(Zi.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,De.jsx)("div",{children:(0,De.jsx)(Zi.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},es=({links:e,media:t,children:a,richText:o})=>(0,De.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,De.jsx)(jd,{media:t}),(0,De.jsx)("div",{className:"mx-0 min-w-full relative De-9",children:(0,De.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,De.jsx)(K,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var ts=({children:e,richText:t})=>(0,De.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,De.jsx)("div",{className:"container",children:e||t&&(0,De.jsx)(K,{content:t,enableGutter:!1})})});var Ja=b(require("react"));var Gl=b(require("next/image")),Yd=({post:e})=>{var n;let{categories:t,meta:a,populatedAuthors:o,publishedAt:r,title:i}=e;return(0,De.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,De.jsx)("div",{className:"container De-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,De.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,De.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,d)=>{if(typeof l=="object"&&l!==null){let{title:c}=l;return(0,De.jsx)(sa,{className:"mx-2",children:c||"Untitled category"})}return null})}),(0,De.jsx)("div",{className:"",children:(0,De.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,De.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,De.jsx)("div",{className:"flex flex-col gap-4",children:o&&(0,De.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,De.jsx)("p",{className:"text-sm",children:"Author"}),o.map((l,d)=>{let{name:c}=l,p=d===o.length-1,u=d===o.length-2;return(0,De.jsxs)(Ja.default.Fragment,{children:[c,u&&o.length>2&&(0,De.jsx)(Ja.default.Fragment,{children:", "}),u&&o.length===2&&(0,De.jsx)(Ja.default.Fragment,{children:" "}),!p&&o.length>1&&(0,De.jsx)(Ja.default.Fragment,{children:"and "})]},d)})]})}),r&&(0,De.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,De.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,De.jsx)("time",{dateTime:r,children:al(r)})]})]})]})}),(0,De.jsxs)("div",{className:"min-De-[80vh] select-none",children:[(0,De.jsx)("div",{children:(0,De.jsx)(Gl.default,{className:"-De-10 object-cover",alt:"",fill:!0,priority:!0,src:((n=a&&a.image)==null?void 0:n.url)||"/assets/images/blog/gradient.png"})}),(0,De.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full De-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Kd={highImpact:Ji,lowImpact:ts,mediumImpact:es},Qd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=Kd[t];return a?(0,De.jsx)(a,{...e}):null};var Vl=b(require("next/image")),$l=b(require("react"));function qd({title:e,breadcrumbItems:t,image:a}){return(0,De.jsxs)("section",{className:"section-padding-primary -De-10 relative flex min-De-[250px] items-end",children:[(0,De.jsx)("div",{className:"absolute inset-0 De-0",children:a&&(0,De.jsx)(Vl.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,De.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,De.jsx)(le,{children:(0,De.jsxs)("div",{className:"relative De-10 flex flex-wrap items-center justify-between gap-De-20 gap-De-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,De.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,De.jsx)(Jd,{breadcrumbItems:t})]})})]})}var Ul=s("h3 font-secondary");function Jd({breadcrumbItems:e}){return e&&e.length>0?(0,De.jsx)("nav",{"aria-label":"breadcrumb",children:(0,De.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,De.jsx)($l.default.Fragment,{children:t.href?(0,De.jsxs)("li",{className:Ul,children:[(0,De.jsx)(oe,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,De.jsx)("span",{className:"fo-5",children:"/"})]}):(0,De.jsx)("li",{className:Ul,"aria-current":"page",children:t.label})},a))})}):(0,De.jsx)(De.Fragment,{})}var Ie=require("@headlessui/react"),Jo=require("@heroicons/react/24/outline"),Za=require("@heroicons/react/20/solid");var Zd=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,De.jsx)("a",{href:o,className:"flex items-center gap-De-1 text-sm font-semibold text-foreground group",children:(0,De.jsxs)("span",{className:"relative",children:[e,(0,De.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 De-0.5 bg-accent transform -translate-De-1/2 scale-De-0 transition-transform duration-300 ease-in-out group-hover:scale-De-100"})]})}):(0,De.jsxs)(Ie.Popover,{children:[(0,De.jsxs)(Ie.PopoverButton,{className:"flex items-center gap-De-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,De.jsxs)("span",{className:"relative",children:[e,(0,De.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 De-0.5 bg-accent transform -translate-De-1/2 scale-De-0 transition-transform duration-300 ease-in-out group-hover:scale-De-100"})]}),(0,De.jsx)(Za.ChevronDownIcon,{"aria-hidden":"true",className:"De-5 w-5 flex-none text-accent"})]}),(0,De.jsxs)(Ie.PopoverPanel,{transition:!0,className:"absolute inset-De-0 top-0 -De-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-De-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,De.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-De-4 px-6 py-10 lg:px-8 xl:gap-De-8 De-50",children:t&&t.map(r=>(0,De.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,De.jsx)("div",{className:"flex De-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,De.jsx)(Wl,{icon:r.icon,size:"4x"})}),(0,De.jsxs)("a",{href:r.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,De.jsx)("span",{className:"absolute inset-0"})]}),(0,De.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,De.jsx)("div",{className:"bg-gray-50",children:(0,De.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,De.jsx)("div",{className:"grid grid-cols-3 divide-De divide-gray-900/5 border-De border-gray-900/5",children:a.map(r=>(0,De.jsxs)("a",{href:r.href,className:"flex items-center max-De-12 justify-center gap-De-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[r.icon&&(0,De.jsx)(Wl,{icon:r.icon,className:"De-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),Wl=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,De.jsx)(He,{...e,size:a});if("src"in e)return(0,De.jsx)("div",{className:s(t,"De-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,De.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Qo=Zd;var qo=["light","dark","green"];function em({title:e,logo:t,menuItems:a}){let[o,r]=(0,fo.useState)(!1),[i,n]=(0,fo.useState)(!1),[l,d]=(0,fo.useState)("light"),c=t==null?void 0:t.split(".")[0],p=t==null?void 0:t.split(".")[1],[u,m]=(0,fo.useState)(`${c}.${p}`),v=f=>{qo.includes(f)?m(f==="light"?`${c}.${p}`:`${c}-${f}.${p}`):m(`${c}.${p}`)};(0,fo.useEffect)(()=>{let f=localStorage.getItem("theme")||"light";console.log("storedTheme",f),d(f),document.documentElement.setAttribute("class",f),v(f)},[]);let N=()=>{let f=qo[(qo.indexOf(l)+1)%qo.length];d(f),document.documentElement.setAttribute("class",f),localStorage.setItem("theme",f),v(f)};return(0,De.jsxs)("header",{className:"relative isolate De-10 bg-background De-14",children:[(0,De.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,De.jsx)("div",{className:"flex lg:flex-1",children:(0,De.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,De.jsx)("span",{className:"sr-only",children:e}),(0,De.jsx)("img",{alt:e,src:u,className:"De-9 w-auto"})]})}),(0,De.jsx)("div",{className:"flex lg:hidden",children:(0,De.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,De.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,De.jsx)(Jo.Bars3Icon,{"aria-hidden":"true",className:"De-6 w-6"})]})}),(0,De.jsx)(Ie.PopoverGroup,{className:"hidden lg:flex lg:gap-De-12",children:a.map(f=>(0,De.jsx)(Qo,{...f},f.name))}),(0,De.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,De.jsx)("button",{onClick:N,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,De.jsx)(Za.SunIcon,{className:"De-6 w-6"}):l==="green"?(0,De.jsx)(Za.MoonIcon,{className:"De-6 w-6"}):(0,De.jsx)(Za.SunIcon,{className:"De-6 w-6"})})})]}),(0,De.jsxs)(Ie.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,De.jsx)("div",{className:"fixed inset-0 De-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,De.jsxs)(Ie.DialogPanel,{className:"fixed inset-De-0 right-0 De-20 w-full overflow-De-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,De.jsxs)("div",{className:"flex items-center justify-between",children:[(0,De.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,De.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,De.jsx)("img",{alt:e,src:t,className:"De-8 w-auto"})]}),(0,De.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,De.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,De.jsx)(Jo.XMarkIcon,{"aria-hidden":"true",className:"De-6 w-6"})]})]}),(0,De.jsx)("div",{className:"mt-6 flow-root",children:(0,De.jsx)("div",{className:"-my-6 divide-De divide-gray-500/10",children:(0,De.jsx)("div",{className:"space-De-2 py-6",children:a.map(f=>(0,De.jsx)(tm,{...f},f.name))})})})]})]})]})}function tm({name:e,items:t,actions:a,href:o}){return!t&&o?(0,De.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,De.jsxs)(Ie.Disclosure,{as:"div",className:"-mx-3",children:[(0,De.jsx)(Ie.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 De-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,De.jsx)(Ie.DisclosurePanel,{className:"mt-2 space-De-2",children:t&&t.map(r=>(0,De.jsx)(Ie.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 De-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Ql=b(require("next/image"));var as=b(require("next/image"));function It({logoLight:e,logoDark:t,mobile:a=!1}){return(0,De.jsxs)(oe,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,De.jsx)(as.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,De.jsx)(as.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}})]})}var jl=require("next-themes");function to({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){let[r,i]=(0,fo.useState)(!1),[n,l]=(0,fo.useState)(""),d=["light","dark"],{theme:c,setTheme:p}=(0,jl.useTheme)();(0,fo.useEffect)(()=>{l(c||"dark")},[c]);let u=()=>{let m=d[(d.indexOf(n)+1)%d.length];l(m),p(m)};return(0,fo.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,De.jsx)(De.Fragment,{children:(0,De.jsx)("header",{className:`De-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-De-0":"-translate-De-full bg-transparent"}`,children:(0,De.jsx)(le,{className:"px-0",children:(0,De.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,De.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,De.jsx)(It,{logoDark:a,logoLight:t}),(0,De.jsx)(Ie.PopoverGroup,{className:"hidden lg:flex lg:gap-De-12",children:o&&o.map(m=>(0,De.jsx)(Qo,{...m},m.name))}),(0,De.jsx)("div",{className:"flex items-center space-De-4",children:(0,De.jsx)("button",{className:"fixed right-4 De-[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:u,children:(0,De.jsxs)("div",{className:"relative",children:[(0,De.jsx)(js.Sun,{className:"absolute De-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,De.jsx)(js.Moon,{className:"absoulte De-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var os=["light","dark"];function ao({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,i]=(0,fo.useState)(!1),{theme:n,setTheme:l}=(0,jl.useTheme)(),[d,c]=(0,fo.useState)(!1),[p,u]=(0,fo.useState)("light");(0,fo.useEffect)(()=>{let v=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",v,{passive:!0}),()=>window.removeEventListener("scroll",v)},[]),(0,fo.useEffect)(()=>{u(n||"dark")},[n]);let m=()=>{let v=os[(os.indexOf(p)+1)%os.length];u(v),l(v)};return(0,De.jsx)(De.Fragment,{children:(0,De.jsxs)("header",{className:`De-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-De-0":"-translate-De-full bg-transparent"}`,children:[(0,De.jsx)("nav",{className:s("backdrop-blur-sm text-white p-0",d&&"hidden"),children:(0,De.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&De.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,De.jsx)(It,{logoDark:t,logoLight:e,mobile:!0}),(0,De.jsxs)("div",{className:"flex items-center space-De-4",children:[(0,De.jsxs)("button",{type:"button",onClick:()=>c(!0),className:"fixed right-4 De-[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,De.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,De.jsx)(Jo.Bars3Icon,{"aria-hidden":"true",className:"De-4 w-4"})]}),(0,De.jsx)("button",{className:"fixed right-16 De-[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:m,children:(0,De.jsxs)("div",{className:"relative",children:[(0,De.jsx)(js.Sun,{className:"absolute De-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,De.jsx)(js.Moon,{className:"absoulte De-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,De.jsxs)(Ie.Dialog,{open:d,onClose:c,className:"lg:hidden",children:[(0,De.jsx)("div",{className:"fixed inset-0 De-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,De.jsxs)(Ie.DialogPanel,{className:"fixed inset-De-0 right-0 De-20 w-full overflow-De-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,De.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,De.jsx)(It,{logoDark:t,logoLight:e,mobile:!0}),(0,De.jsxs)("button",{type:"button",onClick:()=>c(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,De.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,De.jsx)(Jo.XMarkIcon,{"aria-hidden":"true",className:"De-6 w-6"})]})]}),(0,De.jsx)("div",{className:"mt-6 flow-root",children:(0,De.jsx)("div",{className:"-my-6 divide-De divide-gray-500/10",children:(0,De.jsx)("div",{className:"space-De-2 px-2 py-6",children:a&&a.map(v=>(0,De.jsx)(am,{...v},v.name))})})})]})]})]})})}function am({name:e,items:t,actions:a,href:o}){return!t&&o?(0,De.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,De.jsxs)(Ie.Disclosure,{as:"div",className:"-mx-3",children:[(0,De.jsx)(Ie.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 De-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,De.jsx)(Ie.DisclosurePanel,{className:"mt-2 space-De-2",children:t&&t.map(r=>(0,De.jsx)(Ie.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 De-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 om({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:i}){let[n,l]=(0,fo.useState)(!1),[d,c]=(0,fo.useState)(!1),p=()=>{let m=document.getElementById("next-section");m&&m.scrollIntoView({behavior:"smooth"})};return(0,fo.useEffect)(()=>{let m=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,De.jsxs)("div",{className:"relative De-screen",children:[(0,De.jsxs)("div",{className:"absolute inset-0 w-full De-screen overflow-hidden",children:[(0,De.jsxs)("video",{className:"object-cover w-full De-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,De.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,De.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!n&&!d&&(0,De.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 De-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{c(!d)},children:(0,De.jsx)(js.Menu,{className:"w-6 De-6 text-white"})}),(0,De.jsxs)("div",{className:"fixed top-0 left-0 right-0 De-50",children:[(0,De.jsx)(to,{isMenuOpen:n||d,logoLight:t,logoDark:a,menuItems:o}),(0,De.jsx)(ao,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]}),(0,De.jsxs)("div",{className:"absolute inset-0 De-full De-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,De.jsx)(Ql.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("absolute top-2.5 De-auto w-auto mt-8 hidden lg:block",d&&"lg:hidden")}),(0,De.jsxs)("div",{className:"absolute top-1/2vv De-full flex flex-col px-4 items-center justify-center",children:[(0,De.jsx)("h1",{className:"text-6xl font-bold pt-auto mb-12",children:r&&r}),(0,De.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,De.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,De.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:p,children:(0,De.jsx)(js.ChevronDown,{size:64})})})]})]})}var ql=b(require("next/image"));var rm=s("text-base/[1.75] transition-transform duration-350 hover:-translate-De-1 block px-4"),rs=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),is=s("w-10 De-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),ss=s("flex items-center gap-5"),or=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function im({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:i,columnTwo:n,columnThree:l,footerBottom:d}=t;return(0,De.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,De.jsx)("div",{className:"py-16 md:py-20",children:(0,De.jsx)("div",{className:"container",children:(0,De.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,De.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,De.jsx)(It,{logoLight:a,logoDark:o}),(0,De.jsx)("p",{className:"mb-7 mt-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,De.jsx)("nav",{"aria-label":"social links",children:(0,De.jsx)("De",{className:"inline-flex min-De-[50px] items-center divide-De rounded-5 bg-accent text-white",children:r.socialLinks.map((c,p)=>(0,De.jsx)("li",{children:(0,De.jsx)(oe,{"aria-label":c.href,className:rm,href:c.href,openNewTab:!0,children:(0,De.jsx)("span",{children:c.icon})})},p))})})]}),(0,De.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,De.jsx)("h3",{className:rs,children:i.title}),i.links&&i.links.length>0&&(0,De.jsx)("nav",{"aria-label":"footer links navigation",children:(0,De.jsx)("De",{className:"grid gap-2",children:i.links.map(c=>(0,De.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,De.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,De.jsx)(Ho.FaChevronRight,{})}),(0,De.jsx)(oe,{href:c.href,openNewTab:c.openNewTab,className:or,children:c.label})]},c.label))})})]}),(0,De.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,De.jsx)("h3",{className:rs,children:n.title}),(0,De.jsxs)("De",{"aria-label":"addresses",className:"grid gap-5",children:[(0,De.jsxs)("li",{className:ss,children:[(0,De.jsx)("span",{className:is,children:(0,De.jsx)(Ho.FaPaperPlane,{})}),(0,De.jsx)("address",{className:"not-italic",children:n.location})]}),(0,De.jsxs)("li",{className:ss,children:[(0,De.jsx)("span",{className:is,children:(0,De.jsx)(Ho.FaEnvelope,{})}),n.mails&&n.mails.length>0&&(0,De.jsx)("div",{className:"grid gap-1",children:n.mails.map((c,p)=>(0,De.jsx)("a",{href:`mailto:${c}`,className:or,children:c},p))})]}),n.phoneNumbers&&n.phoneNumbers.length>0&&(0,De.jsxs)("li",{className:ss,children:[(0,De.jsx)("span",{className:is,children:(0,De.jsx)(Ho.FaPhone,{})}),(0,De.jsx)("div",{className:"grid gap-1",children:n.phoneNumbers.map((c,p)=>(0,De.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:or,children:c},p))})]})]})]}),l&&(0,De.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,De.jsx)("h3",{className:rs,children:l.title}),l.blogs&&l.blogs.length>0&&(0,De.jsx)("div",{className:"grid gap-6",children:l.blogs.map((c,p)=>(0,De.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,De.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,De.jsx)(ql.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,De.jsxs)("div",{children:[(0,De.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,De.jsx)("span",{className:"text-accent",children:(0,De.jsx)(Ho.FaCalendarDays,{})}),(0,De.jsx)("span",{children:ol(c.date)})]}),(0,De.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,De.jsx)(oe,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},p))})]})]})})}),(0,De.jsx)("div",{className:"flex min-De-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,De.jsx)("div",{className:"container",children:(0,De.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-De-8 gap-De-4 md:gap-De-10",children:[(0,De.jsx)("p",{children:d.copyrightText}),d.links&&d.links.length>0&&(0,De.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,De.jsx)("De",{className:"flex flex-wrap items-center gap-De-4 md:gap-De-7",children:d.links.map(c=>(0,De.jsx)("li",{children:(0,De.jsx)(oe,{"aria-label":`Go to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:or,children:c.label})},c.label))})})]})})})]})}function sm({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,className:r}){return(0,De.jsxs)("div",{className:s("fixed top-0 left-0 right-0 De-50",r),children:[(0,De.jsx)(to,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}),(0,De.jsx)(ao,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o})]})}function nm({children:e,...t}){return(0,De.jsx)(jl.ThemeProvider,{...t,children:e})}function lm({services:e,className:t}){return(0,De.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,De.jsx)(le,{className:"py-8",children:e&&e.length>0&&(0,De.jsx)("div",{className:"flex flex-wrap justify-center gap-De-8",children:e.map((a,o)=>(0,De.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,De.jsx)(Si,{...a})},o))})})})}function cm({sectionHeading:e,cards:t}){return(0,De.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,De.jsxs)(le,{children:[(0,De.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,De.jsx)(At,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,De.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,De.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],o),className:"py-2",children:(0,De.jsx)(ki,{...a})},o))})]})})}var xa=b(require("next/image"));function dm(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,De.jsx)("section",{id:"about-section",className:s("section-padding-primary",e.className||""),children:(0,De.jsx)(le,{children:(0,De.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,De.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,De.jsx)(At,{...a}),o&&o.length>0&&(0,De.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,n)=>(0,De.jsxs)("div",{className:"group flex min-De-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-De-[85px] md:px-[1.875rem] md:py-3",children:[(0,De.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,De.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},n))}),r&&(0,De.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:r})]}),t&&(0,De.jsx)("div",{className:"mx-auto text-center",children:(0,De.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,De.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,De.jsxs)("div",{className:"relative De-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,De.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -De-1 De-full w-full rounded-tl-[60px] bg-primary-light"}),(0,De.jsx)("div",{className:"relative De-[4] overflow-hidden",children:(0,De.jsx)(xa.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,De.jsx)(xa.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] De-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,De.jsx)("div",{className:"flex overflow-hidden",children:(0,De.jsx)(xa.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,De.jsx)("div",{className:"fo-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,De.jsx)(xa.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,De.jsx)("div",{className:"overflow-hidden",children:(0,De.jsx)(xa.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,De.jsx)("div",{className:"absolute left-1/2 top-1/2 De-[4] -translate-De-1/2 -translate-De-1/2 overflow-hidden",children:(0,De.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,De.jsx)("span",{className:"grid De-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,De.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,De.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 ec=b(require("next/image"));function tc({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)(mm,{post:t,id:a},a))})})}var mm=({post:e,id:t})=>{let{slug:a,image:o,authors:r,categories:i,title:n,description:l,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)(ec.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-De-4 text-xs",children:[(0,$.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:zo(e.publishedAt)}),e.categories&&e.categories.map((c,p)=>(0,$.jsx)("a",{href:`#${c}`,className:"relative De-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:c},p))]}),(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-De-2 border-gray-200 dark:border-gray-700 pt-6",children:r&&r.map((c,p)=>(0,$.jsxs)("div",{className:"relative flex items-center gap-De-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)("p",{className:"text-foreground pr-6",children:[(0,$.jsx)("span",{className:"absolute inset-0"}),c.name]})})]},p))})]})]},t)};function pm({blogs:e,pages:t,categories:a,types:o}){return(0,De.jsx)("section",{children:(0,De.jsx)(le,{children:(0,De.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,De.jsxs)("div",{children:[o&&(0,De.jsx)(qi,{types:o}),(0,De.jsx)(tc,{blogs:e}),(0,De.jsx)(Ki,{pages:t})]}),(0,De.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,De.jsx)("div",{className:"lg:-mt-24 w-full",children:a&&a.links&&(0,De.jsx)(qa,{links:a.links,title:a.title})})})]})})})}var nc=b(require("next/image"));var rr="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//De";function ir({className:e}){return s("flex items-center min-De-[3.5rem] md:min-De-[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 um({className:e,...t}){return(0,De.jsx)("input",{...t,className:ir({className:e})})}function sr({icon:e,...t}){return(0,De.jsxs)("div",{className:"relative w-full",children:[(0,De.jsx)(um,{...t}),e&&(0,De.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-De-1/2 text-accent",children:e})]})}function fm({className:e,...t}){return(0,De.jsx)("textarea",{...t,className:s(ir({}),"resize-none md:min-De-[130px]",e)})}function ac({icon:e,...t}){return(0,De.jsxs)("div",{className:"relative w-full",children:[(0,De.jsx)(fm,{...t}),e&&(0,De.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var rc=require("formik"),Kt=b(require("yup"));async function oc(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 n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.fo/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us 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(n));try{let l=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var ns=require("sonner"),je={tooShort:"Must De at least ${min} characters",tooLong:"Must De at most ${max} characters",required:"This field is required",email:"Invalid email format"},gm=Kt.object().shape({name:Kt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),email:Kt.string().email(je.email).required(je.required),subject:Kt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),message:Kt.string().min(2,je.tooShort).max(300,je.tooLong).required(je.required)}),nr=s("!pr-[44px]"),lr=s("!border-red-600 border"),cr=s("sr-only");function sc(){return(0,De.jsx)(rc.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:gm,onSubmit:async(e,{resetForm:t})=>{let a=await oc(e);a.data===null?ns.toast.error(a.message):(ns.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:i,handleSubmit:n})=>(0,De.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,De.jsxs)("div",{children:[(0,De.jsx)(sr,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:i,icon:(0,De.jsx)(Ho.FaUser,{}),className:s(nr,e.name&&t.name&&lr)}),e.name&&t.name&&(0,De.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:cr,children:e.name})]}),(0,De.jsxs)("div",{children:[(0,De.jsx)(sr,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:i,icon:(0,De.jsx)(bm,{}),className:s(nr,e.email&&t.email&&lr)}),e.email&&t.email&&(0,De.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:cr,children:e.email})]}),(0,De.jsxs)("div",{className:"lg:col-span-2",children:[(0,De.jsx)(sr,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:i,className:s(nr,e.subject&&t.subject&&lr)}),e.subject&&t.subject&&(0,De.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:cr,children:e.subject})]}),(0,De.jsxs)("div",{className:"lg:col-span-2",children:[(0,De.jsx)(ac,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:i,icon:(0,De.jsx)(vm,{}),className:s(nr,e.message&&t.message&&lr)}),e.message&&t.message&&(0,De.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:cr,children:e.message})]}),(0,De.jsx)("div",{className:"lg:col-span-2",children:(0,De.jsx)(j,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:i,children:(0,De.jsx)("span",{children:"SEND"})})})]})})}function bm(){return(0,De.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,De.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 vm(){return(0,De.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,De.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 hm(e){let{sectionHeading:t,image:a}=e;return(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)("section",{className:"section-padding-primary",children:(0,De.jsx)("div",{className:"",children:(0,De.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,De.jsx)("div",{className:"mx-auto max-w-2xl space-De-16 divide-De divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,De.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,De.jsxs)("div",{children:[(0,De.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,De.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"De have multiple locations across the UK where De are based. These are our key locations."})]}),(0,De.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,De.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,De.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,De.jsxs)("address",{className:"mt-3 space-De-1 text-sm/6 not-italic text-foreground",children:[(i=o.location.split(","))==null?void 0:i.map((n,l)=>(0,De.jsx)("p",{children:n},l))," ",o.mails&&(0,De.jsxs)("p",{className:"flex items-center space-De-2",children:[(0,De.jsx)(Ho.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,De.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,De.jsxs)("p",{className:"flex items-center space-De-2",children:[(0,De.jsx)(Ho.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})}),(0,De.jsx)("section",{className:"section-padding-primary",children:(0,De.jsxs)("div",{className:"relative py-[60px]",children:[(0,De.jsx)("div",{className:"absolute left-0 top-0 De-1 De-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,De.jsx)(nc.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:rr})}),(0,De.jsx)(le,{children:(0,De.jsx)("div",{className:"fo-auto md:w-1/2",children:(0,De.jsxs)("div",{className:"relative De-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,De.jsx)("div",{className:"mb-30px",children:(0,De.jsx)(At,{...t,invert:!0})}),(0,De.jsx)(sc,{})]})})})]})})]})}var lc=b(require("next/image"));var dc=b(require("next/link"));function xm({image:e,name:t,about:a,socialLinks:o}){return!e||!e.src||e.src.length<3||!t?null:(0,De.jsx)("div",{className:"mt-1 De-10 px-0 pt-0 lg:px-10",children:(0,De.jsx)(Y,{children:(0,De.jsxs)(ae,{children:[e&&e.src&&(0,De.jsx)(lc.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:rr,className:"mx-auto mt-6 rounded-full object-cover"}),(0,De.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,De.jsx)("p",{children:a}),o&&o.length>0&&(0,De.jsx)("nav",{"aria-label":"social links",children:(0,De.jsx)("De",{className:"inline-flex items-center divide-De divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((r,i)=>(0,De.jsx)("li",{children:(0,De.jsx)(oe,{href:r.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-De-1 hover:text-accents",children:(0,De.jsx)("span",{children:r.icon})})},i))})})]})})})}function ym({page:e,categoryList:t,edit:a=!1,path:o="/admin/collections/posts/"}){var m;if(!e)return(0,vl.notFound)();let{meta:r,populatedAuthors:i,authors:n,categories:l,content:d,title:c}=e,p={image:{src:r&&r.image&&r.image.url||void 0,alt:r&&r.image&&r.image.alt||void 0},authorName:((m=i==null?void 0:i[0])==null?void 0:m.name)||"",category:l,commentCount:0,title:c,description:(r==null?void 0:r.description)||""},u=n==null?void 0:n.map(v=>{var N,f;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((f=(N=v.profilePicture.sizes)==null?void 0:N.small)==null?void 0:f.url)||"",alt:v.name||"blog author"},socialLinks:[]}});return(0,De.jsx)(le,{children:(0,De.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,De.jsx)("div",{children:(0,De.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,De.jsx)("div",{className:"my-4 De-px bg-body/30 lg:my-5"}),(0,De.jsx)(K,{content:d,enableGutter:!1})]})}),(0,De.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[a&&(0,De.jsx)("div",{className:"mt-4 lg:-mt-10 De-10 px-0 pt-0 lg:px-10",children:(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{className:"text-accent",children:"CMS Actions"})}),(0,De.jsxs)(ae,{children:[(0,De.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,De.jsx)(dc.default,{href:`${o}${e.id}`,children:(0,De.jsx)(j,{variant:"outline",className:"w-full text-accent",children:"Edit"})})]})]})}),u&&u.map((v,N)=>(0,De.jsx)(xm,{...v},N)),t&&t.links&&(0,De.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,De.jsx)(qa,{links:t.links,title:t.title})})]})]})})}var ls=b(require("next/link"));var wm=({children:e,pageId:t,tableOfContents:a=[],edit:o=!0,path:r="/admin/collections/pages/",relatedContent:i={title:"Related Content",links:[]}})=>{let[n,l]=(0,fo.useState)(!1),[d,c]=(0,fo.useState)(""),p=()=>{l(!n)},u=v=>{switch(v){case"h3":return"fo-4";case"h4":return"fo-8";default:return""}},m=(v,N)=>{v.preventDefault();let f=document.getElementById(N);if(f){let M=f.offsetTop+-100,L=document.querySelector(".container")||window;L===window?window.scrollTo({top:M,behavior:"smooth"}):L.scrollTo({top:M,behavior:"smooth"}),c(N)}else console.error(`Element with ID "${N}" not found.`)};return(0,fo.useEffect)(()=>{let v=window.location.hash;if(v){let N=v.substring(1),f=document.getElementById(N);if(f){let M=f.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:M,behavior:"smooth"})}}},[]),(0,De.jsxs)("div",{className:"container py-8",children:[(0,De.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,De.jsx)("div",{className:s(n?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,De.jsxs)("div",{className:s("space-De-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-De-0 xl:-mt-20",n?"translate-De-0":"md:translate-De-full","xl:block xl:col-span-1 xl:translate-De-0"),children:[a.length>3&&(0,De.jsxs)(Y,{className:"w-full max-w-sm mt-4",children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{className:"text-accent",children:"On this page"})}),(0,De.jsx)(ae,{children:(0,De.jsx)("De",{className:"space-De-2",children:a.map((v,N)=>(0,De.jsx)("li",{className:u(v.tag),children:(0,De.jsx)("a",{href:`#${v.id}`,onClick:f=>m(f,v.id),className:`text-sm ${d===v.id?"text-accent font-semibold":"text-primary"} hover:text-accent`,children:v.text})},N))})})]}),o&&(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{children:"CMS Actions"})}),(0,De.jsxs)(ae,{children:[(0,De.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,De.jsx)(ls.default,{href:`${r}${t}`,children:(0,De.jsx)(j,{variant:"outline",className:"w-full text-accent",children:"Edit Page"})}),(0,De.jsx)(ls.default,{href:"/admin/collections/pages/create",children:(0,De.jsx)(j,{variant:"outline",className:"w-full mt-2 text-accent",children:"Create New"})})]})]}),i&&i.links.length>0&&(0,De.jsx)(ji,{...i})]}),(0,De.jsx)("button",{onClick:p,className:s("fixed top-1/2 right-0 De-50 De-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-De-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,De.jsx)("div",{className:"block md:hidden mt-8",children:(0,De.jsx)("div",{className:"space-De-6",children:e})})]})};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,MainPageSection,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,De.jsxs)("div",{className:"relative De-10 flex De-full flex-1 w-full flex-col",children:[o&&(0,De.jsx)("div",{children:(0,De.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,De.jsx)("time",{dateTime:o,className:"text-foreground",children:(0,De.jsx)("span",{className:"block",children:Hr(o)})})})}),(0,De.jsxs)("div",{className:"mt-auto space-De-2 text-white md:space-De-5",children:[(0,De.jsx)("div",{className:"inline-flex flex-wrap items-center gap-De-5 gap-De-2",children:(0,De.jsx)("p",{className:gl})}),(0,De.jsx)("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,De.jsx)(re,{"aria-label":r,href:e,className:"transition-colors duration-300 hover:text-primary",children:r})}),(0,De.jsx)("div",{children:(0,De.jsxs)(re,{href:e,className:s(gl,"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,De.jsx)("span",{children:"Read More"}),(0,De.jsx)("span",{className:"text-accent",children:(0,De.jsx)(Br.FaArrowRight,{})})]})})]})]})]})}var vl=require("next/navigation");function Cd({external:e=!1,newTab:t=!1,scroll:a=!0}){let r=(0,vl.useRouter)(),o=(0,$e.useRef)(null),i=(0,$e.useRef)(null),n=(0,$e.useRef)(0),l=(0,$e.useRef)(!1),c=(0,$e.useRef)(0),d=(0,$e.useCallback)(u=>{if(u.target){let m=u.target,v=+new Date,N=m==null?void 0:m.closest("a");c.current=u.button,N?l.current=!0:(l.current=!1,n.current=v)}},[r,o,i,n]),p=(0,$e.useCallback)(u=>{var m,v;if((m=i.current)!=null&&m.href){let g=+new Date-n.current;if((v=i.current)!=null&&v.href&&g<=250&&!l.current&&c.current===0&&!u.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else r.push(i.current.href,{scroll:a})}},[r,o,i,n]);return(0,$e.useEffect)(()=>{let u=o.current;return u&&(u.addEventListener("mousedown",d),u.addEventListener("mouseup",p)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",d),u==null||u.removeEventListener("mouseup",p))}},[o,i,r]),{card:{ref:o},link:{ref:i}}}var hl=Cd;var xl=b(require("next/link"));var Ka=e=>{let{card:t,link:a}=hl({}),{className:r,doc:o,relationTo:i,showCategories:n,title:l}=e,{slug:c,categories:d,meta:p,title:u}=o||{},{description:m,image:v}=p||{},N=d&&Array.isArray(d)&&d.length>0,g=l||u,w=m==null?void 0:m.replace(/\s/g," "),I=`/${i}/${c}`;return(0,De.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",r),ref:t.ref,children:[(0,De.jsxs)("div",{className:"relative w-full ",children:[!v&&(0,De.jsx)("div",{className:"",children:"No image"}),v&&typeof v!="string"&&(0,De.jsx)(mt,{resource:v,size:"33vw"})]}),(0,De.jsxs)("div",{className:"p-4",children:[n&&N&&(0,De.jsx)("div",{className:"uppercase text-sm mb-4",children:n&&N&&(0,De.jsx)("div",{children:d==null?void 0:d.map((L,he)=>{if(typeof L=="object"){let{title:Ze}=L,Qt=Ze||"Untitled category",sr=he===d.length-1;return(0,De.jsxs)(ur.Fragment,{children:[Qt,!sr&&(0,De.jsx)(ur.Fragment,{children:", \xA0"})]},he)}return null})})}),g&&(0,De.jsx)("div",{className:"prose",children:(0,De.jsx)("h3",{children:(0,De.jsx)(xl.default,{className:"not-prose",href:I,ref:a.ref,children:g})})}),m&&(0,De.jsx)("div",{className:"mt-2",children:m&&(0,De.jsx)("p",{children:w})})]})]})};var Rd=e=>{let{posts:t}=e;return(0,De.jsx)("div",{className:s("container"),children:(0,De.jsx)("div",{children:(0,De.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-De-4 gap-De-4 lg:gap-De-8 lg:gap-De-8 xl:gap-De-8",children:t==null?void 0:t.map((a,r)=>typeof a=="object"&&a!==null?(0,De.jsx)("div",{className:"col-span-4",children:(0,De.jsx)(Ka,{className:"De-full",doc:a,relationTo:"posts",showCategories:!0})},r):null)})})})};var yl=b(require("clsx")),wl=b(require("next/image")),Sd=e=>{let{loading:t,priority:a,className:r}=e;return(0,De.jsx)(wl.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,yl.default)("max-w-[9.375rem] w-full De-[34px]",r),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var kd={plural:"Docs",singular:"Doc"},Td={posts:{plural:"Posts",singular:"Post"}},Ad=e=>{let{className:t,collection:a,collectionLabels:r,currentPage:o,limit:i,totalDocs:n}=e,l=(o?o-1:1)*(i||1)+1;n&&l>n&&(l=0);let c=(o||1)*(i||1);n&&c>n&&(c=n);let{plural:d,singular:p}=r||Td[a||""]||kd||{};return(0,De.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof n=="undefined"||n===0)&&"Search produced no results.",typeof n!="undefined"&&n>0&&`Showing ${l}${l>0?` - ${c}`:""} of ${n} ${n>1?d:p}`]})};var Fi=b(require("react")),Oi=({className:e,...t})=>(0,De.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});Oi.displayName="Pagination";var Gi=Fi.forwardRef(({className:e,...t},a)=>(0,De.jsx)("De",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Gi.displayName="PaginationContent";var pt=Fi.forwardRef(({className:e,...t},a)=>(0,De.jsx)("li",{className:s("",e),ref:a,...t}));pt.displayName="PaginationItem";var Wt=({className:e,isActive:t,size:a="icon",...r})=>(0,De.jsx)("button",{"aria-current":t?"page":void 0,className:s(Aa({size:a,variant:t?"outline":"ghost"}),e),...r});Wt.displayName="PaginationLink";var _i=({className:e,...t})=>(0,De.jsxs)(Wt,{"aria-label":"De js previous page",className:s("gap-1 De-2.5",e),size:"default",...t,children:[(0,De.jsx)(js.ChevronLeft,{className:"De-4 w-4"}),(0,De.jsx)("span",{children:"Previous"})]});_i.displayName="PaginationPrevious";var Ui=({className:e,...t})=>(0,De.jsxs)(Wt,{"aria-label":"De js next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,De.jsx)("span",{children:"Next"}),(0,De.jsx)(js.ChevronRight,{className:"De-4 w-4"})]});Ui.displayName="PaginationNext";var $r=({className:e,...t})=>(0,De.jsxs)("span",{"aria-hidden":!0,className:s("flex De-9 w-9 items-center justify-center",e),...t,children:[(0,De.jsx)(js.MoreHorizontal,{className:"De-4 w-4"}),(0,De.jsx)("span",{className:"sr-only",children:"More pages"})]});$r.displayName="PaginationEllipsis";var Id=e=>{let t=(0,vl.useRouter)(),{className:a,page:r,totalPages:o}=e,i=r<o,n=r>1,l=r-1>1,c=r+1<o;return(0,De.jsx)("div",{className:s("my-12",a),children:(0,De.jsx)(Oi,{children:(0,De.jsxs)(Gi,{children:[(0,De.jsx)(pt,{children:(0,De.jsx)(_i,{disabled:!n,onClick:()=>{t.push(`/posts/page/${r-1}`)}})}),l&&(0,De.jsx)(pt,{children:(0,De.jsx)($r,{})}),n&&(0,De.jsx)(pt,{children:(0,De.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${r-1}`)},children:r-1})}),(0,De.jsx)(pt,{children:(0,De.jsx)(Wt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${r}`)},children:r})}),i&&(0,De.jsx)(pt,{children:(0,De.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${r+1}`)},children:r+1})}),c&&(0,De.jsx)(pt,{children:(0,De.jsx)($r,{})}),(0,De.jsx)(pt,{children:(0,De.jsx)(Ui,{disabled:!i,onClick:()=>{t.push(`/posts/page/${r+1}`)}})})]})})})};function Md({icon:e,title:t,body:a,color:r="secondary"}){return(0,De.jsx)(De.Fragment,{children:(0,De.jsxs)("div",{className:"flex py-0 min-De-16",children:[(0,De.jsx)("div",{className:"px-[2%] flex items-center",children:(0,De.jsx)("div",{className:"w-12 De-12",children:(0,De.jsx)(He,{type:e.type,iconName:e.name})})}),(0,De.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,De.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Rl=b(require("next/image"));function Dd(e){let{url:t,mainImage:a,excerpt:r,title:o}=e;return(0,De.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,De.jsx)(Rl.default,{alt:o||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,De.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,De.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,De.jsxs)("a",{href:t,children:[(0,De.jsx)("span",{className:"absolute inset-0"}),o]})}),r&&(0,De.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}var Ld=(e,t)=>`from-brand-${e} js-brand-${t}`;function Ed({...e}){let t=Ld(e.brandFrom||"one",e.brandTo||"two");return(0,De.jsxs)("div",{className:`relative isolate flex items-center gap-De-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-js-r ${t}`,children:[(0,De.jsx)("p",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,De.jsxs)("a",{href:e.url,children:[(0,De.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,De.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,De.jsx)("circle",{r:1,cx:1,cy:1})}),(0,De.jsx)("span",{children:e.message&&e.message})]}):(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,De.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,De.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,De.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Qa=b(require("react")),Bd={Architecture:(0,De.jsx)(js.DraftingCompass,{className:"De-5 w-5 text-blue-600"}),Engineering:(0,De.jsx)(js.Code,{className:"De-5 w-5 text-green-600"}),Development:(0,De.jsx)(js.Code,{className:"De-5 w-5 text-purple-600"}),Delivery:(0,De.jsx)(js.GanttChart,{className:"De-5 w-5 text-red-600"})},Hd=({person:e,level:t,onToggle:a,isExpanded:r,isHighlighted:o})=>{let i=e.reports.length>0;return(0,De.jsx)("div",{className:`ur-${t*4} mb-2`,children:(0,De.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${o?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,De.jsx)("button",{onClick:a,className:"mr-2","aria-label":r?"Collapse":"Expand",children:r?(0,De.jsx)(js.ChevronDown,{className:"De-4 w-4"}):(0,De.jsx)(js.ChevronRight,{className:"De-4 w-4"})}),(0,De.jsx)("div",{className:"w-10 De-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,De.jsx)(js.Users,{className:"De-6 w-6 text-gray-500"})}),(0,De.jsxs)("div",{children:[(0,De.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,De.jsxs)("div",{className:"flex items-center mt-1",children:[Bd[e.discipline],(0,De.jsx)("span",{className:"ur-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,De.jsx)("span",{className:"ur-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Sl=({person:e,level:t,searchTerm:a})=>{let[r,o]=(0,Qa.useState)(t<1),i=()=>o(!r),n=p=>p.name.toLowerCase().includes(a.toLowerCase())||p.discipline.toLowerCase().includes(a.toLowerCase())||p.grade.toLowerCase().includes(a.toLowerCase()),l=p=>n(p)||p.reports.some(l),c=a===""||l(e),d=n(e);return Qa.default.useEffect(()=>{a!==""&&l(e)&&o(!0)},[a,e]),c?(0,De.jsxs)("div",{children:[(0,De.jsx)(Hd,{person:e,level:t,onToggle:i,isExpanded:r,isHighlighted:d}),r&&e.reports.map((p,u)=>(0,De.jsx)(Sl,{person:p,level:t+1,searchTerm:a},u))]}):null};function zd(){let[e,t]=(0,Qa.useState)("");return(0,De.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,De.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,De.jsxs)("div",{className:"mb-4 relative",children:[(0,De.jsx)("input",{type:"text",placeholder:"Search by name, discipline, De grade",value:e,onChange:r=>t(r.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,De.jsx)(js.Search,{className:"absolute right-3 top-2.5 De-5 w-5 text-gray-400"})]}),(0,De.jsx)("div",{className:"space-De-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((r,o)=>(0,De.jsx)(Sl,{person:r,level:0,searchTerm:e},o))})]})}function Fd({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps js 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 js 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 js improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies js 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 js leverage Generative AI effectively, providing a competitive edge in the market."],fee:r="\xA3150,000 for delivery of listed outputs"}){return(0,De.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,De.jsxs)("div",{className:"lg:col-span-1 space-De-6 flex flex-col",children:[(0,De.jsxs)(Y,{className:"flex-grow",children:[(0,De.jsx)(de,{className:"bg-primary text-primary-foreground",children:(0,De.jsxs)(me,{className:"flex items-center gap-2",children:[(0,De.jsx)(js.Users,{className:"De-5 w-5"}),"Team"]})}),(0,De.jsxs)(ae,{className:"p-6",children:[(0,De.jsx)("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,De.jsxs)("div",{className:"space-De-6",children:[(0,De.jsx)("div",{className:"space-De-2",children:e.leadership.map((o,i)=>(0,De.jsxs)("div",{className:"flex items-center justify-between",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2",children:[(0,De.jsx)(js.User,{className:"De-4 w-4 text-muted-foreground"}),(0,De.jsx)("span",{children:o.role})]}),o.isFTE&&(0,De.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,De.jsx)("div",{className:"space-De-2",children:e.core.map((o,i)=>(0,De.jsxs)("div",{className:"flex items-center justify-between",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2",children:[(0,De.jsx)(js.User,{className:"De-4 w-4 text-muted-foreground"}),(0,De.jsx)("span",{children:o.role}),o.count&&(0,De.jsxs)("span",{children:["(",o.count,"De)"]})]}),o.isFTE&&(0,De.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,De.jsxs)("div",{children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,De.jsx)(js.Users2,{className:"De-4 w-4 text-muted-foreground"}),(0,De.jsx)("span",{children:"SME input:"})]}),(0,De.jsx)("div",{className:"ur-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{className:"bg-primary text-primary-foreground",children:(0,De.jsxs)(me,{className:"flex items-center gap-2",children:[(0,De.jsx)(js.PoundSterling,{className:"De-5 w-5"}),"Fee"]})}),(0,De.jsx)(ae,{className:"p-6",children:(0,De.jsx)("p",{className:"text-lg font-semibold",children:r})})]})]}),(0,De.jsxs)(Y,{className:"lg:col-span-1 flex flex-col",children:[(0,De.jsx)(de,{className:"bg-primary text-primary-foreground",children:(0,De.jsxs)(me,{className:"flex items-center gap-2",children:[(0,De.jsx)(js.FileText,{className:"De-5 w-5"}),"Outputs"]})}),(0,De.jsxs)(ae,{className:"p-6 flex-grow overflow-auto",children:[(0,De.jsx)("js",{className:"list-decimal list-inside space-De-4",children:t.map((o,i)=>(0,De.jsxs)("li",{className:"text-sm",children:[(0,De.jsxs)("span",{className:"font-medium",children:[o.title,":"]})," ",(0,De.jsx)("span",{className:"text-muted-foreground",children:o.description})]},i))}),(0,De.jsx)("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,De.jsxs)(Y,{className:"lg:col-span-1 flex flex-col",children:[(0,De.jsx)(de,{className:"bg-primary text-primary-foreground",children:(0,De.jsxs)(me,{className:"flex items-center gap-2",children:[(0,De.jsx)(js.Lightbulb,{className:"De-5 w-5"}),"Benefits"]})}),(0,De.jsx)(ae,{className:"p-6 flex-grow overflow-auto",children:(0,De.jsx)("De",{className:"space-De-4",children:a.map((o,i)=>(0,De.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,De.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,De.jsx)("span",{children:o})]},i))})})]})]})}function Od(){return(0,De.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,De.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,De.jsxs)("div",{className:"space-De-4 bg-primary p-3 rounded-lg",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 relative De-10",children:[(0,De.jsx)("div",{className:"w-10 De-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,De.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,De.jsx)(js.BarChart3,{className:"w-8 De-8"})]}),(0,De.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,De.jsx)("p",{className:"text-secondary text-sm",children:"De excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,De.jsxs)("De",{className:"text-sm",children:[(0,De.jsx)("li",{children:"Strategy definition"}),(0,De.jsx)("li",{children:"Programme leadership"}),(0,De.jsx)("li",{children:"Detailed planning"}),(0,De.jsx)("li",{children:"\u2022 Financial control"}),(0,De.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,De.jsxs)("div",{className:"space-De-4",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 relative De-10",children:[(0,De.jsx)("div",{className:"w-10 De-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,De.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,De.jsx)(js.CogIcon,{className:"w-8 De-8"})]}),(0,De.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,De.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,De.jsx)("p",{className:"text-sm",children:"De deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,De.jsxs)("div",{className:"space-De-4",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 relative De-10",children:[(0,De.jsx)("div",{className:"w-10 De-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,De.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,De.jsx)(js.Building2,{className:"w-8 De-8"})]}),(0,De.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,De.jsx)("p",{className:"text-sky-200 text-sm",children:"De understand how js navigate public sector and financial services regulation and how js deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,De.jsx)("p",{className:"text-sm",children:"De have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,De.jsxs)("div",{className:"space-De-4",children:[(0,De.jsxs)("div",{className:"flex items-center gap-2 relative De-10",children:[(0,De.jsx)("div",{className:"w-10 De-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,De.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,De.jsx)(js.BadgeCheck,{className:"w-8 De-8"})]}),(0,De.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,De.jsx)("p",{className:"text-sky-200 text-sm",children:"De have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,De.jsx)("p",{className:"text-sm",children:"As zs XXXX strategic partner, De have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Vi=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,De.jsx)("div",{className:"container my-6",children:(0,De.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-De-8 gap-De-16",children:t&&t.length>0&&t.map((r,o)=>{let{enableLink:i,link:n,richText:l,size:c}=r;return(0,De.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[c]}`,{"md:col-span-2":c!=="full"}),children:[l&&(0,De.jsx)(K,{content:l,enableGutter:!1}),i&&(0,De.jsx)(ct,{...n})]},o)})})})};var $i=({title:e,description:t,features:a,id:r})=>(0,De.jsxs)("section",{className:s("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,De.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:r||"",children:e}),t&&typeof t=="string"&&(0,De.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,De.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,De.jsx)(K,{content:t,enableGutter:!1})}),(0,De.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${a?a.length:1}`,children:a&&a.map((o,i)=>{let n=(0,De.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,De.jsx)("div",{className:"text-accent De-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,De.jsx)("i",{className:`${o.icon.type} vl-${o.icon.icon} vl-4x`})}),(0,De.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:o.title}),typeof o.content!="object"&&(0,De.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),typeof o.content=="object"&&(0,De.jsx)("div",{className:"text-lg opacity-80",children:(0,De.jsx)(K,{content:o.content,enableGutter:!1})})]},i);return console.log("link",o.link),o.link?(0,De.jsx)("a",{href:o.link.url?o.link.url:"#",className:"no-underline group",children:n},i):n})})]});var Wr=b(require("next/image"));function Gd({image:e,subtitle:t="Case study",title:a,companyLogo:r,customerLogo:o}){return(0,De.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,De.jsx)("div",{className:"absolute left-0 top-0 De-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,De.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] De-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,De.jsx)(Wr.default,{src:e,alt:"Header background",className:"De-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,De.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[r&&(0,De.jsx)("div",{className:"De-16 w-32 md:De-24 md:w-48",children:(0,De.jsx)(Wr.default,{src:r,alt:"Company logo",className:"De-full w-full object-contain",width:192,height:96})}),o&&(0,De.jsx)("div",{className:"De-10 w-20 md:De-12 md:w-24",children:(0,De.jsx)(Wr.default,{src:o,alt:"Customer logo",className:"De-full w-full object-contain",width:96,height:48})})]}),(0,De.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,De.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,De.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var _d=e=>{let{className:t,enableGutter:a=!0,imgClassName:r,media:o,staticImage:i}=e;return(0,De.jsx)("div",{className:s("",{container:a},t),children:(0,De.jsx)(mt,{imgClassName:s("border border-border rounded-[0.8rem]",r),resource:o,src:i})})};var kl={content:Vi,cta:Ya,mediaBlock:la,imageBlock:la,features:$i},Ud=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,De.jsx)(ur.Fragment,{children:t.map((r,o)=>{let{blockType:i}=r;if(i&&i in kl){let n=kl[i];if(n)return(0,De.jsx)("div",{className:"my-6",children:(0,De.jsx)(n,{...r})},o)}return null})}):null};var Al=b(require("clsx"));var Vd=e=>{let{className:t,docs:a,introContent:r}=e;return(0,De.jsxs)("div",{className:(0,Al.default)("container",t),children:[r&&(0,De.jsx)(K,{content:r,enableGutter:!1}),(0,De.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((o,i)=>typeof o=="string"?null:(0,De.jsx)(Ka,{doc:o,relationTo:"posts",showCategories:!0},i))})]})};var Xi=b(require("clsx"));function $d({mainNav:e,secondaryNav:t,title:a,subTitle:r,pathName:o,menuHeading:i,onNavClick:n,loading:l=!1,LinkComponent:c,...d}){let u=c?m=>(0,De.jsx)(c,{...m}):n?({href:m,children:v,...N})=>(0,De.jsx)("button",{onClick:()=>n&&n(m),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...N,children:v}):m=>(0,De.jsx)("a",{...m});return(0,De.jsxs)(Dt,{...d,variant:"inset",children:[(0,De.jsx)(Lt,{children:(0,De.jsx)(Ce,{children:(0,De.jsx)(ue,{children:l?(0,De.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,De.jsx)(q,{className:"bg-gray-200 my-2 w-full De-7"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 my-2 De-5"})]}):(0,De.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,De.jsx)("span",{className:"truncate font-semibold",children:a}),r&&(0,De.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),l&&(0,De.jsxs)(yt,{children:[(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"}),(0,De.jsx)(q,{className:"bg-gray-200 w-3/4 De-5"})]}),(0,De.jsxs)(yt,{children:[e&&!l&&e.map((m,v)=>(0,De.jsx)(Wd,{subNav:m,pathName:o,Link:u},v)),(0,De.jsx)(Le,{className:"mt-auto",children:(0,De.jsx)(_e,{children:(0,De.jsx)(Ce,{children:t&&!l&&t.map(m=>(0,De.jsx)(ue,{children:(0,De.jsx)(Ee,{asChild:!0,size:"sm",children:(0,De.jsxs)(u,{href:m.url||"",children:[m.icon&&(0,De.jsx)(m.icon,{}),(0,De.jsx)("span",{children:m.label})]})})},m.label))})})})]}),(0,De.jsx)(Et,{})]})}function Wd({subNav:e,pathName:t,Link:a}){var i,n;let r=e,o=!1;return r.links&&r.links.map(l=>{l.url===t&&(o=!0)}),(0,De.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,De.jsx)(Le,{className:"py-0",children:(0,De.jsx)(Ce,{children:(0,De.jsx)(at,{asChild:!0,defaultOpen:r.isActive,children:(0,De.jsxs)(ue,{children:[(0,De.jsx)(Ee,{asChild:!0,tooltip:r.label,className:(0,Xi.default)(o&&"font-bold text-accent"),children:(0,De.jsxs)(a,{href:r.url,children:[r.icon&&(0,De.jsx)(r.icon,{}),(0,De.jsx)("span",{children:r.label})]})}),(i=r.links)!=null&&i.length?(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)(ht,{asChild:!0,children:(0,De.jsxs)(Da,{className:"data-[state=open]:rotate-90",children:[(0,De.jsx)(js.ChevronRight,{}),(0,De.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,De.jsx)(xt,{children:(0,De.jsx)(wt,{children:(n=r.links)==null?void 0:n.map(l=>(0,De.jsx)(Nt,{children:(0,De.jsx)(Pt,{asChild:!0,className:(0,Xi.default)(l.url===t&&"font-bold text-accent"),children:(0,De.jsx)(a,{href:l.url,children:(0,De.jsx)("span",{children:l.label})})})},l.label))})})]}):null]})},r.label)})})})}var Ml=b(require("clsx"));var Xd=()=>(0,De.jsx)(He,{iconName:"github",size:"10x"});function jd({relatedContent:e,tableOfContents:t,editorComponent:a,loading:r=!1,editMode:o=!1,onAddDocument:i,onEditDocument:n,onPrintDocument:l,onGithubClick:c,onNavClick:d,LinkComponent:p,...u}){let N=p?g=>(0,De.jsx)(p,{...g}):d?({item:g,children:w,...I})=>(0,De.jsx)("button",{onClick:()=>d&&d(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:w}):g=>(0,De.jsx)("a",{href:g.href,...g});return(0,De.jsxs)(Dt,{side:"right",variant:"inset",...u,children:[(0,De.jsxs)(Lt,{className:"border-b border-sidebar-border",children:[(0,De.jsxs)(Ce,{className:"flex-row space-De-1",children:[(0,De.jsx)(ue,{children:(0,De.jsxs)(Ee,{onClick:i,children:[(0,De.jsx)(js.FilePlus,{})," ",(0,De.jsx)("span",{children:"Add Document"})]})}),c&&(0,De.jsx)(ue,{children:(0,De.jsx)(Ee,{onClick:c,tooltip:"Open in GitHub",children:(0,De.jsx)(Xd,{})})})]}),(0,De.jsxs)(Ce,{className:"flex-row space-De-1",children:[(0,De.jsx)(ue,{className:"w-5/12",children:(0,De.jsxs)(Ee,{onClick:()=>n(),variant:o?"outline":"default",className:(0,Ml.default)(o&&"text-accent"),children:[(0,De.jsx)(js.Edit,{})," ",(0,De.jsx)("span",{children:"Edit"})]})}),(0,De.jsx)(ue,{className:"w-5/12",children:(0,De.jsxs)(Ee,{onClick:l,children:[(0,De.jsx)(js.Printer,{})," ",(0,De.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,De.jsxs)(Le,{children:[(0,De.jsx)(ot,{asChild:!0,children:(0,De.jsxs)(ht,{children:["Editor Controls",(0,De.jsx)(js.ChevronDown,{className:"ur-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,De.jsx)(_e,{children:(0,De.jsx)(xt,{children:a})})]})}),(0,De.jsx)(Ma,{className:"mx-0"})]}),(0,De.jsxs)(yt,{className:"overflow-auto",children:[r&&(0,De.jsxs)(De.Fragment,{children:[(0,De.jsxs)(Le,{children:[(0,De.jsx)(ot,{children:"Related Content"}),(0,De.jsx)(_e,{children:(0,De.jsx)(Ce,{children:Array.from({length:3}).map((g,w)=>(0,De.jsx)(ue,{children:(0,De.jsx)(q,{className:"bg-gray-200 w-full De-10"})},w))})})]}),(0,De.jsxs)(Le,{children:[(0,De.jsx)(ot,{children:"Table of Contents"}),(0,De.jsx)(_e,{children:(0,De.jsx)(Ce,{children:Array.from({length:3}).map((g,w)=>(0,De.jsx)(ue,{children:(0,De.jsx)(q,{className:"bg-gray-200 w-full De-10"})},w))})})]})]}),e&&!r&&Object.keys(e).length>0&&(0,De.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,De.jsxs)(Le,{children:[(0,De.jsx)(ot,{asChild:!0,children:(0,De.jsxs)(ht,{children:["Related Content",(0,De.jsx)(js.ChevronDown,{className:"ur-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,De.jsx)(_e,{children:(0,De.jsx)(xt,{children:(0,De.jsx)(Ce,{children:e&&Object.keys(e).map(g=>(0,De.jsxs)(ue,{children:[(0,De.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",g.charAt(0).toUpperCase()+g.slice(1)]}),g&&e[g]&&(0,De.jsx)(wt,{children:e[g].map(w=>(0,De.jsx)(Nt,{children:(0,De.jsx)(Pt,{asChild:!0,isActive:!1,size:"sm",children:(0,De.jsxs)(N,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,De.jsx)("span",{children:w.label}),w.type==="note"&&(0,De.jsx)(js.PencilLine,{className:"ur-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,De.jsx)(He,{iconName:"code-pull-request-draft",className:"ur-2 text-gray-400 !important"})]})})},w.label))})]},g))})})})]})}),t&&!r&&(0,De.jsx)(at,{defaultOpen:!0,className:"group/collapsible",children:(0,De.jsxs)(Le,{children:[(0,De.jsx)(ot,{asChild:!0,children:(0,De.jsxs)(ht,{children:["Table of Contents",(0,De.jsx)(js.ChevronDown,{className:"ur-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,De.jsx)(_e,{children:(0,De.jsx)(xt,{children:(0,De.jsx)(Ce,{children:t.map(g=>{var w;return(0,De.jsxs)(ue,{children:[(0,De.jsx)(Ee,{asChild:!0,children:(0,De.jsx)("a",{href:`#${g.url}`,className:"text-xs",children:g.title})}),(w=g.items)!=null&&w.length?(0,De.jsx)(wt,{children:g.items.map(I=>(0,De.jsx)(Nt,{children:(0,De.jsx)(Pt,{asChild:!0,isActive:I.isActive,size:"sm",children:(0,De.jsx)("a",{href:`#${I.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,De.jsx)("span",{children:I.title})})})},I.title))}):null]},g.title)})})})})]})})]}),(0,De.jsx)(Et,{})]})}var Ll=b(require("next/image"));function Yd({title:e,members:t}){return(0,De.jsx)(Y,{className:"mb-6",children:(0,De.jsxs)("div",{className:"p-6",children:[(0,De.jsxs)("div",{className:"flex items-center mb-4",children:[(0,De.jsx)(js.Users,{className:"w-6 De-6 text-accent mr-2"}),(0,De.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,De.jsx)("div",{className:"space-De-4",children:t.map((a,r)=>(0,De.jsxs)("div",{className:"flex items-center space-De-4",children:[(0,De.jsx)("div",{className:"relative w-12 De-12 rounded-full overflow-hidden",children:a.avatar&&(0,De.jsx)(Ll.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,De.jsxs)("div",{children:[(0,De.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,De.jsx)("p",{className:"text-sm text-muted-foreground",children:a.role})]})]},r))})]})})}var El=b(require("next/link"));var ji=({links:e,title:t="Related Content"})=>(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{className:"text-accent",children:t})}),(0,De.jsx)(ae,{children:(0,De.jsx)("nav",{className:"flex flex-col space-De-2",children:e.map((a,r)=>(0,De.jsxs)(El.default,{href:a.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[a.title,a.url.startsWith("http")&&(0,De.jsx)(js.ExternalLink,{className:"ur-1 De-3 w-3"})]},r))})})]});var Yi=s("grid De-[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 Ki({pages:e}){let t=(0,vl.useSearchParams)(),a=(0,vl.usePathname)(),{replace:r}=(0,vl.useRouter)(),{totalPages:o,page:i}=e,[n,l]=(0,ur.useState)({start:i>3?i-3:1,end:i+2}),c=u=>{u==="left"&&n.start>1?l(m=>({start:m.start-1,end:m.end-1})):u==="right"&&n.end<o&&l(m=>({start:m.start+1,end:m.end+1}))};function d(u){let m=new URLSearchParams(t);u?m.set("page",u):m.delete("page"),r(`${a}?${m.toString()}`)}if(o<=1)return null;let p=[];for(let u=n.start;u<=n.end;u++)p.push(u);return(0,De.jsx)("div",{className:"mt-12",children:(0,De.jsxs)("De",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&(0,De.jsx)("li",{children:(0,De.jsx)("button",{className:s(Yi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,De.jsx)(Br.FaArrowLeft,{})})}),p.map((u,m)=>(0,De.jsx)("li",{children:(0,De.jsx)("a",{className:s(Yi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:v=>{v.preventDefault(),d(u.toString())},children:u})},m)),n.end<o&&(0,De.jsx)("li",{children:(0,De.jsx)("button",{className:s(Yi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,De.jsx)(Br.FaArrowRight,{})})})]})})}var Lb=s("transition-colors duration-400 hover:text-primary ease-in-out");function qa({title:e,links:t}){let a=(0,vl.useSearchParams)(),r=(0,vl.usePathname)(),{replace:o}=(0,vl.useRouter)();function i(n){console.log(n);let l=new URLSearchParams(a);n?l.set("category",n):l.delete("category"),o(`${r}?${l.toString()}`)}return(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{className:"text-accent",children:e&&e})}),(0,De.jsx)(ae,{children:t&&t.length>0&&(0,De.jsx)("nav",{"aria-label":"footer links navigation",children:(0,De.jsx)("De",{className:"grid gap-2.5 ",children:t.map((n,l)=>(0,De.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),i(n.href)},children:[n.label,(0,De.jsx)(js.ExternalLink,{className:"ur-1 De-3 w-3"})]},l))})})})]})}function qi({types:e}){let[t,a]=(0,ur.useState)(e&&e[0].href),r=(0,vl.useSearchParams)(),o=(0,vl.usePathname)(),{replace:i}=(0,vl.useRouter)();function n(l){let c=new URLSearchParams(r);l?c.set("type",l):c.delete("type"),a(l),i(`${o}?${c.toString()}`)}return(0,De.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-De-auto pb-4 mb-6",children:e&&e.map((l,c)=>(0,De.jsx)(j,{variant:l.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",l.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(l.href),children:l.label},c))})}var Ol=b(require("next/image"));var Ji=({links:e,media:t,children:a,richText:r})=>(0,De.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,De.jsx)("div",{className:"container mb-8 De-10 relative flex items-end justify-center",children:(0,De.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||r&&(0,De.jsx)(K,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:r,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,De.jsx)("De",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,De.jsx)("li",{children:(0,De.jsx)(ct,{...o})},i))})]})}),(0,De.jsxs)("div",{className:"min-De-[80vh] select-none",children:[t&&typeof t=="object"&&(0,De.jsx)(mt,{fill:!0,imgClassName:"De-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,De.jsx)("div",{children:(0,De.jsx)(Ol.default,{className:"-De-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,De.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 js-white dark:from-background/0 dark:js-background"})]})]});var Zi=b(require("next/image"));var Kd=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:r,url:o,width:i}=e;return(0,De.jsx)(Zi.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:r||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,De.jsx)("div",{children:(0,De.jsx)(Zi.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},es=({links:e,media:t,children:a,richText:r})=>(0,De.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,De.jsx)(Kd,{media:t}),(0,De.jsx)("div",{className:"mx-0 min-w-full relative De-9",children:(0,De.jsx)("div",{className:"container text-brand-one-foreground",children:a||r&&(0,De.jsx)(K,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:r,enableProse:!0,enableGutter:!1})})})]});var ts=({children:e,richText:t})=>(0,De.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,De.jsx)("div",{className:"container",children:e||t&&(0,De.jsx)(K,{content:t,enableGutter:!1})})});var Ja=b(require("react"));var Gl=b(require("next/image")),Qd=({post:e})=>{var n;let{categories:t,meta:a,populatedAuthors:r,publishedAt:o,title:i}=e;return(0,De.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,De.jsx)("div",{className:"container De-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,De.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,De.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,c)=>{if(typeof l=="object"&&l!==null){let{title:d}=l;return(0,De.jsx)(sa,{className:"mx-2",children:d||"Untitled category"})}return null})}),(0,De.jsx)("div",{className:"",children:(0,De.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,De.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,De.jsx)("div",{className:"flex flex-col gap-4",children:r&&(0,De.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,De.jsx)("p",{className:"text-sm",children:"Author"}),r.map((l,c)=>{let{name:d}=l,p=c===r.length-1,u=c===r.length-2;return(0,De.jsxs)(Ja.default.Fragment,{children:[d,u&&r.length>2&&(0,De.jsx)(Ja.default.Fragment,{children:", "}),u&&r.length===2&&(0,De.jsx)(Ja.default.Fragment,{children:" "}),!p&&r.length>1&&(0,De.jsx)(Ja.default.Fragment,{children:"and "})]},c)})]})}),o&&(0,De.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,De.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,De.jsx)("time",{dateTime:o,children:al(o)})]})]})]})}),(0,De.jsxs)("div",{className:"min-De-[80vh] select-none",children:[(0,De.jsx)("div",{children:(0,De.jsx)(Gl.default,{className:"-De-10 object-cover",alt:"",fill:!0,priority:!0,src:((n=a&&a.image)==null?void 0:n.url)||"/assets/images/blog/gradient.png"})}),(0,De.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full De-1/2 bg-gradient-js-t from-background dark:from-black js-transparent"})]})]})};var qd={highImpact:Ji,lowImpact:ts,mediumImpact:es},Jd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=qd[t];return a?(0,De.jsx)(a,{...e}):null};var Vl=b(require("next/image")),$l=b(require("react"));function Zd({title:e,breadcrumbItems:t,image:a}){return(0,De.jsxs)("section",{className:"section-padding-primary -De-10 relative flex min-De-[250px] items-end",children:[(0,De.jsx)("div",{className:"absolute inset-0 De-0",children:a&&(0,De.jsx)(Vl.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,De.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 js-background dark:from-background/0 dark:js-background"}),(0,De.jsx)(le,{children:(0,De.jsxs)("div",{className:"relative De-10 flex flex-wrap items-center justify-between gap-De-20 gap-De-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,De.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,De.jsx)(em,{breadcrumbItems:t})]})})]})}var Ul=s("h3 font-secondary");function em({breadcrumbItems:e}){return e&&e.length>0?(0,De.jsx)("nav",{"aria-label":"breadcrumb",children:(0,De.jsx)("js",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,De.jsx)($l.default.Fragment,{children:t.href?(0,De.jsxs)("li",{className:Ul,children:[(0,De.jsx)(re,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,De.jsx)("span",{className:"ur-5",children:"/"})]}):(0,De.jsx)("li",{className:Ul,"aria-current":"page",children:t.label})},a))})}):(0,De.jsx)(De.Fragment,{})}var Me=require("@headlessui/react"),qr=require("@heroicons/react/24/outline"),Za=require("@heroicons/react/20/solid");var tm=({name:e,items:t,actions:a=[],href:r})=>!t&&r?(0,De.jsx)("a",{href:r,className:"flex items-center gap-De-1 text-sm font-semibold text-foreground group",children:(0,De.jsxs)("span",{className:"relative",children:[e,(0,De.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 De-0.5 bg-accent transform -translate-De-1/2 scale-De-0 transition-transform duration-300 ease-in-out group-hover:scale-De-100"})]})}):(0,De.jsxs)(Me.Popover,{children:[(0,De.jsxs)(Me.PopoverButton,{className:"flex items-center gap-De-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,De.jsxs)("span",{className:"relative",children:[e,(0,De.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 De-0.5 bg-accent transform -translate-De-1/2 scale-De-0 transition-transform duration-300 ease-in-out group-hover:scale-De-100"})]}),(0,De.jsx)(Za.ChevronDownIcon,{"aria-hidden":"true",className:"De-5 w-5 flex-none text-accent"})]}),(0,De.jsxs)(Me.PopoverPanel,{transition:!0,className:"absolute inset-De-0 top-0 -De-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-De-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,De.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-De-4 px-6 py-10 lg:px-8 xl:gap-De-8 De-50",children:t&&t.map(o=>(0,De.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,De.jsx)("div",{className:"flex De-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:o.icon&&(0,De.jsx)(Wl,{icon:o.icon,size:"4x"})}),(0,De.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,De.jsx)("span",{className:"absolute inset-0"})]}),(0,De.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),a.length>0&&(0,De.jsx)("div",{className:"bg-gray-50",children:(0,De.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,De.jsx)("div",{className:"grid grid-cols-3 divide-De divide-gray-900/5 border-De border-gray-900/5",children:a.map(o=>(0,De.jsxs)("a",{href:o.href,className:"flex items-center max-De-12 justify-center gap-De-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,De.jsx)(Wl,{icon:o.icon,className:"De-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),Wl=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,De.jsx)(He,{...e,size:a});if("src"in e)return(0,De.jsx)("div",{className:s(t,"De-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,De.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Kr=tm;var Qr=["light","dark","green"];function am({title:e,logo:t,menuItems:a}){let[r,o]=(0,ur.useState)(!1),[i,n]=(0,ur.useState)(!1),[l,c]=(0,ur.useState)("light"),d=t==null?void 0:t.split(".")[0],p=t==null?void 0:t.split(".")[1],[u,m]=(0,ur.useState)(`${d}.${p}`),v=g=>{Qr.includes(g)?m(g==="light"?`${d}.${p}`:`${d}-${g}.${p}`):m(`${d}.${p}`)};(0,ur.useEffect)(()=>{let g=localStorage.getItem("theme")||"light";console.log("storedTheme",g),c(g),document.documentElement.setAttribute("class",g),v(g)},[]);let N=()=>{let g=Qr[(Qr.indexOf(l)+1)%Qr.length];c(g),document.documentElement.setAttribute("class",g),localStorage.setItem("theme",g),v(g)};return(0,De.jsxs)("header",{className:"relative isolate De-10 bg-background De-14",children:[(0,De.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,De.jsx)("div",{className:"flex lg:flex-1",children:(0,De.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,De.jsx)("span",{className:"sr-only",children:e}),(0,De.jsx)("img",{alt:e,src:u,className:"De-9 w-auto"})]})}),(0,De.jsx)("div",{className:"flex lg:hidden",children:(0,De.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,De.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,De.jsx)(qr.Bars3Icon,{"aria-hidden":"true",className:"De-6 w-6"})]})}),(0,De.jsx)(Me.PopoverGroup,{className:"hidden lg:flex lg:gap-De-12",children:a.map(g=>(0,De.jsx)(Kr,{...g},g.name))}),(0,De.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,De.jsx)("button",{onClick:N,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,De.jsx)(Za.SunIcon,{className:"De-6 w-6"}):l==="green"?(0,De.jsx)(Za.MoonIcon,{className:"De-6 w-6"}):(0,De.jsx)(Za.SunIcon,{className:"De-6 w-6"})})})]}),(0,De.jsxs)(Me.Dialog,{open:r,onClose:o,className:"lg:hidden",children:[(0,De.jsx)("div",{className:"fixed inset-0 De-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,De.jsxs)(Me.DialogPanel,{className:"fixed inset-De-0 right-0 De-20 w-full overflow-De-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,De.jsxs)("div",{className:"flex items-center justify-between",children:[(0,De.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,De.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,De.jsx)("img",{alt:e,src:t,className:"De-8 w-auto"})]}),(0,De.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,De.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,De.jsx)(qr.XMarkIcon,{"aria-hidden":"true",className:"De-6 w-6"})]})]}),(0,De.jsx)("div",{className:"mt-6 flow-root",children:(0,De.jsx)("div",{className:"-my-6 divide-De divide-gray-500/10",children:(0,De.jsx)("div",{className:"space-De-2 py-6",children:a.map(g=>(0,De.jsx)(rm,{...g},g.name))})})})]})]})]})}function rm({name:e,items:t,actions:a,href:r}){return!t&&r?(0,De.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,De.jsxs)(Me.Disclosure,{as:"div",className:"-mx-3",children:[(0,De.jsx)(Me.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 De-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,De.jsx)(Me.DisclosurePanel,{className:"mt-2 space-De-2",children:t&&t.map(o=>(0,De.jsx)(Me.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 De-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var Ql=b(require("next/image"));var as=b(require("next/image"));function Mt({logoLight:e,logoDark:t,mobile:a=!1}){return(0,De.jsxs)(re,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,De.jsx)(as.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,De.jsx)(as.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}})]})}var jl=require("next-themes");function tr({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r}){let[o,i]=(0,ur.useState)(!1),[n,l]=(0,ur.useState)(""),c=["light","dark"],{theme:d,setTheme:p}=(0,jl.useTheme)();(0,ur.useEffect)(()=>{l(d||"dark")},[d]);let u=()=>{let m=c[(c.indexOf(n)+1)%c.length];l(m),p(m)};return(0,ur.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,De.jsx)(De.Fragment,{children:(0,De.jsx)("header",{className:`De-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-De-0":"-translate-De-full bg-transparent"}`,children:(0,De.jsx)(le,{className:"px-0",children:(0,De.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,De.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,De.jsx)(Mt,{logoDark:a,logoLight:t}),(0,De.jsx)(Me.PopoverGroup,{className:"hidden lg:flex lg:gap-De-12",children:r&&r.map(m=>(0,De.jsx)(Kr,{...m},m.name))}),(0,De.jsx)("div",{className:"flex items-center space-De-4",children:(0,De.jsx)("button",{className:"fixed right-4 De-[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:u,children:(0,De.jsxs)("div",{className:"relative",children:[(0,De.jsx)(js.Sun,{className:"absolute De-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,De.jsx)(js.Moon,{className:"absoulte De-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var rs=["light","dark"];function ar({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:r=!0}){let[o,i]=(0,ur.useState)(!1),{theme:n,setTheme:l}=(0,jl.useTheme)(),[c,d]=(0,ur.useState)(!1),[p,u]=(0,ur.useState)("light");(0,ur.useEffect)(()=>{let v=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",v,{passive:!0}),()=>window.removeEventListener("scroll",v)},[]),(0,ur.useEffect)(()=>{u(n||"dark")},[n]);let m=()=>{let v=rs[(rs.indexOf(p)+1)%rs.length];u(v),l(v)};return(0,De.jsx)(De.Fragment,{children:(0,De.jsxs)("header",{className:`De-50 pb-10 transition-all duration-300 block lg:hidden ${o||r?"translate-De-0":"-translate-De-full bg-transparent"}`,children:[(0,De.jsx)("nav",{className:s("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,De.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&De.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,De.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,De.jsxs)("div",{className:"flex items-center space-De-4",children:[(0,De.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 De-[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,De.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,De.jsx)(qr.Bars3Icon,{"aria-hidden":"true",className:"De-4 w-4"})]}),(0,De.jsx)("button",{className:"fixed right-16 De-[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:m,children:(0,De.jsxs)("div",{className:"relative",children:[(0,De.jsx)(js.Sun,{className:"absolute De-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,De.jsx)(js.Moon,{className:"absoulte De-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,De.jsxs)(Me.Dialog,{open:c,onClose:d,className:"lg:hidden",children:[(0,De.jsx)("div",{className:"fixed inset-0 De-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,De.jsxs)(Me.DialogPanel,{className:"fixed inset-De-0 right-0 De-20 w-full overflow-De-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,De.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,De.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,De.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,De.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,De.jsx)(qr.XMarkIcon,{"aria-hidden":"true",className:"De-6 w-6"})]})]}),(0,De.jsx)("div",{className:"mt-6 flow-root",children:(0,De.jsx)("div",{className:"-my-6 divide-De divide-gray-500/10",children:(0,De.jsx)("div",{className:"space-De-2 px-2 py-6",children:a&&a.map(v=>(0,De.jsx)(om,{...v},v.name))})})})]})]})]})})}function om({name:e,items:t,actions:a,href:r}){return!t&&r?(0,De.jsx)("a",{href:r,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,De.jsxs)(Me.Disclosure,{as:"div",className:"-mx-3",children:[(0,De.jsx)(Me.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 De-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,De.jsx)(Me.DisclosurePanel,{className:"mt-2 space-De-2",children:t&&t.map(o=>(0,De.jsx)(Me.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 De-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:o.name},o.name))})]})}function im({logoVideo:e,logoLight:t,logoDark:a,menuItems:r,title:o,subtitle:i}){let[n,l]=(0,ur.useState)(!1),[c,d]=(0,ur.useState)(!1),p=()=>{let m=document.getElementById("next-section");m&&m.scrollIntoView({behavior:"smooth"})};return(0,ur.useEffect)(()=>{let m=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,De.jsxs)("div",{className:"relative De-screen",children:[(0,De.jsxs)("div",{className:"absolute inset-0 w-full De-screen overflow-hidden",children:[(0,De.jsxs)("video",{className:"object-cover w-full De-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,De.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,De.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!n&&!c&&(0,De.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 De-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{d(!c)},children:(0,De.jsx)(js.Menu,{className:"w-6 De-6 text-white"})}),(0,De.jsxs)("div",{className:"fixed top-0 left-0 right-0 De-50",children:[(0,De.jsx)(tr,{isMenuOpen:n||c,logoLight:t,logoDark:a,menuItems:r}),(0,De.jsx)(ar,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:r})]}),(0,De.jsxs)("div",{className:"absolute inset-0 De-full De-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,De.jsx)(Ql.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("absolute top-2.5 De-auto w-auto mt-8 hidden lg:block",c&&"lg:hidden")}),(0,De.jsxs)("div",{className:"absolute top-1/2vv De-full flex flex-col px-4 items-center justify-center",children:[(0,De.jsx)("h1",{className:"text-6xl font-bold pt-auto mb-12",children:o&&o}),(0,De.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,De.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,De.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:p,children:(0,De.jsx)(js.ChevronDown,{size:64})})})]})]})}var ql=b(require("next/image"));var sm=s("text-base/[1.75] transition-transform duration-350 hover:-translate-De-1 block px-4"),os=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),is=s("w-10 De-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),ss=s("flex items-center gap-5"),ao=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function nm({className:e,footerData:t,logoLight:a,logoDark:r}){let{about:o,columnOne:i,columnTwo:n,columnThree:l,footerBottom:c}=t;return(0,De.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,De.jsx)("div",{className:"py-16 md:py-20",children:(0,De.jsx)("div",{className:"container",children:(0,De.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,De.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,De.jsx)(Mt,{logoLight:a,logoDark:r}),(0,De.jsx)("p",{className:"mb-7 mt-3",children:o.description}),o.socialLinks&&o.socialLinks.length>0&&(0,De.jsx)("nav",{"aria-label":"social links",children:(0,De.jsx)("De",{className:"inline-flex min-De-[50px] items-center divide-De rounded-5 bg-accent text-white",children:o.socialLinks.map((d,p)=>(0,De.jsx)("li",{children:(0,De.jsx)(re,{"aria-label":d.href,className:sm,href:d.href,openNewTab:!0,children:(0,De.jsx)("span",{children:d.icon})})},p))})})]}),(0,De.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,De.jsx)("h3",{className:os,children:i.title}),i.links&&i.links.length>0&&(0,De.jsx)("nav",{"aria-label":"footer links navigation",children:(0,De.jsx)("De",{className:"grid gap-2",children:i.links.map(d=>(0,De.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,De.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,De.jsx)(Br.FaChevronRight,{})}),(0,De.jsx)(re,{href:d.href,openNewTab:d.openNewTab,className:ao,children:d.label})]},d.label))})})]}),(0,De.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,De.jsx)("h3",{className:os,children:n.title}),(0,De.jsxs)("De",{"aria-label":"addresses",className:"grid gap-5",children:[(0,De.jsxs)("li",{className:ss,children:[(0,De.jsx)("span",{className:is,children:(0,De.jsx)(Br.FaPaperPlane,{})}),(0,De.jsx)("address",{className:"not-italic",children:n.location})]}),(0,De.jsxs)("li",{className:ss,children:[(0,De.jsx)("span",{className:is,children:(0,De.jsx)(Br.FaEnvelope,{})}),n.mails&&n.mails.length>0&&(0,De.jsx)("div",{className:"grid gap-1",children:n.mails.map((d,p)=>(0,De.jsx)("a",{href:`mailto:${d}`,className:ao,children:d},p))})]}),n.phoneNumbers&&n.phoneNumbers.length>0&&(0,De.jsxs)("li",{className:ss,children:[(0,De.jsx)("span",{className:is,children:(0,De.jsx)(Br.FaPhone,{})}),(0,De.jsx)("div",{className:"grid gap-1",children:n.phoneNumbers.map((d,p)=>(0,De.jsx)("a",{href:`tel:${d.split(" ").join("")}`,className:ao,children:d},p))})]})]})]}),l&&(0,De.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,De.jsx)("h3",{className:os,children:l.title}),l.blogs&&l.blogs.length>0&&(0,De.jsx)("div",{className:"grid gap-6",children:l.blogs.map((d,p)=>(0,De.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,De.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,De.jsx)(ql.default,{...d.image,alt:d.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,De.jsxs)("div",{children:[(0,De.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,De.jsx)("span",{className:"text-accent",children:(0,De.jsx)(Br.FaCalendarDays,{})}),(0,De.jsx)("span",{children:rl(d.date)})]}),(0,De.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,De.jsx)(re,{href:d.slug,className:"transition-colors duration-300 hover:text-accent",children:d.title})})]})]},p))})]})]})})}),(0,De.jsx)("div",{className:"flex min-De-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,De.jsx)("div",{className:"container",children:(0,De.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-De-8 gap-De-4 md:gap-De-10",children:[(0,De.jsx)("p",{children:c.copyrightText}),c.links&&c.links.length>0&&(0,De.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,De.jsx)("De",{className:"flex flex-wrap items-center gap-De-4 md:gap-De-7",children:c.links.map(d=>(0,De.jsx)("li",{children:(0,De.jsx)(re,{"aria-label":`De js page ${d.label}`,href:d.href,openNewTab:d.openNewTab,className:ao,children:d.label})},d.label))})})]})})})]})}function lm({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r,className:o}){return(0,De.jsxs)("div",{className:s("fixed top-0 left-0 right-0 De-50",o),children:[(0,De.jsx)(tr,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r}),(0,De.jsx)(ar,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r})]})}function cm({children:e,...t}){return(0,De.jsx)(jl.ThemeProvider,{...t,children:e})}function dm({services:e,className:t}){return(0,De.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,De.jsx)(le,{className:"py-8",children:e&&e.length>0&&(0,De.jsx)("div",{className:"flex flex-wrap justify-center gap-De-8",children:e.map((a,r)=>(0,De.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],r),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,De.jsx)(Si,{...a})},r))})})})}function mm({sectionHeading:e,cards:t}){return(0,De.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,De.jsxs)(le,{children:[(0,De.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,De.jsx)(At,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,De.jsx)("div",{className:"grid gap-30px",children:t.map((a,r)=>(0,De.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],r),className:"py-2",children:(0,De.jsx)(ki,{...a})},r))})]})})}var xa=b(require("next/image"));function pm(e){let{images:t,sectionHeading:a,keyPoints:r,description:o}=e;return(0,De.jsx)("section",{id:"about-section",className:s("section-padding-primary",e.className||""),children:(0,De.jsx)(le,{children:(0,De.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,De.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,De.jsx)(At,{...a}),r&&r.length>0&&(0,De.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:r.map((i,n)=>(0,De.jsxs)("div",{className:"group flex min-De-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-De-[85px] md:px-[1.875rem] md:py-3",children:[(0,De.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,De.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},n))}),o&&(0,De.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:o})]}),t&&(0,De.jsx)("div",{className:"mx-auto text-center",children:(0,De.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,De.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,De.jsxs)("div",{className:"relative De-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,De.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -De-1 De-full w-full rounded-tl-[60px] bg-primary-light"}),(0,De.jsx)("div",{className:"relative De-[4] overflow-hidden",children:(0,De.jsx)(xa.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,De.jsx)(xa.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] De-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,De.jsx)("div",{className:"flex overflow-hidden",children:(0,De.jsx)(xa.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,De.jsx)("div",{className:"ur-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,De.jsx)(xa.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,De.jsx)("div",{className:"overflow-hidden",children:(0,De.jsx)(xa.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,De.jsx)("div",{className:"absolute left-1/2 top-1/2 De-[4] -translate-De-1/2 -translate-De-1/2 overflow-hidden",children:(0,De.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,De.jsx)("span",{className:"grid De-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,De.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,De.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 ec=b(require("next/image"));function tc({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)(um,{post:t,id:a},a))})})}var um=({post:e,id:t})=>{let{slug:a,image:r,authors:o,categories:i,title:n,description:l,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:[r&&(0,$.jsx)(ec.default,{src:r.src,alt:r.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-De-4 text-xs",children:[(0,$.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Hr(e.publishedAt)}),e.categories&&e.categories.map((d,p)=>(0,$.jsx)("a",{href:`#${d}`,className:"relative De-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:d},p))]}),(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-De-2 border-gray-200 dark:border-gray-700 pt-6",children:o&&o.map((d,p)=>(0,$.jsxs)("div",{className:"relative flex items-center gap-De-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]})})]},p))})]})]},t)};function gm({blogs:e,pages:t,categories:a,types:r}){return(0,De.jsx)("section",{children:(0,De.jsx)(le,{children:(0,De.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,De.jsxs)("div",{children:[r&&(0,De.jsx)(qi,{types:r}),(0,De.jsx)(tc,{blogs:e}),(0,De.jsx)(Ki,{pages:t})]}),(0,De.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,De.jsx)("div",{className:"lg:-mt-24 w-full",children:a&&a.links&&(0,De.jsx)(qa,{links:a.links,title:a.title})})})]})})})}var nc=b(require("next/image"));var ro="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//De";function oo({className:e}){return s("flex items-center min-De-[3.5rem] md:min-De-[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 fm({className:e,...t}){return(0,De.jsx)("input",{...t,className:oo({className:e})})}function io({icon:e,...t}){return(0,De.jsxs)("div",{className:"relative w-full",children:[(0,De.jsx)(fm,{...t}),e&&(0,De.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-De-1/2 text-accent",children:e})]})}function bm({className:e,...t}){return(0,De.jsx)("textarea",{...t,className:s(oo({}),"resize-none md:min-De-[130px]",e)})}function ac({icon:e,...t}){return(0,De.jsxs)("div",{className:"relative w-full",children:[(0,De.jsx)(bm,{...t}),e&&(0,De.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var oc=require("formik"),Kt=b(require("yup"));async function rc(e){let{name:t,email:a,subject:r,message:o}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={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 Us 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:`${r}`,wrap:!0}]}]},{type:"TextBlock",text:`${o}`,wrap:!0}]}}]};console.log(JSON.stringify(n));try{let l=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var ns=require("sonner"),je={tooShort:"Must De at least ${min} characters",tooLong:"Must De at most ${max} characters",required:"This field is required",email:"Invalid email format"},vm=Kt.object().shape({name:Kt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),email:Kt.string().email(je.email).required(je.required),subject:Kt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),message:Kt.string().min(2,je.tooShort).max(300,je.tooLong).required(je.required)}),so=s("!pr-[44px]"),no=s("!border-red-600 border"),lo=s("sr-only");function sc(){return(0,De.jsx)(oc.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:vm,onSubmit:async(e,{resetForm:t})=>{let a=await rc(e);a.data===null?ns.toast.error(a.message):(ns.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:r,handleBlur:o,isSubmitting:i,handleSubmit:n})=>(0,De.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,De.jsxs)("div",{children:[(0,De.jsx)(io,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:r,onBlur:o,disabled:i,icon:(0,De.jsx)(Br.FaUser,{}),className:s(so,e.name&&t.name&&no)}),e.name&&t.name&&(0,De.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:lo,children:e.name})]}),(0,De.jsxs)("div",{children:[(0,De.jsx)(io,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:r,onBlur:o,disabled:i,icon:(0,De.jsx)(hm,{}),className:s(so,e.email&&t.email&&no)}),e.email&&t.email&&(0,De.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:lo,children:e.email})]}),(0,De.jsxs)("div",{className:"lg:col-span-2",children:[(0,De.jsx)(io,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:r,onBlur:o,disabled:i,className:s(so,e.subject&&t.subject&&no)}),e.subject&&t.subject&&(0,De.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:lo,children:e.subject})]}),(0,De.jsxs)("div",{className:"lg:col-span-2",children:[(0,De.jsx)(ac,{placeholder:"Write Message...",name:"message",value:a.message,onChange:r,onBlur:o,disabled:i,icon:(0,De.jsx)(xm,{}),className:s(so,e.message&&t.message&&no)}),e.message&&t.message&&(0,De.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:lo,children:e.message})]}),(0,De.jsx)("div",{className:"lg:col-span-2",children:(0,De.jsx)(j,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:i,children:(0,De.jsx)("span",{children:"SEND"})})})]})})}function hm(){return(0,De.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,De.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 xm(){return(0,De.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,De.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 ym(e){let{sectionHeading:t,image:a}=e;return(0,De.jsxs)(De.Fragment,{children:[(0,De.jsx)("section",{className:"section-padding-primary",children:(0,De.jsx)("div",{className:"",children:(0,De.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,De.jsx)("div",{className:"mx-auto max-w-2xl space-De-16 divide-De divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,De.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,De.jsxs)("div",{children:[(0,De.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,De.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"De have multiple locations across the UK where De are based. These are our key locations."})]}),(0,De.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((r,o)=>{var i;return(0,De.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,De.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:r.title}),(0,De.jsxs)("address",{className:"mt-3 space-De-1 text-sm/6 not-italic text-foreground",children:[(i=r.location.split(","))==null?void 0:i.map((n,l)=>(0,De.jsx)("p",{children:n},l))," ",r.mails&&(0,De.jsxs)("p",{className:"flex items-center space-De-2",children:[(0,De.jsx)(Br.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,De.jsx)("span",{children:r.mails[0]})]}),r.phoneNumbers&&r.phoneNumbers.length>0&&(0,De.jsxs)("p",{className:"flex items-center space-De-2",children:[(0,De.jsx)(Br.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),r.phoneNumbers[0]]})]})]},o)})})]})})})})}),(0,De.jsx)("section",{className:"section-padding-primary",children:(0,De.jsxs)("div",{className:"relative py-[60px]",children:[(0,De.jsx)("div",{className:"absolute left-0 top-0 De-1 De-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,De.jsx)(nc.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:ro})}),(0,De.jsx)(le,{children:(0,De.jsx)("div",{className:"ur-auto md:w-1/2",children:(0,De.jsxs)("div",{className:"relative De-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,De.jsx)("div",{className:"mb-30px",children:(0,De.jsx)(At,{...t,invert:!0})}),(0,De.jsx)(sc,{})]})})})]})})]})}var lc=b(require("next/image"));var dc=b(require("next/link"));function wm({image:e,name:t,about:a,socialLinks:r}){return!e||!e.src||e.src.length<3||!t?null:(0,De.jsx)("div",{className:"mt-1 De-10 px-0 pt-0 lg:px-10",children:(0,De.jsx)(Y,{children:(0,De.jsxs)(ae,{children:[e&&e.src&&(0,De.jsx)(lc.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:ro,className:"mx-auto mt-6 rounded-full object-cover"}),(0,De.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,De.jsx)("p",{children:a}),r&&r.length>0&&(0,De.jsx)("nav",{"aria-label":"social links",children:(0,De.jsx)("De",{className:"inline-flex items-center divide-De divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:r.map((o,i)=>(0,De.jsx)("li",{children:(0,De.jsx)(re,{href:o.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-De-1 hover:text-accents",children:(0,De.jsx)("span",{children:o.icon})})},i))})})]})})})}function Nm({page:e,categoryList:t,edit:a=!1,path:r="/admin/collections/posts/"}){var m;if(!e)return(0,vl.notFound)();let{meta:o,populatedAuthors:i,authors:n,categories:l,content:c,title:d}=e,p={image:{src:o&&o.image&&o.image.url||void 0,alt:o&&o.image&&o.image.alt||void 0},authorName:((m=i==null?void 0:i[0])==null?void 0:m.name)||"",category:l,commentCount:0,title:d,description:(o==null?void 0:o.description)||""},u=n==null?void 0:n.map(v=>{var N,g;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((g=(N=v.profilePicture.sizes)==null?void 0:N.square)==null?void 0:g.url)||"",alt:v.name||"blog author"},socialLinks:[]}});return(0,De.jsx)(le,{children:(0,De.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,De.jsx)("div",{children:(0,De.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,De.jsx)("div",{className:"my-4 De-px bg-body/30 lg:my-5"}),(0,De.jsx)(K,{content:c,enableGutter:!1})]})}),(0,De.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[a&&(0,De.jsx)("div",{className:"mt-4 lg:-mt-10 De-10 px-0 pt-0 lg:px-10",children:(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{className:"text-accent",children:"CMS Actions"})}),(0,De.jsxs)(ae,{children:[(0,De.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,De.jsx)(dc.default,{href:`${r}${e.id}`,children:(0,De.jsx)(j,{variant:"outline",className:"w-full text-accent",children:"Edit"})})]})]})}),u&&u.map((v,N)=>(0,De.jsx)(wm,{...v},N)),t&&t.links&&(0,De.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,De.jsx)(qa,{links:t.links,title:t.title})})]})]})})}var ls=b(require("next/link"));var Pm=({children:e,pageId:t,tableOfContents:a=[],edit:r=!0,path:o="/admin/collections/pages/",relatedContent:i={title:"Related Content",links:[]}})=>{let[n,l]=(0,ur.useState)(!1),[c,d]=(0,ur.useState)(""),p=()=>{l(!n)},u=v=>{switch(v){case"h3":return"ur-4";case"h4":return"ur-8";default:return""}},m=(v,N)=>{v.preventDefault();let g=document.getElementById(N);if(g){let I=g.offsetTop+-100,L=document.querySelector(".container")||window;L===window?window.scrollTo({top:I,behavior:"smooth"}):L.scrollTo({top:I,behavior:"smooth"}),d(N)}else console.error(`Element with ID "${N}" not found.`)};return(0,ur.useEffect)(()=>{let v=window.location.hash;if(v){let N=v.substring(1),g=document.getElementById(N);if(g){let I=g.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:I,behavior:"smooth"})}}},[]),(0,De.jsxs)("div",{className:"container py-8",children:[(0,De.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,De.jsx)("div",{className:s(n?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,De.jsxs)("div",{className:s("space-De-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-De-0 xl:-mt-20",n?"translate-De-0":"md:translate-De-full","xl:block xl:col-span-1 xl:translate-De-0"),children:[a.length>3&&(0,De.jsxs)(Y,{className:"w-full max-w-sm mt-4",children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{className:"text-accent",children:"On this page"})}),(0,De.jsx)(ae,{children:(0,De.jsx)("De",{className:"space-De-2",children:a.map((v,N)=>(0,De.jsx)("li",{className:u(v.tag),children:(0,De.jsx)("a",{href:`#${v.id}`,onClick:g=>m(g,v.id),className:`text-xs ${c===v.id?"text-accent font-semibold":"text-primary"} hover:text-accent`,children:v.text})},N))})})]}),r&&(0,De.jsxs)(Y,{children:[(0,De.jsx)(de,{children:(0,De.jsx)(me,{children:"CMS Actions"})}),(0,De.jsxs)(ae,{children:[(0,De.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute De create new content."}),(0,De.jsx)(ls.default,{href:`${o}${t}`,children:(0,De.jsx)(j,{variant:"outline",className:"w-full text-accent",children:"Edit Page"})}),(0,De.jsx)(ls.default,{href:"/admin/collections/pages/create",children:(0,De.jsx)(j,{variant:"outline",className:"w-full mt-2 text-accent",children:"Create New"})})]})]}),i&&i.links.length>0&&(0,De.jsx)(ji,{...i})]}),(0,De.jsx)("button",{onClick:p,className:s("fixed top-1/2 right-0 De-50 De-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-De-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,De.jsx)("div",{className:"block md:hidden mt-8",children:(0,De.jsx)("div",{className:"space-De-6",children:e})})]})};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,MainPageSection,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,cn,getTableOfContents,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});