1import{a as u,b as y}from"./chunk-G2TZFKRQ.js";import{wa as h}from"./chunk-BRBR4SKB.js";import{Ab as d,Da as s,Ea as c,La as n,Wa as p,bc as v,eb as l,fb as a,gb as m,ya as r}from"./chunk-2PNQIH3N.js";var I=(()=>{class o{constructor(t,i,e){this.appService=t,this._seoService=i,this.document=e}ngOnInit(){this.appService.siteInfoLoaded.subscribe(t=>{t&&this.appService.getLegalPages().subscribe(i=>{this.privacyPolicy=i.privacyPolicy;let e=new y;e.title=`Privacy Policy | ${this.appService.siteResources.locationName}`,e.author=`${this.appService.siteResources.locationName}`,e.description=`${this.privacyPolicy?this.privacyPolicy.replace(/(<([^>]+)>)/ig,"").slice(0,150):null}`,e.published=new Date(this.appService.siteResources.updatedAt).toDateString(),e.url=this.document.URL,e.image=this.appService.siteResources.logoImage?this.appService.siteResources.logoImage.url:null,e.type="website",this._seoService.setData(e),this.schema={"@context":"http://schema.org/","@type":"WebPage",name:`${e.title}`,description:`${e.description}`,datePublished:`${e.published}`,publisher:{"@type":"Organization",name:`${e.author}`,logo:{"@type":"ImageObject",url:`${e.image}`}}}})})}static{this.\u0275fac=function(i){return new(i||o)(c(h),c(u),c(v))}}static{this.\u0275cmp=n({type:o,selectors:[["app-privacy-policy"]],decls:4,vars:1,consts:[[2,"background","#ffffff","padding","12px","max-width","860px","margin","auto"],["tabindex","0",3,"innerHtml"]],template:function(i,e){i&1&&(l(0,"div",0)(1,"h1"),d(2,"Privacy Policy"),a(),m(3,"div",1),a()),i&2&&(s(3),p("innerHtml",e.privacyPolicy,r))},encapsulation:2})}}return o})();export{I as PrivacyPolicyComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.