"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[6427],{86427:function(e,n,r){r.r(n);var t=r(77439),c=(r(57223),r(537)),o=r(11927),s=r(4481),a=r(12795),i=r(64519),u=r(90055),l=r(28939),f=r(70783),p=r(18054),d={setErrorSnackMessage:i.Ih},h=(0,c.$j)(null,d);n.default=(0,s.Z)((function(e){return(0,o.Z)({wrapText:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"}})}))(h((function(e){var n=e.classes,r=e.closeDeleteModalAndRefresh,c=e.deleteOpen,o=e.selectedServiceAccount,s=e.setErrorSnackMessage,i=(0,u.Z)((function(){return r(!0)}),(function(e){return s(e)})),d=(0,t.Z)(i,2),h=d[0],x=d[1];if(!o)return null;return(0,p.jsx)(l.Z,{title:"\u5220\u9664\u670d\u52a1\u6743\u9650",confirmText:"\u5220\u9664",isOpen:c,titleIcon:(0,p.jsx)(f.Nv,{}),isLoading:h,onConfirm:function(){x("DELETE","/api/v1/service-accounts/".concat(o))},onClose:function(){return r(!1)},confirmationContent:(0,p.jsxs)(a.Z,{children:["\u4f60\u786e\u8ba4\u5220\u9664\u670d\u52a1"," ",(0,p.jsx)("b",{className:n.wrapText,children:o}),"\u6743\u9650\uff1f"]})})})))}}]);
//# sourceMappingURL=6427.5338a9fd.chunk.js.map