import{Af as E,C as a,Z as i,ba as n,hh as s,k as p,qd as c}from"./chunk-7XPKW7E5.js";import{i as o}from"./chunk-SNJLK5AI.js";var t=class t{authHttp=n(c);restExtractor=n(s);getInstanceHomepage(){return this.authHttp.get(t.BASE_INSTANCE_HOMEPAGE_URL).pipe(a(r=>r.status===404?p({content:""}):this.restExtractor.handleError(r)))}updateInstanceHomepage(r){return this.authHttp.put(t.BASE_INSTANCE_HOMEPAGE_URL,{content:r}).pipe(a(e=>this.restExtractor.handleError(e)))}};o(t,"BASE_INSTANCE_HOMEPAGE_URL",E.apiUrl+"/api/v1/custom-pages/homepage/instance"),o(t,"\u0275fac",function(e){return new(e||t)}),o(t,"\u0275prov",i({token:t,factory:t.\u0275fac}));var m=t;export{m as a};
/**i18n:8bbaae6e8f892c770558263409b04864bea4163b0f68bbe3358622c96ded4382*/
//# sourceMappingURL=chunk-PGZ2TRZP.js.map
