summaryrefslogtreecommitdiffstats
path: root/web/gui/v2/655.67b53d6b6e9d27b4a42f.chunk.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/gui/v2/655.67b53d6b6e9d27b4a42f.chunk.js')
-rw-r--r--web/gui/v2/655.67b53d6b6e9d27b4a42f.chunk.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/gui/v2/655.67b53d6b6e9d27b4a42f.chunk.js b/web/gui/v2/655.67b53d6b6e9d27b4a42f.chunk.js
new file mode 100644
index 00000000..aa47d29d
--- /dev/null
+++ b/web/gui/v2/655.67b53d6b6e9d27b4a42f.chunk.js
@@ -0,0 +1 @@
+!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="473d3de8-42d3-434a-a51b-2dc3ab6502a3",e._sentryDebugIdIdentifier="sentry-dbid-473d3de8-42d3-434a-a51b-2dc3ab6502a3")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"068845a823c962888381794c354a8f6b6e263031"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[655],{52971:function(e,t,n){n.d(t,{Ci:function(){return o},Ew:function(){return u},pD:function(){return i}});n(74916),n(77601);var r=n(85456),o={denied:"denied",granted:"granted"},i={denied:"inactive",granted:"active"},u=(/app\.netdata\.cloud/.test(location.hostname),/testing\.netdata\.cloud/.test(location.hostname),{defaultCookies:{defaultValue:o.granted,description:"These cookies are essential so that you can have the best experience using Netdata Products. Without these cookies Netdata Products may not work as a result. These do not store any personally identifiable data.",disabled:!0,eventName:"necessary",ga:"default-cookies",gmtKeys:["functionality_storage"],handleAccept:function(){},handleDeny:function(){},id:"defaultCookies",title:"Necessary"},analyticsCookies:{description:"These cookies are used to understand how visitors interact with Netdata Products. They help provide non-identifiable information on user activities through Netdata Products, which is valuable to help us improve our product.",defaultValue:o.granted,disabled:!1,eventName:"analytical",ga:"analytics-cookies",gmtKeys:["ad_storage","analytics_storage"],handleAccept:function(){(0,r.vD)()},handleDeny:function(){(0,r.g2)()},id:"analyticsCookies",title:"Analytical and Tracking"},performanceCookies:{description:"These cookies are used to track the performance and errors you may experience using Netdata Products. These are key for us to monitor the status of the product and easily identify issues.",defaultValue:o.granted,disabled:!1,eventName:"performance",ga:"performance-cookies",gmtKeys:[],handleAccept:function(){},handleDeny:function(){},id:"performanceCookies",title:"Performance and error tracking"}});(0,r.ej)(u.defaultCookies.id)},85456:function(e,t,n){n.d(t,{d8:function(){return a},ej:function(){return u},fY:function(){return d},g2:function(){return s},gs:function(){return f},lF:function(){return l},ow:function(){return g},v:function(){return p},vD:function(){return c}});n(82526),n(57327),n(88449),n(59849),n(38880),n(49337),n(33321),n(69070);var r=n(4942),o=(n(74916),n(4723),n(24603),n(88386),n(39714),n(92222),n(41539),n(68216),n(2490),n(79433),n(47941),n(85827),n(25387),n(72608),n(26833),n(15581),n(34514),n(54747),n(52971));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u=function(e){var t;return(null===(t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)")))||void 0===t?void 0:t.pop())||""},a=function(e,t,n){(n||window[e])&&(document.cookie="".concat(e,"=").concat(n||window[e],"; Path=/; Domain=").concat(window.envSettings.cookieDomain,"; Expires=").concat(t,";"))},c=function(){var e,t;null!==(e=(t=window.posthog).has_opted_out_capturing)&&void 0!==e&&e.call(t)&&window.posthog.opt_in_capturing()},s=function(){window.posthog.has_opted_out_capturing&&!window.posthog.has_opted_out_capturing()&&window.posthog.opt_out_capturing()},d=function(e){return Object.keys(e).every((function(t){return e[t]===(!u(t)||f(t))}))},f=function(e){return window.envSettings.tracking&&(!u(e)||u(e)===o.Ci.granted)},l=function(){return Object.values(o.Ew).reduce((function(e,t){var n=t.defaultValue,a=t.id;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}((0,r.Z)({},a,(u(a)||n)===o.Ci.granted),e)}),{})},p=function(e){window.gtag&&window.gtag("consent","update",e)},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return new Date(t.setFullYear(t.getFullYear()+e))}},7335:function(e,t,n){n.d(t,{aG:function(){return j},H3:function(){return k},XU:function(){return _},DH:function(){return P},z2:function(){return m},lL:function(){return O}});var r=n(29439),o=n(93433),i=n(15861),u=n(4942),a=n(64687),c=n.n(a),s=(n(21249),n(57640),n(9924),n(85827),n(41539),n(25387),n(2490),n(72608),n(57327),n(88449),n(59849),n(26699),n(32023),n(92222),n(66992),n(70189),n(78783),n(88921),n(96248),n(13599),n(11477),n(64362),n(15389),n(90401),n(45164),n(91238),n(54837),n(87485),n(56767),n(76651),n(61437),n(35285),n(39865),n(33948),n(69826),n(31672),n(59461),n(2707),n(47941),n(82526),n(38880),n(15581),n(34514),n(54747),n(49337),n(33321),n(69070),n(67294)),d=n(4480),f=n(89250),l=n(13477),p=(0,d.xu)({key:"visitedNodes",default:function(){return[]}}),g=n(97945),h=n(18761),y=n(78710);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=(0,d.CG)({key:"visitedNodeIdsValue",get:function(e){return function(t){return(0,t.get)(p(e)).map((function(e){return e.id}))}}}),m=function(){var e=(0,l.jr)(),t=(0,d.sJ)(p(e)),n=(0,d._8)((function(e){var t=e.set;return function(e){t(g.Jz,{values:e.reduce((function(e,t){return w(w({},e),{},(0,u.Z)({},t.id,w(w({},t),{},{loaded:!0})))}),{}),merge:!0})}}),[]);return(0,s.useEffect)((function(){n(t)}),[t]),(0,d.sJ)(b(e))},k=function(e){var t=(0,l.jr)(),n=(0,d.sJ)(p(t)),r=(0,s.useMemo)((function(){return e?n.filter((function(t){return t.name.toUpperCase().includes(e.toUpperCase())})):n}),[n,e]);return(0,s.useMemo)((function(){return r.map((function(e){return e.id}))}),[r])},O=function(){return(0,d._8)((function(e){var t=e.snapshot,n=e.set;return function(){var e=(0,i.Z)(c().mark((function e(r,o){var i,u,a,s,d;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getPromise((0,l.KL)("id"));case 2:return i=e.sent,e.next=5,t.getPromise((0,g.zP)({id:r}));case 5:return u=e.sent,a=u.urls,s=u.name,d=a.filter((function(e){return e!==o})),n((0,g.zP)({id:r,key:"urls"}),d),d.length||n(p(i),(function(e){return e.filter((function(e){return e.id!==r}))})),e.prev=11,e.next=14,d.length?(0,h.RX)(i,r,s,d):(0,h.Sd)(i,[r]);case 14:(0,h.Wy)(i,r).catch((function(){})),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(11),n((0,g.zP)({id:r,key:"urls"}),a);case 20:case"end":return e.stop()}}),e,null,[[11,17]])})));return function(t,n){return e.apply(this,arguments)}}()}),[])},P=function(){var e=(0,f.TH)().pathname,t=(0,l.jr)(),n=j(t,{autoFetch:!1});return(0,d._8)((function(e){var t=e.snapshot,r=e.set;return function(){var e=(0,i.Z)(c().mark((function e(i,u,a){var s,d,f,y,v,b;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getPromise((0,l.KL)("isAnonymous"));case 2:if(!e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,t.getPromise((0,l.KL)("id"));case 7:return s=e.sent,e.next=10,t.getPromise((0,g.zP)({id:i}));case 10:if(d=e.sent,f=d.urls,y=d.name,v=u?[u].concat((0,o.Z)(f)):f,v=(0,o.Z)(new Set([window.location.href].concat((0,o.Z)(v)))),b=v.length!==f.length,e.prev=16,r((0,g.zP)({id:i,key:"urls"}),v),r(p(s),(function(e){var t=e.find((function(e){return e.id===i})),n=e.filter((function(e){return e.id!==i}));return t?[w(w({},t),{},{accessCount:t.accessCount+1,lastAccessTime:(new Date).toISOString()})].concat((0,o.Z)(n)):[{accessCount:1,id:i,lastAccessTime:(new Date).toISOString(),urls:v,name:a}].concat((0,o.Z)(n))})),!b){e.next=22;break}return e.next=22,(0,h.RX)(s,i,a||y,v);case 22:return n(),e.next=25,(0,h.Wy)(s,i);case 25:e.next=30;break;case 27:e.prev=27,e.t0=e.catch(16),r((0,g.zP)({id:i,key:"urls"}),f);case 30:case"end":return e.stop()}}),e,null,[[16,27]])})));return function(t,n,r){return e.apply(this,arguments)}}()}),[n,e,t])},j=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).autoFetch,n=void 0===t||t,o=(0,d.FV)(p(e)),i=(0,r.Z)(o,2)[1],u=(0,s.useState)(0),a=(0,r.Z)(u,2),c=a[0],f=a[1],l=(0,s.useCallback)((function(){f((function(e){return e+1}))}),[f]);return(0,s.useEffect)((function(){e&&(n||c)&&(0,h.Fz)(e).then((function(e){if(e&&!y.ZP){var t=e.data.results.sort((function(e,t){return new Date(t.lastAccessTime)-new Date(e.lastAccessTime)}));i(t)}}))}),[n,c,e]),l},_=function(){var e=(0,l.jr)(),t=p(e);return(0,d._8)((function(e){var n=e.snapshot,r=e.set;return function(){var e=(0,i.Z)(c().mark((function e(o){var i,u,a,s;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.getPromise((0,g.$E)(o));case 2:return i=e.sent,u=i.map((function(e){return e.machineGUID})),e.next=6,n.getPromise(t);case 6:a=e.sent,(s=a.filter((function(e){return!u.includes(e.id)}))).length!==a.length&&r(t,s);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}),[e])}}}]); \ No newline at end of file