"use strict";(self.webpackChunksalon_web=self.webpackChunksalon_web||[]).push([[850],{6850:(M,l,c)=>{c.r(l),c.d(l,{NoticeModule:()=>x});var s=c(6895),r=c(4553),t=c(4650),d=c(5830),u=c(7241),a=c(502);const p=function(){return{"border-radius":"5px",height:"10px",width:"100%"}};function g(o,i){1&o&&t._UZ(0,"ngx-skeleton-loader",5),2&o&&t.Q6J("theme",t.DdM(1,p))}const m=function(){return[1,2,3,4,5,6,7,8,9]};function f(o,i){1&o&&(t.TgZ(0,"div"),t.YNc(1,g,1,2,"ngx-skeleton-loader",4),t.qZA()),2&o&&(t.xp6(1),t.Q6J("ngForOf",t.DdM(1,m)))}function h(o,i){if(1&o&&t._UZ(0,"p",6),2&o){const e=t.oxw();t.Q6J("innerHTML",e.content,t.oJD)}}const N=[{path:"",component:(()=>{class o{constructor(e,n){this.api=e,this.util=n,this.loaded=!1,this.getPageInfo()}getPageInfo(){const e={id:3};console.log("param",e),this.api.post_private("v1/pages/getContent",e).then(n=>{this.loaded=!0,console.log(n),n&&n.status&&200==n.status&&n.data&&(this.content=n.data.content)},n=>{console.log(n),this.util.errorMessage(this.util.translate("Something went wrong")),this.loaded=!0}).catch(n=>{console.log(n),this.util.errorMessage(this.util.translate("Something went wrong")),this.loaded=!0})}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(d.s),t.Y36(u.f))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-notice"]],decls:4,vars:2,consts:[[1,"container"],[1,"notice-container"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"theme",4,"ngFor","ngForOf"],[3,"theme"],[3,"innerHTML"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,f,2,2,"div",2),t.YNc(3,h,1,1,"p",3),t.qZA()()),2&e&&(t.xp6(2),t.Q6J("ngIf",!n.loaded),t.xp6(1),t.Q6J("ngIf",n.loaded))},dependencies:[s.sg,s.O5,a.xr],styles:['@charset "UTF-8";.notice-container[_ngcontent-%COMP%]{margin-bottom:50px;padding-top:20px}']}),o})()}];let v=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[r.Bz.forChild(N),r.Bz]}),o})(),x=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[s.ez,v,a.hx]}),o})()}}]);