exports.id=1780,exports.ids=[1780],exports.modules={41780:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});var o=r(33339),n=r(2614),a=r(83982),s=r(29746),c=r(41325),i=r(27791),p=r.n(i),l=r(6133);let d={EmptyState:l.Z};var m=r(91716),y=r(20997);function ownKeys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){var o;o=r[e],e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}let useErrorState=()=>{let t=(0,o.useRouter)(),{query:{errorId:e,fromUrl:r},pathname:n,asPath:a}=t;return{errorId:e,fromUrl:r??a??n}};function EmptyState_EmptyState({title:t,titleIcon:e,children:r,subtitle:o,errorState:i,showLoader:l=!1}){let{EmptyState:d}=(0,s.r3)(),{errorId:m,fromUrl:u}=useErrorState(),f=e?.icon?y.jsx(n.Z,{name:e?.icon,"aria-label":e?.alt,width:56,height:56,weight:"thin"}):d.props.titleIcon;return y.jsx(c.Z,{className:`${p().section} section-empty-state`,children:(0,y.jsxs)(d.Component,_objectSpread(_objectSpread({bkgColor:"light"},d.props),{},{title:t??d.props.title,titleIcon:f,children:[!!o&&y.jsx("h2",{children:o}),!!i?.errorId?.show&&y.jsx("p",{children:`${i?.errorId?.description} ${m}`}),!!i?.fromUrl?.show&&y.jsx("p",{children:`${i?.fromUrl?.description} ${u}`}),l&&y.jsx(a.Z,{}),r]}))})}EmptyState_EmptyState.$componentKey="EmptyState";let u=(0,m.B)("EmptyState",EmptyState_EmptyState,d),f=u},27791:t=>{t.exports={section:"section_section__KG_b8",load:"section_load__DKeod"}},6133:(t,e,r)=>{"use strict";r.d(e,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var o=r(16689),n=r.n(o);let __WEBPACK_DEFAULT_EXPORT__=function({testId:t="fs-empty-state",title:e,titleIcon:r,variant:o="default",bkgColor:a="default",children:s,...c}){return n().createElement("section",{"data-fs-empty-state":!0,"data-fs-empty-state-variant":o,"data-fs-empty-state-bkg-color":a,"data-fs-content":"empty-state","data-testid":t,...c},e&&n().createElement("header",{"data-fs-empty-state-title":!0},r&&n().createElement(n().Fragment,null,r),n().createElement("p",null,e)),s)}}};