1import{a as R}from"./chunk-ZGMTKWIP.js";import"./chunk-ZCUSGBI3.js";import{a as B}from"./chunk-CQWPRNTM.js";import{Aa as F,Ia as $,Ra as j,pa as T,ra as L,sa as A}from"./chunk-VIWILXPG.js";import{d as k}from"./chunk-R7KFMJRS.js";import{F as z,J as N,d as K}from"./chunk-D7FIXK7G.js";import{Ac as I,Bb as l,Db as d,Ib as r,Jb as o,Jc as _,Kb as m,Lb as s,Nc as C,Va as a,Yb as h,aa as y,jb as f,kc as g,lc as u,mc as w,r as x,rc as O,sa as P,sc as b,tc as D,wc as S,zc as E}from"./chunk-F7QRDTC2.js";import"./chunk-YNC7RVHT.js";function U(t,p){t&1&&(o(0,"p",1),g(1),m()),t&2&&(a(),w("",p,","))}var q=(()=>{class t{name=C();messageClosing=C();avatarImageKey=C();static \u0275fac=function(n){return new(n||t)};static \u0275cmp=f({type:t,selectors:[["es-message-signature"]],inputs:{name:[1,"name"],messageClosing:[1,"messageClosing"],avatarImageKey:[1,"avatarImageKey"]},decls:5,vars:5,consts:[[1,"avatar",3,"imageKey","name","size"],[1,"signoff","font-regular-italic"],[1,"name","font-bold"]],template:function(n,i){if(n&1&&(s(0,"es-avatar",0),o(1,"div"),l(2,U,2,1,"p",1),o(3,"p",2),g(4),m()()),n&2){let c;r("imageKey",i.avatarImageKey())("name",i.name())("size",40),a(2),d((c=i.messageClosing())?2:-1,c),a(2),u(i.name())}},dependencies:[j],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:1rem;font-size:14px}.signoff[_ngcontent-%COMP%]{color:color-mix(in HSL,transparent 30%,currentColor)}"],changeDetection:0})}return t})();var G=()=>({navigateToFirstPhoto:!0});function J(t,p){if(t&1&&s(0,"img",0),t&2){let e=h();r("key",p)("imgixParams",e.imgixParams())}}function Q(t,p){if(t&1&&s(0,"es-message-signature",4),t&2){h();let e=D(0);r("avatarImageKey",e.cover.artistAvatar)("messageClosing",e.cover.messageClosing)("name",e.cover.artistName)}}var le=(()=>{class t{route=y(z);seo=y($);galleryEvent=k(this.route.data.pipe(x(e=>e.galleryEvent)),{requireSync:!0});imgixParams=_(()=>{let e=this.galleryEvent()?.artist.theme,n=e?.duotonePhotoDark?.replace("#",""),i=e?.duotonePhotoLight?.replace("#","");return{duotone:[n,i].join(","),"duotone-alpha":100}});
1seoEffect=P(()=>{let e=this.galleryEvent(),n=this.galleryEvent().artist,i=e?K(e.date,"mediumDate","en-US"):void 0;this.seo.setPageMetaTags({title:`${n?.name} in ${L({city:e?.city,state:e?.state})} - ${i}`,imageKey:e?.gallery?.cover.coverImageKey})});showAvatar=_(()=>this.galleryEvent().artist.category===F.Music);static \u0275fac=function(n){return new(n||t)};static \u0275cmp=f({type:t,selectors:[["es-photo-cover"]],decls:11,vars:12,consts:[["esImage","","sizes",`100vw, 2 (width >= 56rem) 53vw, 3 (width > 92rem) 60vw`,"alt","",1,"cover-parent","cover-image",3,"key","imgixParams"],[1,"content"],[1,"date",3,"date","description","title"],[1,"message","font-monospace"],[1,"signature",3,"avatarImageKey","messageClosing","name"],["es-button","","routerLink","./photos",1,"continue",3,"rounded","state"]],template:function(n,i){if(n&1&&(O(0),o(1,"figure"),l(2,J,1,2,"img",0),m(),o(3,"div",1),s(4,"es-date-title",2),E(5,"city"),o(6,"p",3),g(7),m(),l(8,Q,1,3,"es-message-signature",4),o(9,"a",5),g(10," Continue "),m()()),n&2){let c,v=i.galleryEvent(),M=b(i.galleryEvent().gallery);a(2),d((c=M.cover.coverImageKey)?2:-1,c),a(2),r("date",v.date)("description",v.venue)("title",v.title||I(5,9,v)),a(3),u(M.cover.message),a(),d(i.showAvatar()?8:-1),a(),r("rounded",!0)("state",S(11,G))}},dependencies:[B,T,R,q,N,A],styles:["[_nghost-%COMP%]{position:relative;display:flex;flex:1;overflow:hidden;min-height:calc(var(--viewport-height) - var(--content-top))}figure[_ngcontent-%COMP%]{position:relative;flex:1;overflow:hidden;border-radius:.5rem}.cover-image[_ngcontent-%COMP%]{display:block;opacity:0;transform:scale(1.05)}.cover-image.is-loaded[_ngcontent-%COMP%]{animation:enter 1.5s forwards cubic-bezier(.16,1,.3,1)}.content[_ngcontent-%COMP%]{display:flex;flex-flow:column;align-items:start;gap:1.5rem;position:relative;z-index:2;flex:none}.message[_ngcontent-%COMP%]{margin-bottom:auto}.signature[_ngcontent-%COMP%]{margin-bottom:2rem}.continue[_ngcontent-%COMP%]{min-width:10rem}@media(width<56rem){[_nghost-%COMP%]{flex-flow:column}figure[_ngcontent-%COMP%]{flex:none;flex:1;min-height:12rem}.content[_ngcontent-%COMP%]{position:relative;z-index:2;padding:var(--container-margin);background-color:var(--theme-bg)}.continue[_ngcontent-%COMP%]{width:100%}}@media(width>=56rem){[_nghost-%COMP%]{flex-flow:row-reverse;gap:min(4rem,var(--container-margin))}figure[_ngcontent-%COMP%]{position:relative;flex:1 60%;margin:0 1rem 1rem}.content[_ngcontent-%COMP%]{flex:1 40%;max-width:30rem;min-width:24rem;margin-inline:auto;margin-bottom:min(4rem,var(--container-margin));margin-left:var(--container-margin)}[_nghost-%COMP%]:has(.cover-image.is-loaded) .content[_ngcontent-%COMP%]{animation:enter 1.4s forwards cubic-bezier(.16,1,.3,1) .6s}.message[_ngcontent-%COMP%]{margin-top:2rem}.date[_ngcontent-%COMP%]{width:100%;padding-top:1rem}}"],changeDetection:0})}return t})();export{le as CoverComponent};
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.