PageSourceSearch

https://www.justjaynemusic.com/wp-content/cache/autoptimize/2777/a…8ab2009a33917c6048426e1d.php?ver=1789650140

js justjaynemusic.com collected 2026-10-08 10:51:10 UTC 13,533 bytes, 1 lines download raw bytes

1(()=>{"use strict";!function(e){function t(){!sessionStorage.getItem("exitPopupShown")&&"siteLeave"===gr_global_vars.showEcrmFirstLoad&&function(){try{return!("undefined"!=typeof Storage&&"true"===localStorage.getItem("umggr-newsletter-completed"))}catch(e){}return!0}()&&(openNewsletterModal(),sessionStorage.setItem("exitPopupShown","true"))}function n(e){let t="";if(e.includes("#"))t=e.split("#")[1];else{t=new URL(e).hash.substring(1)}const n=document.querySelector('[id="section-'+t+'"]');n&&n.scrollIntoView({behavior:"smooth"})}function o(e,t=[]){return Array.isArray(e)?(e.forEach(function(e){t.push(e),e.subItems&&o(e.subItems,t)}),t):t}function i(e,t){if(!e||!t)return;const n=o(function(e){const t=e.getAttribute("data");if(!t)return[];try{return JSON.parse(t.replace(/"/g,'"'))}catch(e){return[]}}(e));t.querySelectorAll("a[href]").forEach(function(e){const t=e.getAttribute("href");if(!t||"javascript:;"===t)return;const o=n.find(function(e){return e.linkUrl===t});o&&o.linkTarget&&(e.setAttribute("target",o.linkTarget),"_blank"===o.linkTarget?e.setAttribute("rel","noopener noreferrer"):e.removeAttribute("rel"))})}function r(e){const t=document.querySelector("umg-menu");if(t){let n=e;e.includes("#")&&(n="/#"+e.split("#")[1]),t.setAttribute("activeurl",n)}}function c(e){return e&&e.closest("#umggrFooter, #site-footer, footer, .footer-newsletter")?"Footer":"Header"}function a(t){const n=e(t).text().trim();return/^listen(\s+now)?$/i.test(n)}function u(e,t){e&&t&&window.dispatchEvent(new CustomEvent(e,{detail:t}))}function l(){var t=e(".music-release-image").height();e(".linkfire-iframe").css("min-height",t+"px"),e(".umg-class-slider.horizontal .linkfire-iframe-wrapper, .umg-class-grid.horizontal .linkfire-iframe-wrapper").css("min-height",t+"px"),e(".umg-class-slider.horizontal .linkfire-iframe-wrapper, .umg-class-grid.horizontal .linkfire-iframe-wrapper").css("height","auto"),e(".umg-class-slider.horizontal .linkfire-iframe-wrapper iframe, .umg-class-grid.horizontal .linkfire-iframe-wrapper iframe").css("min-height",t+"px"),e(".umg-class-slider.horizontal .linkfire-iframe-wrapper iframe, .umg-class-grid.horizontal .linkfire-iframe-wrapper iframe").css("height","auto")}e(document).ready(function(){var o;function s(){return document.querySelector("#gr-newsletter-form")}function d(){return document.querySelector("#ae")}function m(){const e=d();e&&(e.style.display="none",e.style.position="",e.style.zIndex="",document.body.style.overflow="")}function g(){const t=s();t&&"function"==typeof t.openForm?t.openForm():function(){const t=d();if(!t)return!1;t.style.display="block",t.style.position="fixed",t.style.zIndex="999999",document.body.style.overflow="hidden";const n=t.querySelector("#ae-cform-modal-display-cta-1")||t.querySelector('[id^="ae-cform-modal-display-cta-"]')||t.querySelector(".ae-cform-modal-display-cta");return n&&("function"==typeof n.click?n.click():"function"==typeof e&&e(n).trigger("click")),!0}()||"function"==typeof e&&e(".ae-cform-modal-display-cta").trigger("click")}l(),"true"===sessionStorage.getItem("umggr-wc-splashed")&&e("umg-page").removeClass("hideBodyContentSplashPage"),o="umg-media-modal",customElements.whenDefined(o).then(()=>{e("umg-page").removeClass("hideBodyContentSplashPage")}).catch(()=>{}),window.__grNewsletterV3ModalListenerAdded||(window.__grNewsletterV3ModalListenerAdded=!0,document.addEventListener("pu-form-closed",function(e){try{e&&e.detail&&"success"===e.detail.reason&&"undefined"!=typeof Storage&&localStorage.setItem("umggr-newsletter-completed","true")}catch(e){}!function(){const e=s();e&&"function"==typeof e.closeForm?e.closeForm():m()}()})),window.__grNewsletterLegacyCloseAdded||(window.__grNewsletterLegacyCloseAdded=!0,document.addEventListener("click",function(e){const t=e.target;t&&"ae-close"===t.id&&m()}));var f=window.location.href,h=f.replace(/\/#\//,"/").split("/"),p=(h=h.filter(function(e){return""!==e.trim()}))[h.length-1];""!==p&&(r("/#"+(p=p.substring(p.indexOf("#")+1))),setTimeout(function(){n(f)},1e3));const w=document.querySelector("umg-header-drawer"),k=document.querySelector("umg-menu");if(w){i(w,w.shadowRoot);const t=w.shadowRoot.querySelector("umg-disclosure");if(t){const o=t.querySelector(".menu-drawer ul");t.shadowRoot.querySelector(".disclosure__summary");o.querySelectorAll("a[href]").forEach(t=>{"javascript:;"!==t.getAttribute("href")?(t.setAttribute("data-umga-navigation-link",""),t.setAttribute("data-umga-navigation-link-location","Header")):(t.setAttribute("data-umga-sign-up-cta",""),t.setAttribute("data-umga-sign-up-cta-location","Header")),t.addEventListener("click",o=>
1{o.preventDefault(),t.href&&"javascript:;"!==t.getAttribute("href")?u("umga:navigation_click",{click_text:t.textContent.trim(),click_url:t.href,page_url:window.location.href}):u("umga:sign_up_cta",{click_text:t.textContent.trim()||"Sign Up",page_url:window.location.href,cta_location:t.getAttribute("data-umga-sign-up-cta-location")||c(w)});let i=t.getAttribute("href");"javascript:;"==i?e("umg-menu").hasClass("umggr-newsletter-inline-link")?(n("/#newsletter"),r("/#newsletter")):g():"_blank"===t.target?window.open(i,"_blank","noopener,noreferrer"):(window.location.href=i,n(i),r(i))})})}}if(k){i(k,k.shadowRoot);k.shadowRoot.querySelector(".menu").querySelectorAll("a[href]").forEach(t=>{"javascript:;"!==t.getAttribute("href")?(t.setAttribute("data-umga-navigation-link",""),t.setAttribute("data-umga-navigation-link-location","Header")):(t.setAttribute("data-umga-sign-up-cta",""),t.setAttribute("data-umga-sign-up-cta-location","Header")),t.addEventListener("click",o=>{o.preventDefault(),"javascript:;"!==t.getAttribute("href")?u("umga:navigation_click",{click_text:t.textContent.trim(),click_url:t.href,page_url:window.location.href}):u("umga:sign_up_cta",{click_text:t.textContent.trim()||"Sign Up",page_url:window.location.href,cta_location:t.getAttribute("data-umga-sign-up-cta-location")||c(k)});let i=t.getAttribute("href");window.location.hostname;"javascript:;"==i?e("umg-menu").hasClass("umggr-newsletter-inline-link")?(n("/#newsletter"),r("/#newsletter")):g():"_blank"===t.target?window.open(i,"_blank","noopener,noreferrer"):(window.location.href=i,n(i),r(i))})})}e(document).on("click","[data-umga-sign-up-cta]",function(){u("umga:sign_up_cta",{click_text:this.getAttribute("label")||e(this).text().trim()||"Sign Up",page_url:window.location.href,cta_location:this.getAttribute("data-umga-sign-up-cta-location")||c(this)})}),e("umg-button-icon.umggr-newsletter-modal-link, .umggr-newsletter-header-modal-link").click(function(e){g(),e.preventDefault()}),e("umg-button-icon.umggr-newsletter-inline-link, .umggr-newsletter-header-inline-link").click(function(e){n("/#newsletter"),r("/#newsletter"),e.preventDefault()}),customElements.whenDefined("umg-event").then(function(){document.querySelectorAll("umg-event").forEach(function(t){const n=function(){t.querySelectorAll('[data-umga-tour-interaction="tickets"]').forEach(function(t){t.addEventListener("click",function(){u("umga:tour_interaction",{tour_location:t.getAttribute("data-umga-tour-location"),tour_date:t.getAttribute("data-umga-tour-date"),tour_venue:t.getAttribute("data-umga-tour-venue"),click_text:e(t).text().trim(),click_url:new URL(t.getAttribute("url")||t.getAttribute("href"),window.location.href).href,page_url:window.location.href})})})};t.querySelector(':scope > [slot="link"], :scope > [slot="rsvp-link"], :scope > [slot="ticket-links"]')&&"function"==typeof t.requestUpdate&&t.requestUpdate(),t.updateComplete&&"function"==typeof t.updateComplete.then?t.updateComplete.then(n):n()})}).catch(function(){}),document.addEventListener("click",function(t){const n=function(e){const t="function"==typeof e.composedPath?e.composedPath():[e.target],n=t.find(function(e){return e instanceof Element&&e.matches('[data-umga-listen-to-music="true"]')});if(n)return n;const o=t.some(function(e){return e instanceof Element&&e.matches("umg-banner")})&&t.some(function(e){return e instanceof Element&&e.matches("#section-home-section-blk-one")})&&t.some(function(e){return e instanceof Element&&e.matches("umg-button-group")})?t.find(function(e){return e instanceof Element&&e.matches("umg-button[url]")}):null;if(o)return o;if(!t.some(function(e){return e instanceof Element&&e.matches("#section-home-section-blk-one .content-type-blocks-inner, #headerContainer, #hero-content-container")}))return null;return t.find(function(e){return e instanceof Element&&e.matches("a[href], umg-button[url]")&&a(e)})||null}(t);n&&function(t){const n=t.getAttribute("url")||t.getAttribute("href")||"";if(!n||"#"===n||"javascript:;"===n)return;if(!t.hasAttribute("data-umga-listen-to-music")&&!a(t))return;u("umga:listen_to_music",{click_text:e(t).text().trim(),click_url:ne
1w URL(n,window.location.href).href,page_url:window.location.href})}(n)}),e(document).on("click","#sign-up",function(){this.hasAttribute("data-umga-sign-up-cta")||u("umga:sign_up_cta",{click_text:e(this).text().trim()||"Sign Up",page_url:window.location.href,cta_location:c(this)})}),window.__grAnalyticsThirdPartyTourListenerAdded||(window.__grAnalyticsThirdPartyTourListenerAdded=!0,document.addEventListener("click",function(t){const n=t.target.closest("a.seated-event-link[href], a.umg_live_ticket_link[href]");n&&!n.hasAttribute("data-umga-tour-interaction")&&function(t){const n=t.getAttribute("href")||"";if(!n||"#"===n)return;let o="",i="",r="";if(t.classList.contains("umg_live_ticket_link"))o=t.getAttribute("data-gig-date")||"",r=t.getAttribute("data-location")||"";else{const e=t.closest(".seated-event-row");e&&(o=e.querySelector(".seated-event-date-cell")?.textContent?.trim()||"",i=e.querySelector(".seated-event-venue-name")?.textContent?.trim()||"",r=e.querySelector(".seated-event-venue-location")?.textContent?.trim()||"")}u("umga:tour_interaction",{tour_location:r,tour_date:o,tour_venue:i,click_text:e(t).text().trim(),click_url:new URL(n,window.location.href).href,page_url:window.location.href})}(n)},!0)),customElements.whenDefined("umg-deferred-media").then(function(){document.querySelectorAll('umg-deferred-media[data-umga-watch-music-video="true"]').forEach(function(e){const t=function(){e.addEventListener("open-modal",function(){const t=e.getAttribute("source")||"";t&&u("umga:watch_music_video",{song_title:e.getAttribute("data-umga-song-title")||e.getAttribute("title"),click_url:new URL(t,window.location.href).href,page_url:window.location.href})})};e.updateComplete&&"function"==typeof e.updateComplete.then?e.updateComplete.then(t):t()})}).catch(function(){}),customElements.whenDefined("umg-button").then(function(){e(document).on("click",'[data-umga-internal-click="news"]',function(){const t=this.getAttribute("url")||this.getAttribute("href")||"";t&&u("umga:internal_click",{news_headline:this.getAttribute("data-umga-news-headline"),click_text:e(this).text().trim(),click_url:new URL(t,window.location.href).href,page_url:window.location.href})})}).catch(function(){}),e(".scroll-to-section").click(function(e){e.preventDefault();let t=this.getAttribute("url");n(t),r(t)}),customElements.whenDefined("umg-socials").then(function(){document.querySelectorAll("umg-socials").forEach(function(e){const t=function(){(e.shadowRoot?e.shadowRoot.querySelectorAll("umg-button-icon[url]"):[]).forEach(function(t){t.addEventListener("click",function(){const n=t.getAttribute("url")||"",o=t.getAttribute("label")||"";o&&n&&"#"!==n&&u("umga:social_click",{click_text:o,click_url:new URL(n,window.location.href).href,page_url:window.location.href,cta_location:e.closest("#umggrFooter")?"Footer":"Header"})})})};e.updateComplete&&"function"==typeof e.updateComplete.then?e.updateComplete.then(t):t()})}).catch(function(){}),"siteLeave"===gr_global_vars.showEcrmFirstLoad&&e(window).on("beforeunload",function(e){sessionStorage.getItem("unloadCodeExecuted")||(e.preventDefault(),t(),sessionStorage.setItem("unloadCodeExecuted","true"))});const b=new IntersectionObserver(function(e){e.forEach(e=>{const t=e.target.shadowRoot.querySelector("video");t&&(e.isIntersecting?(_&&_!==t&&_.pause(),t.play(),_=t):_===t&&(t.pause(),_=null))})},{root:null,rootMargin:"0px",threshold:.5});let _;document.querySelectorAll("umg-slide").forEach(e=>{const t=e.querySelector("umg-video"),n=e.querySelector("umg-button-icon");t&&(b.observe(t),null!==n&&n.addEventListener("click",()=>{y(t,n)}))});function y(e,t){const n=e.shadowRoot.querySelector("video");n&&(n.muted=!n.muted),n.muted?t.setAttribute("icon","plus"):t.setAttribute("icon","minus")}document.querySelectorAll("umg-video:not(umg-slide umg-video)").forEach(e=>{const t=e.nextElementSibling;b.observe(e),t.addEventListener("click",()=>{y(e,t)}),e.parentNode.insertBefore(t,e.nextSibling)}),e(document).on("click","#close-modal",function(){e("umg-page").removeClass("hideBodyContentSplashPage")})}),e(window).on("resize",function(){l()}),e(window).on("load",function(){e("#section-home-section-blk-one umg-slider").length&&e(document).width()<768&&e("#section-home-section-blk-one umg-slider umg-slide").each(function(t){if("banner-slide-1"===e(this).attr("id")&&e(this).find("umg-video")){const t=jQuery("#section-home-section-blk-one umg-slider umg-banner").height();e("#section-home-section-blk-one umg-slider").css("height",parseInt(t)),document.querySelector("umg-slider").shadowRoot.querySelector("umg-slider-control
1s").shadowRoot.querySelectorAll("umg-button-icon").forEach(t=>{t.addEventListener("click",t=>{e("#section-home-section-blk-one umg-slider").removeAttr("style")})})}})})}(jQuery)})();

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.