PageSourceSearch

https://euroleague.tv/code/js/chunks/gift-root.a0d18302b3d6023d4fda.js

js euroleague.tv collected 2026-09-24 23:58:07 UTC 11,030 bytes, 3 lines download raw bytes

1(()=>{(function(){try{var v=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},_=new v.Error().stack;_&&(v._sentryDebugIds=v._sentryDebugIds||{},v._sentryDebugIds[_]="d78d275b-9584-4890-a613-050c97c26dc1",v._sentryDebugIdIdentifier="sentry-dbid-d78d275b-9584-4890-a613-050c97c26dc1")}catch(a){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[56742],{3248:((v,_,a)=>{a.d(_,{P:()=>G});var c=a(18128),m=a(6872),d=a(58357),E=a(97963),l=a(36267),s=a(33438),M=a(54718),p=a(51772),T=a(91373);const G=($,U,N,h,A)=>{const C=new p.o({clearSession:l.w,showVPNBlockingMessage:()=>{},getActiveLocale:N}),L=new c.l({baseUrl:`${$}/api/v2`,storageProvider:new T.L(A,h),useDefaultResponseMiddleware:!1,useDefaultErrorMiddleware:!1,appVersion:U,driver:(g,O)=>fetch(g,O)}),W=async g=>await L.refresh(g),K=g=>{const O=(0,E.WI)(g.parsedData.authorisationToken);if(O){const{sub:Z,gue:V,rol:z,exp:b,loc:F,par:x,pro:j,ent:H}=O,w={id:Z,rol:z,isGuest:V,loc:F,par:x,pro:j,ent:H},X=d.A.update({user:w,exp:b,missingInformationStatus:g.parsedData.missingInformationStatus});s.Ay.dispatch(X)}},B=async g=>{const O=await W(g);return K(O),O};return L.applyRequestMiddleware([C.languageHeaderMiddleware,(0,M.applyAdsMacroHeaderMiddleware)(L)]),L.applyResponseMiddleware([C.parsedDataMiddleWare,C.vpnBlockingMiddleWare]),L.applyErrorMiddleware([(0,m.nL)(B),C.errorMiddleware]),L}}),9279:((v,_,a)=>{a.d(_,{E:()=>E,l:()=>d});var c=a(52118),m=a.n(c);const d=(0,c.all)().reduce((l,s)=>Object.assign(Object.assign({},l),{[s.countryCode]:{countryCallingCode:s.countryCallingCode,countryCode:s.countryCode,countryNameEn:s.countryNameEn,countryNameLocal:s.countryNameLocal,currencyCode:s.currencyCode,currencyNameEn:s.currencyNameEn,flag:s.flag,officialLanguageCode:s.officialLanguageCode,officialLanguageNameEn:s.officialLanguageNameEn,officialLanguageNameLocal:s.officialLanguageNameLocal,region:s.region,tinName:s.tinName,tinType:s.tinType}}),{}),E=(l,s)=>`${(l?`+${l}`:"").replace(/ /g,"")}${s.replace(/ /g,"")}`}),26969:((v,_,a)=>{a.d(_,{Bm:()=>B,Hk:()=>x,J9:()=>O,QF:()=>z,St:()=>K,YI:()=>j,fI:()=>W,fP:()=>C,l2:()=>H,tV:()=>L});var c=a(85537),m=a(21904),d=a(84657),E=a(57320),l=a(12776),s=Object.defineProperty,M=Object.defineProperties,p=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,U=(e,o,i)=>o in e?s(e,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[o]=i,N=(e,o)=>{for(var i in o||(o={}))G.call(o,i)&&U(e,i,o[i]);if(T)for(var i of T(o))$.call(o,i)&&U(e,i,o[i]);return e},h=(e,o)=>M(e,p(o));const A=e=>e.replace("/v2","/v4"),C=(e,o)=>e.get(`${A(e.baseUrl)}${l.U.GET_GIFTS}?countryCode=${o}`),L=(e,o)=>e.post(`${A(e.baseUrl)}${l.U.REDEEM_GIFT}/${o}`,{}),W=(e,o)=>e.get(`${A(e.baseUrl)}${l.U.REDEEM_GIFT}/${o}`),K=(e,o)=>e.post(l._.SET_PII,o),B=e=>e.get(A(e.baseUrl)+l.U.GET_BASKET),g=e=>e.delete(A(e.baseUrl)+l.U.GET_BASKET_CHANGES),O=async(e,{recipient:o,duration:i,message:f},D,I)=>(await g(I),await Z(e,o,i,f,D,I)),Z=(e,o,i,f="",D="",I)=>{const Q={recipientEmail:o,note:f,options:i?{numberOfPeriods:{type:"INT_RANGE",value:i}}:{}};return I.post(`${A(I.baseUrl)}${l.U.ADD_GIFT_TO_BASKET}/${e}?countryCode=${D}`,Q)},V=e=>{try{return(0,c.s)(e)}catch(o){return null}},z=async e=>{const o=localStorage.getItem(E.h0),i=V(o);return i?(i.isGuest=i.gue,i.loc=i.loc||i.lo2,i):b(e)},b=async e=>{try{const{authorisationToken:o,refreshToken:i}=await e.post("/login/guest/checkin",null,{useAuth:!1}),{sub:f,gue:D,rol:I,loc:k,lo2:Q}=V(o),ne={id:f,rol:I,isGuest:D,loc:k||Q};return localStorage.setItem(E.h0,o),localStorage.setItem(E.US,i),ne}catch(o){F()}},F=()=>{localStorage.removeItem(E.h0),localStorage.removeItem(E.US)},x=e=>{var o,i;const{options:f}=e,D=!Object.keys(f||{}).length,I=D?{type:d.bK.PPV,subscriptionPeriod:null}:{subscriptionPeriod:(o=f.period)==null?void 0:o.value,type:d.bK.SUBSCRIPTION};return{id:e.externalId,badge:null,description:e.description,name:e.name,amounts:[h(N({},e.itemPrice),{default:!0})],purchaseStrategy:I,type:D?d.bK.PPV:d.AV.STANDARD,defaultMarketingPricePeriod:D?null:(i=f.period)==null?void 0:i.value,status:null,managed:!0}},j=e=>({id:e.externalId,badge:null,description:e.description,name:e.name,amounts:[h(N({},e.total),{default:!0}
1)],type:null,defaultMarketingPricePeriod:null,status:null,managed:!0,purchaseStrategy:null}),H=e=>{var o;return{basketItems:e.basketItems.map(X),paymentProvider:w((o=e.availablePaymentProviders)==null?void 0:o[0]),paymentProvidersList:e.availablePaymentProviders.map(w),tax:e.tax,totalDiscount:e.totalDiscount,discountedTotal:e.total,subTotal:e.totalExcTax,voucherItems:null,taxRateEstimated:e.taxRateEstimated}},w=e=>({providerId:null,name:e.name,providerType:e.paymentProviderType,paymentProviderGroupType:e.paymentProviderGroupType,paymentMethodType:e.paymentProviderGroupType===m.yS.CREDIT_CARD?m.eq.CARD:e.paymentProviderGroupType,targetPaymentProvider:e.targetPaymentProvider,details:e.details}),X=e=>({catalogPrice:e.catalogPrice.amount,currency:e.total.currency,description:e.description,name:e.name,scale:e.total.scale,tax:e.tax.amount,total:e.total.amount,subscriptionSetting:null,subTotal:null,taxInclusive:null,taxRate:null,sku:null})}),38537:((v,_,a)=>{a.d(_,{Br:()=>i,Bt:()=>o,Gw:()=>p.G,IR:()=>T.I,K9:()=>x,Ko:()=>e,M2:()=>X,OZ:()=>b,PJ:()=>I,Q9:()=>j,T1:()=>ce,Wo:()=>H,_L:()=>k,cD:()=>D,fC:()=>F,iX:()=>ie,nJ:()=>w,pw:()=>se,rw:()=>le,yd:()=>B,ye:()=>f});var c=a(84657),m=a(76046),d=a(52360),E=a(22707),l=a(16505),s=a(79544),M=a(18364),p=a(99776),T=a(18568),G=Object.defineProperty,$=Object.defineProperties,U=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,C=(t,n,r)=>n in t?G(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,L=(t,n)=>{for(var r in n||(n={}))h.call(n,r)&&C(t,r,n[r]);if(N)for(var r of N(n))A.call(n,r)&&C(t,r,n[r]);return t},W=(t,n)=>$(t,U(n));const{ENV_CONF:{httpapi:K}}=window;var B=(t=>(t.ELIGIBLE="ELIGIBLE",t.NOT_ELIGIBLE="NOT_ELIGIBLE",t))(B||{});const g=(t,n)=>!!t.licences.filter(({licence:{id:r}})=>r===n).length,O=(t,n)=>t.filter(r=>g(r,n))[0],Z=t=>Promise.all(t?[]:[getUserDetails(),getCards(http)]),V=({type:t,purchaseStrategy:n={type:null},managed:r},P=!1)=>r&&t!==BLANKET&&t!==FREE&&!(n.type===PPV&&P),z=()=>http.get(URLS.CURRENT_LICENCE),b=()=>l.LV.get(s.tl.ALL_LICENCES),F=(t,n=[])=>{const r={};return t&&(r.includeEntitlements="ALL_ACTIVE_USER_ENTITLEMENTS"),n.length&&(r.licenceId=n),l.LV.get(s.tl.LICENCE_FAMILIES,{queryParams:r})},x=(t,n)=>{const r=n?c.C.LEAVE:c.C.CONTINUE;return l.LV.put(`${K}${s.tl.PRICE_MIGRATION}/${t}/consent`,{status:r})},j=({licenceId:t,cardId:n,checkBillingDetails:r=!1})=>l.LV.post(`${s.tl.ALL_LICENCES}/${t}/card/${n}${r?`?checkBillingDetails=${r}`:""}`,null),H=(t,n)=>l.LV.post(`${(0,l.bL)(l.LV.baseUrl)}${s.tl.ACTIVE_LICENCES}/${t}/pause`,L({},n&&{config:{resumeAfter:n}})),w=t=>l.LV.post(`${(0,l.bL)(l.LV.baseUrl)}${s.tl.ACTIVE_LICENCES}/${t}/resume`,{}),X=(t,n)=>{let r=`${s.tl.ACTIVE_LICENCES}/${t}`;return n&&(r+="?cancellationDiscount=IGNORE"),l.LV.delete(r).cat
1ch(({messages:P})=>{const R=P.join(" ");return Promise.reject(R)})},e=t=>l.LV.get(`${s.tl.CANCELATION_PROMO}/${t}/verify`,{}),o=t=>l.LV.post(`${s.tl.CANCELATION_PROMO}/${t}/redeem`,{}),i=t=>l.LV.post(`${s.tl.CANCELATION_PROMO}/${t}/refuse`,{}),f=t=>{const n=`${s.tl.REACTIVATE_LICENCE}/${t}`;return l.LV.put(n,{},{method:"PATCH"})},D=t=>{const n=t&&t.some(P=>P.local),r=t&&t.some(P=>P.default);return n||r},I=(t,n,r)=>{switch(t){case c.Nt.ACTIVE:return"activeStatus";case c.Nt.UPCOMING:return n?r?"licencePausedStatus":null:"upcomingStatus";case c.Nt.EXPIRED:return"expiredStatus";default:}},k=t=>{if(t.type===c.oQ.PERCENTAGE)return`${t.percentage}%`;if(t.type===c.oQ.AMOUNT)return(0,E.e)(t.amount,!0)},Q=(t,n)=>n?t.state!==c.Nt.UPCOMING:!0,ne=(t,n)=>t.lifeTimeRepeat?n?t.state===c.Nt.ACTIVE:t.state===c.Nt.UPCOMING:!0,se=(t,n,r)=>Q(t,n)&&ne(t,r),le=({licence:t,licenceStatus:{autoRenewingStatus:n,expiryTimestamp:r,status:P,licencePayment:{paymentEventType:R}={paymentEventType:null}},paymentProviderInfo:{managed:Y}={managed:!0}})=>W(L({},t),{managed:Y,willRenew:n==="AUTO_RENEWING",expiry:r,status:P,paymentStatus:R}),ce=t=>{var n,r;const P=u=>{var y,S;return(0,d.U0)((y=u.licenceStatus)==null?void 0:y.tierChangeDetails)||(0,d.xL)((S=u.licenceStatus)==null?void 0:S.tierChangeDetails)},R=u=>{var y;return(0,d.VG)((y=u.licenceStatus)==null?void 0:y.tierChangeDetails)},Y=u=>u.status===c.uX.ACTIVE&&!P(u)&&!R(u),J=u=>u.licenceStatus.status===c.uX.EXPIRED&&u.licenceStatus.pauseState===c.WF.PAUSED,ae=u=>{var y;return(0,d.Yn)((y=u.licenceStatus)==null?void 0:y.tierChangeDetails)},q=u=>Y(u)||J(u)||ae(u),ee=((n=t==null?void 0:t.licenceFamilies)==null?void 0:n.reduce((u,y)=>{const S=y==null?void 0:y.licences.filter(q);return S?[...u,...S]:u},[]))||[],re=((r=t==null?void 0:t.nonFamilyBasedLicences)==null?void 0:r.filter(q))||[],te=[...ee,...re];return te.length?te:null},ie=t=>{const{description:n,familyRank:r,id:P,name:R,purchaseStrategy:Y,amount:J,trialDetails:ae,defaultMarketingPricePeriod:q,activationStrategy:ee,cta:re,ctaControl:te,licenceDisplayStyle:u}=t,{amount:y,currency:S,periodAmounts:ue,scale:de,sku:_e,taxInclusive:Ee,autoAppliedDiscount:pe}=J||{},oe={name:R,id:P,description:n,family:r[0].family,rank:r[0].rank,type:J?c.AV.STANDARD:c.AV.FREE,purchaseStrategy:Y,trialDetails:ae,defaultMarketingPricePeriod:q,amounts:J?[{amount:y,currency:S,default:!0,id:null,local:!0,periodAmounts:ue,scale:de,sku:_e,taxInclusive:Ee,autoAppliedDiscount:pe}]:[],cta:re,ctaControl:te,displayStyle:u};return(ee==null?void 0:ee.type)===c.oL.CONFIRM_PAYMENT&&(oe.licenceStatus={status:c.uX.INACTIVE,autoRenewingStatus:c.l$.UNKNOWN_RENEWING,pauseState:c.WF.NOT_ALLOWED,subscriptionPendingActions:[{action:c.Vq.CONFIRMED_PAYMENT_REQUIRED,requestedAt:null,actionDueBy:null}],licencePayment:{paymentEventType:M.dX.UNCONFIRMED,purchaseTimestamp:null,expiryTimestamp:null,paymentProviderInfo:null,cardId:null,purchaseId:null}}),oe}}),54718:((v,_,a)=>{a.r(_),a.d(_,{applyAdsMacroHeaderMiddleware:()=>l});var c=a(73016),m=a(15011),d=a(32248),E=a(47078);const l=s=>(0,c.o)({playerType:"Website",playerVersion:window.OUTPUT_FOLDER,deviceType:m.b.PERSONAL_COMPUTER,createGooglePalNonces:async p=>E.M.createGooglePalNonces(p),getIsAdsEnabled:async()=>window.APP_CONF.adsConfigurationStatus===d.AvailabilityState.ENABLED,getIsGooglePalEnabled:async()=>E.M.getIsGoogleSdkEnabled(),getIsLiveRampAtsEnabled:async()=>{var p;return((p=window.APPS[d.APP_SETTINGS_NAMESPACE.WEB])==null?void 0:p.enableLiverampAts)===d.AvailabilityState.ENABLED},getAltOrigin:async()=>{var p,T;return`https://${(T=window.APP_CONF.preferredDomain)!=null?T:(p=window.DOMAINS)==null?void 0:p[0]}`},httpService:s})}),97966:((v,_,a)=>{a.d(_,{E:()=>m});var c=a(96540);const m=(0,c.createContext)(null)})}]);})();
2
3//# sourceMappingURL=gift-root.a0d18302b3d6023d4fda.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.