PageSourceSearch

https://app.weddingpage.ai/chunk-KRUBFACZ.js

js weddingpage.ai collected 2026-10-05 13:21:03 UTC 4,312 bytes, 2 lines download raw bytes

1import{b as v}from"./chunk-JEYBAYD4.js";import{f as T}from"./chunk-FBSIO2B4.js";import{a as o}from"./chunk-DLL3OUUD.js";import{b as f}from"./chunk-Z2MDTFY3.js";import{h as u,i as h}from"./chunk-TTZQWUBC.js";import{d as g}from"./chunk-JMYVWIHS.js";import{ka as d,na as m,pa as a}from"./chunk-4IVTWYCS.js";import{a as l}from"./chunk-K7JVZNMP.js";var y=new m("HostUrl");var S={de:{title:"Du bist eingeladen \u2014 \xF6ffne deine Eventseite f\xFCr alle Details",description:"Sieh dir deine Eventdetails, Programm und Zugang online an. Einfach, sicher und \xFCbersichtlich \u2014 deine Einladung wartet auf dich, sobald du bereit bist."},en:{title:"You're invited \u2014 open your event page to view full details",description:"View your event details, schedule and access online. Easy, private and reliable \u2014 your invitation is ready when you are."}},O=(()=>{let n=class n{constructor(e,t,r,i,s,p){this.metaTagService=e,this.titleService=t,this.hostUrl=r,this.router=i,this.tenantStore=s,this.document=p}updateMetadata(e,t=!0){!this.hostUrl&&typeof window<"u"&&window&&window.location&&(this.hostUrl=window.location.protocol+"//"+window.location.hostname);let r=this.hostUrl?this.extractHostname(this.hostUrl):"",i=l({type:"website"},e);i.title&&(this.metaTagService.updateTag({name:"title",content:i.title},"name='title'"),this.metaTagService.updateTag({property:"og:title",content:i.title},"property='og:title'"),this.titleService.setTitle(i.title)),i.description&&i.description!==""?(this.metaTagService.updateTag({name:"description",content:i.description},"name='description'"),this.metaTagService.updateTag({property:"og:description",content:i.description},"property='og:description'")):(this.metaTagService.removeTag("name='description'"),this.metaTagService.removeTag("property='og:description'"));let s=this.resolveImage(e,r);s?this.metaTagService.updateTag({property:"og:image",content:s},"property='og:image'"):this.metaTagService.removeTag("property='og:image'"),i.keywords&&i.keywords.length>0?this.metaTagService.updateTag({name:"keywords",content:i.keywords.join(", ")},"name='keywords'"):this.metaTagService.removeTag("name='keywords'"),i.type&&this.metaTagService.updateTag({property:"og:type",content:i.type},"property='og:type'"),this.metaTagService.updateTag({property:"og:url",content:t?`${this.hostUrl??""}${this.router.url}`:`${this.hostUrl??""}`},"property='og:url'"),this.metaTagService.updateTag({property:"og:site_name",content:this.resolveSiteName(r)},"property='og:site_name'");let p=!!(r&&o.workspaceSubdomainLabel(r)&&!this.tenantStore?.isDomainTenant());this.metaTagService.updateTag({name:"robots",content:t&&!p?"index, follow":"noindex"},"name='robots'"),this.updateCanonicalLink(p)}updateCanonicalLink(e){let t=this.document.head.querySelector('link[rel="canonical"]');if(!e){t?.remove();return}t||(t=this.document.createElement("link"),t.setAttribute("rel","canonical"),this.document.head.appendChild(t)),t.setAttribute("href",`${o.appHostUrl()}${this.router.url}`)}resolveSeoCopy(e,t){return e==="APP.SEO_DEFAULTS.EVENT_INVITE.TITLE"?S[t].title:e==="APP.SEO_DEFAULTS.EVENT_INVITE.DESCRIPTION"?S[t].description:""}resolveImage(e,t){if(Object.prototype.hasOwnProperty.call(e,"image")){let r=e.image;return typeof r=="string"&&r.length>0?r:""}return this.getDefaultImage(t)}getDefaultImage(e){if(this.tenantStore?.isDomainTenant()||e&&!o.isMainAppDomain(e)&&!o.workspaceSubdomainLabel(e))return"";switch(f.platform){case"weddingpage.ai":return"https://app.weddingpage.ai/assets/weddingpage-seo.png";case"partypage.ai":return"https://app.eventpage.ai/assets/share.png";default:return"https://app.eventpage.ai/assets/eventpage-seo.jpg"}}resolveSiteName(e){if(this.tenantStore?.isDomainTenant()){let t=this.tenantStore.getTenant()?.community;return t?.name?.trim()||t?.domain?.trim()||e||"eventpage.ai"}return this.hostUrl?.includes("partypage.ai")?"partypage.ai":this.hostUrl?.includes("weddingpage.ai")?"weddingpage.ai":e&&!o.isMainAppDomain(e)&&!o.workspaceSubdomainLabel(e)?e:"eventpage.ai"}extractHostname(e){try{return new URL(e).hostname}catch{return""}}};n.\u0275fac=function(t){return new(t||n)(a(u),a(h),a(y,8),a(T),a(v),a(g))},n.\u0275prov=d({token:n,factory:n.\u0275fac,providedIn:"root"});let c=n;return c})();export{O as a};
2//# sourceMappingURL=chunk-KRUBFACZ.js.map

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.