"use strict";(self.webpackChunkname=self.webpackChunkname||[]).push([[5314,961],{66489:(e,t,r)=>{r.d(t,{Z:()=>k});var n=r(63366),o=r(87462),a=r(81672),i=r(86010),l=r(94780),c=r(70917),s=r(98216),u=r(71657),p=r(90948),d=r(22346),f=r(85893);const m=["className","color","disableShrink","size","style","thickness","value","variant"];let b,g,y,v,h=e=>e;const O=(0,c.F4)(b||(b=h`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),S=(0,c.F4)(g||(g=h`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),P=(0,p.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,s.Z)(r.color)}`]]}})((({ownerState:e,theme:t})=>(0,o.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,c.iv)(y||(y=h`
      animation: ${0} 1.4s linear infinite;
    `),O))),w=(0,p.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),j=(0,p.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${(0,s.Z)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,o.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,c.iv)(v||(v=h`
      animation: ${0} 1.4s ease-in-out infinite;
    `),S))),k=a.forwardRef((function(e,t){const r=(0,u.Z)({props:e,name:"MuiCircularProgress"}),{className:a,color:c="primary",disableShrink:p=!1,size:b=40,style:g,thickness:y=3.6,value:v=0,variant:h="indeterminate"}=r,O=(0,n.Z)(r,m),S=(0,o.Z)({},r,{color:c,disableShrink:p,size:b,thickness:y,value:v,variant:h}),k=(e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,a={root:["root",r,`color${(0,s.Z)(n)}`],svg:["svg"],circle:["circle",`circle${(0,s.Z)(r)}`,o&&"circleDisableShrink"]};return(0,l.Z)(a,d.C,t)})(S),x={},Z={},E={};if("determinate"===h){const e=2*Math.PI*((44-y)/2);x.strokeDasharray=e.toFixed(3),E["aria-valuenow"]=Math.round(v),x.strokeDashoffset=`${((100-v)/100*e).toFixed(3)}px`,Z.transform="rotate(-90deg)"}return(0,f.jsx)(P,(0,o.Z)({className:(0,i.Z)(k.root,a),style:(0,o.Z)({width:b,height:b},Z,g),ownerState:S,ref:t,role:"progressbar"},E,O,{children:(0,f.jsx)(w,{className:k.svg,ownerState:S,viewBox:"22 22 44 44",children:(0,f.jsx)(j,{className:k.circle,style:x,ownerState:S,cx:44,cy:44,r:(44-y)/2,fill:"none",strokeWidth:y})})}))}))},22346:(e,t,r)=>{r.d(t,{C:()=>a,Z:()=>i});var n=r(1588),o=r(34867);function a(e){return(0,o.Z)("MuiCircularProgress",e)}const i=(0,n.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"])},50737:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(79895),o=r(33206),a=r(14723),i=r(95124),l=r(89059);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function u(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p=(0,o.ZL)()((function(e){return{checkbox:{marginRight:e.spacing(1),padding:0},deleteIcon:{height:e.spacing(1.5),width:e.spacing(1.5)},tag:{backgroundColor:e.palette.divider,fontSize:e.typography.caption.fontSize,height:e.spacing(1.75)}}}));const d=function(e){var t=e.dataTestId,r=e.value,o=e.options,c=e.disableSortedOptions,d=void 0!==c&&c,f=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["dataTestId","value","options","disableSortedOptions"]),m=p().classes,b=r||[],g=d?o:u(b).concat(u((0,n.d1t)((function(e){var t=e.id,r=(0,n.UID)((0,n.vgT)("id"),b);return(0,n.q9t)(t,r)}),o)));return React.createElement(i.Z,s({disableCloseOnSelect:!0,displayOptionThumbnail:!0,multiple:!0,dataTestId:t,getLimitTagsText:function(e){return React.createElement(l.Z,null,"+".concat(e))},options:g,renderOption:function(e,t,r){var n=r.selected;return React.createElement("li",s({key:t.id},e),React.createElement(l.Z,{checkboxSelected:n},t.name))},renderTags:function(e,t){return e.map((function(e,r){return React.createElement(a.Z,s({classes:{deleteIcon:m.deleteIcon,root:m.tag},key:e.id,label:e.name,size:"small"},t({index:r})))}))},value:r},f))}},95124:(e,t,r)=>{r.d(t,{Z:()=>P});var n=r(81672),o=r(79895),a=r(63397),i=r(33206),l=r(66489),c=r(2734),s=r(91057),u=r(23776),p=r(80482),d=r(25979),f=r(89059),m=r(70961);function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){b(e,t,r[t])}))}return e}function v(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var h=function(e){return e?0:void 0},O=(0,i.ZL)()((function(e,t){var r,n,a=t.hideInput;return{input:{"&:after":{borderBottom:0},"&:before":{borderBottom:0,content:"unset"},"&:hover:before":{borderBottom:0},height:h(a)},inputLabel:{"&&":{fontSize:e.typography.body1.fontSize,maxWidth:"72%",overflow:"hidden",textOverflow:"ellipsis",transform:"translate(12px, 14px) scale(1)",whiteSpace:"nowrap"}},inputLabelShrink:{"&&":{maxWidth:"90%"}},inputWithLabel:{'&[class*="MuiFilledInput-root"]':{paddingTop:e.spacing(2)},paddingTop:e.spacing(1)},inputWithoutLabel:{'&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]':{paddingBottom:a?0:e.spacing(.75),paddingRight:a?0:e.spacing(1),paddingTop:a?0:e.spacing(.75)}},loadingIndicator:{textAlign:"center"},options:{alignItems:"center",display:"grid",gridAutoFlow:"column",gridGap:e.spacing(1)},popper:(n={},b(n,"& .".concat(p.Z.listbox),(r={},b(r,"& .".concat(p.Z.option),b({},'&:hover, &[aria-selected="true"], &.'.concat(p.Z.focused,",\n        &.").concat(p.Z.focused,'[aria-selected="true"]'),{background:(0,o.fS0)(e.palette.mode,d.ThemeMode.dark)?e.palette.primary.dark:e.palette.primary.light,color:(0,o.fS0)(e.palette.mode,d.ThemeMode.dark)?e.palette.common.white:e.palette.primary.main})),b(r,"padding",0),r)),b(n,"zIndex",e.zIndex.tooltip+1),n),textfield:{height:h(a),visibility:a?"hidden":"visible"}}})),S=function(){var e=O({}).classes;return n.createElement("div",{className:e.loadingIndicator},n.createElement(l.Z,{size:20}))};const P=function(e){var t=e.dataTestId,r=e.options,i=e.label,l=e.placeholder,p=e.loading,d=void 0!==p&&p,b=e.onTextChange,h=void 0===b?function(){}:b,P=e.endAdornment,w=void 0===P?void 0:P,j=e.inputValue,k=e.displayOptionThumbnail,x=void 0!==k&&k,Z=e.required,E=void 0!==Z&&Z,I=e.error,R=e.displayPopupIcon,T=void 0===R||R,C=e.autoFocus,A=void 0!==C&&C,D=e.hideInput,L=void 0!==D&&D,z=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["dataTestId","options","label","placeholder","loading","onTextChange","endAdornment","inputValue","displayOptionThumbnail","required","error","displayPopupIcon","autoFocus","hideInput"]),M=O({hideInput:L}),F=M.classes,N=M.cx,B=(0,a.useTranslation)().t,q=(0,c.Z)();return n.createElement(u.Z,g({disableClearable:!0,classes:{groupLabel:F.inputLabel,inputRoot:N([F.input,i?F.inputWithLabel:F.inputWithoutLabel]),popper:F.popper,root:F.textfield},forcePopupIcon:T,getOptionLabel:function(e){var t;return(null==e||null===(t=e.name)||void 0===t?void 0:t.toString())||""},isOptionEqualToValue:function(e,t){var r=["id","name"];return(0,o.fS0)((0,o.eiS)(r,e),(0,o.eiS)(r,t))},loading:d,loadingText:n.createElement(S,null),options:r,renderInput:function(e){return n.createElement(m.Z,g({},e,{InputLabelProps:{classes:{marginDense:F.inputLabel,shrink:F.inputLabelShrink}},InputProps:v(y({},e.InputProps),{"data-testid":t,endAdornment:n.createElement(n.Fragment,null,w&&n.createElement(s.Z,{position:"end"},w),e.InputProps.endAdornment),style:{paddingRight:q.spacing(5)}}),autoFocus:A,classes:{root:F.textfield},error:I,inputProps:v(y({},e.inputProps),{"aria-label":i}),label:i,placeholder:(0,o.kKJ)(l)?B("Search"):l,required:E,value:j||"",onChange:h}))},renderOption:function(e,t){return n.createElement("li",g({className:F.options},e),n.createElement(f.Z,{thumbnailUrl:x?t.url:void 0},t.name))},size:"small"},z))}},89059:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(81672),o=r(79895),a=r(33206),i=r(35681),l=r(59708),c=r(23972),s=r(25979),u=(0,a.ZL)()((function(e){return{checkbox:{marginRight:e.spacing(1),padding:0},container:{"&:hover, &.Mui-selected, &.Mui-selected:hover":{background:(0,o.fS0)(e.palette.mode,s.ThemeMode.dark)?e.palette.primary.dark:e.palette.primary.light,color:(0,o.fS0)(e.palette.mode,s.ThemeMode.dark)?e.palette.common.white:e.palette.primary.main},alignItems:"center",display:"flex"}}}));const p=(0,n.forwardRef)((function(e,t){var r=e.children,n=e.checkboxSelected,a=e.thumbnailUrl,s=u().classes;return React.createElement("div",{className:s.container,ref:t},!(0,o.kKJ)(n)&&React.createElement(i.Z,{checked:n,className:s.checkbox,color:"primary",size:"small"}),React.createElement(l.Z,{alignItems:"center",direction:"row",spacing:1},a&&React.createElement("img",{alt:r,height:20,src:a,width:20}),React.createElement(c.Z,{variant:"body2"},r)))}))},70961:(e,t,r)=>{r.d(t,{Z:()=>b});var n=r(81672),o=r(79895),a=r(33206),i=r(91057),l=r(21023),c=r(22715);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){s(e,t,r[t])}))}return e}function d(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var f=(0,a.ZL)()((function(e){return{compact:{fontSize:"x-small"},input:{fontSize:e.typography.body1.fontSize},noLabelInput:{padding:e.spacing(1)},transparent:{backgroundColor:"transparent"}}})),m=function(e){var t=e.label,r=e.position,n=e.children,o=!t&&{style:{marginTop:0}};return React.createElement(i.Z,u({},o,{position:r}),n)};const b=(0,n.forwardRef)((function(e,t){var r=e.StartAdornment,n=e.EndAdornment,a=e.label,i=e.error,b=e.ariaLabel,g=e.dataTestId,y=e.transparent,v=void 0!==y&&y,h=e.size,O=e.displayErrorInTooltip,S=void 0!==O&&O,P=e.className,w=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["StartAdornment","EndAdornment","label","error","ariaLabel","dataTestId","transparent","size","displayErrorInTooltip","className"]),j=f(),k=j.classes,x=j.cx,Z=S&&!(0,o.kKJ)(i)?i:"";return React.createElement(l.Z,{placement:"top",title:Z},React.createElement(c.Z,u({InputProps:d(p({},w.InputProps),{className:x(s({},k.transparent,v),P),disableUnderline:!0,endAdornment:n&&React.createElement(m,{label:a,position:"end"},React.createElement(n,null)),startAdornment:r&&React.createElement(m,{label:a,position:"start"},React.createElement(r,null))}),error:!(0,o.kKJ)(i),helperText:S?void 0:i,inputProps:d(p({},w.inputProps),{"aria-label":b,"data-testid":g}),label:a,ref:t,size:h||"small"},w)))}))},63325:(e,t,r)=>{r.d(t,{I0:()=>a,P0:()=>i,PU:()=>l,gn:()=>u,iv:()=>c,lD:()=>s});var n="./api/internal.php",o="".concat(n,"?object=centreon_configuration_remote"),a="".concat(o,"&action=getPollerWaitList"),i="".concat(o,"&action=getRemotesList"),l="".concat(o,"&action=getWaitList"),c="./api/internal.php?object=centreon_configuration_poller&action=list",s="".concat(o,"&action=linkCentreonRemoteServer"),u="".concat(n,"?object=centreon_task_service&action=getTaskStatus")},75700:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(63397),o=r(79895),a=r(66489),i=r(69397),l=r(22802),c=r(62586),s=r(97163);const u=function(e){var t=e.goToPreviousStep,r=e.disabled,u=e.type,p=(0,s.y)(),d=(0,n.useTranslation)().t,f=(0,o.fS0)(u,l.p.Next)?d(c.TY):d(c.Ti),m=(0,o.fS0)(u,l.p.Apply)&&r?React.createElement(a.Z,{size:15}):null;return React.createElement("div",{className:p.formButton},React.createElement(i.Z,{size:"small",onClick:t},d(c.bh)),React.createElement(i.Z,{color:"primary",disabled:r,endIcon:m,size:"small",type:"submit",variant:"contained"},f))}},59395:(e,t,r)=>{r.d(t,{K8:()=>c,Tq:()=>i,jF:()=>s,sc:()=>l});var n=r(80620);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){o(e,t,r[t])}))}return e}var i=(0,n.atom)(null),l=(0,n.atom)(null,(function(e,t,r){t(i,a({},e(i),r))})),c=(0,n.atom)(null),s=(0,n.atom)(null,(function(e,t,r){t(c,a({},e(c),r))}))},5314:(e,t,r)=>{r.r(t),r.d(t,{default:()=>P});var n=r(81672),o=r(63397),a=r(89250),i=r(79895),l=r(80620),c=r(23972),s=r(58226),u=r(66737),p=r(50737),d=r(75700),f=r(97163),m=r(16011),b=r(59395),g=r(62586),y=r(22802),v=r(63325);function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const P=function(e){var t=e.goToNextStep,r=e.goToPreviousStep,h=(0,f.y)(),P=(0,o.useTranslation)().t,w=S((0,n.useState)(null),2),j=w[0],k=w[1],x=S((0,n.useState)([]),2),Z=x[0],E=x[1],I=(0,s.Z)({request:u.Yu}).sendRequest,R=(0,s.Z)({request:u.qC}),T=R.sendRequest,C=R.sending,A=(0,l.useAtomValue)(b.K8),D=(0,l.useSetAtom)(b.jF),L=(0,a.s0)(),z=null==j?void 0:j.map((0,i.eiS)(["id","name"]));return(0,n.useEffect)((function(){I({data:null,endpoint:v.iv}).then((function(e){var t,r=e.items;k((0,i.xbD)(r)?null:(t=r.map((function(e){return{id:e.id,name:e.text}})),t.filter((function(e){return"1"!==e.id}))))}))}),[]),React.createElement("div",null,React.createElement("div",{className:h.formHeading},React.createElement(c.Z,{variant:"h6"},P(g.u0))),React.createElement("form",{autoComplete:"off",onSubmit:function(e){e.preventDefault();var r,n,o=(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){O(e,t,r[t])}))}return e}({},A),n={linked_pollers:Z.map((function(e){return e.id}))},n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r}(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))})),r);o.server_type="remote",T({data:o,endpoint:v.lD}).then((function(e){var r=e.success,n=e.task_id;r&&n?(D({submitStatus:r,taskId:n}),t()):L(m.Z.pollerList)})).catch((function(){}))}},React.createElement(p.Z,{fullWidth:!0,label:P(g.nR),options:z||[],value:Z,onChange:function(e,t){E(t)}}),React.createElement(d.Z,{disabled:C,goToPreviousStep:r,type:y.p.Apply})))}},62586:(e,t,r)=>{r.d(t,{$m:()=>i,BD:()=>O,Bs:()=>d,EI:()=>k,GM:()=>g,H0:()=>E,HT:()=>u,Ib:()=>y,Ke:()=>A,LI:()=>S,Mf:()=>f,P6:()=>l,R4:()=>v,TE:()=>I,TY:()=>R,Ti:()=>C,V:()=>b,Xe:()=>h,_L:()=>j,_y:()=>w,bh:()=>T,i2:()=>a,i9:()=>p,jN:()=>Z,l3:()=>c,lZ:()=>m,nR:()=>x,no:()=>n,tT:()=>P,u0:()=>o,uA:()=>s});var n="Export generation timeout",o="Add advanced server configuration",a="Create new Poller",i="Select a Poller",l="Select Pending Poller IP",c="Do not check SSL certificate validation",s="Creating Export Task",u="Generating Export Files",p="Add a Centreon Poller",d="Add a Centreon Remote Server",f="Server Configuration",m="Choose a server type",b="Create new Remote Server",g="Select a Remote Server",y="Select Pending Remote Links",v="Server Name",h="Server IP address",O="Database username",S="Database password",P="Centreon Central IP address, as seen by this server",w="Centreon Web Folder on Remote",j="Attach poller to a master remote server",k="Attach poller to additional remote servers",x="Select pollers to be attached to this new Remote Server",Z="Advanced: reverse Centreon Broker communication flow",E="Do not use configured proxy to connect to this server",I="Finalizing Setup",R="Next",T="Previous",C="Apply",A="Required"},97163:(e,t,r)=>{r.d(t,{w:()=>i,y:()=>a});var n=r(16779),o=r(47036),a=(0,n.Z)((function(e){return{form:{display:"flex",flexDirection:"column",rowGap:e.spacing(2),width:"100%"},formButton:{columnGap:e.spacing(1),display:"flex",flexDirection:"row",justifyContent:"flex-end",marginTop:e.spacing(1.875)},formHeading:{marginBottom:e.spacing(.625)},formItem:{paddingBottom:e.spacing(1.875)},formText:{color:"#242f3a",fontFamily:"Roboto Regular",fontSize:e.spacing(1.5),margin:"20px 0"},wizardRadio:{columnGap:e.spacing(2),display:"flex",justifyContent:"center",marginBottom:e.spacing(3)}}})),i=(0,n.Z)((function(e){return{formButton:{columnGap:e.spacing(1),display:"flex",flexDirection:"row",justifyContent:"flex-end",marginTop:e.spacing(1.875)},formHeading:{marginBottom:e.spacing(.625)},formText:{color:o.Z[500],fontFamily:"Roboto Regular",fontSize:e.spacing(1.5),margin:"20px 0"},statusCreating:function(e){return{color:e.statusCreating?"#acd174":"#d0021b"}},statusGenerating:function(e){return{color:e.statusGenerating?"#acd174":"#d0021b"}}}}))}}]);