PageSourceSearch

https://www.justwatch.com/appassets/ByYYXMit.js

js justwatch.com collected 2026-09-24 08:01:12 UTC 3,924 bytes, 2 lines download raw bytes

1import{aP as K,aQ as f,aR as Z,bp as z,b6 as J,b8 as ee,bq as te,ba as ae,bb as ne,da as oe,dY as ie,bn as L,bt as P,aS as se,dR as le,aX as T,aT as r,aU as d,d0 as re,aV as y,aW as M,aZ as de,b0 as g,bk as ue,dS as ce,aY as ve,bw as fe,b4 as w,b1 as o,b3 as N,d4 as R,eP as me,eQ as be,eR as _e,fh as pe,b5 as ye}from"./DqUoKSZT.js";import{I as x}from"./PJnM8dfo.js";import{r as ge,l as we,c as Ee,A as B}from"./CSkB3OLO.js";import{l as Ie}from"./CKfRQ8HS.js";import"./D6ib26MG.js";import"./COl0qh72.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"5e0fb5f8cfa644e65037bca5f9960ea76b3077d0"};var u=new t.Error().stack;u&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[u]="c83a7c59-03dc-4638-8f99-618213dcb3ec",t._sentryDebugIdIdentifier="sentry-dbid-c83a7c59-03dc-4638-8f99-618213dcb3ec")}catch{}})();const ke={key:0},Ae=["id","data-ad-position"],Se=["id"],Ce=["id"],he={class:"ad-unit__removal-container"},Le=K({__name:"SnigelExpAdUnit",props:{adPosition:{},subgenres:{default:void 0},additionalContexts:{default:()=>[]},allowAdRemoval:{type:Boolean,default:!0},titleId:{},isModal:{type:Boolean}},emits:["adClicked","removeAdClicked"],setup(t,{emit:u}){const n=t,E=u,{webLocale:s,isProWebLocale:U}=f(Z()),{activeRoute:D}=f(z()),{jwLoginId:O,strictlyAllConsentsGranted:I}=f(J()),{overridePageState:V}=f(ee()),m=w(!1),b=w(null),$=o(()=>n.isModal&&V.value?.pageEntryMode==="modal"),{activeVariantWithControlGroup:_}=te("EXP_SNIGEL"),i=o(()=>_.value==="variant_1"),c=o(()=>_.value==="control"),p=o(()=>i.value?B.SNIGEL:c.value?B.YIELDLOVE:null),G=o(()=>`jw_${s.value}_${n.adPosition}`),k=o(()=>`adngin-${n.adPosition}-${$.value?"1":"0"}`),v=o(()=>c.value?G.value:i.value?k.value:""),A=pe(Ee,w(null)),Y=o(()=>{if(i.value)return null;const e={};c.value&&(e.experiment_name="EXP_SNIGEL_CONTROL");const a=n.subgenres?.map(l=>l.content.shortName).filter(l=>l!=null)??[];return a.length&&(e.subgenre=a.join(",")),Object.keys(e).length?e:null}),j={callback:(e,a)=>W(e)};async function S(){const e=p.value;!e||m.value||(L(s.value)&&await P(I).toBeTruthy(),(!i.value||A.value!==n.titleId)&&(i.value&&(A.value=n.titleId??""),await we(s.value,v.value,e,void 0,Y.value)),m.value=!0)}function W(e,a){e&&N.trackEvent(x.AD,{action:"impression",label:"banner",nonInteraction:!0},n.additionalContexts)}function C(){N.trackEvent(x.AD,{action:"click",label:"banner"},n.additionalContexts),E("adClicked")}function q(){b.value?.querySelector("iframe")===document.activeElement&&window.focus()}function h(){b.value?.querySelector("iframe")===document.activeElement&&C()}function X(){const e="RemoveAds";U.value?(R.openModal(me,{},{},e,!0),be(e)):R.openModal(_e,{closable:!0},{cssClass:"account-modal"},"AdUnit"),E("removeAdClicked")}return ae(()=>[D.value,O.value],async()=>await S()),ne(async()=>{Ie(S),window.addEventListener("blur",h)}),oe(()=>{window.removeEventListener("blur",h)}),ie(async()=>{L(s.value)&&await P(I).toBeTruthy(),p.value&&ge(s.value,v.value,p.value)}),(e,a)=>{const l=ue,F=se("FontAwesomeIcon"),H=le("observe-visibility");return T(_)?(r(),d("div",ke,[re((r(),d("div",{class:"ad-unit",ref_key:"adUnit",ref:b,onClick:a[0]||(a[0]=Q=>C()),onMouseleave:a[1]||(a[1]=Q=>q())},[y("div",{id:`slot-${v.value}`,class:"ad-container","data-ad-position":t.adPosition},[M(l,null,{default:de(()=>[c.value?(r(),d("div",{key:0,class:"ad-unit__container",id:v.value},null,8,Se)):i.value?(r(),d("div",{key:1,class:"ad-unit__container",id:k.value},null,8,Ce)):g("",!0)]),_:1}),y("div",he,[m.value&&t.allowAdRemoval?(r(),d("button",{key:0,class:"ad-unit__removal",onClick:ce(X,["stop"])},[M(F,{icon:T(ve)},null,8,["icon"]),y("span",null,fe(e.$t("WEBAPP_LOGINS_REMOVE")),1)])):g("",!0)])],8,Ae)],32)),[[H,j]])])):g("",!0)}}}),Be=ye(Le,[["__scopeId","data-v-cfeb125f"]]);export{Be as default};
2//# sourceMappingURL=ByYYXMit.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.