1import{a as v,b as f}from"./chunk-G2TZFKRQ.js";import{wa as h}from"./chunk-BRBR4SKB.js";import{Ab as l,Da as a,Ea as r,Ic as u,La as c,Wa as p,bc as g,eb as m,fb as s,gb as d,ya as o}from"./chunk-2PNQIH3N.js";var $=(()=>{class n{constructor(i,t,e,S){this._appService=i,this._seoService=t,this._router=e,this.document=S}ngOnInit(){this._appService.siteInfoLoaded.subscribe(i=>{i&&this._appService.getLegalPages().subscribe(t=>{this.endUserAgreement=t.endUserAgreement;let e=new f;e.title=`End User Agreement | ${this._appService.siteResources.locationName}`,e.author=`${this._appService.siteResources.locationName}`,e.description=`${this.endUserAgreement?this.endUserAgreement.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(t){return new(t||n)(r(h),r(v),r(u),r(g))}}static{this.\u0275cmp=c({type:n,selectors:[["app-end-user-agreement"]],decls:4,vars:1,consts:[[2,"background","#ffffff","padding","12px","max-width","860px","margin","auto"],["tabindex","0",3,"innerHtml"]],template:function(t,e){t&1&&(m(0,"div",0)(1,"h1"),l(2,"End User Agreement"),s(),d(3,"div",1),s()),t&2&&(a(3),p("innerHtml",e.endUserAgreement,o))},encapsulation:2})}}return n})();export{$ as EndUserAgreementComponent};
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.