"use strict";(self.webpackChunkcentreon=self.webpackChunkcentreon||[]).push([["7776"],{72057:function(e,n,t){t.d(n,{cZ:()=>a,n7:()=>u});var r=t(69971),o=t(70145),a=function(e){var n=(0,r.useRef)(),t=(0,r.useRef)(0);return(0,o.Z)(e,n.current)||(n.current=e,t.current+=1),[t.current]},u=function(e){var n=e.Component,t=e.memoProps;return(0,r.useMemo)(function(){return n},a(t))}},98096:function(e,n,t){t.d(n,{HI:()=>u,gs:()=>o,iz:()=>a});var r=t(84302),o="".concat(r.Zb,"/authentication/providers/configurations/local"),a="".concat(r.Zb,"/authentication/providers/configurations"),u="".concat(r.Zb,"/it-edition-extensions/login_page")},6285:function(e,n,t){t.d(n,{K:()=>f,Z:()=>d});var r=t(31378),o=t(48065),a=t(91373),u=t(16835),i=t(90635),c=t(78491),l=t(84302);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}var f=(0,r.atom)(null);let d=function(){var e,n=(0,a.Z)({decoder:c.r_,httpCodesBypassErrorSnackbar:[403,401],request:u.Yu}).sendRequest,t=(e=(0,r.useAtom)(f),function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],u=!0,i=!1;try{for(o=o.call(e);!(u=(t=o.next()).done)&&(a.push(t.value),a.length!==n);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==o.return||o.return()}finally{if(i)throw r}}return a}}(e,2)||function(e,n){if(e){if("string"==typeof e)return s(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,n)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=t[0],m=t[1],p=(0,r.useSetAtom)(i.userAtom);return function(){return d?null:n({endpoint:l.pC}).then(function(e){if(!(0,o.Z)(e)){var n=e.id,t=e.alias,r=e.isExportButtonEnabled,a=e.locale,u=e.name,c=e.themeMode,l=e.timezone,s=e.use_deprecated_pages,f=e.default_page,d=e.user_interface_density,h=e.dashboard,b=e.isAdmin,g=e.canManageApiTokens;c===i.ThemeMode.dark?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),p({alias:t,canManageApiTokens:g,dashboard:h,default_page:f||"/monitoring/resources",id:n,isAdmin:b,isExportButtonEnabled:r,locale:a,name:u,themeMode:c,timezone:l,use_deprecated_pages:s,user_interface_density:d}),m(!0)}}).catch(function(){m(!1)})}}},69878:function(e,n,t){e.exports={button:"centreon-a22bef152e8b2016-button"}},39136:function(e,n,t){t.d(n,{Z:()=>a});var r=t(98896),o=t(74132);let a=(0,r.Z)((0,o.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},17972:function(e,n,t){t.d(n,{Z:()=>r});let r=(0,t(35447).Z)(function(e,n){return Number(e)+Number(n)})},78700:function(e,n,t){t.d(n,{Z:()=>o});var r=t(44072);let o=(0,t(35447).Z)(function(e,n){return(0,r.Z)(n,[e])})},44072:function(e,n,t){t.d(n,{Z:()=>r});function r(e,n){n=n||[];var t,r=(e=e||[]).length,o=n.length,a=[];for(t=0;t<r;)a[a.length]=e[t],t+=1;for(t=0;t<o;)a[a.length]=n[t],t+=1;return a}},87607:function(e,n,t){t.d(n,{Z:()=>r});let r=(0,t(99443).Z)(function(e,n,t){return t.replace(e,n)})}}]);
//# sourceMappingURL=7776.7c136182813d0655.b41d638e540e7d97.2e0808560de9b2c0.js.map