PageSourceSearch

https://www.rangers.co.uk/modules/custom/clubcast_cookie/js/cookie…onsent_media.359dc6bb957b2aa72521.js?tlvk0i

js rangers.co.uk collected 2026-09-24 19:50:40 UTC 3,093 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkclubcast=self.webpackChunkclubcast||[]).push([[78674,206992,250458,445113,477471,535211,555526,664242,774319,899097,920832],{266512(e,t,o){o(123792),o(423500),o(962953);var c=o(673383);function n(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var c=o.call(e,t||"default");if("object"!=typeof c)return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const s=new class{constructor(){n(this,"attach",e=>{const t=e.getAttribute("data-category")||"social_media",o=e.getAttribute("data-service")||"unknown";e.querySelector(".js--cookie-consent--accept").addEventListener("click",this.acceptConsentForElement),e.querySelector(".js--cookie-consent--view-external").addEventListener("click",this.viewExternal),e.querySelector(".js--cookie-consent--more-info").addEventListener("click",this.moreInfo),e.__COOKIECONSENT=(0,c.Ay)("CookieConsent",e=>e.getObservable()).subscribe(c=>{var n;this.updateConsentStatus(e,null===(n=c.acceptedServices[t])||void 0===n?void 0:n.includes(o))})}),n(this,"detach",e=>{const t=e.__COOKIECONSENT;t&&t.unsubscribe(),e.querySelectorAll(".js--cookie-consent--accept").forEach(e=>e.removeEventListener("click",this.acceptConsentForElement)),e.querySelectorAll(".js--cookie-consent--view-external").forEach(e=>e.removeEventListener("click",this.viewExternal)),e.querySelectorAll(".js--cookie-consent--more-info").forEach(e=>e.removeEventListener("click",this.moreInfo))}),n(this,"acceptConsentForElement",e=>{const t=e.target.closest(".js--cookie-consent"),o=t.getAttribute("data-category")||"social_media",n=t.getAttribute("data-service")||"unknown";(0,c.Ay)("CookieConsent").subscribe(e=>{e.acceptService(o,n),this.updateConsentStatus(t,!0)})}),n(this,"viewExternal",e=>{const t=e.target.closest(".js--cookie-consent").getAttribute("data-target");window.open(t,"_blank")}),n(this,"moreInfo",()=>{window.open("/privacy-policy","_blank")}),n(this,"updateConsentStatus",(e,t=!1)=>{const o=e.querySelector(".js--cookie-consent--container");if(t){if(e.classList.contains("m-cookie-consent--accepted"))return;if(e.classList.add("m-cookie-consent--accepted"),e.classList.remove("m-cookie-consent--notaccepted"),e.classList.remove("m-cookie-consent--loading"),o){let t=document.createRange();t.selectNode(o);let c=t.createContextualFragment(e.getAttribute("data-content"));o.appendChild(c)}}else{if(e.classList.contains("m-cookie-consent--notaccepted"))return;if(e.classList.add("m-cookie-consent--notaccepted"),e.classList.remove("m-cookie-consent--accepted"),e.classList.remove("m-cookie-consent--loading"),o)for(const e of o.childNodes)e.remove()}})}};(0,o(434880).A)("js--cookie-consent",s)},941669(e){e.exports=jQuery}},e=>{e.O(0,[297214,200528],()=>{return t=266512,e(e.s=t);var t});e.O()}]);
2//# sourceMappingURL=cookie_consent_media.359dc6bb957b2aa72521.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.