File: //opt/netdata/usr/local/share/netdata/web/v3/3185.dc0ba5ac0091038101a2.chunk.js
try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="64da5a01-56d3-4f37-9e0a-ee3ec3fed974",e._sentryDebugIdIdentifier="sentry-dbid-64da5a01-56d3-4f37-9e0a-ee3ec3fed974")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"90b87a93a48a089118916e8342e7b31e0e561cb5"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[3185],{53185:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ke});var r=n(63766),o=n(96540),i=(n(98992),n(54520),n(61661)),s=n(6988),l=n(32465);const a=()=>{const e=(0,i.AR)(),t=(0,l.A)(),[n,r]=(0,i.oE)(),a=(0,i.WB)(),c=(0,o.useMemo)((()=>(0,s.Cj)({searchTerm:n,integrations:e})),[n,e]),d=n?(0,s.M6)(c,t):a;return{integrations:(0,s.Fd)((0,s.xM)(d)),setSearchTerm:r}};var c=n(14815),d=n(74848);const g=e=>{let{flavour:t}=e;const[n,s]=(0,i.x9)(),{history:l,setHistory:g}=(0,i.b8)(),h=(0,i.GT)(),{setSearchTerm:u}=a(),x=(0,o.useCallback)((e=>{u(e),e?(n||s(l.filter((e=>{let{type:t}=e;return"integration"!==t}))),g([])):n&&g(n)}),[l,n,u,g]),m=(0,o.useMemo)((()=>c.jI[t]?.search),[t]),p=m?.wrapperProps||{},j=m?.inputProps||{};return(0,d.jsx)(r.Flex,{...p,children:(0,d.jsx)(r.SearchInput,{value:h,onChange:x,placeholder:"Search through 800+ integrations",dataGa:`integrations::searchTerm::${t}`,...j})})},h=e=>{let{flavour:t,...n}=e;const i=(0,o.useMemo)((()=>c.vD[t]?.headerContent),[t]),s=(0,o.useMemo)((()=>c.jI[t]?.header),[t]),l=s?.wrapperProps||{};return(0,d.jsxs)(r.Flex,{"data-testid":"integrations-header-container",position:"relative",column:!0,alignItems:"center",justifyContent:"center",gap:2,width:{min:"500px"},...l,children:[i&&(0,d.jsx)(i,{...n}),(0,d.jsx)(g,{flavour:t})]})};var u=n(37846),x=(n(81454),n(63950)),m=n.n(x),p=n(85660),j=n(73700),f=n(87239),y=n(6304);const b=e=>{let{categories:t=[],level:n=0,flavour:r}=e;return(0,d.jsx)(d.Fragment,{children:t.map((e=>(0,d.jsx)(k,{category:e,level:n+1,flavour:r},e.id)))})},v=e=>{let{subcategories:t=[],popular:n=[],noPopular:i=[],limitResults:s=0,level:l,flavour:a}=e;const[c,g]=(0,y.A)(s),h=s&&!c?i.slice(0,s):i,u=(0,o.useMemo)((()=>I(2)+4),[]);return(0,d.jsxs)(r.Flex,{column:!0,children:[(0,d.jsx)(b,{categories:n,level:l,flavour:a}),(0,d.jsx)(b,{categories:h,level:l,flavour:a}),!!s&&s<t.length&&(0,d.jsx)(r.Flex,{padding:[0,0,0,u],children:(0,d.jsx)(r.Button,{flavour:"borderless",label:c?"Show less":"Show more",onClick:g,small:!0,"data-ga":`integrations::click-category-${name}-${c?"showLess":"showMore"}::${a}`})})]})};var w=n(45087),C=n(41514);const I=function(){return 4*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)},k=e=>{let{isSidebarCollapsed:t,category:n={},level:s=1,flavour:l,maxItemsPerCategory:a={}}=e;const g=(0,i.j6)(),{selectedCategory:h,pushCategory:x}=(0,i.b8)(),{id:m,name:p}=n,j=c.aw[m],{categories:b,popular:k,rest:F}=(0,o.useMemo)((()=>(0,f.YK)((0,f.PQ)({category:n,categories:g}))),[n,g]),S=(0,o.useMemo)((()=>{const e=a[m]?.limit,t=k.length+1;return e>1?e-t:0}),[a,k]),T=m===h?.id,A=(0,o.useMemo)((()=>I(s)),[s]),[P,B]=(0,y.A)(),M=(0,i.q2)(),E=()=>{M(),x(n),(0,C.H)("integrations","select-category","sidebar",`category-id:${n.id}`),b.length&&B()};return t?(0,d.jsx)(r.Flex,{alignItems:"center",justifyContent:"center",padding:[2],children:(0,d.jsx)(w.A,{content:p,align:"right",children:j&&(0,d.jsx)(r.Icon,{name:j,color:T?"primary":"text",cursor:"pointer",onClick:E})})}):(0,d.jsxs)(r.Flex,{column:!0,children:[(0,d.jsxs)(u.Av,{className:1===s?"top-level":"",gap:s>1?1:2,padding:[2,2,2,A],onClick:E,dataGa:`integrations::click-category-${p}::${l}`,background:s>1&&T?"integrationMenuItemHover":null,alignItems:"center",children:[j&&(0,d.jsx)(r.Icon,{name:j,size:"small",color:T?"primary":"text"}),s>1&&(0,d.jsx)(u.oO,{name:"chevron_right",rotate:P?1:0,size:"small",color:"textLite",cursor:"pointer",disabled:!b.length}),(0,d.jsx)(r.TextBig,{children:p})]}),!!b.length&&(P||1===s)&&(0,d.jsx)(v,{subcategories:b,popular:k,noPopular:F,limitResults:S,level:s,flavour:l})]})},F=e=>(0,d.jsx)(r.Box,{as:"hr",height:"1px",width:"100%",sx:{borderWidth:"1px 0px 0px 0px",borderColor:"borderSecondary",borderStyle:"solid"},...e}),S={collapsed:{alignItems:"center",justifyContent:"center",padding:[2]},expanded:{justifyContent:"end",padding:[0,2,0,0],position:"sticky",top:"0"}},T={collapsed:{icon:"chevron_right",iconSize:"large",flavour:"borderless"},expanded:{icon:"chevron_left",iconSize:"small",flavour:"hollow"}},A=e=>{let{isSidebarCollapsed:t,onClick:n=m()}=e;const i=(0,o.useMemo)((()=>t?"collapsed":"expanded"),[t]);return(0,d.jsx)(r.Flex,{width:"100%",...S[i],children:(0,d.jsx)(r.Button,{neutral:!0,onClick:n,...T[i]})})},P=(0,j.s)(300,f.vF),B=e=>{let{flavour:t,isSidebarCollapsed:n,toggleSidebar:s=m()}=e;const[l,{height:a}]=(0,p.A)(),c=(0,i.Ss)(),g=(0,i.j6)(),[h,u]=(0,o.useState)({});return(0,o.useEffect)((()=>{P({height:a,topLevelCategories:c,categories:g,setState:u})}),[a,c,g]),(0,d.jsxs)(r.Flex,{ref:l,column:!0,gap:2,overflow:{vertical:"auto"},children:[(0,d.jsx)(A,{isSidebarCollapsed:n,onClick:s}),c.map(((e,o)=>(0,d.jsxs)(r.Flex,{column:!0,gap:2,children:[(0,d.jsx)(k,{isSidebarCollapsed:n,category:e,maxItemsPerCategory:h,flavour:t}),!n&&o<c.length-1&&(0,d.jsx)(F,{})]},e.id)))]})},M=(0,o.memo)(B),E=()=>{const{pop:e}=(0,i.b8)(),t=(0,o.useCallback)((()=>{e(),(0,C.H)("integrations","navigate-back","breadcrumb")}),[e]);return(0,d.jsx)(r.Button,{label:"Back",icon:"arrow_left",iconColor:"primary",iconSize:"small",flavour:"borderless",onClick:t})};var _=n(33185);const H=e=>{let{iconProps:t,...n}=e;return(0,d.jsx)(r.Flex,{width:"74px",height:"74px",alignItems:"center",justifyContent:"center",background:"primary",round:"100%",...n,children:(0,d.jsx)(r.Icon,{name:"integrations",color:"white",size:"large",...t})})},R=(0,_.default)(H).withConfig({displayName:"fallbackIcon__PlaceholderIcon",componentId:"sc-182ui8v-0"})(["filter:blur(3px);background:",";opacity:0.7;"],(0,r.getColor)("mainBackground")),N=()=>(0,d.jsx)(R,{iconProps:{color:"textLite"}}),$=H;var L=n(79748);const z=e=>{let{name:t,icon:n}=e;const[i,s]=(0,o.useState)(),l=(0,o.useCallback)((()=>s(!0)),[]);return(0,d.jsxs)(r.Flex,{alignItems:"center",gap:1,children:[n&&(i?(0,d.jsx)($,{width:"18px",height:"18px",iconProps:{size:void 0,with:"12px",height:"12px"}}):(0,d.jsx)("img",{src:n,alt:`${t}-logo`,height:"18px",onError:l})),(0,d.jsx)(r.Text,{children:t})]})},D=e=>{let{category:t={},index:n=0}=e;const{history:o,selectedIntegration:s,pushCategory:l}=(0,i.b8)();return!s&&n===o.length-1?(0,d.jsx)(r.Text,{children:t.name}):(0,d.jsx)(L.A,{onClick:()=>{l(t),(0,C.H)("integrations","select-category","breadcrumb",`category-id:${t.id}`)},children:t.name})},G=e=>{let{flavour:t}=e;const{history:n}=(0,i.b8)(),o=n.map((e=>{let{name:t}=e;return t})).join("-").replace(" ","");return(0,d.jsx)(r.Flex,{gap:2,dataGa:`integrations::view-integration-${o}::${t}`,children:n.map(((e,t)=>(0,d.jsxs)(r.Flex,{gap:2,children:["category"===e.type?(0,d.jsx)(D,{category:e,index:t}):(0,d.jsx)(z,{...e}),t<n.length-1&&(0,d.jsx)(r.Text,{children:"/"})]},e.id)))})},W=e=>{let{url:t=""}=e;return t?(0,d.jsx)(L.A,{href:t,rel:"noopener noreferrer",target:"_blank",children:(0,d.jsx)(w.A,{content:"Do you see something wrong? Edit the contents of this resource here.",children:(0,d.jsxs)(r.Flex,{alignItems:"center",gap:1,children:[(0,d.jsx)(r.Icon,{color:"primary",name:"pencilOutline",width:"12px",height:"12px"}),(0,d.jsx)(r.Text,{color:"primary",children:"Edit"})]})})}):null};var q=n(29147);const O=()=>{const{integrations:e}=a(),t=(0,i.q2)(),n=(0,i.hh)(),{setHistory:s}=(0,i.b8)(),l=(0,o.useCallback)((()=>{t(),n&&s(n)}),[]);return(0,d.jsx)(r.Flex,{alignItems:"center",justifyContent:"between",children:(0,d.jsxs)(r.Flex,{alignItems:"center",gap:4,children:[(0,d.jsxs)(r.TextBig,{children:["Found ",e.length," results"]}),(0,d.jsx)(r.Button,{label:"Clear",icon:"x",iconColor:"primary",iconSize:"small",flavour:"borderless",onClick:l})]})})};var Y=n(51220);const K=_.default.img.withConfig({displayName:"progressiveImage__StyledImage",componentId:"sc-16k6xv6-0"})(["max-width:80%;max-height:74px;"]),V=e=>{let{src:t,Placeholder:n,onError:r=m(),...i}=e;const[s,l]=(0,y.A)(!0);return(0,o.useEffect)((()=>{const e=new Image;e.src=t,e.onload=()=>l(),e.onerror=e=>r(e)}),[]),s&&n?(0,d.jsx)(n,{}):(0,d.jsx)(K,{src:t,...i})},J=e=>{let{isCommunity:t,...n}=e;return(0,d.jsxs)(r.Flex,{alignItems:"center",gap:1,position:"absolute",top:"-20px",right:"0",padding:[0,2],...n,children:[(0,d.jsx)(w.A,{content:t?"This integration is maintaned by the community":"This integration is maintained by Netdata",children:(0,d.jsx)(r.TextMicro,{strong:!0,color:"textDescription",children:t?"by Community":"by Netdata"})}),!t&&(0,d.jsx)(r.Icon,{name:"favorites",color:"primary",width:"14px",height:"14px"})]})},Q=e=>{let{integration:t={},...n}=e;const{selectedCategory:s,pushIntegration:a}=(0,i.b8)(),c=(0,i.j6)(),[g,h]=(0,y.A)(),{flattenedCategory:x,community:m}=t,p=(0,l.A)(),{tree:j,topLevelCategory:b}=(0,f.fk)({category:x,getCategoryById:p}),v=(0,o.useMemo)((()=>j.slice(0,2).filter(Boolean).map((e=>{let{name:t}=e;return t})).join(" / ")),[j,b]),w=(0,f.q1)(s?.id||x?.id,c),[I,k]=(0,o.useState)(),F=(0,o.useCallback)((()=>k(!0)),[]);return(0,d.jsxs)(u.Zp,{alignItems:"center",justifyContent:"center",height:"100%",position:"relative",overflow:"hidden",cursor:"pointer",padding:[2],onMouseEnter:h,onMouseLeave:h,onClick:()=>{a(t),(0,C.H)("integrations","select-integration","integration-tile",`integration-id:${t.id}`)},round:"2px",...n,children:[(0,d.jsx)(u.AG,{name:w,className:g?"hover":"",width:"190px",height:"190px",color:"textLite"}),(0,d.jsxs)(r.Flex,{width:"100%",alignItems:"center",justifyContent:"center",column:!0,gap:2,zIndex:10,children:[(0,d.jsxs)(r.Flex,{justifyContent:"center",column:!0,gap:1,children:[(0,d.jsx)(r.H3,{textAlign:"center",strong:!1,children:t.name}),v&&(0,d.jsx)(r.TextSmall,{textAlign:"center",children:v})]}),t.icon&&!I&&(0,d.jsx)(V,{Placeholder:N,src:t.icon,alt:`${t.name}-logo`,onError:F}),I&&(0,d.jsx)($,{}),t.description?(0,d.jsxs)(u.BT,{className:g?"hover":"",alignItems:"center",justifyContent:"center",width:"100%",padding:[3],background:"mainBackground",children:[(0,d.jsx)(J,{isCommunity:m}),(0,d.jsx)(r.Text,{textAlign:"center",children:t.description})]}):(0,d.jsx)(J,{isCommunity:m,bottom:"4px",top:"unset"})]})]})},Z=(0,o.memo)(Q),U=e=>{let{integrations:t=[],itemsPerRow:n=4,rowHeight:r=200}=e;const i=(0,o.useRef)(),s=(0,o.useMemo)((()=>(e=>{let{integrations:t=[],itemsPerRow:n}=e;const r=[];let o=[];for(let i=0;i<t.length;i++)o.push(t[i]),(i+1)%n===0&&(r.push(o),o=[]);return o.length>0&&r.push(o),r})({integrations:t,itemsPerRow:n})),[t,n]),l=(0,o.useCallback)((()=>r),[r]),a=(0,Y.Te)({count:s.length,getScrollElement:()=>i.current,enableSmoothScroll:!1,estimateSize:l});return(0,d.jsx)("div",{ref:i,style:{height:"100%",overflow:"auto",paddingRight:"16px"},children:(0,d.jsx)("div",{style:{minHeight:`${a.getTotalSize()}px`,width:"100%",position:"relative"},children:a.getVirtualItems().map((e=>(0,d.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${e.start}px)`,overflow:"hidden"},ref:a.measureElement,"data-index":e.index,children:(0,d.jsx)(u.$c,{itemsPerRow:n,rowHeight:r,children:(s[e.index]||[]).map((e=>(0,d.jsx)(Z,{width:"100%",height:"100%",integration:e},e.flattenedKey||e.id)))})},e.key)))})})},X=()=>(0,d.jsx)(r.Flex,{width:"100%",column:!0,alignItems:"center",margin:[8,0,0,0],children:(0,d.jsxs)(r.Flex,{column:!0,justifyContent:"center",alignItems:"center",margin:[0,0,6],children:[(0,d.jsx)(r.H3,{margin:[0,0,4],children:"No integrations to display"}),(0,d.jsxs)(r.Text,{color:"textDescription",textAlign:"center",children:["There are currently no integrations under this category.",(0,d.jsx)("br",{}),"Try another category or use the search bar to find what you're looking for."]})]})});var ee=n(64156);const te="(min-width: 1600px)",ne="(max-width: 1599px)",re="(max-width: 1299px)",oe={large:{itemsPerRow:4,rowHeight:200},medium:{itemsPerRow:3,rowHeight:200},small:{itemsPerRow:2,rowHeight:190}};var ie=n(60908);const se=(0,o.memo)((e=>{let{selectedCategory:t,searchTerm:n,integrations:o}=e;const{itemsPerRow:i,rowHeight:s}=(()=>{const e=(0,ee.A)(te),t=(0,ee.A)(ne),n=(0,ee.A)(re);return oe[e?"large":t&&!n?"medium":"small"]||{}})();return(0,d.jsxs)(r.Flex,{column:!0,gap:4,width:"100%",height:"100%",overflow:{vertical:"auto"},children:[(0,d.jsx)(r.Flex,{width:"100%",position:"sticky",top:"0",background:"mainBackground",zIndex:15,children:n?(0,d.jsx)(O,{}):(0,d.jsxs)(r.Flex,{column:!0,gap:2,children:[(0,d.jsx)(r.H1,{strong:!1,children:t?.name}),(0,d.jsx)(r.Text,{children:t?.description})]})}),o.length?(0,d.jsx)(ie.Ay,{mode:"IntegrationsList",...n?{searchTerm:n}:{},children:(0,d.jsx)(U,{integrations:o,itemsPerRow:i,rowHeight:s})}):(0,d.jsx)(ie.Ay,{mode:"NoIntegrations",...n?{searchTerm:n}:{},children:(0,d.jsx)(X,{})})]})})),le=e=>{let{flavour:t}=e;const{selectedCategory:n}=(0,i.b8)(),r=(0,i.GT)(),{integrations:o}=a();return(0,d.jsx)(se,{flavour:t,selectedCategory:n,searchTerm:r,integrations:o})};var ae=n(22794),ce=n(96026),de=n(74891);const ge=(0,n(94404).A)((0,de.A)(r.Button)),he=e=>{let{itemId:t,...n}=e;const r=(0,ce.l)();return t?(0,d.jsx)(ge,{small:!0,icon:"gear",onClick:()=>r(t),label:"Configure",tooltip:"Add a new data collection job or edit existing jobs for this collector",payload:{dyncfgId:t},...n}):null};var ue=n(42790),xe=n(89942);const me=()=>{const[e,t]=(0,o.useState)("calc(100% - 133px)"),{selectedIntegrationTab:n}=(0,xe.PP)(),s=(0,ue.rI)("selectedIntegrationTab"),[l,a]=(0,o.useState)(n||0),{selectedIntegration:c={}}=(0,i.b8)(),{overview:g,metrics:h,alerts:u,setup:x,troubleshooting:m,relatedResources:j,dyncfgId:f}=c,[y,{height:b}]=(0,p.A)(),v=(0,o.useMemo)((()=>[g?{id:"overview",label:"Overview",content:g}:null,h?{id:"metrics",label:"Metrics",content:h}:null,u?{id:"alerts",label:"Alerts",content:u}:null,x?{id:"setup",label:"Setup",content:x}:null,m?{id:"troubleshooting",label:"Troubleshooting",content:m}:null].filter(Boolean)),[g,h,u,x,m,j]);(0,o.useLayoutEffect)((()=>{b&&t(b-70+"px")}),[b]);return(0,d.jsx)(ie.Ay,{tab:v[l]?.label,delay:0,children:(0,d.jsxs)(r.Flex,{ref:y,column:!0,gap:2,width:"100%",height:"100%",margin:[4,0,0,0],children:[(0,d.jsxs)(r.Flex,{border:{side:"bottom",size:"1px",color:"borderSecondary"},padding:[0,4],justifyContent:"between",children:[(0,d.jsx)(r.Tabs,{selected:parseInt(l),onChange:e=>{s(e),a(e),(0,C.H)("integrations","select-integration-tab","integration-view",`selected-tab:${v[e]?.label}`)},children:v.map((e=>{let{label:t}=e;return(0,d.jsx)(r.Tab,{label:(0,d.jsx)(r.Text,{children:t}),minWidth:"auto",maxWidth:"auto",padding:[1,4],background:"mainBackground",small:!0},t)}))}),(0,d.jsx)(he,{itemId:f})]}),(0,d.jsx)(r.Flex,{width:"100%",height:e,overflow:{vertical:"auto"},padding:[2,0],children:(0,d.jsx)(ae.A,{children:v[l]?.content})})]})})},pe=e=>{let{integration:t={}}=e;return(0,d.jsxs)(d.Fragment,{children:[t.description&&(0,d.jsx)(r.Flex,{margin:[4,0,0,0],children:(0,d.jsx)(r.Text,{children:t.description})}),(0,d.jsx)(me,{})]})},je=e=>{let{integration:t={},topLevelCategory:n={},isNightly:r}=e;const i=(0,o.useMemo)((()=>(e=>c.rP[e?.id]||pe)(n)),[n]);return(0,d.jsx)(ie.Ay,{mode:"IntegrationView",integrationId:t?.id,children:(0,d.jsx)(i,{integration:t,isNightly:r})})},fe=()=>{const{selectedCategory:e,selectedIntegration:t}=(0,i.b8)(),n=(0,ue.rI)("selectedIntegrationCategory"),r=(0,ue.rI)("selectedIntegration");(0,o.useEffect)((()=>{e?.id&&n(e.id)}),[e?.id,n]),(0,o.useEffect)((()=>{t?.id&&r(t.id)}),[t?.id,r])},ye=e=>{let{flavour:t}=e;const n=(0,l.A)(),{level:o,selectedCategory:s,selectedIntegration:a}=(0,i.b8)(),{flattenedCategory:c}=a||{},g=c||s,{topLevelCategory:h}=(0,f.fk)({category:g,getCategoryById:n}),u="deploy"===h?.id,x=a||o>2;return fe(),(0,d.jsxs)(r.Flex,{column:!0,gap:2,width:"100%",overflow:a&&!u?{}:{vertical:"auto"},children:[(0,d.jsxs)(r.Flex,{column:!0,alignItems:"start",gap:2,padding:[0,2,0,0],children:[x&&(0,d.jsx)(E,{}),(0,d.jsxs)(r.Flex,{width:"100%",alignItems:"end",justifyContent:"between",children:[(0,d.jsxs)(r.Flex,{alignItems:"center",gap:4,children:[(0,d.jsx)(G,{flavour:t}),a?.editLink&&(0,d.jsx)(W,{url:a.editLink})]}),a&&u&&(0,d.jsx)(q.A,{})]})]}),a?(0,d.jsx)(je,{integration:a,topLevelCategory:h,flavour:t}):(0,d.jsx)(le,{flavour:t})]})};var be=n(48791);const ve=(0,_.default)(r.Flex).withConfig({displayName:"cncfReference__Wrapper",componentId:"sc-1ntasha-0"})(["position:absolute;bottom:0;"]),we=()=>(0,d.jsxs)(ve,{width:"100%",alignItems:"start",justifyContent:"end",background:"mainBackground",gap:2,padding:[6],children:[(0,d.jsx)(r.Flex,{width:"500px",children:(0,d.jsxs)(r.TextSmall,{textAlign:"right",children:["Netdata is a member of the Cloud Native Computing Foundation (CNCF), and it is one of the most starred projects in the"," ",(0,d.jsx)(L.A,{alignSelf:"start",Component:r.TextSmall,href:"https://landscape.cncf.io/?item=observability-and-analysis--observability--netdata",rel:"noopener noreferer",target:"_blank",children:"CNCF landscape"}),"."]})}),(0,d.jsx)(be.g,{})]});var Ce=n(83864),Ie=n(88934);const ke=e=>{let{flavour:t=c.Jr}=e;const[n,,s,l]=(0,y.A)();(()=>{const e=(0,o.useRef)(!0),{pathname:t}=(0,Ie.zy)(),n=(0,i.yv)();(0,o.useEffect)((()=>{e.current||(e.current=!1,n())}),[t])})();const[a,g]=(0,y.A)();return(0,d.jsxs)(ie.Ay,{feature:"Integrations",logImpression:!1,children:[(0,d.jsxs)(r.Flex,{position:"relative",height:"100%",column:!0,background:"mainBackground",children:[(0,d.jsx)(h,{flavour:t,onInvite:s}),(0,d.jsxs)(u.D6,{flavour:t,isSidebarCollapsed:a,children:[(0,d.jsx)(M,{flavour:t,isSidebarCollapsed:a,toggleSidebar:g}),(0,d.jsx)(ye,{flavour:t})]}),t==c.D_.homePage&&(0,d.jsx)(we,{})]}),n&&(0,d.jsx)(Ce.d,{onClose:l})]})}}}]);