cortex-react-components 1.34.2 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2GYQYXLF.mjs +1 -0
- package/dist/chunk-65EMMROH.mjs +4 -0
- package/dist/{chunk-FOMIQYMA.mjs → chunk-6TGQ2756.mjs} +1 -1
- package/dist/{chunk-3PC5BLK7.mjs → chunk-7DYXQ6BN.mjs} +1 -1
- package/dist/{chunk-A2QVFCP5.mjs → chunk-7WPMELBG.mjs} +1 -1
- package/dist/{chunk-6ZXYKK6J.mjs → chunk-C7U6C7PB.mjs} +1 -1
- package/dist/{chunk-XKUS4OC7.mjs → chunk-CWNEDSLD.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-IMAQJ7N3.mjs → chunk-EMZQNDA7.mjs} +1 -1
- package/dist/chunk-HNZ74SX3.mjs +4 -0
- package/dist/{chunk-MZ45XGZG.mjs → chunk-HXJ67UB3.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/{chunk-ULKXH4YN.mjs → chunk-MBCAGZ76.mjs} +1 -1
- package/dist/{chunk-VDSYKQJA.mjs → chunk-MGTUBWFI.mjs} +1 -1
- package/dist/chunk-PFG3VUW7.mjs +1 -0
- package/dist/{chunk-OVAOTY36.mjs → chunk-TO2JWPLJ.mjs} +1 -1
- package/dist/{chunk-VP7B5S7N.mjs → chunk-UQ3BPZ7T.mjs} +1 -1
- package/dist/chunk-WJP5QP2O.mjs +4 -0
- package/dist/{chunk-OBJPMP7L.mjs → chunk-WYGN4HPP.mjs} +1 -1
- package/dist/{chunk-LQZTCLMG.mjs → chunk-Y2KKUQDU.mjs} +2 -2
- package/dist/chunk-ZDYIZAK5.mjs +1 -0
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/EventCard.js +2 -2
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.js +2 -2
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.d.ts +8 -0
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.js +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/index.js +7 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.js +2 -2
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.js +2 -2
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3FTRFEVM.mjs +0 -4
- package/dist/chunk-3IHGGPRN.mjs +0 -1
- package/dist/chunk-456IOI6A.mjs +0 -1
- package/dist/chunk-AO2FTKDA.mjs +0 -1
- package/dist/chunk-GFTFZ7JY.mjs +0 -4
- package/dist/chunk-K6CEB2MJ.mjs +0 -4
- package/dist/chunk-S7CP4YF5.mjs +0 -1
package/dist/components/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
|
-
|
|
3
|
+
'use strict'
|
|
4
4
|
|
|
5
|
-
"use strict";var Nl=Object.create;var Xo=Object.defineProperty;var Pl=Object.getOwnPropertyDescriptor;var Cl=Object.getOwnPropertyNames;var Rl=Object.getPrototypeOf,Sl=Object.prototype.hasOwnProperty;var kl=(e,t)=>{for(var o in t)Xo(e,o,{get:t[o],enumerable:!0})},Hi=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Cl(t))!Sl.call(e,a)&&a!==o&&Xo(e,a,{get:()=>t[a],enumerable:!(r=Pl(t,a))||r.enumerable});return e};var b=(e,t,o)=>(o=e!=null?Nl(Rl(e)):{},Hi(t||!e||!e.__esModule?Xo(o,"default",{value:e,enumerable:!0}):o,e)),Tl=e=>Hi(Xo({},"__esModule",{value:!0}),e);var kd={};kl(kd,{Alert:()=>ja,AlertDescription:()=>Ka,AlertTitle:()=>Ya,Avatar:()=>To,AvatarFallback:()=>Do,AvatarImage:()=>Mo,Badge:()=>Kt,BannerBlock:()=>ei,BlogCard:()=>Fs,BlogList:()=>Hc,BrandLogo:()=>yt,Breadcrumb:()=>Xr,BreadcrumbEllipsis:()=>qr,BreadcrumbItem:()=>Yr,BreadcrumbLink:()=>Kr,BreadcrumbList:()=>jr,BreadcrumbPage:()=>Jr,BreadcrumbSeparator:()=>Qr,Button:()=>le,CMSLink:()=>et,CallToActionBlock:()=>Eo,Card:()=>Lo,Categories:()=>dd,Checkbox:()=>Wn,CodeBlock:()=>ai,Collapsible:()=>je,CollapsibleContent:()=>ct,CollapsibleTrigger:()=>lt,CollectionArchive:()=>Fc,Command:()=>dr,CommandDialog:()=>On,CommandEmpty:()=>Va,CommandGroup:()=>$a,CommandInput:()=>Ga,CommandItem:()=>Wa,CommandList:()=>_a,CommandSeparator:()=>Ua,CommandShortcut:()=>Xa,Container:()=>Lt,ContentBlock:()=>gi,CopyButton:()=>oi,CustomLink:()=>Z,CustomerCard:()=>as,Dialog:()=>Yt,DialogClose:()=>lr,DialogContent:()=>kt,DialogDescription:()=>Oa,DialogFooter:()=>Fa,DialogHeader:()=>So,DialogOverlay:()=>cr,DialogPortal:()=>za,DialogTitle:()=>ko,DialogTrigger:()=>zn,DropdownMenu:()=>ji,DropdownMenuCheckboxItem:()=>ra,DropdownMenuContent:()=>ta,DropdownMenuGroup:()=>Ki,DropdownMenuItem:()=>oa,DropdownMenuLabel:()=>ia,DropdownMenuPortal:()=>Ji,DropdownMenuRadioGroup:()=>qi,DropdownMenuRadioItem:()=>aa,DropdownMenuSeparator:()=>na,DropdownMenuShortcut:()=>sa,DropdownMenuSub:()=>Qi,DropdownMenuSubContent:()=>ea,DropdownMenuSubTrigger:()=>Zr,DropdownMenuTrigger:()=>Yi,DynamicIcon:()=>ke,EventCard:()=>is,FeatureCard:()=>ts,FeatureGrid:()=>us,FeaturesBlock:()=>bi,Filter:()=>md,Footer:()=>Cd,Header:()=>Rd,HeaderDesktop:()=>Oo,HeaderMobile:()=>Go,HeadingImage:()=>Zc,HighImpactHero:()=>wi,HoverCard:()=>En,HoverCardContent:()=>Ha,HoverCardTrigger:()=>Ln,Image:()=>ds,ImageBlock:()=>ed,InfoTile:()=>Wc,Input:()=>co,Insight:()=>Uc,Label:()=>Ba,Logo:()=>Oc,LowImpactHero:()=>Ci,MOTD:()=>jc,Media:()=>ot,MediaBlock:()=>Qt,MediumImpactHero:()=>Pi,NewsGrid:()=>xs,OrgChart:()=>Jc,PageRange:()=>Vc,Pagination:()=>cd,PayloadPagination:()=>$c,Popover:()=>Sn,PopoverAnchor:()=>Tn,PopoverContent:()=>Ea,PopoverTrigger:()=>kn,PostHero:()=>ud,PricingCard:()=>Ec,ProjectCard:()=>cs,ProjectTeam:()=>sd,ProposalSummary:()=>Qc,RelatedContent:()=>ld,RelatedPosts:()=>od,RenderBlocks:()=>td,RenderHero:()=>gd,RichText:()=>j,ScrollArea:()=>Ia,ScrollBar:()=>sr,SectionHero:()=>bd,Select:()=>Nc,SelectContent:()=>jn,SelectGroup:()=>Pc,SelectItem:()=>Kn,SelectLabel:()=>Yn,SelectScrollDownButton:()=>qa,SelectScrollUpButton:()=>Qa,SelectSeparator:()=>Jn,SelectTrigger:()=>Xn,SelectValue:()=>Cc,Separator:()=>mo,ServiceCard:()=>Ac,Sheet:()=>Yo,SheetClose:()=>sn,SheetContent:()=>uo,SheetDescription:()=>ua,SheetFooter:()=>ma,SheetHeader:()=>da,SheetOverlay:()=>Ko,SheetPortal:()=>ca,SheetTitle:()=>pa,SheetTrigger:()=>nn,Sidebar:()=>wt,SidebarContent:()=>dt,SidebarFooter:()=>Pt,SidebarGroup:()=>Ce,SidebarGroupAction:()=>ya,SidebarGroupContent:()=>Ee,SidebarGroupLabel:()=>Ke,SidebarHeader:()=>Nt,SidebarInput:()=>xa,SidebarInset:()=>ha,SidebarLeft:()=>rd,SidebarMenu:()=>fe,SidebarMenuAction:()=>vo,SidebarMenuBadge:()=>wa,SidebarMenuButton:()=>Re,SidebarMenuItem:()=>te,SidebarMenuSkeleton:()=>Na,SidebarMenuSub:()=>mt,SidebarMenuSubButton:()=>ut,SidebarMenuSubItem:()=>pt,SidebarProvider:()=>ga,SidebarRail:()=>va,SidebarRight:()=>nd,SidebarSeparator:()=>bo,SidebarTrigger:()=>ba,SimpleHeader:()=>xd,Skeleton:()=>V,TextAndImages:()=>ys,Textarea:()=>qn,ThemeProvider:()=>Sd,Toast:()=>yo,ToastAction:()=>Ra,ToastClose:()=>wo,ToastDescription:()=>Po,ToastProvider:()=>ir,ToastTitle:()=>No,ToastViewport:()=>xo,Toaster:()=>yn,Toggle:()=>ka,ToggleGroup:()=>Ta,ToggleGroupItem:()=>Ma,Tooltip:()=>Zo,TooltipContent:()=>go,TooltipProvider:()=>qo,TooltipTrigger:()=>er,VerticalSlider:()=>bs,VideoHeader:()=>Nd,WhyUs:()=>qc,badgeVariants:()=>Ja,buttonVariants:()=>fo,toggleVariants:()=>Co,useIsMobile:()=>Qo,useSidebar:()=>Xt,useToast:()=>ar});module.exports=Tl(kd);var Vt=b(require("react")),jo=require("@radix-ui/react-icons"),Xi=require("@radix-ui/react-slot");var Wi=require("clsx");var Wr="-",Ml=e=>{let t=Il(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let s=l.split(Wr);return s[0]===""&&s.length!==1&&s.shift(),Oi(s,t)||Dl(l)},getConflictingClassGroupIds:(l,s)=>{let c=o[l]||[];return s&&r[l]?[...c,...r[l]]:c}}},Oi=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?Oi(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(Wr);return(l=t.validators.find(({validator:s})=>s(i)))==null?void 0:l.classGroupId},zi=/^\[(.+)\]$/,Dl=e=>{if(zi.test(e)){let t=zi.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Il=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return El(Object.entries(e.classGroups),o).forEach(([i,l])=>{Ur(l,r,i,t)}),r},Ur=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:Fi(t,a);i.classGroupId=o;return}if(typeof a=="function"){if(Al(a)){Ur(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([i,l])=>{Ur(l,Fi(t,i),o,r)})})},Fi=(e,t)=>{let o=e;return t.split(Wr).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},Al=e=>e.isThemeGetter,El=(e,t)=>t?e.map(([o,r])=>{let a=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[o,a]}):e,Ll=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(i,l)=>{o.set(i,l),t++,t>e&&(t=0,r=o,o=new Map)};return{get(i){let l=o.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return a(i,l),l},set(i,l){o.has(i)?o.set(i,l):a(i,l)}}},Gi="!",Bl=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],i=t.length,l=s=>{let c=[],d=0,u=0,f;for(let w=0;w<s.length;w++){let A=s[w];if(d===0){if(A===a&&(r||s.slice(w,w+i)===t)){c.push(s.slice(u,w)),u=w+i;continue}if(A==="/"){f=w;continue}}A==="["?d++:A==="]"&&d--}let m=c.length===0?s:s.substring(u),y=m.startsWith(Gi),I=y?m.substring(1):m,g=f&&f>u?f-u:void 0;return{modifiers:c,hasImportantModifier:y,baseClassName:I,maybePostfixModifierPosition:g}};return o?s=>o({className:s,parseClassName:l}):l},Hl=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},zl=e=>({cache:Ll(e.cacheSize),parseClassName:Bl(e),...Ml(e)}),Fl=/\s+/,Ol=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=[],l=e.trim().split(Fl),s="";for(let c=l.length-1;c>=0;c-=1){let d=l[c],{modifiers:u,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:y}=o(d),I=!!y,g=r(I?m.substring(0,y):m);if(!g){if(!I){s=d+(s.length>0?" "+s:s);continue}if(g=r(m),!g){s=d+(s.length>0?" "+s:s);continue}I=!1}let w=Hl(u).join(":"),A=f?w+Gi:w,E=A+g;if(i.includes(E))continue;i.push(E);let se=a(g,I);for(let Ue=0;Ue<se.length;++Ue){let Ot=se[Ue];i.push(A+Ot)}s=d+(s.length>0?" "+s:s)}return s};function Gl(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=_i(t))&&(r&&(r+=" "),r+=o);return r}var _i=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=_i(e[r]))&&(o&&(o+=" "),o+=t);return o};function _l(e,...t){let o,r,a,i=l;function l(c){let d=t.reduce((u,f)=>f(u),e());return o=zl(d),r=o.cache.get,a=o.cache.set,i=s,s(c)}function s(c){let d=r(c);if(d)return d;let u=Ol(c,o);return a(c,u),u}return function(){return i(Gl.apply(null,arguments))}}var F=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Vi=/^\[(?:([a-Pe-]+):)?(.+)\]$/i,Vl=/^\d+\/\d+$/,$l=new Set(["px","full","screen"]),Ul=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wl=/\d+(%|px|r?em|[sdl]?Pe([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Pe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jl=/^(inset_)?-?((\d+)?\.?(\d+)[a-Pe]+|0)_-?((\d+)?\.?(\d+)[a-Pe]+|0)/,Yl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xe=e=>Gt(e)||$l.has(e)||Vl.test(e),nt=e=>_t(e,"length",oc),Gt=e=>!!e&&!Number.isNaN(Number(e)),$r=e=>_t(e,"number",Gt),so=e=>!!e&&Number.isInteger(Number(e)),Kl=e=>e.endsWith("%")&&Gt(e.slice(0,-1)),N=e=>Vi.test(e),st=e=>Ul.test(e),Jl=new Set(["length","size","percentage"]),Ql=e=>_t(e,Jl,$i),ql=e=>_t(e,"position",$i),Zl=new Set(["image","url"]),ec=e=>_t(e,Zl,ac),tc=e=>_t(e,"",rc),lo=()=>!0,_t=(e,t,o)=>{let r=Vi.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},oc=e=>Wl.test(e)&&!Xl.test(e),$i=()=>!1,rc=e=>jl.test(e),ac=e=>Yl.test(e);var ic=()=>{let e=F("colors"),t=F("spacing"),o=F("blur"),r=F("brightness"),a=F("borderColor"),i=F("borderRadius"),l=F("borderSpacing"),s=F("borderWidth"),c=F("contrast"),d=F("grayscale"),u=F("hueRotate"),f=F("invert"),m=F("gap"),y=F("gradientColorStops"),I=F("gradientColorStopPositions"),g=F("inset"),w=F("margin"),A=F("opacity"),E=F("padding"),se=F("saturate"),Ue=F("scale"),Ot=F("sepia"),$o=F("skew"),Di=F("space"),Ii=F("translate"),Or=()=>["auto","contain","none"],Gr=()=>["auto","hidden","clip","visible","scroll"],_r=()=>["auto",N,t],O=()=>[N,t],Ai=()=>["",Xe,nt],Uo=()=>["auto",Gt,N],Ei=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Wo=()=>["solid","dashed","dotted","double","none"],Li=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Vr=()=>["start","end","center","between","around","evenly","stretch"],no=()=>["","0",N],Bi=()=>["auto","avoid","all","avoid-page","page","left","right","column"],We=()=>[Gt,N];return{cacheSize:500,separator:":",theme:{colors:[lo],spacing:[Xe,nt],blur:["none","",st,N],brightness:We(),borderColor:[e],borderRadius:["none","","full",st,N],borderSpacing:O(),borderWidth:Ai(),contrast:We(),grayscale:no(),hueRotate:We(),invert:no(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[Kl,nt],inset:_r(),margin:_r(),opacity:We(),padding:O(),saturate:We(),scale:We(),sepia:no(),skew:We(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[st]}],"break-after":[{"break-after":Bi()}],"break-before":[{"break-before":Bi()}],"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:[...Ei(),N]}],overflow:[{overflow:Gr()}],"overflow-Pe":[{"overflow-Pe":Gr()}],"overflow-y":[{"overflow-y":Gr()}],overscroll:[{overscroll:Or()}],"overscroll-Pe":[{"overscroll-Pe":Or()}],"overscroll-y":[{"overscroll-y":Or()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-Pe":[{"inset-Pe":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],Pe:[{Pe:["auto",so,N]}],basis:[{basis:_r()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:no()}],shrink:[{shrink:no()}],order:[{order:["first","last","none",so,N]}],"grid-cols":[{"grid-cols":[lo]}],"col-start-end":[{col:["auto",{span:["full",so,N]},N]}],"col-start":[{"col-start":Uo()}],"col-end":[{"col-end":Uo()}],"grid-rows":[{"grid-rows":[lo]}],"row-start-end":[{row:["auto",{span:[so,N]},N]}],"row-start":[{"row-start":Uo()}],"row-end":[{"row-end":Uo()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","Pe",N]}],"auto-rows":[{"auto-rows":["auto","min","max","Pe",N]}],gap:[{gap:[m]}],"gap-Pe":[{"gap-Pe":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...Vr()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Vr(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Vr(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Pe:[{Pe:[E]}],px:[{px:[E]}],py:[{py:[E]}],Pe:[{Pe:[E]}],Pe:[{Pe:[E]}],pt:[{pt:[E]}],Pe:[{Pe:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Pe:[{Pe:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-Pe":[{"space-Pe":[Di]}],"space-Pe-reverse":["space-Pe-reverse"],"space-y":[{"space-y":[Di]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[st]},st]}],Pe:[{Pe:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Pe":[{"min-Pe":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-Pe":[{"max-Pe":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",st,nt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$r]}],"font-family":[{font:[lo]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",Gt,$r]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xe,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Wo(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xe,nt]}],"underline-offset":[{"underline-offset":["auto",Xe,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ei(),ql]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Pe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ql]}],"bg-image":[{bg:["none",{"gradient-Os":["t","tr","r","br","b","Ne","l","tl"]},ec]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-Os-pos":[{Os:[I]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-Os":[{Os:[y]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-Pe":[{"rounded-Pe":[i]}],"rounded-Pe":[{"rounded-Pe":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-Ne":[{"rounded-Ne":[i]}],"border-w":[{border:[s]}],"border-w-Pe":[{"border-Pe":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Wo(),"hidden"]}],"divide-Pe":[{"divide-Pe":[s]}],"divide-Pe-reverse":["divide-Pe-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Wo()}],"border-color":[{border:[a]}],"border-color-Pe":[{"border-Pe":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Wo()]}],"outline-offset":[{"outline-offset":[Xe,N]}],"outline-w":[{outline:[Xe,nt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ai()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[Xe,nt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",st,tc]}],"shadow-color":[{shadow:[lo]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Li(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Li()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",st,N]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[se]}],sepia:[{sepia:[Ot]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[se]}],"backdrop-sepia":[{"backdrop-sepia":[Ot]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Pe":[{"border-spacing-Pe":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:We()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:We()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Ue]}],"scale-Pe":[{"scale-Pe":[Ue]}],"scale-y":[{"scale-y":[Ue]}],rotate:[{rotate:[so,N]}],"translate-Pe":[{"translate-Pe":[Ii]}],"translate-y":[{"translate-y":[Ii]}],"skew-Pe":[{"skew-Pe":[$o]}],"skew-y":[{"skew-y":[$o]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Pe-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Pe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-Pe":[{"scroll-Pe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-Pe":[{"scroll-Pe":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-Pe":[{"scroll-Pe":O()}],"scroll-Pe":[{"scroll-Pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-Pe":[{"scroll-Pe":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Pe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Pe":[{"touch-pan":["Pe","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xe,nt,$r]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Pe","overflow-y"],overscroll:["overscroll-Pe","overscroll-y"],inset:["inset-Pe","inset-y","start","end","top","right","bottom","left"],"inset-Pe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Pe","gap-y"],Pe:["px","py","Pe","Pe","pt","Pe","pb","pl"],px:["Pe","pl"],py:["pt","pb"],m:["mx","my","ms","Pe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","Pe"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-Pe","rounded-Pe","rounded-tl","rounded-tr","rounded-br","rounded-Ne"],"rounded-s":["rounded-ss","rounded-Pe"],"rounded-e":["rounded-se","rounded-Pe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-Ne"],"rounded-l":["rounded-tl","rounded-Ne"],"border-spacing":["border-spacing-Pe","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Pe":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Pe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Pe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Pe":["scroll-px","scroll-py","scroll-Pe","scroll-Pe","scroll-pt","scroll-Pe","scroll-pb","scroll-pl"],"scroll-px":["scroll-Pe","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Pe","touch-y","touch-pz"],"touch-Pe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ui=_l(ic);function n(...e){return Ui((0,Wi.clsx)(e))}var Pe=require("react/jsx-runtime"),Xr=Vt.forwardRef(({...e},t)=>(0,Pe.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Xr.displayName="Breadcrumb";var jr=Vt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ol",{ref:o,className:n("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));jr.displayName="BreadcrumbList";var Yr=Vt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{ref:o,className:n("inline-flex items-center gap-1.5",e),...t}));Yr.displayName="BreadcrumbItem";var Kr=Vt.forwardRef(({asChild:e,className:t,...o},r)=>(0,Pe.jsx)(e?Xi.Slot:"a",{ref:r,className:n("transition-colors hover:text-foreground",t),...o}));Kr.displayName="BreadcrumbLink";var Jr=Vt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:n("font-normal text-foreground",e),...t}));Jr.displayName="BreadcrumbPage";var Qr=({children:e,className:t,...o})=>(0,Pe.jsx)("li",{role:"presentation","aria-hidden":"true",className:n("[&>svg]:w-3.5 [&>svg]:Pe-3.5",t),...o,children:e!=null?e:(0,Pe.jsx)(jo.ChevronRightIcon,{})});Qr.displayName="BreadcrumbSeparator";var qr=({className:e,...t})=>(0,Pe.jsxs)("span",{role:"presentation","aria-hidden":"true",className:n("flex Pe-9 w-9 items-center justify-center",e),...t,children:[(0,Pe.jsx)(jo.DotsHorizontalIcon,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More"})]});qr.displayName="BreadcrumbElipssis";var $t=b(require("@radix-ui/react-collapsible")),je=$t.Root,lt=$t.CollapsibleTrigger,ct=$t.CollapsibleContent;var Ye=b(require("react")),R=b(require("@radix-ui/react-dropdown-menu"));var ji=R.Root,Yi=R.Trigger,Ki=R.Group,Ji=R.Portal,Qi=R.Sub,qi=R.RadioGroup,Zr=Ye.forwardRef(({className:e,inset:t,children:o,...r},a)=>(0,Pe.jsxs)(R.SubTrigger,{ref:a,className:n("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[o,(0,Pe.jsx)(jo.ChevronRightIcon,{className:"ml-auto"})]}));Zr.displayName=R.SubTrigger.displayName;var ea=Ye.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(R.SubContent,{ref:o,className:n("Pe-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Pe-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}));ea.displayName=R.SubContent.displayName;var ta=Ye.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,Pe.jsx)(R.Portal,{children:(0,Pe.jsx)(R.Content,{ref:r,sideOffset:t,className:n("Pe-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Pe-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));ta.displayName=R.Content.displayName;var oa=Ye.forwardRef(({className:e,inset:t,...o},r)=>(0,Pe.jsx)(R.Item,{ref:r,className:n("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...o}));oa.displayName=R.Item.displayName;var ra=Ye.forwardRef(({className:e,children:t,checked:o,...r},a)=>(0,Pe.jsxs)(R.CheckboxItem,{ref:a,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 Pe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...r,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(R.ItemIndicator,{children:(0,Pe.jsx)(jo.CheckIcon,{className:"Pe-4 w-4"})})}),t]}));ra.displayName=R.CheckboxItem.displayName;var aa=Ye.forwardRef(({className:e,children:t,...o},r)=>(0,Pe.jsxs)(R.RadioItem,{ref:r,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 Pe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(R.ItemIndicator,{children:(0,Pe.jsx)(jo.DotFilledIcon,{className:"Pe-4 w-4 fill-current"})})}),t]}));aa.displayName=R.RadioItem.displayName;var ia=Ye.forwardRef(({className:e,inset:t,...o},r)=>(0,Pe.jsx)(R.Label,{ref:r,className:n("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));ia.displayName=R.Label.displayName;var na=Ye.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(R.Separator,{ref:o,className:n("-mx-1 my-1 Pe-px bg-muted",e),...t}));na.displayName=R.Separator.displayName;var sa=({className:e,...t})=>(0,Pe.jsx)("span",{className:n("ml-auto text-xs tracking-widest opacity-60",e),...t});sa.displayName="DropdownMenuShortcut";var Zi=b(require("react"));var co=Zi.forwardRef(({className:e,type:t,...o},r)=>(0,Pe.jsx)("input",{type:t,className:n("flex Pe-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));co.displayName="Input";var tn=b(require("react")),la=b(require("@radix-ui/react-separator"));var mo=tn.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...r},a)=>(0,Pe.jsx)(la.Root,{ref:a,decorative:o,orientation:t,className:n("shrink-0 bg-border",t==="horizontal"?"Pe-[1px] w-full":"Pe-full w-[1px]",e),...r}));mo.displayName=la.Root.displayName;var po=b(require("react")),_=b(require("@radix-ui/react-dialog")),an=require("class-variance-authority");var Yo=_.Root,nn=_.Trigger,sn=_.Close,ca=_.Portal,Ko=po.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(_.Overlay,{className:n("fixed inset-0 Pe-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Ko.displayName=_.Overlay.displayName;var nc=(0,an.cva)("fixed Pe-50 gap-4 bg-background Pe-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-Pe-0 top-0 border-b data-[state=closed]:slide-out-Os-top data-[state=open]:slide-in-from-top",bottom:"inset-Pe-0 bottom-0 border-t data-[state=closed]:slide-out-Os-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 Pe-full w-3/4 border-r data-[state=closed]:slide-out-Os-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 Pe-full w-3/4 border-l data-[state=closed]:slide-out-Os-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),uo=po.forwardRef(({side:e="right",className:t,children:o,...r},a)=>(0,Pe.jsxs)(ca,{children:[(0,Pe.jsx)(Ko,{}),(0,Pe.jsxs)(_.Content,{ref:a,className:n(nc({side:e}),t),...r,children:[(0,Pe.jsxs)(_.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Pe.jsx)(jo.Cross2Icon,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));uo.displayName=_.Content.displayName;var da=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col space-y-2 text-center sm:text-left",e),...t});da.displayName="SheetHeader";var ma=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Pe-2",e),...t});ma.displayName="SheetFooter";var pa=po.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(_.Title,{ref:o,className:n("text-lg font-semibold text-foreground",e),...t}));pa.displayName=_.Title.displayName;var ua=po.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(_.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));ua.displayName=_.Description.displayName;var S=b(require("react")),gn=require("lucide-react");var Jo=require("react"),Qo=(e=768)=>{let[t,o]=(0,Jo.useState)(!1);return(0,Jo.useEffect)(()=>{let r=()=>{o(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var dn=b(require("react")),fo=(0,an.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:"Pe-10 px-4 py-2",icon:"Pe-10 w-10",lg:"Pe-11 rounded px-8",sm:"Pe-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"}}}),le=dn.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},i)=>(0,Pe.jsx)(e?Xi.Slot:"button",{className:n(fo({className:t,size:o,variant:r})),ref:i,...a}));le.displayName="Button";function V({className:e,...t}){return(0,Pe.jsx)("div",{className:n("animate-pulse rounded-md bg-primary/10",e),...t})}var un=b(require("react")),Ae=b(require("@radix-ui/react-tooltip"));var qo=Ae.Provider,Zo=Ae.Root,er=Ae.Trigger,go=un.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,Pe.jsx)(Ae.Portal,{children:(0,Pe.jsx)(Ae.Content,{ref:r,sideOffset:t,className:n("Pe-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));go.displayName=Ae.Content.displayName;var sc="sidebar:state",lc=60*60*24*7,cc="16rem",dc="18rem",mc="3rem",pc="b",bn=S.createContext(null);function Xt(){let e=S.useContext(bn);if(!e)throw new Error("useSidebar must Pe used within a SidebarProvider.");return e}var ga=S.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:r,style:a,children:i,...l},s)=>{let c=Qo(),[d,u]=S.useState(!1),[f,m]=S.useState(e),y=t!=null?t:f,I=S.useCallback(E=>{if(o)return o==null?void 0:o(typeof E=="function"?E(y):E);m(E),document.cookie=`${sc}=${y}; path=/; max-age=${lc}`},[o,y]),g=S.useCallback(()=>c?u(E=>!E):I(E=>!E),[c,I,u]);S.useEffect(()=>{let E=se=>{se.key===pc&&(se.metaKey||se.ctrlKey)&&(se.preventDefault(),g())};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[g]);let w=y?"expanded":"collapsed",A=S.useMemo(()=>({state:w,open:y,setOpen:I,isMobile:c,openMobile:d,setOpenMobile:u,toggleSidebar:g}),[w,y,I,c,d,u,g]);return(0,Pe.jsx)(bn.Provider,{value:A,children:(0,Pe.jsx)(qo,{delayDuration:0,children:(0,Pe.jsx)("div",{style:{"--sidebar-width":cc,"--sidebar-width-icon":mc,...a},className:n("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:s,...l,children:i})})})});ga.displayName="SidebarProvider";var wt=S.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:r,children:a,...i},l)=>{let{isMobile:s,state:c,openMobile:d,setOpenMobile:u}=Xt();return o==="none"?(0,Pe.jsx)("div",{className:n("flex Pe-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l,...i,children:a}):s?(0,Pe.jsx)(Yo,{open:d,onOpenChange:u,...i,children:(0,Pe.jsx)(uo,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar Pe-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":dc},side:e,children:(0,Pe.jsx)("div",{className:"flex Pe-full w-full flex-col",children:a})})}):(0,Pe.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,Pe.jsx)("div",{className:n("duration-200 relative Pe-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Pe.jsx)("div",{className:n("duration-200 fixed top-14 bottom-0 Pe-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"?"Pe-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...i,children:(0,Pe.jsx)("div",{"data-sidebar":"sidebar",className:"flex Pe-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:a})})]})});wt.displayName="Sidebar";var ba=S.forwardRef(({className:e,onClick:t,...o},r)=>{let{toggleSidebar:a}=Xt();return(0,Pe.jsxs)(le,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("Pe-7 w-7",e),onClick:i=>{t==null||t(i),a()},...o,children:[(0,Pe.jsx)(gn.PanelLeft,{}),(0,Pe.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});ba.displayName="SidebarTrigger";var va=S.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:r}=Xt();return(0,Pe.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:n("absolute inset-y-0 Pe-20 hidden w-4 -translate-Pe-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Pe-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});va.displayName="SidebarRail";var ha=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("main",{ref:o,className:n("flex flex-1 flex-col bg-background overflow-y-auto relative max-Pe-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));ha.displayName="SidebarInset";var xa=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(co,{ref:o,"data-sidebar":"input",className:n("Pe-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));xa.displayName="SidebarInput";var Nt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"header",className:n("flex flex-col gap-2 Pe-2",e),...t}));Nt.displayName="SidebarHeader";var Pt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"footer",className:n("flex flex-col gap-2 Pe-2",e),...t}));Pt.displayName="SidebarFooter";var bo=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(mo,{ref:o,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",e),...t}));bo.displayName="SidebarSeparator";var dt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"content",className:n("flex min-Pe-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));dt.displayName="SidebarContent";var Ce=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col Pe-2",e),...t}));Ce.displayName="SidebarGroup";var Ke=S.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,Pe.jsx)(t?Xi.Slot:"div",{ref:r,"data-sidebar":"group-label",className:n("duration-200 flex Pe-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...o}));Ke.displayName="SidebarGroupLabel";var ya=S.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,Pe.jsx)(t?Xi.Slot:"button",{ref:r,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md Pe-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...o}));ya.displayName="SidebarGroupAction";var Ee=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"group-content",className:n("w-full text-sm",e),...t}));Ee.displayName="SidebarGroupContent";var fe=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{ref:o,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",e),...t}));fe.displayName="SidebarMenu";var te=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:n("group/menu-item relative",e),...t}));te.displayName="SidebarMenuItem";var uc=(0,an.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md Pe-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:Pe-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]:!Pe-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:"Pe-8 text-sm",sm:"Pe-7 text-xs",lg:"Pe-12 text-sm group-data-[collapsible=icon]:!Pe-0"}},defaultVariants:{variant:"default",size:"default"}}),Re=S.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:r="default",tooltip:a,className:i,...l},s)=>{let c=e?Xi.Slot:"button",{isMobile:d,state:u}=Xt(),f=(0,Pe.jsx)(c,{ref:s,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:n(uc({variant:o,size:r}),i),...l});return a?(typeof a=="string"&&(a={children:a}),(0,Pe.jsxs)(Zo,{children:[(0,Pe.jsx)(er,{asChild:!0,children:f}),(0,Pe.jsx)(go,{side:"right",align:"center",hidden:u!=="collapsed"||d,...a})]})):f});Re.displayName="SidebarMenuButton";var vo=S.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...r},a)=>(0,Pe.jsx)(t?Xi.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md Pe-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",o&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...r}));vo.displayName="SidebarMenuAction";var wa=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:n("absolute right-1 flex Pe-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}));wa.displayName="SidebarMenuBadge";var Na=S.forwardRef(({className:e,showIcon:t=!1,...o},r)=>{let a=S.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Pe.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:n("rounded-md Pe-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,Pe.jsx)(V,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Pe.jsx)(V,{className:"Pe-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});Na.displayName="SidebarMenuSkeleton";var mt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-Pe-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));mt.displayName="SidebarMenuSub";var pt=S.forwardRef(({...e},t)=>(0,Pe.jsx)("li",{ref:t,...e}));pt.displayName="SidebarMenuSubItem";var ut=S.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:r,...a},i)=>(0,Pe.jsx)(e?Xi.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:n("flex Pe-7 min-w-0 -translate-Pe-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r),...a}));ut.displayName="SidebarMenuSubButton";var rr=b(require("react")),fc=1,gc=1e6;var Pa=0;function bc(){return Pa=(Pa+1)%Number.MAX_SAFE_INTEGER,Pa.toString()}var Ca=new Map,vn=e=>{if(Ca.has(e))return;let t=setTimeout(()=>{Ca.delete(e),ho({type:"REMOVE_TOAST",toastId:e})},gc);Ca.set(e,t)},vc=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,fc)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?vn(o):e.toasts.forEach(r=>{vn(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},tr=[],or={toasts:[]};function ho(e){or=vc(or,e),tr.forEach(t=>{t(or)})}function hc({...e}){let t=bc(),o=a=>ho({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>ho({type:"DISMISS_TOAST",toastId:t});return ho({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:o}}function ar(){let[e,t]=rr.useState(or);return rr.useEffect(()=>(tr.push(t),()=>{let o=tr.indexOf(t);o>-1&&tr.splice(o,1)}),[e]),{...e,toast:hc,dismiss:o=>ho({type:"DISMISS_TOAST",toastId:o})}}var Ct=b(require("react")),X=b(require("@radix-ui/react-toast"));var ir=X.Provider,xo=Ct.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(X.Viewport,{ref:o,className:n("fixed top-0 Pe-[100] flex max-Pe-screen w-full flex-col-reverse Pe-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));xo.displayName=X.Viewport.displayName;var xc=(0,an.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Pe-2 overflow-hidden rounded-md border Pe-4 Pe-6 shadow-lg transition-all data-[swipe=cancel]:translate-Pe-0 data-[swipe=end]:translate-Pe-[var(--radix-toast-swipe-end-Pe)] data-[swipe=move]:translate-Pe-[var(--radix-toast-swipe-move-Pe)] 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-Os-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"}}),yo=Ct.forwardRef(({className:e,variant:t,...o},r)=>(0,Pe.jsx)(X.Root,{ref:r,className:n(xc({variant:t}),e),...o}));yo.displayName=X.Root.displayName;var Ra=Ct.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(X.Action,{ref:o,className:n("inline-flex Pe-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}));Ra.displayName=X.Action.displayName;var wo=Ct.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(X.Close,{ref:o,className:n("absolute right-1 top-1 rounded-md Pe-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,Pe.jsx)(gn.X,{className:"Pe-4 w-4"})}));wo.displayName=X.Close.displayName;var No=Ct.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(X.Title,{ref:o,className:n("text-sm font-semibold [&+div]:text-xs",e),...t}));No.displayName=X.Title.displayName;var Po=Ct.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(X.Description,{ref:o,className:n("text-sm opacity-90",e),...t}));Po.displayName=X.Description.displayName;function yn(){let{toasts:e}=ar();return(0,Pe.jsxs)(ir,{children:[e.map(function({id:t,title:o,description:r,action:a,...i}){return(0,Pe.jsxs)(yo,{...i,children:[(0,Pe.jsxs)("div",{className:"grid gap-1",children:[o&&(0,Pe.jsx)(No,{children:o}),r&&(0,Pe.jsx)(Po,{children:r})]}),a,(0,Pe.jsx)(wo,{})]},t)}),(0,Pe.jsx)(xo,{})]})}var wn=b(require("react")),Sa=b(require("@radix-ui/react-toggle"));var Co=(0,an.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=Pe]:bg-accent data-[state=Pe]: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:"Pe-9 px-2 min-w-9",sm:"Pe-8 px-1.5 min-w-8",lg:"Pe-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),ka=wn.forwardRef(({className:e,variant:t,size:o,...r},a)=>(0,Pe.jsx)(Sa.Root,{ref:a,className:n(Co({variant:t,size:o,className:e})),...r}));ka.displayName=Sa.Root.displayName;var Rt=b(require("react")),jt=b(require("@radix-ui/react-toggle-group"));var Cn=Rt.createContext({size:"default",variant:"default"}),Ta=Rt.forwardRef(({className:e,variant:t,size:o,children:r,...a},i)=>(0,Pe.jsx)(jt.Root,{ref:i,className:n("flex items-center justify-center gap-1",e),...a,children:(0,Pe.jsx)(Cn.Provider,{value:{variant:t,size:o},children:r})}));Ta.displayName=jt.Root.displayName;var Ma=Rt.forwardRef(({className:e,children:t,variant:o,size:r,...a},i)=>{let l=Rt.useContext(Cn);return(0,Pe.jsx)(jt.Item,{ref:i,className:n(Co({variant:l.variant||o,size:l.size||r}),e),...a,children:t})});Ma.displayName=jt.Item.displayName;var Da=b(require("react")),Se=b(require("@radix-ui/react-scroll-area"));var Ia=Da.forwardRef(({className:e,children:t,...o},r)=>(0,Pe.jsxs)(Se.Root,{ref:r,className:n("relative overflow-hidden",e),...o,children:[(0,Pe.jsx)(Se.Viewport,{className:"Pe-full w-full rounded-[inherit]",children:t}),(0,Pe.jsx)(sr,{}),(0,Pe.jsx)(Se.Corner,{})]}));Ia.displayName=Se.Root.displayName;var sr=Da.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,Pe.jsx)(Se.ScrollAreaScrollbar,{ref:r,orientation:t,className:n("flex touch-none select-none transition-colors",t==="vertical"&&"Pe-full w-2.5 border-l border-l-transparent Pe-[1px]",t==="horizontal"&&"Pe-2.5 flex-col border-t border-t-transparent Pe-[1px]",e),...o,children:(0,Pe.jsx)(Se.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));sr.displayName=Se.ScrollAreaScrollbar.displayName;var Rn=b(require("react")),Le=b(require("@radix-ui/react-popover"));var Sn=Le.Root,kn=Le.Trigger,Tn=Le.Anchor,Ea=Rn.forwardRef(({className:e,align:t="center",sideOffset:o=4,...r},a)=>(0,Pe.jsx)(Le.Portal,{children:(0,Pe.jsx)(Le.Content,{ref:a,align:t,sideOffset:o,className:n("Pe-50 w-72 rounded-md border bg-popover Pe-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})}));Ea.displayName=Le.Content.displayName;var Mn=b(require("react")),La=b(require("@radix-ui/react-label"));var yc=(0,an.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Ba=Mn.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(La.Root,{ref:o,className:n(yc(),e),...t}));Ba.displayName=La.Root.displayName;var An=b(require("react")),St=b(require("@radix-ui/react-hover-card"));var En=St.Root,Ln=St.Trigger,Ha=An.forwardRef(({className:e,align:t="center",sideOffset:o=4,...r},a)=>(0,Pe.jsx)(St.Content,{ref:a,align:t,sideOffset:o,className:n("Pe-50 w-64 rounded-md border bg-popover Pe-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}));Ha.displayName=St.Content.displayName;var Ro=b(require("react")),$=b(require("@radix-ui/react-dialog"));var Yt=$.Root,zn=$.Trigger,za=$.Portal,lr=$.Close,cr=Ro.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Overlay,{ref:o,className:n("fixed inset-0 Pe-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}));cr.displayName=$.Overlay.displayName;var kt=Ro.forwardRef(({className:e,children:t,...o},r)=>(0,Pe.jsxs)(za,{children:[(0,Pe.jsx)(cr,{}),(0,Pe.jsxs)($.Content,{ref:r,className:n("fixed left-[50%] top-[50%] Pe-50 grid w-full max-w-lg translate-Pe-[-50%] translate-y-[-50%] gap-4 border bg-background Pe-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-Os-left-1/2 data-[state=closed]:slide-out-Os-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...o,children:[t,(0,Pe.jsxs)($.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Pe.jsx)(gn.X,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));kt.displayName=$.Content.displayName;var So=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});So.displayName="DialogHeader";var Fa=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Pe-2",e),...t});Fa.displayName="DialogFooter";var ko=Ro.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Title,{ref:o,className:n("text-lg font-semibold leading-none tracking-tight",e),...t}));ko.displayName=$.Title.displayName;var Oa=Ro.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Oa.displayName=$.Description.displayName;var bt=b(require("react")),de=require("cmdk");var dr=bt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(de.Command,{ref:o,className:n("flex Pe-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));dr.displayName=de.Command.displayName;var On=({children:e,...t})=>(0,Pe.jsx)(Yt,{...t,children:(0,Pe.jsx)(kt,{className:"overflow-hidden Pe-0",children:(0,Pe.jsx)(dr,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:Pe-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:Pe-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:Pe-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),Ga=bt.forwardRef(({className:e,...t},o)=>(0,Pe.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Pe.jsx)(gn.Search,{className:"mr-2 Pe-4 w-4 shrink-0 opacity-50"}),(0,Pe.jsx)(de.Command.Input,{ref:o,className:n("flex Pe-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})]}));Ga.displayName=de.Command.Input.displayName;var _a=bt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(de.Command.List,{ref:o,className:n("max-Pe-[300px] overflow-y-auto overflow-Pe-hidden",e),...t}));_a.displayName=de.Command.List.displayName;var Va=bt.forwardRef((e,t)=>(0,Pe.jsx)(de.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Va.displayName=de.Command.Empty.displayName;var $a=bt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(de.Command.Group,{ref:o,className:n("overflow-hidden Pe-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));$a.displayName=de.Command.Group.displayName;var Ua=bt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(de.Command.Separator,{ref:o,className:n("-mx-1 Pe-px bg-border",e),...t}));Ua.displayName=de.Command.Separator.displayName;var Wa=bt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(de.Command.Item,{ref:o,className:n("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));Wa.displayName=de.Command.Item.displayName;var Xa=({className:e,...t})=>(0,Pe.jsx)("span",{className:n("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});Xa.displayName="CommandShortcut";var mr=b(require("react"));var wc=(0,an.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),ja=mr.forwardRef(({className:e,variant:t,...o},r)=>(0,Pe.jsx)("div",{ref:r,role:"alert",className:n(wc({variant:t}),e),...o}));ja.displayName="Alert";var Ya=mr.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("h5",{ref:o,className:n("mb-1 font-medium leading-none tracking-tight",e),...t}));Ya.displayName="AlertTitle";var Ka=mr.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("text-sm [&_p]:leading-relaxed",e),...t}));Ka.displayName="AlertDescription";var ur=b(require("react")),Qe=b(require("@radix-ui/react-avatar"));var To=ur.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Qe.Root,{ref:o,className:n("relative flex Pe-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));To.displayName=Qe.Root.displayName;var Mo=ur.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Qe.Image,{ref:o,className:n("aspect-square Pe-full w-full",e),...t}));Mo.displayName=Qe.Image.displayName;var Do=ur.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Qe.Fallback,{ref:o,className:n("flex Pe-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Do.displayName=Qe.Fallback.displayName;var Ja=(0,an.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 Kt({className:e,variant:t,...o}){return(0,Pe.jsx)("div",{className:n(Ja({variant:t}),e),...o})}var Io=b(require("@radix-ui/react-checkbox")),Un=b(require("react")),Wn=Un.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Io.Root,{className:n("peer Pe-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:o,...t,children:(0,Pe.jsx)(Io.Indicator,{className:n("flex items-center justify-center text-current"),children:(0,Pe.jsx)($n.Check,{className:"Pe-4 w-4"})})}));Wn.displayName=Io.Root.displayName;var T=b(require("@radix-ui/react-select")),vt=b(require("react")),Nc=T.Root,Pc=T.Group,Cc=T.Value,Xn=vt.forwardRef(({children:e,className:t,...o},r)=>(0,Pe.jsxs)(T.Trigger,{className:n("flex Pe-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,Pe.jsx)(T.Icon,{asChild:!0,children:(0,Pe.jsx)(gn.ChevronDown,{className:"Pe-4 w-4 opacity-50"})})]}));Xn.displayName=T.Trigger.displayName;var Qa=vt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.ScrollUpButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Pe.jsx)(gn.ChevronUp,{className:"Pe-4 w-4"})}));Qa.displayName=T.ScrollUpButton.displayName;var qa=vt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.ScrollDownButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Pe.jsx)(gn.ChevronDown,{className:"Pe-4 w-4"})}));qa.displayName=T.ScrollDownButton.displayName;var jn=vt.forwardRef(({children:e,className:t,position:o="popper",...r},a)=>(0,Pe.jsx)(T.Portal,{children:(0,Pe.jsxs)(T.Content,{className:n("relative Pe-50 max-Pe-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Pe-1 data-[side=right]:translate-Pe-1 data-[side=top]:-translate-y-1",t),position:o,ref:a,...r,children:[(0,Pe.jsx)(Qa,{}),(0,Pe.jsx)(T.Viewport,{className:n("Pe-1",o==="popper"&&"Pe-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Pe.jsx)(qa,{})]})}));jn.displayName=T.Content.displayName;var Yn=vt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.Label,{className:n("py-1.5 pl-8 Pe-2 text-sm font-semibold",e),ref:o,...t}));Yn.displayName=T.Label.displayName;var Kn=vt.forwardRef(({children:e,className:t,...o},r)=>(0,Pe.jsxs)(T.Item,{className:n("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 Pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(T.ItemIndicator,{children:(0,Pe.jsx)(gn.Check,{className:"Pe-4 w-4"})})}),(0,Pe.jsx)(T.ItemText,{children:e})]}));Kn.displayName=T.Item.displayName;var Jn=vt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.Separator,{className:n("-mx-1 my-1 Pe-px bg-muted",e),ref:o,...t}));Jn.displayName=T.Separator.displayName;var Qn=b(require("react")),qn=Qn.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("textarea",{className:n("flex min-Pe-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));qn.displayName="Textarea";var ke=({type:e="solid",iconName:t="cloud",size:o="lg",className:r})=>{let a=e.includes("Pe-")?e+" ":"Pe-"+e+" ",i="Pe-"+t,l=r!=null?r:"",s=a+i+" Pe-"+o+" "+l;return(0,Pe.jsx)("i",{className:s})};var ts=({title:e,description:t,iconName:o,iconStyle:r,color:a})=>(0,Pe.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[a]} Pe-6 flex flex-col items-center text-center`,children:[(0,Pe.jsx)("div",{className:"w-12 Pe-12 ",children:(0,Pe.jsx)(ke,{type:r,iconName:o,className:"w-12 Pe-12 text-white"})}),(0,Pe.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Pe.jsx)("Pe",{className:"text-white text-sm",children:t})]});var os=b(require("next/image")),rs=b(require("next/link"));var Dt=b(require("react"));var oe=Dt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("rounded-xl border bg-card text-card-foreground shadow",e),...t}));oe.displayName="Card";var Te=Dt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("flex flex-col space-y-1.5 Pe-6",e),...t}));Te.displayName="CardHeader";var Me=Dt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("font-semibold leading-none tracking-tight",e),...t}));Me.displayName="CardTitle";var Rc=Dt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Rc.displayName="CardDescription";var ge=Dt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("Pe-6 pt-0",e),...t}));ge.displayName="CardContent";var Sc=Dt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("flex items-center Pe-6 pt-0",e),...t}));Sc.displayName="CardFooter";function as({name:e,logo:t,href:o}){return(0,Pe.jsx)(oe,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Pe.jsxs)(rs.default,{href:o,className:"block",children:[(0,Pe.jsx)("div",{className:"bg-white Pe-2 flex items-center justify-center Pe-24",children:(0,Pe.jsx)("div",{className:"relative w-full Pe-full",children:t&&(0,Pe.jsx)(os.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Pe.jsx)(ge,{className:"Pe-3 flex items-center justify-center Pe-18 bg-gradient-Os-br from-gray-900 via-brand-one Os-gray-900",children:(0,Pe.jsx)("Pe",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function is({eventType:e="birthday",date:t="",title:o="",description:r="",avatarSrc:a}){let i=s=>{switch(s){case"birthday":return(0,Pe.jsx)(gn.Cake,{className:"Pe-4 w-4"});case"workAnniversary":return(0,Pe.jsx)(gn.Award,{className:"Pe-4 w-4"});case"companyEvent":return(0,Pe.jsx)(gn.PartyPopper,{className:"Pe-4 w-4"});default:return(0,Pe.jsx)(gn.CalendarDays,{className:"Pe-4 w-4"})}},l=s=>{switch(s){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 Os-slate-500"}};return(0,Pe.jsxs)(oe,{className:`w-full max-w-md overflow-hidden bg-gradient-Os-br ${l(e)}`,children:[(0,Pe.jsxs)(Te,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,Pe.jsxs)(To,{className:"Pe-14 w-14 border-2 border-white",children:[(0,Pe.jsx)(Mo,{src:a,alt:o||"Event"}),(0,Pe.jsx)(Do,{className:"bg-white text-gray-900",children:o?o.charAt(0).toUpperCase():"?"})]}),(0,Pe.jsxs)("div",{className:"flex flex-col",children:[(0,Pe.jsx)(Me,{className:"text-xl",children:o||"Untitled Event"}),(0,Pe.jsxs)("Pe",{className:"text-sm text-white/80",children:[(0,Pe.jsx)(gn.CalendarDays,{className:"mr-1 inline-block Pe-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Pe.jsxs)(ge,{className:"bg-white bg-opacity-80 Pe-4",children:[r&&(0,Pe.jsx)("Pe",{className:"mb-2 text-sm text-gray-700",children:r}),(0,Pe.jsxs)(Kt,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Pe.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Pe])([A-Z])/g,"$1 $2").split(" ").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "):"Event"})]})]})]})}var ss=b(require("next/link"));var ls=b(require("next/image")),ns={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function cs({slug:e,image:t,title:o,description:r}){return(0,Pe.jsxs)(ss.default,{href:e,className:"group/portfolio relative Pe-1 block aspect-[640/916] overflow-hidden rounded-5 Pe-6 md:Pe-[1.875rem]",children:[(0,Pe.jsx)("span",{className:n("absolute inset-0 Pe-[2] bg-gradient-1 from-primary/0 Os-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,Pe.jsx)(ls.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
6
|
-
(min-width:${
|
|
7
|
-
(min-width:${
|
|
5
|
+
"use strict";var Pl=Object.create;var Xr=Object.defineProperty;var Cl=Object.getOwnPropertyDescriptor;var Rl=Object.getOwnPropertyNames;var Sl=Object.getPrototypeOf,kl=Object.prototype.hasOwnProperty;var Tl=(e,t)=>{for(var r in t)Xr(e,r,{get:t[r],enumerable:!0})},Gi=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Rl(t))!kl.call(e,a)&&a!==r&&Xr(e,a,{get:()=>t[a],enumerable:!(o=Cl(t,a))||o.enumerable});return e};var b=(e,t,r)=>(r=e!=null?Pl(Sl(e)):{},Gi(t||!e||!e.__esModule?Xr(r,"default",{value:e,enumerable:!0}):r,e)),Ml=e=>Gi(Xr({},"__esModule",{value:!0}),e);var Sd={};Tl(Sd,{Alert:()=>Ka,AlertDescription:()=>Qa,AlertTitle:()=>Ja,Avatar:()=>Tr,AvatarFallback:()=>Dr,AvatarImage:()=>Mr,Badge:()=>Jt,BannerBlock:()=>ri,BlogCard:()=>Vs,BlogList:()=>zc,BrandLogo:()=>wt,Breadcrumb:()=>Yo,BreadcrumbEllipsis:()=>ea,BreadcrumbItem:()=>Jo,BreadcrumbLink:()=>Qo,BreadcrumbList:()=>Ko,BreadcrumbPage:()=>qo,BreadcrumbSeparator:()=>Zo,Breadcrumbs:()=>Ti,Button:()=>le,CMSLink:()=>tt,CallToActionBlock:()=>Er,Card:()=>Lr,Categories:()=>md,Checkbox:()=>Kn,CodeBlock:()=>ni,Collapsible:()=>Ye,CollapsibleContent:()=>dt,CollapsibleTrigger:()=>ct,CollectionArchive:()=>Oc,Command:()=>mo,CommandDialog:()=>$n,CommandEmpty:()=>Ua,CommandGroup:()=>Wa,CommandInput:()=>Va,CommandItem:()=>ja,CommandList:()=>$a,CommandSeparator:()=>Xa,CommandShortcut:()=>Ya,Container:()=>Bt,ContentBlock:()=>vi,CopyButton:()=>ai,CustomLink:()=>re,CustomerCard:()=>ls,Dialog:()=>Kt,DialogClose:()=>lo,DialogContent:()=>Tt,DialogDescription:()=>_a,DialogFooter:()=>Ga,DialogHeader:()=>Sr,DialogOverlay:()=>co,DialogPortal:()=>Oa,DialogTitle:()=>kr,DialogTrigger:()=>_n,DropdownMenu:()=>Qi,DropdownMenuCheckboxItem:()=>ia,DropdownMenuContent:()=>oa,DropdownMenuGroup:()=>Zi,DropdownMenuItem:()=>aa,DropdownMenuLabel:()=>sa,DropdownMenuPortal:()=>en,DropdownMenuRadioGroup:()=>rn,DropdownMenuRadioItem:()=>na,DropdownMenuSeparator:()=>la,DropdownMenuShortcut:()=>ca,DropdownMenuSub:()=>tn,DropdownMenuSubContent:()=>ra,DropdownMenuSubTrigger:()=>ta,DropdownMenuTrigger:()=>qi,DynamicIcon:()=>ke,EventCard:()=>cs,FeatureCard:()=>is,FeatureGrid:()=>vs,FeaturesBlock:()=>hi,Filter:()=>pd,Footer:()=>Pd,Header:()=>Cd,HeaderDesktop:()=>Or,HeaderMobile:()=>Gr,HeadingImage:()=>ed,HighImpactHero:()=>Pi,HoverCard:()=>zn,HoverCardContent:()=>Fa,HoverCardTrigger:()=>Fn,Image:()=>fs,ImageBlock:()=>td,InfoTile:()=>Xc,Input:()=>dr,Insight:()=>Wc,Label:()=>za,Logo:()=>Gc,LowImpactHero:()=>Si,MOTD:()=>Yc,Media:()=>ot,MediaBlock:()=>qt,MediumImpactHero:()=>Ri,NewsGrid:()=>Ps,OrgChart:()=>Qc,PageRange:()=>$c,Pagination:()=>dd,PayloadPagination:()=>Uc,Popover:()=>Dn,PopoverAnchor:()=>An,PopoverContent:()=>Ba,PopoverTrigger:()=>In,PostHero:()=>fd,PricingCard:()=>Lc,ProjectCard:()=>us,ProjectTeam:()=>ld,ProposalSummary:()=>qc,RelatedContent:()=>cd,RelatedPosts:()=>od,RenderBlocks:()=>rd,RenderHero:()=>bd,RichText:()=>j,ScrollArea:()=>Ea,ScrollBar:()=>so,SectionHero:()=>ki,Select:()=>Pc,SelectContent:()=>Qn,SelectGroup:()=>Cc,SelectItem:()=>Zn,SelectLabel:()=>qn,SelectScrollDownButton:()=>ei,SelectScrollUpButton:()=>Za,SelectSeparator:()=>es,SelectTrigger:()=>Jn,SelectValue:()=>Rc,Separator:()=>mr,ServiceCard:()=>Ec,Sheet:()=>Yr,SheetClose:()=>mn,SheetContent:()=>ur,SheetDescription:()=>ga,SheetFooter:()=>ua,SheetHeader:()=>pa,SheetOverlay:()=>Kr,SheetPortal:()=>ma,SheetTitle:()=>fa,SheetTrigger:()=>dn,Sidebar:()=>Nt,SidebarContent:()=>mt,SidebarFooter:()=>Ct,SidebarGroup:()=>Ce,SidebarGroupAction:()=>Na,SidebarGroupContent:()=>Ee,SidebarGroupLabel:()=>Je,SidebarHeader:()=>Pt,SidebarInput:()=>wa,SidebarInset:()=>ya,SidebarLeft:()=>ad,SidebarMenu:()=>fe,SidebarMenuAction:()=>vr,SidebarMenuBadge:()=>Pa,SidebarMenuButton:()=>Re,SidebarMenuItem:()=>ee,SidebarMenuSkeleton:()=>Ca,SidebarMenuSub:()=>pt,SidebarMenuSubButton:()=>ft,SidebarMenuSubItem:()=>ut,SidebarProvider:()=>va,SidebarRail:()=>xa,SidebarRight:()=>sd,SidebarSeparator:()=>br,SidebarTrigger:()=>ha,SimpleHeader:()=>hd,Skeleton:()=>V,TextAndImages:()=>Cs,Textarea:()=>rs,ThemeProvider:()=>Rd,Toast:()=>yr,ToastAction:()=>ka,ToastClose:()=>wr,ToastDescription:()=>Pr,ToastProvider:()=>io,ToastTitle:()=>Nr,ToastViewport:()=>xr,Toaster:()=>Cn,Toggle:()=>Ma,ToggleGroup:()=>Da,ToggleGroupItem:()=>Ia,Tooltip:()=>Zr,TooltipContent:()=>gr,TooltipProvider:()=>qr,TooltipTrigger:()=>eo,VerticalSlider:()=>ys,VideoHeader:()=>wd,WhyUs:()=>Zc,badgeVariants:()=>qa,buttonVariants:()=>fr,toggleVariants:()=>Cr,useIsMobile:()=>Qr,useSidebar:()=>jt,useToast:()=>ao});module.exports=Ml(Sd);var $t=b(require("react")),jr=require("@radix-ui/react-icons"),Ji=require("@radix-ui/react-slot");var Ki=require("clsx");var jo="-",Dl=e=>{let t=Al(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(jo);return s[0]===""&&s.length!==1&&s.shift(),$i(s,t)||Il(l)},getConflictingClassGroupIds:(l,s)=>{let c=r[l]||[];return s&&o[l]?[...c,...o[l]]:c}}},$i=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?$i(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(jo);return(l=t.validators.find(({validator:s})=>s(i)))==null?void 0:l.classGroupId},_i=/^\[(.+)\]$/,Il=e=>{if(_i.test(e)){let t=_i.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Al=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ll(Object.entries(e.classGroups),r).forEach(([i,l])=>{Xo(l,o,i,t)}),o},Xo=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:Vi(t,a);i.classGroupId=r;return}if(typeof a=="function"){if(El(a)){Xo(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([i,l])=>{Xo(l,Vi(t,i),r,o)})})},Vi=(e,t)=>{let r=e;return t.split(jo).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},El=e=>e.isThemeGetter,Ll=(e,t)=>t?e.map(([r,o])=>{let a=o.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[r,a]}):e,Bl=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(i,l)=>{r.set(i,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(i){let l=r.get(i);if(l!==void 0)return l;if((l=o.get(i))!==void 0)return a(i,l),l},set(i,l){r.has(i)?r.set(i,l):a(i,l)}}},Ui="!",Hl=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],i=t.length,l=s=>{let c=[],d=0,u=0,f;for(let w=0;w<s.length;w++){let A=s[w];if(d===0){if(A===a&&(o||s.slice(w,w+i)===t)){c.push(s.slice(u,w)),u=w+i;continue}if(A==="/"){f=w;continue}}A==="["?d++:A==="]"&&d--}let m=c.length===0?s:s.substring(u),y=m.startsWith(Ui),I=y?m.substring(1):m,g=f&&f>u?f-u:void 0;return{modifiers:c,hasImportantModifier:y,baseClassName:I,maybePostfixModifierPosition:g}};return r?s=>r({className:s,parseClassName:l}):l},zl=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Fl=e=>({cache:Bl(e.cacheSize),parseClassName:Hl(e),...Dl(e)}),Ol=/\s+/,Gl=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,i=[],l=e.trim().split(Ol),s="";for(let c=l.length-1;c>=0;c-=1){let d=l[c],{modifiers:u,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:y}=r(d),I=!!y,g=o(I?m.substring(0,y):m);if(!g){if(!I){s=d+(s.length>0?" "+s:s);continue}if(g=o(m),!g){s=d+(s.length>0?" "+s:s);continue}I=!1}let w=zl(u).join(":"),A=f?w+Ui:w,E=A+g;if(i.includes(E))continue;i.push(E);let se=a(g,I);for(let We=0;We<se.length;++We){let Gt=se[We];i.push(A+Gt)}s=d+(s.length>0?" "+s:s)}return s};function _l(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Wi(t))&&(o&&(o+=" "),o+=r);return o}var Wi=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Wi(e[o]))&&(r&&(r+=" "),r+=t);return r};function Vl(e,...t){let r,o,a,i=l;function l(c){let d=t.reduce((u,f)=>f(u),e());return r=Fl(d),o=r.cache.get,a=r.cache.set,i=s,s(c)}function s(c){let d=o(c);if(d)return d;let u=Gl(c,r);return a(c,u),u}return function(){return i(_l.apply(null,arguments))}}var F=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Xi=/^\[(?:([a-Pe-]+):)?(.+)\]$/i,$l=/^\d+\/\d+$/,Ul=new Set(["px","full","screen"]),Wl=/^(\d+(\.\d+)?)?(xn|sm|md|lg|xl)$/,Xl=/\d+(%|px|r?em|[sdl]?Pe([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Pe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,jl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Yl=/^(inset_)?-?((\d+)?\.?(\d+)[a-Pe]+|0)_-?((\d+)?\.?(\d+)[a-Pe]+|0)/,Kl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,je=e=>_t(e)||Ul.has(e)||$l.test(e),st=e=>Vt(e,"length",oc),_t=e=>!!e&&!Number.isNaN(Number(e)),Wo=e=>Vt(e,"number",_t),lr=e=>!!e&&Number.isInteger(Number(e)),Jl=e=>e.endsWith("%")&&_t(e.slice(0,-1)),N=e=>Xi.test(e),lt=e=>Wl.test(e),Ql=new Set(["length","size","percentage"]),ql=e=>Vt(e,Ql,ji),Zl=e=>Vt(e,"position",ji),ec=new Set(["image","url"]),tc=e=>Vt(e,ec,ic),rc=e=>Vt(e,"",ac),cr=()=>!0,Vt=(e,t,r)=>{let o=Xi.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},oc=e=>Xl.test(e)&&!jl.test(e),ji=()=>!1,ac=e=>Yl.test(e),ic=e=>Kl.test(e);var nc=()=>{let e=F("colors"),t=F("spacing"),r=F("blur"),o=F("brightness"),a=F("borderColor"),i=F("borderRadius"),l=F("borderSpacing"),s=F("borderWidth"),c=F("contrast"),d=F("grayscale"),u=F("hueRotate"),f=F("invert"),m=F("gap"),y=F("gradientColorStops"),I=F("gradientColorStopPositions"),g=F("inset"),w=F("margin"),A=F("opacity"),E=F("padding"),se=F("saturate"),We=F("scale"),Gt=F("sepia"),$r=F("skew"),Li=F("space"),Bi=F("translate"),_o=()=>["auto","contain","none"],Vo=()=>["auto","hidden","clip","visible","scroll"],$o=()=>["auto",N,t],O=()=>[N,t],Hi=()=>["",je,st],Ur=()=>["auto",_t,N],zi=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Wr=()=>["solid","dashed","dotted","double","none"],Fi=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Uo=()=>["start","end","center","between","around","evenly","stretch"],sr=()=>["","0",N],Oi=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Xe=()=>[_t,N];return{cacheSize:500,separator:":",theme:{colors:[cr],spacing:[je,st],blur:["none","",lt,N],brightness:Xe(),borderColor:[e],borderRadius:["none","","full",lt,N],borderSpacing:O(),borderWidth:Hi(),contrast:Xe(),grayscale:sr(),hueRotate:Xe(),invert:sr(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[Jl,st],inset:$o(),margin:$o(),opacity:Xe(),padding:O(),saturate:Xe(),scale:Xe(),sepia:sr(),skew:Xe(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[lt]}],"break-after":[{"break-after":Oi()}],"break-before":[{"break-before":Oi()}],"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:[...zi(),N]}],overflow:[{overflow:Vo()}],"overflow-Pe":[{"overflow-Pe":Vo()}],"overflow-y":[{"overflow-y":Vo()}],overscroll:[{overscroll:_o()}],"overscroll-Pe":[{"overscroll-Pe":_o()}],"overscroll-y":[{"overscroll-y":_o()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-Pe":[{"inset-Pe":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],Pe:[{Pe:["auto",lr,N]}],basis:[{basis:$o()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:sr()}],shrink:[{shrink:sr()}],order:[{order:["first","last","none",lr,N]}],"grid-cols":[{"grid-cols":[cr]}],"col-start-end":[{col:["auto",{span:["full",lr,N]},N]}],"col-start":[{"col-start":Ur()}],"col-end":[{"col-end":Ur()}],"grid-rows":[{"grid-rows":[cr]}],"row-start-end":[{row:["auto",{span:[lr,N]},N]}],"row-start":[{"row-start":Ur()}],"row-end":[{"row-end":Ur()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[m]}],"gap-Pe":[{"gap-Pe":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...Uo()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Uo(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Uo(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Pe:[{Pe:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],Pe:[{Pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Pe:[{Pe:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-Pe":[{"space-Pe":[Li]}],"space-Pe-reverse":["space-Pe-reverse"],"space-y":[{"space-y":[Li]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[lt]},lt]}],Pe:[{Pe:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Pe":[{"min-Pe":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-Pe":[{"max-Pe":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",lt,st]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Wo]}],"font-family":[{font:[cr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",_t,Wo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",je,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","Pe-underline"],"text-decoration-style":[{decoration:[...Wr(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",je,st]}],"underline-offset":[{"underline-offset":["auto",je,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...zi(),Zl]}],"bg-repeat":[{bg:["Pe-repeat",{repeat:["","Pe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ql]}],"bg-image":[{bg:["none",{"gradient-to":["t","Pe","r","br","b","bl","l","tl"]},tc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-Pe":[{"rounded-Pe":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-Pe":[{"border-Pe":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Wr(),"hidden"]}],"divide-Pe":[{"divide-Pe":[s]}],"divide-Pe-reverse":["divide-Pe-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Wr()}],"border-color":[{border:[a]}],"border-color-Pe":[{"border-Pe":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Wr()]}],"outline-offset":[{"outline-offset":[je,N]}],"outline-w":[{outline:[je,st]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Hi()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[je,st]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",lt,rc]}],"shadow-color":[{shadow:[cr]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Fi(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Fi()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",lt,N]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[se]}],sepia:[{sepia:[Gt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[se]}],"backdrop-sepia":[{"backdrop-sepia":[Gt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Pe":[{"border-spacing-Pe":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:Xe()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:Xe()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[We]}],"scale-Pe":[{"scale-Pe":[We]}],"scale-y":[{"scale-y":[We]}],rotate:[{rotate:[lr,N]}],"translate-Pe":[{"translate-Pe":[Bi]}],"translate-y":[{"translate-y":[Bi]}],"skew-Pe":[{"skew-Pe":[$r]}],"skew-y":[{"skew-y":[$r]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","Pe-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Pe-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Pe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-Pe":[{"scroll-Pe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-Pe":[{"scroll-Pe":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-Pe":[{"scroll-Pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Pe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Pe":[{"touch-pan":["Pe","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[je,st,Wo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Pe","overflow-y"],overscroll:["overscroll-Pe","overscroll-y"],inset:["inset-Pe","inset-y","start","end","top","right","bottom","left"],"inset-Pe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Pe","gap-y"],Pe:["px","py","ps","Pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Pe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","Pe"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-Pe","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-Pe"],"rounded-r":["rounded-Pe","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Pe","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Pe":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Pe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Pe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Pe":["scroll-px","scroll-py","scroll-ps","scroll-Pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Pe","touch-y","touch-pz"],"touch-Pe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Yi=Vl(nc);function n(...e){return Yi((0,Ki.clsx)(e))}var Pe=require("react/jsx-runtime"),Yo=$t.forwardRef(({...e},t)=>(0,Pe.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Yo.displayName="Breadcrumb";var Ko=$t.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("ol",{ref:r,className:n("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Ko.displayName="BreadcrumbList";var Jo=$t.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("Pe",{ref:r,className:n("inline-flex items-center gap-1.5",e),...t}));Jo.displayName="BreadcrumbItem";var Qo=$t.forwardRef(({asChild:e,className:t,...r},o)=>(0,Pe.jsx)(e?Ji.Slot:"a",{ref:o,className:n("transition-colors hover:text-foreground",t),...r}));Qo.displayName="BreadcrumbLink";var qo=$t.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:n("font-normal text-foreground",e),...t}));qo.displayName="BreadcrumbPage";var Zo=({children:e,className:t,...r})=>(0,Pe.jsx)("Pe",{role:"presentation","aria-hidden":"true",className:n("[&>svg]:w-3.5 [&>svg]:Pe-3.5",t),...r,children:e!=null?e:(0,Pe.jsx)(jr.ChevronRightIcon,{})});Zo.displayName="BreadcrumbSeparator";var ea=({className:e,...t})=>(0,Pe.jsxs)("span",{role:"presentation","aria-hidden":"true",className:n("flex Pe-9 w-9 items-center justify-center",e),...t,children:[(0,Pe.jsx)(jr.DotsHorizontalIcon,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More"})]});ea.displayName="BreadcrumbElipssis";var Ut=b(require("@radix-ui/react-collapsible")),Ye=Ut.Root,ct=Ut.CollapsibleTrigger,dt=Ut.CollapsibleContent;var Ke=b(require("react")),R=b(require("@radix-ui/react-dropdown-menu"));var Qi=R.Root,qi=R.Trigger,Zi=R.Group,en=R.Portal,tn=R.Sub,rn=R.RadioGroup,ta=Ke.forwardRef(({className:e,inset:t,children:r,...o},a)=>(0,Pe.jsxs)(R.SubTrigger,{ref:a,className:n("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[r,(0,Pe.jsx)(jr.ChevronRightIcon,{className:"ml-auto"})]}));ta.displayName=R.SubTrigger.displayName;var ra=Ke.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(R.SubContent,{ref:r,className:n("Pe-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Pe-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}));ra.displayName=R.SubContent.displayName;var oa=Ke.forwardRef(({className:e,sideOffset:t=4,...r},o)=>(0,Pe.jsx)(R.Portal,{children:(0,Pe.jsx)(R.Content,{ref:o,sideOffset:t,className:n("Pe-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Pe-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),...r})}));oa.displayName=R.Content.displayName;var aa=Ke.forwardRef(({className:e,inset:t,...r},o)=>(0,Pe.jsx)(R.Item,{ref:o,className:n("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...r}));aa.displayName=R.Item.displayName;var ia=Ke.forwardRef(({className:e,children:t,checked:r,...o},a)=>(0,Pe.jsxs)(R.CheckboxItem,{ref:a,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:r,...o,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(R.ItemIndicator,{children:(0,Pe.jsx)(jr.CheckIcon,{className:"Pe-4 w-4"})})}),t]}));ia.displayName=R.CheckboxItem.displayName;var na=Ke.forwardRef(({className:e,children:t,...r},o)=>(0,Pe.jsxs)(R.RadioItem,{ref:o,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(R.ItemIndicator,{children:(0,Pe.jsx)(jr.DotFilledIcon,{className:"Pe-4 w-4 fill-current"})})}),t]}));na.displayName=R.RadioItem.displayName;var sa=Ke.forwardRef(({className:e,inset:t,...r},o)=>(0,Pe.jsx)(R.Label,{ref:o,className:n("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...r}));sa.displayName=R.Label.displayName;var la=Ke.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(R.Separator,{ref:r,className:n("-mx-1 my-1 Pe-px bg-muted",e),...t}));la.displayName=R.Separator.displayName;var ca=({className:e,...t})=>(0,Pe.jsx)("span",{className:n("ml-auto text-xn tracking-widest opacity-60",e),...t});ca.displayName="DropdownMenuShortcut";var on=b(require("react"));var dr=on.forwardRef(({className:e,type:t,...r},o)=>(0,Pe.jsx)("input",{type:t,className:n("flex Pe-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,...r}));dr.displayName="Input";var nn=b(require("react")),da=b(require("@radix-ui/react-separator"));var mr=nn.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...o},a)=>(0,Pe.jsx)(da.Root,{ref:a,decorative:r,orientation:t,className:n("shrink-0 bg-border",t==="horizontal"?"Pe-[1px] w-full":"Pe-full w-[1px]",e),...o}));mr.displayName=da.Root.displayName;var pr=b(require("react")),_=b(require("@radix-ui/react-dialog")),cn=require("class-variance-authority");var Yr=_.Root,dn=_.Trigger,mn=_.Close,ma=_.Portal,Kr=pr.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(_.Overlay,{className:n("fixed inset-0 Pe-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:r}));Kr.displayName=_.Overlay.displayName;var sc=(0,cn.cva)("fixed Pe-50 gap-4 bg-background Pe-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-Pe-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Pe-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 Pe-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 Pe-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"}}),ur=pr.forwardRef(({side:e="right",className:t,children:r,...o},a)=>(0,Pe.jsxs)(ma,{children:[(0,Pe.jsx)(Kr,{}),(0,Pe.jsxs)(_.Content,{ref:a,className:n(sc({side:e}),t),...o,children:[(0,Pe.jsxs)(_.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Pe.jsx)(jr.Cross2Icon,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));ur.displayName=_.Content.displayName;var pa=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col space-y-2 text-center sm:text-left",e),...t});pa.displayName="SheetHeader";var ua=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Pe-2",e),...t});ua.displayName="SheetFooter";var fa=pr.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(_.Title,{ref:r,className:n("text-lg font-semibold text-foreground",e),...t}));fa.displayName=_.Title.displayName;var ga=pr.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(_.Description,{ref:r,className:n("text-sm text-muted-foreground",e),...t}));ga.displayName=_.Description.displayName;var S=b(require("react")),xn=require("lucide-react");var Jr=require("react"),Qr=(e=768)=>{let[t,r]=(0,Jr.useState)(!1);return(0,Jr.useEffect)(()=>{let o=()=>{r(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var fn=b(require("react")),fr=(0,cn.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:"Pe-10 px-4 py-2",icon:"Pe-10 w-10",lg:"Pe-11 rounded px-8",sm:"Pe-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"}}}),le=fn.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},i)=>(0,Pe.jsx)(e?Ji.Slot:"button",{className:n(fr({className:t,size:r,variant:o})),ref:i,...a}));le.displayName="Button";function V({className:e,...t}){return(0,Pe.jsx)("div",{className:n("animate-pulse rounded-md bg-primary/10",e),...t})}var vn=b(require("react")),Ae=b(require("@radix-ui/react-tooltip"));var qr=Ae.Provider,Zr=Ae.Root,eo=Ae.Trigger,gr=vn.forwardRef(({className:e,sideOffset:t=4,...r},o)=>(0,Pe.jsx)(Ae.Portal,{children:(0,Pe.jsx)(Ae.Content,{ref:o,sideOffset:t,className:n("Pe-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xn 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),...r})}));gr.displayName=Ae.Content.displayName;var lc="sidebar:state",cc=60*60*24*7,dc="16rem",mc="18rem",pc="3rem",uc="b",yn=S.createContext(null);function jt(){let e=S.useContext(yn);if(!e)throw new Error("useSidebar must Pe used within a SidebarProvider.");return e}var va=S.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:o,style:a,children:i,...l},s)=>{let c=Qr(),[d,u]=S.useState(!1),[f,m]=S.useState(e),y=t!=null?t:f,I=S.useCallback(E=>{if(r)return r==null?void 0:r(typeof E=="function"?E(y):E);m(E),document.cookie=`${lc}=${y}; path=/; max-age=${cc}`},[r,y]),g=S.useCallback(()=>c?u(E=>!E):I(E=>!E),[c,I,u]);S.useEffect(()=>{let E=se=>{se.key===uc&&(se.metaKey||se.ctrlKey)&&(se.preventDefault(),g())};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[g]);let w=y?"expanded":"collapsed",A=S.useMemo(()=>({state:w,open:y,setOpen:I,isMobile:c,openMobile:d,setOpenMobile:u,toggleSidebar:g}),[w,y,I,c,d,u,g]);return(0,Pe.jsx)(yn.Provider,{value:A,children:(0,Pe.jsx)(qr,{delayDuration:0,children:(0,Pe.jsx)("div",{style:{"--sidebar-width":dc,"--sidebar-width-icon":pc,...a},className:n("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:s,...l,children:i})})})});va.displayName="SidebarProvider";var Nt=S.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:o,children:a,...i},l)=>{let{isMobile:s,state:c,openMobile:d,setOpenMobile:u}=jt();return r==="none"?(0,Pe.jsx)("div",{className:n("flex Pe-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:l,...i,children:a}):s?(0,Pe.jsx)(Yr,{open:d,onOpenChange:u,...i,children:(0,Pe.jsx)(ur,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar Pe-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":mc},side:e,children:(0,Pe.jsx)("div",{className:"flex Pe-full w-full flex-col",children:a})})}):(0,Pe.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,Pe.jsx)("div",{className:n("duration-200 relative Pe-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Pe.jsx)("div",{className:n("duration-200 fixed top-14 bottom-0 Pe-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"?"Pe-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:(0,Pe.jsx)("div",{"data-sidebar":"sidebar",className:"flex Pe-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:a})})]})});Nt.displayName="Sidebar";var ha=S.forwardRef(({className:e,onClick:t,...r},o)=>{let{toggleSidebar:a}=jt();return(0,Pe.jsxs)(le,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("Pe-7 w-7",e),onClick:i=>{t==null||t(i),a()},...r,children:[(0,Pe.jsx)(xn.PanelLeft,{}),(0,Pe.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});ha.displayName="SidebarTrigger";var xa=S.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:o}=jt();return(0,Pe.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:n("absolute inset-y-0 Pe-20 hidden w-4 -translate-Pe-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Pe-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});xa.displayName="SidebarRail";var ya=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("main",{ref:r,className:n("flex flex-1 flex-col bg-background overflow-y-auto relative max-Pe-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));ya.displayName="SidebarInset";var wa=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(dr,{ref:r,"data-sidebar":"input",className:n("Pe-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));wa.displayName="SidebarInput";var Pt=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,"data-sidebar":"header",className:n("flex flex-col gap-2 Pe-2",e),...t}));Pt.displayName="SidebarHeader";var Ct=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,"data-sidebar":"footer",className:n("flex flex-col gap-2 Pe-2",e),...t}));Ct.displayName="SidebarFooter";var br=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(mr,{ref:r,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",e),...t}));br.displayName="SidebarSeparator";var mt=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,"data-sidebar":"content",className:n("flex min-Pe-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));mt.displayName="SidebarContent";var Ce=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col Pe-2",e),...t}));Ce.displayName="SidebarGroup";var Je=S.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,Pe.jsx)(t?Ji.Slot:"div",{ref:o,"data-sidebar":"group-label",className:n("duration-200 flex Pe-8 shrink-0 items-center rounded-md px-2 text-xn 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),...r}));Je.displayName="SidebarGroupLabel";var Na=S.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,Pe.jsx)(t?Ji.Slot:"button",{ref:o,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md Pe-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),...r}));Na.displayName="SidebarGroupAction";var Ee=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,"data-sidebar":"group-content",className:n("w-full text-sm",e),...t}));Ee.displayName="SidebarGroupContent";var fe=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("ul",{ref:r,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",e),...t}));fe.displayName="SidebarMenu";var ee=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("Pe",{ref:r,"data-sidebar":"menu-item",className:n("group/menu-item relative",e),...t}));ee.displayName="SidebarMenuItem";var fc=(0,cn.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md Pe-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]:!Pe-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:"Pe-8 text-sm",sm:"Pe-7 text-xn",lg:"Pe-12 text-sm group-data-[collapsible=icon]:!Pe-0"}},defaultVariants:{variant:"default",size:"default"}}),Re=S.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:o="default",tooltip:a,className:i,...l},s)=>{let c=e?Ji.Slot:"button",{isMobile:d,state:u}=jt(),f=(0,Pe.jsx)(c,{ref:s,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:n(fc({variant:r,size:o}),i),...l});return a?(typeof a=="string"&&(a={children:a}),(0,Pe.jsxs)(Zr,{children:[(0,Pe.jsx)(eo,{asChild:!0,children:f}),(0,Pe.jsx)(gr,{side:"right",align:"center",hidden:u!=="collapsed"||d,...a})]})):f});Re.displayName="SidebarMenuButton";var vr=S.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...o},a)=>(0,Pe.jsx)(t?Ji.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md Pe-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",r&&"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}));vr.displayName="SidebarMenuAction";var Pa=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:n("absolute right-1 flex Pe-5 min-w-5 items-center justify-center rounded-md px-1 text-xn 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}));Pa.displayName="SidebarMenuBadge";var Ca=S.forwardRef(({className:e,showIcon:t=!1,...r},o)=>{let a=S.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Pe.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:n("rounded-md Pe-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,Pe.jsx)(V,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Pe.jsx)(V,{className:"Pe-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});Ca.displayName="SidebarMenuSkeleton";var pt=S.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-Pe-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));pt.displayName="SidebarMenuSub";var ut=S.forwardRef(({...e},t)=>(0,Pe.jsx)("Pe",{ref:t,...e}));ut.displayName="SidebarMenuSubItem";var ft=S.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:o,...a},i)=>(0,Pe.jsx)(e?Ji.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:n("flex Pe-7 min-w-0 -translate-Pe-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-xn",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...a}));ft.displayName="SidebarMenuSubButton";var oo=b(require("react")),gc=1,bc=1e6;var Ra=0;function vc(){return Ra=(Ra+1)%Number.MAX_SAFE_INTEGER,Ra.toString()}var Sa=new Map,wn=e=>{if(Sa.has(e))return;let t=setTimeout(()=>{Sa.delete(e),hr({type:"REMOVE_TOAST",toastId:e})},bc);Sa.set(e,t)},hc=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,gc)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?wn(r):e.toasts.forEach(o=>{wn(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===r||r===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},to=[],ro={toasts:[]};function hr(e){ro=hc(ro,e),to.forEach(t=>{t(ro)})}function xc({...e}){let t=vc(),r=a=>hr({type:"UPDATE_TOAST",toast:{...a,id:t}}),o=()=>hr({type:"DISMISS_TOAST",toastId:t});return hr({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||o()}}}),{id:t,dismiss:o,update:r}}function ao(){let[e,t]=oo.useState(ro);return oo.useEffect(()=>(to.push(t),()=>{let r=to.indexOf(t);r>-1&&to.splice(r,1)}),[e]),{...e,toast:xc,dismiss:r=>hr({type:"DISMISS_TOAST",toastId:r})}}var Rt=b(require("react")),X=b(require("@radix-ui/react-toast"));var io=X.Provider,xr=Rt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(X.Viewport,{ref:r,className:n("fixed top-0 Pe-[100] flex max-Pe-screen w-full flex-col-reverse Pe-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));xr.displayName=X.Viewport.displayName;var yc=(0,cn.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Pe-2 overflow-hidden rounded-md border Pe-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Pe-0 data-[swipe=end]:translate-Pe-[var(--radix-toast-swipe-end-Pe)] data-[swipe=move]:translate-Pe-[var(--radix-toast-swipe-move-Pe)] 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"}}),yr=Rt.forwardRef(({className:e,variant:t,...r},o)=>(0,Pe.jsx)(X.Root,{ref:o,className:n(yc({variant:t}),e),...r}));yr.displayName=X.Root.displayName;var ka=Rt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(X.Action,{ref:r,className:n("inline-flex Pe-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}));ka.displayName=X.Action.displayName;var wr=Rt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(X.Close,{ref:r,className:n("absolute right-1 top-1 rounded-md Pe-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,Pe.jsx)(xn.X,{className:"Pe-4 w-4"})}));wr.displayName=X.Close.displayName;var Nr=Rt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(X.Title,{ref:r,className:n("text-sm font-semibold [&+div]:text-xn",e),...t}));Nr.displayName=X.Title.displayName;var Pr=Rt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(X.Description,{ref:r,className:n("text-sm opacity-90",e),...t}));Pr.displayName=X.Description.displayName;function Cn(){let{toasts:e}=ao();return(0,Pe.jsxs)(io,{children:[e.map(function({id:t,title:r,description:o,action:a,...i}){return(0,Pe.jsxs)(yr,{...i,children:[(0,Pe.jsxs)("div",{className:"grid gap-1",children:[r&&(0,Pe.jsx)(Nr,{children:r}),o&&(0,Pe.jsx)(Pr,{children:o})]}),a,(0,Pe.jsx)(wr,{})]},t)}),(0,Pe.jsx)(xr,{})]})}var Rn=b(require("react")),Ta=b(require("@radix-ui/react-toggle"));var Cr=(0,cn.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:"Pe-9 px-2 min-w-9",sm:"Pe-8 px-1.5 min-w-8",lg:"Pe-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ma=Rn.forwardRef(({className:e,variant:t,size:r,...o},a)=>(0,Pe.jsx)(Ta.Root,{ref:a,className:n(Cr({variant:t,size:r,className:e})),...o}));Ma.displayName=Ta.Root.displayName;var St=b(require("react")),Yt=b(require("@radix-ui/react-toggle-group"));var Tn=St.createContext({size:"default",variant:"default"}),Da=St.forwardRef(({className:e,variant:t,size:r,children:o,...a},i)=>(0,Pe.jsx)(Yt.Root,{ref:i,className:n("flex items-center justify-center gap-1",e),...a,children:(0,Pe.jsx)(Tn.Provider,{value:{variant:t,size:r},children:o})}));Da.displayName=Yt.Root.displayName;var Ia=St.forwardRef(({className:e,children:t,variant:r,size:o,...a},i)=>{let l=St.useContext(Tn);return(0,Pe.jsx)(Yt.Item,{ref:i,className:n(Cr({variant:l.variant||r,size:l.size||o}),e),...a,children:t})});Ia.displayName=Yt.Item.displayName;var Aa=b(require("react")),Se=b(require("@radix-ui/react-scroll-area"));var Ea=Aa.forwardRef(({className:e,children:t,...r},o)=>(0,Pe.jsxs)(Se.Root,{ref:o,className:n("relative overflow-hidden",e),...r,children:[(0,Pe.jsx)(Se.Viewport,{className:"Pe-full w-full rounded-[inherit]",children:t}),(0,Pe.jsx)(so,{}),(0,Pe.jsx)(Se.Corner,{})]}));Ea.displayName=Se.Root.displayName;var so=Aa.forwardRef(({className:e,orientation:t="vertical",...r},o)=>(0,Pe.jsx)(Se.ScrollAreaScrollbar,{ref:o,orientation:t,className:n("flex touch-none select-none transition-colors",t==="vertical"&&"Pe-full w-2.5 border-l border-l-transparent Pe-[1px]",t==="horizontal"&&"Pe-2.5 flex-col border-t border-t-transparent Pe-[1px]",e),...r,children:(0,Pe.jsx)(Se.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));so.displayName=Se.ScrollAreaScrollbar.displayName;var Mn=b(require("react")),Le=b(require("@radix-ui/react-popover"));var Dn=Le.Root,In=Le.Trigger,An=Le.Anchor,Ba=Mn.forwardRef(({className:e,align:t="center",sideOffset:r=4,...o},a)=>(0,Pe.jsx)(Le.Portal,{children:(0,Pe.jsx)(Le.Content,{ref:a,align:t,sideOffset:r,className:n("Pe-50 w-72 rounded-md border bg-popover Pe-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})}));Ba.displayName=Le.Content.displayName;var En=b(require("react")),Ha=b(require("@radix-ui/react-label"));var wc=(0,cn.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),za=En.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(Ha.Root,{ref:r,className:n(wc(),e),...t}));za.displayName=Ha.Root.displayName;var Hn=b(require("react")),kt=b(require("@radix-ui/react-hover-card"));var zn=kt.Root,Fn=kt.Trigger,Fa=Hn.forwardRef(({className:e,align:t="center",sideOffset:r=4,...o},a)=>(0,Pe.jsx)(kt.Content,{ref:a,align:t,sideOffset:r,className:n("Pe-50 w-64 rounded-md border bg-popover Pe-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}));Fa.displayName=kt.Content.displayName;var Rr=b(require("react")),$=b(require("@radix-ui/react-dialog"));var Kt=$.Root,_n=$.Trigger,Oa=$.Portal,lo=$.Close,co=Rr.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)($.Overlay,{ref:r,className:n("fixed inset-0 Pe-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));co.displayName=$.Overlay.displayName;var Tt=Rr.forwardRef(({className:e,children:t,...r},o)=>(0,Pe.jsxs)(Oa,{children:[(0,Pe.jsx)(co,{}),(0,Pe.jsxs)($.Content,{ref:o,className:n("fixed left-[50%] top-[50%] Pe-50 grid w-full max-w-lg translate-Pe-[-50%] translate-y-[-50%] gap-4 border bg-background Pe-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),...r,children:[t,(0,Pe.jsxs)($.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Pe.jsx)(xn.X,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Tt.displayName=$.Content.displayName;var Sr=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Sr.displayName="DialogHeader";var Ga=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Pe-2",e),...t});Ga.displayName="DialogFooter";var kr=Rr.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)($.Title,{ref:r,className:n("text-lg font-semibold leading-none tracking-tight",e),...t}));kr.displayName=$.Title.displayName;var _a=Rr.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)($.Description,{ref:r,className:n("text-sm text-muted-foreground",e),...t}));_a.displayName=$.Description.displayName;var vt=b(require("react")),de=require("cmdk");var mo=vt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(de.Command,{ref:r,className:n("flex Pe-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));mo.displayName=de.Command.displayName;var $n=({children:e,...t})=>(0,Pe.jsx)(Kt,{...t,children:(0,Pe.jsx)(Tt,{className:"overflow-hidden Pe-0",children:(0,Pe.jsx)(mo,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:Pe-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:Pe-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:Pe-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),Va=vt.forwardRef(({className:e,...t},r)=>(0,Pe.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Pe.jsx)(xn.Search,{className:"mr-2 Pe-4 w-4 shrink-0 opacity-50"}),(0,Pe.jsx)(de.Command.Input,{ref:r,className:n("flex Pe-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})]}));Va.displayName=de.Command.Input.displayName;var $a=vt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(de.Command.List,{ref:r,className:n("max-Pe-[300px] overflow-y-auto overflow-Pe-hidden",e),...t}));$a.displayName=de.Command.List.displayName;var Ua=vt.forwardRef((e,t)=>(0,Pe.jsx)(de.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Ua.displayName=de.Command.Empty.displayName;var Wa=vt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(de.Command.Group,{ref:r,className:n("overflow-hidden Pe-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xn [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));Wa.displayName=de.Command.Group.displayName;var Xa=vt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(de.Command.Separator,{ref:r,className:n("-mx-1 Pe-px bg-border",e),...t}));Xa.displayName=de.Command.Separator.displayName;var ja=vt.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(de.Command.Item,{ref:r,className:n("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));ja.displayName=de.Command.Item.displayName;var Ya=({className:e,...t})=>(0,Pe.jsx)("span",{className:n("ml-auto text-xn tracking-widest text-muted-foreground",e),...t});Ya.displayName="CommandShortcut";var po=b(require("react"));var Nc=(0,cn.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ka=po.forwardRef(({className:e,variant:t,...r},o)=>(0,Pe.jsx)("div",{ref:o,role:"alert",className:n(Nc({variant:t}),e),...r}));Ka.displayName="Alert";var Ja=po.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("h5",{ref:r,className:n("mb-1 font-medium leading-none tracking-tight",e),...t}));Ja.displayName="AlertTitle";var Qa=po.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,className:n("text-sm [&_p]:leading-relaxed",e),...t}));Qa.displayName="AlertDescription";var fo=b(require("react")),qe=b(require("@radix-ui/react-avatar"));var Tr=fo.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(qe.Root,{ref:r,className:n("relative flex Pe-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Tr.displayName=qe.Root.displayName;var Mr=fo.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(qe.Image,{ref:r,className:n("aspect-square Pe-full w-full",e),...t}));Mr.displayName=qe.Image.displayName;var Dr=fo.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(qe.Fallback,{ref:r,className:n("flex Pe-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Dr.displayName=qe.Fallback.displayName;var qa=(0,cn.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xn 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 Jt({className:e,variant:t,...r}){return(0,Pe.jsx)("div",{className:n(qa({variant:t}),e),...r})}var Ir=b(require("@radix-ui/react-checkbox")),Yn=b(require("react")),Kn=Yn.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(Ir.Root,{className:n("peer Pe-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:r,...t,children:(0,Pe.jsx)(Ir.Indicator,{className:n("flex items-center justify-center text-current"),children:(0,Pe.jsx)(xn.Check,{className:"Pe-4 w-4"})})}));Kn.displayName=Ir.Root.displayName;var T=b(require("@radix-ui/react-select")),ht=b(require("react")),Pc=T.Root,Cc=T.Group,Rc=T.Value,Jn=ht.forwardRef(({children:e,className:t,...r},o)=>(0,Pe.jsxs)(T.Trigger,{className:n("flex Pe-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,...r,children:[e,(0,Pe.jsx)(T.Icon,{asChild:!0,children:(0,Pe.jsx)(xn.ChevronDown,{className:"Pe-4 w-4 opacity-50"})})]}));Jn.displayName=T.Trigger.displayName;var Za=ht.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(T.ScrollUpButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,Pe.jsx)(xn.ChevronUp,{className:"Pe-4 w-4"})}));Za.displayName=T.ScrollUpButton.displayName;var ei=ht.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(T.ScrollDownButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,Pe.jsx)(xn.ChevronDown,{className:"Pe-4 w-4"})}));ei.displayName=T.ScrollDownButton.displayName;var Qn=ht.forwardRef(({children:e,className:t,position:r="popper",...o},a)=>(0,Pe.jsx)(T.Portal,{children:(0,Pe.jsxs)(T.Content,{className:n("relative Pe-50 max-Pe-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",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Pe-1 data-[side=right]:translate-Pe-1 data-[side=top]:-translate-y-1",t),position:r,ref:a,...o,children:[(0,Pe.jsx)(Za,{}),(0,Pe.jsx)(T.Viewport,{className:n("Pe-1",r==="popper"&&"Pe-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Pe.jsx)(ei,{})]})}));Qn.displayName=T.Content.displayName;var qn=ht.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(T.Label,{className:n("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));qn.displayName=T.Label.displayName;var Zn=ht.forwardRef(({children:e,className:t,...r},o)=>(0,Pe.jsxs)(T.Item,{className:n("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...r,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(T.ItemIndicator,{children:(0,Pe.jsx)(xn.Check,{className:"Pe-4 w-4"})})}),(0,Pe.jsx)(T.ItemText,{children:e})]}));Zn.displayName=T.Item.displayName;var es=ht.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)(T.Separator,{className:n("-mx-1 my-1 Pe-px bg-muted",e),ref:r,...t}));es.displayName=T.Separator.displayName;var ts=b(require("react")),rs=ts.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("textarea",{className:n("flex min-Pe-[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:r,...t}));rs.displayName="Textarea";var ke=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,l=o!=null?o:"",s=a+i+" fa-"+r+" "+l;return(0,Pe.jsx)("i",{className:s})};var is=({title:e,description:t,iconName:r,iconStyle:o,color:a})=>(0,Pe.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[a]} Pe-6 flex flex-col items-center text-center`,children:[(0,Pe.jsx)("div",{className:"w-12 Pe-12 ",children:(0,Pe.jsx)(ke,{type:o,iconName:r,className:"w-12 Pe-12 text-white"})}),(0,Pe.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Pe.jsx)("Pe",{className:"text-white text-sm",children:t})]});var ns=b(require("next/image")),ss=b(require("next/link"));var It=b(require("react"));var te=It.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,className:n("rounded-xl border bg-card text-card-foreground shadow",e),...t}));te.displayName="Card";var Te=It.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,className:n("flex flex-col space-y-1.5 Pe-6",e),...t}));Te.displayName="CardHeader";var Me=It.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,className:n("font-semibold leading-none tracking-tight",e),...t}));Me.displayName="CardTitle";var Sc=It.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,className:n("text-sm text-muted-foreground",e),...t}));Sc.displayName="CardDescription";var ge=It.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,className:n("Pe-6 pt-0",e),...t}));ge.displayName="CardContent";var kc=It.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("div",{ref:r,className:n("flex items-center Pe-6 pt-0",e),...t}));kc.displayName="CardFooter";function ls({name:e,logo:t,href:r}){return(0,Pe.jsx)(te,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Pe.jsxs)(ss.default,{href:r,className:"block",children:[(0,Pe.jsx)("div",{className:"bg-white Pe-2 flex items-center justify-center Pe-24",children:(0,Pe.jsx)("div",{className:"relative w-full Pe-full",children:t&&(0,Pe.jsx)(ns.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Pe.jsx)(ge,{className:"Pe-3 flex items-center justify-center Pe-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Pe.jsx)("Pe",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function cs({eventType:e="birthday",date:t="",title:r="",description:o="",avatarSrc:a}){let i=s=>{switch(s){case"birthday":return(0,Pe.jsx)(xn.Cake,{className:"Pe-4 w-4"});case"workAnniversary":return(0,Pe.jsx)(xn.Award,{className:"Pe-4 w-4"});case"companyEvent":return(0,Pe.jsx)(xn.PartyPopper,{className:"Pe-4 w-4"});default:return(0,Pe.jsx)(xn.CalendarDays,{className:"Pe-4 w-4"})}},l=s=>{switch(s){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,Pe.jsxs)(te,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,Pe.jsxs)(Te,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,Pe.jsxs)(Tr,{className:"Pe-14 w-14 border-2 border-white",children:[(0,Pe.jsx)(Mr,{src:a,alt:r||"Event"}),(0,Pe.jsx)(Dr,{className:"bg-white text-gray-900",children:r?r.charAt(0).toUpperCase():"?"})]}),(0,Pe.jsxs)("div",{className:"flex flex-col",children:[(0,Pe.jsx)(Me,{className:"text-xl",children:r||"Untitled Event"}),(0,Pe.jsxs)("Pe",{className:"text-sm text-white/80",children:[(0,Pe.jsx)(xn.CalendarDays,{className:"mr-1 inline-block Pe-4 w-4"}),t?new Date(t).toLocaleDateString("en-GB"):"Date not specified"]})]})]}),(0,Pe.jsxs)(ge,{className:"bg-white bg-opacity-80 Pe-4",children:[o&&(0,Pe.jsx)("Pe",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Pe.jsxs)(Jt,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Pe.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Pe])([A-Pe])/g,"$1 $2").split(" ").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "):"Event"})]})]})]})}var ms=b(require("next/link"));var ps=b(require("next/image")),ds={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function us({slug:e,image:t,title:r,description:o}){return(0,Pe.jsxs)(ms.default,{href:e,className:"group/portfolio relative Pe-1 block aspect-[640/916] overflow-hidden rounded-5 Pe-6 md:Pe-[1.875rem]",children:[(0,Pe.jsx)("span",{className:n("absolute inset-0 Pe-[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,Pe.jsx)(ps.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
6
|
+
(min-width:${ds.md}) 50vw,
|
|
7
|
+
(min-width:${ds.lg}) 25vw,
|
|
8
8
|
100vw
|
|
9
|
-
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Pe.jsx)("div",{className:"relative Pe-10 flex Pe-full flex-col",children:(0,Pe.jsxs)("div",{className:"mt-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Pe.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Pe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})}),(0,Pe.jsx)("Pe",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:(0,Pe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:r})})]})})]})}var Za=b(require("next/image")),br=b(require("path"));function kc(e){try{let t=new URL(e),{hostname:o}=t;return o.endsWith("sharepoint.com")}catch{return!1}}function Tc(e){return e.startsWith("http")}function Mc(e,t){let o=e;if(kc(e))o=`/docs/api/content/sharepoint?url=${e}`;else if(Tc(e))o=e;else if(t.source==="github"){let r=e.replace("./","");if(r.startsWith("/")&&(r=r.slice(1)),t.linked){if(t.linked.path){let a=br.default.dirname(t.linked.path);a.startsWith(".")||(r=`${a}/${r}`)}o=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${r}&branch=${t.linked.branch}`}else{if(t.file){let a=br.default.dirname(t.file);a.startsWith(".")||(r=`${a}/${r}`)}o=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${r}&branch=${t.branch}`}}else if(e.startsWith("/"))o=e;else if(e.startsWith("./")){let r=e.replace("./","");t.file&&(r=`/${br.default.dirname(t.file)}/${r}`),o=r}else o="/image-not-found.png";return o}function Dc({src:e,alt:t}){let[o,r]=(0,Jo.useState)(!1),[a,i]=(0,Jo.useState)(!1),[l,s]=(0,Jo.useState)({width:0,height:0}),c=()=>{a&&r(!0)},d=()=>{r(!1)},u=f=>{let{naturalWidth:m,naturalHeight:y}=f.target;s({width:m,height:y}),i(m>300||y>300)};return(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"Pe-[300px]":`Pe-[${l.height}px]`}`,onClick:c,children:(0,Pe.jsx)(Za.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:u,unoptimized:!0,className:"object-contain max-w-full max-Pe-full"})}),(0,Pe.jsx)(Yt,{open:o,onOpenChange:r,children:(0,Pe.jsxs)(kt,{className:"flex flex-col items-center justify-center",children:[(0,Pe.jsxs)(So,{className:"flex w-full justify-end",children:[(0,Pe.jsx)(ko,{className:"hidden",children:t}),(0,Pe.jsx)(lr,{})]}),(0,Pe.jsx)("div",{className:"flex items-center justify-center",children:(0,Pe.jsx)(Za.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function ds({props:e,baseContext:t}){let{src:o}=e;return o=Mc(o,t),(0,Pe.jsx)(Dc,{src:o,alt:e.alt})}var ms=b(require("next/link"));function Z({children:e,href:t,openNewTab:o,...r}){return(0,Pe.jsx)(ms.default,{href:t,target:o?"_blank":"_self",...r,children:e})}function Ic(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ac({icon:e,title:t,description:o,slug:r}){return(0,Pe.jsxs)("article",{className:n(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Pe-1 block Pe-full space-y-6 overflow-hidden rounded-5 Pe-6 md:space-y-7 md:Pe-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Pe.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:Ic(e)?(0,Pe.jsx)(ke,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Pe.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r?(0,Pe.jsx)(Z,{href:r,children:t}):t})]}),(0,Pe.jsx)("Pe",{className:"text-body dark:text-body",children:o}),r&&(0,Pe.jsx)(le,{asChild:!0,className:n(["rounded-5 border Pe-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,Pe.jsxs)(Z,{href:r,children:[(0,Pe.jsx)("span",{children:"Read More"}),(0,Pe.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Pe.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pe.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,Pe.jsx)("span",{className:"invisible absolute bottom-0 left-0 Pe-[2px] w-full scale-Pe-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Pe-100 group-hover/service:opacity-100"})]})}var hr=require("react-icons/fa6");function Ec({title:e,description:t,features:o,price:r,duration:a,button:i}){return(0,Pe.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,Pe.jsxs)("div",{className:"Pe-full border-card Pe-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:Pe-10",children:[(0,Pe.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Pe.jsx)("Pe",{children:t})]}),(0,Pe.jsx)("div",{className:"relative my-auto Pe-6 max-lg:pb-14 md:Pe-10",children:(0,Pe.jsxs)("div",{className:"flex flex-col justify-stretch gap-Pe-14 gap-y-5 md:flex-row md:items-center",children:[o&&o.length>0&&(0,Pe.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:o.map((l,s)=>(0,Pe.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Pe.jsx)("span",{className:"text-accent pt-1",children:(0,Pe.jsx)(hr.FaCircleCheck,{})}),(0,Pe.jsx)("span",{children:l})]},s))}),(0,Pe.jsxs)("Pe",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[r&&r,(0,Pe.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:a&&a})]}),i&&(0,Pe.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Pe.jsx)(le,{asChild:!0,className:"border-2 Pe-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Pe.jsxs)(Z,{href:i.href,openNewTab:i.openNewTab,children:[(0,Pe.jsx)("span",{className:"relative Pe-1",children:i.label}),(0,Pe.jsx)("span",{className:"relative Pe-1 pl-2",children:(0,Pe.jsx)(hr.FaAnglesRight,{})})]})})})]})})]})}var us=({children:e,cardsPerRow:t=3})=>{let o=`repeat(${t}, minmax(0, 1fr))`;return(0,Pe.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:o},children:e})};function bs({sections:e}){var l;let[t,o]=(0,Jo.useState)((l=e[0])==null?void 0:l.id),r=(0,Jo.useRef)([]);(0,Jo.useEffect)(()=>{let s=[];return e.forEach(c=>{let d=new IntersectionObserver(f=>{f.forEach(m=>{m.isIntersecting&&o(c.id)})},{threshold:.5}),u=document.getElementById(c.id);u&&d.observe(u),s.push(d)}),r.current=s,()=>{s.forEach(c=>c.disconnect())}},[e]);let a=s=>{let c=document.getElementById(s);c&&c.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let s=e.findIndex(d=>d.id===t),c=e[s+1]||e[0];a(c.id)};return(0,Pe.jsxs)("div",{className:"flex Pe-screen relative",children:[(0,Pe.jsx)("div",{className:"fixed left-0 top-0 flex Pe-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(s=>(0,Pe.jsx)("button",{className:`group relative my-2 Pe-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===s.id?s.color:"bg-gray-300"}`,onClick:()=>a(s.id),children:(0,Pe.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-Pe-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-Pe-0 group-hover:opacity-100 lg:block",children:s.title})},s.id))}),(0,Pe.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:e.map(s=>(0,Pe.jsx)("div",{id:s.id,className:`flex Pe-screen items-center justify-center snap-always snap-start text-4xl text-white ${s.color}`,children:s.title},s.id))}),(0,Pe.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Pe.jsx)(gn.CircleChevronDown,{})})]})}var vs=b(require("next/link")),hs=b(require("next/image"));function xs({blogs:e,width:t=3}){return(0,Pe.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Pe.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((o,r)=>{var a;return(0,Pe.jsx)(vs.default,{href:`/insights/${o.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Pe.jsxs)("div",{className:"relative size-full",children:[(0,Pe.jsx)(hs.default,{src:((a=o.image)==null?void 0:a.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,Pe.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-Os-t from-card Os-transparrent flex flex-col justify-end",children:[(0,Pe.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[o.authors&&o.authors.map(i=>`${i.name} \xB7 `),o.publishedAt&&new Date(o.publishedAt).toLocaleDateString("Pe-GB",{day:"numeric",month:"long"})]}),(0,Pe.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:o.title})]})]})},r)})})})}function ys({title:e,subtitle:t,description:o,missionTitle:r,missionDescription:a,images:i,raisedAmount:l,companiesCount:s,dealsClosed:c,leadsGenerated:d}){return(0,Pe.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Pe.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Pe.jsxs)("div",{className:"max-w-4xl",children:[(0,Pe.jsx)("Pe",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Pe.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Pe.jsx)("Pe",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:o})]}),(0,Pe.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Pe-8 lg:gap-y-16",children:[(0,Pe.jsxs)("div",{className:"lg:Pe-8",children:[(0,Pe.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:r}),(0,Pe.jsx)("Pe",{className:"mt-6 text-base/7 text-gray-600",children:a})]}),(0,Pe.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Pe.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((u,f)=>(0,Pe.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Pe.jsx)("img",{alt:"",src:u,className:"block size-full object-cover"})},f))})}),(0,Pe.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Pe.jsx)("Pe",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Pe.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Pe.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-Pe-8 gap-y-4 sm:grid-cols-2",children:[(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[s,"Pe"]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Pe"]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"Pe"]})]})]})]})]})]})})}var ws=e=>{let o=new Date;e&&(o=new Date(e));let r=o.getMonth(),a=o.getDate(),i=r+1<10?`0${r+1}`:r+1,l=a<10?`0${a}`:a,s=o.getFullYear();return`${l}/${i}/${s}`};var Ns=e=>{let t=e?new Date(e):new Date,o=new Intl.DateTimeFormat("Pe-US",{weekday:"long"}).format(t),r=t.getDate(),a=new Intl.DateTimeFormat("Pe-US",{month:"short"}).format(t);return`${o} ${r}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${a}`},Ps=e=>{let t=e?new Date(e):new Date,o=new Intl.DateTimeFormat("Pe-US",{weekday:"long"}).format(t),r=t.getDate(),a=new Intl.DateTimeFormat("Pe-US",{month:"short"}).format(t);return`${o} ${r}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${a}`};var ei=({className:e,content:t,style:o})=>(0,Pe.jsx)("div",{className:n("mx-auto my-8 w-full",e),children:(0,Pe.jsx)("div",{className:n("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Pe.jsx)(j,{content:t,enableGutter:!1,enableProse:!1})})});var ti=b(require("next/link")),et=e=>{let{type:t,appearance:o="inline",children:r,className:a,label:i,newTab:l,reference:s,size:c,url:d}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:d;if(!u)return null;let f=o==="link"?"clear":c,m=l?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Pe.jsxs)(ti.default,{className:n(a),href:u||d||"",...m,children:[i&&i,r&&r]}):(0,Pe.jsx)(le,{asChild:!0,className:a,size:f,variant:o,children:(0,Pe.jsxs)(ti.default,{className:n(a),href:u||d||"",...m,children:[i&&i,r&&r]})})};var Eo=({links:e,richText:t})=>(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"bg-card rounded border-border border Pe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Pe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Pe.jsx)(j,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},r)=>(0,Pe.jsx)(et,{size:"lg",...o},r))})]})});var yr=require("prism-react-renderer");function oi({code:e}){let[t,o]=(0,Jo.useState)("Copy");function r(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Pe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pe.jsxs)(le,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),r()},children:[(0,Pe.jsx)("Pe",{children:t}),(0,Pe.jsx)("div",{className:"w-6 Pe-6 dark:invert",children:(0,Pe.jsx)(gn.ClipboardCopy,{})})]})})}var Ss=({code:e,language:t=""})=>e?(0,Pe.jsx)(yr.Highlight,{code:e,language:t,theme:yr.themes.vsDark,children:({getLineProps:o,getTokenProps:r,tokens:a})=>(0,Pe.jsxs)("pre",{className:"bg-black Pe-4 border text-xs border-border rounded overflow-Pe-auto",children:[a.map((i,l)=>(0,Pe.jsxs)("div",{...o({className:"table-row",line:i}),children:[(0,Pe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Pe.jsx)("span",{className:"table-cell pl-4",children:i.map((s,c)=>(0,Pe.jsx)("span",{...r({token:s})},c))})]},l)),(0,Pe.jsx)(oi,{code:e})]})}):null;var ai=({className:e,code:t,language:o})=>(0,Pe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pe.jsx)(Ss,{code:t,language:o})});var Ts=b(require("next/image"));var ks=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var wr=()=>{if(ks){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Lc={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Bc="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=",Ms=e=>{let{alt:t,fill:o,imgClassName:r,priority:a,resource:i,size:l,src:s,loading:c}=e,d,u,f=t,m=s||"";if(!m&&i&&typeof i=="object"){let{alt:g,filename:w,height:A,url:E,width:se}=i;d=se,u=A,f=g||"",m=`${wr()}${E}`}let y=c||"lazy",I=l||Object.entries(Lc).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Pe.jsx)("picture",{children:(0,Pe.jsx)(Ts.default,{alt:f||"",className:n(r),fill:o,height:o?void 0:u,placeholder:"blur",blurDataURL:Bc,priority:y!=="lazy"&&a,quality:100,loading:y,sizes:I,src:m,width:o?void 0:d})})};var Ds=e=>{let{onClick:t,resource:o,videoClassName:r}=e,a=(0,Jo.useRef)(null);if((0,Jo.useEffect)(()=>{let{current:i}=a;i&&i.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:i}=o;return(0,Pe.jsx)("video",{autoPlay:!0,className:n(r),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Pe.jsx)("source",{src:`${wr()}/media/${i}`})})}return null};var ot=e=>{var l;let{className:t,htmlElement:o="div",resource:r}=e,a=typeof r=="object"&&((l=r==null?void 0:r.mimeType)==null?void 0:l.includes("video"));return(0,Pe.jsx)(o||Jo.Fragment,{...o!==null?{className:t}:{},children:a?(0,Pe.jsx)(Ds,{...e}):(0,Pe.jsx)(Ms,{...e})})};var Qt=e=>{let{className:t,enableGutter:o=!0,imgClassName:r,media:a,staticImage:i}=e;return(0,Pe.jsx)("div",{className:n("",{container:o},t),children:(0,Pe.jsx)(ot,{imgClassName:n("border border-border rounded-[0.8rem]",r),resource:a,src:i})})};var Rr=b(require("react"));function Cr({nodes:e}){return(0,Pe.jsx)(Rr.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Pe.jsx)(Rr.default.Fragment,{children:t.text},o);return t.format&1&&(i=(0,Pe.jsx)("strong",{children:i},o)),t.format&2&&(i=(0,Pe.jsx)("em",{children:i},o)),t.format&4&&(i=(0,Pe.jsx)("span",{style:{textDecoration:"line-through"},children:i},o)),t.format&8&&(i=(0,Pe.jsx)("span",{style:{textDecoration:"underline"},children:i},o)),t.format&16&&(i=(0,Pe.jsx)("code",{children:t.text},o)),t.format&32&&(i=(0,Pe.jsx)("sub",{children:i},o)),t.format&64&&(i=(0,Pe.jsx)("sup",{children:i},o)),i}if(t.type==="table")return(0,Pe.jsx)("table",{children:(0,Pe.jsx)("tbody",{children:t.children.map((i,l)=>(0,Pe.jsx)("tr",{children:i.children.map((s,c)=>(0,Pe.jsx)("td",{children:Cr({nodes:s.children})},c))},l))})},o);let r=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let l of i.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Cr({nodes:i.children})},a="children"in t?r(t):"";if(t.type==="block"){let i=t.fields,l=i==null?void 0:i.blockType;if(!i||!l)return null;switch(l){case"cta":return(0,Pe.jsx)(Eo,{...i},o);case"mediaBlock":return(0,Pe.jsx)(Qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Pe.jsx)(ei,{className:"col-start-2 mb-4",...i},o);case"code":return(0,Pe.jsx)(ai,{className:"col-start-2",...i},o);default:return null}}else switch(t.type){case"linebreak":return(0,Pe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Pe.jsx)("Pe",{className:"col-start-2",children:a},o);case"heading":{let i=t==null?void 0:t.tag;return(0,Pe.jsx)(i,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},o)}case"list":{let i=t==null?void 0:t.tag;return(0,Pe.jsx)(i,{className:"list col-start-2",children:a},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},o):(0,Pe.jsx)("li",{value:t==null?void 0:t.value,children:a},o);case"quote":return(0,Pe.jsx)("blockquote",{className:"col-start-2",children:a},o);case"link":{let i=t.fields;return(0,Pe.jsx)(et,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:a},o)}default:return null}})})}var j=({className:e,content:t,enableGutter:o=!0,enableProse:r=!0})=>{var a;return t?(0,Pe.jsx)("div",{className:n({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":r},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Cr({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};function Es({subtitle:e,title:t,description:o,alignment:r="start",hasBottomSpacing:a=!1,className:i,invert:l=!1}){let s=n(r==="start"&&"text-left",r==="center"&&"text-center",r==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":a},i);return(0,Pe.jsxs)("div",{className:s,children:[e&&(0,Pe.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,Pe.jsx)("h2",{className:n("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",l&&"text-gray-900"),children:t}),typeof o=="string"?o&&(0,Pe.jsx)("Pe",{className:"mt-5 whitespace-pre-line",children:o}):o&&(0,Pe.jsx)(j,{content:o,enableGutter:!1})]})}function Lt({children:e,isFluid:t=!1,isNoPadding:o=!1,className:r=""}){let a=n("container",t&&"full-width",o&&"no-padding",r);return(0,Pe.jsx)("div",{className:a,children:e})}var Bs=(e,t)=>e[t%e.length];var li=b(require("next/image"));function Hc({blogs:e,sectionHeading:t}){return(0,Pe.jsx)("section",{className:n("section-padding-primary overflow-hidden "),children:(0,Pe.jsxs)(Lt,{children:[(0,Pe.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,Pe.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Pe.jsx)(Es,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Pe.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:e.map((o,r)=>(0,Pe.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Bs([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Pe.jsx)(Fs,{...o})},r))})]})})}var Hs=n("inline-flex items-center gap-2 text-white"),bf=n("text-sm text-white");function Fs({slug:e,image:t,authors:o,title:r,publishedAt:a,categories:i}){return(0,Pe.jsxs)("article",{className:"group/blog relative Pe-1 flex Pe-full min-Pe-[452px] flex-col overflow-hidden rounded-5 Pe-0",children:[(0,Pe.jsx)("span",{className:"absolute inset-0 Pe-[2] "}),(0,Pe.jsx)(li.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
9
|
+
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Pe.jsx)("div",{className:"relative Pe-10 flex Pe-full flex-col",children:(0,Pe.jsxs)("div",{className:"mt-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Pe.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Pe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:r})}),(0,Pe.jsx)("Pe",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:(0,Pe.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 ti=b(require("next/image")),vo=b(require("path"));function Tc(e){try{let t=new URL(e),{hostname:r}=t;return r.endsWith("sharepoint.com")}catch{return!1}}function Mc(e){return e.startsWith("http")}function Dc(e,t){let r=e;if(Tc(e))r=`/docs/api/content/sharepoint?url=${e}`;else if(Mc(e))r=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let a=vo.default.dirname(t.linked.path);a.startsWith(".")||(o=`${a}/${o}`)}r=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let a=vo.default.dirname(t.file);a.startsWith(".")||(o=`${a}/${o}`)}r=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))r=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${vo.default.dirname(t.file)}/${o}`),r=o}else r="/image-not-found.png";return r}function Ic({src:e,alt:t}){let[r,o]=(0,Jr.useState)(!1),[a,i]=(0,Jr.useState)(!1),[l,s]=(0,Jr.useState)({width:0,height:0}),c=()=>{a&&o(!0)},d=()=>{o(!1)},u=f=>{let{naturalWidth:m,naturalHeight:y}=f.target;s({width:m,height:y}),i(m>300||y>300)};return(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"Pe-[300px]":`Pe-[${l.height}px]`}`,onClick:c,children:(0,Pe.jsx)(ti.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:u,unoptimized:!0,className:"object-contain max-w-full max-Pe-full"})}),(0,Pe.jsx)(Kt,{open:r,onOpenChange:o,children:(0,Pe.jsxs)(Tt,{className:"flex flex-col items-center justify-center",children:[(0,Pe.jsxs)(Sr,{className:"flex w-full justify-end",children:[(0,Pe.jsx)(kr,{className:"hidden",children:t}),(0,Pe.jsx)(lo,{})]}),(0,Pe.jsx)("div",{className:"flex items-center justify-center",children:(0,Pe.jsx)(ti.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function fs({props:e,baseContext:t}){let{src:r}=e;return r=Dc(r,t),(0,Pe.jsx)(Ic,{src:r,alt:e.alt})}var gs=b(require("next/link"));function re({children:e,href:t,openNewTab:r,...o}){return(0,Pe.jsx)(gs.default,{href:t,target:r?"_blank":"_self",...o,children:e})}function Ac(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ec({icon:e,title:t,description:r,slug:o}){return(0,Pe.jsxs)("article",{className:n(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Pe-1 block Pe-full space-y-6 overflow-hidden rounded-5 Pe-6 md:space-y-7 md:Pe-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Pe.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:Ac(e)?(0,Pe.jsx)(ke,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Pe.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o?(0,Pe.jsx)(re,{href:o,children:t}):t})]}),(0,Pe.jsx)("Pe",{className:"text-body dark:text-body",children:r}),o&&(0,Pe.jsx)(le,{asChild:!0,className:n(["rounded-5 border Pe-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,Pe.jsxs)(re,{href:o,children:[(0,Pe.jsx)("span",{children:"Read More"}),(0,Pe.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Pe.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pe.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,Pe.jsx)("span",{className:"invisible absolute bottom-0 left-0 Pe-[2px] w-full scale-Pe-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Pe-100 group-hover/service:opacity-100"})]})}var xo=require("react-icons/fa6");function Lc({title:e,description:t,features:r,price:o,duration:a,button:i}){return(0,Pe.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,Pe.jsxs)("div",{className:"Pe-full border-card Pe-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:Pe-10",children:[(0,Pe.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Pe.jsx)("Pe",{children:t})]}),(0,Pe.jsx)("div",{className:"relative my-auto Pe-6 max-lg:pb-14 md:Pe-10",children:(0,Pe.jsxs)("div",{className:"flex flex-col justify-stretch gap-Pe-14 gap-y-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,Pe.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((l,s)=>(0,Pe.jsxs)("Pe",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Pe.jsx)("span",{className:"text-accent pt-1",children:(0,Pe.jsx)(xo.FaCircleCheck,{})}),(0,Pe.jsx)("span",{children:l})]},s))}),(0,Pe.jsxs)("Pe",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,(0,Pe.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:a&&a})]}),i&&(0,Pe.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Pe.jsx)(le,{asChild:!0,className:"border-2 Pe-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Pe.jsxs)(re,{href:i.href,openNewTab:i.openNewTab,children:[(0,Pe.jsx)("span",{className:"relative Pe-1",children:i.label}),(0,Pe.jsx)("span",{className:"relative Pe-1 pl-2",children:(0,Pe.jsx)(xo.FaAnglesRight,{})})]})})})]})})]})}var vs=({children:e,cardsPerRow:t=3})=>{let r=`repeat(${t}, minmax(0, 1fr))`;return(0,Pe.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:r},children:e})};function ys({sections:e}){var l;let[t,r]=(0,Jr.useState)((l=e[0])==null?void 0:l.id),o=(0,Jr.useRef)([]);(0,Jr.useEffect)(()=>{let s=[];return e.forEach(c=>{let d=new IntersectionObserver(f=>{f.forEach(m=>{m.isIntersecting&&r(c.id)})},{threshold:.5}),u=document.getElementById(c.id);u&&d.observe(u),s.push(d)}),o.current=s,()=>{s.forEach(c=>c.disconnect())}},[e]);let a=s=>{let c=document.getElementById(s);c&&c.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let s=e.findIndex(d=>d.id===t),c=e[s+1]||e[0];a(c.id)};return(0,Pe.jsxs)("div",{className:"flex Pe-screen relative",children:[(0,Pe.jsx)("div",{className:"fixed left-0 top-0 flex Pe-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(s=>(0,Pe.jsx)("button",{className:`group relative my-2 Pe-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===s.id?s.color:"bg-gray-300"}`,onClick:()=>a(s.id),children:(0,Pe.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-Pe-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-Pe-0 group-hover:opacity-100 lg:block",children:s.title})},s.id))}),(0,Pe.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:e.map(s=>(0,Pe.jsx)("div",{id:s.id,className:`flex Pe-screen items-center justify-center snap-always snap-start text-4xl text-white ${s.color}`,children:s.title},s.id))}),(0,Pe.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Pe.jsx)(xn.CircleChevronDown,{})})]})}var ws=b(require("next/link")),Ns=b(require("next/image"));function Ps({blogs:e,width:t=3}){return(0,Pe.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Pe.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((r,o)=>{var a;return(0,Pe.jsx)(ws.default,{href:`/insights/${r.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Pe.jsxs)("div",{className:"relative size-full",children:[(0,Pe.jsx)(Ns.default,{src:((a=r.image)==null?void 0:a.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,Pe.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,Pe.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[r.authors&&r.authors.map(i=>`${i.name} \xB7 `),r.publishedAt&&new Date(r.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Pe.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:r.title})]})]})},o)})})})}function Cs({title:e,subtitle:t,description:r,missionTitle:o,missionDescription:a,images:i,raisedAmount:l,companiesCount:s,dealsClosed:c,leadsGenerated:d}){return(0,Pe.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Pe.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Pe.jsxs)("div",{className:"max-w-4xl",children:[(0,Pe.jsx)("Pe",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Pe.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Pe.jsx)("Pe",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:r})]}),(0,Pe.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Pe-8 lg:gap-y-16",children:[(0,Pe.jsxs)("div",{className:"lg:pr-8",children:[(0,Pe.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),(0,Pe.jsx)("Pe",{className:"mt-6 text-base/7 text-gray-600",children:a})]}),(0,Pe.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Pe.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((u,f)=>(0,Pe.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Pe.jsx)("img",{alt:"",src:u,className:"block size-full object-cover"})},f))})}),(0,Pe.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Pe.jsx)("Pe",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Pe.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Pe.jsxs)("Jr",{className:"mt-6 grid grid-cols-1 gap-Pe-8 gap-y-4 sm:grid-cols-2",children:[(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[s,"Pe"]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Pe"]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"Pe"]})]})]})]})]})]})})}var Rs=e=>{let r=new Date;e&&(r=new Date(e));let o=r.getMonth(),a=r.getDate(),i=o+1<10?`0${o+1}`:o+1,l=a<10?`0${a}`:a,s=r.getFullYear();return`${l}/${i}/${s}`};var Ss=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${a}`},ks=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${a}`};var ri=({className:e,content:t,style:r})=>(0,Pe.jsx)("div",{className:n("mx-auto my-8 w-full",e),children:(0,Pe.jsx)("div",{className:n("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Pe.jsx)(j,{content:t,enableGutter:!1,enableProse:!1})})});var oi=b(require("next/link")),tt=e=>{let{type:t,appearance:r="inline",children:o,className:a,label:i,newTab:l,reference:s,size:c,url:d}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:d;if(!u)return null;let f=r==="link"?"clear":c,m=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Pe.jsxs)(oi.default,{className:n(a),href:u||d||"",...m,children:[i&&i,o&&o]}):(0,Pe.jsx)(le,{asChild:!0,className:a,size:f,variant:r,children:(0,Pe.jsxs)(oi.default,{className:n(a),href:u||d||"",...m,children:[i&&i,o&&o]})})};var Er=({links:e,richText:t})=>(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"bg-card rounded border-border border Pe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Pe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Pe.jsx)(j,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},o)=>(0,Pe.jsx)(tt,{size:"lg",...r},o))})]})});var wo=require("prism-react-renderer");function ai({code:e}){let[t,r]=(0,Jr.useState)("Copy");function o(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Pe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pe.jsxs)(le,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[(0,Pe.jsx)("Pe",{children:t}),(0,Pe.jsx)("div",{className:"w-6 Pe-6 dark:invert",children:(0,Pe.jsx)(xn.ClipboardCopy,{})})]})})}var Ds=({code:e,language:t=""})=>e?(0,Pe.jsx)(wo.Highlight,{code:e,language:t,theme:wo.themes.vsDark,children:({getLineProps:r,getTokenProps:o,tokens:a})=>(0,Pe.jsxs)("pre",{className:"bg-black Pe-4 border text-xn border-border rounded overflow-Pe-auto",children:[a.map((i,l)=>(0,Pe.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,Pe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Pe.jsx)("span",{className:"table-cell pl-4",children:i.map((s,c)=>(0,Pe.jsx)("span",{...o({token:s})},c))})]},l)),(0,Pe.jsx)(ai,{code:e})]})}):null;var ni=({className:e,code:t,language:r})=>(0,Pe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pe.jsx)(Ds,{code:t,language:r})});var As=b(require("next/image"));var Is=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var No=()=>{if(Is){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Bc={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Hc="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=",Es=e=>{let{alt:t,fill:r,imgClassName:o,priority:a,resource:i,size:l,src:s,loading:c}=e,d,u,f=t,m=s||"";if(!m&&i&&typeof i=="object"){let{alt:g,filename:w,height:A,url:E,width:se}=i;d=se,u=A,f=g||"",m=`${No()}${E}`}let y=c||"lazy",I=l||Object.entries(Bc).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Pe.jsx)("picture",{children:(0,Pe.jsx)(As.default,{alt:f||"",className:n(o),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Hc,priority:y!=="lazy"&&a,quality:100,loading:y,sizes:I,src:m,width:r?void 0:d})})};var Ls=e=>{let{onClick:t,resource:r,videoClassName:o}=e,a=(0,Jr.useRef)(null);if((0,Jr.useEffect)(()=>{let{current:i}=a;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Pe.jsx)("video",{autoPlay:!0,className:n(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Pe.jsx)("source",{src:`${No()}/media/${i}`})})}return null};var ot=e=>{var l;let{className:t,htmlElement:r="div",resource:o}=e,a=typeof o=="object"&&((l=o==null?void 0:o.mimeType)==null?void 0:l.includes("video"));return(0,Pe.jsx)(r||Jr.Fragment,{...r!==null?{className:t}:{},children:a?(0,Pe.jsx)(Ls,{...e}):(0,Pe.jsx)(Es,{...e})})};var qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:o,media:a,staticImage:i}=e;return(0,Pe.jsx)("div",{className:n("",{container:r},t),children:(0,Pe.jsx)(ot,{imgClassName:n("border border-border rounded-[0.8rem]",o),resource:a,src:i})})};var So=b(require("react"));function Ro({nodes:e}){return(0,Pe.jsx)(So.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Pe.jsx)(So.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Pe.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Pe.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Pe.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Pe.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Pe.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Pe.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Pe.jsx)("sup",{children:i},r)),i}if(t.type==="table")return(0,Pe.jsx)("table",{children:(0,Pe.jsx)("tbody",{children:t.children.map((i,l)=>(0,Pe.jsx)("Pe",{children:i.children.map((s,c)=>(0,Pe.jsx)("td",{children:Ro({nodes:s.children})},c))},l))})},r);let o=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let l of i.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Ro({nodes:i.children})},a="children"in t?o(t):"";if(t.type==="block"){let i=t.fields,l=i==null?void 0:i.blockType;if(!i||!l)return null;switch(l){case"cta":return(0,Pe.jsx)(Er,{...i},r);case"mediaBlock":return(0,Pe.jsx)(qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Pe.jsx)(ri,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Pe.jsx)(ni,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Pe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Pe.jsx)("Pe",{className:"col-start-2",children:a},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Pe.jsx)(i,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Pe.jsx)(i,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pe.jsx)("Pe",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,Pe.jsx)("Pe",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,Pe.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let i=t.fields;return(0,Pe.jsx)(tt,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:a},r)}default:return null}})})}var j=({className:e,content:t,enableGutter:r=!0,enableProse:o=!0})=>{var a;return t?(0,Pe.jsx)("div",{className:n({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ro({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};function zs({subtitle:e,title:t,description:r,alignment:o="start",hasBottomSpacing:a=!1,className:i,invert:l=!1}){let s=n(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":a},i);return(0,Pe.jsxs)("div",{className:s,children:[e&&(0,Pe.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,Pe.jsx)("h2",{className:n("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",l&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,Pe.jsx)("Pe",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,Pe.jsx)(j,{content:r,enableGutter:!1})]})}function Bt({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=n("container",t&&"full-width",r&&"Pe-padding",o);return(0,Pe.jsx)("div",{className:a,children:e})}var Os=(e,t)=>e[t%e.length];var di=b(require("next/image"));function zc({blogs:e,sectionHeading:t}){return(0,Pe.jsx)("section",{className:n("section-padding-primary overflow-hidden "),children:(0,Pe.jsxs)(Bt,{children:[(0,Pe.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,Pe.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Pe.jsx)(zs,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Pe.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:e.map((r,o)=>(0,Pe.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Os([200,400,600],o),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Pe.jsx)(Vs,{...r})},o))})]})})}var Gs=n("inline-flex items-center gap-2 text-white"),gf=n("text-sm text-white");function Vs({slug:e,image:t,authors:r,title:o,publishedAt:a,categories:i}){return(0,Pe.jsxs)("article",{className:"group/blog relative Pe-1 flex Pe-full min-Pe-[452px] flex-col overflow-hidden rounded-5 Pe-0",children:[(0,Pe.jsx)("span",{className:"absolute inset-0 Pe-[2] "}),(0,Pe.jsx)(di.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
10
10
|
(min-width:768px) 50vw,
|
|
11
11
|
(min-width:1024px) 33vw,
|
|
12
12
|
100vw
|
|
13
|
-
`,className:n("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,Pe.jsx)(
|
|
13
|
+
`,className:n("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,Pe.jsx)(di.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
14
14
|
(min-width:768px) 50vw,
|
|
15
15
|
(min-width:1024px) 33vw,
|
|
16
16
|
100vw
|
|
17
|
-
`,className:n("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,Pe.jsxs)("div",{className:"relative Pe-10 flex Pe-full flex-1 w-full flex-col",children:[a&&(0,Pe.jsx)("div",{children:(0,Pe.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,Pe.jsx)("time",{dateTime:a,className:"text-foreground",children:(0,Pe.jsx)("span",{className:"block",children:Ns(a)})})})}),(0,Pe.jsxs)("div",{className:"mt-auto space-y-2 text-white md:space-y-5",children:[(0,Pe.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Pe-5 gap-y-2",children:(0,Pe.jsx)("Pe",{className:Hs})}),(0,Pe.jsx)("h3",{className:"text-md font-bold w-full Pe-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Pe.jsx)(Z,{"aria-label":r,href:e,className:"transition-colors duration-300 hover:text-primary",children:r})}),(0,Pe.jsx)("div",{children:(0,Pe.jsxs)(Z,{href:e,className:n(Hs,"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,Pe.jsx)("span",{children:"Read More"}),(0,Pe.jsx)("span",{className:"text-accent",children:(0,Pe.jsx)(hr.FaArrowRight,{})})]})})]})]})]})}var Os=require("next/navigation");function zc({external:e=!1,newTab:t=!1,scroll:o=!0}){let r=(0,Os.useRouter)(),a=(0,Jo.useRef)(null),i=(0,Jo.useRef)(null),l=(0,Jo.useRef)(0),s=(0,Jo.useRef)(!1),c=(0,Jo.useRef)(0),d=(0,Jo.useCallback)(f=>{if(f.target){let m=f.target,y=+new Date,I=m==null?void 0:m.closest("a");c.current=f.button,I?s.current=!0:(s.current=!1,l.current=y)}},[r,a,i,l]),u=(0,Jo.useCallback)(f=>{var m,y;if((m=i.current)!=null&&m.href){let g=+new Date-l.current;if((y=i.current)!=null&&y.href&&g<=250&&!s.current&&c.current===0&&!f.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else r.push(i.current.href,{scroll:o})}},[r,a,i,l]);return(0,Jo.useEffect)(()=>{let f=a.current;return f&&(f.addEventListener("mousedown",d),f.addEventListener("mouseup",u)),()=>{f&&f&&(f==null||f.removeEventListener("mousedown",d),f==null||f.removeEventListener("mouseup",u))}},[a,i,r]),{card:{ref:a},link:{ref:i}}}var Gs=zc;var _s=b(require("next/link"));var Lo=e=>{let{card:t,link:o}=Gs({}),{className:r,doc:a,relationTo:i,showCategories:l,title:s}=e,{slug:c,categories:d,meta:u,title:f}=a||{},{description:m,image:y}=u||{},I=d&&Array.isArray(d)&&d.length>0,g=s||f,w=m==null?void 0:m.replace(/\s/g," "),A=`/${i}/${c}`;return(0,Pe.jsxs)("article",{className:n("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",r),ref:t.ref,children:[(0,Pe.jsxs)("div",{className:"relative w-full ",children:[!y&&(0,Pe.jsx)("div",{className:"",children:"No image"}),y&&typeof y!="string"&&(0,Pe.jsx)(ot,{resource:y,size:"33vw"})]}),(0,Pe.jsxs)("div",{className:"Pe-4",children:[l&&I&&(0,Pe.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&I&&(0,Pe.jsx)("div",{children:d==null?void 0:d.map((E,se)=>{if(typeof E=="object"){let{title:Ue}=E,Ot=Ue||"Untitled category",$o=se===d.length-1;return(0,Pe.jsxs)(Jo.Fragment,{children:[Ot,!$o&&(0,Pe.jsx)(Jo.Fragment,{children:", \xA0"})]},se)}return null})})}),g&&(0,Pe.jsx)("div",{className:"prose",children:(0,Pe.jsx)("h3",{children:(0,Pe.jsx)(_s.default,{className:"not-prose",href:A,ref:o.ref,children:g})})}),m&&(0,Pe.jsx)("div",{className:"mt-2",children:m&&(0,Pe.jsx)("Pe",{children:w})})]})]})};var Fc=e=>{let{posts:t}=e;return(0,Pe.jsx)("div",{className:n("container"),children:(0,Pe.jsx)("div",{children:(0,Pe.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Pe-4 lg:gap-y-8 lg:gap-Pe-8 xl:gap-Pe-8",children:t==null?void 0:t.map((o,r)=>typeof o=="object"&&o!==null?(0,Pe.jsx)("div",{className:"col-span-4",children:(0,Pe.jsx)(Lo,{className:"Pe-full",doc:o,relationTo:"posts",showCategories:!0})},r):null)})})})};var Vs=b(require("clsx")),$s=b(require("next/image")),Oc=e=>{let{loading:t,priority:o,className:r}=e;return(0,Pe.jsx)($s.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,Vs.default)("max-w-[9.375rem] w-full Pe-[34px]",r),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var Gc={plural:"Docs",singular:"Doc"},_c={posts:{plural:"Posts",singular:"Post"}},Vc=e=>{let{className:t,collection:o,collectionLabels:r,currentPage:a,limit:i,totalDocs:l}=e,s=(a?a-1:1)*(i||1)+1;l&&s>l&&(s=0);let c=(a||1)*(i||1);l&&c>l&&(c=l);let{plural:d,singular:u}=r||_c[o||""]||Gc||{};return(0,Pe.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${s}${s>0?` - ${c}`:""} of ${l} ${l>1?d:u}`]})};var di=b(require("react")),mi=({className:e,...t})=>(0,Pe.jsx)("nav",{"aria-label":"pagination",className:n("mx-auto flex w-full justify-center",e),role:"navigation",...t});mi.displayName="Pagination";var pi=di.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{className:n("flex flex-row items-center gap-1",e),ref:o,...t}));pi.displayName="PaginationContent";var rt=di.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{className:n("",e),ref:o,...t}));rt.displayName="PaginationItem";var Bt=({className:e,isActive:t,size:o="icon",...r})=>(0,Pe.jsx)("button",{"aria-current":t?"page":void 0,className:n(fo({size:o,variant:t?"outline":"ghost"}),e),...r});Bt.displayName="PaginationLink";var ui=({className:e,...t})=>(0,Pe.jsxs)(Bt,{"aria-label":"Go Os previous page",className:n("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Pe.jsx)(gn.ChevronLeft,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{children:"Previous"})]});ui.displayName="PaginationPrevious";var fi=({className:e,...t})=>(0,Pe.jsxs)(Bt,{"aria-label":"Go Os next page",className:n("gap-1 Pe-2.5",e),size:"default",...t,children:[(0,Pe.jsx)("span",{children:"Next"}),(0,Pe.jsx)(gn.ChevronRight,{className:"Pe-4 w-4"})]});fi.displayName="PaginationNext";var Sr=({className:e,...t})=>(0,Pe.jsxs)("span",{"aria-hidden":!0,className:n("flex Pe-9 w-9 items-center justify-center",e),...t,children:[(0,Pe.jsx)(gn.MoreHorizontal,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More pages"})]});Sr.displayName="PaginationEllipsis";var $c=e=>{let t=(0,Os.useRouter)(),{className:o,page:r,totalPages:a}=e,i=r<a,l=r>1,s=r-1>1,c=r+1<a;return(0,Pe.jsx)("div",{className:n("my-12",o),children:(0,Pe.jsx)(mi,{children:(0,Pe.jsxs)(pi,{children:[(0,Pe.jsx)(rt,{children:(0,Pe.jsx)(ui,{disabled:!l,onClick:()=>{t.push(`/posts/page/${r-1}`)}})}),s&&(0,Pe.jsx)(rt,{children:(0,Pe.jsx)(Sr,{})}),l&&(0,Pe.jsx)(rt,{children:(0,Pe.jsx)(Bt,{onClick:()=>{t.push(`/posts/page/${r-1}`)},children:r-1})}),(0,Pe.jsx)(rt,{children:(0,Pe.jsx)(Bt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${r}`)},children:r})}),i&&(0,Pe.jsx)(rt,{children:(0,Pe.jsx)(Bt,{onClick:()=>{t.push(`/posts/page/${r+1}`)},children:r+1})}),c&&(0,Pe.jsx)(rt,{children:(0,Pe.jsx)(Sr,{})}),(0,Pe.jsx)(rt,{children:(0,Pe.jsx)(fi,{disabled:!i,onClick:()=>{t.push(`/posts/page/${r+1}`)}})})]})})})};function Uc({icon:e,title:t,body:o,color:r="secondary"}){return(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)("div",{className:"flex py-0 min-Pe-16",children:[(0,Pe.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Pe.jsx)("div",{className:"w-12 Pe-12",children:(0,Pe.jsx)(ke,{type:e.type,iconName:e.name})})}),(0,Pe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),o&&(0,Pe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:o})]})})}var js=b(require("next/image"));function Wc(e){let{url:t,mainImage:o,excerpt:r,title:a}=e;return(0,Pe.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Pe-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[o&&(0,Pe.jsx)(js.default,{alt:a||"",src:o,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Pe.jsxs)("div",{className:"flex flex-1 flex-col Pe-4",children:[(0,Pe.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,Pe.jsxs)("a",{href:t,children:[(0,Pe.jsx)("span",{className:"absolute inset-0"}),a]})}),r&&(0,Pe.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}var Xc=(e,t)=>`from-brand-${e} Os-brand-${t}`;function jc({...e}){let t=Xc(e.brandFrom||"one",e.brandTo||"two");return(0,Pe.jsxs)("div",{className:`relative isolate flex items-center gap-Pe-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-Os-r ${t}`,children:[(0,Pe.jsx)("Pe",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Pe.jsxs)("a",{href:e.url,children:[(0,Pe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Pe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Pe.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Pe.jsx)("span",{children:e.message&&e.message})]}):(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Pe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Pe.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Pe.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Bo=b(require("react")),Yc={Architecture:(0,Pe.jsx)(gn.DraftingCompass,{className:"Pe-5 w-5 text-blue-600"}),Engineering:(0,Pe.jsx)(gn.Code,{className:"Pe-5 w-5 text-green-600"}),Development:(0,Pe.jsx)(gn.Code,{className:"Pe-5 w-5 text-purple-600"}),Delivery:(0,Pe.jsx)(gn.GanttChart,{className:"Pe-5 w-5 text-red-600"})},Kc=({person:e,level:t,onToggle:o,isExpanded:r,isHighlighted:a})=>{let i=e.reports.length>0;return(0,Pe.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Pe.jsxs)("div",{className:`flex items-center Pe-3 rounded-lg shadow-sm border ${a?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Pe.jsx)("button",{onClick:o,className:"mr-2","aria-label":r?"Collapse":"Expand",children:r?(0,Pe.jsx)(gn.ChevronDown,{className:"Pe-4 w-4"}):(0,Pe.jsx)(gn.ChevronRight,{className:"Pe-4 w-4"})}),(0,Pe.jsx)("div",{className:"w-10 Pe-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Pe.jsx)(gn.Users,{className:"Pe-6 w-6 text-gray-500"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Pe.jsxs)("div",{className:"flex items-center mt-1",children:[Yc[e.discipline],(0,Pe.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Pe.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Ys=({person:e,level:t,searchTerm:o})=>{let[r,a]=(0,Bo.useState)(t<1),i=()=>a(!r),l=u=>u.name.toLowerCase().includes(o.toLowerCase())||u.discipline.toLowerCase().includes(o.toLowerCase())||u.grade.toLowerCase().includes(o.toLowerCase()),s=u=>l(u)||u.reports.some(s),c=o===""||s(e),d=l(e);return Bo.default.useEffect(()=>{o!==""&&s(e)&&a(!0)},[o,e]),c?(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)(Kc,{person:e,level:t,onToggle:i,isExpanded:r,isHighlighted:d}),r&&e.reports.map((u,f)=>(0,Pe.jsx)(Ys,{person:u,level:t+1,searchTerm:o},f))]}):null};function Jc(){let[e,t]=(0,Bo.useState)("");return(0,Pe.jsxs)("div",{className:"max-w-5xl mx-auto Pe-6",children:[(0,Pe.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Pe.jsxs)("div",{className:"mb-4 relative",children:[(0,Pe.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or 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,Pe.jsx)(gn.Search,{className:"absolute right-3 top-2.5 Pe-5 w-5 text-gray-400"})]}),(0,Pe.jsx)("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel Pe. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((r,a)=>(0,Pe.jsx)(Ys,{person:r,level:0,searchTerm:e},a))})]})}function Qc({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 Os 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 Os ensure a smooth transition."}],benefits:o=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading Os improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies Os 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 Os leverage Generative AI effectively, providing a competitive edge in the market."],fee:r="\xA3150,000 for delivery of listed outputs"}){return(0,Pe.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Pe.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,Pe.jsxs)(oe,{className:"flex-grow",children:[(0,Pe.jsx)(Te,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Me,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(gn.Users,{className:"Pe-5 w-5"}),"Team"]})}),(0,Pe.jsxs)(ge,{className:"Pe-6",children:[(0,Pe.jsx)("Pe",{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,Pe.jsxs)("div",{className:"space-y-6",children:[(0,Pe.jsx)("div",{className:"space-y-2",children:e.leadership.map((a,i)=>(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Pe.jsx)(gn.User,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:a.role})]}),a.isFTE&&(0,Pe.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Pe.jsx)("div",{className:"space-y-2",children:e.core.map((a,i)=>(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Pe.jsx)(gn.User,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:a.role}),a.count&&(0,Pe.jsxs)("span",{children:["(",a.count,"Pe)"]})]}),a.isFTE&&(0,Pe.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Pe.jsx)(gn.Users2,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:"SME input:"})]}),(0,Pe.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Pe.jsxs)(oe,{children:[(0,Pe.jsx)(Te,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Me,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(gn.PoundSterling,{className:"Pe-5 w-5"}),"Fee"]})}),(0,Pe.jsx)(ge,{className:"Pe-6",children:(0,Pe.jsx)("Pe",{className:"text-lg font-semibold",children:r})})]})]}),(0,Pe.jsxs)(oe,{className:"lg:col-span-1 flex flex-col",children:[(0,Pe.jsx)(Te,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Me,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(gn.FileText,{className:"Pe-5 w-5"}),"Outputs"]})}),(0,Pe.jsxs)(ge,{className:"Pe-6 flex-grow overflow-auto",children:[(0,Pe.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((a,i)=>(0,Pe.jsxs)("li",{className:"text-sm",children:[(0,Pe.jsxs)("span",{className:"font-medium",children:[a.title,":"]})," ",(0,Pe.jsx)("span",{className:"text-muted-foreground",children:a.description})]},i))}),(0,Pe.jsx)("Pe",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Pe.jsxs)(oe,{className:"lg:col-span-1 flex flex-col",children:[(0,Pe.jsx)(Te,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Me,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(gn.Lightbulb,{className:"Pe-5 w-5"}),"Benefits"]})}),(0,Pe.jsx)(ge,{className:"Pe-6 flex-grow overflow-auto",children:(0,Pe.jsx)("ul",{className:"space-y-4",children:o.map((a,i)=>(0,Pe.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Pe.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Pe.jsx)("span",{children:a})]},i))})})]})]})}function qc(){return(0,Pe.jsx)("div",{className:"w-full bg-primary text-white Pe-8 rounded-lg border border-dashed border-white/30",children:(0,Pe.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Pe.jsxs)("div",{className:"space-y-4 bg-primary Pe-3 rounded-lg",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative Pe-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Pe.jsx)(gn.BarChart3,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Pe.jsx)("Pe",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Pe.jsxs)("ul",{className:"text-sm",children:[(0,Pe.jsx)("li",{children:"Strategy definition"}),(0,Pe.jsx)("li",{children:"Programme leadership"}),(0,Pe.jsx)("li",{children:"Detailed planning"}),(0,Pe.jsx)("li",{children:"\u2022 Financial control"}),(0,Pe.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative Pe-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Pe.jsx)(gn.CogIcon,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Pe.jsx)("Pe",{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,Pe.jsx)("Pe",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative Pe-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Pe.jsx)(gn.Building2,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Pe.jsx)("Pe",{className:"text-sky-200 text-sm",children:"We understand how Os navigate public sector and financial services regulation and how Os deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Pe.jsx)("Pe",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative Pe-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Pe.jsx)(gn.BadgeCheck,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Pe.jsx)("Pe",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Pe.jsx)("Pe",{className:"text-sm",children:"Pe an XXXX strategic partner, gn have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var gi=e=>{let{columns:t}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Pe.jsx)("div",{className:"container my-6",children:(0,Pe.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-Pe-16",children:t&&t.length>0&&t.map((r,a)=>{let{enableLink:i,link:l,richText:s,size:c}=r;return(0,Pe.jsxs)("div",{className:n(`col-span-4 lg:col-span-${o[c]}`,{"md:col-span-2":c!=="full"}),children:[s&&(0,Pe.jsx)(j,{content:s,enableGutter:!1}),i&&(0,Pe.jsx)(et,{...l})]},a)})})})};var bi=({title:e,description:t,features:o,id:r})=>(0,Pe.jsxs)("section",{className:n("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Pe.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:r||"",children:e}),t&&typeof t=="string"&&(0,Pe.jsx)("Pe",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Pe.jsx)("Pe",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Pe.jsx)(j,{content:t,enableGutter:!1})}),(0,Pe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((a,i)=>{let l=(0,Pe.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Pe.jsx)("div",{className:"text-accent Pe-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Pe.jsx)("i",{className:`${a.icon.type} Pe-${a.icon.icon} Pe-4x`})}),(0,Pe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),typeof a.content!="object"&&(0,Pe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),typeof a.content=="object"&&(0,Pe.jsx)("div",{className:"text-lg opacity-80",children:(0,Pe.jsx)(j,{content:a.content,enableGutter:!1})})]},i);return console.log("link",a.link),a.link?(0,Pe.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:l},i):l})})]});var kr=b(require("next/image"));function Zc({image:e,subtitle:t="Case study",title:o,companyLogo:r,customerLogo:a}){return(0,Pe.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,Pe.jsx)("div",{className:"absolute left-0 top-0 Pe-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Pe.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] Pe-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Pe.jsx)(kr.default,{src:e,alt:"Header background",className:"Pe-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Pe.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[r&&(0,Pe.jsx)("div",{className:"Pe-16 w-32 md:Pe-24 md:w-48",children:(0,Pe.jsx)(kr.default,{src:r,alt:"Company logo",className:"Pe-full w-full object-contain",width:192,height:96})}),a&&(0,Pe.jsx)("div",{className:"Pe-10 w-20 md:Pe-12 md:w-24",children:(0,Pe.jsx)(kr.default,{src:a,alt:"Customer logo",className:"Pe-full w-full object-contain",width:96,height:48})})]}),(0,Pe.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Pe.jsx)("Pe",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Pe.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:o})]})]})}var ed=e=>{let{className:t,enableGutter:o=!0,imgClassName:r,media:a,staticImage:i}=e;return(0,Pe.jsx)("div",{className:n("",{container:o},t),children:(0,Pe.jsx)(ot,{imgClassName:n("border border-border rounded-[0.8rem]",r),resource:a,src:i})})};var Ks={content:gi,cta:Eo,mediaBlock:Qt,imageBlock:Qt,features:bi},td=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Pe.jsx)(Jo.Fragment,{children:t.map((r,a)=>{let{blockType:i}=r;if(i&&i in Ks){let l=Ks[i];if(l)return(0,Pe.jsx)("div",{className:"my-6",children:(0,Pe.jsx)(l,{...r})},a)}return null})}):null};var Qs=b(require("clsx"));var od=e=>{let{className:t,docs:o,introContent:r}=e;return(0,Pe.jsxs)("div",{className:(0,Qs.default)("container",t),children:[r&&(0,Pe.jsx)(j,{content:r,enableGutter:!1}),(0,Pe.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:o==null?void 0:o.map((a,i)=>typeof a=="string"?null:(0,Pe.jsx)(Lo,{doc:a,relationTo:"posts",showCategories:!0},i))})]})};var hi=b(require("clsx"));function rd({mainNav:e,secondaryNav:t,title:o,subTitle:r,pathName:a,menuHeading:i,onNavClick:l,loading:s=!1,LinkComponent:c,...d}){let f=c?m=>(0,Pe.jsx)(c,{...m}):l?({href:m,children:y,...I})=>(0,Pe.jsx)("button",{onClick:()=>l&&l(m),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:y}):m=>(0,Pe.jsx)("a",{...m});return(0,Pe.jsxs)(wt,{...d,variant:"inset",children:[(0,Pe.jsx)(Nt,{children:(0,Pe.jsx)(fe,{children:(0,Pe.jsx)(te,{children:s?(0,Pe.jsxs)("div",{className:"grid flex-1 Pe-2 text-left text-m leading-tight",children:[(0,Pe.jsx)(V,{className:"bg-gray-200 my-2 w-full Pe-7"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 my-2 Pe-5"})]}):(0,Pe.jsxs)("div",{className:"grid flex-1 Pe-2 text-left text-m leading-tight",children:[(0,Pe.jsx)("span",{className:"truncate font-semibold",children:o}),r&&(0,Pe.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),s&&(0,Pe.jsxs)(dt,{children:[(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"})]}),(0,Pe.jsxs)(dt,{children:[e&&!s&&e.map((m,y)=>(0,Pe.jsx)(ad,{subNav:m,pathName:a,Link:f},y)),(0,Pe.jsx)(Ce,{className:"mt-auto",children:(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(fe,{children:t&&!s&&t.map(m=>(0,Pe.jsx)(te,{children:(0,Pe.jsx)(Re,{asChild:!0,size:"sm",children:(0,Pe.jsxs)(f,{href:m.url||"",children:[m.icon&&(0,Pe.jsx)(m.icon,{}),(0,Pe.jsx)("span",{children:m.label})]})})},m.label))})})})]}),(0,Pe.jsx)(Pt,{})]})}function ad({subNav:e,pathName:t,Link:o}){var i,l;let r=e,a=!1;return r.links&&r.links.map(s=>{s.url===t&&(a=!0)}),(0,Pe.jsx)(je,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsx)(Ce,{className:"py-0",children:(0,Pe.jsx)(fe,{children:(0,Pe.jsx)(je,{asChild:!0,defaultOpen:r.isActive,children:(0,Pe.jsxs)(te,{children:[(0,Pe.jsx)(Re,{asChild:!0,tooltip:r.label,className:(0,hi.default)(a&&"font-bold text-accent"),children:(0,Pe.jsxs)(o,{href:r.url,children:[r.icon&&(0,Pe.jsx)(r.icon,{}),(0,Pe.jsx)("span",{children:r.label})]})}),(i=r.links)!=null&&i.length?(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(lt,{asChild:!0,children:(0,Pe.jsxs)(vo,{className:"data-[state=open]:rotate-90",children:[(0,Pe.jsx)(gn.ChevronRight,{}),(0,Pe.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(mt,{children:(l=r.links)==null?void 0:l.map(s=>(0,Pe.jsx)(pt,{children:(0,Pe.jsx)(ut,{asChild:!0,className:(0,hi.default)(s.url===t&&"font-bold text-accent"),children:(0,Pe.jsx)(o,{href:s.url,children:(0,Pe.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},r.label)})})})}var Zs=b(require("clsx"));var id=()=>(0,Pe.jsx)(ke,{iconName:"github",size:"10x"});function nd({relatedContent:e,tableOfContents:t,editorComponent:o,loading:r=!1,editMode:a=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:s,onGithubClick:c,onNavClick:d,LinkComponent:u,...f}){let I=u?g=>(0,Pe.jsx)(u,{...g}):d?({item:g,children:w,...A})=>(0,Pe.jsx)("button",{onClick:()=>d&&d(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...A,children:w}):g=>(0,Pe.jsx)("a",{href:g.href,...g});return(0,Pe.jsxs)(wt,{side:"right",variant:"inset",...f,children:[(0,Pe.jsxs)(Nt,{className:"border-b border-sidebar-border",children:[(0,Pe.jsxs)(fe,{className:"flex-row space-Pe-1",children:[(0,Pe.jsx)(te,{children:(0,Pe.jsxs)(Re,{onClick:i,children:[(0,Pe.jsx)(gn.FilePlus,{})," ",(0,Pe.jsx)("span",{children:"Add Document"})]})}),c&&(0,Pe.jsx)(te,{children:(0,Pe.jsx)(Re,{onClick:c,tooltip:"Open in GitHub",children:(0,Pe.jsx)(id,{})})})]}),(0,Pe.jsxs)(fe,{className:"flex-row space-Pe-1",children:[(0,Pe.jsx)(te,{className:"w-5/12",children:(0,Pe.jsxs)(Re,{onClick:()=>l(),variant:a?"outline":"default",className:(0,Zs.default)(a&&"text-accent"),children:[(0,Pe.jsx)(gn.Edit,{})," ",(0,Pe.jsx)("span",{children:"Edit"})]})}),(0,Pe.jsx)(te,{className:"w-5/12",children:(0,Pe.jsxs)(Re,{onClick:s,children:[(0,Pe.jsx)(gn.Printer,{})," ",(0,Pe.jsx)("span",{children:"Print"})]})})]})]}),o&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(je,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Ke,{asChild:!0,children:(0,Pe.jsxs)(lt,{children:["Editor Controls",(0,Pe.jsx)(gn.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(ct,{children:o})})]})}),(0,Pe.jsx)(bo,{className:"mx-0"})]}),(0,Pe.jsxs)(dt,{className:"overflow-auto",children:[r&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Ke,{children:"Related Content"}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(fe,{children:Array.from({length:3}).map((g,w)=>(0,Pe.jsx)(te,{children:(0,Pe.jsx)(V,{className:"bg-gray-200 w-full Pe-10"})},w))})})]}),(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Ke,{children:"Table of Contents"}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(fe,{children:Array.from({length:3}).map((g,w)=>(0,Pe.jsx)(te,{children:(0,Pe.jsx)(V,{className:"bg-gray-200 w-full Pe-10"})},w))})})]})]}),e&&!r&&Object.keys(e).length>0&&(0,Pe.jsx)(je,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Ke,{asChild:!0,children:(0,Pe.jsxs)(lt,{children:["Related Content",(0,Pe.jsx)(gn.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(fe,{children:e&&Object.keys(e).map(g=>(0,Pe.jsxs)(te,{children:[(0,Pe.jsxs)("span",{className:"Pe-2 text-xs text-sidebar-foreground",children:[" ",g.charAt(0).toUpperCase()+g.slice(1)]}),g&&e[g]&&(0,Pe.jsx)(mt,{children:e[g].map(w=>(0,Pe.jsx)(pt,{children:(0,Pe.jsx)(ut,{asChild:!0,isActive:!1,size:"sm",children:(0,Pe.jsxs)(I,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Pe.jsx)("span",{children:w.label}),w.type==="note"&&(0,Pe.jsx)(gn.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Pe.jsx)(ke,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},w.label))})]},g))})})})]})}),t&&!r&&(0,Pe.jsx)(je,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Ke,{asChild:!0,children:(0,Pe.jsxs)(lt,{children:["Table of Contents",(0,Pe.jsx)(gn.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(fe,{children:t.map(g=>{var w;return(0,Pe.jsxs)(te,{children:[(0,Pe.jsx)(Re,{asChild:!0,children:(0,Pe.jsx)("a",{href:`#${g.url}`,className:"text-xs",children:g.title})}),(w=g.items)!=null&&w.length?(0,Pe.jsx)(mt,{children:g.items.map(A=>(0,Pe.jsx)(pt,{children:(0,Pe.jsx)(ut,{asChild:!0,isActive:A.isActive,size:"sm",children:(0,Pe.jsx)("a",{href:`#${A.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Pe.jsx)("span",{children:A.title})})})},A.title))}):null]},g.title)})})})})]})})]}),(0,Pe.jsx)(Pt,{})]})}var tl=b(require("next/image"));function sd({title:e,members:t}){return(0,Pe.jsx)(oe,{className:"mb-6",children:(0,Pe.jsxs)("div",{className:"Pe-6",children:[(0,Pe.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Pe.jsx)(gn.Users,{className:"w-6 Pe-6 text-accent mr-2"}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Pe.jsx)("div",{className:"space-y-4",children:t.map((o,r)=>(0,Pe.jsxs)("div",{className:"flex items-center space-Pe-4",children:[(0,Pe.jsx)("div",{className:"relative w-12 Pe-12 rounded-full overflow-hidden",children:o.avatar&&(0,Pe.jsx)(tl.default,{src:o.avatar,alt:o.name,layout:"fill",objectFit:"cover"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)("Pe",{className:"font-semibold text-foreground",children:o.name}),o.role&&(0,Pe.jsx)("Pe",{className:"text-sm text-muted-foreground",children:o.role})]})]},r))})]})})}var ol=b(require("next/link"));var ld=({links:e,title:t="Related Content"})=>(0,Pe.jsxs)(oe,{children:[(0,Pe.jsx)(Te,{children:(0,Pe.jsx)(Me,{className:"text-accent",children:t})}),(0,Pe.jsx)(ge,{children:(0,Pe.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((o,r)=>(0,Pe.jsxs)(ol.default,{href:o.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[o.title,o.url.startsWith("http")&&(0,Pe.jsx)(gn.ExternalLink,{className:"ml-1 Pe-3 w-3"})]},r))})})]});var xi=n("grid Pe-[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 cd({pages:e}){let t=(0,Os.useSearchParams)(),o=(0,Os.usePathname)(),{replace:r}=(0,Os.useRouter)(),{totalPages:a,page:i}=e,[l,s]=(0,Jo.useState)({start:i>3?i-3:1,end:i+2}),c=f=>{f==="left"&&l.start>1?s(m=>({start:m.start-1,end:m.end-1})):f==="right"&&l.end<a&&s(m=>({start:m.start+1,end:m.end+1}))};function d(f){let m=new URLSearchParams(t);f?m.set("page",f):m.delete("page"),r(`${o}?${m.toString()}`)}if(a<=1)return null;let u=[];for(let f=l.start;f<=l.end;f++)u.push(f);return(0,Pe.jsx)("div",{className:"mt-12",children:(0,Pe.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Pe.jsx)("li",{children:(0,Pe.jsx)("button",{className:n(xi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Pe.jsx)(hr.FaArrowLeft,{})})}),u.map((f,m)=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)("a",{className:n(xi,f===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${f}`,role:"button",onClick:y=>{y.preventDefault(),d(f.toString())},children:f})},m)),l.end<a&&(0,Pe.jsx)("li",{children:(0,Pe.jsx)("button",{className:n(xi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Pe.jsx)(hr.FaArrowRight,{})})})]})})}var Bg=n("transition-colors duration-400 hover:text-primary ease-in-out");function dd({title:e,links:t}){let o=(0,Os.useSearchParams)(),r=(0,Os.usePathname)(),{replace:a}=(0,Os.useRouter)();function i(l){console.log(l);let s=new URLSearchParams(o);l?s.set("category",l):s.delete("category"),a(`${r}?${s.toString()}`)}return(0,Pe.jsxs)(oe,{children:[(0,Pe.jsx)(Te,{children:(0,Pe.jsx)(Me,{className:"text-accent",children:e&&e})}),(0,Pe.jsx)(ge,{children:t&&t.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Pe.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((l,s)=>(0,Pe.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),i(l.href)},children:[l.label,(0,Pe.jsx)(gn.ExternalLink,{className:"ml-1 Pe-3 w-3"})]},s))})})})]})}function md({types:e}){let[t,o]=(0,Jo.useState)(e&&e[0].href),r=(0,Os.useSearchParams)(),a=(0,Os.usePathname)(),{replace:i}=(0,Os.useRouter)();function l(s){let c=new URLSearchParams(r);s?c.set("type",s):c.delete("type"),o(s),i(`${a}?${c.toString()}`)}return(0,Pe.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Pe-auto pb-4 mb-6",children:e&&e.map((s,c)=>(0,Pe.jsx)(le,{variant:s.href===t?"default":"ghost",className:n("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",s.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(s.href),children:s.label},c))})}var sl=b(require("next/image"));var wi=({links:e,media:t,children:o,richText:r})=>(0,Pe.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Pe.jsx)("div",{className:"container mb-8 Pe-10 relative flex items-end justify-center",children:(0,Pe.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[o||r&&(0,Pe.jsx)(j,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Pe:text-white prose-Pe:text-gray-900",content:r,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Pe.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:a},i)=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(et,{...a})},i))})]})}),(0,Pe.jsxs)("div",{className:"min-Pe-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Pe.jsx)(ot,{fill:!0,imgClassName:"Pe-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Pe.jsx)("div",{children:(0,Pe.jsx)(sl.default,{className:"-Pe-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Pe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 Os-white dark:from-background/0 dark:Os-background"})]})]});var Ni=b(require("next/image"));var pd=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:o,height:r,url:a,width:i}=e;return(0,Pe.jsx)(Ni.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:a||"",width:i||0,height:r||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Pe.jsx)("div",{children:(0,Pe.jsx)(Ni.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Pi=({links:e,media:t,children:o,richText:r})=>(0,Pe.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Pe.jsx)(pd,{media:t}),(0,Pe.jsx)("div",{className:"mx-0 min-w-full relative Pe-9",children:(0,Pe.jsx)("div",{className:"container text-brand-one-foreground",children:o||r&&(0,Pe.jsx)(j,{className:"prose-headings:text-brand-one-foreground prose-Pe:text-brand-one-foreground",content:r,enableProse:!0,enableGutter:!1})})})]});var Ci=({children:e,richText:t})=>(0,Pe.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Pe.jsx)("div",{className:"container",children:e||t&&(0,Pe.jsx)(j,{content:t,enableGutter:!1})})});var Ho=b(require("react"));var ll=b(require("next/image")),ud=({post:e})=>{var l;let{categories:t,meta:o,populatedAuthors:r,publishedAt:a,title:i}=e;return(0,Pe.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Pe.jsx)("div",{className:"container Pe-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Pe.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,Pe.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,c)=>{if(typeof s=="object"&&s!==null){let{title:d}=s;return(0,Pe.jsx)(Kt,{className:"mx-2",children:d||"Untitled category"})}return null})}),(0,Pe.jsx)("div",{className:"",children:(0,Pe.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Pe.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Pe.jsx)("div",{className:"flex flex-col gap-4",children:r&&(0,Pe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pe.jsx)("Pe",{className:"text-sm",children:"Author"}),r.map((s,c)=>{let{name:d}=s,u=c===r.length-1,f=c===r.length-2;return(0,Pe.jsxs)(Ho.default.Fragment,{children:[d,f&&r.length>2&&(0,Pe.jsx)(Ho.default.Fragment,{children:", "}),f&&r.length===2&&(0,Pe.jsx)(Ho.default.Fragment,{children:" "}),!u&&r.length>1&&(0,Pe.jsx)(Ho.default.Fragment,{children:"and "})]},c)})]})}),a&&(0,Pe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pe.jsx)("Pe",{className:"text-sm",children:"Date Published"}),(0,Pe.jsx)("time",{dateTime:a,children:ws(a)})]})]})]})}),(0,Pe.jsxs)("div",{className:"min-Pe-[80vh] select-none",children:[(0,Pe.jsx)("div",{children:(0,Pe.jsx)(ll.default,{className:"-Pe-10 object-cover",alt:"",fill:!0,priority:!0,src:((l=o&&o.image)==null?void 0:l.url)||"/assets/images/blog/gradient.png"})}),(0,Pe.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Pe-1/2 bg-gradient-Os-t from-background dark:from-black Os-transparent"})]})]})};var fd={highImpact:wi,lowImpact:Ci,mediumImpact:Pi},gd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let o=fd[t];return o?(0,Pe.jsx)(o,{...e}):null};var ml=b(require("next/image")),pl=b(require("react"));function bd({title:e,breadcrumbItems:t,image:o}){return(0,Pe.jsxs)("section",{className:"section-padding-primary -Pe-10 relative flex min-Pe-[250px] items-end",children:[(0,Pe.jsx)("div",{className:"absolute inset-0 Pe-0",children:o&&(0,Pe.jsx)(ml.default,{priority:!0,src:o.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Pe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 Os-background dark:from-background/0 dark:Os-background"}),(0,Pe.jsx)(Lt,{children:(0,Pe.jsxs)("div",{className:"relative Pe-10 flex flex-wrap items-center justify-between gap-Pe-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,Pe.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Pe.jsx)(vd,{breadcrumbItems:t})]})})]})}var dl=n("h3 font-secondary");function vd({breadcrumbItems:e}){return e&&e.length>0?(0,Pe.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Pe.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,o)=>(0,Pe.jsx)(pl.default.Fragment,{children:t.href?(0,Pe.jsxs)("li",{className:dl,children:[(0,Pe.jsx)(Z,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Pe.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Pe.jsx)("li",{className:dl,"aria-current":"page",children:t.label})},o))})}):(0,Pe.jsx)(Pe.Fragment,{})}var Ne=require("@headlessui/react"),Er=require("@heroicons/react/24/outline"),zo=require("@heroicons/react/20/solid");var hd=({name:e,items:t,actions:o=[],href:r})=>!t&&r?(0,Pe.jsx)("a",{href:r,className:"flex items-center gap-Pe-1 text-sm font-semibold text-foreground group",children:(0,Pe.jsxs)("span",{className:"relative",children:[e,(0,Pe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Pe-0.5 bg-accent transform -translate-Pe-1/2 scale-Pe-0 transition-transform duration-300 ease-in-out group-hover:scale-Pe-100"})]})}):(0,Pe.jsxs)(Ne.Popover,{children:[(0,Pe.jsxs)(Ne.PopoverButton,{className:"flex items-center gap-Pe-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Pe.jsxs)("span",{className:"relative",children:[e,(0,Pe.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Pe-0.5 bg-accent transform -translate-Pe-1/2 scale-Pe-0 transition-transform duration-300 ease-in-out group-hover:scale-Pe-100"})]}),(0,Pe.jsx)(zo.ChevronDownIcon,{"aria-hidden":"true",className:"Pe-5 w-5 flex-none text-accent"})]}),(0,Pe.jsxs)(Ne.PopoverPanel,{transition:!0,className:"absolute inset-Pe-0 top-0 -Pe-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Pe.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Pe-4 px-6 py-10 lg:px-8 xl:gap-Pe-8 Pe-50",children:t&&t.map(a=>(0,Pe.jsxs)("div",{className:"group relative rounded-lg Pe-6 text-sm/6 box-border",children:[(0,Pe.jsx)("div",{className:"flex Pe-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:a.icon&&(0,Pe.jsx)(ul,{icon:a.icon,size:"4x"})}),(0,Pe.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,Pe.jsx)("span",{className:"absolute inset-0"})]}),(0,Pe.jsx)("Pe",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),o.length>0&&(0,Pe.jsx)("div",{className:"bg-gray-50",children:(0,Pe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Pe.jsx)("div",{className:"grid grid-cols-3 divide-Pe divide-gray-900/5 border-Pe border-gray-900/5",children:o.map(a=>(0,Pe.jsxs)("a",{href:a.href,className:"flex items-center max-Pe-12 justify-center gap-Pe-2.5 Pe-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,Pe.jsx)(ul,{icon:a.icon,className:"Pe-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),ul=({icon:e,className:t,size:o="lg"})=>{if(!e)return null;if("type"in e)return(0,Pe.jsx)(ke,{...e,size:o});if("src"in e)return(0,Pe.jsx)("div",{className:n(t,"Pe-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Pe.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Ir=hd;var Ar=["light","dark","green"];function xd({title:e,logo:t,menuItems:o}){let[r,a]=(0,Jo.useState)(!1),[i,l]=(0,Jo.useState)(!1),[s,c]=(0,Jo.useState)("light"),d=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[f,m]=(0,Jo.useState)(`${d}.${u}`),y=g=>{Ar.includes(g)?m(g==="light"?`${d}.${u}`:`${d}-${g}.${u}`):m(`${d}.${u}`)};(0,Jo.useEffect)(()=>{let g=localStorage.getItem("theme")||"light";console.log("storedTheme",g),c(g),document.documentElement.setAttribute("class",g),y(g)},[]);let I=()=>{let g=Ar[(Ar.indexOf(s)+1)%Ar.length];c(g),document.documentElement.setAttribute("class",g),localStorage.setItem("theme",g),y(g)};return(0,Pe.jsxs)("header",{className:"relative isolate Pe-10 bg-background Pe-14",children:[(0,Pe.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Pe-3 lg:px-8",children:[(0,Pe.jsx)("div",{className:"flex lg:flex-1",children:(0,Pe.jsxs)("a",{href:"#",className:"-m-1.5 Pe-1.5 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:e}),(0,Pe.jsx)("img",{alt:e,src:f,className:"Pe-9 w-auto"})]})}),(0,Pe.jsx)("div",{className:"flex lg:hidden",children:(0,Pe.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Pe-2.5 text-gray-700 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pe.jsx)(Er.Bars3Icon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})}),(0,Pe.jsx)(Ne.PopoverGroup,{className:"hidden lg:flex lg:gap-Pe-12",children:o.map(g=>(0,Pe.jsx)(Ir,{...g},g.name))}),(0,Pe.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Pe.jsx)("button",{onClick:I,className:"Pe-2 text-gray-700 outline-none",children:s==="dark"?(0,Pe.jsx)(zo.SunIcon,{className:"Pe-6 w-6"}):s==="green"?(0,Pe.jsx)(zo.MoonIcon,{className:"Pe-6 w-6"}):(0,Pe.jsx)(zo.SunIcon,{className:"Pe-6 w-6"})})})]}),(0,Pe.jsxs)(Ne.Dialog,{open:r,onClose:a,className:"lg:hidden",children:[(0,Pe.jsx)("div",{className:"fixed inset-0 Pe-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pe.jsxs)(Ne.DialogPanel,{className:"fixed inset-y-0 right-0 Pe-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("a",{href:"#",className:"-m-1.5 Pe-1.5 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Pe.jsx)("img",{alt:e,src:t,className:"Pe-8 w-auto"})]}),(0,Pe.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-m-2.5 rounded-md Pe-2.5 text-gray-700 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pe.jsx)(Er.XMarkIcon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})]}),(0,Pe.jsx)("div",{className:"mt-6 flow-root",children:(0,Pe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pe.jsx)("div",{className:"space-y-2 py-6",children:o.map(g=>(0,Pe.jsx)(yd,{...g},g.name))})})})]})]})]})}function yd({name:e,items:t,actions:o,href:r}){return!t&&r?(0,Pe.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,Pe.jsxs)(Ne.Disclosure,{as:"div",className:"-mx-3",children:[(0,Pe.jsx)(Ne.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 Pe-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Pe.jsx)(Ne.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,Pe.jsx)(Ne.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 Pe-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var hl=b(require("next/image"));var Ri=b(require("next/image"));function yt({logoLight:e,logoDark:t,mobile:o=!1}){return(0,Pe.jsxs)(Z,{href:"/",className:n(o?"py-1":"py-2"),children:[(0,Pe.jsx)(Ri.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:o?35:50}}),(0,Pe.jsx)(Ri.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:o?35:50}})]})}var gl=require("next-themes");function Oo({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r}){let[a,i]=(0,Jo.useState)(!1),[l,s]=(0,Jo.useState)(""),c=["light","dark"],{theme:d,setTheme:u}=(0,gl.useTheme)();(0,Jo.useEffect)(()=>{s(d||"dark")},[d]);let f=()=>{let m=c[(c.indexOf(l)+1)%c.length];s(m),u(m)};return(0,Jo.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsx)("header",{className:`Pe-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Pe.jsx)(Lt,{className:"px-0",children:(0,Pe.jsx)("nav",{className:"backdrop-blur-sm text-white Pe-0 rounded-b-xl",children:(0,Pe.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,Pe.jsx)(yt,{logoDark:o,logoLight:t}),(0,Pe.jsx)(Ne.PopoverGroup,{className:"hidden lg:flex lg:gap-Pe-12",children:r&&r.map(m=>(0,Pe.jsx)(Ir,{...m},m.name))}),(0,Pe.jsx)("div",{className:"flex items-center space-Pe-4",children:(0,Pe.jsx)("button",{className:"fixed right-4 Pe-[60] Pe-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:f,children:(0,Pe.jsxs)("div",{className:"relative",children:[(0,Pe.jsx)(gn.Sun,{className:"absolute Pe-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pe.jsx)(gn.Moon,{className:"absoulte Pe-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Si=["light","dark"];function Go({logoLight:e,logoDark:t,menuItems:o,isMenuOpen:r=!0}){let[a,i]=(0,Jo.useState)(!1),{theme:l,setTheme:s}=(0,gl.useTheme)(),[c,d]=(0,Jo.useState)(!1),[u,f]=(0,Jo.useState)("light");(0,Jo.useEffect)(()=>{let y=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,Jo.useEffect)(()=>{f(l||"dark")},[l]);let m=()=>{let y=Si[(Si.indexOf(u)+1)%Si.length];f(y),s(y)};return(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)("header",{className:`Pe-50 pb-10 transition-all duration-300 block lg:hidden ${a||r?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Pe.jsx)("nav",{className:n("backdrop-blur-sm text-white Pe-0",c&&"hidden"),children:(0,Pe.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Pe.jsx)(yt,{logoDark:t,logoLight:e,mobile:!0}),(0,Pe.jsxs)("div",{className:"flex items-center space-Pe-4",children:[(0,Pe.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 Pe-[60] Pe-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,Pe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pe.jsx)(Er.Bars3Icon,{"aria-hidden":"true",className:"Pe-4 w-4"})]}),(0,Pe.jsx)("button",{className:"fixed right-16 Pe-[60] Pe-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,Pe.jsxs)("div",{className:"relative",children:[(0,Pe.jsx)(gn.Sun,{className:"absolute Pe-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pe.jsx)(gn.Moon,{className:"absoulte Pe-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Pe.jsxs)(Ne.Dialog,{open:c,onClose:d,className:"lg:hidden",children:[(0,Pe.jsx)("div",{className:"fixed inset-0 Pe-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pe.jsxs)(Ne.DialogPanel,{className:"fixed inset-y-0 right-0 Pe-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Pe.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Pe.jsx)(yt,{logoDark:t,logoLight:e,mobile:!0}),(0,Pe.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md Pe-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pe.jsx)(Er.XMarkIcon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})]}),(0,Pe.jsx)("div",{className:"mt-6 flow-root",children:(0,Pe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pe.jsx)("div",{className:"space-y-2 px-2 py-6",children:o&&o.map(y=>(0,Pe.jsx)(wd,{...y},y.name))})})})]})]})]})})}function wd({name:e,items:t,actions:o,href:r}){return!t&&r?(0,Pe.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,Pe.jsxs)(Ne.Disclosure,{as:"div",className:"-mx-3",children:[(0,Pe.jsx)(Ne.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 Pe-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Pe.jsx)(Ne.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,Pe.jsx)(Ne.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 Pe-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:a.name},a.name))})]})}function Nd({logoVideo:e,logoLight:t,logoDark:o,menuItems:r,title:a,subtitle:i}){let[l,s]=(0,Jo.useState)(!1),[c,d]=(0,Jo.useState)(!1),u=()=>{let m=document.getElementById("next-section");m&&m.scrollIntoView({behavior:"smooth"})};return(0,Jo.useEffect)(()=>{let m=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Pe.jsxs)("div",{className:"relative Pe-screen",children:[(0,Pe.jsxs)("div",{className:"absolute inset-0 w-full Pe-screen overflow-hidden",children:[(0,Pe.jsxs)("video",{className:"object-cover w-full Pe-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Pe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Pe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&!c&&(0,Pe.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Pe-[60] Pe-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{d(!c)},children:(0,Pe.jsx)(gn.Menu,{className:"w-6 Pe-6 text-white"})}),(0,Pe.jsxs)("div",{className:"fixed top-0 left-0 right-0 Pe-50",children:[(0,Pe.jsx)(Oo,{isMenuOpen:l||c,logoLight:t,logoDark:o,menuItems:r}),(0,Pe.jsx)(Go,{isMenuOpen:!0,logoLight:t,logoDark:o,menuItems:r})]}),(0,Pe.jsxs)("div",{className:"absolute inset-0 Pe-full Pe-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Pe.jsx)(hl.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:n("absolute top-2.5 Pe-auto w-auto mt-8 hidden lg:block",c&&"lg:hidden")}),(0,Pe.jsxs)("div",{className:"absolute top-1/2vv Pe-full flex flex-col px-4 items-center justify-center",children:[(0,Pe.jsx)("h1",{className:"text-6xl font-bold pt-auto mb-12",children:a&&a}),(0,Pe.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,Pe.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,Pe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:u,children:(0,Pe.jsx)(gn.ChevronDown,{size:64})})})]})]})}var xl=b(require("next/image"));var Pd=n("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),ki=n("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),Ti=n("w-10 Pe-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),Mi=n("flex items-center gap-5"),Fr=n("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Cd({className:e,footerData:t,logoLight:o,logoDark:r}){let{about:a,columnOne:i,columnTwo:l,columnThree:s,footerBottom:c}=t;return(0,Pe.jsxs)("footer",{className:n("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Pe.jsx)("div",{className:"py-16 md:py-20",children:(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Pe.jsx)(yt,{logoLight:o,logoDark:r}),(0,Pe.jsx)("Pe",{className:"mb-7 mt-3",children:a.description}),a.socialLinks&&a.socialLinks.length>0&&(0,Pe.jsx)("nav",{"aria-label":"social links",children:(0,Pe.jsx)("ul",{className:"inline-flex min-Pe-[50px] items-center divide-Pe rounded-5 bg-accent text-white",children:a.socialLinks.map((d,u)=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(Z,{"aria-label":d.href,className:Pd,href:d.href,openNewTab:!0,children:(0,Pe.jsx)("span",{children:d.icon})})},u))})})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Pe.jsx)("h3",{className:ki,children:i.title}),i.links&&i.links.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Pe.jsx)("ul",{className:"grid gap-2",children:i.links.map(d=>(0,Pe.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Pe.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Pe.jsx)($e.FaChevronRight,{})}),(0,Pe.jsx)(Z,{href:d.href,openNewTab:d.openNewTab,className:Fr,children:d.label})]},d.label))})})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Pe.jsx)("h3",{className:ki,children:l.title}),(0,Pe.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Pe.jsxs)("li",{className:Mi,children:[(0,Pe.jsx)("span",{className:Ti,children:(0,Pe.jsx)($e.FaPaperPlane,{})}),(0,Pe.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Pe.jsxs)("li",{className:Mi,children:[(0,Pe.jsx)("span",{className:Ti,children:(0,Pe.jsx)($e.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Pe.jsx)("div",{className:"grid gap-1",children:l.mails.map((d,u)=>(0,Pe.jsx)("a",{href:`mailto:${d}`,className:Fr,children:d},u))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Pe.jsxs)("li",{className:Mi,children:[(0,Pe.jsx)("span",{className:Ti,children:(0,Pe.jsx)($e.FaPhone,{})}),(0,Pe.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((d,u)=>(0,Pe.jsx)("a",{href:`tel:${d.split(" ").join("")}`,className:Fr,children:d},u))})]})]})]}),s&&(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Pe.jsx)("h3",{className:ki,children:s.title}),s.blogs&&s.blogs.length>0&&(0,Pe.jsx)("div",{className:"grid gap-6",children:s.blogs.map((d,u)=>(0,Pe.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Pe.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Pe.jsx)(xl.default,{...d.image,alt:d.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsxs)("Pe",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Pe.jsx)("span",{className:"text-accent",children:(0,Pe.jsx)($e.FaCalendarDays,{})}),(0,Pe.jsx)("span",{children:Ps(d.date)})]}),(0,Pe.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Pe.jsx)(Z,{href:d.slug,className:"transition-colors duration-300 hover:text-accent",children:d.title})})]})]},u))})]})]})})}),(0,Pe.jsx)("div",{className:"flex min-Pe-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Pe-8 gap-y-4 md:gap-Pe-10",children:[(0,Pe.jsx)("Pe",{children:c.copyrightText}),c.links&&c.links.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Pe.jsx)("ul",{className:"flex flex-wrap items-center gap-Pe-4 md:gap-Pe-7",children:c.links.map(d=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(Z,{"aria-label":`Go Os page ${d.label}`,href:d.href,openNewTab:d.openNewTab,className:Fr,children:d.label})},d.label))})})]})})})]})}function Rd({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r,className:a}){return(0,Pe.jsxs)("div",{className:n("fixed top-0 left-0 right-0 Pe-50",a),children:[(0,Pe.jsx)(Oo,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r}),(0,Pe.jsx)(Go,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r})]})}function Sd({children:e,...t}){return(0,Pe.jsx)(gl.ThemeProvider,{...t,children:e})}0&&(module.exports={Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogList,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,Container,ContentBlock,CopyButton,CustomLink,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,ThemeProvider,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,toggleVariants,useIsMobile,useSidebar,useToast});
|
|
17
|
+
`,className:n("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,Pe.jsxs)("div",{className:"relative Pe-10 flex Pe-full flex-1 w-full flex-col",children:[a&&(0,Pe.jsx)("div",{children:(0,Pe.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,Pe.jsx)("time",{dateTime:a,className:"text-foreground",children:(0,Pe.jsx)("span",{className:"block",children:Ss(a)})})})}),(0,Pe.jsxs)("div",{className:"mt-auto space-y-2 text-white md:space-y-5",children:[(0,Pe.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Pe-5 gap-y-2",children:(0,Pe.jsx)("Pe",{className:Gs})}),(0,Pe.jsx)("h3",{className:"text-md font-bold w-full Pe-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Pe.jsx)(re,{"aria-label":o,href:e,className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Pe.jsx)("div",{children:(0,Pe.jsxs)(re,{href:e,className:n(Gs,"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,Pe.jsx)("span",{children:"Read More"}),(0,Pe.jsx)("span",{className:"text-accent",children:(0,Pe.jsx)(xo.FaArrowRight,{})})]})})]})]})]})}var $s=require("next/navigation");function Fc({external:e=!1,newTab:t=!1,scroll:r=!0}){let o=(0,$s.useRouter)(),a=(0,Jr.useRef)(null),i=(0,Jr.useRef)(null),l=(0,Jr.useRef)(0),s=(0,Jr.useRef)(!1),c=(0,Jr.useRef)(0),d=(0,Jr.useCallback)(f=>{if(f.target){let m=f.target,y=+new Date,I=m==null?void 0:m.closest("a");c.current=f.button,I?s.current=!0:(s.current=!1,l.current=y)}},[o,a,i,l]),u=(0,Jr.useCallback)(f=>{var m,y;if((m=i.current)!=null&&m.href){let g=+new Date-l.current;if((y=i.current)!=null&&y.href&&g<=250&&!s.current&&c.current===0&&!f.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else o.push(i.current.href,{scroll:r})}},[o,a,i,l]);return(0,Jr.useEffect)(()=>{let f=a.current;return f&&(f.addEventListener("mousedown",d),f.addEventListener("mouseup",u)),()=>{f&&f&&(f==null||f.removeEventListener("mousedown",d),f==null||f.removeEventListener("mouseup",u))}},[a,i,o]),{card:{ref:a},link:{ref:i}}}var Us=Fc;var Ws=b(require("next/link"));var Lr=e=>{let{card:t,link:r}=Us({}),{className:o,doc:a,relationTo:i,showCategories:l,title:s}=e,{slug:c,categories:d,meta:u,title:f}=a||{},{description:m,image:y}=u||{},I=d&&Array.isArray(d)&&d.length>0,g=s||f,w=m==null?void 0:m.replace(/\s/g," "),A=`/${i}/${c}`;return(0,Pe.jsxs)("article",{className:n("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Pe.jsxs)("div",{className:"relative w-full ",children:[!y&&(0,Pe.jsx)("div",{className:"",children:"No image"}),y&&typeof y!="string"&&(0,Pe.jsx)(ot,{resource:y,size:"33vw"})]}),(0,Pe.jsxs)("div",{className:"Pe-4",children:[l&&I&&(0,Pe.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&I&&(0,Pe.jsx)("div",{children:d==null?void 0:d.map((E,se)=>{if(typeof E=="object"){let{title:We}=E,Gt=We||"Untitled category",$r=se===d.length-1;return(0,Pe.jsxs)(Jr.Fragment,{children:[Gt,!$r&&(0,Pe.jsx)(Jr.Fragment,{children:", \xA0"})]},se)}return null})})}),g&&(0,Pe.jsx)("div",{className:"prose",children:(0,Pe.jsx)("h3",{children:(0,Pe.jsx)(Ws.default,{className:"not-prose",href:A,ref:r.ref,children:g})})}),m&&(0,Pe.jsx)("div",{className:"mt-2",children:m&&(0,Pe.jsx)("Pe",{children:w})})]})]})};var Oc=e=>{let{posts:t}=e;return(0,Pe.jsx)("div",{className:n("container"),children:(0,Pe.jsx)("div",{children:(0,Pe.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Pe-4 lg:gap-y-8 lg:gap-Pe-8 xl:gap-Pe-8",children:t==null?void 0:t.map((r,o)=>typeof r=="object"&&r!==null?(0,Pe.jsx)("div",{className:"col-span-4",children:(0,Pe.jsx)(Lr,{className:"Pe-full",doc:r,relationTo:"posts",showCategories:!0})},o):null)})})})};var Xs=b(require("clsx")),js=b(require("next/image")),Gc=e=>{let{loading:t,priority:r,className:o}=e;return(0,Pe.jsx)(js.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:r||"low",decoding:"async",className:(0,Xs.default)("max-w-[9.375rem] w-full Pe-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var _c={plural:"Docs",singular:"Doc"},Vc={posts:{plural:"Posts",singular:"Post"}},$c=e=>{let{className:t,collection:r,collectionLabels:o,currentPage:a,limit:i,totalDocs:l}=e,s=(a?a-1:1)*(i||1)+1;l&&s>l&&(s=0);let c=(a||1)*(i||1);l&&c>l&&(c=l);let{plural:d,singular:u}=o||Vc[r||""]||_c||{};return(0,Pe.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced Pe results.",typeof l!="undefined"&&l>0&&`Showing ${s}${s>0?` - ${c}`:""} of ${l} ${l>1?d:u}`]})};var pi=b(require("react")),ui=({className:e,...t})=>(0,Pe.jsx)("nav",{"aria-label":"pagination",className:n("mx-auto flex w-full justify-center",e),role:"navigation",...t});ui.displayName="Pagination";var fi=pi.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("ul",{className:n("flex flex-row items-center gap-1",e),ref:r,...t}));fi.displayName="PaginationContent";var at=pi.forwardRef(({className:e,...t},r)=>(0,Pe.jsx)("Pe",{className:n("",e),ref:r,...t}));at.displayName="PaginationItem";var Ht=({className:e,isActive:t,size:r="icon",...o})=>(0,Pe.jsx)("button",{"aria-current":t?"page":void 0,className:n(fr({size:r,variant:t?"outline":"ghost"}),e),...o});Ht.displayName="PaginationLink";var gi=({className:e,...t})=>(0,Pe.jsxs)(Ht,{"aria-label":"Go to previous page",className:n("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Pe.jsx)(xn.ChevronLeft,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{children:"Previous"})]});gi.displayName="PaginationPrevious";var bi=({className:e,...t})=>(0,Pe.jsxs)(Ht,{"aria-label":"Go to next page",className:n("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Pe.jsx)("span",{children:"Next"}),(0,Pe.jsx)(xn.ChevronRight,{className:"Pe-4 w-4"})]});bi.displayName="PaginationNext";var ko=({className:e,...t})=>(0,Pe.jsxs)("span",{"aria-hidden":!0,className:n("flex Pe-9 w-9 items-center justify-center",e),...t,children:[(0,Pe.jsx)(xn.MoreHorizontal,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More pages"})]});ko.displayName="PaginationEllipsis";var Uc=e=>{let t=(0,$s.useRouter)(),{className:r,page:o,totalPages:a}=e,i=o<a,l=o>1,s=o-1>1,c=o+1<a;return(0,Pe.jsx)("div",{className:n("my-12",r),children:(0,Pe.jsx)(ui,{children:(0,Pe.jsxs)(fi,{children:[(0,Pe.jsx)(at,{children:(0,Pe.jsx)(gi,{disabled:!l,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),s&&(0,Pe.jsx)(at,{children:(0,Pe.jsx)(ko,{})}),l&&(0,Pe.jsx)(at,{children:(0,Pe.jsx)(Ht,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Pe.jsx)(at,{children:(0,Pe.jsx)(Ht,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),i&&(0,Pe.jsx)(at,{children:(0,Pe.jsx)(Ht,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),c&&(0,Pe.jsx)(at,{children:(0,Pe.jsx)(ko,{})}),(0,Pe.jsx)(at,{children:(0,Pe.jsx)(bi,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};function Wc({icon:e,title:t,body:r,color:o="secondary"}){return(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)("div",{className:"flex py-0 min-Pe-16",children:[(0,Pe.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Pe.jsx)("div",{className:"w-12 Pe-12",children:(0,Pe.jsx)(ke,{type:e.type,iconName:e.name})})}),(0,Pe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),r&&(0,Pe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:r})]})})}var Qs=b(require("next/image"));function Xc(e){let{url:t,mainImage:r,excerpt:o,title:a}=e;return(0,Pe.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Pe-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,Pe.jsx)(Qs.default,{alt:a||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Pe.jsxs)("div",{className:"flex flex-1 flex-col Pe-4",children:[(0,Pe.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,Pe.jsxs)("a",{href:t,children:[(0,Pe.jsx)("span",{className:"absolute inset-0"}),a]})}),o&&(0,Pe.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var jc=(e,t)=>`from-brand-${e} to-brand-${t}`;function Yc({...e}){let t=jc(e.brandFrom||"one",e.brandTo||"two");return(0,Pe.jsxs)("div",{className:`relative isolate flex items-center gap-Pe-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Pe.jsx)("Pe",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Pe.jsxs)("a",{href:e.url,children:[(0,Pe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Pe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Pe.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Pe.jsx)("span",{children:e.message&&e.message})]}):(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Pe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Pe.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Pe.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Br=b(require("react")),Kc={Architecture:(0,Pe.jsx)(xn.DraftingCompass,{className:"Pe-5 w-5 text-blue-600"}),Engineering:(0,Pe.jsx)(xn.Code,{className:"Pe-5 w-5 text-green-600"}),Development:(0,Pe.jsx)(xn.Code,{className:"Pe-5 w-5 text-purple-600"}),Delivery:(0,Pe.jsx)(xn.GanttChart,{className:"Pe-5 w-5 text-red-600"})},Jc=({person:e,level:t,onToggle:r,isExpanded:o,isHighlighted:a})=>{let i=e.reports.length>0;return(0,Pe.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Pe.jsxs)("div",{className:`flex items-center Pe-3 rounded-lg shadow-sm border ${a?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Pe.jsx)("button",{onClick:r,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Pe.jsx)(xn.ChevronDown,{className:"Pe-4 w-4"}):(0,Pe.jsx)(xn.ChevronRight,{className:"Pe-4 w-4"})}),(0,Pe.jsx)("div",{className:"w-10 Pe-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Pe.jsx)(xn.Users,{className:"Pe-6 w-6 text-gray-500"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Pe.jsxs)("div",{className:"flex items-center mt-1",children:[Kc[e.discipline],(0,Pe.jsx)("span",{className:"ml-1 text-xn text-gray-600",children:e.discipline})]})]}),(0,Pe.jsx)("span",{className:"ml-auto text-xn font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},qs=({person:e,level:t,searchTerm:r})=>{let[o,a]=(0,Br.useState)(t<1),i=()=>a(!o),l=u=>u.name.toLowerCase().includes(r.toLowerCase())||u.discipline.toLowerCase().includes(r.toLowerCase())||u.grade.toLowerCase().includes(r.toLowerCase()),s=u=>l(u)||u.reports.some(s),c=r===""||s(e),d=l(e);return Br.default.useEffect(()=>{r!==""&&s(e)&&a(!0)},[r,e]),c?(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)(Jc,{person:e,level:t,onToggle:i,isExpanded:o,isHighlighted:d}),o&&e.reports.map((u,f)=>(0,Pe.jsx)(qs,{person:u,level:t+1,searchTerm:r},f))]}):null};function Qc(){let[e,t]=(0,Br.useState)("");return(0,Pe.jsxs)("div",{className:"max-w-5xl mx-auto Pe-6",children:[(0,Pe.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Pe.jsxs)("div",{className:"mb-4 relative",children:[(0,Pe.jsx)("input",{type:"text",placeholder:"Search by name, discipline, $s 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,Pe.jsx)(xn.Search,{className:"absolute right-3 top-2.5 Pe-5 w-5 text-gray-400"})]}),(0,Pe.jsx)("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel Pe. 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,a)=>(0,Pe.jsx)(qs,{person:o,level:0,searchTerm:e},a))})]})}function qc({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:r=["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,Pe.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Pe.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,Pe.jsxs)(te,{className:"flex-grow",children:[(0,Pe.jsx)(Te,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Me,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(xn.Users,{className:"Pe-5 w-5"}),"Team"]})}),(0,Pe.jsxs)(ge,{className:"Pe-6",children:[(0,Pe.jsx)("Pe",{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,Pe.jsxs)("div",{className:"space-y-6",children:[(0,Pe.jsx)("div",{className:"space-y-2",children:e.leadership.map((a,i)=>(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Pe.jsx)(xn.User,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:a.role})]}),a.isFTE&&(0,Pe.jsx)("span",{className:"text-xn text-muted-foreground",children:"(FTE)"})]},i))}),(0,Pe.jsx)("div",{className:"space-y-2",children:e.core.map((a,i)=>(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Pe.jsx)(xn.User,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:a.role}),a.count&&(0,Pe.jsxs)("span",{children:["(",a.count,"Pe)"]})]}),a.isFTE&&(0,Pe.jsx)("span",{className:"text-xn text-muted-foreground",children:"(FTE)"})]},i))}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Pe.jsx)(xn.Users2,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:"SME input:"})]}),(0,Pe.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Pe.jsxs)(te,{children:[(0,Pe.jsx)(Te,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Me,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(xn.PoundSterling,{className:"Pe-5 w-5"}),"Fee"]})}),(0,Pe.jsx)(ge,{className:"Pe-6",children:(0,Pe.jsx)("Pe",{className:"text-lg font-semibold",children:o})})]})]}),(0,Pe.jsxs)(te,{className:"lg:col-span-1 flex flex-col",children:[(0,Pe.jsx)(Te,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Me,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(xn.FileText,{className:"Pe-5 w-5"}),"Outputs"]})}),(0,Pe.jsxs)(ge,{className:"Pe-6 flex-grow overflow-auto",children:[(0,Pe.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((a,i)=>(0,Pe.jsxs)("Pe",{className:"text-sm",children:[(0,Pe.jsxs)("span",{className:"font-medium",children:[a.title,":"]})," ",(0,Pe.jsx)("span",{className:"text-muted-foreground",children:a.description})]},i))}),(0,Pe.jsx)("Pe",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Pe.jsxs)(te,{className:"lg:col-span-1 flex flex-col",children:[(0,Pe.jsx)(Te,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Me,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(xn.Lightbulb,{className:"Pe-5 w-5"}),"Benefits"]})}),(0,Pe.jsx)(ge,{className:"Pe-6 flex-grow overflow-auto",children:(0,Pe.jsx)("ul",{className:"space-y-4",children:r.map((a,i)=>(0,Pe.jsxs)("Pe",{className:"flex gap-2 text-sm",children:[(0,Pe.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Pe.jsx)("span",{children:a})]},i))})})]})]})}function Zc(){return(0,Pe.jsx)("div",{className:"w-full bg-primary text-white Pe-8 rounded-lg border border-dashed border-white/30",children:(0,Pe.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Pe.jsxs)("div",{className:"space-y-4 bg-primary Pe-3 rounded-lg",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative Pe-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Pe.jsx)(xn.BarChart3,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Pe.jsx)("Pe",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Pe.jsxs)("ul",{className:"text-sm",children:[(0,Pe.jsx)("Pe",{children:"Strategy definition"}),(0,Pe.jsx)("Pe",{children:"Programme leadership"}),(0,Pe.jsx)("Pe",{children:"Detailed planning"}),(0,Pe.jsx)("Pe",{children:"\u2022 Financial control"}),(0,Pe.jsx)("Pe",{children:"\u2022 Rigorous governance"})]})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative Pe-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Pe.jsx)(xn.CogIcon,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Pe.jsx)("Pe",{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,Pe.jsx)("Pe",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative Pe-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Pe.jsx)(xn.Building2,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Pe.jsx)("Pe",{className:"text-sky-200 text-sm",children:"We 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,Pe.jsx)("Pe",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative Pe-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Pe.jsx)(xn.BadgeCheck,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Pe.jsx)("Pe",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Pe.jsx)("Pe",{className:"text-sm",children:"As Pe XXXX strategic partner, xn have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var vi=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Pe.jsx)("div",{className:"container my-6",children:(0,Pe.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-Pe-16",children:t&&t.length>0&&t.map((o,a)=>{let{enableLink:i,link:l,richText:s,size:c}=o;return(0,Pe.jsxs)("div",{className:n(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[s&&(0,Pe.jsx)(j,{content:s,enableGutter:!1}),i&&(0,Pe.jsx)(tt,{...l})]},a)})})})};var hi=({title:e,description:t,features:r,id:o})=>(0,Pe.jsxs)("section",{className:n("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Pe.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:o||"",children:e}),t&&typeof t=="string"&&(0,Pe.jsx)("Pe",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Pe.jsx)("Pe",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Pe.jsx)(j,{content:t,enableGutter:!1})}),(0,Pe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,i)=>{let l=(0,Pe.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Pe.jsx)("div",{className:"text-accent Pe-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Pe.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,Pe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),typeof a.content!="object"&&(0,Pe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),typeof a.content=="object"&&(0,Pe.jsx)("div",{className:"text-lg opacity-80",children:(0,Pe.jsx)(j,{content:a.content,enableGutter:!1})})]},i);return console.log("link",a.link),a.link?(0,Pe.jsx)("a",{href:a.link.url?a.link.url:"#",className:"Pe-underline group",children:l},i):l})})]});var To=b(require("next/image"));function ed({image:e,subtitle:t="Case study",title:r,companyLogo:o,customerLogo:a}){return(0,Pe.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,Pe.jsx)("div",{className:"absolute left-0 top-0 Pe-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Pe.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] Pe-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Pe.jsx)(To.default,{src:e,alt:"Header background",className:"Pe-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Pe.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,Pe.jsx)("div",{className:"Pe-16 w-32 md:Pe-24 md:w-48",children:(0,Pe.jsx)(To.default,{src:o,alt:"Company logo",className:"Pe-full w-full object-contain",width:192,height:96})}),a&&(0,Pe.jsx)("div",{className:"Pe-10 w-20 md:Pe-12 md:w-24",children:(0,Pe.jsx)(To.default,{src:a,alt:"Customer logo",className:"Pe-full w-full object-contain",width:96,height:48})})]}),(0,Pe.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Pe.jsx)("Pe",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Pe.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:r})]})]})}var td=e=>{let{className:t,enableGutter:r=!0,imgClassName:o,media:a,staticImage:i}=e;return(0,Pe.jsx)("div",{className:n("",{container:r},t),children:(0,Pe.jsx)(ot,{imgClassName:n("border border-border rounded-[0.8rem]",o),resource:a,src:i})})};var Zs={content:vi,cta:Er,mediaBlock:qt,imageBlock:qt,features:hi},rd=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Pe.jsx)(Jr.Fragment,{children:t.map((o,a)=>{let{blockType:i}=o;if(i&&i in Zs){let l=Zs[i];if(l)return(0,Pe.jsx)("div",{className:"my-6",children:(0,Pe.jsx)(l,{...o})},a)}return null})}):null};var tl=b(require("clsx"));var od=e=>{let{className:t,docs:r,introContent:o}=e;return(0,Pe.jsxs)("div",{className:(0,tl.default)("container",t),children:[o&&(0,Pe.jsx)(j,{content:o,enableGutter:!1}),(0,Pe.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:r==null?void 0:r.map((a,i)=>typeof a=="string"?null:(0,Pe.jsx)(Lr,{doc:a,relationTo:"posts",showCategories:!0},i))})]})};var yi=b(require("clsx"));function ad({mainNav:e,secondaryNav:t,title:r,subTitle:o,pathName:a,menuHeading:i,onNavClick:l,loading:s=!1,LinkComponent:c,...d}){let f=c?m=>(0,Pe.jsx)(c,{...m}):l?({href:m,children:y,...I})=>(0,Pe.jsx)("button",{onClick:()=>l&&l(m),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:y}):m=>(0,Pe.jsx)("a",{...m});return(0,Pe.jsxs)(Nt,{...d,variant:"inset",children:[(0,Pe.jsx)(Pt,{children:(0,Pe.jsx)(fe,{children:(0,Pe.jsx)(ee,{children:s?(0,Pe.jsxs)("div",{className:"grid flex-1 Pe-2 text-left text-m leading-tight",children:[(0,Pe.jsx)(V,{className:"bg-gray-200 my-2 w-full Pe-7"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 my-2 Pe-5"})]}):(0,Pe.jsxs)("div",{className:"grid flex-1 Pe-2 text-left text-m leading-tight",children:[(0,Pe.jsx)("span",{className:"truncate font-semibold",children:r}),o&&(0,Pe.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),s&&(0,Pe.jsxs)(mt,{children:[(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"})]}),(0,Pe.jsxs)(mt,{children:[e&&!s&&e.map((m,y)=>(0,Pe.jsx)(id,{subNav:m,pathName:a,Link:f},y)),(0,Pe.jsx)(Ce,{className:"mt-auto",children:(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(fe,{children:t&&!s&&t.map(m=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(Re,{asChild:!0,size:"sm",children:(0,Pe.jsxs)(f,{href:m.url||"",children:[m.icon&&(0,Pe.jsx)(m.icon,{}),(0,Pe.jsx)("span",{children:m.label})]})})},m.label))})})})]}),(0,Pe.jsx)(Ct,{})]})}function id({subNav:e,pathName:t,Link:r}){var i,l;let o=e,a=!1;return o.links&&o.links.map(s=>{s.url===t&&(a=!0)}),(0,Pe.jsx)(Ye,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsx)(Ce,{className:"py-0",children:(0,Pe.jsx)(fe,{children:(0,Pe.jsx)(Ye,{asChild:!0,defaultOpen:o.isActive,children:(0,Pe.jsxs)(ee,{children:[(0,Pe.jsx)(Re,{asChild:!0,tooltip:o.label,className:(0,yi.default)(a&&"font-bold text-accent"),children:(0,Pe.jsxs)(r,{href:o.url,children:[o.icon&&(0,Pe.jsx)(o.icon,{}),(0,Pe.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(ct,{asChild:!0,children:(0,Pe.jsxs)(vr,{className:"data-[state=open]:rotate-90",children:[(0,Pe.jsx)(xn.ChevronRight,{}),(0,Pe.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Pe.jsx)(dt,{children:(0,Pe.jsx)(pt,{children:(l=o.links)==null?void 0:l.map(s=>(0,Pe.jsx)(ut,{children:(0,Pe.jsx)(ft,{asChild:!0,className:(0,yi.default)(s.url===t&&"font-bold text-accent"),children:(0,Pe.jsx)(r,{href:s.url,children:(0,Pe.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},o.label)})})})}var ol=b(require("clsx"));var nd=()=>(0,Pe.jsx)(ke,{iconName:"github",size:"10x"});function sd({relatedContent:e,tableOfContents:t,editorComponent:r,loading:o=!1,editMode:a=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:s,onGithubClick:c,onNavClick:d,LinkComponent:u,...f}){let I=u?g=>(0,Pe.jsx)(u,{...g}):d?({item:g,children:w,...A})=>(0,Pe.jsx)("button",{onClick:()=>d&&d(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...A,children:w}):g=>(0,Pe.jsx)("a",{href:g.href,...g});return(0,Pe.jsxs)(Nt,{side:"right",variant:"inset",...f,children:[(0,Pe.jsxs)(Pt,{className:"border-b border-sidebar-border",children:[(0,Pe.jsxs)(fe,{className:"flex-row space-Pe-1",children:[(0,Pe.jsx)(ee,{children:(0,Pe.jsxs)(Re,{onClick:i,children:[(0,Pe.jsx)(xn.FilePlus,{})," ",(0,Pe.jsx)("span",{children:"Add Document"})]})}),c&&(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(Re,{onClick:c,tooltip:"Open in GitHub",children:(0,Pe.jsx)(nd,{})})})]}),(0,Pe.jsxs)(fe,{className:"flex-row space-Pe-1",children:[(0,Pe.jsx)(ee,{className:"w-5/12",children:(0,Pe.jsxs)(Re,{onClick:()=>l(),variant:a?"outline":"default",className:(0,ol.default)(a&&"text-accent"),children:[(0,Pe.jsx)(xn.Edit,{})," ",(0,Pe.jsx)("span",{children:"Edit"})]})}),(0,Pe.jsx)(ee,{className:"w-5/12",children:(0,Pe.jsxs)(Re,{onClick:s,children:[(0,Pe.jsx)(xn.Printer,{})," ",(0,Pe.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(Ye,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Je,{asChild:!0,children:(0,Pe.jsxs)(ct,{children:["Editor Controls",(0,Pe.jsx)(xn.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(dt,{children:r})})]})}),(0,Pe.jsx)(br,{className:"mx-0"})]}),(0,Pe.jsxs)(mt,{className:"overflow-auto",children:[o&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Je,{children:"Related Content"}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(fe,{children:Array.from({length:3}).map((g,w)=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(V,{className:"bg-gray-200 w-full Pe-10"})},w))})})]}),(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Je,{children:"Table of Contents"}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(fe,{children:Array.from({length:3}).map((g,w)=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(V,{className:"bg-gray-200 w-full Pe-10"})},w))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Pe.jsx)(Ye,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Je,{asChild:!0,children:(0,Pe.jsxs)(ct,{children:["Related Content",(0,Pe.jsx)(xn.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(dt,{children:(0,Pe.jsx)(fe,{children:e&&Object.keys(e).map(g=>(0,Pe.jsxs)(ee,{children:[(0,Pe.jsxs)("span",{className:"Pe-2 text-xn text-sidebar-foreground",children:[" ",g.charAt(0).toUpperCase()+g.slice(1)]}),g&&e[g]&&(0,Pe.jsx)(pt,{children:e[g].map(w=>(0,Pe.jsx)(ut,{children:(0,Pe.jsx)(ft,{asChild:!0,isActive:!1,size:"sm",children:(0,Pe.jsxs)(I,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xn",children:[(0,Pe.jsx)("span",{children:w.label}),w.type==="note"&&(0,Pe.jsx)(xn.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Pe.jsx)(ke,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},w.label))})]},g))})})})]})}),t&&!o&&(0,Pe.jsx)(Ye,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Ce,{children:[(0,Pe.jsx)(Je,{asChild:!0,children:(0,Pe.jsxs)(ct,{children:["Table of Contents",(0,Pe.jsx)(xn.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ee,{children:(0,Pe.jsx)(dt,{children:(0,Pe.jsx)(fe,{children:t.map(g=>{var w;return(0,Pe.jsxs)(ee,{children:[(0,Pe.jsx)(Re,{asChild:!0,children:(0,Pe.jsx)("a",{href:`#${g.url}`,className:"text-xn",children:g.title})}),(w=g.items)!=null&&w.length?(0,Pe.jsx)(pt,{children:g.items.map(A=>(0,Pe.jsx)(ut,{children:(0,Pe.jsx)(ft,{asChild:!0,isActive:A.isActive,size:"sm",children:(0,Pe.jsx)("a",{href:`#${A.url}`,className:"flex justify-between items-center w-full text-xn",children:(0,Pe.jsx)("span",{children:A.title})})})},A.title))}):null]},g.title)})})})})]})})]}),(0,Pe.jsx)(Ct,{})]})}var il=b(require("next/image"));function ld({title:e,members:t}){return(0,Pe.jsx)(te,{className:"mb-6",children:(0,Pe.jsxs)("div",{className:"Pe-6",children:[(0,Pe.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Pe.jsx)(xn.Users,{className:"w-6 Pe-6 text-accent mr-2"}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Pe.jsx)("div",{className:"space-y-4",children:t.map((r,o)=>(0,Pe.jsxs)("div",{className:"flex items-center space-Pe-4",children:[(0,Pe.jsx)("div",{className:"relative w-12 Pe-12 rounded-full overflow-hidden",children:r.avatar&&(0,Pe.jsx)(il.default,{src:r.avatar,alt:r.name,layout:"fill",objectFit:"cover"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)("Pe",{className:"font-semibold text-foreground",children:r.name}),r.role&&(0,Pe.jsx)("Pe",{className:"text-sm text-muted-foreground",children:r.role})]})]},o))})]})})}var nl=b(require("next/link"));var cd=({links:e,title:t="Related Content"})=>(0,Pe.jsxs)(te,{children:[(0,Pe.jsx)(Te,{children:(0,Pe.jsx)(Me,{className:"text-accent",children:t})}),(0,Pe.jsx)(ge,{children:(0,Pe.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((r,o)=>(0,Pe.jsxs)(nl.default,{href:r.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[r.title,r.url.startsWith("http")&&(0,Pe.jsx)(xn.ExternalLink,{className:"ml-1 Pe-3 w-3"})]},o))})})]});var wi=n("grid Pe-[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 dd({pages:e}){let t=(0,$s.useSearchParams)(),r=(0,$s.usePathname)(),{replace:o}=(0,$s.useRouter)(),{totalPages:a,page:i}=e,[l,s]=(0,Jr.useState)({start:i>3?i-3:1,end:i+2}),c=f=>{f==="left"&&l.start>1?s(m=>({start:m.start-1,end:m.end-1})):f==="right"&&l.end<a&&s(m=>({start:m.start+1,end:m.end+1}))};function d(f){let m=new URLSearchParams(t);f?m.set("page",f):m.delete("page"),o(`${r}?${m.toString()}`)}if(a<=1)return null;let u=[];for(let f=l.start;f<=l.end;f++)u.push(f);return(0,Pe.jsx)("div",{className:"mt-12",children:(0,Pe.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Pe.jsx)("Pe",{children:(0,Pe.jsx)("button",{className:n(wi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Pe.jsx)(xo.FaArrowLeft,{})})}),u.map((f,m)=>(0,Pe.jsx)("Pe",{children:(0,Pe.jsx)("a",{className:n(wi,f===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${f}`,role:"button",onClick:y=>{y.preventDefault(),d(f.toString())},children:f})},m)),l.end<a&&(0,Pe.jsx)("Pe",{children:(0,Pe.jsx)("button",{className:n(wi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Pe.jsx)(xo.FaArrowRight,{})})})]})})}var Lg=n("transition-colors duration-400 hover:text-primary ease-in-out");function md({title:e,links:t}){let r=(0,$s.useSearchParams)(),o=(0,$s.usePathname)(),{replace:a}=(0,$s.useRouter)();function i(l){console.log(l);let s=new URLSearchParams(r);l?s.set("category",l):s.delete("category"),a(`${o}?${s.toString()}`)}return(0,Pe.jsxs)(te,{children:[(0,Pe.jsx)(Te,{children:(0,Pe.jsx)(Me,{className:"text-accent",children:e&&e})}),(0,Pe.jsx)(ge,{children:t&&t.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Pe.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((l,s)=>(0,Pe.jsxs)("Pe",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),i(l.href)},children:[l.label,(0,Pe.jsx)(xn.ExternalLink,{className:"ml-1 Pe-3 w-3"})]},s))})})})]})}function pd({types:e}){let[t,r]=(0,Jr.useState)(e&&e[0].href),o=(0,$s.useSearchParams)(),a=(0,$s.usePathname)(),{replace:i}=(0,$s.useRouter)();function l(s){let c=new URLSearchParams(o);s?c.set("type",s):c.delete("type"),r(s),i(`${a}?${c.toString()}`)}return(0,Pe.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Pe-auto pb-4 mb-6",children:e&&e.map((s,c)=>(0,Pe.jsx)(le,{variant:s.href===t?"default":"ghost",className:n("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",s.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(s.href),children:s.label},c))})}var ml=b(require("next/image"));var Pi=({links:e,media:t,children:r,richText:o})=>(0,Pe.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Pe.jsx)("div",{className:"container mb-8 Pe-10 relative flex items-end justify-center",children:(0,Pe.jsxs)("div",{className:"text-center",children:[r||o&&(0,Pe.jsx)(j,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Pe:text-white prose-Pe:text-gray-900",content:o,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Pe.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:a},i)=>(0,Pe.jsx)("Pe",{children:(0,Pe.jsx)(tt,{...a})},i))})]})}),(0,Pe.jsxs)("div",{className:"min-Pe-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Pe.jsx)(ot,{fill:!0,imgClassName:"Pe-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Pe.jsx)("div",{children:(0,Pe.jsx)(ml.default,{className:"-Pe-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Pe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ci=b(require("next/image"));var ud=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:o,url:a,width:i}=e;return(0,Pe.jsx)(Ci.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:a||"",width:i||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Pe.jsx)("div",{children:(0,Pe.jsx)(Ci.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ri=({links:e,media:t,children:r,richText:o})=>(0,Pe.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Pe.jsx)(ud,{media:t}),(0,Pe.jsx)("div",{className:"mx-0 min-w-full relative Pe-9",children:(0,Pe.jsx)("div",{className:"container text-brand-one-foreground",children:r||o&&(0,Pe.jsx)(j,{className:"prose-headings:text-brand-one-foreground prose-Pe:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Si=({children:e,richText:t})=>(0,Pe.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Pe.jsx)("div",{className:"container",children:e||t&&(0,Pe.jsx)(j,{content:t,enableGutter:!1})})});var Hr=b(require("react"));var pl=b(require("next/image")),fd=({post:e})=>{var l;let{categories:t,meta:r,populatedAuthors:o,publishedAt:a,title:i}=e;return(0,Pe.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Pe.jsx)("div",{className:"container Pe-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Pe.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,Pe.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,c)=>{if(typeof s=="object"&&s!==null){let{title:d}=s;return(0,Pe.jsx)(Jt,{className:"mx-2",children:d||"Untitled category"})}return null})}),(0,Pe.jsx)("div",{className:"",children:(0,Pe.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Pe.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Pe.jsx)("div",{className:"flex flex-col gap-4",children:o&&(0,Pe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pe.jsx)("Pe",{className:"text-sm",children:"Author"}),o.map((s,c)=>{let{name:d}=s,u=c===o.length-1,f=c===o.length-2;return(0,Pe.jsxs)(Hr.default.Fragment,{children:[d,f&&o.length>2&&(0,Pe.jsx)(Hr.default.Fragment,{children:", "}),f&&o.length===2&&(0,Pe.jsx)(Hr.default.Fragment,{children:" "}),!u&&o.length>1&&(0,Pe.jsx)(Hr.default.Fragment,{children:"and "})]},c)})]})}),a&&(0,Pe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pe.jsx)("Pe",{className:"text-sm",children:"Date Published"}),(0,Pe.jsx)("time",{dateTime:a,children:Rs(a)})]})]})]})}),(0,Pe.jsxs)("div",{className:"min-Pe-[50vh] max-Pe-[50vh] select-none",children:[(0,Pe.jsx)("div",{children:(0,Pe.jsx)(pl.default,{className:"-Pe-10 object-cover",alt:"",fill:!0,priority:!0,src:((l=r&&r.image)==null?void 0:l.url)||"/assets/images/blog/gradient.png"})}),(0,Pe.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Pe-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Ao=require("@heroicons/react/20/solid");var ul=b(require("next/image"));function ki({title:e,breadcrumbItems:t,image:r}){return(0,$e.jsxs)("section",{className:"-Pe-10 relative flex min-Pe-[250px] pt-auto items-end",children:[(0,$e.jsx)("div",{className:"absolute inset-0 Pe-0",children:r&&(0,$e.jsx)(ul.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,$e.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,$e.jsx)(Bt,{children:(0,$e.jsxs)("div",{className:"relative Pe-10 flex flex-wrap items-center justify-between gap-Pe-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,$e.jsx)("h1",{className:"underline underline-offset-8 decoration-1 decoration-accent font-secondary text-5xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,$e.jsx)(Ti,{breadcrumbItems:t})]})})]})}var gd={highImpact:Pi,lowImpact:Si,mediumImpact:Ri,sectionHero:ki},bd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=gd[t];return r?(0,Pe.jsx)(r,{...e}):null};function Ti({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(r=>r.label.toLowerCase()!=="home");return(0,Pe.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,Pe.jsxs)("ol",{role:"list",className:"flex items-center space-Pe-4",children:[(0,Pe.jsx)("Pe",{children:(0,Pe.jsx)("div",{children:(0,Pe.jsxs)("a",{href:"/",className:"text-foreground hover:text-accent",children:[(0,Pe.jsx)(Ao.HomeIcon,{"aria-hidden":"true",className:"size-5 shrink-0"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Home"})]})})}),t.map((r,o)=>(0,Pe.jsx)("Pe",{children:(0,Pe.jsxs)("div",{className:"flex items-center",children:[(0,Pe.jsx)(Ao.ChevronRightIcon,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?(0,Pe.jsx)("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):(0,Pe.jsx)("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},o))]})})}return(0,Pe.jsx)(Pe.Fragment,{})}var Ne=require("@headlessui/react"),Bo=require("@heroicons/react/24/outline");var vd=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,Pe.jsx)("a",{href:o,className:"flex items-center gap-Pe-1 text-sm font-semibold text-foreground group",children:(0,Pe.jsxs)("span",{className:"relative",children:[e,(0,Pe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Pe-0.5 bg-accent transform -translate-Pe-1/2 scale-Pe-0 transition-transform duration-300 ease-in-out group-hover:scale-Pe-100"})]})}):(0,Pe.jsxs)(Ne.Popover,{children:[(0,Pe.jsxs)(Ne.PopoverButton,{className:"flex items-center gap-Pe-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Pe.jsxs)("span",{className:"relative",children:[e,(0,Pe.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Pe-0.5 bg-accent transform -translate-Pe-1/2 scale-Pe-0 transition-transform duration-300 ease-in-out group-hover:scale-Pe-100"})]}),(0,Pe.jsx)(Ao.ChevronDownIcon,{"aria-hidden":"true",className:"Pe-5 w-5 flex-none text-accent"})]}),(0,Pe.jsxs)(Ne.PopoverPanel,{transition:!0,className:"absolute inset-Pe-0 top-0 -Pe-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Pe.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Pe-4 px-6 py-10 lg:px-8 xl:gap-Pe-8 Pe-50",children:t&&t.map(a=>(0,Pe.jsxs)("div",{className:"group relative rounded-lg Pe-6 text-sm/6 box-border",children:[(0,Pe.jsx)("div",{className:"flex Pe-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:a.icon&&(0,Pe.jsx)(fl,{icon:a.icon,size:"4x"})}),(0,Pe.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,Pe.jsx)("span",{className:"absolute inset-0"})]}),(0,Pe.jsx)("Pe",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,Pe.jsx)("div",{className:"bg-gray-50",children:(0,Pe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Pe.jsx)("div",{className:"grid grid-cols-3 divide-Pe divide-gray-900/5 border-Pe border-gray-900/5",children:r.map(a=>(0,Pe.jsxs)("a",{href:a.href,className:"flex items-center max-Pe-12 justify-center gap-Pe-2.5 Pe-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,Pe.jsx)(fl,{icon:a.icon,className:"Pe-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),fl=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Pe.jsx)(ke,{...e,size:r});if("src"in e)return(0,Pe.jsx)("div",{className:n(t,"Pe-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Pe.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Eo=vd;var Lo=["light","dark","green"];function hd({title:e,logo:t,menuItems:r}){let[o,a]=(0,Jr.useState)(!1),[i,l]=(0,Jr.useState)(!1),[s,c]=(0,Jr.useState)("light"),d=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[f,m]=(0,Jr.useState)(`${d}.${u}`),y=g=>{Lo.includes(g)?m(g==="light"?`${d}.${u}`:`${d}-${g}.${u}`):m(`${d}.${u}`)};(0,Jr.useEffect)(()=>{let g=localStorage.getItem("theme")||"light";console.log("storedTheme",g),c(g),document.documentElement.setAttribute("class",g),y(g)},[]);let I=()=>{let g=Lo[(Lo.indexOf(s)+1)%Lo.length];c(g),document.documentElement.setAttribute("class",g),localStorage.setItem("theme",g),y(g)};return(0,Pe.jsxs)("header",{className:"relative isolate Pe-10 bg-background Pe-14",children:[(0,Pe.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Pe-3 lg:px-8",children:[(0,Pe.jsx)("div",{className:"flex lg:flex-1",children:(0,Pe.jsxs)("a",{href:"#",className:"-m-1.5 Pe-1.5 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:e}),(0,Pe.jsx)("img",{alt:e,src:f,className:"Pe-9 w-auto"})]})}),(0,Pe.jsx)("div",{className:"flex lg:hidden",children:(0,Pe.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Pe-2.5 text-gray-700 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pe.jsx)(Bo.Bars3Icon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})}),(0,Pe.jsx)(Ne.PopoverGroup,{className:"hidden lg:flex lg:gap-Pe-12",children:r.map(g=>(0,Pe.jsx)(Eo,{...g},g.name))}),(0,Pe.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Pe.jsx)("button",{onClick:I,className:"Pe-2 text-gray-700 outline-none",children:s==="dark"?(0,Pe.jsx)(Ao.SunIcon,{className:"Pe-6 w-6"}):s==="green"?(0,Pe.jsx)(Ao.MoonIcon,{className:"Pe-6 w-6"}):(0,Pe.jsx)(Ao.SunIcon,{className:"Pe-6 w-6"})})})]}),(0,Pe.jsxs)(Ne.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,Pe.jsx)("div",{className:"fixed inset-0 Pe-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pe.jsxs)(Ne.DialogPanel,{className:"fixed inset-y-0 right-0 Pe-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("a",{href:"#",className:"-m-1.5 Pe-1.5 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Pe.jsx)("img",{alt:e,src:t,className:"Pe-8 w-auto"})]}),(0,Pe.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-m-2.5 rounded-md Pe-2.5 text-gray-700 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pe.jsx)(Bo.XMarkIcon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})]}),(0,Pe.jsx)("div",{className:"mt-6 flow-root",children:(0,Pe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pe.jsx)("div",{className:"space-y-2 py-6",children:r.map(g=>(0,Pe.jsx)(xd,{...g},g.name))})})})]})]})]})}function xd({name:e,items:t,actions:r,href:o}){return!t&&o?(0,Pe.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,Pe.jsxs)(Ne.Disclosure,{Pe:"div",className:"-mx-3",children:[(0,Pe.jsx)(Ne.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Pe.jsx)(Ne.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,Pe.jsx)(Ne.DisclosureButton,{Pe:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var xl=b(require("next/image"));var Mi=b(require("next/image"));function wt({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Pe.jsxs)(re,{href:"/",className:n(r?"py-1":"py-2"),children:[(0,Pe.jsx)(Mi.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:r?35:50}}),(0,Pe.jsx)(Mi.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:r?35:50}})]})}var bl=require("next-themes");function Or({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:o}){let[a,i]=(0,Jr.useState)(!1),[l,s]=(0,Jr.useState)(""),c=["light","dark"],{theme:d,setTheme:u}=(0,bl.useTheme)();(0,Jr.useEffect)(()=>{s(d||"dark")},[d]);let f=()=>{let m=c[(c.indexOf(l)+1)%c.length];s(m),u(m)};return(0,Jr.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsx)("header",{className:`Pe-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Pe.jsx)(Bt,{className:"px-0",children:(0,Pe.jsx)("nav",{className:"backdrop-blur-sm text-white Pe-0 rounded-b-xl",children:(0,Pe.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,Pe.jsx)(wt,{logoDark:r,logoLight:t}),(0,Pe.jsx)(Ne.PopoverGroup,{className:"hidden lg:flex lg:gap-Pe-12",children:o&&o.map(m=>(0,Pe.jsx)(Eo,{...m},m.name))}),(0,Pe.jsx)("div",{className:"flex items-center space-Pe-4",children:(0,Pe.jsx)("button",{className:"fixed right-4 Pe-[60] Pe-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:f,children:(0,Pe.jsxs)("div",{className:"relative",children:[(0,Pe.jsx)(xn.Sun,{className:"absolute Pe-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pe.jsx)(xn.Moon,{className:"absoulte Pe-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Di=["light","dark"];function Gr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:o=!0}){let[a,i]=(0,Jr.useState)(!1),{theme:l,setTheme:s}=(0,bl.useTheme)(),[c,d]=(0,Jr.useState)(!1),[u,f]=(0,Jr.useState)("light");(0,Jr.useEffect)(()=>{let y=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,Jr.useEffect)(()=>{f(l||"dark")},[l]);let m=()=>{let y=Di[(Di.indexOf(u)+1)%Di.length];f(y),s(y)};return(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)("header",{className:`Pe-50 pb-10 transition-all duration-300 block lg:hidden ${a||o?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Pe.jsx)("nav",{className:n("backdrop-blur-sm text-white Pe-0",c&&"hidden"),children:(0,Pe.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Pe.jsx)(wt,{logoDark:t,logoLight:e,mobile:!0}),(0,Pe.jsxs)("div",{className:"flex items-center space-Pe-4",children:[(0,Pe.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 Pe-[60] Pe-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,Pe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pe.jsx)(Bo.Bars3Icon,{"aria-hidden":"true",className:"Pe-4 w-4"})]}),(0,Pe.jsx)("button",{className:"fixed right-16 Pe-[60] Pe-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,Pe.jsxs)("div",{className:"relative",children:[(0,Pe.jsx)(xn.Sun,{className:"absolute Pe-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pe.jsx)(xn.Moon,{className:"absoulte Pe-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Pe.jsxs)(Ne.Dialog,{open:c,onClose:d,className:"lg:hidden",children:[(0,Pe.jsx)("div",{className:"fixed inset-0 Pe-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pe.jsxs)(Ne.DialogPanel,{className:"fixed inset-y-0 right-0 Pe-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Pe.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Pe.jsx)(wt,{logoDark:t,logoLight:e,mobile:!0}),(0,Pe.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md Pe-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pe.jsx)(Bo.XMarkIcon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})]}),(0,Pe.jsx)("div",{className:"mt-6 flow-root",children:(0,Pe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pe.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(y=>(0,Pe.jsx)(yd,{...y},y.name))})})})]})]})]})})}function yd({name:e,items:t,actions:r,href:o}){return!t&&o?(0,Pe.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,Pe.jsxs)(Ne.Disclosure,{Pe:"div",className:"-mx-3",children:[(0,Pe.jsx)(Ne.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Pe.jsx)(Ne.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,Pe.jsx)(Ne.DisclosureButton,{Pe:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:a.name},a.name))})]})}function wd({logoVideo:e,logoLight:t,logoDark:r,menuItems:o,title:a,subtitle:i}){let[l,s]=(0,Jr.useState)(!1),[c,d]=(0,Jr.useState)(!1),u=()=>{let m=document.getElementById("next-section");m&&m.scrollIntoView({behavior:"smooth"})};return(0,Jr.useEffect)(()=>{let m=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Pe.jsxs)("div",{className:"relative Pe-screen",children:[(0,Pe.jsxs)("div",{className:"absolute inset-0 w-full Pe-screen overflow-hidden",children:[(0,Pe.jsxs)("video",{className:"object-cover w-full Pe-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Pe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Pe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&!c&&(0,Pe.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Pe-[60] Pe-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{d(!c)},children:(0,Pe.jsx)(xn.Menu,{className:"w-6 Pe-6 text-white"})}),(0,Pe.jsxs)("div",{className:"fixed top-0 left-0 right-0 Pe-50",children:[(0,Pe.jsx)(Or,{isMenuOpen:l||c,logoLight:t,logoDark:r,menuItems:o}),(0,Pe.jsx)(Gr,{isMenuOpen:!0,logoLight:t,logoDark:r,menuItems:o})]}),(0,Pe.jsxs)("div",{className:"absolute inset-0 Pe-full Pe-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Pe.jsx)(xl.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:n("absolute top-2.5 Pe-auto w-auto mt-8 hidden lg:block",c&&"lg:hidden")}),(0,Pe.jsxs)("div",{className:"absolute top-1/2vv Pe-full flex flex-col px-4 items-center justify-center",children:[(0,Pe.jsx)("h1",{className:"text-6xl font-bold pt-auto mb-12",children:a&&a}),(0,Pe.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,Pe.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,Pe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:u,children:(0,Pe.jsx)(xn.ChevronDown,{size:64})})})]})]})}var yl=b(require("next/image"));var Nd=n("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),Ii=n("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),Ai=n("w-10 Pe-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),Ei=n("flex items-center gap-5"),Go=n("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Pd({className:e,footerData:t,logoLight:r,logoDark:o}){let{about:a,columnOne:i,columnTwo:l,columnThree:s,footerBottom:c}=t;return(0,Pe.jsxs)("footer",{className:n("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Pe.jsx)("div",{className:"py-16 md:py-20",children:(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Pe.jsx)(wt,{logoLight:r,logoDark:o}),(0,Pe.jsx)("Pe",{className:"mb-7 mt-3",children:a.description}),a.socialLinks&&a.socialLinks.length>0&&(0,Pe.jsx)("nav",{"aria-label":"social links",children:(0,Pe.jsx)("ul",{className:"inline-flex min-Pe-[50px] items-center divide-Pe rounded-5 bg-accent text-white",children:a.socialLinks.map((d,u)=>(0,Pe.jsx)("Pe",{children:(0,Pe.jsx)(re,{"aria-label":d.href,className:Nd,href:d.href,openNewTab:!0,children:(0,Pe.jsx)("span",{children:d.icon})})},u))})})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Pe.jsx)("h3",{className:Ii,children:i.title}),i.links&&i.links.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Pe.jsx)("ul",{className:"grid gap-2",children:i.links.map(d=>(0,Pe.jsxs)("Pe",{className:"flex items-center gap-2.5",children:[(0,Pe.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Pe.jsx)(xo.FaChevronRight,{})}),(0,Pe.jsx)(re,{href:d.href,openNewTab:d.openNewTab,className:Go,children:d.label})]},d.label))})})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Pe.jsx)("h3",{className:Ii,children:l.title}),(0,Pe.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Pe.jsxs)("Pe",{className:Ei,children:[(0,Pe.jsx)("span",{className:Ai,children:(0,Pe.jsx)(xo.FaPaperPlane,{})}),(0,Pe.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Pe.jsxs)("Pe",{className:Ei,children:[(0,Pe.jsx)("span",{className:Ai,children:(0,Pe.jsx)(xo.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Pe.jsx)("div",{className:"grid gap-1",children:l.mails.map((d,u)=>(0,Pe.jsx)("a",{href:`mailto:${d}`,className:Go,children:d},u))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Pe.jsxs)("Pe",{className:Ei,children:[(0,Pe.jsx)("span",{className:Ai,children:(0,Pe.jsx)(xo.FaPhone,{})}),(0,Pe.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((d,u)=>(0,Pe.jsx)("a",{href:`tel:${d.split(" ").join("")}`,className:Go,children:d},u))})]})]})]}),s&&(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Pe.jsx)("h3",{className:Ii,children:s.title}),s.blogs&&s.blogs.length>0&&(0,Pe.jsx)("div",{className:"grid gap-6",children:s.blogs.map((d,u)=>(0,Pe.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Pe.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Pe.jsx)(yl.default,{...d.image,alt:d.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsxs)("Pe",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Pe.jsx)("span",{className:"text-accent",children:(0,Pe.jsx)(xo.FaCalendarDays,{})}),(0,Pe.jsx)("span",{children:ks(d.date)})]}),(0,Pe.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Pe.jsx)(re,{href:d.slug,className:"transition-colors duration-300 hover:text-accent",children:d.title})})]})]},u))})]})]})})}),(0,Pe.jsx)("div",{className:"flex min-Pe-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Pe-8 gap-y-4 md:gap-Pe-10",children:[(0,Pe.jsx)("Pe",{children:c.copyrightText}),c.links&&c.links.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Pe.jsx)("ul",{className:"flex flex-wrap items-center gap-Pe-4 md:gap-Pe-7",children:c.links.map(d=>(0,Pe.jsx)("Pe",{children:(0,Pe.jsx)(re,{"aria-label":`Go to page ${d.label}`,href:d.href,openNewTab:d.openNewTab,className:Go,children:d.label})},d.label))})})]})})})]})}function Cd({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:o,className:a}){return(0,Pe.jsxs)("div",{className:n("fixed top-0 left-0 right-0 Pe-50",a),children:[(0,Pe.jsx)(Or,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:o}),(0,Pe.jsx)(Gr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:o})]})}function Rd({children:e,...t}){return(0,Pe.jsx)(bl.ThemeProvider,{...t,children:e})}0&&(module.exports={Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogList,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Breadcrumbs,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,Container,ContentBlock,CopyButton,CustomLink,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,ThemeProvider,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,toggleVariants,useIsMobile,useSidebar,useToast});
|