PageSourceSearch

https://tommyboy-records.com/_next/static/chunks/pages/artists/[slug]-41893eb56065418d.js

js tommyboy-records.com collected 2026-10-04 21:18:16 UTC 15,839 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[848],{92289:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/artists/[slug]",function(){return n(8237)}])},84412:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(26042),i=n(69396),l=n(10253),o=n(85893),s=n(21800),a=n.n(s),c=n(67294),d=n(36497),u=n(22409);function m(e){var t=e.content,n=e.contentBlocks,s=e.forceHero;n=null===n||void 0===n?void 0:n.map((function(e){return e.contentBlock}));var m=(0,d.A)(t,n)||{},x=m.version,h=m.time,p=function(e){var t,n=[];return null===e||void 0===e||e.map((function(e){var l;"image"==e.type&&(null===(l=e.data)||void 0===l?void 0:l.stretched)&&(e=(0,i.Z)((0,r.Z)({},e),{type:"heroimage"}));var o=function(e){var t;if(v(e))return{section:"hero-carousel",width:"full",wrap:!1,breakBefore:!0,breakAfter:!0};if("blockslot"==e.type&&"subscribeForms"==(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.__typename))return{section:"content",width:"1/2",wrap:!0,breakBefore:!1};if("blockslot"==e.type)return{section:"full",width:"full",wrap:!1};if("heroimage"==e.type)return{section:"heroimage",width:"full",wrap:!1,breakBefore:!0,breakAfter:!0};if("image"==e.type)return{section:"image",width:"1/2",wrap:!0,breakBefore:!0,breakAfter:!0};if("embed"==e.type)return{section:"embed",width:"1/2",wrap:!0,breakBefore:!0,breakAfter:!0};if("header"==e.type&&e.data.level<3)return{section:"content",width:"full",wrap:!0,breakBefore:!0,breakAfter:!0};return{section:"content",width:"1/2",wrap:!0,breakBefore:"header"==e.type&&3==e.data.level}}(e),s=n.length;(null===o||void 0===o?void 0:o.section)!=(null===t||void 0===t?void 0:t.section)||(null===o||void 0===o?void 0:o.breakBefore)||(null===t||void 0===t?void 0:t.breakAfter)?n.push((0,i.Z)((0,r.Z)({},o),{blocks:[e]})):n[s-1].blocks.push(e),t=o})),n}(m.blocks),g=s||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[{blocks:[]}],t=(0,l.Z)(e,1)[0],n=(0,l.Z)(t.blocks,1)[0];return f(n)}(p);return(0,c.useEffect)((function(){return(0,u.s)(g),function(){return(0,u.s)(!1)}}),[g]),(null===p||void 0===p?void 0:p.length)?(0,o.jsx)("div",{className:"".concat(a().ContentSections," grid grid-cols-2"),children:p.map((function(e,t){var n=e.section,r=e.width,i=e.wrap,l=e.blocks,s={version:x,time:h,blocks:l};return(0,o.jsx)("div",{className:"section section-".concat(n," section-width-").concat(r),children:(0,o.jsx)(d.Z,{className:"block-content",wrap:i,content:s})},t)}))}):null}var v=function(e){var t,n,r;return"blockslot"==e.type&&("pastEventPlaceholders"==(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.__typename)||"itemCollections"==(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.__typename)&&"heroCarousel"==(null===e||void 0===e||null===(r=e.data)||void 0===r?void 0:r.displayAs))},f=function(e){return v(e)||"heroimage"==e.type}},85789:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(85893);function i(e){var t=e.children;return(0,r.jsx)("main",{children:t})}},21744:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(26042),i=n(85893),l=n(18357),o=n(94184),s=n.n(o),a=n(14373);function c(e){var t=e.children,n=e.components,o=e.size;if(!t)return null;var c="xs"==o,d=(0,r.Z)({h1:function(e){var t=e.children;return(0,i.jsx)("h1",{className:s()({"text-4xl mb-8":!c,"text-2xl mb-3":c}),children:t})},h2:function(e){var t=e.children;return(0,i.jsx)("h2",{className:s()({"text-3xl mb-3":!c,"text-xl mb-2":c}),children:t})},h3:function(e){var t=e.children;return(0,i.jsx)("h3",{className:s()({"text-2xl mb-3":!c,"text-lg mb-2":c}),children:t})},h4:function(e){var t=e.children;return(0,i.jsx)("h4",{className:s()({"text-xl mb-2":!c,"text-base mb-2":c}),children:t})},h5:function(e){var t=e.children;return(0,i.jsx)("h5",{className:s()({"text-lg mb-1":!c,"text-sm mb-1":c}),children:t})},h6:function(e){var t=e.children;return(0,i.jsx)("h6",{className:s()({"text-lg":!c,"text-xs":c}),children:t})},p:function(e){var t=e.children;return(0,i.jsx)("p",{className:s()({"mb-8 xs:text-lg sm:text-xl md:text-lg xl:text-xl font-bold":!c,"mb-2 text-xs":c}),children:t})},ol:function(e){var t=e.children;return(0,i.jsx)("ol",{className:s()("list-decimal list-inside",{"mb-4":!c,"mb-2 text-xs":c}),children:t})},ul:function(e){var t=e.children;return(0,i.jsx)("ul",{className:s()("list-disc list-inside",{"mb-4":!c,"mb-2 text-xs":c}),children:t})},blockquote:function(e){var t=e.children;return(0,i.jsx)("blockquote",{className:s()("border-l-8 pl-2",{"text-xs":c}),children:t})},hr:function(){return(0,i.jsx)("hr",{className:s()({"border-t-4 my-8":!c,"border-t-2 my-4":c})})},a:function(e){var t=e.children,n=e.href;return(0,i.jsx)(a.Z,{href:n,className:"underline hover:text-light-mode-primary underline-offset-2",children:t})}},n);return(0,i.jsx)(l.Z,{components:d,children:t})}},18549:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(26042),i=n(29815),l=n(85893),o=n(3056),s=n(9008),a=n.n(s),c=n(28726);function d(e){var t=e.titleParts,n=e.title,s=e.titleSeparator,d=void 0===s?" | ":s,m=e.description,v=e.trimDescription,f=e.imageUrl,x=e.images,h=e.imageAsset,p=e.url,g=e.type,b=void 0===g?"website":g,j=e.metatags,w=(0,o.a)(c.Lc).data,y=(void 0===w?{}:w).siteSettings,N=(void 0===y?{}:y).siteTitle,k=void 0===N?"Tommy Boy Music, LLC":N;return v&&(null===m||void 0===m?void 0:m.length)>170&&(m=m.substring(0,169)+"\u2026"),h?f=function(e){var t="https://api.tommyboy-rec
1ords.com",n="object"===typeof e?e.id:e,r=new URLSearchParams({fit:"cover",withoutEnlargement:!0,format:"jpg",width:u,height:630,quality:75}).toString();return"".concat(t,"/assets/").concat(n,"?").concat(r)}(h):x&&(f=function(e){var t;return null===(t=(0,i.Z)(e).sort((function(e,t){return e.width-t.width})).find((function(e){var t=e.width;return u<=t})))||void 0===t?void 0:t.url}(x)),n=[n].concat(t).filter((function(e){return!!e&&!k.includes(e)})).concat(k).join(d),(0,l.jsxs)(a(),{children:[(0,l.jsx)("title",{children:n}),!!m&&(0,l.jsx)("meta",{name:"description",content:m}),(0,l.jsx)("meta",{property:"og:title",content:n}),!!m&&(0,l.jsx)("meta",{property:"og:description",content:m}),!!b&&(0,l.jsx)("meta",{property:"og:type",content:b}),!!f&&(0,l.jsx)("meta",{property:"og:image",content:f}),!!p&&(0,l.jsx)("meta",{property:"og:url",content:p}),(0,l.jsx)("meta",{property:"og:site_name",content:k}),!!f&&(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),null===j||void 0===j?void 0:j.map((function(e){return(0,l.jsx)("meta",(0,r.Z)({},e),e.name||e.property)}))]})}var u=1200},64469:function(e,t,n){"use strict";var r=n(26042),i=n(29815),l=n(85893),o=n(51463),s=n(65669),a=n(3056),c=n(28726),d=n(41664),u=n.n(d),m=n(38259);t.Z=(0,o.Z)((function(e){var t=e.artist;return null===t||void 0===t?void 0:t.id}),(function(e){var t=e.append,n=e.artist,o=e.includePosts,d=void 0!==o&&o,v=e.titles,f=e.order,x=void 0===f?["releases","appearsOnReleases","bundles","merch","clothing","posts"]:f,h=e.viewedId;v=(0,r.Z)({},{releases:"Releases",appearsOnReleases:"Appears On Releases",bundles:"Bundles",merch:"Merch",clothing:"Clothing",posts:"News"},v);var p=(0,a.a)(c.RF,{variables:{artistId:n.id,artistName:n.name,artistIdString:n.id.toString(),includePosts:d}}).data;if(!p)return null;var g,b=x.map((function(e){var t,i=null===(t=p[e])||void 0===t?void 0:t.length;if(!i)return null;var l=i>4,o=p[e].filter((function(e){return e.id!==h})).slice(0,4);if(!(null===o||void 0===o?void 0:o.length))return null;var s=v[e];return"appearsOnReleases"==e&&(e="appears-on-releases"),[(0,r.Z)({__typename:"pages",title:s},l&&{ctaText:"More",href:"".concat(n.href,"/products?type=").concat(e)})].concat(o)})).filter((function(e){return!!e})).flat();return(null===t||void 0===t?void 0:t.length)&&(g=b).unshift.apply(g,(0,i.Z)(t)),!!(null===b||void 0===b?void 0:b.length)&&(0,l.jsxs)("section",{children:[(0,l.jsxs)(m.Z,{children:["More from"," ",(0,l.jsx)(u(),{href:n.href,children:(0,l.jsx)("a",{className:"underline underline-offset-2 hover:text-light-mode-primary",children:n.name})}),"..."]}),(0,l.jsx)(s.Z,{items:b})]})}),(function(){return null}))},25093:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(85893),i=n(38259);function l(e){var t=e.className,n=e.title,l=e.position,o=e.children;return(0,r.jsxs)("section",{className:t,children:[(0,r.jsx)(i.Z,{priority:l,children:n}),o]})}},38259:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(85893);function i(e){var t=e.children,n=e.priority,i="h".concat(1===n?n:2);return!!t&&(0,r.jsx)("header",{className:"p-8 outline outline-2 outline-offset-[-1px]",children:(0,r.jsx)(i,{className:"text-xl xs:text-2xl xs:leading-10 sm:text-3xl lg:text-2xl lg:leading-10 xl:text-3xl font-bold",children:t})})}},44003:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(10253);function i(e){if(e){var t=(0,r.Z)(e.split("-"),1)[0];return parseInt(t)}}},8237:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return C},default:function(){return R}});var r=n(26042),i=n(69396),l=n(85893),o=n(3056),s=n(11163),a=n(44003),c=n(28726),d=n(85789),u=n(18549),m=n(39769),v=n(10253),f=n(73286);function x(e){var t=e.rootMargin,n=void 0===t?"200px":t,r=e.content,i=(0,v.Z)((0,f.sx)({rootMargin:n}),2),o=i[0];return i[1]?r():(0,l.jsx)("div",{ref:function(e){o(e)}})}var h=n(21744),p=n(25093),g=n(51440),b=n(65618),j=n(64469),w=n(67294),y=n(37835),N=n(94184),k=n.n(N),Z=n(31374);var _=(0,n(51463).Z)((function(e){var t=e.title,n=e.links;return!t||!(null===n||void 0===n?void 0:n.length)}),(function(){return null}),(function(e){var t=e.classNames,n=e.title,o=e.links,s=(0,w.useState)(!1),a=s[0],c=s[1],d=(0,w.useRef)(null);return function(e,t){(0,w.useEffect)((function(){var n=function(n){e.current&&!e.current.contains(n.target)&&t(n)};return document.addEventListener("mousedown",n),function(){document.removeEventListener("mousedown",n)}}),[e])}(d,(function(){c(!1)})),(0,l.jsxs)("div",{ref:d,className:null===t||void 0===t?void 0:t.wrap,children:[(0,l.jsxs)("button",{className:k()("font-bold",{"bg-light-mode-text text-light-mode-page":a}),onClick:function(){return c(!a)},children:[(0,l.jsx)(Z.Z,{className:k()("inline-block w-auto h-[0.6em] mr-1 align-baseline",{"rotate-45":!a})}),(0,l.jsx)("span",{className:"underline underline-offset-2",children:n})]}),a&&(0,l.jsx)("ul",{className:(null===t||void 0===t?void 0:t.ul)||"absolute top-full flex mt-2 py-8 pl-6 border-2 bg-light-mode-page",children:o.map((function(e,n){return(0,w.createElement)(y.Z,(0,i.Z)((0,r.Z)({},e),{key:n,classNames:null===t||void 0===t?void 0:t.linkItem}))}))})]})}));var S=n(99534);function E(e){return function(t){var n,o,s,a=t.artist,c=(0,S.Z)(t,["artist"]);if(!a)return null;var d=((null===a||void 0===a||null===(n=a.externalReferences)||void 0===n?void 0:n.find((function(e){return"Stream/Download"==e.title})))||{}).value,u=null===(s=null===a||void 0===a||null===(o=a.externalReferences)||void 0===o?void 0:o.filter((function(e){var t=e.title,n=e.type;return"Stream/Download"!=t&&"url"==n})))||void 0===s?void 0:s.map((function(e){return{text:e.title,url:e.value}}));return(0,l.jsx)(e,(0,i.Z)((0,r.Z)({},c),{artist:a,streamLink:d,followLinks:u}))}}var A=E((function(e){var t=e.artist,n=e.followLinks,r=e.streamLink;return t?(0,l.jsxs)("article",{className:"mt-4 md:mt-8",children:[(0,l.jsxs)("div",{className:"md:flex",children:[!!(null===t||void 0===t?void 0:t.imageUrl)&&(0,l.jsx)("div",{className:"md:w-1/2 mb-8 px-4",children:(0,l.jsx)("div",{className:"sticky top-24 border-2",children:(0,l.jsx)("div",{className:"pb-[100%] image-loader",children:(0,l.jsx)(m.Z,{className:"object-cover",images:t.images,alt:t.title,layout:"fill",preset:"profile",priority:!0,placeholder:"blur",fadeIn:!0},t.imageUrl)})})}),(0,l.jsx)("div",{className:"md:w-1/2 mb-8 px-8 md:pl-4 lg:pl-8",children:(0,l.jsxs)("div",{className:"sticky top-24",children:[(0,l.jsxs)("header",{className:"",children:[(0,l.jsx)("h1",{className:"text-2xl leading-10 xs:text-3xl sm:text-4xl md:text-3xl xl:text-4xl font-bold",children:t.name}),((null===n||void 0===n?void 0:n.length)||!!r)&&(0,l.jsxs)("div",{className:"relative flex flex-wrap py-1",children:[(0,l.jsx)(_,{classNames:{wrap:"mt-4 mr-8 text-md xs:text-lg",ul:"absolute top-full flex mt-2 py-8 pl-6 border-2 bg-light-mode-page text-base"},title:"Follow",links:n}),r&&(0,l.jsxs)("a",{href:r,target:"_blank",rel:"noopener noreferrer nofollow",className:"flex items-center mt-4 text-md xs:text-lg font-bold underline underline-offset-2 hover:text-light-mode-primary",children:[(0,l.jsx)(b.Z,{className:"inline-block w-auto h-[1em] mr-2"}),"Stream/Download"]})]})]}),!!t.description&&(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(h.Z,{children:t.description})})]})})]}),!!(null===t||void 0===t?void 0:t.bandsintownArtistName)&&(0,l.jsx)(x,{content:function(){return(0,l.jsx)(g.Z,{artistName:t.bandsintownArtistName,Wrap:function(e){var t=e.children;return(0,l.jsx)(p.Z,{title:"Events",children:t})}})}}),(0,l.jsx)(j.Z,{artist:t,includePosts:!0})]}):null}));function I(e){var t=e.artist,n=e.image;return n?(0,l.jsxs)("header",{className:"flex items-center justify-center relative w-full min-h-[calc(100vh)] mt-[-5.25rem] mb-8 bg-light-mode-text border-2",children:[(0,l.jsx)("div",{className:"opacity-70",children:(0,l.jsx)(m.Z,{className:"absolute w-full h-full object-cover",asset:n,alt:null===t||void 0===t?void 0:t.t
1itle,layout:"fill",priority:!0,placeholder:"blur",fadeIn:!0})}),(0,l.jsx)(B,{artist:t,hasImage:!0})]}):(0,l.jsx)("header",{children:(0,l.jsx)(B,{artist:t})})}var B=E((function(e){var t=e.artist,n=e.followLinks,r=e.streamLink,i=e.hasImage;return(0,l.jsxs)("div",{className:k()("relative py-24 px-8 text-center",{"text-light-mode-page":i}),children:[(0,l.jsx)("h1",{className:"text-2xl xs:text-3xl md:text-4xl xl:text-5xl font-bold uppercase",children:null===t||void 0===t?void 0:t.name}),((null===n||void 0===n?void 0:n.length)||!!r)&&(0,l.jsxs)("div",{className:"relative flex flex-wrap justify-center z-10",children:[(0,l.jsx)(_,{classNames:{wrap:"mt-4 text-md xs:text-lg md:text-xl",ul:"absolute top-full left-1/2 -translate-x-1/2 flex min-w-max mt-8 py-8 pl-6 border-2 bg-light-mode-page text-light-mode-text text-base"},title:"Follow",links:n}),r&&(0,l.jsxs)("a",{href:r,target:"_blank",rel:"noopener noreferrer nofollow",className:"flex items-center mt-4 ml-8 text-md xs:text-lg md:text-xl font-bold underline underline-offset-2 hover:text-light-mode-primary",children:[(0,l.jsx)(b.Z,{className:"inline-block w-auto h-[0.9em] mr-2"}),"Stream/Download"]})]})]})})),L=n(84412);function P(e){var t,n,o,s,a=e.artist;return(0,l.jsxs)("article",{children:[(0,l.jsx)(I,{artist:a,image:null===a||void 0===a||null===(t=a.profile)||void 0===t||null===(n=t.heroImage)||void 0===n?void 0:n.id}),(0,w.createElement)(L.Z,(0,i.Z)((0,r.Z)({},null===a||void 0===a?void 0:a.profile),{forceHero:!!(null===a||void 0===a||null===(o=a.profile)||void 0===o||null===(s=o.heroImage)||void 0===s?void 0:s.id),key:null===a||void 0===a?void 0:a.id})),(0,l.jsx)(j.Z,{artist:a,includePosts:!0})]})}var C=!0;function R(){var e=(0,s.useRouter)(),t=e.isPreview,n=e.query.slug,m=(0,a.Z)(n),v=(0,o.a)(c.rM,(0,i.Z)((0,r.Z)({},t&&{nextFetchPolicy:"network-only",pollInterval:5e3}),{variables:{artistId:m}})).data,f=(void 0===v?{}:v).artist;return(0,l.jsxs)(d.Z,{children:[(0,l.jsx)(u.Z,{titleParts:[null===f||void 0===f?void 0:f.name,"Artists"],description:null===f||void 0===f?void 0:f.description,trimDescription:!0,images:null===f||void 0===f?void 0:f.images,url:null===f||void 0===f?void 0:f.href}),(null===f||void 0===f?void 0:f.profile)?(0,l.jsx)(P,{artist:f}):(0,l.jsx)(A,{artist:f})]})}},21800:function(e){e.exports={ContentSections:"ContentSections_ContentSections__vdJxK"}}},function(e){e.O(0,[357,774,888,179],(function(){return t=92289,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.