MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/netdata/usr/share/netdata/web/v3/5548.3171daa2d551f923021a.chunk.js
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"24dad2414db89a9e2209703b6e48226fc420eca1"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d8c04fc2-cc69-4016-af93-9168b23bfaa8",e._sentryDebugIdIdentifier="sentry-dbid-d8c04fc2-cc69-4016-af93-9168b23bfaa8")}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[5548],{42318(e,t,r){r.d(t,{A:()=>s});r(62953);var n=r(96540),o=r(61661),a=r(6988),i=r(32465);const s=()=>{const e=(0,o.AR)(),t=(0,i.A)(),[r,s]=(0,o.oE)(),c=(0,o.WB)(),l=(0,n.useMemo)((()=>(0,a.Cj)({searchTerm:r,integrations:e})),[r,e]),d=r?(0,a.M6)(l,t):c;return{integrations:(0,a.Fd)((0,a.xM)(d)),setSearchTerm:s}}},51318(e,t,r){r.d(t,{A:()=>l});var n=r(64467),o=(r(98992),r(54520),r(3949),r(62953),r(96540)),a=r(61661),i=r(89942);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const l=()=>{const e=(0,i.PP)(),[t,r]=(0,a.XL)(),{reset:n}=(0,a.b8)(),s=(0,o.useCallback)((()=>{n(),(0,i.Z8)(c(c({},e),{},{integrationsModalOpen:"true"})),r("true")}),[n,r,e]);return{isIntegrationsVisible:t,hideIntegrations:(0,o.useCallback)((()=>{(0,i.Z8)(c(c({},e),{},{integrationsModalOpen:""})),r("")}),[e,r]),onIntegrationsClick:s}}},4703(e,t,r){r.d(t,{A:()=>u});r(89463);var n=r(51510),o=r(42358),a=r(74891),i=r(74848);const s=(0,a.A)(o.IconButton),c=(0,n.default)(s).attrs({icon:"x",neutral:!0,tooltip:"Skip, doesn't apply to me"}).withConfig({displayName:"taskItem__SkipButton",componentId:"sc-1mf27rk-0"})(["opacity:0;transition:opacity 0.2s;"]),l=(0,n.default)(o.Flex).attrs({gap:3,alignItems:"center",padding:[4],border:!0,round:1,cursor:"pointer"}).withConfig({displayName:"taskItem__ChecklistItem",componentId:"sc-1mf27rk-1"})(["background:",";transition:border-color 0.2s,background 0.2s;&:hover{border-color:",";background:",";","{opacity:1;}}"],(e=>{let{completed:t}=e;return(0,o.getColor)(t?"mainBackground":"panelBg")}),(0,o.getColor)("primary"),(0,o.getColor)("mainBackground"),c),d=(0,n.default)(o.Flex).attrs({width:"24px",height:"24px",alignItems:"center",justifyContent:"center",flex:!1}).withConfig({displayName:"taskItem__CheckIcon",componentId:"sc-1mf27rk-2"})(["",""],(e=>{let{completed:t}=e;return!t&&"\n    border-radius: 50%;\n    border: 2px solid ".concat((0,o.getColor)("borderSecondary"),";\n  ")})),u=e=>{let{task:t,completed:r,onClick:n,onSkip:a,children:s}=e;return(0,i.jsxs)(l,{completed:r,onClick:n,children:[(0,i.jsx)(d,{completed:r,children:r&&(0,i.jsx)(o.Icon,{name:"check",color:"primary",width:"32px",height:"32px"})}),(0,i.jsxs)(o.Flex,{column:!0,gap:1,flex:!0,children:[(0,i.jsx)(o.Text,{strong:!0,color:r?"textLite":void 0,children:t.title}),(0,i.jsx)(o.TextSmall,{color:r?"textNoFocus":"textLite",children:s||t.description})]}),!r&&a&&(0,i.jsx)(c,{onClick:e=>{e.stopPropagation(),null===a||void 0===a||a()}})]})}},97926(e,t,r){r.d(t,{A:()=>u});var n=r(96540),o=r(41716),a=r(10602),i=r(67294),s=r(24609),c=r(86706),l=r(41258),d=r(31246);const u=()=>{const e=(0,a.nj)(),t=(0,a.CK)(),r=(0,o.s)("ids")||[],u=(0,o.s)("loaded"),p=(0,s.vt)();(0,l.A)(p);const f=(0,c.Gi)(),g=(0,c.gk)(),h=(0,i.q)(),m=(0,i.RQ)();return(0,n.useMemo)((()=>e&&u&&g&&m?{[d.aL.welcome]:!0,[d.aL.firstNodeConnected]:t.length>=1,[d.aL.firstAlertTriggered]:r.length>=1,[d.aL.secondNodeConnected]:t.length>=2,[d.aL.threeOrMoreNodes]:t.length>=3,[d.aL.firstTeamMemberInvited]:Array.isArray(f)&&f.length>1,[d.aL.firstDashboardCreated]:Array.isArray(h)&&h.length>=1}:null),[e,t.length,u,r.length,g,f,m,h])}},74290(e,t,r){r.d(t,{A:()=>p});r(98992),r(23215),r(54520),r(81454),r(8872),r(62953);var n=r(96540),o=r(24285),a=r(99728),i=r(24609),s=r(76571),c=r(56523),l=r(97926),d=r(17115),u=r(31246);const p=()=>{const{milestones:e,recordMilestones:t,markMilestonesSeen:r,settingsLoaded:p}=(0,c.A)(),f=(0,l.A)(),g=(0,d.Ay)(),h=(0,a.Sk)(),m=(0,d.Ex)(),b=(0,o.xd)("isLoaded"),y=(0,o.xd)("onboardingFormData"),v=(0,i.vt)(),k=(0,i.ap)("loaded"),O=(0,s.t5)(v,"channels"),I=(0,s.t5)(v,"loaded"),A=Array.isArray(O)?O.length:0,x=!(null===y||void 0===y||!y.usageType);(0,n.useEffect)((()=>{if(!p||!f)return;const r=Object.entries(f).filter((t=>{var r;let[n,o]=t;return o&&!(null!==(r=e.completed[n])&&void 0!==r&&r.completedAt)}));if(r.length>0){const e=r.map((e=>{let[t]=e;return t}));t(e)}}),[f,e.completed,t,p]),(0,n.useEffect)((()=>{if(!p||!I||!k||!b)return;const t={segment:g,permissions:h,isLargeTeam:m,channelCount:A,hasOnboarding:x},n=Object.entries(e.completed).reduce(((e,r)=>{let[n,o]=r;if(!o.completedAt||o.seenAt)return e;const a=((e,t)=>{let{segment:r,permissions:n,isLargeTeam:o,channelCount:a,hasOnboarding:i}=t;return(u.a7[e]||[]).filter((e=>i?!!e.segments.includes(r)&&!(e.permission&&!n[e.permission])&&!(e.requiresLargeTeam&&!o)&&!(void 0!==e.maxChannels&&a>e.maxChannels):e.isFeatureAnnouncement))})(n,t);if(!a.length)return e;const i=o.tasks||{};return a.every((e=>i[e.id]))&&e.push(n),e}),[]);n.length&&r(n)}),[A,I,x,m,r,h,e.completed,g,p,k,b])}},81187(e,t,r){r.d(t,{A:()=>O});var n=r(64467),o=(r(98992),r(54520),r(3949),r(62953),r(96540)),a=r(41344),i=r(34843),s=r(24609),c=r(41716),l=r(19186),d=r(67294),u=r(92726),p=r(14070),f=r(49108),g=r(51318),h=r(42318),m=r(78069),b=r(97394),y=r(56523);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const O=function(){let{onBeforeAction:e,skipCompletedCheck:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=(0,a.Zp)(),n=(0,s.bq)(),v=(0,l.QW)(),{markTaskCompleted:O}=(0,y.A)(),{onIntegrationsClick:I}=(0,g.A)(),{setSearchTerm:A}=(0,h.A)(),{open:x}=(0,f.A)(),{handleOpenProfileModal:C}=(0,m.A)(),j=(0,i.Xr)(b.TZ),w=(0,c.s)("ids"),[,P]=(0,p.A)(),T=(0,d.q)(),M=(0,u.fz)(null===T||void 0===T?void 0:T[0],"slug"),S=(0,o.useCallback)((e=>t||!e.completed),[t]);return(0,o.useCallback)((t=>{null===e||void 0===e||e();let o=location.pathname,a={};if(t.openIntegrations)return t.integrationsSearchTerm&&A(t.integrationsSearchTerm),I(),void(S(t)&&O(t.milestoneId,t.id));if(t.openAiPanel)return x(),void(S(t)&&O(t.milestoneId,t.id));if(t.openProfileModal)return C(t.openProfileModal),t.spotlight?void j(k(k({},t.spotlight),{},{taskId:t.id,milestoneId:t.milestoneId,targetPath:location.pathname})):void(S(t)&&O(t.milestoneId,t.id));if(t.openFirstDashboard&&M)return o="/spaces/".concat(n,"/rooms/").concat(v,"/dashboards/").concat(M),r(o),t.spotlight?void j(k(k({},t.spotlight),{},{taskId:t.id,milestoneId:t.milestoneId,targetPath:o})):void(S(t)&&O(t.milestoneId,t.id));if(t.route){const e=t.isSpaceRoute?"/spaces/".concat(n):"/spaces/".concat(n,"/rooms/").concat(v);void 0!==t.alertTabIndex&&(a.alertTabIndex=t.alertTabIndex),o="".concat(e,"/").concat(t.route),r(o,{state:a}),t.openFirstAlert&&null!==w&&void 0!==w&&w[0]&&P({alertId:w[0]})}t.spotlight?j(k(k({},t.spotlight),{},{taskId:t.id,milestoneId:t.milestoneId,targetPath:o})):S(t)&&O(t.milestoneId,t.id)}),[e,r,n,v,O,I,A,x,C,j,w,P,M,S])}},17115(e,t,r){r.d(t,{Ay:()=>l,Ex:()=>c});var n=r(96540),o=r(24285),a=r(19186),i=r(31246);const s=()=>{const e=(0,o.xd)("onboardingFormData"),t=(0,a.XA)("memberCount")||0,r=(0,a.XA)("nodeCount")||0;return(0,n.useMemo)((()=>{const n=null===e||void 0===e?void 0:e.usageType;return"Personal (homelab)"===n?i.JF.homelabber:"Work"===n?t>2||r>=50?i.JF.largeOrg:i.JF.smallOrg:i.JF.homelabber}),[null===e||void 0===e?void 0:e.usageType,t,r])},c=()=>{const e=s(),t=(0,a.XA)("memberCount")||0;return e===i.JF.largeOrg&&t>10},l=s},48646(e,t,r){var n=r(69565),o=r(28551),a=r(1767),i=r(50851);e.exports=function(e,t){t&&"string"===typeof e||o(e);var r=i(e);return a(o(void 0!==r?n(r,e):e))}},78350(e,t,r){var n=r(46518),o=r(70259),a=r(79306),i=r(48981),s=r(26198),c=r(1469);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=i(this),n=s(r);return a(e),t=c(r,0),o(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},30237(e,t,r){r(6469)("flatMap")},30531(e,t,r){var n=r(46518),o=r(69565),a=r(79306),i=r(28551),s=r(1767),c=r(48646),l=r(19462),d=r(9539),u=r(96395),p=r(30684),f=r(84549);var g=!u&&!p("flatMap",(function(){})),h=!u&&!g&&f("flatMap",TypeError),m=u||g||h||function(){try{var e=Iterator.prototype.flatMap.call(new Map([[4,5]]).entries(),(function(e){return e}));e.next(),e.return()}catch(t){return!0}}(),b=l((function(){for(var e,t,r=this.iterator,n=this.mapper;;){if(t=this.inner)try{if(!(e=i(o(t.next,t.iterator))).done)return e.value;this.inner=null}catch(a){d(r,"throw",a)}if(e=i(o(this.next,r)),this.done=!!e.done)return;try{this.inner=c(n(e.value,this.counter++),!1)}catch(a){d(r,"throw",a)}}}));n({target:"Iterator",proto:!0,real:!0,forced:m},{flatMap:function(e){i(this);try{a(e)}catch(t){d(this,"throw",t)}return h?o(h,this,e):new b(s(this),{mapper:e,inner:null})}})},30670(e,t,r){r(30531)}}]);