"use strict";(self.webpackChunkcentreon=self.webpackChunkcentreon||[]).push([["9609"],{40543:function(e,n,t){t.d(n,{A:()=>b});var r=t(9697),a=t(29934),i=t(5957),l=t(36152),o=t(57740),c=t(62053),s=t(29063),u=t(9697),f=(0,a.n9)()(function(e){return{filterSkeleton:{height:e.spacing(6),width:"100%"}}});let m=function(){var e=f().classes;return u.createElement(s.A,{animation:"wave",className:e.filterSkeleton,variant:"rectangular"})};var p=t(9697),d=(0,a.n9)()(function(e){return{listingSkeleton:{height:e.spacing(50),margin:e.spacing(2,1)}}});let g=function(){var e=d().classes;return p.createElement(s.A,{animation:"wave",className:e.listingSkeleton,variant:"rectangular"})};var v=t(9697);function h(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 y=(0,a.n9)()(function(e){return{filters:{borderBottom:"1px solid ".concat(e.palette.divider),margin:e.spacing(0,3)},listing:{margin:e.spacing(0,3),overflowY:"auto",paddingTop:e.spacing(1)},page:{display:"grid",gridTemplateRows:"auto 1fr",height:"100%",overflow:"hidden"}}});let b=function(e){var n,t=e.listing,a=e.filter,s=e.panel,u=e.panelOpen,f=e.panelFixed,p=e.pageClassName,d=e.listingScrollOffset,b=void 0===d?16:d,A=e.fullHeight,E=void 0!==A&&A,w=e.memoListingProps,O=y(),S=O.classes,k=O.cx,x=(0,r.useRef)(null),N=(0,c.BQ)({Component:t,memoProps:function(e){if(Array.isArray(e))return h(e)}(n=void 0===w?[]:w)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,n){if(e){if("string"==typeof e)return h(e,void 0);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 h(e,void 0)}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()});return v.createElement("div",{className:k(S.page,p)},v.createElement("div",{className:S.filters,ref:x},v.createElement(r.Suspense,{fallback:v.createElement(m,null)},a)),v.createElement(o.A,{fixed:void 0!==f&&f,open:void 0!==u&&u,panel:s},v.createElement(l.A,null,function(e){var n=e.height;return v.createElement(i.A,{className:S.listing,sx:function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){var r;r=t[n],n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r})}return e}({height:"calc(".concat(n,"px - ").concat(b,"px)")},E&&{height:"100%"})},v.createElement(r.Suspense,{fallback:v.createElement(g,null)},N))})))}},57740:function(e,n,t){t.d(n,{A:()=>l});var r=t(29934),a=t(9697),i=(0,r.n9)()(function(e,n){return{container:{display:"grid",gridTemplateColumns:"1fr auto",gridTemplateRows:"1fr"},content:{gridArea:n.panelDynamicAndOpen?"1 / 1 / 1 / 1":"1 / 1 / 1 / span 2"},panel:{gridArea:"1 / 2",zIndex:4}}});let l=function(e){var n=e.children,t=e.panel,r=e.open,l=e.fixed,o=i({panelDynamicAndOpen:!!(void 0!==l&&l)&&r}).classes;return a.createElement("div",{className:o.container},a.createElement("div",{className:o.content},n),r&&a.createElement("div",{className:o.panel},t))}},91888:function(e,n,t){t.r(n),t.d(n,{default:()=>s});var r=t(9697),a=t(62053),i=t(40543),l=t(9697),o=(0,r.lazy)(function(){return Promise.all([t.e("7934"),t.e("3954")]).then(t.bind(t,88441))}),c=(0,r.lazy)(function(){return Promise.all([t.e("2845"),t.e("9838"),t.e("7416"),t.e("7578"),t.e("1288"),t.e("6476"),t.e("9137"),t.e("1679"),t.e("7665"),t.e("969"),t.e("9824"),t.e("4394"),t.e("6667"),t.e("5757"),t.e("3778"),t.e("9518"),t.e("9590"),t.e("2731")]).then(t.bind(t,1638))});let s=function(){return(0,a.BQ)({Component:l.createElement(i.A,{filter:l.createElement(o,null),listing:l.createElement(c,null)}),memoProps:[]})}}}]);
//# sourceMappingURL=9609.bee4a7cab0d2e619.7a530fc23a224c1b.d9c6ad45f12e48bd.js.map