window.googletag = window.googletag || { cmd: [] }; const defaultPostAttributes = { type: 'unknown', categories: 'unknown', tags: 'unknown', id: 'unknown', social: 'unknown' }; const socialNetworks = { facebook: [], twitter: ['t.co'], linkedin: [], instagram: [], pinterest: [], tiktok: [], snapchat: [], 'linkin.bio': [], }; const postAttributes = Object.assign({}, defaultPostAttributes, window.postAttributes || {}); function addBettingWidgetIfNotHidden(version = "desktop") { if (postAttributes.hide_non_gam !== 'hide') { const containerDiv = document.createElement('div'); const widgetWrapper = document.createElement('div'); const scriptElement = document.createElement('script'); // Set properties for desktop or mobile const targetElementId = version === "desktop" ? 'betting-widget-container' : 'btw-wrapper-mob'; const targetElement = document.getElementById(targetElementId); if (!targetElement) { return; // Exit early if there's no target element } widgetWrapper.className = version === "desktop" ? 'btw-wrapper' : ''; if (version === "desktop") { containerDiv.className = 'col-span-12 border-t-[0.5px] mt-7'; containerDiv.style.paddingTop = '1.75rem'; } // Set common attributes for the script element scriptElement.async = true; scriptElement.src = 'https://betting-widget.s3.eu-west-2.amazonaws.com/app.js'; scriptElement.setAttribute('version', version); widgetWrapper.appendChild(scriptElement); containerDiv.appendChild(widgetWrapper); targetElement.appendChild(containerDiv); } } function getReferringNetwork(aliases) { const ref = document.referrer; // Loop through the socialNetwork and aliases entries for (const [socialNetwork, aliasList] of Object.entries(aliases)) { if (ref.includes(socialNetwork) || aliasList.some(alias => ref.includes(alias))) { return socialNetwork; } } return 'unknown'; } function isMobileDevice() { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); } function defineSizeMappings() { return { top: googletag.sizeMapping() .addSize([1024, 0], [[970, 250], [728, 90], [970, 90]]) .addSize([768, 0], [[728, 90]]) .addSize([0, 0], []) .build(), rhs: googletag.sizeMapping() .addSize([1024, 0], [[300, 600], [160, 600], [300, 250]]) .addSize([0, 0], []) .build(), inContent: googletag.sizeMapping() .addSize([1024, 0], [[300, 250], [1, 2]]) .addSize([0, 0], [[300, 250], [320, 50], [1, 2]]) .build(), leftSkin: googletag.sizeMapping() .addSize([760, 0], [[1, 1]]) .addSize([0, 0], []) .build(), rightSkin: googletag.sizeMapping() .addSize([760, 0], [[2, 2]]) .addSize([0, 0], []) .build(), skinTop: googletag.sizeMapping() .addSize([1480, 0], [[970, 90], [970, 250], [728, 90]]) .addSize([0, 0], []) .build(), skinTopMobile: googletag.sizeMapping() .addSize([768, 0], []) .addSize([0, 0], [[300, 250], [320, 50], [1, 2]]) .build(), mobileSticky: googletag.sizeMapping() .addSize([768, 0], []) .addSize([0, 0], [[320, 50]]) .build() }; } function defineSkinUnits() { defineSlot('/247211819/SportsJOE/SportsJOE_Left_Skin', [1, 1], 'div-gpt-ad-1705415191735-0', 'leftSkin'); defineSlot('/247211819/SportsJOE/SportsJOE_Right_Skin', [2, 2], 'div-gpt-ad-1705415332110-0', 'rightSkin'); if(postAttributes.type === 'home') { defineSlot('/247211819/SportsJOE/SportsJOE_Top', [[970, 90], [970, 250], [728, 90]], 'div-gpt-ad-1705414965404-0', 'skinTop'); defineSlot('/247211819/SportsJOE/SportsJOE_in_content_1', [[300, 250], [320, 50], [1, 2]], 'div-gpt-ad-1705413839336-0', 'skinTopMobile'); } } function setLazyLoad() { googletag.pubads().enableLazyLoad({ fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 1.0 }); } function addTargeting(postAttributes) { googletag.pubads().setTargeting('type', postAttributes.type ?? 'unknown'); googletag.pubads().setTargeting('category', postAttributes.categories ?? 'unknown'); googletag.pubads().setTargeting('tag', postAttributes.tags ?? 'unknown'); googletag.pubads().setTargeting('id', String(postAttributes.id) ?? 'unknown'); googletag.pubads().setTargeting('social', getReferringNetwork(socialNetworks) ?? 'unknown'); } function defineAndDisplaySlot(adUnitPath, sizes, elementId, sizeMappingKey) { defineSlot(adUnitPath, sizes, elementId, sizeMappingKey); googletag.display(elementId); } // Only define the ad slot and add it to a list function defineSlot(adUnitPath, sizes, elementId, sizeMappingKey) { const isMobile = isMobileDevice(); const restrictedUnits = ['top', 'rhs']; if (restrictedUnits.includes(adUnitPath) && isMobile) { return; } const sizeMappings = defineSizeMappings(); const mapping = sizeMappings[sizeMappingKey]; const slot = googletag.defineSlot(adUnitPath, sizes, elementId); slot.defineSizeMapping(mapping); slot.addService(googletag.pubads()); } // Function to display a list of ad slots function displaySlots(slotIds) { slotIds.forEach(id => { googletag.display(id); }); } // Function to fire after unit render function renderCallback(event) { if (event.slot.getAdUnitPath().includes('mobile_sticky')) { if (event.isEmpty) { return; } if (document.getElementById('qc-cmp2-persistent-link')) { document.getElementById('qc-cmp2-persistent-link').style.bottom = document.getElementsByClassName('sticky-footer-container')[0].offsetHeight+'px'; } } } googletag.cmd.push(function () { try { defineSkinUnits(); googletag.pubads().enableSingleRequest(); setLazyLoad(); addTargeting(postAttributes); googletag.pubads().setCentering(true); googletag.pubads().addEventListener('slotRenderEnded', function(event) {renderCallback(event);}); googletag.enableServices(); displaySlots(['div-gpt-ad-1705415191735-0','div-gpt-ad-1705415332110-0']); if(postAttributes.type === 'home') { displaySlots(['div-gpt-ad-1705414965404-0','div-gpt-ad-1705413839336-0']); } } catch (err) { console.error("An error occurred while setting up ads:", err); } });
Search icon

Rugby

17th Oct 2023

Keith Earls releases poignant statement as he retires from all forms of rugby

Patrick McCarry

Keith Earls

“When I was young I never imagined I would get to represent my country once, never mind 101 times.”

There will be a lot of tributes paid to Keith Earls over the coming days but Andy Farrell, his coach at Ireland for the past seven years, summed it up well when he described the Limerick native as ‘a true legend of Irish rugby‘.

While it was known that Earls was retiring from international rugby, following Ireland’s World Cup exit, he today (Tuesday, October 17) confirmed that he would not be carrying on with Munster. It brings to an end a 16-year career that saw him achieve that legendary status in Munster red and Ireland green, as well as being a British & Irish Lion, on the 2009 tour.

“It has been an enormous privilege to work with him over the last seven years,” said Farrell. “A gifted and committed outside back, Keith’s influence transcends his on-field achievements, of which there were many, both for Munster and Ireland.

“Keith was also a leader and an incredibly positive force and he will be missed. On behalf of the Ireland team and management, I would like to thank Keith for his contribution to the game and wish him, his wife Edel and their family the very best of luck with the next exciting chapter in their lives.”

Keith Earls

‘Munster has given me some of the greatest days of my life’ – Keith Earls

As news of his retirement from professional rugby was confirmed, Keith Earls released a 338-word statement that captured the essence of his journey, and the village it takes to back up one man’s journey.

“The game of rugby has given me so much and I feel privileged to have represented my home province Munster and Ireland over the course of my career,” he began. “I have always tried to be a good friend and team-mate and give all of myself to the jersey, traits inherited from my parents Ger and Sandra and sister Jenny.

“While retirement is never an easy decision, now is the right time and I feel incredibly fortunate to go out on my own terms representing Ireland on the highest stage. To all the coaches, teachers and volunteers who encouraged and guided me in Thomond, Garryowen and Young Munster and at school in St. Munchin’s College, I am indebted to you for your friendship and support over the years.

“Playing for Munster has given me some of the greatest days of my life. The victories, the heartaches, the camaraderie and the friendships with so many players, coaches and support staff over the years has positively impacted my life more than you will ever know.

“Being a Munster supporter growing up, before I even got the chance to pull on the jersey meant that I appreciated every moment to represent my province across my 202 appearances.

“I was so honoured to be a part of our URC success last season and I have no doubt that it will be a launchpad for the squad to soar even higher in the years to come.

“When I was young I never imagined I would get to represent my country once, never mind 101 times.

“Playing for Ireland meant the world to me and it has been an honour to pull on the jersey and represent our great nation. To all the Ireland coaches, players, support staff and supporters who have backed me throughout my career – thank you from the bottom of my heart.

“Finally, to my wife Edel, children Ella-May, Laurie and Emie – thank you for your unconditional love and support over the years. I couldn’t have made this journey without you.”

Keith Earls was the last remaining Munster player from the squad that won the 2008 Heineken Cup. He won multiple trophies with Munster – personal and with the team – and returned from injury to help them end an 11-year title drought by winning the United Rugby Championship, last season.

He finishes his Ireland career with 36 tries, second only to another Irish rugby legend, Brian O’Driscoll. Others that have recently stepped away from Test rugby include Johnny Sexton (Ireland), Dan Biggar (Wales) and Uini Atonio (France).

MIKE ROSS & JOHNE MURPHY ON HOUSE OF RUGBY

Related articles: