import{m as w}from"./chunk-U3XAGOD7.js";import{b as E}from"./chunk-QIWZD5HO.js";import{Ac as p,Bc as d,Jb as C,Kb as u,Ob as M,Pb as l,Ub as o,Vb as a,Wb as c,_b as k,bc as x,cb as b,cc as s,db as T,gb as i,ma as L,mc as _,nc as y,oc as v,tb as B,ua as I,va as g,zb as m}from"./chunk-6JZDPQRU.js";function H(t,f){if(t&1&&c(0,"i",15),t&2){let e=s();M("fas fa-fw ",e.faIconClass," mb-3")}}function S(t,f){if(t&1&&c(0,"h5",6),t&2){let e=s();u("innerHTML",e.subtitle,b)}}function h(t,f){if(t&1&&c(0,"p",8),t&2){let e=s();u("innerHTML",e.message2,b)}}function z(t,f){if(t&1){let e=k();o(0,"button",16),p(1,"translate"),x("click",function(){I(e);let n=s();return g(n.$activeModal.dismiss("Dismiss"))}),_(2),p(3,"translate"),a()}t&2&&(C("aria-label",d(1,2,"form.button_close")),i(2),v(" ",d(3,4,"form.button_close")," "))}function V(t,f){if(t&1){let e=k();o(0,"button",16),p(1,"translate"),x("click",function(){I(e);let n=s();return g(n.$activeModal.dismiss("Dismiss"))}),_(2),p(3,"translate"),a()}t&2&&(C("aria-label",d(1,2,"form.button_close")),i(2),v(" ",d(3,4,"form.button_close")," "))}function D(t,f){if(t&1&&(o(0,"a",14),_(1),c(2,"i",17),a()),t&2){let e=s();u("href",e.ctaButtonLink,T),i(),v(" ",e.ctaButtonLabel," ")}}var q=(()=>{class t{$activeModal=L(w);title;subtitle;message;message2;ctaButtonLabel;ctaButtonLink;faIconClass;constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=B({type:t,selectors:[["ng-component"]],inputs:{title:"title",subtitle:"subtitle",message:"message",message2:"message2",ctaButtonLabel:"ctaButtonLabel",ctaButtonLink:"ctaButtonLink",faIconClass:"faIconClass"},decls:18,vars:11,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[2,"font-size","75px",3,"class"],[1,"mb-3",3,"innerHTML"],[1,"mb-0",3,"innerHTML"],[1,"mb-0","mt-3",3,"innerHTML"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant"],[1,"text-center"],[1,"text-end"],["target","_blank","rel","noopener noreferrer",1,"btn","btn-primary","text-decoration-none",3,"href"],[2,"font-size","75px"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"fas","fa-fw","fa-external-link-alt"]],template:function(r,n){r&1&&(o(0,"div",0)(1,"div",1)(2,"h5",2),_(3),a(),o(4,"button",3),p(5,"translate"),x("click",function(){return n.$activeModal.dismiss("Dismiss")}),a()(),o(6,"div",4),m(7,H,1,3,"i",5)(8,S,1,1,"h5",6),c(9,"p",7),m(10,h,1,1,"p",8),a(),o(11,"div",9)(12,"div",10),m(13,z,4,6,"button",11),a(),o(14,"div",12),m(15,V,4,6,"button",11),a(),o(16,"div",13),m(17,D,3,2,"a",14),a()()()),r&2&&(i(3),y(n.title),i(),C("aria-label",d(5,9,"form.button_close")),i(3),l(n.faIconClass?7:-1),i(),l(n.subtitle?8:-1),i(),u("innerHTML",n.message,b),i(),l(n.message2?10:-1),i(3),l(n.ctaButtonLink?13:-1),i(2),l(n.ctaButtonLink?-1:15),i(2),l(n.ctaButtonLink?17:-1))},dependencies:[E],encapsulation:2})}return t})();export{q as a};
