1import{a as M}from"./chunk-P4CZOVYD.js";import{a as ae}from"./chunk-Q5ZNRQ3V.js";import{a as te,b as ie}from"./chunk-UAHJPPOQ.js";import"./chunk-PVDG46DZ.js";import{a as ee}from"./chunk-MJHKSL2V.js";import{a as oe}from"./chunk-BF2YCTPO.js";import{b as ne}from"./chunk-H3ZOHFO7.js";import"./chunk-CIKJJUSN.js";import"./chunk-RRZRS5BZ.js";import"./chunk-LY7WOQZN.js";import{b as Z}from"./chunk-VG7OHNZN.js";import"./chunk-T3PLPHIG.js";import"./chunk-2JW6ZMWV.js";import"./chunk-NIP74ZKI.js";import"./chunk-QNUNLKYK.js";import{r as Y}from"./chunk-RE4JJFV5.js";import"./chunk-COEKBYWO.js";import"./chunk-E2K2LIS4.js";import"./chunk-KJKRX6VS.js";import"./chunk-2CRWMDGS.js";import"./chunk-4WMDX4SQ.js";import"./chunk-IQLKO45Z.js";import"./chunk-V6KBZVCY.js";import"./chunk-6FQQM4CE.js";import"./chunk-VTTO24NQ.js";import"./chunk-Y5VOXWTF.js";import{n as K,q as W}from"./chunk-YWHNFDXQ.js";import{l as Q}from"./chunk-FCTHY2PU.js";import"./chunk-DPVJW3LI.js";import{f as A,h as N,i as V,n as O}from"./chunk-GW33KQPR.js";import{T as X,U as q,x as G}from"./chunk-TUEKBDZZ.js";import{l as P,m as B}from"./chunk-RLPOKPIS.js";import{a as J}from"./chunk-TPES7EAS.js";import"./chunk-QXJM3TTT.js";import{F as R,g as j,r as D}from"./chunk-TMOIAHHX.js";import{$ as H,Fb as F,Ib as r,Jb as u,Kb as T,Wa as m,Xa as h,aa as S,ab as f,bb as i,cb as a,db as g,dc as $,ga as l,kb as U,o as w,p as k,q as L,qb as _,r as E,sa as s,tb as p,za as I}from"./chunk-DJNWGYMM.js";import{ea as y,f as z}from"./chunk-VOZAGDK7.js";import"./chunk-E5QWB6YB.js";var se=o=>({width:o});function pe(o,c){o&1&&(i(0,"div",4),g(1,"mat-spinner",7),a())}function ce(o,c){if(o&1&&(i(0,"div",5)(1,"mat-icon"),r(2,"search_off"),a(),i(3,"h2"),r(4,"Entry Not Found"),a(),i(5,"p"),r(6),a(),i(7,"a",8)(8,"mat-icon"),r(9,"arrow_back"),a(),r(10),a()()),o&2){let e=p();l(6),T("The ",e.modeLabel," entry you're looking for doesn't exist or has been removed."),l(),f("routerLink",e.listUrl),l(3),T(" Back to ",e.modeLabel," ")}}function de(o,c){if(o&1&&g(0,"img",10),o&2){let e=p(2);f("src",e.getHeroImageUrl(e.entry.imageUrl),S)("alt",e.entry.name)}}function me(o,c){o&1&&(i(0,"div",11)(1,"mat-icon"),r(2,"person"),a()())}function he(o,c){o&1&&(i(0,"mat-icon"),r(1,"emoji_events"),a())}function fe(o,c){o&1&&(i(0,"mat-icon"),r(1,"auto_awesome"),a())}function ge(o,c){if(o&1&&(i(0,"a",19)(1,"mat-icon"),r(2,"open_in_new"),a(),i(3,"span"),r(4,"Profile Link"),a()()),o&2){let e=p(2);f("href",e.entry.profileLink,S)}}function xe(o,c){if(o&1){let e=U();i(0,"div",6)(1,"div",9),m(2,de,1,2,"img",10)(3,me,3,0,"div",11),i(4,"div",12),m(5,he,2,0,"mat-icon")(6,fe,2,0,"mat-icon"),i(7,"span"),r(8),a()()(),i(9,"div",13)(10,"h1",14),r(11),a(),i(12,"div",15)(13,"span",16),r(14),a(),i(15,"span",17),r(16,"\u2022"),a(),i(17,"span",18),r(18),a()(),m(19,ge,5,1,"a",19),g(20,"div",20),i(21,"div",21)(22,"button",22),_("click",function(){w(e);let t=p();return k(t.copyLink())}),i(23,"span",23),r(24,"link"),a(),r(25," Copy Link "),a(),i(26,"button",24),_("click",function(){w(e);let t=p();return k(t.shareFacebook())}),i(27,"mat-icon"),r(28,"facebook"),a(),r(29," Facebook "),a(),i(30,"button",25),_("click",function(){w(e);let t=p();return k(t.shareTwitter())}),i(31,"div",26),L(),i(32,"svg",27)(33,"style",28),r(34," .st0 { stroke: #ffffff; stroke-miterlimit: 10; } .st1 { fill: #ffffff; } "),a(),i(35,"g"),g(36,"circle",29),i(37,"g",30),g(38,"path",31),a()()(),E(),i(39,"span"),r(40,"X / Twitter"),a()()()()()()}if(o&2){let e=p();l(2),h(e.entry.imageUrl?2:3),l(3),h(e.mode==="hof"?5:6),l(3),u(e.modeLabel),l(3),u(e.entry.name),l(3),u(e.entry.isNominee?"Nominee of "+e.entry.year:e.entry.year),l(4),u(e.entry.category),l(),h(e.entry.profileLink?19:-1),l(),f("innerHTML",e.entry.bio||"No biography available.",H)}}var Be=(()=>{class o{route;router;location;hofService;notify;imageResizer;metaService;titleService;fuseConfigService;breakpointObserver;_unsubscribeAll=new z;mode="hof";entry=null;loading=!0;notFound=!1;imagePrefix;listUrl="/pages/hof";modeLabel="Hall of Fame";fuseConfig={};isMobile=!1;constructor(e,n,t,C,b,x,d,v,re,le){this.route=e,this.router=n,this.location=t,this.hofService=C,this.notify=b,this.imageResizer=x,this.metaService=d,this.titleService=v,this.fuseConfigService=re,this.breakpointObserver=le,this.imagePrefix=this.imageResizer.prefix}ngOnInit(){this.fuseConfigService.config.pipe(y(this._unsubscribeAll)).subscribe(t=>{this.fuseConfig=t}),this.breakpointObserver.observe(["(max-width: 599px)"]).pipe(y(this._unsubscribeAll)).subscribe(t=>{this.isMobile=!!t.matches});let e=this.resolveModeFromRoute();e&&(this.mode=e),this.applyModeContext();
1let n=this.route.snapshot.paramMap.get("entryKey");if(!n){this.notFound=!0,this.loading=!1;return}this.hofService.getOne(n,this.mode).pipe(y(this._unsubscribeAll)).subscribe({next:t=>{this.entry=t,this.loading=!1,this.canonicalizeUrl(t),this.setMetaTags(t)},error:()=>{this.notFound=!0,this.loading=!1}})}get canonicalUrl(){return this.entry?M(this.mode,this.entry._key,this.entry.name):""}get fullCanonicalUrl(){return window.location.origin.replace(/\/+$/,"")+this.canonicalUrl}getResizedImageUrl(e,n=400,t=400){return e?this.imagePrefix+e+`&w=${n}&h=${t}&fit=cover`:""}getHeroImageUrl(e){return e?(e=e.replace("https://",""),this.imagePrefix+e+"&w=600&h=600&fit=cover"):""}stripHtml(e){if(!e)return"";let n=document.createElement("div");return n.innerHTML=e,n.textContent||n.innerText||""}copyLink(){navigator.clipboard.writeText(this.fullCanonicalUrl).then(()=>{this.notify.openSnackBar("Link copied to clipboard")})}shareFacebook(){window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(this.fullCanonicalUrl)}`,"_blank","width=600,height=400")}shareTwitter(){let e=`${this.entry?.name} - ${this.modeLabel}`;window.open(`https://twitter.com/intent/tweet?url=${encodeURIComponent(this.fullCanonicalUrl)}&text=${encodeURIComponent(e)}`,"_blank","width=600,height=400")}canonicalizeUrl(e){let n=M(this.mode,e._key,e.name);this.location.path().split("?")[0]!==n&&this.location.replaceState(n)}setMetaTags(e){let n=`${e.name} - ${this.modeLabel}`,t=J.siteParams?.legalName,C=t?`${n} | ${t}`:n,b=this.stripHtml(e.bio),x=b?`${e.year} ${e.category} - ${b.substring(0,155)}...`:`${e.year} ${e.category} - ${this.modeLabel}`;if(this.titleService.setTitle(C),this.metaService.updateTag({property:"og:title",content:n}),this.metaService.updateTag({property:"og:description",content:x}),this.metaService.updateTag({property:"og:url",content:this.fullCanonicalUrl}),this.metaService.updateTag({property:"og:type",content:"profile"}),this.metaService.updateTag({name:"description",content:x}),e.imageUrl){let v=this.getHeroImageUrl(e.imageUrl);this.metaService.updateTag({property:"og:image",content:v}),this.metaService.updateTag({name:"twitter:image",content:v})}this.metaService.updateTag({name:"twitter:card",content:"summary_large_image"}),this.metaService.updateTag({name:"twitter:title",content:n}),this.metaService.updateTag({name:"twitter:description",content:x});let d=document.querySelector("link[rel='canonical']");d||(d=document.createElement("link"),d.setAttribute("rel","canonical"),document.head.appendChild(d)),d.setAttribute("href",this.fullCanonicalUrl)}resolveModeFromRoute(){let e=this.route.snapshot.pathFromRoot.slice().reverse();for(let n of e){let t=n.data?.mode;if(t==="hof"||t==="spotlight")return t}return null}applyModeContext(){this.mode==="spotlight"?(this.modeLabel="Spotlight",this.listUrl="/pages/spotlight"):(this.modeLabel="Hall of Fame",this.listUrl="/pages/hof")}ngOnDestroy(){this._unsubscribeAll.next(!0),this._unsubscribeAll.complete()}static \u0275fac=function(n){return new(n||o)(s(A),s(N),s(j),s(ae),s(Y),s(oe),s(P),s(B),s(Q),s(G))};static \u0275cmp=I({type:o,selectors:[["hof-detail"]],decls:7,vars:11,consts:[["id","hof","fusePerfectScrollbar","",1,"page-layout","simple","fullwidth"],[3,"title","hideBanner","hideBack"],[1,"content","p-24","mx-auto",2,"min-height","800px",3,"ngStyle"],[1,"hof-detail-page"],[1,"detail-loading"],[1,"detail-not-found"],[1,"detail-card","mat-elevation-z10"],["diameter","50"],[1,"back-link",3,"routerLink"],[1,"detail-hero"],[1,"hero-image",3,"src","alt"],[1,"hero-placeholder"],[1,"mode-badge"],[1,"detail-info"],[1,"entry-name"],[1,"entry-meta"],[1,"meta-year"],[1,"meta-separator"],[1,"meta-category"],["target","_blank","rel","noopener noreferrer",1,"profile-link",3,"href"],[1,"entry-bio",3,"innerHTML"],[1,"share-actions"],["mat-stroked-button","","matTooltip","Copy link to clipboard",3,"click"],[1,"material-icons"],["mat-stroked-button","","matTooltip","Share on Facebook",3,"click"],["mat-stroked-button","","matTooltip","Share on X / Twitter",3,"click"],[1,"flex-center"],["version","1.1","id","svg5",0,"xmlns","svg","http://www.w3.org/2000/svg","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 1668.56 1221.19",0,"xml","space","preserve","width","24","height","24",2,"enable-background","new 0 0 1668.56 1221.19"],["type","text/css"],["cx","834.28","cy","610.6","r","481.33",1,"st0"],["id","layer1","transform","translate(52.390088,-25.058597)"],["id","path1009","d",`M485.39,356.79l230.07,307.62L483.94,914.52h52.11l202.7-218.98l163.77,218.98h177.32 2 L836.82,589.6l215.5-232.81h-52.11L813.54,558.46L662.71,356.79H485.39z M562.02,395.17h81.46l359.72,480.97h-81.46L562.02,395.17 3 z`,1,"st1"]],template:function(n,t){n&1&&(i(0,"div",0),g(1,"page-header",1),i(2,"div",2)(3,"div",3),m(4,pe,2,0,"div",4),m(5,ce,11,3,"div",5),m(6,xe,41,8,"div",6),a()()()),n&2&&(l(),f("title",t.modeLabel+" - "+(t.entry==null?null:t.entry.name))("hideBanner",!0)("hideBack",!1),l(),f("ngStyle",$(9,se,t.fuseConfig.pageWidth&&!t.isMobile?t.fuseConfig.pageWidth+"%":"
3100%")),l(),F("spotlight-mode",t.mode==="spotlight"),l(),h(t.loading?4:-1),l(),h(!t.loading&&t.notFound?5:-1),l(),h(!t.loading&&!t.notFound&&t.entry?6:-1))},dependencies:[R,D,O,V,q,X,W,K,ie,te,ee,Z,ne],styles:[`.hof-detail-page{min-height:100vh;padding:24px 16px 80px;max-width:800px;margin:0 auto}@media(max-width:599px){.hof-detail-page{padding:0}}.detail-loading{display:flex;justify-content:center;align-items:center;min-height:400px}.detail-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center;color:#666}.detail-not-found mat-icon{font-size:80px;width:80px;height:80px;color:#999;margin-bottom:16px}.detail-not-found h2{margin:0 0 8px;font-size:24px;color:#333}.detail-not-found p{margin:0 0 24px;font-size:16px}.back-link{display:inline-flex;align-items:center;gap:6px;color:#555;text-decoration:none;font-size:14px;font-weight:500;transition:color .2s}.back-link mat-icon{font-size:20px;width:20px;height:20px}.back-link:hover{color:#111}.detail-nav{margin-bottom:24px}.detail-card{background:#fff;border-radius:16px;overflow:hidden}.detail-card .material-icons{padding:0 8px}@media screen and (max-width:599px){.detail-card .material-icons{width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;line-height:30px!important;display:flex;align-items:center;padding:4px;font-size:24px!important}}.detail-hero{position:relative;background:#f0f0f0;display:flex;justify-content:center;align-items:center;overflow:hidden}.detail-hero .hero-image{width:100%;max-height:500px;object-fit:contain}.detail-hero .hero-placeholder{width:100%;height:300px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e0e0e0,#bdbdbd)}.detail-hero .hero-placeholder mat-icon{font-size:100px;width:100px;height:100px;color:#fff9}.mode-badge{position:absolute;top:16px;left:16px;display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:24px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#fff;background:#5c3d2ee6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 2px 8px #0003}.mode-badge mat-icon{font-size:18px;width:18px;height:18px}.detail-info{padding:32px 32px 40px}@media(max-width:599px){.detail-info{padding:24px 16px 32px}}.entry-name{font-family:Georgia,Times New Roman,serif;font-size:32px;font-weight:700;color:#1a1a1a;margin:0 0 12px;line-height:1.2}@media(max-width:599px){.entry-name{font-size:24px}}.entry-meta{display:flex;align-items:center;gap:10px;font-size:16px;color:#666;margin-bottom:16px}.entry-meta .meta-separator{color:#ccc}.profile-link{display:inline-flex;align-items:center;gap:4px;font-size:14px;color:#2d559b;text-decoration:none;margin-bottom:24px}.profile-link mat-icon{font-size:16px;width:16px;height:16px}.profile-link:hover{text-decoration:underline}.entry-bio{font-size:16px;line-height:1.8;color:#333;margin-bottom:32px;word-break:break-word}.entry-bio p{margin:0 0 12px}@media(max-width:599px){.entry-bio{font-size:15px;line-height:1.7}}.share-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:24px;border-top:1px solid #eee}.share-actions button{font-size:13px;text-transform:none;letter-spacing:0}.share-actions button img span.description{display:inline-block;margin-left:4px;font-size:13px;font-weight:500;color:#333;text-decoration:none;text-transform:none;letter-spacing:0}.hof-detail-page:not(.spotlight-mode) .mode-badge{background:#5c3d2ee6}.hof-detail-page:not(.spotlight-mode) .back-link:hover{color:#5c3d2e}.hof-detail-page:not(.spotlight-mode) .entry-name{color:#2e2818}.hof-detail-page.spotlight-mode .mode-badge{background:#7b1e3ae6}.hof-detail-page.spotlight-mode .back-link:hover{color:#2d559b}.hof-detail-page.spotlight-mode .profile-link{color:#7b1e3a} 4`],encapsulation:2})}return o})();export{Be as HofDetailComponent};
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.