import{a as T}from"./chunk-MPOTNIVB.js";import{y as L}from"./chunk-GTIDDZQJ.js";import{a as M}from"./chunk-H4HM5ZJD.js";import{H as S,Na as v,Oa as w,Qa as _,ba as y,hb as D,ib as E,jb as I,k as b,s as x}from"./chunk-MLI5PH7P.js";import{Bb as m,Dc as c,Ec as g,Fc as u,Qc as h,Tb as s,Vc as f,Wc as C,dc as r,ec as i,gb as l,lb as o,oc as d,rb as p}from"./chunk-42LKD4JQ.js";import"./chunk-2AVGQ2MQ.js";var F=()=>({"minWidth.%":44}),H=(()=>{class n{constructor(e){this.configService=e,this.currentYear=new Date().getFullYear(),this.parabluLogo="",this.crashplanLogo="",this.imageSrc=["assets/brand/crashplan-logo.png","assets/brand/login_logo.png","assets/images/crashplan-logo.png","assets/images/login_logo.png"],this.imageSrc[1]=`/brandings/${e.cloudName}/brandings/login_logo.png`,this.imageSrc[0]=`/brandings/${e.cloudName}/brandings/header_logo.png`,this.parabluLogo=this.imageSrc[0],this.crashplanLogo=this.imageSrc[1]}onImageError(e){let t=e.target;t.src=this.imageSrc[2]}static{this.\u0275fac=function(t){return new(t||n)(p(M))}}static{this.\u0275cmp=m({type:n,selectors:[["app-operationSuccess"]],decls:18,vars:7,consts:[[1,"bg-light","dark:bg-transparent","d-flex","flex-row","align-items-center"],["breakpoint","md"],[1,"justify-content-center"],["lg","10","xl","8"],[1,"text-white","py-5",3,"ngStyle"],[1,"text-center",2,"margin","auto"],[1,"col-lg-12"],["alt","Loaded Image","loading","lazy",1,"d-block","w-100",2,"margin-top","10%",3,"error","src"],[1,"p-4"],[1,"d-flex","justify-content-center",2,"align-items","center"],["xs","12",1,"text-right"],[1,"text-center"],["href","https://www.crashplan.com","target","_blank",2,"color","#062D4D","text-decoration","none"]],template:function(t,a){t&1&&(r(0,"div",0)(1,"c-container",1)(2,"c-row",2)(3,"c-col",3)(4,"c-card-group")(5,"c-card",4)(6,"c-card-body",5)(7,"div",6)(8,"img",7),d("error",function(k){return a.onImageError(k)}),i()()()(),r(9,"c-card",8)(10,"c-card-body",9)(11,"c-col",10)(12,"h4"),c(13),f(14,"translate"),i()()()()()()()()(),r(15,"div",11)(16,"a",12),c(17),i()()),t&2&&(o(5),s("ngStyle",h(6,F)),o(3),s("src",a.parabluLogo,l),o(5),g(C(14,4,"The operation performed was successful.")),o(4),u("\xA9 CrashPlan ",a.currentYear," "))},dependencies:[D,I,E,_,v,w,b,S,L,x,T,y],encapsulation:2})}}return n})();export{H as OperationSuccessComponent};
