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