import{__assign as e}from"../../../node_modules/tslib/tslib.es6.js";import t from"react";import{DEFAULT_BLOC_PROPERTIES as l}from"../../Bloc/BlocProperties.js";import r from"../Modal/Modal.js";import a from"../../Media/PictureWithImageFallback.js";var o=e(e({},l),{url:"",imageUrl:"",title:"",ctaButton:"",ctaCallBack:"",ctaInput:"",ctaInputType:"",delay:3e3,autoDismiss:!1,fullScreen:!1,height:600});export default function(e){var l=e.url,o=e.imageUrl,i=e.title;return t.createElement(t.Fragment,null,t.createElement(r,{modalTriggerButton:e.children,modalTriggerButtonClassName:"",modalTitle:"",modalSize:"lg",ActionButton:!1,ActionButtonLabel:"",ActionButtonColorScheme:""},t.createElement("a",{rel:"noreferrer",href:l,target:(null==l?void 0:l.startsWith("/"))?"_self":"_blank"},t.createElement(a,{className:"Image__link__img w-100",style:{objectFit:"'cover'"},src:o,alt:i,title:"",useWebP:!1}))))}export{o as DEFAULT_POPUP};
//# sourceMappingURL=PopUp.js.map
