Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ModalImportWarning",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/core","@frontend-taglib-clay$clayui/modal","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.ModalImportWarning=function ModalImportWarning({handleImport:e,header:t,onClose:a,paragraphs:u}){const{observer:c}=(0,l.useModal)();return o.default.createElement(l.default,{center:!0,observer:c,status:"warning"},o.default.createElement(l.default.Header,null,t),o.default.createElement(l.default.Body,null,o.default.createElement("div",{className:"text-secondary"},u.map(((e,t)=>o.default.createElement(n.Text,{as:"p",color:"secondary",key:t},e))))),o.default.createElement(l.default.Footer,{last:o.default.createElement(r.default.Group,{spaced:!0},o.default.createElement(r.default,{displayType:"secondary",onClick:()=>a(!1)},Liferay.Language.get("cancel")),o.default.createElement(r.default,{displayType:"warning",onClick:()=>{e(),a(!1)},type:"button"},Liferay.Language.get("continue")))}))};var r=_interopRequireDefault(a("@frontend-taglib-clay$clayui/button")),n=a("@frontend-taglib-clay$clayui/core"),l=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var l=r?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(a,n,l):a[n]=e[n]}a.default=e,t&&t.set(e,a);return a}(a("@frontend-taglib-clay$clayui/modal")),o=_interopRequireDefault(a("liferay!frontend-js-react-web$react"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=ModalImportWarning.js.map