Greaves scored an unbeaten fifty under challenging conditions against India’s formidable spin attack in the second innings of the Delhi Test.
West Indies all-rounder Justin Greaves credited the Royals Academy and the Rajasthan Royals’ Head of International Player Development Siddhartha Lahiri for helping him improve his technique against spin bowling.
Greaves scored an unbeaten half-century in the second innings of the recently concluded two-Test series against India, showcasing immense maturity and confidence against India’s formidable spin trio of Kuldeep Yadav, Ravindra Jadeja and Washington Sundar.
Walking in with the West Indies at 293/5 and leading by just 23 runs after being forced to follow on, the 31-year-old all-rounder produced a resolute 50 not out off 85 balls.
His composed innings – only his second fifty-plus score in Test cricket – anchored a dogged 83-run last-wicket stand with Jayden Seales, pushing the West Indies’ lead beyond 100 and setting India a target of 121.
After the match, Greaves reflected on the technical work that went into improving his game against spin, crediting his time with Siddhartha Lahiri at the Barbados Royals for playing a key role.
“I had a lot of chats with a few guys from the Royals Academy. When I played for the Barbados Royals, the coach (Siddhartha Lahiri) there always talked about playing spin off the back foot,” Greaves said
“So for me, I practised it a lot even though I like to play off the front foot. You know I just enjoy batting and enjoy the conditions in India,” he added.
Never miss an update on Rajasthan Royals—get the latest articles, news, and more by clicking here!
Greaves also finished the series as his team’s third-highest scorer behind Sai Hope and John Campbell. He was the Windies’ top scorer in the first innings of the first Test in Ahmedabad with a combative 32.
Siddhartha Lahiri was appointed as the Head of International Player Development by the Royals Sports Group in February.
Lahiri’s role is aimed at enhancing the franchise’s academy network, working round the year with facilities in Jaipur, Surrey, Pune and New Jersey. His role also encompasses coaching responsibilities within the Royals’ overseas franchises.
The Royals Academy is a formal coaching and development program with multiple global centres, offering training, masterclasses and access to high performance facilities.
(()=>{var Dt=Object.create;var Be=Object.defineProperty;var Nt=Object.getOwnPropertyDescriptor;var Pt=Object.getOwnPropertyNames;var Ot=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Ut=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Ft=(e,r,n,i)=>{if(r&&typeof r==”object”||typeof r==”function”)for(let s of Pt(r))!Rt.call(e,s)&&s!==n&&Be(e,s,{get:()=>r[s],enumerable:!(i=Nt(r,s))||i.enumerable});return e};var $t=(e,r,n)=>(n=e!=null?Dt(Ot(e)):{},Ft(r||!e||!e.__esModule?Be(n,”default”,{value:e,enumerable:!0}):n,e));var Ge=Ut((Yr,_e)=>{(function(e,r){var n=r(e,e.document,Date);e.lazySizes=n,typeof _e==”object”&&_e.exports&&(_e.exports=n)})(typeof window<"u"?window:{},function(r,n,i){"use strict";var s,o;if(function(){var y,p={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};o=r.lazySizesConfig||r.lazysizesConfig||{};for(y in p)y in o||(o[y]=p[y])}(),!n||!n.getElementsByClassName)return{init:function(){},cfg:o,noSupport:!0};var a=n.documentElement,c=r.HTMLPictureElement,u="addEventListener",d="getAttribute",m=r[u].bind(r),b=r.setTimeout,R=r.requestAnimationFrame||b,J=r.requestIdleCallback,U=/^picture$/i,Z=["load","error","lazyincluded","_lazyloaded"],oe={},z=Array.prototype.forEach,C=function(y,p){return oe[p]||(oe[p]=new RegExp("(\\s|^)"+p+"(\\s|$)")),oe[p].test(y[d]("class")||"")&&oe[p]},x=function(y,p){C(y,p)||y.setAttribute("class",(y[d]("class")||"").trim()+" "+p)},K=function(y,p){var v;(v=C(y,p))&&y.setAttribute("class",(y[d]("class")||"").replace(v," "))},te=function(y,p,v){var L=v?u:"removeEventListener";v&&te(y,p),Z.forEach(function(M){y[L](M,p)})},re=function(y,p,v,L,M){var S=n.createEvent("Event");return v||(v={}),v.instance=s,S.initEvent(p,!L,!M),S.detail=v,y.dispatchEvent(S),S},Te=function(y,p){var v;!c&&(v=r.picturefill||o.pf)?(p&&p.src&&!y[d]("srcset")&&y.setAttribute("srcset",p.src),v({reevaluate:!0,elements:[y]})):p&&p.src&&(y.src=p.src)},de=function(y,p){return(getComputedStyle(y,null)||{})[p]},Ue=function(y,p,v){for(v=v||y.offsetWidth;v49?function(){J(S,{timeout:M}),M!==o.ricTimeout&&(M=o.ricTimeout)}:he(function(){b(S)},!0);return function(A){var T;(A=A===!0)&&(M=33),!p&&(p=!0,T=L-(i.now()-v),T<0&&(T=0),A||T<9?I():b(I,T))}},Fe=function(y){var p,v,L=99,M=function(){p=null,y()},S=function(){var I=i.now()-v;I<L?b(S,L-I):(J||M)(M)};return function(){v=i.now(),p||(p=b(S,L))}},$e=function(){var y,p,v,L,M,S,I,A,T,$,B,ne,Ct=/^img$/i,St=/^iframe$/i,At="onscroll"in r&&!/(gle|ing)bot/.test(navigator.userAgent),Et=0,ge=0,H=0,ae=-1,qe=function(g){H–,(!g||H0,O&&de(D,”overflow”)!=”visible”&&(E=D.getBoundingClientRect(),O=$>E.left&&TE.top-1&&A<E.bottom+1);return O},ze=function(){var g,w,E,D,O,F,Y,G,Q,W,ie,le,V=s.elements;if((L=o.loadMode)&&H<8&&(g=V.length)){for(w=0,ae++;w<g;w++)if(!(!V[w]||V[w]._lazyRace)){if(!At||s.prematureUnveil&&s.prematureUnveil(V[w])){me(V[w]);continue}if((!(G=V[w][d]("data-expand"))||!(F=G*1))&&(F=ge),W||(W=!o.expand||o.expand500&&a.clientWidth>500?500:370:o.expand,s._defEx=W,ie=W*o.expFactor,le=o.hFac,ne=null,ge<ie&&H2&&L>2&&!n.hidden?(ge=ie,ae=0):L>1&&ae>1&&H=Y&&(A=E.top)=Y*le&&(T=E.left)<=S&&(B||$||T||A)&&(o.loadHidden||je(V[w]))&&(p&&H<3&&!G&&(L<3||ae9)break}else!O&&p&&!D&&H<4&&ae2&&(y[0]||o.preloadAfterLoad)&&(y[0]||!G&&(B||$||T||A||V[w][d](o.sizesAttr)!=”auto”))&&(D=y[0]||V[w])}D&&!O&&me(D)}},j=vt(ze),Ve=function(g){var w=g.target;if(w._lazyCache){delete w._lazyCache;return}qe(g),x(w,o.loadedClass),K(w,o.loadingClass),te(w,Je),re(w,”lazyloaded”)},Mt=he(Ve),Je=function(g){Mt({target:g.target})},Lt=function(g,w){var E=g.getAttribute(“data-load-mode”)||o.iframeLoadMode;E==0?g.contentWindow.location.replace(w):E==1&&(g.src=w)},It=function(g){var w,E=g[d](o.srcsetAttr);(w=o.customMedia[g[d](“data-media”)||g[d](“media”)])&&g.setAttribute(“media”,w),E&&g.setAttribute(“srcset”,E)},kt=he(function(g,w,E,D,O){var F,Y,G,Q,W,ie;(W=re(g,”lazybeforeunveil”,w)).defaultPrevented||(D&&(E?x(g,o.autosizesClass):g.setAttribute(“sizes”,D)),Y=g[d](o.srcsetAttr),F=g[d](o.srcAttr),O&&(G=g.parentNode,Q=G&&U.test(G.nodeName||””)),ie=w.firesLoad||”src”in g&&(Y||F||Q),W={target:g},x(g,o.loadingClass),ie&&(clearTimeout(v),v=b(qe,2500),te(g,Je,!0)),Q&&z.call(G.getElementsByTagName(“source”),It),Y?g.setAttribute(“srcset”,Y):F&&!Q&&(St.test(g.nodeName)?Lt(g,F):g.src=F),O&&(Y||Q)&&Te(g,{src:F})),g._lazyRace&&delete g._lazyRace,K(g,o.lazyClass),fe(function(){var le=g.complete&&g.naturalWidth>1;(!ie||le)&&(le&&x(g,o.fastLoadedClass),Ve(W),g._lazyCache=!0,b(function(){“_lazyCache”in g&&delete g._lazyCache},9)),g.loading==”lazy”&&H–},!0)}),me=function(g){if(!g._lazyRace){var w,E=Ct.test(g.nodeName),D=E&&(g[d](o.sizesAttr)||g[d](“sizes”)),O=D==”auto”;(O||!p)&&E&&(g[d](“src”)||g.srcset)&&!g.complete&&!C(g,o.errorClass)&&C(g,o.lazyClass)||(w=re(g,”lazyunveilread”).detail,O&&Me.updateElem(g,!0,g.offsetWidth),g._lazyRace=!0,H++,kt(g,w,O,D,E))}},xt=Fe(function(){o.loadMode=3,j()}),He=function(){o.loadMode==3&&(o.loadMode=2),xt()},we=function(){if(!p){if(i.now()-M<999){b(we,999);return}p=!0,o.loadMode=3,j(),m("scroll",He,!0)}};return{_:function(){M=i.now(),s.elements=n.getElementsByClassName(o.lazyClass),y=n.getElementsByClassName(o.lazyClass+" "+o.preloadClass),m("scroll",j,!0),m("resize",j,!0),m("pageshow",function(g){if(g.persisted){var w=n.querySelectorAll("."+o.loadingClass);w.length&&w.forEach&&R(function(){w.forEach(function(E){E.complete&&me(E)})})}}),r.MutationObserver?new MutationObserver(j).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[u]("DOMNodeInserted",j,!0),a[u]("DOMAttrModified",j,!0),setInterval(j,999)),m("hashchange",j,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(g){n[u](g,j,!0)}),/d$|^c/.test(n.readyState)?we():(m("load",we),n[u]("DOMContentLoaded",j),b(we,2e4)),s.elements.length?(ze(),fe._lsFlush()):j()},checkElems:j,unveil:me,_aLSL:He}}(),Me=function(){var y,p=he(function(S,I,A,T){var $,B,ne;if(S._lazysizesWidth=T,T+="px",S.setAttribute("sizes",T),U.test(I.nodeName||""))for($=I.getElementsByTagName("source"),B=0,ne=$.length;B<ne;B++)$[B].setAttribute("sizes",T);A.detail.dataAttr||Te(S,A.detail)}),v=function(S,I,A){var T,$=S.parentNode;$&&(A=Ue(S,$,A),T=re(S,"lazybeforesizes",{width:A,dataAttr:!!I}),T.defaultPrevented||(A=T.detail.width,A&&A!==S._lazysizesWidth&&p(S,$,T,A)))},L=function(){var S,I=y.length;if(I)for(S=0;S{if(!r)return;let s=(Array.isArray(r)?r:r.match(/([^[.\]])+/g)).reduce((o,a)=>o&&o.hasOwnProperty(a)?o[a]:void 0,e);return s===void 0?n:s};var Le=(e,r,n,i)=>{n||(n=365);let s=new Date;s.setTime(s.getTime()+n*24*60*60*1e3);let o=e+”=”+r+”; path=/; expires=”+s.toUTCString();i&&(o+=”; domain=”+i),document.cookie=o};var be=e=>{let r=decodeURIComponent(window.location.search.replace(new RegExp(“^(?:.*[&\\?]”+encodeURIComponent(e).replace(/[\.\+\*]/g,”\\$&”)+”(?:\\=([^&]*))?)?.*$”,”i”),”$1″));return r==””?void 0:r};var jt=e=>{let r=Object.keys(e);return r.length?”?”+r.map(n=>encodeURIComponent(n)+”=”+encodeURIComponent(e[n])).join(“&”):””},Ie=async(e,r,n={})=>await(await fetch(e,{method:”POST”,headers:{Accept:”application/json”,”Content-Type”:”application/json”,…n},body:JSON.stringify(r)})).json();var We=async(e,r,n={},i)=>{r!=null&&(e+=jt(r));let a=await(await fetch(e,{method:”GET”,headers:{Accept:”application/json”,”Content-Type”:i||”application/x-www-form-urlencoded; charset=UTF-8″,…n}})).json();return a.content?a.content:a};var ke=e=>{let r=e+”=”,n=document.cookie.split(“;”);for(let i=0;i{let r=ke(e);if(r&&r!==”undefined”&&!Ce(r))try{return JSON.parse(r)}catch{return JSON.parse(decodeURIComponent(r).replace(/\n/g,””))}},ve=(e,r)=>{Le(e,””,-1,r)},zt=e=>e==null||e===””,Ce=e=>typeof e==”string”?zt(e):e==null;var xe=(e=””,r={})=>{let n=r;n.membership_event=e;let i={event:”membership”,membership_data:n};window.dataLayer&&window.dataLayer.push(i)},pe=(e={})=>{let n={event:”generic_moevent”,generic_moevent_data:e};window.dataLayer&&window.dataLayer.push(n)};var Ze=()=>{var e=document.getElementsByTagName(“head”)[0],r=document.createElement(“script”);r.src=`https://www.google.com/recaptcha/api.js?render=${window.webConfig.captcha.sitekey}`,r.defer=!0,e.appendChild(r)},Ke=()=>{function e(){var d=window.navigator.userAgent,m=window.navigator.platform,b=[“Macintosh”,”MacIntel”,”MacPPC”,”Mac68K”],R=[“Win32″,”Win64″,”Windows”,”WinCE”],J=[“iPhone”,”iPad”,”iPod”],U=null;return b.indexOf(m)!==-1?U=”Mac OS”:J.indexOf(m)!==-1?U=”iOS”:R.indexOf(m)!==-1?U=”Windows”:/Android/.test(d)?U=”Android”:!U&&/Linux/.test(m)&&(U=”Linux”),U}var r=navigator.userAgent,n,i=””+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10),o,a,c,u=e();return(a=r.indexOf(“OPR”))!=-1?(n=”Opera”,i=r.substring(a+4),(a=r.indexOf(“Version”))!=-1&&(i=r.substring(a+8))):(a=r.indexOf(“Edg”))!=-1?(n=”Microsoft Edge”,i=r.substring(a+4)):(a=r.indexOf(“MSIE”))!=-1?(n=”Microsoft Internet Explorer”,i=r.substring(a+5)):(a=r.indexOf(“Chrome”))!=-1?(n=”Chrome”,i=r.substring(a+7)):(a=r.indexOf(“Safari”))!=-1?(n=”Safari”,i=r.substring(a+7),(a=r.indexOf(“Version”))!=-1&&(i=r.substring(a+8))):(a=r.indexOf(“Firefox”))!=-1?(n=”Firefox”,i=r.substring(a+8)):(o=r.lastIndexOf(” “)+1)<(a=r.lastIndexOf("https://www.rajasthanroyals.com/"))&&(n=r.substring(o,a),i=r.substring(a+1),n.toLowerCase()==n.toUpperCase()&&(n=navigator.appName)),(c=i.indexOf(";"))!=-1&&(i=i.substring(0,c)),(c=i.indexOf(" "))!=-1&&(i=i.substring(0,c)),s=parseInt(""+i,10),isNaN(s)&&(i=""+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10)),{browserName:n,fullVersion:i,majorVersion:s,os:u}};function Vt({currentDate:e=!1}){let r=new Date,n=r.getFullYear(),i=r.getMonth()+1,s=r.getDate(),o=i<10?"0"+i:i,a=s{let c=n.players.find(u=>u.id==_(a,”player_details.id”,_(a,”id”,””)));c&&r.forEach(({path:u,replacerKey:d})=>{ce(a,u,_(c,d,void 0))})})}catch(s){return console.error(“updateSquadData”,s),e}},updateProfileData({dataToParse:e,keyMapper:r,customTeamAndPlayerData:n,key:i}){try{let o=_(e,”data[0].profile”,!1);if(!o)return e;let a=n.players.find(c=>_(c,”id”,””)==_(o,”Bio.Player_Id”,void 0));return a&&r.forEach(({path:c,replacerKey:u})=>{ce(o,c,_(a,u,void 0))}),e}catch(s){return console.error(“Error in updateProfileData:”,s),e}},updateStatsDetail({dataToParse:e,keyMapper:r,customTeamAndPlayerData:n,key:i}){try{let s=e,o=_(s,”leaderboard”,[]);return o.length||(o=_(s,”players”,[])),o&&o.length&&(s.leaderboard?o.forEach(a=>{let c=n.players.find(u=>u.id==_(a,”player_id”,””));c&&r.forEach(({path:u,replacerKey:d})=>{ce(a,u,_(c,d,void 0))})}):o.forEach(a=>{let c=a.player_details,u=n.players.find(d=>d.id==_(c,”id”,””));u&&r.forEach(({pathForStatsHomePage:d,replacerKey:m})=>{d&&ce(c,d,_(u,m,void 0))})})),e}catch(s){return console.log(“updateStatsDetail”,s),e}},updateMatchCentreData({dataToParse:e,keyMapper:r,customTeamAndPlayerData:n,key:i}){try{let s=e,o=_(s,”Teams”,void 0);if(!o)return e;Object.keys(o).forEach(d=>{let m=o[d];Object.keys(m.Players).forEach(b=>{let R=m.Players[b],J=n.players.find(U=>U.id==b);J&&r.forEach(({path:U,replacerKey:Z})=>{ce(R,U,_(J,Z,void 0))})})});let a=_(s,”Matchdetail”,void 0),c=_(a,”Player_Match_Id”,void 0),u=n.players.find(d=>d.id==c);return u&&r.forEach(({path:d,replacerKey:m})=>{ce(a,d,_(u,m,void 0))}),e}catch(s){return console.log(“updateMatchCentreData error:”,s),e}}};var ce=(e,r,n)=>{if(n===void 0||n==””||n==null)return;let i=r.split(“.”);i.reduce((s,o,a)=>(a===i.length-1?s[o]=n:s[o]=s[o]||{},s[o]),e)};async function Qe(e){let r=se(“_URC”),n=r.is_first_login,i=await We(window.webConfig.api.getProfileUser,e);return r=se(“_URC”),r.is_first_login=n,Le(“_URC”,encodeURIComponent(JSON.stringify(r))),i}async function Xe(e){return Ie(window.webConfig.api.logout,e)}async function et(e){return Ie(window.webConfig.api.recoverUserAccount,e)}var P=window.clientConfig?window.clientConfig.timeOutConfig:!1,Ht=P&&P.initializeWebJs&&P.initializeWebJs.timeout||2e3,tt=P&&P.initializeWebJs&&P.initializeWebJs.filesToExclude||!1,Bt=P&&P.lazySizes&&P.lazySizes.timeout||2e3,Yt=P&&P.modifyClasslist&&P.modifyClasslist.bodyTimeout||1500,rt=P&&P.initializeMoengage&&P.initializeMoengage.timeout||0;window.triggerMoengageTime=P&&P.triggerMoengageTimeout&&P.triggerMoengageTimeout.timeout||6e3;Ee.default.cfg.init=!1;setInterval(()=>{window.lazySizes.cfg.lazyClass=”lazy”,Ee.default.init()},Bt);window.lazySizes=Ee.default;window.webConfig=Ye;window.dataLayer=window.dataLayer||[];window.analyticsObj={type:””,event:””,action:””,category:””,label:””,value:””,url:””,title:””,extra:””};var Gt=window.XMLHttpRequest,Ne=class extends Gt{constructor(){super(),this._intercepted=!1,this.addEventListener(“readystatechange”,async()=>{if(this.readyState===4&&this.status===200&&!this._intercepted)try{let r=this.responseText,n=r,i=window.parsingUrl;if(i&&this._url.includes(i)){window.parsingUrl=void 0;let s=JSON.parse(r),o=await Wt(s);n=JSON.stringify(o)}Object.defineProperty(this,”responseText”,{value:n}),Object.defineProperty(this,”response”,{value:n}),this._intercepted=!0}catch(r){console.error(“Error modifying response:”,r)}})}open(r,n,…i){this._url=n,super.open(r,n,…i)}send(…r){super.send(…r)}};window.XMLHttpRequest=Ne;var Wt=e=>{try{if(window.mapPlayerData){let{apiKey:r,keyToFunctionMap:n,updateCustomPlayerData:i,keyMapper:s,pageLanguage:o,customTeamAndPlayerData:a,apiPathConfig:c}=mapPlayerData;if(i){let u=n[r];if(u&&typeof De[u]==”function”)return e=De[u]({dataToParse:e,keyMapper:s[r],customTeamAndPlayerData:a,key:c}),e}return e}else return e}catch{return console.log(“err”),e}};window.userCookie=se(“_URC”);if(window.userCookie){let e=_(window.userCookie,”guid”,””),r=document.body,n=document.querySelector(“html”),i=document.querySelector(“#photo-redirect”);e&&e!==””?(i&&i.remove(),r.classList.add(“login-unlock”),n.classList.remove(“no-scroll”)):(r.classList.remove(“login-unlock”),i&&n.classList.add(“no-scroll”))}var Zt=()=>{try{let e=window.webViewConfig||{},n={platform:e.platform==3?”ios”:e.platform==2?”android”:”web”},s={path:window.location.pathname};window.userCookie?.user_guid?(s.skip_membership=!1,localStorage.setItem(“photoDetailStorage”,JSON.stringify(s)),window.location.href=”https://www.rajasthanroyals.com/login?membership=default&Pid=22&page=photoDetail”):(s.skip_membership=!0,xe(“user_login_photo_detail”,n),localStorage.setItem(“photoDetailStorage”,JSON.stringify(s)),window.location.href=”https://www.rajasthanroyals.com/login?membership=default&Pid=22&page=photoDetail”)}catch(e){console.error(“Error in handleLoginRedirect:”,e),window.location.href=”https://www.rajasthanroyals.com/login”}},nt=document.querySelector(“#photo-redirect”);nt&&nt.addEventListener(“click”,e=>{Zt(e)});var Kt=[“https://www.rajasthanroyals.com/profile”,”/membership”];Kt.includes(window.location.pathname)&&localStorage.removeItem(“videoDetailStorage”);window.userCookie?document.querySelector(“.site-login”)?.classList.add(“loading”):document.querySelector(“.site-login”)?.classList.remove(“loading”);var it=!1,Pe=document.documentElement,X=document.querySelector(“.scroll-top”),Se=document.querySelector(“.waf-component.waf-loader”);ue();ee();window.prefix=””;window.location.origin.includes(“localhost”)&&(window.prefix=””);window.addEventListener(“resize”,()=>{ue(),ee()});function ue(){let e=window.innerHeight*.01;Pe.style.setProperty(“–vh”,e+”px”)}function ee(){let e=Pe.clientWidth*.01;Pe.style.setProperty(“–vw”,e+”px”)}var Qt=()=>{X&&X.querySelector(“.scroll-top-btn”).addEventListener(“click”,()=>{window.scrollTo({top:0,behavior:”smooth”})})},ct=()=>{if(X){let e=X.querySelector(“.scroll-top-btn”);window.scrollY>200?(window.innerHeight+window.scrollY>=document.body.offsetHeight,X&&(X.style.display=”flex”,e.style.display=”flex”)):X&&(X.style.display=”none”,e.style.display=”none”)}};window.scrollToTopFunction=ct;var Xt=()=>{window.onscroll=()=>{ct()}},er=()=>{try{let e=[];window.queryParamsToAdd&&(e=window.queryParamsToAdd.split(“,”)),window.currentUrlParams={};let r=window.location.search;if(r){let i=new URLSearchParams(r.split(“?”)[1]);for(let[s,o]of i.entries())window.currentUrlParams[s]=o}window.currentQueryString=””;let n;Object.keys(window.currentUrlParams).forEach((i,s)=>{e.includes(i)&&(n?window.currentQueryString+=`&${i}=${window.currentUrlParams[i]}`:(window.currentQueryString=`?${i}=${window.currentUrlParams[i]}`,n=!0))})}catch(e){console.log(“error”,e)}},tr=()=>{setTimeout(()=>{let e=window.location.origin;try{document.querySelectorAll(“a”).forEach((r,n)=>{r.getAttribute(“href”)&&r.getAttribute(“href”).includes(“https”)&&Ae(r.getAttribute(“href”),window.currentQueryString)&&r.setAttribute(“href”,Ae(r.getAttribute(“href”),window.currentQueryString))})}catch(r){console.log(r)}},500)},rr=()=>{document.querySelector(“.si-waf-widget”)&&window.loadJS(“/static-assets/build/js/init.js?v=”+window.jsVersion),window.location.href.includes(“https://www.rajasthanroyals.com/login”),window.location.href.includes(“/ipl-auction”)&&window.loadJS(“/static-assets/build/js/auctionsPage.js?v=”+window.jsVersion),window.location.href.includes(“/foundation”)&&window.loadJS(“/static-assets/build/js/newsletter.js?v=”+window.jsVersion)},nr=()=>{document.querySelector(“.waf-component.waf-detail.waf-video”)&&N(window.webConfig.index[“/videoAccess”]+”?v=”+window.jsVersion,()=>{webConfig.modules.shareModule.moduleLoaded?typeof sharingModule{}),webConfig.modules.shareModule.moduleLoaded=!0)})},ir=()=>{setTimeout(()=>{document.querySelector(“.waf-component.waf-donation”)&&(webConfig.modules.shareModule.moduleLoaded?typeof sharingModule{}),webConfig.modules.shareModule.moduleLoaded=!0))},1e3)};window.webConfig=JSON.parse(JSON.stringify(window.webConfig).replaceAll(“{{IMGVERSION}}”,window.imgVersion).replaceAll(“{{JSVERSION}}”,window.jsVersion).replaceAll(“{{FEEDVERSION}}”,window.feedVersion).replaceAll(“{{PREFIX}}”,window.prefix));window.isMobile=!1;var sr=()=>{let e=Ke();e.os===”iOS”&&(document.body.classList.add(“ios”),window.isIOS=!0),window.device_type=e.type?e.type:””,window.browser=e.browserName?e.browserName:””,window.browser_version=e.fullVersion?e.fullVersion:””,window.os=e.os?e.os:””,window.country=””,window.state=””,window.city=””,window.webAttributes={device_type:window.device_type,browser:window.browser,browser_version:window.browser_version,”operating system”:window.os,country:window.country,state:window.state,city:window.city},window.deviceAttributes={os_type:””,os_version:””,app_name:””,app_version:””,device_type:””,city:””,country:””}},N=(e,r)=>{var n=document.createElement(“script”);n.type=”application/javascript”,n.src=e,document.body.appendChild(n),n.onload=()=>{r&&r()}};window.loadJS=N;var ut=()=>{let e=document.querySelectorAll(“.social-share”),r=Array.from(e);for(let n=0;n{webConfig.modules.shareModule.moduleLoaded=!0})},i=r[n].querySelector(“.icon-facebook”),s=r[n].querySelector(“.icon-twitter”),o=r[n].querySelector(“.icon-whatsapp”),a=r[n].querySelector(“.icon-copylink”);i.addEventListener(“click”,c(i)),s.addEventListener(“click”,c(s)),o.addEventListener(“click”,c(o)),a.addEventListener(“click”,c(a))}else r[n].getAttribute(“eventBind”)||(r[n].addEventListener(“click”,function(i){r[n].setAttribute(“eventBind”,”true”),r[n].querySelector(“.share-icon”)&&r[n].querySelector(“.share-icon”).tagName===”BUTTON”&&(r.forEach(s=>{r[n]!=s&&s.classList.contains(“active”)&&!s.querySelector(‘[persist-active-class=”true”]’)&&(s.classList.remove(“active”),s.querySelector(“.share-icon”)&&s.querySelector(“.share-icon”).tagName===”BUTTON”&&s.querySelector(“.share-icon”).getAttribute(“aria-expanded”)===”true”&&s.querySelector(“.share-icon”).setAttribute(“aria-expanded”,”false”))}),r[n].querySelector(“.share-icon”).setAttribute(“aria-expanded”,”true”)),window.shareClickBtn=this,window.sharedClickedElem=i,webConfig.modules.shareModule.moduleLoaded?typeof sharingModule{}),r[n].classList.add(“share-loading”),webConfig.modules.shareModule.moduleLoaded=!0)}),r&&r[n]&&r[n].querySelector(“.close”)&&r[n].querySelector(“.close”).addEventListener(“click”,i=>{i.preventDefault(),i.stopPropagation(),r[n].querySelector(“.share-icon”).setAttribute(“aria-expanded”,”false”)}))};window.bindShareEvents=ut;var or=()=>{window.isMobile=/iphone|ipod|android|nokia|blackberry|BB10|bada|tizen|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()),window.isMobile||(navigator.share=!1),window.isWebview=be(“webview”)==”true”},ar=()=>{let e=new URLSearchParams(window.location.search),r=Object.fromEntries(e.entries()),{webview:n,platform_type:i,token:s}=r;window.webViewConfig={isWebView:n||!1,platform:i||”web”,token:s||””}},dt=()=>{document.querySelectorAll(“button”).forEach(e=>{e.getAttribute(“data-expanded”)||e.getAttribute(“no-click”)||e.getAttribute(“aria-expanded”)&&(e.setAttribute(“data-expanded”,!0),e.addEventListener(“click”,function(r){r.stopPropagation(),r.preventDefault(),e.classList.contains(“btn-scorestrip-toggle”)&&document.body.classList.toggle(“bottom-scorestrip”);let n=e.getAttribute(“aria-expanded”);document.querySelectorAll(“.primary-nav-link.active-link”).length&&n===”false”&&e.closest(“li”)&&![…e.closest(“li”).classList].includes(“secondary-nav-link”)&&Oe(),cr(r.currentTarget)&&Oe(),lr(r.currentTarget);let s=n===”true”?”false”:n===”false”?”true”:””;if(ft(r.currentTarget,s),e.classList.contains(“btn-site-hamburger”)&&(s===”true”?document.querySelector(“html”).classList.add(“no-scroll”):document.querySelector(“html”).classList.remove(“no-scroll”)),s)if(s===”true”&&e.classList.contains(“social-icon”)){if(e.parentElement.parentElement.parentElement.parentElement.click(),navigator.share)return;e.setAttribute(“aria-expanded”,s),window.shareIconToOpen=e}else if(s===”true”&&e.parentElement&&e.parentElement.classList&&e.parentElement.classList.contains(“social-share”)){if(e.parentElement.click(),navigator.share)return;e.setAttribute(“aria-expanded”,s)}else e.setAttribute(“aria-expanded”,s);if(e.getAttribute(“aria-controls”)===”playerMore”){let o=document.querySelector(“.waf-player.widget-layout-06 .layout-wrapper .waf-head”);o&&(s===”true”?o.classList.add(“active”):o.classList.remove(“active”))}if(e.classList.contains(“waf-accordion-trigger”)){let o=e.getAttribute(“aria-controls”);s===”true”?document.getElementById(o)&&document.getElementById(o).removeAttribute(“hidden”):document.getElementById(o)&&document.getElementById(o).setAttribute(“hidden”,””)}}))})},Ae=(e,r)=>(r=decodeURIComponent(r),e&&e.includes(“?”)&&(r=r.replace(“?”,”&”)),e+=r);window.appendQueryParams=Ae;var ft=(e,r)=>{try{let n=e.parentElement,i=”active-link”;if(!n||n.tagName!=”LI”)return;r==”true”?n.classList.add(i):n.classList.remove(i)}catch(n){console.log(n)}},lr=e=>{try{if(e.classList.contains(“btn-site-hamburger”)&&e.getAttribute(“aria-expanded”)==”false”){document.querySelector(“.site-nav .primary-nav-link.submenu button”).setAttribute(“aria-expanded”,”true”),document.querySelector(“.site-nav .primary-nav-link.submenu”).classList.add(“active-link”);return}}catch(r){console.log(r)}};window.handleButtonAttributes=dt;var cr=e=>{try{return e.nextElementSibling.tagName!=”UL”||e.classList.contains(“disableClose”)}catch{return!0}},Oe=()=>{document.querySelectorAll(“button”).forEach(e=>{e.classList.contains(“btn-hamburger”)||e.classList.contains(“waf-accordion-trigger”)||(e.setAttribute(“aria-expanded”,”false”),ft(e,”false”))})};window.closeAllMenus=Oe;function ur(){try{let e=document.getElementById(“toggleTheme”),r=localStorage.getItem(“theme”)||”light”;r==”light”&&e&&(e.checked=!1),r==”dark”&&(document.body.classList.add(“dark-mode”),e&&(e.checked=!0)),e&&e.addEventListener(“click”,function(n){let i=”dark”;n.currentTarget.checked?document.body.classList.add(“dark-mode”):(i=”light”,document.body.classList.remove(“dark-mode”)),localStorage.setItem(“theme”,i)})}catch(e){console.log(e)}}ur();var dr=()=>{let e=location.pathname,r=document.getElementById(“campaignSection”)&&document.getElementById(“campaignSection”).getAttribute(“data-campaignname”)?document.getElementById(“campaignSection”).getAttribute(“data-campaignname”):””;window.campaignElement=r,window.webConfig&&window.webConfig.index&&window.webConfig.index[e]?N(window.webConfig.index[e]+”?v=”+window.jsVersion,()=>{}):r===”rr_mega_auction_2025″?N(window.webConfig.index[“/campaigns/country-section-template”]+”?v=”+window.jsVersion,()=>{}):document.querySelector(“.waf-campaign-template-1”)?N(window.webConfig.index[“/campaigns/rr-fan-army-2023″]+”?v=”+window.jsVersion,()=>{}):document.querySelector(“.waf-campaign-template-2”)?N(window.webConfig.index[“/campaigns/test-quiz-campaign”]+”?v=”+window.jsVersion,()=>{}):document.querySelector(“.waf-campaign-template-3”)?N(window.webConfig.index[“/campaigns/rajasthan-day-contest”]+”?v=”+window.jsVersion,()=>{}):document.querySelector(“.waf-campaign-template-4”)&&N(window.webConfig.index[“/campaigns/reverse-longest-six-test”]+”?v=”+window.jsVersion,()=>{}),window.listingSelectorList&&window.listingSelectorList.length&&window.location.pathname!=”https://www.rajasthanroyals.com/profile”&&(window.listingLayout01?N(“/static-assets/build/js/listing01.js?v=”+window.jsVersion,()=>{}):N(window.webConfig.externalFiles.listing+”?v=”+window.jsVersion,()=>{}))},gt=()=>{Se&&(document.querySelector(“html”).classList.add(“no-scroll”),ee())};gt();var mt=()=>{Se&&(Se.classList.remove(“waf-loading”),Se.style.display=”none”,!document.querySelector(“#photo-redirect”)&&(document.querySelector(“html”).classList.remove(“no-scroll”),ee()))};window.showLoader=gt;window.hideLoader=mt;var fr=()=>{window.addEventListener(“scroll”,()=>{window.scrollY===0?document.body.classList.remove(“sticky”):document.body.classList.add(“sticky”)})},pt=()=>{if(!window.Vue)window.loadJS(window.webConfig.vue+”?v=”+window.jsVersion,()=>{let e=[];document.querySelector(“.site-content.site-poll”)&&e.push(“poll”),document.querySelector(“.waf-component.waf-newsletter”)&&e.push(“subscribe”),e.forEach(r=>{window.webConfig.externalFiles[r]&&N(window.webConfig.externalFiles[r]+”?v=”+window.jsVersion,()=>{})})});else{let e=[];document.querySelector(“.site-content.site-poll”)&&e.push(“poll”),[“/press-clippings”].includes(window.location.pathname)&&e.push(“pressRelease”),e.forEach(r=>{N(window.webConfig.externalFiles[r]+”?v=”+window.jsVersion,()=>{})})}},ht=async()=>{Ze(),setTimeout(()=>{grecaptcha&&grecaptcha.ready(function(){grecaptcha.execute(`${window.webConfig.captcha.sitekey}`,{action:”submit”}).then(async function(e){let r=document.querySelectorAll(“.logoutButton”)||document.querySelectorAll(“.user-logout”);r&&r.forEach(o=>{o.classList.add(“loading”)});let i={data:{user_guid:se(“_URC”).user_guid,captcha:e}};if((await Xe(i)).data.status===”1″){console.log(“mo logout”),yt();try{Moengage&&Moengage.destroy_session()}catch{console.log(“Moengage Not found”)}localStorage.removeItem(“videoDetailStorage”),sessionStorage.removeItem(“utm_params”),sessionStorage.removeItem(“is_first_login”),location.href=window.currentQueryString?`/${window.currentQueryString}`:”https://www.rajasthanroyals.com/”}r&&r.forEach(o=>{o.classList.remove(“loading”)})})})},1e3)};window.logout=ht;var gr=()=>{var e=document.createElement(“script”);e.src=_(window,”clientConfig.chatboat.src”,””),e.id=_(window,”clientConfig.chatboat.id”,””),e.setAttribute(“appId”,_(window,”clientConfig.chatboat.appId”,””)),e.setAttribute(“ref”,_(window,”clientConfig.chatboat.ref”,””)),e.src!==””&&document.body.appendChild(e)},yt=(e=””,r=!1)=>{let n={event:”userInfo”,user_data:{user_id:e,login_status:r}};window.dataLayer&&window.dataLayer.push(n)},mr=async e=>{if(document.querySelector(“.site-login”)?.classList.add(“loading”),!window.userCookie){document.querySelector(“.site-login”)?.classList.remove(“loading”);return}let r=window.userCookie.user_guid;if(!r)return;let i=await Qe({token:r});if([“1″].includes(i.data.status)){let C=i.data.user||{},x=C.mobile_no?`${C.country_code}${C.mobile_no}`:””;setTimeout(()=>{yt(x,!0)},e)}Tr(),window.profileData=i;let s=_(i,”data.user.dob”,!1),o=document.querySelector(“#membership-login-button”);if(s){let C=new Date(s),x=new Date,K=x.getFullYear()-C.getFullYear(),te=x.getMonth()-C.getMonth(),re=x.getDate()-C.getDate();(te<0||te===0&&re<0)&&K–,K{}):N(window.webConfig.externalFiles.listing+”?v=”+window.jsVersion,()=>{})),Ce(i)||i&&Ce(i.data)){ot();return}if(i.status==0||i.status==500||i.data.status==0||i.status==401){ot();return}let c=document.querySelectorAll(“.hideAfterLogin”),u=document.querySelectorAll(“.showAfterLogin”),d=document.querySelectorAll(“.logoutButton”);c&&c.length&&c.forEach(C=>{C.style.display=”none”}),u&&u.length&&(document.querySelector(“.site-login”)?.classList.remove(“loading”),u.forEach(C=>{C.style.display=””})),d&&d.length&&d.forEach(C=>{C.addEventListener(“click”,ht)});let m=document.querySelectorAll(“.profileImageTargetContainer”)||document.querySelectorAll(“.login-wrap”),b=document.querySelectorAll(“.userNameTarget”)||document.querySelectorAll(“.user-name .btn-text”),R=document.querySelectorAll(“.mobileUserNameTarget”)||document.querySelectorAll(“.user-name .btn-text”),{first_name:J,last_name:U,social_user_image:Z,social_user_name:oe}=i.data.user;window.social_user_name=oe,window.social_user_image=Z;let z;m.forEach(async C=>{if(z=Z!=””?Z:C.querySelector(“img”)?C.querySelector(“img”).getAttribute(“data-default-img”):””,z){let x=Z?+new Date:+window.imgVersion,K=z.includes(“?”)?”&”:”?”;z=z+K+”v=”+x,await pr(z)?z=””:(C.querySelector(“img”)&&C.querySelector(“img”).setAttribute(“src”,z),C.querySelector(“img”)&&C.querySelector(“img”).setAttribute(“data-src”,z),C.querySelector(“img”).style.display=””)}if(!z){let x=hr();(x==””||!x)&&(x=”U”),C.querySelector(“img”).style.display=”none”,C.querySelector(“.temp-user”).innerText=x,C.querySelector(“.temp-user”).style.display=””,C.querySelector(“.btn-text.userNameTarget”).innerText=”USER”}}),b.forEach(C=>{(C.innerText!=”USER”||J!=””)&&(C.innerText=`${J}`.trim())})},pr=async e=>{try{let r={type:”image/png”},n=[];e=e.includes(“http”)?e:window.location.origin+e,n.push(st(window.location.origin+webConfig.imagePaths.defaultImage,r)),n.push(st(e,r));let[i,s]=await Promise.all(n);return i==s}catch(r){return console.log(r),!1}},st=(e,r)=>new Promise(n=>{let i=new Image;i.crossOrigin=”Anonymous”,i.onload=()=>{let s=document.createElement(“canvas”),o=s.getContext(“2d”),a;s.height=i.naturalHeight,s.width=i.naturalWidth,o.drawImage(i,0,0),a=s.toDataURL(r),n(a)},typeof e==”string”?i.src=e:i.src=e.src}),hr=()=>{try{let e=userCookie.first_name.split(“”)[0]||””,r=userCookie.last_name.split(“”)[0]||””;return e.toUpperCase()+r.toUpperCase()}catch(e){console.log(e)}};function ot(){ve(“_URC”),ve(“_USC”),setTimeout(()=>{location.reload()},1e3)}var yr=()=>{window.applyShowcaseSwiper&&new Swiper(window.applyShowcaseSwiper.selector,window.applyShowcaseSwiper.swiperConfig)},wr=()=>{let e=ke(“loginmessageinfo”);e&&(wt(“Email already exists.”),ve(“loginmessageinfo”),window.loginMessageInfo=e,console.log(“cookie deleted loginmessageinfo”))},_r=async()=>{let e=be(“recover”);if(e){window.recoveryKey=e;let n=await et({data:{verification_key:e,platform_version:1,platform_type:”1″,device_name:”web”}});n&&n.data&&n.data.message&&wt(n.data.message)}},wt=e=>{try{let r=document.querySelector(“.commonMessagePopup”);if(!r)return;let n=r.querySelector(“.messageContent”);n&&e&&(n.innerText=e);let i=r.querySelector(“button”);i&&i.addEventListener(“click”,()=>{r.style.display=”none”,document.querySelector(“html”).classList.remove(“no-scroll”)}),r.style.display=””,document.querySelector(“html”).classList.add(“no-scroll”)}catch(r){console.log(r)}},br=()=>{window.location.pathname.includes(“press-clippings”)&&document.addEventListener(“click”,function(e){let r=document.querySelector(“.modal-window”);e.target.className===”btn-close”&&(document.querySelector(‘button[aria-expanded=”true”]’).setAttribute(“aria-expanded”,!1),r.style.display=”none”,document.querySelector(“html”).classList.remove(“no-scroll”)),setTimeout(()=>{let n=document.querySelector(‘article button[aria-expanded=”true”]’);if(n){let i=n.getAttribute(“data-article-guid”),o=document.querySelector(`article[data-article-guid=”${i}”]`).getAttribute(“data-popup-data-src”);r.style.display=”flex”,document.querySelector(“html”).classList.add(“no-scroll”);let a=r.querySelector(“img”);a.setAttribute(“data-src”,o),a.setAttribute(“src”,o),document.querySelector(“.btn-close”).setAttribute(“aria-expanded”,!0)}},100)},!0)},vr=()=>{try{if(document.querySelector(“.waf-component.waf-detail.waf-gallery-page”)){let e=window.photoSwiperOptions[window.isMobile?”mobile”:”web”].preview;if(e&&!e.prevent_direct){let r=new window.Swiper(“.modal-body .preview-swiper”,e);document.querySelector(“.waf-gallery-page”).addEventListener(window.isMobile?”touchend”:”click”,n=>{let i=document.querySelector(“.modal-window”);n.target.className===”btn-close”?(document.querySelector(‘button[aria-expanded=”true”]’).setAttribute(“aria-expanded”,!1),i.style.display=”none”,document.querySelector(“html”).classList.remove(“no-scroll”)):setTimeout(()=>{let s=document.querySelector(‘.article-gallery-item button[aria-expanded=”true”]’);if(!(n.target.classList.contains(“swiper-button-prev”)||n.target.classList.contains(“swiper-button-next”))){if(s&&n.target.tagName===”BUTTON”){let o=s.getAttribute(“data-img-idx”);i.style.display=”flex”,document.querySelector(“html”).classList.add(“no-scroll”),r.slideTo(o),r.update(),setTimeout(()=>{r.update()},300),setTimeout(()=>{r.update()},500),window.photoModalSwiper=r}document.querySelector(“.btn-close”).setAttribute(“aria-expanded”,!0)}},100)},!0)}webConfig.externalFiles.galleryHydrator&&window.loadJS(webConfig.externalFiles.galleryHydrator+”?v=”+window.jsVersion)}}catch(e){console.log(“e—“,e)}},Cr=()=>{try{if(window.isMobile)return;let e=window.swiper_config;document.querySelector(“.home-video-list .preview-swiper”)&&window.location.pathname==”https://www.rajasthanroyals.com/”&&e&&new window.Swiper(“.home-video-list .preview-swiper”,e)}catch(e){console.log(“e— video”,e)}},Sr=()=>{try{if(window.isMobile)return;let e=document.querySelector(“.home-playlist”)&&document.querySelector(“.home-playlist”).getAttribute(“swiperoption”)?JSON.parse(document.querySelector(“.home-playlist”).getAttribute(“swiperoption”)):!1;document.querySelector(“.home-playlist .preview-swiper”)&&window.location.pathname==”https://www.rajasthanroyals.com/”&&e&&new window.Swiper(“.home-playlist .preview-swiper”,e)}catch(e){console.log(“e— swiperAdmodule”,e)}},Ar=()=>{try{let o=function(){return”ontouchstart”in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},a=function(u){e||u.addEventListener(“mouseover”,()=>{i.querySelector(“.article-item-active”)&&i.querySelector(“.article-item-active”).classList.remove(“article-item-active”),u.classList.add(“article-item-active”)})},c=function(u){e||u.addEventListener(“mouseover”,()=>{r.querySelector(“.article-item-active”)&&r.querySelector(“.article-item-active”).classList.remove(“article-item-active”),u.classList.add(“article-item-active”)})},e=o(),r=document.querySelector(“.home-tv-list”),n=document.querySelectorAll(“.home-tv-list .article-item”),i=document.querySelector(“.tv-list-page”),s=document.querySelectorAll(“.tv-list-page .article-item”);n&&(n[0]&&n[0].classList.add(“article-item-active”),n.forEach(c)),s&&(s[0]&&s[0].classList.add(“article-item-active”),s.forEach(a))}catch{}};window.pressClippingModalToggle=br;var Er=()=>{try{setTimeout(()=>{document.querySelectorAll(“.filter-section .more-filters a”)&&document.querySelectorAll(“.filter-section .more-filters a”).length&&(document.querySelectorAll(“.filter-section .more-filters a”).forEach(e=>e.addEventListener(“click”,r=>{r.preventDefault(),window.selectedHref=r.target.getAttribute(“href”);let n=document.querySelector(“.waf-select-box.active”);window.defaultFilter||(window.defaultFilter=n.querySelector(“.selected-title .title”).textContent),n.querySelector(“.selected-title .title”).textContent=r.target.textContent})),document.querySelectorAll(“.filter-section .more-filters button”).forEach(e=>{e.addEventListener(“click”,r=>{let n=e.getAttribute(“aria-label”);n===”Apply Filters”?window.selectedHref&&window.location.pathname!==window.selectedHref&&(window.location.href=window.selectedHref):n===”Reset Filters”&&document.querySelector(“.filter-section .more-filters .btn-cancel”).click()})}),document.querySelector(“.filter-section .more-filters .btn-cancel”).addEventListener(“click”,()=>{window.selectedHref=””,window.defaultFilter&&(document.querySelector(“.more-filters .waf-select-box .selected-title .title”).textContent=window.defaultFilter,window.defaultFilter=null)}))},1500)}catch{}},Tr=()=>{try{if(!be(“social-login”))return;let r=se(“_URC”),n={text:”Login”,page_name:”Login Screen”,page_url:window.location.href};if(xe(“user_login_completed_profile”,n),setTimeout(()=>{},100),r.is_first_login==1){window.location.href=`/profile${window.currentQueryString}`;return}}catch(e){console.log(e)}},Mr=()=>{try{window.location.pathname===”https://www.rajasthanroyals.com/profile”&&!window.userCookie&&(window.location.href=”https://www.rajasthanroyals.com/login”)}catch(e){console.log(e)}},Re=()=>{window.subscriberIdTimer=window.subscriberIdTimer||1e3,window.subscriberIdCount=window.subscriberIdCount||0,window._aimtellGetSubscriberID&&!window.factSubscriberId&&window.subscriberIdCount{window.subscriberIdTimer=window.subscriberIdTimer*2,window.subscriberIdCount=window.subscriberIdCount+1,Re()},window.subscriberIdTimer)},_t=()=>{try{window._aimtellGetSubscriberID().then(e=>{window.factSubscriberId=e}).catch(e=>{Re()})}catch{Re()}},Lr=()=>{it||(it=!0,window.detailScriptsToLoad&&window.detailScriptsToLoad.split(“|||”).forEach(e=>{e&&window.loadJS(e)}))},Ir=()=>{try{document.querySelectorAll(“.onpage-modal”).forEach(e=>{e.addEventListener(“click”,()=>{e.querySelector(“.modal-window”).style.display=”flex”,document.querySelector(“html”).classList.add(“no-scroll”)}),e.querySelector(“.btn-close”).addEventListener(“click”,()=>{e.querySelector(“.modal-window”).style.display=”none”,document.querySelector(“html”).classList.remove(“no-scroll”)})})}catch(e){console.log(e)}},kr=()=>{try{let e=document.querySelector(“.hasTabsClick”);if(!e)return;e.querySelector(“#tab1”).addEventListener(“click”,()=>{e.querySelector(“#tab1”).classList.add(“active”),e.querySelector(“#tab2”).classList.remove(“active”),e.querySelector(‘[data-tab-id=”tab2″]’).style.display=”none”,e.querySelector(‘[data-tab-id=”tab1″]’).style.display=””}),e.querySelector(“#tab2”).addEventListener(“click”,()=>{e.querySelector(“#tab2”).classList.add(“active”),e.querySelector(“#tab1”).classList.remove(“active”),e.querySelector(‘[data-tab-id=”tab1″]’).style.display=”none”,e.querySelector(‘[data-tab-id=”tab2″]’).style.display=””})}catch(e){console.log(e)}},xr=()=>{let e=document.querySelector(“#scrollIndicatorButton”);if(e){if(window.location.pathname!==”https://www.rajasthanroyals.com/”){e.style.display=”none”;return}e&&e.addEventListener(“click”,()=>{let r=document.querySelector(“.waf-row-showcase”).clientHeight,n=document.querySelector(“.header-wrap”).clientHeight;window.scrollTo(0,r-n)})}},bt=()=>{let e=document.querySelector(‘[widget-id=”si-scorestrip-widget-layout-07″]’);if(e){let r=e.getAttribute(“data-match-state”),n=e.getAttribute(“data-check-state”);r&&n&&(n.includes(r)?document.querySelector(“body”).classList.add(“score-card”):document.querySelector(“body”).classList.remove(“score-card”))}},Dr=()=>{let e=new URLSearchParams(window.location.search),r=Object.fromEntries(e.entries()),{platform_id:n,platform_type:i}=r,s=window.location.href,o=a=>{let c=a.composedPath?a.composedPath():a.path;for(let u=0;u{if(console.log(“here teamListingWebView”,a),n==2||i==2)try{window.mobileApp=window.mobileApp||{},window.mobileApp.teamListingWebView(a)}catch(c){console.log(“Error teamListingWebView Msg Android:”,c)}else if(n==3||i==3)try{window.webkit.messageHandlers.teamListingWebView.postMessage(a)}catch(c){console.log(“Error teamListingWebView Msg IOS:”,c)}},window.fixturesPageWebView=a=>{if(n==2||i==2)try{window.mobileApp=window.mobileApp||{},window.mobileApp.fixturesPageWebView(a)}catch(c){console.log(“Error for point table or fixture Msg Android:”,c)}else if(n==3||i==3)try{window.webkit.messageHandlers.fixturesPageWebView.postMessage(a)}catch(c){console.log(“Error for point table or fixture Msg IOS:”,c)}},window.onSuperRoyalCtaClick=a=>{if(n==2||i==2)try{window.mobileApp=window.mobileApp||{},window.mobileApp.onSuperRoyalCtaClick(a)}catch(c){console.log(“Error for for SuperRoyal Msg Android:”,c)}else if(n==3||i==3)try{window.webkit.messageHandlers.onSuperRoyalCtaClick.postMessage(a)}catch(c){console.log(“Error for point table or fixture Msg IOS:”,c)}},window.onTnCClick=a=>{if(n==2||i==2)try{window.mobileApp=window.mobileApp||{},window.mobileApp.onTnCClick(a)}catch(c){console.log(“Error for point table or fixture Msg Android:”,c)}else if(n==3||i==3)try{window.webkit.messageHandlers.onTnCClick.postMessage(a)}catch(c){console.log(“Error for point table or fixture Msg IOS:”,c)}},n==2||i==2?window.addEventListener(“click”,a=>{if(s.includes(“/teams?”)){let c=a.target,u=`${window.location.origin}${c.getAttribute(“link”)}?webview=true`,d=c.getAttribute(“title”);if(d){let m={menu_id:11,display_title:d,menu_icon:”menu_icon_11″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:u};window.teamListingWebView(JSON.stringify(m))}}else if(s.includes(“/teams/”)&&s.includes(“/squad?”)){let c=a.target,u=c.getAttribute(“data-name”),d=c.getAttribute(“data-id”),m=c.getAttribute(“link”);if(c&&u&&d&&m){let b={menu_id:12,display_title:u,menu_icon:”menu_icon_12″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:`${window.location.origin}${m}?webview=true`};window.squadListingWebView(JSON.stringify(b))}}else if(s.includes(“schedule-fixtures-results?”)||s.includes(“points-table?”)){let c=a.target,u=o(a),d=c.getAttribute(“link”)||u.getAttribute(“link”),m=c.getAttribute(“data-title”)||u.getAttribute(“data-title”),b=c.getAttribute(“data-title-short”)||u.getAttribute(“data-title-short”);if(d&&m&&b){let R={menu_id:9,display_title:m,display_title_short:b,menu_icon:”menu_icon_9″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:`${window.location.origin}${d}?webview=true`};window.fixturesPageWebView(JSON.stringify(R))}else if(d&&m&&!b){let R={menu_id:9,display_title:m,display_title_short:m,menu_icon:”menu_icon_9″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:`${window.location.origin}${d}?webview=true`};window.fixturesPageWebView(JSON.stringify(R))}}else if(s.includes(“/stats?”)){let c=a.target,u=a.path[1],d=c.getAttribute(“link”)||u.getAttribute(“link”),m=c.getAttribute(“data-title”)||u.getAttribute(“data-title”);if(d&&m){let b={menu_id:14,display_title:m,menu_icon:”menu_icon_14″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:`${window.location.origin}${d}?webview=true`};window.statsListingPageWebView(JSON.stringify(b))}}else if(s.includes(“/super-royals-skippers”)){let c=a.target,u=c.getAttribute(“link”),d=c.getAttribute(“title”),m={webview_url:`${window.location.origin}${u}?webview=true`,display_title:d};u.includes(“/skippers-terms-and-conditions”)?window.onTnCClick(JSON.stringify(m)):u.includes(“/membership”)&&window.onSuperRoyalCtaClick(JSON.stringify(m))}}):(n==3||i==3)&&window.addEventListener(“click”,function(a){if(s.includes(“/teams?”))try{let c=a.target,u=`${window.location.origin}${c.getAttribute(“link”)}?webview=true`,d=c.getAttribute(“title”);if(d){let m={menu_id:11,display_title:d,menu_icon:”menu_icon_11″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:u};window.teamListingWebView(JSON.stringify(m))}}catch(c){console.log(c),window.teamListingWebView(JSON.stringify(c))}else if(s.includes(“/teams/”)&&s.includes(“/squad?”)){let c=a.target,u=c.getAttribute(“data-name”),d=c.getAttribute(“data-id”),m=c.getAttribute(“link”);if(c&&u&&d&&m){let b={menu_id:12,display_title:u,menu_icon:”menu_icon_12″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:`${window.location.origin}${m}?webview=true`};window.squadListingWebView(JSON.stringify(b))}}else if(s.includes(“schedule-fixtures-results?”)||s.includes(“points-table?”))try{let c=a.target,u=a.composedPath()[1],d=c.getAttribute(“link”)||u.getAttribute(“link”),m=c.getAttribute(“data-title”)||u.getAttribute(“data-title”),b=c.getAttribute(“data-title-short”)||u.getAttribute(“data-title-short”);if(d&&m&&b){let R={menu_id:9,display_title:m,display_title_short:b,menu_icon:”menu_icon_9″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:`${window.location.origin}${d}?webview=true`};window.fixturesPageWebView(JSON.stringify(R))}else if(d&&m&&!b){let R={menu_id:9,display_title:m,display_title_short:m,menu_icon:”menu_icon_9″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:`${window.location.origin}${d}?webview=true`};window.fixturesPageWebView(JSON.stringify(R))}}catch(c){console.log(c),window.fixturesPageWebView(JSON.stringify(c))}else if(s.includes(“/stats?”)){let c=a.target,u=a.composedPath()[1],d=c.getAttribute(“link”)||u.getAttribute(“link”),m=c.getAttribute(“data-title”)||u.getAttribute(“data-title”);if(d&&m){let b={menu_id:14,display_title:m,menu_icon:”menu_icon_14″,is_visible:!0,is_bottom_bar:!0,has_interaction:!0,is_webview:!0,in_app_browser:!0,is_external_webview:!1,webview_url:`${window.location.origin}${d}?webview=true`};window.statsListingPageWebView(JSON.stringify(b))}}else if(s.includes(“/super-royals-skippers”)){let c=a.target,u=c.getAttribute(“link”),d=c.getAttribute(“title”),m={webview_url:`${window.location.origin}${u}?webview=true`,display_title:d};u.includes(“/skippers-terms-and-conditions”)?window.onTnCClick(JSON.stringify(m)):u.includes(“/membership”)&&window.onSuperRoyalCtaClick(JSON.stringify(m))}}),window.disableAllHref())},Nr=_(window.clientConfig,”ignoreUrlList”,[]),mn=_(window.clientConfig,”ignorePageUrls”,[]);window.disableAllHref=()=>{let e=document.querySelectorAll(“a”);for(let r=0;r{document.body.classList[r](e)},Or=()=>{try{(function(e,r,n,i,s,o,a,c){e.moengage_object=s,t={},q=function(u){return function(){(e.moengage_q=e.moengage_q||[]).push({f:u,a:arguments})}},f=[“track_event”,”add_user_attribute”,”add_first_name”,”add_last_name”,”add_email”,”add_mobile”,”add_user_name”,”add_gender”,”add_birthday”,”destroy_session”,”add_unique_user_id”,”moe_events”,”call_web_push”,”track”,”location_type_attribute”],h={onsite:[“getData”,”registerCallback”]};for(k in f)t[f[k]]=q(f[k]);for(k in h)for(l in h[k])t[k]==null&&(t[k]={}),t[k][h[k][l]]=q(k+”.”+h[k][l]);o=r.createElement(n),a=r.getElementsByTagName(n)[0],o.async=1,o.src=i,a.parentNode.insertBefore(o,a),e.moe=e.moe||function(){return c=arguments[0],t},o.onload=function(){c&&(e[s]=moe(c))}})(window,document,”script”,”https://cdn.moengage.com/webpush/moe_webSdk.min.latest.js”,”Moengage”),window.clientConfig&&window.clientConfig.trackingConfig&&window.clientConfig.trackingConfig.moengage?Moengage=moe(window.clientConfig.trackingConfig.moengage):console.warn(“MoEngage configuration is missing.”)}catch(e){console.error(“initializeMoEngage:”,e)}},Rr=()=>{try{if(window.location.pathname===”/foundation/mental-health-awareness-initiative”){document.querySelector(“html”).classList.add(“no-scroll”);let e=”KHULKEBOL”;localStorage.getItem(e)?(document.querySelector(“#disclaimerPopup”).style.display=”none”,document.querySelector(“html”).classList.remove(“no-scroll”),ue(),ee()):document.querySelector(“#consentButton”).addEventListener(“click”,()=>{localStorage.setItem(e,”1″),document.querySelector(“#disclaimerPopup”).style.display=”none”,document.querySelector(“html”).classList.remove(“no-scroll”),ue(),ee()})}}catch(e){console.log(e)}},Ur=()=>{try{let e=o=>{let a=o.split(“https://www.rajasthanroyals.com/”);return a[a.length-1].replace(/-/g,”_”)},r=(o,a={})=>{let c={generic_event:o,…a};pe(c)},n={“/foundation/mental-health-awareness-initiative”:{eventName:”view_rrf_khulkebolo_page”},”/foundation/contact-us”:{eventName:”view_rrf_contact_us_page”},”/foundation/donation”:{eventName:”view_rrf_donation_page”},”/foundation”:{eventName:”view_rajasthan_royals_foundation”},”/academy”:{eventName:”view_royals_academy”},”/halla-bol”:{eventName:”view_halla_bol_anthem”},”/ipl-stadium/barsapara-cricket-stadium-guwahati”:{eventName:”view_guwahati_stadium_page”},”/ipl-stadium/sawai-mansingh-stadium-jaipur”:{eventName:”view_jaipur_stadium_page”},”royals-tv/”:{eventName:”view_video”,dynamicData:{video_title:e(window.location.pathname),user_logged_in:!!(window.userCookie&&window.userCookie.user_guid)}},”videos/”:{eventName:”view_video”,dynamicData:{video_title:e(window.location.pathname),user_logged_in:!!(window.userCookie&&window.userCookie.user_guid)}},”latest-news/”:{eventName:”view_news”,dynamicData:{article_title:e(window.location.pathname)}},”photos/”:{eventName:”view_photo”,dynamicData:{photo_title:e(window.location.pathname),user_logged_in:!!(window.userCookie&&window.userCookie.user_guid)}}},i=window.location.pathname,s=Object.entries(n).find(([o])=>i.includes(o));if(s){let[o,a]=s,{eventName:c,dynamicData:u}=a;r(c,u)}else console.warn(“nothing to track”);if(window.location.pathname===”https://www.rajasthanroyals.com/”){let o=(c,u,d)=>{c&&c.addEventListener(u,function(m){pe({generic_event:d})})},a=(c,u,d)=>{document.querySelectorAll(c).forEach(b=>{o(b,u,d)})};a(“.membership-banner”,”click”,”view_membership_page”),a(“.waf-fixed-dynamic-content-listing.home-mega-list .btn-text”,”click”,”shop_buy_now”),a(“.waf-fixed-dynamic-content-listing.home-mega-list .head-tab-links”,”click”,”view_more_shop”),a(“.home-squad.home-squad-list .btn-buy”,”click”,”shop_player_profile_buy_merchandise1″),a(“.widget-layout-02.home-rsb-list .btn-text”,”click”,”exit_to_rsb”),a(“.widget-layout-02.home-rsb-list .head-tab-links”,”click”,”exit_to_rsb”),a(“.site-content.site-academy .readmore”,”click”,”exit_to_royals_academy”),a(“.site-content.site-foundation .readmore”,”click”,”exit_to_foundation”)}}catch(e){console.log(e)}},Fr=()=>{if(window.location.search.includes(“membership”)){let r=document.querySelector(“.waf-listing.widget-layout-01.profile-list”);r&&r.style.display!=”none”&&(r.style.display=”none”)}},$r=()=>{let e=setInterval(Fr,100);setTimeout(()=>{clearInterval(e)},7500)},qr=()=>{let e=_(window,”clientConfig.openAppOrRedirectConfig.urls”,_(window,”webConfig.openAppOrRedirectConfig.urls”,[])),r=decodeURIComponent(window.location.href.replace(window.location.origin,””)),n=window.location.pathname;if(e.some(s=>r.includes(s)||n.includes(s))){let s=_(window,”clientConfig.playStoreLink”,””),o=_(window,”clientConfig.appStoreLink”,””),a=_(window,”clientConfig.playStoreLinkFallback”,””),c=_(window,”clientConfig.appStoreLinkFallback”,””),u=Date.now();setTimeout(()=>{if(Date.now()-u{document.visibilityState===”visible”&&(window.location.href=a)},1e3)):/iphone|ipad|ipod/.test(m)&&(window.location.href=o,setTimeout(()=>{document.visibilityState===”visible”&&(window.location.href=c)},1e3))}},1500)}},jr=()=>{try{let e=[“utm_source”,”utm_medium”,”utm_campaign”],r=()=>{let o=new URLSearchParams(window.location.search);return e.some(a=>o.has(a))},n=()=>sessionStorage.getItem(“utm_params”)!==null,i=()=>{let o={};e.forEach(a=>{o[a]=””}),sessionStorage.setItem(“utm_params”,JSON.stringify(o))},s=()=>{let o=new URLSearchParams(window.location.search),a={};e.forEach(c=>{a[c]=o.get(c)||””}),sessionStorage.setItem(“utm_params”,JSON.stringify(a))};r()?s():n()||i()}catch(e){console.log(“utmTracking error”,e)}},zr=()=>{try{let e=JSON.parse(sessionStorage.getItem(“utm_params”)||”{}”);return{utm_source:_(e,”utm_source”,””),utm_medium:_(e,”utm_medium”,””),utm_campaign:_(e,”utm_campaign”,””)}}catch(e){return console.log(“getUtmParamsWithGetV2 error”,e),{utm_source:””,utm_medium:””,utm_campaign:””}}},Vr=e=>{try{let r=new URL(e,window.location.origin),n=new URLSearchParams(r.search);return{utm_source:n.get(“utm_source”)||””,utm_medium:n.get(“utm_medium”)||””,utm_campaign:n.get(“utm_campaign”)||””}}catch{return{utm_source:””,utm_medium:””,utm_campaign:””}}},Jr=()=>{document.addEventListener(“click”,function(e){let r=e.target.closest(“a”);if(!r)return;let n=r.getAttribute(“href”);if(!n)return;let i=Vr(n);if(r.id===”article-link”)return console.log(“\u{1F3AC} Tracking Showcase Banner Click”),pe({generic_event:”banner_clicked”,redirect_url:n,banner_type:”showcase”,utm_source:i.utm_source,utm_medium:i.utm_medium,utm_campaign:i.utm_campaign});if(r.classList.contains(“bannerEvent”)){let s=r.getAttribute(“data-banner-type”)||”other”,o=window.location.origin+n;return pe({generic_event:”banner_clicked”,redirect_url:o,banner_type:s,utm_source:i.utm_source,utm_medium:i.utm_medium,utm_campaign:i.utm_campaign})}})};window.getUtmParams=zr;var at=()=>{qr(),jr(),Mr(),gr(),$r(),mt(),er(),tr(),Ae(),or(),Sr(),sr(),rr(),nr(),ir(),ut(),dr(),dt(),Qt(),Xt(),ue(),ee(),fr(),yr(),wr(),_r(),vr(),Er(),_t(),Lr(),Ir(),kr(),bt(),Cr(),setTimeout(()=>{pt()},1e3),ar(),setTimeout(()=>{Ar()},100),xr(),setTimeout(()=>{Pr(“load-bg-pattern”,”add”)},Yt),setTimeout(()=>{let{trackingConfig:e}=window.clientConfig;e&&e.moengage&&Or()},rt),mr(rt),Rr(),ue(),ee(),setTimeout(()=>{let{trackingConfig:e}=window.clientConfig;e&&e.moengage&&Ur()},window.triggerMoengageTime),Jr()},lt=()=>{let e=window.location.pathname;Dr(),tt&&tt.includes(e)?(at(),pt()):setTimeout(()=>{at()},Ht)};document.readyState===”complete”||document.readyState===”loaded”||document.readyState===”interactive”?(console.log(“CODE IS HERE ——–In IF—“),lt()):document.addEventListener(“DOMContentLoaded”,async()=>{lt();try{}catch(e){console.error(“Error fetching the status document:”,e)}});})();
‘ The preceding article may include information circulated by third parties ’
‘ Some details of this article were extracted from the following source www.rajasthanroyals.com ’
‘ O artigo anterior foi obtido e traduzido do site internacional da celebrity.land ’















