Match ends, Rangers 3, Kilmarnock 1.
Rangers manager Philippe Clement vowed to do “more business” after heading into the Scottish Premiership break with victory over Kilmarnock.
Ross McCausland fired the hosts in front after Kyle Vassell was denied when clean through on the Rangers goal, and Abdallah Sima’s stunning chest touch and volley added a quick second before the break.
Danny Armstrong converted a VAR-awarded penalty following John Souttar’s handball – the first Rangers have conceded in 75 league games – but Todd Cantwell restored the two-goal advantage.
Rangers, beaten by Celtic on Saturday, are eight points behind the league leaders with two games in hand and gave new forward signing Fabio Silva a run out as a substitute. Kilmarnock, fourth, trail Hearts by five points.
“We’re going to do some more business,” said Clement. “Everybody in the club is aligned around that and we have now one month to do the good business.”
Kilmarnock counterpart Derek McInnes, meanwhile, hopes to sign a striker.
“You can do good work in January,” he said. “There’s two or three things been identified.
“I actually don’t think I’ve ever been in a transfer window where I’ve not been looking for a striker. We’ll try and bring a striker in or a forward player in that can maybe compliment what we’ve got.
“It’s free agents and the loan market that we’ll look to try and exploit. I just don’t want anybody to leave.”
The Vassell chance prompted Kilmarnock’s best spell of the game, though that was their best opening.
And it was against the run of play that Rangers took the lead. Cyriel Dessers, having gone close with a shot and a header, swept a superb pass from halfway in behind David Watson for McCausland to chase and finish.
Then came Sima’s moment. The winger received Connor Goldson’s pass on the 18-yard line, controlled, spun away from Joe Wright and lashed a shot past the helpless Will Dennis.
The half-time scoreline was harsh on Kilmarnock and they needed a response early in the second period.
They probed and when Rory McKenzie’s delivery struck Souttar’s arm, referee John Beaton reviewed at the monitor and pointed to the spot – the first Premiership penalty Rangers have conceded since January 2022. Armstrong scored confidently.
But the reprieve was short lived. Ridvan Yilmaz’s cross from the left perfectly met the near-post run of Cantwell and the midfielder applied the finish.
Rangers’ first signing of the January transfer window, Fabio Silva, came on for his debut in place of Dessers and James Tavernier, twice, and Cantwell tested Dennis in the final half hour.
Player of the match – Abdallah Sima (Rangers)
Rangers’ second scorer was a persistent threat on the left and lit up the game with his goal
Sima shows Rangers what they’ll be missing – analysis
With his 15th goal of the season, Sima demonstrated what Rangers will be missing when he goes to the African Cup of Nations with Senegal.
That tournament runs from 13 January to 11 February, meaning Sima could be unavailable until Rangers’ match with St Johnstone on 17 February.
The performance and result allowed Rangers to get their weekend disappointment out of their system and go into the winter break with a morale-boosting three points.
After winning the first meeting of the sides on the opening day of the season, Kilmarnock once again showed their ability to restrict Rangers for long spells.
If the passing from the hosts was not precise, there was usually a Killie boot or head in the way.
Going forward, the visitors were adept at getting into the right areas – particularly with the Vassell chance – but what will frustrate manager Derek McInnes is losing the third goal so soon after getting back into the contest at 2-1.
A late Liam Polworth shot would have made for an interesting finale had it not gone just wide.
What they said
‘We need clarity on what’s handball and what’s not’
Rangers manager Philippe Clement: “It was an exceptional goal [by Sima]. The finish was really world class. I give [McCausland] a lot of minutes because he deserves it, he performs, he works for the team. He’s growing and growing.
“I don’t think that John Souttar can do much more or much less with his arm than he did. I hope there comes clarity for the second part of the season. It’s important that there’s clarity about what is handball and what is not handball.”
Kilmarnock manager Derek McInnes: “It felt so harsh for us [going behind]. The second goal came from nowhere. From a defensive point of view, it’s difficult to be too critical of that.
“We just wanted to win the second half. We get ourselves a goal back. What we needed to do then was just be a wee bit more street-wise. The third goal is the goal where we’ve really not defended it well. We kept going and credit to them.”
What’s next?
Both sides are next in action in the Scottish Cup on 20 January. Kilmarnock host Dundee (15:00 GMT) and Rangers visit Dumbarton (17:30).
Line-ups
Rangers
Formation 4-3-3
1Butland
2Tavernier6Goldson5Souttar3Yilmaz
20Dowell4Lundstram13Cantwell
45McCausland9Dessers19Sima
1Butland
2Tavernier
6Goldson
5Souttar
3Yilmaz
20DowellSubstituted forSterlingat 71′minutes
4Lundstram
13CantwellBooked at 15minsSubstituted forRaskinat 89′minutes
45McCauslandSubstituted forMatondoat 84′minutes
9DessersSubstituted forFábio Silvaat 71′minutes
19SimaSubstituted forWrightat 84′minutes
Substitutes
7Fábio Silva
14Lammers
17Matondo
21Sterling
23Wright
28McCrorie
38King
43Raskin
44Devine
Kilmarnock
Formation 4-5-1
1Dennis
4Wright5Mayo17Findlay3Ndaba
11Armstrong7McKenzie22Donnelly31Polworth10Kennedy
9Vassell
1Dennis
4WrightBooked at 63mins
5Mayo
17Findlay
3NdabaSubstituted forDeasat 86′minutes
11ArmstrongSubstituted forMackay-Stevenat 62′minutes
7McKenzieBooked at 30mins
22DonnellySubstituted forWatsonat 18′minutesBooked at 41mins
31Polworth
10KennedySubstituted forMurrayat 86′minutes
9VassellSubstituted forWatkinsat 62′minutes
Substitutes
6Deas
12Watson
14Sanders
15Murray
19Davies
20O’Hara
21Dallas
23Watkins
39Mackay-Steven
Referee:
John Beaton
Attendance:
49,250
Live Text
Second Half ends, Rangers 3, Kilmarnock 1.
Rabbi Matondo (Rangers) wins a free kick on the left wing.
Foul by Fraser Murray (Kilmarnock).
Corner, Kilmarnock. Conceded by Rabbi Matondo.
Corner, Kilmarnock. Conceded by James Tavernier.
Substitution, Rangers. Nicolas Raskin replaces Todd Cantwell.
Attempt missed. Fábio Silva (Rangers) right footed shot from outside the box is high and wide to the right following a fast break.
Foul by Connor Goldson (Rangers).
David Watson (Kilmarnock) wins a free kick on the left wing.
Substitution, Kilmarnock. Robbie Deas replaces Corrie Ndaba.
Substitution, Kilmarnock. Fraser Murray replaces Matthew Kennedy.
Attempt missed. John Souttar (Rangers) header from the centre of the box misses to the left. Assisted by James Tavernier with a cross following a corner.
Substitution, Rangers. Rabbi Matondo replaces Ross McCausland.
Substitution, Rangers. Scott Wright replaces Abdallah Sima.
Corner, Rangers. Conceded by Stuart Findlay.
Attempt blocked. Ross McCausland (Rangers) left footed shot from outside the box is blocked. Assisted by Dujon Sterling.
Attempt missed. Liam Polworth (Kilmarnock) right footed shot from outside the box is close, but misses to the right.
Offside, Rangers. Abdallah Sima is caught offside.
Attempt saved. James Tavernier (Rangers) right footed shot from outside the box is saved in the bottom left corner.
Player of the match
ButlandJack Butland
Rangers
Squad number1Player nameButland
Squad number19Player nameSima
Squad number45Player nameMcCausland
Squad number3Player nameYilmaz
Squad number21Player nameSterling
Squad number2Player nameTavernier
Squad number20Player nameDowell
Squad number4Player nameLundstram
Squad number13Player nameCantwell
Squad number5Player nameSouttar
Squad number6Player nameGoldson
Squad number7Player nameFábio Silva
Squad number43Player nameRaskin
Squad number23Player nameWright
Squad number17Player nameMatondo
Squad number9Player nameDessers
Kilmarnock
Squad number5Player nameMayo
Squad number1Player nameDennis
Squad number17Player nameFindlay
Squad number11Player nameArmstrong
Squad number10Player nameKennedy
Squad number7Player nameMcKenzie
Squad number3Player nameNdaba
Squad number4Player nameWright
Squad number9Player nameVassell
Squad number31Player namePolworth
Squad number22Player nameDonnelly
Squad number6Player nameDeas
Squad number15Player nameMurray
Squad number23Player nameWatkins
Squad number12Player nameWatson
Squad number39Player nameMackay-Steven
“,”
“],c=[3,”
“,”
“],p=[1,”,””],d={“*”:[1,”?
“],area:[1,”
“,”
“],col:[2,”
“,”
“],legend:[1,”
“,”
“],param:[1,””,””],tr:[2,”
“,”
“],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c};[“circle”,”clipPath”,”defs”,”ellipse”,”g”,”image”,”line”,”linearGradient”,”mask”,”path”,”pattern”,”polygon”,”polyline”,”radialGradient”,”rect”,”stop”,”text”,”tspan”].forEach(function(e){d[e]=p,s[e]=!0}),e.exports=r},function(e,t,n){“use strict”;var r=n(29),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=o},function(e,t,n){“use strict”;function r(){this.reinitializeTransaction()}var o=n(8),a=n(30),i=n(3),s=n(7),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:o.flushBatchedUpdates.bind(o)},c=[u,l];i(r.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=d.isBatchingUpdates;d.isBatchingUpdates=!0,i?e(t,n,r,o,a):p.perform(e,null,t,n,r,o,a)}};e.exports=d},function(e,t,n){“use strict”;function r(e){try{e.focus()}catch(e){}}e.exports=r},function(e,t,n){“use strict”;function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},a=[“Webkit”,”ms”,”Moz”,”O”];Object.keys(o).forEach(function(e){a.forEach(function(t){o[r(t,e)]=o[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:i};e.exports=s},function(e,t,n){“use strict”;function r(e){var t=e&&(o&&e[o]||e[a]);if(“function”==typeof t)return t}var o=”function”==typeof Symbol&&Symbol.iterator,a=”@@iterator”;e.exports=r},function(e,t,n){“use strict”;function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=i.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,a=s.getNode(e._rootNodeID).options;if(t){for(r={},o=0;o-1}}}},S=function(e,t,n,r,o,a){var s=M(e,t,o,a);s.mediator={host:”open.”+r+”.bbc.co.uk”};var u=”audio”===e.mediaType?”radioProgramme”:”programme”;if(_(s.playlistObject,e,u),(0,y.profileStart)(k(e)),!e.isPlayable){var p=n(“alert_uk_text”),d=c.default.transform(e.holdingImageUrl);return i.default.createElement(“div”,{className:”gs-o-responsive-image gs-o-responsive-image–16by9″},i.default.createElement(l.default,{className:”qa-warning-alert-image”,src:d}),i.default.createElement(“div”,{className:”lx-media-asset__warning-alert”},i.default.createElement(“div”,{className:”gel-brevier lx-media-asset__warning-alert-message”},i.default.createElement(“div”,{className:”gs-u-mb”},i.default.createElement(“svg”,{className:”lx-media-asset__warning-alert-icon”,width:”24″,height:”24″,viewBox:”0 0 32 32″},i.default.createElement(“path”,{d:”M16 2L0 30h32L16 2zm2 25h-4v-4h4v4zm-4-6V11h4v10h-4z”}))),i.default.createElement(“p”,{className:”gs-u-mt0 gs-u-mb- qa-message-uk-alert”},p))))}return i.default.createElement(“div”,{className:”gs-o-responsive-image gs-o-responsive-image–16by9″},i.default.createElement(“div”,{className:”smp-embed”},i.default.createElement(P,s)))},I=function(e){var t=e.media,n=e.ltsConfig,r=e.getTranslationFor,o=e.env,a=e.assetUri,s=e.isApp,l=S(t,n,r,o,a,s),u=i.default.createElement(“h4″,{className:”gs-u-vh qa-map-smp-accessible-title”},r(“video_context”));return x(t)&&t.isPlayable?i.default.createElement(“figure”,{className:”lx-stream-post-body__media-asset lx-media-asset lx-media-asset–landscape lx-media-asset–smp qa-media-asset-smp”},u,i.default.createElement(“div”,{className:”lx-media-asset__body”},l),C(t,r)):i.default.createElement(“div”,{className:”lx-stream-post-body__media-asset lx-media-asset lx-media-asset–landscape lx-media-asset–smp qa-media-asset-smp”},u,i.default.createElement(“div”,{className:”lx-media-asset__body”},l))};I.displayName=”LXSmp”,I.propTypes={media:i.default.PropTypes.object.isRequired,ltsConfig:i.default.PropTypes.object.isRequired,getTranslationFor:i.default.PropTypes.func.isRequired,env:i.default.PropTypes.string,assetUri:i.default.PropTypes.string.isRequired,isApp:i.default.PropTypes.boolean},I.defaultProps={env:”live”,isApp:!1},t.default=I,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n0&&n.right>0&&n.left1,”br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),d=(0,s.default)(“gs-u-vh”,”qa-vh-navigation-first”),f=(0,s.default)(“lx-pagination__btn”,”qa-pagination-previous-page”,{“lx-pagination__btn–rtl”:”rtl”===e.cssDirection,”lx-pagination__btn–inactive”:1===e.currentPageNumber,”lx-pagination__btn–active”:e.currentPageNumber>1,”br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),m=(0,s.default)(“gs-u-vh”,”qa-vh-navigation-previous”),g=(0,s.default)(“lx-pagination__btn”,”gs-u-mr+”,”qa-pagination-next-page”,{“lx-pagination__btn–rtl”:”rtl”===e.cssDirection,”lx-pagination__btn–inactive”:e.currentPageNumber===e.totalPageNumber,”lx-pagination__btn–active”:e.currentPageNumber!==e.totalPageNumber,”br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),v=(0,s.default)(“gs-u-vh”,”qa-vh-navigation-next”),_=(0,s.default)(“lx-pagination__btn”,”qa-pagination-last-page”,{“lx-pagination__btn–rtl”:”rtl”===e.cssDirection,”lx-pagination__btn–inactive”:e.currentPageNumber===e.totalPageNumber,”lx-pagination__btn–active”:e.currentPageNumber!==e.totalPageNumber,”br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),P=(0,s.default)(“gs-u-vh”,”qa-vh-navigation-last”),T={pageText:e.getTranslationFor(“page”),ofText:e.getTranslationFor(“of”),nextPage:e.getTranslationFor(“next_page”),lastPage:e.getTranslationFor(“last_page”),previousPage:e.getTranslationFor(“previous_page”),firstPage:e.getTranslationFor(“first_page”)};return a.default.createElement(“div”,{className:t},a.default.createElement(“div”,{className:”lx-pagination__details gs-u-ph qa-pagination-details”},T.pageText,a.default.createElement(“span”,{className:”lx-pagination__page-number qa-pagination-current-page-number”},” “+e.currentPageNumber+” “),T.ofText,a.default.createElement(“span”,{className:”lx-pagination__page-number qa-pagination-total-page-number”},” “+e.totalPageNumber)),a.default.createElement(“div”,{className:”lx-pagination__controls lx-pagination__controls–left qa-pagination-left”},y(e,i,1,p,d,T.firstPage,”first”,”rewind”),y(e,u,r,f,m,T.previousPage,”prev”,”previous”)),a.default.createElement(“div”,{className:”lx-pagination__controls lx-pagination__controls–right qa-pagination-right”},b(e,c,o,g,v,T.nextPage,”next”,”next”),b(e,l,n,_,P,T.lastPage,”last”,”forward”)))};y.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,isApp:a.default.PropTypes.bool},y.defaultProps={isApp:!1},b.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,totalPageNumber:a.default.PropTypes.number.isRequired,isApp:a.default.PropTypes.bool},b.defaultProps={isApp:!1},_.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,totalPageNumber:a.default.PropTypes.number.isRequired,getTranslationFor:a.default.PropTypes.func.isRequired,cssDirection:a.default.PropTypes.string.isRequired,brandingTool:a.default.PropTypes.string.isRequired,useServerSidePagination:a.default.PropTypes.bool},_.defaultProps={currentPageNumber:1,useServerSidePagination:!0},t.default={Pagination:_,getPaginationUrl:h},e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(102),o=n.n(r);Morph.modules[“bbc-morph-lx-stream-v4@3.6.4”]=o.a},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t1,l=s?n.pageNumber-1:void 0,u=t.numberOfPages>1&&n.pageNumbert},V=function(e,t,n,r,o,a,s){if(s?t>=2&&!B(t,n):n>1&&!B(t,n)){var l=”robotext”!==a&&!0!==e.props.noServerSidePagination&&”true”!==e.props.noServerSidePagination;return i.default.createElement(“div”,{className:”lx-pagination__nav n gs-u-mb+ n qa-“+(s?”top”:”bottom”)+”-navigation”},i.default.createElement(S.Pagination,{onClick:F(e),assetUri:e.props.assetUri,urlTemplate:e.props.urlTemplate,isApp:r,currentPageNumber:t,useServerSidePagination:l,totalPageNumber:n,getTranslationFor:e.props.getTranslationFor,cssDirection:o,brandingTool:e.props.brandingTool,mode:a}))}return i.default.createElement(“noscript”,null)},H=function(e,t,n,r,o,a,s,l,u,c,p,d,f,m,h,g,v,y,b,_){return 0===o.length&&B(d,f)?i.default.createElement(L.default,e):i.default.createElement(N.default,{renderBefore:p,isUk:t,adsProhibitedCps:n,isApp:r,brandingTool:e.brandingTool,posts:o,cssDirection:a,getTranslationFor:s,assetUri:l,mode:u,baseUrl:c,currentPageNumber:d,limit:e.ltsLimit,nitroKey:e.nitroKey,useReactionsStreamV4Toggle:m,useReactionCountsToggle:h,userSignedIn:g,theme:e.theme,totalNumberOfPages:f,hasAnimationsEnabled:v,hasBreakingNewsAnimationsEnabled:y,analysisPostsEnabled:b,yourQuestionsAnsweredPostsEnabled:_,isTopic:e.isTopic})},W=i.default.createClass({displayName:”LXStream”,propTypes:{isApp:i.default.PropTypes.string,experimental:i.default.PropTypes.string,serviceName:i.default.PropTypes.string,theme:i.default.PropTypes.string,brandingTool:i.default.PropTypes.string,noServerSidePagination:i.default.PropTypes.string},getInitialState:function(){return{pinnedPost:{loading:!1,locator:!1,inPayload:!1},baseUrl:””}},componentWillMount:function(){E.default.profileStart(“startRender”),(0,c.default)(y.default.getGrandstandServiceName(this.props)),m.default.selfTransitiveThenUpdate(y.default.getCSSDirection(this.props),this)},isPinnedPostInPayload:function(e,t){return!!t&&(0,b.postInPayload)(e,t)},setPinnedPost:function(){var e=this,t=(0,_.getQueryParamValueFor)(“pinned_post_locator”),n=this.isPinnedPostInPayload(this.props,t);t&&(q(),this.setState({pinnedPost:{locator:t,inPayload:n}},function(){!n&&t&&e.props.setDataParams({pinnedPostLocator:t})}))},shouldRenderPinnedPostLoadingMessage:function(e,t){return!e.some(function(e){return e.isPinned})&&!t.pinnedPost.inPayload&&t.pinnedPost.locator},renderPinnedLoadingMessage:function(){var e=(0,b.getAllPostsIncludingPinned)(this.props,this.state);return this.shouldRenderPinnedPostLoadingMessage(e,this.state)?i.default.createElement(“li”,{className:”lx-stream__post-container qa-pinned-post-loading-message”},i.default.createElement(M.default,{loadingText:this.props.getTranslationFor(“loading_shared”)})):i.default.createElement(“noscript”,null)},setBaseUrl:function(){this.setState({baseUrl:(0,P.getUrlWithPath)()})},advertisingProhibitedCpsToggle:function(){var e=this.getCpsOptionsData(this.props.commentaryMeta),t=void 0!==e.allowAdvertising&&!e.allowAdvertising;return”undefined”!=typeof window&&window.bbcdotcom&&t&&window.bbcdotcom.disableAndCloseOpenAds(),t},hasValidCpsOptionData:function(e){return!(!e||!e.meta)&&(200===e.meta.responseCode&&e.body)},getCpsOptionsData:function(e){return this.hasValidCpsOptionData(e)&&e.body&&e.body.options?e.body.options:{}},componentDidMount:function(){this.setBaseUrl(),this.setPinnedPost(),d.default.load(),E.default.profileEnd(“startRender”)},componentWillUpdate:function(){E.default.profileStart(“streamRerender”)},componentDidUpdate:function(){this.props.setDataParams({numberOfPages:this.props.streamData.body.numberOfPages}),E.default.profileEnd(“streamRerender”)},render:function(){var e=(0,b.getAllPostsIncludingPinned)(this.props,this.state),t=”true”===this.props.isUk,n=this.advertisingProhibitedCpsToggle(),r=”true”===this.props.isApp,a=this.props.getTranslationFor,s=this.props.streamHeadingId||!1,u=this.props.assetUri,c=this.props.ltsConfig.mode,p=this.props.streamData.body.currentPage,d=this.props.streamData.body.numberOfPages,f=this.props.reactionsStreamV4Toggle&&void 0!==this.props.reactionsStreamV4Toggle.body&&!0===this.props.reactionsStreamV4Toggle.body,m=this.props.lxStreamReactionCountsToggle&&void 0!==this.props.lxStreamReactionCountsToggle.body&&!0===this.props.lxStreamReactionCountsToggle.body,h=Boolean(this.props.hasAnimationsEnabled&&this.props.hasAnimationsEnabled.body),v=Boolean(this.props.breakingNewsAnimationEnabled&&this.props.breakingNewsAnimationEnabled.body),_=Boolean(this.props.analysisPostsEnabled&&this.props.analysisPostsEnabled.body),P=Boolean(this.props.yourQuestionsAnsweredPostsEnabled&&this.props.yourQuestionsAnsweredPostsEnabled.body),T=this.renderPinnedLoadingMessage,E=this.state.baseUrl,x=this.props.userSignedIn,C=y.default.getCSSDirection(this.props),w=(0,l.default)(“lx-stream”,”qa-stream”,”gs-u-box-size”,g.default.getProductThemeClass(this.props),{“br-keyline”:”true”===this.props.brandingTool}),N={className:w,dir:y.default.getCSSDirection(this.props)};s&&(N=o({},N,{“aria-labelledby”:s}));var k=V(this,p,d,r,C,c,!0),M=H(this.props,t,n,r,e,C,a,u,c,E,T,p,d,f,m,x,h,v,_,P),S=V(this,p,d,r,C,c,!1);return i.default.createElement(“div”,o({id:”lx-stream”},N),k,M,S)}});t.default=(0,C.default)((0,O.default)((0,D.default)(W))),e.exports=t.default},function(e,t){e.exports=Morph.modules[“bbc-morph-grandstand@5.7.0”]},function(e,t){e.exports=Morph.modules[“bbc-morph-lazysizes@1.0.1”]},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default={getProductThemeClass:function(e){return e&&e.theme?”gs-t-“+e.theme:””}},e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(109),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={getGrandstandServiceName:function(e){return e&&e.serviceName?e.serviceName:”latin-flexbox”},getCSSDirection:function(e){return o.default.getDirectionality(e.serviceName).toLowerCase()}},e.exports=t.default},function(e,t){e.exports=Morph.modules[“bbc-morph-ws-typography-info@1.0.8”]},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t0},s=function(e,t){if(e.pinnedPost&&e.pinnedPost.body)return r({isPinned:!0,tagText:e.getTranslationFor(“shared”)},e.pinnedPost.body);if(t.pinnedPost&&t.pinnedPost.locator){var n=a(e),o=n.filter(function(e){return e.locator===t.pinnedPost.locator});if(o&&o.length>0){var i=o[0];return i.isPinned=!0,i.tagText=e.getTranslationFor(“shared”),i}}return null},l=function(e,t){var n=s(e,t);return n?[n].concat(o(n,e.streamData.body.results)):a(e)};t.default={postInPayload:i,getAllPosts:a,getAllPostsIncludingPinned:l},e.exports=t.default},function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&e[0])&&e.reduce(function(e,t){var n=t.split(“=”);return o(r({},n[0],n[1]),e)},{})},i=function(e){return a()[e]||!1};t.default={getQueryParamsAsObject:a,getQueryParamValueFor:i},e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=Object.assign||function(e){for(var t=1;ta&&s||r>=a&&!s),d=l&&r=a&&!c,f=(0,p.default)(“lx-stream__post-container”,{“has-placeholder”:s,”placeholder-animation-finished”:!e.state.hasNewPost&&i,”is-below-pinned”:s&&e.state.hasPinnedPost,”gs-u-vh”:c}),m=t.hasBreakingNewsAnimationsEnabled?e.state.keyMomentType:null,g=t.analysisPostsEnabled&&!t.isTopic&&”ANALYSIS”===n.typeCode,y=t.yourQuestionsAnsweredPostsEnabled&&!t.isTopic&&”QUESTION”===n.typeCode;return u.default.createElement(“li”,{key:”post-“+n.assetId,className:f},u.default.createElement(h.default,{setNewPostHeight:s?e.setNewPostHeight:null,postIndex:r,isApp:t.isApp,isPinned:n.isPinned,isRealityCheck:n.isRealityCheck&&!t.isTopic,isAnalysisPost:g,isYQAPost:y,tagText:n.tagText,getTranslationFor:t.getTranslationFor,setActiveDropdown:e.setActiveDropdown,activeDropdown:e.state.activeDropdown,isNew:d,body:n.body,locator:n.locator,assetId:n.assetId,type:n.type,title:n.title,subtitle:n.subtitle,summary:n.summary,relatedUrl:n.url,indexImage:n.image,brandingTool:t.brandingTool,firstPublished:n.firstPublished,lastPublished:n.lastPublished,language:n.language,manualTime:n.time,cssDirection:t.cssDirection,media:n.media,assetUri:t.assetUri,head:n.head,bodyInline:n.bodyInline,bodyLast:n.bodyLast,postHasVideo:v.default.postHasVideo(n),postHasImage:v.default.postHasImage(n),postHasSocial:v.default.postHasMediaType(n,”embed”)||v.default.postHasMediaType(n,”tweet”),postIsBreakingNews:v.default.postIsBreakingNews(n),postIsPriority:v.default.postIsPriority(n),contributor:n.contributor,mode:t.mode,options:n.options,icon:n.icon||””,baseUrl:t.baseUrl,pageNumber:t.currentPageNumber,limit:t.limit,nitroKey:t.nitroKey,isUk:t.isUk,photogallery:n.photogallery,sourceAsset:o,useReactionsStreamV4Toggle:t.useReactionsStreamV4Toggle,useReactionCountsToggle:t.useReactionCountsToggle,liveState:n.liveState,theme:t.theme,totalNumberOfPages:t.totalNumberOfPages,userSignedIn:t.userSignedIn}),s&&null!==e.state.newPostHeight&&u.default.createElement(b.default,{postHeight:e.state.newPostHeight,callback:e.animationFinishedCallback,key:”post-placeholder-“+n.assetId,useBrandingTool:”true”===t.brandingTool,displayText:m?v.default.formatType(m):null,isIncident:v.default.isSupportedIncidentType(m)}))})}};E.propTypes={brandingTool:u.default.PropTypes.string,renderBefore:u.default.PropTypes.func,renderAfter:u.default.PropTypes.func,posts:u.default.PropTypes.array.isRequired,limit:u.default.PropTypes.number,nitroKey:u.default.PropTypes.string.isRequired,currentPageNumber:u.default.PropTypes.number.isRequired,isUk:u.default.PropTypes.bool.isRequired,isApp:u.default.PropTypes.bool.isRequired,adsProhibitedCps:u.default.PropTypes.bool.isRequired,hasAnimationsEnabled:u.default.PropTypes.bool.isRequired,hasBreakingNewsAnimationsEnabled:u.default.PropTypes.bool,analysisPostsEnabled:u.default.PropTypes.bool,yourQuestionsAnsweredPostsEnabled:u.default.PropTypes.bool,getTranslationFor:u.default.PropTypes.func.isRequired,cssDirection:u.default.PropTypes.string.isRequired,assetUri:u.default.PropTypes.string.isRequired,mode:u.default.PropTypes.string.isRequired,baseUrl:u.default.PropTypes.string.isRequired,useReactionsStreamV4Toggle:u.default.PropTypes.bool.isRequired,useReactionCountsToggle:u.default.PropTypes.bool.isRequired,theme:u.default.PropTypes.string.isRequired,totalNumberOfPages:u.default.PropTypes.number.isRequired,userSignedIn:u.default.PropTypes.bool.isRequired,isTopic:u.default.PropTypes.bool},E.defaultProps={brandingTool:”false”,renderBefore:null,renderAfter:null,limit:20,nitroKey:”lx-nitro”,hasBreakingNewsAnimationsEnabled:!1,isTopic:!1,analysisPostsEnabled:!1,yourQuestionsAnsweredPostsEnabled:!1},t.default=E,e.exports=t.default},function(e,t){e.exports=Morph.modules[“bbc-morph-lx-adverts@1.0.8”]},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n-1){return r.split(“-“)[0]}return r}return!1},c=function(e,t,n){return!(!i(e)||l(t))&&s(e,”YYYY”,n)},p=function(e,t,n){if(!a(e)&&l(t)){var r=s(e,t,n);if(r.indexOf(“-“)>-1){return r.split(“-“)[1]}}return!1},d=function(e){return e&&”date-format”!==e?e:”ll”},f=function(e){var t=(0,o.default)(e.lastPublished),n=”string”==typeof e.manualTime,r=d(e.getTranslationFor(“date-format”)),a=e.language||”en-GB”,i={manualTime:e.manualTime};return!n&&t&&(i.time=t.format(“H:mm”),i.date=u(t,r,a),i.year=c(t,r,a),i.alternateDate=p(t,r,a)),i};t.default=f,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t0){var t={children:e.body},n=i.default.createElement(“noscript”,null);return e.sourceAsset&&e.sourceAsset.type&&”MAP”!==e.sourceAsset.type&&(n=i.default.createElement(“div”,{className:”lx-stream-contextual-body”},d(e.sourceAsset),(0,u.default)(e.sourceAsset))),i.default.createElement(“div”,{className:”lx-stream-post-body”},(0,s.renderChildren)(t),n)}return i.default.createElement(“noscript”,null)};f.displayName=”PostType”,t.default=f,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,”__esModule”,{value:!0});var a=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},i=Object.assign||function(e){for(var t=1;t8&&T1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){“use strict”;function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(14),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){“use strict”;function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(14),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){“use strict”;function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return”select”===t||”input”===t&&”file”===e.type}function o(e){var t=E.getPooled(M.change,I,e,x(e));_.accumulateTwoPhaseDispatches(t),T.batchedUpdates(a,t)}function a(e){b.enqueueEvents(e),b.processEventQueue(!1)}function i(e,t){S=e,I=t,S.attachEvent(“onchange”,o)}function s(){S&&(S.detachEvent(“onchange”,o),S=null,I=null)}function l(e,t,n){if(e===k.topChange)return n}function u(e,t,n){e===k.topFocus?(s(),i(t,n)):e===k.topBlur&&s()}function c(e,t){S=e,I=t,O=e.value,R=Object.getOwnPropertyDescriptor(e.constructor.prototype,”value”),Object.defineProperty(S,”value”,L),S.attachEvent(“onpropertychange”,d)}function p(){S&&(delete S.value,S.detachEvent(“onpropertychange”,d),S=null,I=null,O=null,R=null)}function d(e){if(“value”===e.propertyName){var t=e.srcElement.value;t!==O&&(O=t,o(e))}}function f(e,t,n){if(e===k.topInput)return n}function m(e,t,n){e===k.topFocus?(p(),c(t,n)):e===k.topBlur&&p()}function h(e,t,n){if((e===k.topSelectionChange||e===k.topKeyUp||e===k.topKeyDown)&&S&&S.value!==O)return O=S.value,I}function g(e){return e.nodeName&&”input”===e.nodeName.toLowerCase()&&(“checkbox”===e.type||”radio”===e.type)}function v(e,t,n){if(e===k.topClick)return n}var y=n(10),b=n(24),_=n(23),P=n(4),T=n(8),E=n(14),x=n(38),C=n(39),w=n(69),N=n(13),k=y.topLevelTypes,M={change:{phasedRegistrationNames:{bubbled:N({onChange:null}),captured:N({onChangeCapture:null})},dependencies:[k.topBlur,k.topChange,k.topClick,k.topFocus,k.topInput,k.topKeyDown,k.topKeyUp,k.topSelectionChange]}},S=null,I=null,O=null,R=null,D=!1;P.canUseDOM&&(D=C(“change”)&&(!(“documentMode”in document)||document.documentMode>8));var A=!1;P.canUseDOM&&(A=C(“input”)&&(!(“documentMode”in document)||document.documentMode>9));var L={get:function(){return R.get.call(this)},set:function(e){O=””+e,R.set.call(this,e)}},U={eventTypes:M,extractEvents:function(e,t,n,o,a){var i,s;if(r(t)?D?i=l:s=u:w(t)?A?i=f:(i=h,s=m):g(t)&&(i=v),i){var c=i(e,t,n);if(c){var p=E.getPooled(M.change,c,o,a);return p.type=”change”,_.accumulateTwoPhaseDispatches(p),p}}s&&s(e,t,n)}};e.exports=U},function(e,t,n){“use strict”;function r(e,t,n){“function”==typeof e?e(t.getPublicInstance()):a.addComponentAsRefTo(t,e,n)}function o(e,t,n){“function”==typeof e?e(null):a.removeComponentAsRefFrom(t,e,n)}var a=n(131),i={};i.attachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&r(n,e,t._owner)}},i.shouldUpdateRefs=function(e,t){var n=null===e||!1===e,r=null===t||!1===t;return n||r||t._owner!==e._owner||t.ref!==e.ref},i.detachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=i},function(e,t,n){“use strict”;var r=n(1),o={isValidOwner:function(e){return!(!e||”function”!=typeof e.attachRef||”function”!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){o.isValidOwner(n)||r(!1),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){o.isValidOwner(n)||r(!1),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};e.exports=o},function(e,t,n){“use strict”;var r=0,o={createReactRootIndex:function(){return r++}};e.exports=o},function(e,t,n){“use strict”;var r=n(13),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];e.exports=o},function(e,t,n){“use strict”;var r=n(10),o=n(23),a=n(31),i=n(6),s=n(13),l=r.topLevelTypes,u=i.getFirstReactDOM,c={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},p=[null,null],d={eventTypes:c,extractEvents:function(e,t,n,r,s){if(e===l.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var d;if(t.window===t)d=t;else{var f=t.ownerDocument;d=f?f.defaultView||f.parentWindow:window}var m,h,g=””,v=””;if(e===l.topMouseOut?(m=t,g=n,h=u(r.relatedTarget||r.toElement),h?v=i.getID(h):h=d,h=h||d):(m=d,h=t,v=n),m===h)return null;var y=a.getPooled(c.mouseLeave,g,r,s);y.type=”mouseleave”,y.target=m,y.relatedTarget=h;var b=a.getPooled(c.mouseEnter,v,r,s);return b.type=”mouseenter”,b.target=h,b.relatedTarget=m,o.accumulateEnterLeaveDispatches(y,b,g,v),p[0]=y,p[1]=b,p}};e.exports=d},function(e,t,n){“use strict”;function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(24),a={handleTopLevel:function(e,t,n,a,i){r(o.extractEvents(e,t,n,a,i))}};e.exports=a},function(e,t,n){“use strict”;function r(e){for(var t=1,n=0,r=0,a=e.length,i=-4&a;r]+)/,c={dangerouslyRenderMarkup:function(e){o.canUseDOM||l(!1);for(var t,n={},c=0;c=0||null!=t.is}function g(e){m(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null}var v=n(148),y=n(149),b=n(17),_=n(52),P=n(10),T=n(32),E=n(49),x=n(156),C=n(157),w=n(159),N=n(86),k=n(161),M=n(6),S=n(162),I=n(9),O=n(42),R=n(3),D=n(41),A=n(34),L=n(1),U=(n(39),n(13)),j=n(33),q=n(51),F=(n(87),n(48),n(2),T.deleteListener),B=T.listenTo,V=T.registrationNameModules,H={string:!0,number:!0},W=U({children:null}),K=U({style:null}),z=U({__html:null}),Y=1,G={topAbort:”abort”,topCanPlay:”canplay”,topCanPlayThrough:”canplaythrough”,topDurationChange:”durationchange”,topEmptied:”emptied”,topEncrypted:”encrypted”,topEnded:”ended”,topError:”error”,topLoadedData:”loadeddata”,topLoadedMetadata:”loadedmetadata”,topLoadStart:”loadstart”,topPause:”pause”,topPlay:”play”,topPlaying:”playing”,topProgress:”progress”,topRateChange:”ratechange”,topSeeked:”seeked”,topSeeking:”seeking”,topStalled:”stalled”,topSuspend:”suspend”,topTimeUpdate:”timeupdate”,topVolumeChange:”volumechange”,topWaiting:”waiting”},Q={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},$=(R({menuitem:!0},Q),/^[a-zA-Z][a-zA-Z:_.-d]*$/),Z={},J={}.hasOwnProperty;g.displayName=”ReactDOMComponent”,g.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e;var r=this._currentElement.props;switch(this._tag){case”iframe”:case”img”:case”form”:case”video”:case”audio”:this._wrapperState={listeners:null},t.getReactMountReady().enqueue(p,this);break;case”button”:r=x.getNativeProps(this,r,n);break;case”input”:C.mountWrapper(this,r,n),r=C.getNativeProps(this,r,n);break;case”option”:w.mountWrapper(this,r,n),r=w.getNativeProps(this,r,n);break;case”select”:N.mountWrapper(this,r,n),r=N.getNativeProps(this,r,n),n=N.processChildContext(this,r,n);break;case”textarea”:k.mountWrapper(this,r,n),r=k.getNativeProps(this,r,n)}l(this,r);var o;if(t.useCreateElement){var a=n[M.ownerDocumentContextKey],i=a.createElement(this._currentElement.type);_.setAttributeForID(i,this._rootNodeID),M.getID(i),this._updateDOMProperties({},r,t,i),this._createInitialChildren(t,r,n,i),o=i}else{var s=this._createOpenTagMarkupAndPutListeners(t,r),u=this._createContentMarkup(t,r,n);o=!u&&Q[this._tag]?s+”/>”:s+”>”+u+””+this._currentElement.type+”>”}switch(this._tag){case”input”:t.getReactMountReady().enqueue(d,this);case”button”:case”select”:case”textarea”:r.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this)}return o},_createOpenTagMarkupAndPutListeners:function(e,t){var n=”>”}var h=n(11),g=n(46),v=n(7),y=n(85),b=”>”,_={array:o(“array”),bool:o(“boolean”),func:o(“function”),number:o(“number”),object:o(“object”),string:o(“string”),any:function(){return r(v.thatReturns(null))}(),arrayOf:a,element:function(){function e(e,t,n,r,o){if(!h.isValidElement(e[t])){var a=g[r];return new Error(“Invalid “+a+” `”+o+”` supplied to `”+n+”`, expected a single ReactElement.”)}return null}return r(e)}(),instanceOf:i,node:function(){function e(e,t,n,r,o){if(!p(e[t])){var a=g[r];return new Error(“Invalid “+a+” `”+o+”` supplied to `”+n+”`, expected a ReactNode.”)}return null}return r(e)}(),objectOf:l,oneOf:s,oneOfType:u,shape:c};e.exports=_},function(e,t,n){“use strict”;var r=n(160),o=n(86),a=n(3),i=(n(2),o.valueContextKey),s={mountWrapper:function(e,t,n){var r=n[i],o=null;if(null!=r)if(o=!1,Array.isArray(r)){for(var a=0;a”+s+””},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=””+e;if(n!==this._stringText){this._stringText=n;var o=i.getNode(this._rootNodeID);r.updateTextContent(o,n)}}},unmountComponent:function(){a.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=c},function(e,t,n){“use strict”;function r(e){var t=d.getID(e),n=p.getReactRootIDFromNodeID(t),r=d.findReactContainerForID(n);return d.getFirstReactDOM(r)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function a(e){i(e)}function i(e){for(var t=d.getFirstReactDOM(h(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=r(n);for(var o=0;ot.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart(“character”,n),o.setEndPoint(“EndToStart”,o),o.moveEnd(“character”,r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),a=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=u(e,o),l=u(e,a);if(s&&l){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(p),n.extend(l.node,l.offset)):(p.setEnd(l.node,l.offset),n.addRange(p))}}}var l=n(4),u=n(173),c=n(68),p=l.canUseDOM&&”selection”in document&&!(“getSelection”in window),d={getOffsets:p?o:a,setOffsets:p?i:s};e.exports=d},function(e,t,n){“use strict”;function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function a(e,t){for(var n=r(e),a=0,i=0;n;){if(3===n.nodeType){if(i=a+n.textContent.length,a=t)return{node:n,offset:t-a};a=i}n=r(o(n))}}e.exports=a},function(e,t,n){“use strict”;function r(e){if(“selectionStart”in e&&l.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(_||null==v||v!==c())return null;var n=r(v);if(!b||!f(b,n)){b=n;var o=u.getPooled(g.select,y,e,t);return o.type=”select”,o.target=v,i.accumulateTwoPhaseDispatches(o),o}return null}var a=n(10),i=n(23),s=n(4),l=n(90),u=n(14),c=n(91),p=n(69),d=n(13),f=n(87),m=a.topLevelTypes,h=s.canUseDOM&&”documentMode”in document&&document.documentMode”,”
“+n+” “),i=””+a+r;return l.default.createElement(“div”,null,l.default.createElement(“div”,{className:”gs-u-vh qa-visually-hidden-title”,dangerouslySetInnerHTML:{__html:i}}),l.default.createElement(“div”,{className:”lx-stream-post-quote__body gs-u-mb qa-blockquote”,dangerouslySetInnerHTML:{__html:t},”aria-hidden”:”true”}))}return l.default.createElement(“div”,null,l.default.createElement(“span”,{className:”gs-u-vh qa-visually-hidden-title”},o),l.default.createElement(“div”,{className:”lx-stream-post-quote__body gs-u-mb qa-blockquote”,”aria-hidden”:”true”},l.default.createElement(“p”,{dangerouslySetInnerHTML:{__html:t}})))},m=function(e){var t=e.element.children,n=e.element.name,r=(0,d.default)(n),a=c.default.findFirst(t,r.textLocator),s=e.renderChildrenToStaticMarkup(a),u=c.default.findText(t,r.sourceLocator),p=c.default.findFirst(t,r.sourceLocator),m=(0,i.default)([“lx-stream-post-quote”,”lx-stream-post-quote–“+r.className,”gs-u-mb-alt”,”gs-u-mr-alt+”,”gs-u-ml-alt+”,”gs-u-mr-alt++@m”,”gs-u-ml-alt++@m”]),h=(0,i.default)([“gs-u-mr”,”lx-stream-post-quote__icon”,”lx-stream-post-quote__icon–“+r.icon,”gel-icon”,”gel-icon-“+r.gelIconClass]),g=void 0,v=void 0;p&&p.attributes&&(g=c.default.findFirst(p.attributes,”title”).value)&&(v=l.default.createElement(“span”,{className:”lx-stream-post-quote__cite-profession qa-blockquote-source-profession”},g));var y=void 0!==g?g:””,b=e.getTranslationFor(“from”),_=”string”==typeof u?b+” “+u+” “+y:””,P=e.getTranslationFor(r.hiddenTitleText)+”:”;return l.default.createElement(“blockquote”,o({},e.attributes,{className:m}),f(n,s,P,_),l.default.createElement(“footer”,{className:”lx-stream-post-quote__cite gel-brevier gel-brevier-bold”,”aria-hidden”:”true”},l.default.createElement(“cite”,{className:”lx-stream-post-quote__cite-name qa-blockquote-source”},u),v),l.default.createElement(“div”,{className:h},r.iconSvg))};m.displayName=”Blockquote”,m.propTypes={attributes:l.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:l.default.PropTypes.func.isRequired,element:l.default.PropTypes.object.isRequired},t.default=m,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a={sms:{hiddenTitleText:”sms_message”,gelIconClass:”sms”,icon:”mobile”,className:”sms”,textLocator:”smsText”,sourceLocator:”smsSource”,iconSvg:o.default.createElement(“svg”,{width:”32″,height:”32″,viewBox:”0 0 32 32″},o.default.createElement(“path”,{d:”M22 0v2H6v30h20V0h-4zm-9 28h-3v-2h3v2zm0-4h-3v-2h3v2zm0-4h-3v-2h3v2zm5 8h-4v-2h4v2zm0-4h-4v-2h4v2zm0-4h-4v-2h4v2zm4 8h-3v-2h3v2zm0-4h-3v-2h3v2zm0-4h-3v-2h3v2zm0-5H10V6h12v9z”}))},quote:{hiddenTitleText:”quote_message”,gelIconClass:”quote”,icon:”quote”,className:”default”,textLocator:”quoteText”,sourceLocator:”quoteSource”,iconSvg:o.default.createElement(“svg”,{width:”32″,height:”32″,viewBox:”0 0 32 32″},o.default.createElement(“path”,{d:”M0 17v15h15V17H7c.2-5.9 2.4-8.8 8-9.9V0C6.7 1.2.2 8.3 0 17zM32 7.1V0c-8.3 1.2-14.8 8.3-15 17v15h15V17h-8c.2-5.9 2.4-8.8 8-9.9z”}))},email:{hiddenTitleText:”email_message”,gelIconClass:”email”,icon:”email”,className:”email”,textLocator:”emailText”,sourceLocator:”emailSource”,iconSvg:o.default.createElement(“svg”,{width:”32″,height:”32″,viewBox:”0 0 32 32″},o.default.createElement(“path”,{d:”M16 19.4l16-15V3H0v26h32V8l-4 4v13H4V8.2l12 11.2zm0-2.8L5.8 7h20.4L16 16.6z”}))}},i=function(e){return a[e]||a.quote};t.default=i,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t-1||e.indexOf(“bbc.in”)>-1},m=function(e){var t=e.element.children,n=d.default.findText(t,”altText”),r=d.default.findFirst(t,”url”),a=d.default.findFirst(r.attributes,”href”).value,s={href:a,alt:n},u=d.default.findText(t,”caption”);if(!f(a)){var p=i.default.createElement(c.default,null);u+=l.default.renderToStaticMarkup(p)}return i.default.createElement(“a”,o({},s,{dangerouslySetInnerHTML:{__html:u}}))};m.displayName=”Link”,m.propTypes={element:i.default.PropTypes.object.isRequired},t.default=m,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){return o.default.createElement(“span”,{className:”lx-stream-post-body__external-link gel-icon gel-icon-external-link”},o.default.createElement(“svg”,{viewBox:”0 0 32 32″},o.default.createElement(“path”,{d:”M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0z”})))};a.displayName=”ExternalLink”,t.default=a,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){return o.default.createElement(“ol”,{dangerouslySetInnerHTML:{__html:e}})},i=function(e){return o.default.createElement(“ul”,{dangerouslySetInnerHTML:{__html:e}})},s=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return”ordered”===e.attributes.type?a(t):i(t)};s.displayName=”List”,s.propTypes={attributes:o.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:o.default.PropTypes.func.isRequired,element:o.default.PropTypes.object.isRequired},t.default=s,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return o.default.createElement(“li”,{dangerouslySetInnerHTML:{__html:t}})};a.displayName=”ListItem”,a.propTypes={renderChildrenToStaticMarkup:o.default.PropTypes.func.isRequired,element:o.default.PropTypes.object.isRequired},t.default=a,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t0});return!!(t&&t.length>0)&&t[0]},b=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:”shouldComponentUpdate”,value:function(e){return this.props.url!==e.url||this.props.title!==e.title}},{key:”render”,value:function(){var e=this.props.title,t=v(this.props.url),n=y(this.props),r=n.urlTemplate;if(n){(0,g.profileStart)(“embedRender:”+t);var o=n.component,a={matches:n.matches,title:e,url:t,urlTemplate:r};return c.default.createElement(o,{title:e,url:n.transform(a),cssClasses:n.cssClasses,componentDidMount:n.componentDidMount})}return c.default.createElement(m.default,this.props)}}]),t}(c.default.Component);b.displayName=”LazyEmbed”,b.propTypes={title:c.default.PropTypes.string.isRequired,url:c.default.PropTypes.string.isRequired,isVisible:c.default.PropTypes.bool.isRequired},t.default=(0,h.IntersectComponent)(b),e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(214),a=r(o),i=n(215),s=r(i),l=n(216),u=r(l),c=n(20),p=function(e){return e.url},d=function(e){return e.urlTemplate.replace(“{identifier}”,e.matches[1])},f=function(e){return e.urlTemplate.replace(“{identifier}”,encodeURIComponent(e.matches[1]))};t.default={youtube:{regex:/http(?:s)?://(?:www.)?youtu(?:be.com|.be)/(?:watch)?(?:/?)?(?:.*v=)?(.[^]*)/i,transform:d,component:s.default,urlTemplate:”https://www.youtube.com/embed/{identifier}”,componentDidMount:function(e){(0,c.profileEnd)(“embedRender:”+e.url)}},twitter:{regex:/^http.+twitter.com/.*/status/(.*)/i,transform:p,component:a.default,cssClasses:”twitter-tweet”,componentDidMount:function(e,t){requirejs([“//platform.twitter.com/widgets.js”],function(){twttr.widgets.load(t),(0,c.profileEnd)(“embedRender:”+e.url)})}},instagram:{regex:/^http.+instagr(?:.am|am.com)/i,transform:p,component:a.default,cssClasses:”instagram-media instagram-iframe-container”,componentDidMount:function(e,t){requirejs([“//platform.instagram.com/en_GB/embeds.js”],function(){instgrm.Embeds.process(t),(0,c.profileEnd)(“embedRender:”+e.url)})}},soundcloud:{regex:/(^http.+soundcloud.com(.*))/i,transform:f,component:s.default,componentDidMount:function(e){(0,c.profileEnd)(“embedRender:”+e.url)},urlTemplate:”https://w.soundcloud.com/player/?visual=true&url={identifier}&show_artwork=true”},facebookVideo:{regex:/(http.+www.facebook.com/video.php.*|http.+www.facebook.com/.*/videos/.*)/i,transform:p,component:u.default,componentDidMount:function(e,t){requirejs([“//connect.facebook.net/en_US/all.js#xfbml=1&version=v2.5”],function(){window.FB.XFBML.parse(t),(0,c.profileEnd)(“embedRender:”+e.url)})}},facebookPost:{regex:/(http.+www.facebook.com/.*/(posts|activity|photos)/.*|http.+www.facebook.com/(media/set|questions|notes|photos|permalink.php).*)/i,transform:p,component:u.default,componentDidMount:function(e,t){requirejs([“//connect.facebook.net/en_US/all.js#xfbml=1&version=v2.5”],function(){window.FB.XFBML.parse(t),(0,c.profileEnd)(“embedRender:”+e.url)})}}},e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n0?t.link:””,r={role:t.role,name:t.name,link:n};return a.default.createElement(h.default,{contributor:r,brandingTool:e.brandingTool,baseUrl:e.baseUrl})}return a.default.createElement(“noscript”,null)},b=function(e){return a.default.createElement(“div”,{className:”gel-3/8@l”},a.default.createElement(“a”,{href:e.relatedUrl,className:”qa-story-image-link”,onClick:e.postIstats()},a.default.createElement(“div”,{className:”lx-stream-related-story–index-image-wrapper qa-story-image-wrapper”},a.default.createElement(s.default,{className:”lx-stream-related-story–index-image qa-story-image”,src:e.indexImage.ichefHref,alt:e.indexImage.altText}))))},_=function(e){var t=”cta_text”;”LIV”===e.type&&(e.liveState.isLive?t=”live_cta”:e.liveState.isCatchUp&&(t=”catch_up_cta”));var n=(0,p.default)(“gs-o-button”,”lx-stream-related-story–cta-button”,”gel-long-primer-bold”,”qa-story-text-cta”,{“br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),r=(0,p.default)(“lx-stream-related-story–cta-text”,{“br-page-bg-ontext br-page-bg-ontext–hover”:”true”===e.brandingTool}),o=(0,p.default)({“br-page-bg-ontext br-page-bg-ontext–hover”:”true”===e.brandingTool});return a.default.createElement(“a”,{href:e.relatedUrl,className:”qa-story-cta-link”,onClick:e.postIstats()},a.default.createElement(“span”,{className:n},a.default.createElement(“span”,{className:r},e.getTranslationFor(t)),a.default.createElement(u.default,{iconName:”next”,additionalClassNames:o})))},P=function(e){return a.default.createElement(“div”,{className:”lx-stream-related-story”},g(e)?a.default.createElement(b,{relatedUrl:e.relatedUrl,indexImage:e.indexImage,postIstats:function(){return v(e)}}):null,a.default.createElement(“div”,{className:g(e)?”gel-5/8@l”:””},”STY”!==e.type?y(e):null,e.summary?a.default.createElement(“p”,{className:”lx-stream-related-story–summary qa-story-summary”},e.summary):null,a.default.createElement(_,{getTranslationFor:e.getTranslationFor,liveState:e.liveState,relatedUrl:e.relatedUrl,type:e.type,postIstats:function(){return v(e)},brandingTool:e.brandingTool})))};P.displayName=”StoryType”,y.propTypes={contributor:o.PropTypes.shape({name:o.PropTypes.string,role:o.PropTypes.string,link:o.PropTypes.string}),brandingTool:o.PropTypes.string.isRequired,baseUrl:o.PropTypes.string},y.defaultProps={contributor:void 0,baseUrl:void 0},P.propTypes={summary:o.PropTypes.string,indexImage:o.PropTypes.shape({ichefHref:o.PropTypes.string.isRequired,altText:o.PropTypes.string}),relatedUrl:o.PropTypes.string.isRequired},P.defaultProps={indexImage:{ichefHref:””},summary:void 0},b.propTypes={indexImage:o.PropTypes.shape({ichefHref:o.PropTypes.string.isRequired,altText:o.PropTypes.string}).isRequired,relatedUrl:o.PropTypes.string.isRequired,postIstats:o.PropTypes.func.isRequired},_.propTypes={type:o.PropTypes.string.isRequired,liveState:o.PropTypes.shape({isCatchUp:o.PropTypes.bool.isRequired,isComingUp:o.PropTypes.bool.isRequired,isLive:o.PropTypes.bool.isRequired}),postIstats:o.PropTypes.func.isRequired,brandingTool:o.PropTypes.string.isRequired},_.defaultProps={liveState:{isCatchUp:!1,isComingUp:!1,isLive:!0},brandingTool:”false”},t.default=P,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(0),a=r(o),i=n(35),s=r(i),l=n(22),u=r(l),c=n(5),p=r(c),d=n(19),f=n(18),m=function(e){return function(){var t=(0,f.getIstatsData)(e,”related-gallery”);(0,d.configureAndSendIstats)(“click”,”related-gallery”,t)}},h=function(e){return e.summary&&e.summary.length>0?a.default.createElement(“p”,{className:”lx-media-asset-summary qa-photogallery-summary gel-pica”},e.summary):a.default.createElement(“noscript”,null)},g=function(e){return e.indexImage.copyrightHolder?a.default.createElement(“div”,{className:”lx-media-asset__copyright gel-minion qa-photogallery-image-copyright”},a.default.createElement(“span”,{“aria-hidden”:”true”},e.indexImage.copyrightHolder)):a.default.createElement(“noscript”,null)},v=function(e){if(e.indexImage){var t=e.indexImage.ichefHref,n=a.default.createElement(s.default,{className:”qa-responsive-image”,src:t,delayed:!0});return a.default.createElement(“div”,{className:”lx-media-asset__image gs-o-responsive-image gs-o-responsive-image–16by9 qa-photogallery-image”},n,g(e))}return a.default.createElement(“div”,{className:”lx-media-asset__image gs-o-responsive-image gs-o-responsive-image–16by9 qa-photogallery-image”},a.default.createElement(s.default,{className:”qa-responsive-image”}))},y=function(e){var t=e.photogallery.galleryImageCount;return t+” “+(1===t?e.getTranslationFor(“photo”):e.getTranslationFor(“photos”))},b=function(e,t){return a.default.createElement(“div”,{className:”lx-stream-asset__gallery-cta-text qa-photogallery-count”},a.default.createElement(“span”,{“aria-hidden”:”true”,id:t},y(e)))},_=function(e){var t=”count_”+e.assetId,n=(0,p.default)(“gs-o-media-island__icon lx-stream-asset__gallery-cta gel-long-primer-bold”,{“br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool});return a.default.createElement(“div”,{className:”gel-body-copy lx-stream-post-body”},h(e),a.default.createElement(“div”,{className:”lx-stream-asset lx-stream-asset–pgl”},a.default.createElement(“a”,{className:”lx-stream-asset__link qa-photogallery-link”,href:e.relatedUrl,”aria-labelledby”:””+e.titleId,”aria-describedby”:t,onClick:m(e)},a.default.createElement(“div”,{className:”gs-o-media-island lx-media-asset__island”},v(e),a.default.createElement(“div”,{className:n},a.default.createElement(“span”,{className:”lx-stream-asset__gallery-cta-icon gel-icon”},a.default.createElement(u.default,{iconName:”image”})),b(e,t))))))};_.propTypes={relatedUrl:a.default.PropTypes.string.isRequired,assetId:a.default.PropTypes.string.isRequired,titleId:a.default.PropTypes.string.isRequired,summary:a.default.PropTypes.string,brandingTool:a.default.PropTypes.string},y.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},b.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},v.propTypes={indexImage:a.default.PropTypes.shape({copyrightHolder:a.default.PropTypes.string,ichefHref:a.default.PropTypes.string.isRequired,altText:a.default.PropTypes.string})},g.propTypes={indexImage:a.default.PropTypes.shape({copyrightHolder:a.default.PropTypes.string}),getTranslationFor:a.default.PropTypes.func.isRequired},b.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},h.propTypes={summary:a.default.PropTypes.shape({length:a.default.PropTypes.string.isRequired}).isRequired},g.defaultProps={indexImage:void 0},v.defaultProps={indexImage:void 0},_.defaultProps={summary:void 0,brandingTool:”false”,titleId:””},_.displayName=”PhotoGalleryType”,t.default=_,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t-1?”https://ichef.bbci.co.uk/images/ic/raw/p05d1g60.png”:this.state.shareUrl.indexOf(“/news”)>-1?”http://ichef.bbci.co.uk/images/ic/raw/p05d1g0s.png”:”https://ichef.bbci.co.uk/images/ic/raw/p05d1fth.png”}},{key:”getTwitterHandle”,value:function(){return this.state.shareUrl.indexOf(“https://www.bbc.co.uk/sport”)>-1?”BBCSport”:this.state.shareUrl.indexOf(“/news”)>-1?”BBCNews”:”BBC”}},{key:”getPostShareImage”,value:function(){var e=this.props.body.filter(function(e){var t=e.name;return”image”===t||”video”===t})[0];return e&&(e.imageChefHref||e.holdingImageUrl).replace(“{width}”,”320″)}},{key:”getShareImage”,value:function(){var e=this.props,t=e.type,n=e.body,r=e.media;return”POST”===t&&n.length>0?this.getPostShareImage()||this.getFallbackLogo():”CLIP”!==t&&”MAP”!==t||!r?this.getFallbackLogo():r.holdingImageUrl||this.getFallbackLogo()}},{key:”buildLinkName”,value:function(){return encodeURIComponent(this.props.assetId+”&”+this.props.title+”&”+this.props.lastPublished).replace(/’/g,”%27″).replace(/”/g,”%22″)}},{key:”sendIStats”,value:function(e){var t=this;return function(){var n=(0,m.getIstatsData)(t.props);(0,f.configureAndSendIstats)(e,”share”,n)}}},{key:”toggleSharePanel”,value:function(){var e=this.props,t=e.assetId,n=e.activeDropdown,r=e.setActiveDropdown,o=n===t?””:t;return this.sendIStats(“share_panel”)(),this.setState({isOpen:!!o}),r(o)}},{key:”twitterShareUrl”,value:function(){return this.state.shareUrl+”?ns_mchannel=social&ns_source=twitter&ns_campaign=bbc_live&ns_linkname=”+this.buildLinkName(this.props)+”&ns_fee=0&pinned_post_locator=”+this.props.locator+”&pinned_post_asset_id=”+this.props.assetId+”&pinned_post_type=share”}},{key:”facebookShareUrl”,value:function(){return this.state.shareUrl+”?ns_mchannel=social&ns_source=facebook&ns_campaign=bbc_live&ns_linkname=”+this.buildLinkName(this.props)+”&ns_fee=0&pinned_post_locator=”+this.props.locator+”&pinned_post_asset_id=”+this.props.assetId+”&pinned_post_type=share”}},{key:”setInitialState”,value:function(){var e=””;if(this.props.relatedUrl)e=window.location.origin+this.props.relatedUrl;else{e=window.location.href;var t=e.match(h);if(t)e=t[0];else{var n=e.match(g);n&&(e=n[0])}}this.setState({shareUrl:e,pageTitle:document.title})}},{key:”render”,value:function(){var e=this,t=this.props,n=t.activeDropdown,r=t.assetId,o=t.getTranslationFor,a=t.title,i=t.cssDirection,s=t.shareToolsTitleId,l=t.useReactionsStreamV4Toggle,c=this.state,f=c.isOpen,m=c.shareUrl,h=c.pageTitle,g=(0,p.default)({“ev-button”:”true”===this.props.brandingTool},”qa-facebook-share”,”lx-share-tools__cta”),y=(0,p.default)({“ev-button”:”true”===this.props.brandingTool},”qa-twitter-share”,”lx-share-tools__cta”),b=n===r&&f,_=m.indexOf(“bbc.com”)>-1?”https://www.bbc.com”:”https://www.bbc.co.uk”,P={shareText:o(“share”),viewMoreShare:o(“view_more_share”),shareThisPost:o(“share_this_post”),copyThisLink:o(“copy_this_link”),readMoreOnLinks:o(“read_more_on_links”),readMoreOnLinksLabel:o(“read_more_on_links_label”),shareThisPostOn:o(“share_this_post_on”),closeButtonLabel:o(“close_button_label”),copyShareLinkLabel:o(“copy_share_link_label”)},T=P.shareThisPostOn+” Facebook”,E=P.shareThisPostOn+” Twitter”,x=l?”alternate-up”:”alternate-transformation”,C=l?”right”:”left”;return u.default.createElement(“ul”,{“aria-labelledby”:s,className:”lx-share-tools__items lx-share-tools__items–align-“+C+” qa-share-tools”},u.default.createElement(“li”,null,u.default.createElement(d.Facebook,{link:this.facebookShareUrl(),name:h,description:a,image:this.getShareImage(),classes:g,caption:_,customFacebookAriaLabel:T,clickCallback:this.sendIStats(“share_facebook”),small:!0,noButtonPadding:!0,brandingTool:this.props.brandingTool})),u.default.createElement(“li”,null,u.default.createElement(d.Twitter,{link:this.twitterShareUrl(),description:this.props.title,viaHandle:this.getTwitterHandle(),classes:y,customTwitterAriaLabel:E,clickCallback:this.sendIStats(“share_twitter”),small:!0,noButtonPadding:!0,brandingTool:this.props.brandingTool})),u.default.createElement(“li”,null,u.default.createElement(d.SharePanel,{shareButtonComponent:function(t){return u.default.createElement(v,{translations:P,buttonProps:t,brandingTool:e.props.brandingTool,isOpen:b,assetId:r})},accessibilityId:”share-popup-“+r,classes:”lx-share-tools__panel”,headerText:P.shareThisPost,readMoreText:P.readMoreOnLinks,readMoreTextAriaLabel:P.readMoreOnLinksLabel,closeButtonLabel:P.closeButtonLabel,copyShareLinkLabel:P.copyShareLinkLabel,direction:x,cssDirection:i,clickCallback:this.toggleSharePanel,onCloseCallback:this.toggleSharePanel,isOpen:b},u.default.createElement(“div”,{className:”gs-c-share-tools__button share-tools__button–no-hover-effect”},u.default.createElement(d.CopyLinkBox,{theme:”dark”,link:this.twitterShareUrl(),shareText:P.copyThisLink,feedbackDuration:2e3,classes:”lx-share-tools__copylink-box”})))))}}]),t}(l.Component);y.propTypes={type:l.PropTypes.string.isRequired,assetId:l.PropTypes.string.isRequired,lastPublished:l.PropTypes.string.isRequired,locator:l.PropTypes.string.isRequired,activeDropdown:l.PropTypes.string.isRequired,setActiveDropdown:l.PropTypes.func.isRequired,brandingTool:l.PropTypes.string.isRequired,getTranslationFor:l.PropTypes.func.isRequired,title:l.PropTypes.string.isRequired,cssDirection:l.PropTypes.string.isRequired,body:l.PropTypes.array.isRequired,media:l.PropTypes.object.isRequired,useReactionsStreamV4Toggle:l.PropTypes.bool.isRequired,postIndex:l.PropTypes.number.isRequired,postHasVideo:l.PropTypes.bool.isRequired,postHasImage:l.PropTypes.bool.isRequired,postHasSocial:l.PropTypes.bool.isRequired,postIsBreakingNews:l.PropTypes.bool.isRequired,mode:l.PropTypes.string.isRequired,shareToolsTitleId:l.PropTypes.string.isRequired,relatedUrl:l.PropTypes.string},y.defaultProps={relatedUrl:null,brandingTool:”false”,activeDropdown:””,media:{},postHasVideo:!1,postHasImage:!1,postHasSocial:!1,postIsBreakingNews:!1},t.default=y},function(e,t){e.exports=Morph.modules[“bbc-morph-share-tools@5.1.4”]},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=function(e){return e.title||e.subtitle||e.icon},o=function(e){return”POST”===e.type||”CIT”===e.type},a=function(e){return e.body&&e.body.length>0},i=function(e){return”STY”===e.type||”CSP”===e.type},s=function(e,t){return!(!e||!e.body)&&e.body.some(function(e){return e.name===t})},l=function(e){return s(e,”video”)||”MAP”===e.type||”video”===e.mediaType},u=function(e){return s(e,”image”)},c=function(e){return Boolean(e&&e.options&&e.options.isBreakingNews&&void 0!==e.options.isBreakingNews)},p=function(e){return Boolean(e&&e.options&&e.options.isPriorityPost&&void 0!==e.options.isPriorityPost)},d=function(e){return!!e&&[“FLAG_CHEQUERED”,”GOLD”,”WICKET”,”TRY”,”GOAL”].includes(e)},f=function(e){return{BREAKING:”Breaking”,GOAL:”Goal”,GOLD:”Gold medal”,TRY:”Try”,WICKET:”Wicket”,FLAG_CHEQUERED:”Chequered flag”}[e]};t.default={postHasHeading:r,isPostType:o,postIsStory:i,hasValidContent:a,postHasMediaType:s,postHasVideo:l,postHasImage:u,postIsBreakingNews:c,postIsPriority:p,isSupportedIncidentType:d,formatType:f},e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n0&&a(e,t)&&t.length>0){var r=s(t)?t[1]:t[0];return i(e,r)}return n};t.renderComponentIfExists=r,t.hasNewPost=l,t.hasPinnedPost=s},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){return o.default.createElement(“svg”,{className:”qa-loading-icon-svg”,xmlns:”http://www.w3.org/2000/svg”,viewBox:”0 0 28 28″},o.default.createElement(“linearGradient”,{id:”a”,gradientUnits:”userSpaceOnUse”,x1:”1.224″,y1:”8.111″,x2:”25.888″,y2:”21.225″},o.default.createElement(“stop”,{offset:”0″,stopColor:”#5a5a5a”}),o.default.createElement(“stop”,{offset:”1″,stopColor:”#5a5a5a”,stopOpacity:”0″})),o.default.createElement(“path”,{d:”M26 7l-3 1.7c.9 1.5 1.4 3.3 1.4 5.2 0 5.8-4.7 10.5-10.5 10.5-5.7 0-10.4-4.7-10.4-10.4C3.5 8.2 7.8 3.5 14 3.5V0C6.1 0 0 6.2 0 14c0 7.7 6.2 14 14 14 7.7 0 14-6.2 14-14-.1-2.6-.8-5-2-7z”,fill:”url(#a)”}))},i=function(e){return o.default.createElement(“div”,{className:”gs-u-align-center gs-u-pv-alt+ gs-u-ph+ lx-loading-message”},o.default.createElement(“span”,{“aria-hidden”:”true”,className:”gs-u-mb gel-icon lx-loading-message__icon qa-loading-icon”},o.default.createElement(a,null)),o.default.createElement(“p”,{className:”gs-u-m0 gel-body-copy qa-loading-text”},e.loadingText))};i.propTypes={loadingText:o.default.PropTypes.string.isRequired},t.default=i,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default=function(e,t){var n=e;for(var r in t)t[r]&&(n=n.replace(“{“+r+”}”,t[r]));return n},e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,”__esModule”,{value:!0}),t.getMode=void 0;var l=function(){function e(e,t){for(var n=0;n
Checkout latest world news below links :
World News || Latest News || U.S. News
The post Clement to do ‘more business’ after Rangers win appeared first on WorldNewsEra.