PageSourceSearch

https://entertainment.ie/js/core/8321.js?id=24e37730fde004f78467

js entertainment.ie collected 2026-10-02 04:36:15 UTC 5,081 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8321],{8321:(e,n,t)=>{t.r(n),t.d(n,{default:()=>a});var o=t(244),i=t(451);const r={data:function(){return{providers:[{name:"Show All",value:"default",img:"/images/remote-control.png",width:"16",height:"30"},{name:"Sky",value:"sky",img:"/images/sky3.png",width:"44",height:"28"},{name:"Virgin Media",value:"virgin-media",img:"/images/virgin2.png",width:"47",height:"28"},{name:"Vodafone",value:"vodafone",img:"/images/vodafone.png",width:"89",height:"22"},{name:"Favourites",value:"custom",img:"/images/user-icon.png",width:"19",height:"20"}],provider:null,isAuth:i.Z.check(),firstPattern:"(.*?)entertainment.ie(.*?)/tv/(.*)/(.*?)",SecondPattern:"(.*?)(netflix|tv-news|todays-tv-highlights|shows)(.*?)"}},computed:{accountUrl:function(){return"/my-account/channels"}},methods:{showLogin:function(){$("#loginModal").modal()},onChange:function(e){consentManager.setCookieString("providerSelection",this.provider,365),i.Z.check()&&null!=i.Z.user().provider&&"undefined"!=i.Z.user().channels&&i.Z.user().channels.length>0&&"custom"==e.target.id&&consentManager.setCookieString("customProvider",i.Z.user().provider,365);var n=(0,o.SU)(window.location.href,"provider");if("default"==this.provider||window.location.href.includes("/whats-on-now"))if(window.location.href.includes("/whats-on-now")&&i.Z.check()&&"custom"==e.target.id){var t=i.Z.user().channels;if(n=(0,o.ww)(n,"provider","custom"),t.length>0){var r=t.map((function(e){return e.id})).join(",");n=(0,o.ww)(n,"in",r)}window.location.href=n}else if(i.Z.check()||"custom"!=e.target.id){var a=(0,o.SU)(n,"in");window.location.href=a}else{var s=(0,o.SU)(window.location.href,"in");consentManager.setCookieString("customProviderLogin",(0,o.ww)(s,"provider",this.provider),365),this.showLogin()}else if(i.Z.check()||"custom"!=e.target.id){var c=(0,o.SU)(window.location.href,"in");window.location.href=(0,o.ww)(c,"provider",this.provider)}else{var d=(0,o.SU)(window.location.href,"in");consentManager.setCookieString("customProviderLogin",(0,o.ww)(d,"provider",this.provider),365),this.showLogin()}}},mounted:function(){var e=this;this.isAuth=i.Z.check(),$("#loginModal").click((function(e){var n=new URL(window.location.href).searchParams.get("provider");n||(n="default"),$("input[name=provider-name][value=".concat(n,"]")).prop("checked",!0)}));var n=null;i.Z.check()&&(n=i.Z.user().provider),["virgin-media","sky","vodafone","custom","default"].indexOf(consentManager.getCookie("providerSelection"))>-1&&(n=consentManager.getCookie("providerSelection"));var t=new URL(window.location.href).searchParams.get("provider");if(t?(n=t,$("input[name=provider-name][value=".concat(t,"]")).prop("checked",!0)):n?$("input[name=provider-name][value=".concat(n,"]")).prop("checked",!0):$("input[name=provider-name][value=default]").prop("checked",!0),null!=n){var r=document.querySelectorAll('a:not([href*="popup"])');Array.from(r).map((function(t){var i=t.href;i.match(e.firstPattern)&&!i.match(e.SecondPattern)&&"default"!=n&&(t.href=(0,o.ww)(i,"provider",n))}))}},beforeMount:function(){"custom"!=consentManager.getCookie("providerSelection")||i.Z.check()||consentManager.deleteCookie("providerSelection")}};const a=(0,t(1900).Z)(r,(function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"row select-provider"},[t("div",{staticClass:"col-md-12 mb-1"},[t("h2",[e._v("Display Channel Listings For")]),e._v(" "),this.isAuth?t("a",{staticClass:"btn-channel",attrs:{href:e.accountUrl}},[e._v("Customise my favourites")]):t("a",{staticClass:"btn-channel",attrs:{href:""},on:{click:function(n){return n.preventDefault(),e.showLogin.apply(null,arguments)}}},[e._v("Customise my favourites")]),e._v(" "),t("div",{staticClass:"provider-flex"},[e._l(e.providers,(function(n){return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.provider,expression:"provider"}],attrs:{type:"radio",name:"provider-name",id:n.value},domProps:{value:n.value,checked:e._q(e.provider,n.value)},on:{change:[function(t){e.provider=n.value},e.onChange]}}),e._v(" "),t("label",{staticClass:"btn btn-share",attrs:{for:n.value}},[n.img?t("img",{attrs:{src:n.img,alt:n.name,width:n.width,height:n.height}}
1):e._e(),t("span",[e._v(e._s(n.name))])])]}))],2)])])}),[],!1,null,null,null).exports},1900:(e,n,t)=>{function o(e,n,t,o,i,r,a,s){var c,d="function"==typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=t,d._compiled=!0),o&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=s?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,n){return c.call(n),l(e,n)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}t.d(n,{Z:()=>o})}}]);

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.