Newcastle 1-4 Man Utd: Visitors produce late flourish to earn welcome win

17/10/2020 23:45

Manchester United score three late goals at Newcastle as they bounce back from their embarrassing defeat against Tottenham.

Manchester United scored three late goals at Newcastle to earn victory and help ease the misery inflicted by the heavy defeat against Tottenham.

It was an incredible final few minutes for a team who looked as if they had blown their chance of three points following Bruno Fernandes' failure from the penalty spot in the 58th minute.

United needed a positive reaction following that 6-1 thumping by Spurs before the international break, but their hopes suffered a blow when Emil Krafth's cross came off defender Luke Shaw and beat keeper David de Gea.

Harry Maguire, who like his side has endured an unsettled period, equalised to haul the visitors back into the game.

And it looked as if the match was set to turn in their favour in the second half when referee Craig Pawson, after consulting the pitch-side monitor, judged Jamal Lewis to have fouled Marcus Rashford and awarded a penalty.

However, Fernandes, who previously had a 100% record from the spot for United, saw his fierce strike brilliantly pushed away by Karl Darlow.

The Portugal midfielder was not to be denied though and with four minutes remaining he finally beat the Magpies keeper with a thumping finish, before Aaron Wan-Bissaka, with his first for the club, and Rashford ensured United's second win of the season.

Reaction to Newcastle v Man UtdLawro's Premier League predictions v Afrobeat star & Man Utd fan RemaMan Utd patience pays off on Tyneside

There were sub-plots coming into this match, centring around how United boss Ole Gunnar Solskjaer would have his team set up after the defeat by Spurs, and how Maguire would perform.

The Norwegian stuck by his skipper, whose form has been inconsistent this season and who had been sent off playing for England during the recent international break.

The centre-back produced arguably his most confident display of the season and it was somewhat poetic that his precision header brought his side back into the match.

The other person in the United camp who experienced both bitter and sweet was Fernandes. He had previously scored 10 out of 10 from the spot for the Red Devils but his run was brought to an emphatic stop by the flying Darlow.

But the visitors did not allow their heads to drop, unlike at Old Trafford two weeks ago, and breached the final line of defence once again when Fernandes smacked his angled strike high past the past the Magpies keeper after a glorious move down the left.

Wan-Bissaka, on his 50th appearance for the club, produced an equally thunderous finish from the right before Rashford slotted in a well deserved goal for himself.

The England striker, 22, without his familiar strike partners Anthony Martial and Mason Greenwood, once again produced a very mature display.

Magpies impress despite defeat

The scoreline reads 4-1, but against one of the 'big six', Magpies boss Steve Bruce's side fought fire with fire, particularly in the first half.

French winger Allan Saint-Maximin, who dazzled against Burnley in the 3-1 win, starred again - albeit in spurts - and was integral to the move that led to the opener.

He then provided the cross for striker Callum Wilson which should have resulted in Newcastle's second, but instead resulted in one of the saves of the season from De Gea.

Darlow, 30, made several good stops and continued until the end of the match despite appearing to be suffering from an injury in the final quarter of the game.

But even at full fitness the keeper could not have done much about the late goals though, as his team-mates in front of him tired, allowing their opponents to exploits the gaps in defence.

More to follow.

Player of the match

RashfordMarcus Rashford

with an average of 7.74NewcastleNewcastle UnitedNewcastle UnitedMan UtdManchester UnitedManchester UnitedNewcastle UnitedAvgSquad number26Player nameDarlowAverage rating

6.46

Squad number10Player nameSaint-MaximinAverage rating

5.59

Squad number13Player nameC WilsonAverage rating

5.17

Squad number15Player nameLewisAverage rating

5.06

Squad number18Player nameFernándezAverage rating

5.00

Squad number8Player nameShelveyAverage rating

4.95

Squad number17Player nameKrafthAverage rating

4.89

Squad number6Player nameLascellesAverage rating

4.71

Squad number16Player nameHendrickAverage rating

4.63

Squad number14Player nameHaydenAverage rating

4.63

Squad number5Player nameSchärAverage rating

4.58

Squad number21Player nameFraserAverage rating

4.57

Squad number24Player nameAlmirónAverage rating

4.47

Squad number9Player nameJoelintonAverage rating

3.86

Manchester UnitedAvgSquad number10Player nameRashfordAverage rating

7.74

Squad number8Player nameMataAverage rating

7.53

Squad number18Player nameBruno FernandesAverage rating

7.50

Squad number29Player nameWan-BissakaAverage rating

7.05

Squad number34Player namevan de BeekAverage rating

6.96

Squad number1Player namede GeaAverage rating

6.76

Squad number5Player nameMaguireAverage rating

6.62

Squad number39Player nameMcTominayAverage rating

6.22

Squad number2Player nameLindelöfAverage rating

5.98

Squad number17Player nameFredAverage rating

5.83

Squad number21Player nameJamesAverage rating

5.80

Squad number23Player nameShawAverage rating

5.49

Squad number31Player nameMaticAverage rating

5.48

Squad number6Player namePogbaAverage rating

5.37

Line-upsMatch StatsLive TextLine-upsNewcastle26Darlow17KrafthBooked at 67mins6Lascelles18Fernández15Lewis14HaydenSubstituted forSchärat 49'minutes9JoelintonSubstituted forFraserat 72'minutes8Shelvey16HendrickSubstituted forAlmirónat 88'minutes10Saint-Maximin13C WilsonSubstitutes5Schär7Carroll19Manquillo21Fraser23Murphy24Almirón29GillespieMan Utd1de Gea29Wan-Bissaka2Lindelöf5Maguire23Shaw39McTominay17FredSubstituted forPogbaat 69'minutes8MataSubstituted forMaticat 90+2'minutes18Bruno Fernandes21JamesBooked at 37minsSubstituted forvan de Beekat 76'minutes10RashfordSubstitutes3Bailly6Pogba25Ighalo26Henderson27Telles31Matic34van de BeekReferee:Craig PawsonMatch StatsHome TeamNewcastleAway TeamMan UtdPossessionHome36%Away64%ShotsHome7Away28Shots on TargetHome4Away14CornersHome0Away7FoulsHome9Away12Live Text Post update

Match ends, Newcastle United 1, Manchester United 4.

90'+7'Full Time

Second Half ends, Newcastle United 1, Manchester United 4.

90'+6'goalGoal!

Goal!Newcastle United 1, Manchester United 4. Marcus Rashford (Manchester United) right footed shot from the left side of the box to the centre of the goal. Assisted by Bruno Fernandes with a through ball.

90'+3'Post update

Corner,Manchester United. Conceded by Federico Fernández.

90'+3'Post update

Attempt blocked. Bruno Fernandes (Manchester United) right footed shot from outside the box is blocked. Assisted by Donny van de Beek.

90'+2'Post update

Foul by Harry Maguire (Manchester United).

90'+2'Post update

Callum Wilson (Newcastle United) wins a free kick in the defensive half.

90'+2'Substitution

Substitution, Manchester United. Nemanja Matic replaces Juan Mata.

90'goalGoal!

Goal!Newcastle United 1, Manchester United 3. Aaron Wan-Bissaka (Manchester United) right footed shot from the right side of the box to the top right corner. Assisted by Marcus Rashford.

88'Substitution

Substitution, Newcastle United. Miguel Almirón replaces Jeff Hendrick.

86'goalGoal!

Goal!Newcastle United 1, Manchester United 2. Bruno Fernandes (Manchester United) right footed shot from a difficult angle on the left to the top right corner. Assisted by Marcus Rashfordfollowing a fast break.

85'Post update

Foul by Paul Pogba (Manchester United).

85'Post update

Callum Wilson (Newcastle United) wins a free kick on the right wing.

84'Post update

Foul by Donny van de Beek (Manchester United).

84'Post update

Jeff Hendrick (Newcastle United) wins a free kick in the defensive half.

80'Post update

Attempt missed. Harry Maguire (Manchester United) right footed shot from outside the box is close, but misses to the left. Assisted by Paul Pogba.

76'Substitution

Substitution, Manchester United. Donny van de Beek replaces Daniel James.

76'Post update

Bruno Fernandes (Manchester United) wins a free kick on the left wing.

76'Post update

Foul by Fabian Schär (Newcastle United).

72'Substitution

Substitution, Newcastle United. Ryan Fraser replaces Joelinton.

Page 1 of 6rewindpreviousNavigate to the next pagenextNavigate to the last pageforwardThe Trump Show: Behind the scenes of his presidencyThe Young Offenders: All episodes are streaming nowScores, Results & FixturesSaturday 17th October 2020EvertonEverton2LiverpoolLiverpool2FTChelseaChelsea3SouthamptonSouthampton3FTMan CityManchester City1ArsenalArsenal0FTNewcastleNewcastle United1Man UtdManchester United4FTView all Premier League scoresAs It StandsTeamPWDLFAGDPts1Everton54101477132Liverpool531113130103Aston Villa3300112994Leicester4301127595Arsenal530286296Chelsea5221139487Tottenham4211125778Leeds421198179Man City4211770710Southampton521289-1711Newcastle521279-2712West Ham4202844613Crystal Palace420257-2614Man Utd4202912-3615Wolves420247-3616Brighton4103810-2317West Brom4013513-8118Burnley300338-5019Sheff Utd400416-5020Fulham4004311-80View full Premier League tableTop StoriesVideoWatch: Match of the DayLiveLivePremier League: Newcastle 1-4 Man Utd - three late goals give visitors victoryLiveLiveFrom the section FootballExeter 31-27 Racing 923habout 3 hours agoFrom the section Rugby Union489 CommentsAlso in Sport'You don't need to be a man to write about football'

Fleet Street's first female football reporter, Julie Welch, tells Football Focus' Caroline de Moraes about the ups and downs of making her way in such a male-dominated industry.

Project Iceman: Antarctica's first triathlonProtest, defiance and the arena: How sport stood up for black livesThe Ugandan 'boss woman' making a huge sacrifice for netball

Hoooooooome run! Brilliant Spanish commentary of Braves hit

'LeBron James' legacy & a fitting farewell to Bryant'

Job offers, rivals and his Arsenal legacy - Wenger in his own words

'A totally new concept - we've no idea how it will look'

'Wearing my rainbow mouthpiece was a reminder of what I'd overcome'

'Best was a pioneer, but it came at a price'

Nominate your Unsung Hero for 2020

Explore the BBCEnslaved with Samuel L Jackson

The Hollywood star and a team of journalists explore 400 years of slavery

Football notifications, social media and more

Get latest scores and headlines sent straight to your phone, sign-up to our newsletter and learn where to find us on online.

Today's football gossip

The latest rumours and stories from around the world of football.

Phil McNulty

Analysis and opinion from our chief football writer.

How to get into football

How to get into football - the most popular sport in the world, with clubs and facilities throughout the UK.

Explore the BBCHomeNewsSportWeatheriPlayerSoundsCBBCCBeebiesFoodBitesizeArtsTasterLocalThree Terms of UseAbout the BBCPrivacy PolicyCookiesAccessibility HelpParental GuidanceContact the BBCGet Personalised NewslettersCopyright © 2020 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking./>/>/>=200&&this.status-1};u.prototype.append=function(t,e){t=o(t),e=i(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},u.prototype.delete=function(t){delete this.map[o(t)]},u.prototype.get=function(t){return t=o(t),this.has(t)?this.map[t]:null},u.prototype.has=function(t){return this.map.hasOwnProperty(o(t))},u.prototype.set=function(t,e){this.map[o(t)]=i(e)},u.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},u.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),s(t)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),s(t)},u.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),s(t)},g.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},d.call(v.prototype),d.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},m.error=function(){var t=new m(null,{status:0,statusText:""});return t.type="error",t};var x=[301,302,303,307,308];m.redirect=function(t,e){if(-1===x.indexOf(e))throw new RangeError("Invalid status code");return new m(null,{status:e,headers:{location:t}})};var j=self.DOMException;try{new j}catch(t){j=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},j.prototype=Object.create(Error.prototype),j.prototype.constructor=j}w.polyfill=!0,self.fetch||(self.fetch=w,self.Headers=u,self.Request=v,self.Response=m)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(9);e.default=function(){return(0,n.userSignedIn)().then(function(t){return t?(0,n.getUserId)():null}).then(function(t){if(!t)throw new Error("No user ID");return t})}},function(t,e,r){"use strict";function n(){return new s.default(function(t,e){requirejs(["idcta/idcta-1","idcta/id-config"],function(e,r){u=e,a=r,t({idCta:u,idConfig:a})},e)})}function o(){return u&&a?s.default.resolve({idCta:u,idConfig:a}):n()}var i=r(10),s=function(t){return t&&t.__esModule?t:{default:t}}(i),u=null,a=null;t.exports.userSignedIn=function(){return o().then(function(t){var e=t.idCta;return!!e&&e.hasCookie()}).catch(function(){return!1})},t.exports.getUserId=function(){return o().then(function(t){var e=t.idCta;return e?e.getIdFromCookie():null}).catch(function(){return null})},t.exports.getUserDetails=function(){return o().then(function(t){var e=t.idCta;return e?e.getUserDetailsFromCookie():null}).catch(function(){return null})},t.exports.signInUrl=function(){return o().then(function(t){var e=t.idConfig;return e?e.signin_url:null}).catch(function(){return null})},t.exports.registerUrl=function(){return o().then(function(t){var e=t.idConfig;return e?e.register_url:null}).catch(function(){return null})},t.exports.IDAvailable=function(){return o().then(function(t){var e=t.idConfig;return e&&"GREEN"===e["id-availability"]}).catch(function(){return!1})},t.exports.unloadIdDependencies=function(){u=null,a=null}},function(t,e,r){var n=r(11).Promise;t.exports=n},function(t,e,r){(function(n,o){var i;(function(){"use strict";function s(t){return"function"==typeof t||"object"==typeof t&&null!==t}function u(t){return"function"==typeof t}function a(t){W=t}function c(t){z=t}function f(){return function(){G(h)}}function l(){return function(){setTimeout(h,1)}}function h(){for(var t=0;t e.length)&&(t=e.length);for(var r=0,n=new Array(t);r it;)v(ot[it++]);u(u.S+u.F*!J,"Symbol",{for:function(t){return o(G,t+="")?G[t]:G[t]=D(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in G)if(G[e]===t)return e},useSetter:function(){B=!0},useSimple:function(){B=!1}}),u(u.S+u.F*!J,"Object",{create:X,defineProperty:q,defineProperties:Q,getOwnPropertyDescriptor:$,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var ut=c(function(){j.f(1)});u(u.S+u.F*ut,"Object",{getOwnPropertySymbols:function(t){return j.f(_(t))}}),F&&u(u.S+u.F*(!J||c(function(){var t=D();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(g(e)||void 0!==t)&&!Y(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,N.apply(F,r)}}),D.prototype[I]||n(6)(D.prototype,I,D.prototype.valueOf),p(D,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(t,e,n){var r=n(13)("meta"),o=n(7),i=n(2),u=n(3).f,f=0,s=Object.isExtensible||function(){return!0},c=!n(11)(function(){return s(Object.preventExtensions({}))}),a=function(t){u(t,r,{value:{i:"O"+ ++f,w:{}}})},p=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!s(t))return"F";if(!e)return"E";a(t)}return t[r].i},l=function(t,e){if(!i(t,r)){if(!s(t))return!0;if(!e)return!1;a(t)}return t[r].w},y=function(t){return c&&d.NEED&&s(t)&&!i(t,r)&&a(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:p,getWeak:l,onFreeze:y}},function(t,e,n){var r=n(23),o=n(38),i=n(28);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,f=n(t),s=i.f,c=0;f.length>c;)s.call(t,u=f[c++])&&e.push(u);return e}},function(t,e,n){var r=n(37);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(8),o=n(39).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?f(t):o(r(t))}},function(t,e){},function(t,e,n){n(27)("asyncIterator")},function(t,e,n){n(27)("observable")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(80),i=r(o),u=n(84),f=r(u),s=n(33),c=r(s);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,c.default)(e)));t.prototype=(0,f.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(i.default?(0,i.default)(t,e):t.__proto__=e)}},function(t,e,n){t.exports={default:n(81),__esModule:!0}},function(t,e,n){n(82),t.exports=n(0).Object.setPrototypeOf},function(t,e,n){var r=n(5);r(r.S,"Object",{setPrototypeOf:n(83).set})},function(t,e,n){var r=n(7),o=n(10),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(30)(Function.call,n(40).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){t.exports={default:n(85),__esModule:!0}},function(t,e,n){n(86);var r=n(0).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(5);r(r.S,"Object",{create:n(22)})},function(t,e){t.exports=React},function(t,e){t.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(t,e){t.exports=Morph.modules["bbc-morph-gs-timestamp@3.0.0"]},function(t,e){t.exports=Morph.modules["bbc-morph-gs-live-pulse@6.0.11"]}]); //# sourceMappingURL=bundle.js.map; });/> -1?"__CPS_".concat(n):"__CPS__".concat(n)}(e.assetId,e.assetUri),l="dna-comment-count_".concat(c),u=a()("gs-o-bullet__text",l,n),i=a()("gs-o-bullet__icon","gel-icon","gs-c-comment-count__icon",r);return s.a.Children.only(s.a.createElement("span",null,s.a.createElement("span",{className:i},s.a.createElement("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 32 32"},s.a.createElement("path",{d:"M0 0v32l8-8h24V0H0zm4 10h18v4H4v-4zm24 10H4v-4h24v4zm0-12H4V4h24v4z"}))),s.a.createElement("span",{className:u,"data-comments-id":c,id:l},t),s.a.createElement("span",{className:"gs-u-vh"}," ",o)))}(e);return t=u,r=(n=e).commentsLink,o=n.anchorClasses,c=n.theme,l=a()(function(e){return e?"gs-t-".concat(e):""}(c),["gs-o-bullet","gs-o-bullet-","gs-c-comment-count",o]),r?s.a.createElement("a",{className:l,href:r},t):s.a.createElement("span",{className:l},t)};c.displayName="GrandStand__CommentIcon",c.propTypes={anchorClasses:r.PropTypes.string,assetId:r.PropTypes.string,assetUri:r.PropTypes.string,commentsCount:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),commentsLink:r.PropTypes.string,iconClasses:r.PropTypes.string,offScreenText:r.PropTypes.string,textClasses:r.PropTypes.string,theme:r.PropTypes.string},c.defaultProps={anchorClasses:"",assetId:"",assetUri:"",commentsCount:"",commentsLink:"",iconClasses:"",offScreenText:"Comments",textClasses:"",theme:""};var l=c;Morph.modules["bbc-morph-gs-comment-icon@5.0.1"]=l}]); //# sourceMappingURL=bundle.js.map; });/> 0&&(D+=H)}return new Date(w+j+D)}return new Date(e)}},function(e,t){e.exports=React},function(e,t,r){var n=r(31);e.exports=function(e){return n(e,{weekStartsOn:1})}},function(e,t,r){var n=r(34),o=r(35);e.exports={distanceInWords:n(),format:o()}},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t,r){var n=r(0);e.exports=function(e,t){var r=n(e).getTime(),o=n(t).getTime();return ro?1:0}},function(e,t){e.exports=function(e){return e instanceof Date}},function(e,t,r){var n=r(0);e.exports=function(e,t){var r=n(e),o=n(t);return 12*(r.getFullYear()-o.getFullYear())+(r.getMonth()-o.getMonth())}},function(e,t,r){var n=r(9);e.exports=function(e,t){var r=n(e),o=n(t),u=r.getTime()-6e4*r.getTimezoneOffset(),a=o.getTime()-6e4*o.getTimezoneOffset();return Math.round((u-a)/864e5)}},function(e,t,r){var n=r(0);e.exports=function(e){var t=n(e);return t.setHours(0,0,0,0),t}},function(e,t,r){var n=r(0),o=r(2);e.exports=function(e){var t=n(e),r=t.getFullYear(),u=new Date(0);u.setFullYear(r+1,0,4),u.setHours(0,0,0,0);var a=o(u),i=new Date(0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);var s=o(i);return t.getTime()>=a.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}},function(e,t,r){var n=r(0);e.exports=function(e,t){var r=n(e).getTime(),o=n(t).getTime();return r>o?-1:r0?Math.floor(r):Math.ceil(r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=y(r(15)),o=y(r(17)),u=y(r(19)),a=y(r(21)),i=y(r(23)),s=y(r(42)),l=y(r(43)),c=y(r(45)),f=y(r(47)),p=y(r(49)),d=y(r(51)),m=y(r(53));function y(e){return e&&e.__esModule?e:{default:e}}var g={Body:n.default,CommentIcon:o.default,Heading:u.default,Image:a.default,ItemStatus:i.default,Link:s.default,LivePulse:l.default,MediaIndicator:c.default,Meta:f.default,Promo:p.default,SectionTag:d.default,Summary:m.default};t.default=g},function(e,t,r){"use strict";r.r(t);var n=r(13),o=r.n(n);Morph.modules["bbc-morph-sport-promos@6.1.1"]=o.a},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=e[u]}r.default=e,t&&t.set(e,r);return r}(r(1)),a=(o=r(16))&&o.__esModule?o:{default:o};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function s(e){switch(e){case"lead":return["gel-1/3@m","gs-u-mt@xs","gs-u-mt0@m","gs-u-pl0","gs-u-pl@m"];case"leadStacked":return["gel-1/3@m","gs-u-mt@xs","gs-u-mt0@m","gs-u-pl@m","gs-u-pl0@xxl","gel-1/1@xxl","gs-u-mt@xxl"];case"leadStackedToInline":return["gel-1/3@m","gs-u-mt@xs","gs-u-mt0@m","gel-1/2@l"];case"liveGuide":return["gs-u-mt@m"];case"stacked":return["gs-u-mt@m","gel-1/2@xs","gel-1/1@m"];case"stackedToInline":return["gel-1/2@l"];case"multiThumb":return["sp-c-promo","gs-u-mt@xs","gel-1/1@m","gs-u-pl0@m","gs-u-pl+@l"];case"multiThumbInline":return["sp-c-promo","gs-u-mt@l","gs-u-pl@m","gs-u-pl+@l"];default:return[]}}function l(e){return"MAP"===e}var c=function(e,t){var r=e.children,n=t.promoType;return u.default.createElement(a.default,{className:s(n),whiteText:l(n)},r)};c.displayName="SportPromoBody",c.contextTypes={promoType:u.PropTypes.string},c.propTypes={children:u.PropTypes.node},c.defaultProps={children:null};var f=c;t.default=f},function(e,t){e.exports=Morph.modules["bbc-morph-gs-promo-body@6.0.0"]},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=e[u]}r.default=e,t&&t.set(e,r);return r}(r(1)),a=(o=r(18))&&o.__esModule?o:{default:o};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var s=function(e){var t=e.assetUri,r=e.commentsCount;return u.default.createElement(a.default,{assetUri:t,commentsCount:r,theme:"sport"})};s.displayName="SportPromoCommentIcon",s.propTypes={assetUri:u.PropTypes.string,commentsCount:u.PropTypes.number},s.defaultProps={assetUri:"",commentsCount:null};var l=s;t.default=l},function(e,t){e.exports=Morph.modules["bbc-morph-gs-comment-icon@5.0.1"]},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=e[u]}r.default=e,t&&t.set(e,r);return r}(r(1)),u=i(r(4)),a=i(r(20));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){switch(e){case"featured":return["sp-o-link-split__text","sp-c-feature-promo__line","sp-o-link-split__text--white","gs-u-display-block"];case"liveGuide":return["live-guide-promo__link-text"];default:return["sp-o-link-split__text"]}}function c(e){switch(e){case"featured":return[];case"lead":case"leadStacked":return["gs-o-faux-block-link__overlay-link","sp-o-link-split__anchor","gel-double-pica-bold"];case"liveGuide":return["gs-o-faux-block-link__overlay-link","live-guide-promo__link-anchor","gel-pica-bold"];case"MAP":return["gs-o-faux-block-link__overlay-link","sp-o-link-split__anchor","gs-u-mv"];case"orderedList":return["sp-o-link","gel-pica-bold"];default:return["gs-o-faux-block-link__overlay-link","sp-o-link-split__anchor","gel-pica-bold"]}}function f(e,t){switch(e){case"featured":return["sp-c-feature-promo__heading"];case"liveGuide":return["sp-c-promo__heading--flex"];case"MAP":return["gs-u-display-none","gs-u-display-block@xs"].concat(t);default:return[]}}function p(e){switch(e){case"MAP":return"h4";case"orderedList":return"span";default:return"h3"}}function d(e){switch(e){case"featured":return"gel-great-primer-bold";case"lead":case"leadStacked":return"gel-double-pica-bold";case"MAP":return"gel-pica-bold sp-o-link-split__text--on-dark";default:return"gel-pica-bold"}}var m=function(e,t){var r=e.children,n=e.classNames,i=e.title,s=e.url,m=e.linkOnClick,y=e.accessibilityHeading,g=e.summary,b=t.promoType;return o.default.createElement("div",{className:(0,u.default)(f(b,n))},o.default.createElement(a.default,{title:i,url:s,linkCallback:m,accessibilityHeading:y,headingType:p(b),linkClasses:c(b),titleClasses:l(b),titleTypographyClass:d(b)},r),g)};m.displayName="SportPromoHeading",m.contextTypes={promoType:o.PropTypes.string},m.propTypes={children:o.PropTypes.node,classNames:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.objectOf(o.PropTypes.bool)])),o.PropTypes.string]),url:o.PropTypes.string,title:o.PropTypes.string,linkOnClick:o.PropTypes.func,accessibilityHeading:o.PropTypes.string,summary:o.PropTypes.node},m.defaultProps={children:null,classNames:[],url:"",title:"",linkOnClick:null,accessibilityHeading:"",summary:null};var y=m;t.default=y},function(e,t){e.exports=Morph.modules["bbc-morph-gs-promo-heading@6.0.2"]},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=e[u]}r.default=e,t&&t.set(e,r);return r}(r(1)),a=(o=r(22))&&o.__esModule?o:{default:o};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function s(e){return"featured"===e}function l(e){return"featured"===e?"gs-u-display-none gs-u-display-block@xs sp-c-feature-promo__img":""}function c(e){return"featured"===e?"(min-width: 90em) 25vw, (min-width: 80em) 33vw, (min-width: 56.25em) 40vw, (min-width: 37.5em) 60vw, calc(100vw - 32px)":""}function f(e){switch(e){case"lead":return["gs-u-display-none","gs-u-display-block@xs","gel-2/3@m","gs-u-pl0","gs-u-mr"];case"leadStacked":return["gs-u-display-none","gs-u-display-block@xs","gel-2/3@m","gel-1/1@xxl","gs-u-pl0","gs-u-mr"];case"leadStackedToInline":return["gs-u-display-none","gs-u-display-block@xs","gel-2/3@m","gel-1/2@l"];case"stackedToInline":return["gs-u-display-none","gs-u-display-block@xs","gel-1/2@l","gs-u-mb@m","gs-u-mb0@l"];case"stacked":return["gs-u-display-none","gs-u-display-block@xs","gel-1/2@xs","gel-1/1@m"];case"orderedList":return["gel-pica-bold","sp-o-link-split__text"];case"multiThumb":return["gs-u-pl-@xs","gs-u-pl0@m","gs-u-pl+@l","gs-u-display-none","gs-u-display-block@xs"];case"multiThumbInline":return["gs-u-pl-@xs","gs-u-pl0@m","gs-u-pl+@l","gs-u-display-none","gs-u-display-block@xs","gs-u-pr0@l","gs-u-pr@m"];default:return["gs-u-display-none","gs-u-display-block@xs"]}}function p(e){return["featured","lead","leadStacked","leadStackedToInline","stacked","stackedToInline","multiThumbInline","multiThumb"].includes(e)}var d=function(e,t){var r=e.children,n=e.url,o=e.altText,i=e.width,d=t.promoType;return u.default.createElement(a.default,{product:"onesport",ichefRecipe:n,alt:o,className:f(d),imgClassName:l(d),sizes:c(d),imageOnly:s(d),delayed:p(d),width:i},r)};d.displayName="SportPromoImage",d.contextTypes={promoType:u.PropTypes.string},d.propTypes={children:u.PropTypes.node,url:u.PropTypes.string.isRequired,altText:u.PropTypes.string.isRequired,width:u.PropTypes.number},d.defaultProps={children:null,width:null};var m=d;t.default=m},function(e,t){e.exports=Morph.modules["bbc-morph-gs-promo-image@8.0.2"]},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=e[u]}r.default=e,t&&t.set(e,r);return r}(r(1)),a=(o=r(24))&&o.__esModule?o:{default:o},i=r(25);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var l=function(e){var t=e.itemStatusDateTime,r=e.nowDateTime,n=(0,i.formatOnScreenDate)(t,r),o=(0,i.formatOffScreenDate)(t,r);return u.default.createElement(a.default,{className:["sp-c-promo-meta"],offScreenDateTime:o,onScreenDateTime:n,dateTime:t})};l.displayName="SportPromoItemStatus",l.propTypes={itemStatusDateTime:u.PropTypes.string.isRequired,nowDateTime:u.PropTypes.string},l.defaultProps={nowDateTime:null};var c=l;t.default=c},function(e,t){e.exports=Morph.modules["bbc-morph-gs-item-status@9.0.1"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatOffScreenDate=t.formatOnScreenDate=void 0;var n=c(r(5)),o=c(r(7)),u=c(r(27)),a=c(r(37)),i=c(r(40)),s=c(r(41)),l=c(r(8));function c(e){return e&&e.__esModule?e:{default:e}}var f=function(e,t){var r=(0,a.default)(e,t);return"".concat(r," ago")},p=function(e,t){var r=(0,a.default)(e,t);return"Coverage starts in ".concat(r)},d=function(e,t){var r=(0,s.default)(e,t),n=1===(0,l.default)(e,t),a=(0,l.default)(e,t)0?"-":"+",n=Math.abs(e),o=n%60;return r+p(Math.floor(n/60),2)+t+p(o,2)}function p(e,t){for(var r=Math.abs(e).toString();r.length=1?s[1]:s[0]}};return["M","D","DDD","d","Q","W"].forEach((function(e){l[e+"o"]=function(t,r){return function(e){var t=e%100;if(t>20||t0?(p=o(e),d=o(t)):(p=o(t),d=o(e));var y,g=u(d,p),b=d.getTimezoneOffset()-p.getTimezoneOffset(),v=Math.round(g/60)-b;if(v=51||!r(function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t,n){var r,o,i=n(283),a=n(345),s=i.process,u=s&&s.versions,l=u&&u.v8;l?(r=l.split("."),o=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=r[1]))),e.exports=o&&+o},function(e,t,n){var r=n(314);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(285),o=n(286),i=n(295),a=Object.defineProperty,s=function(e){throw e};e.exports=function(e,t){t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:s,c=i(t,1)?t[1]:void 0;return!!n&&!o(function(){if(u&&!r)return!0;var e={length:-1},t=function(t){u?a(e,t,{enumerable:!0,get:s}):e[t]=1};t(1),t(2147483646),t(4294967294),n.call(e,l,c)})}},function(e,t,n){"use strict";var r=n(282),o=n(348);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(338).forEach,o=n(349),i=n(346),a=o("forEach"),s=i("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){"use strict";var r=n(286);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){var r=n(282);r({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(301),o=Date.prototype,i="Invalid Date",a="toString",s=o[a],u=o.getTime;new Date(NaN)+""!=i&&r(o,a,function(){var e=u.call(this);return e===e?s.call(this):i})},function(e,t,n){var r=n(282),o=n(285),i=n(330);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:i})},function(e,t,n){var r=n(282),o=n(285),i=n(299);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:i.f})},function(e,t,n){var r=n(282),o=n(286),i=n(289),a=n(284).f,s=n(285),u=o(function(){a(1)}),l=!s||u;r({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(282),o=n(285),i=n(313),a=n(289),s=n(284),u=n(356);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,l=i(r),c={},d=0;l.length>d;)n=o(r,t=l[d++]),void 0!==n&&u(c,t,n);return c}})},function(e,t,n){"use strict";var r=n(293),o=n(299),i=n(288);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(282),o=n(328),i=n(331),a=n(286),s=a(function(){i(1)});r({target:"Object",stat:!0,forced:s},{keys:function(e){return i(o(e))}})},function(e,t,n){var r=n(283),o=n(359),i=n(348),a=n(298);for(var s in o){var u=r[s],l=u&&u.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch(e){l.forEach=i}}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,t,n){"use strict";var r=n(362),o=n(280);n(364),Object.defineProperty(t,"__esModule",{value:!0}),t.WithStats=void 0;var i=o(n(366)),a=o(n(367)),s=o(n(368)),u=o(n(369)),l=o(n(371)),c=o(n(370)),d=o(n(372)),m=r(n(95)),f=n(374),p=n(278),h={threshold:.5},y=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,u.default)(this,(0,l.default)(t).call(this,e)),n.onViewed=n.onViewed.bind((0,c.default)(n)),n}return(0,d.default)(t,e),(0,s.default)(t,[{key:"onViewed",value:function(){var e=this.props,t=e.labels,n=e.elapsedTimeSinceTimestamp;(0,p.logImpressionEvent)(t,n)}},{key:"optionalWrapWithIntersectionObserverWrapper",value:function(e,t){var n=this.props.minimumTimeInView;return t?m.default.createElement(f.IntersectionObserverWrapper,(0,i.default)({onVisible:this.onViewed},h,{minimumTimeInView:n}),e):e}},{key:"childWithClickOverride",value:function(e){var t=this,n=e.props.onClick;return m.default.cloneElement(e,{onClick:function(){var e=t.props,r=e.labels,o=e.elapsedTimeSinceTimestamp;(0,p.logClickEvent)(r,o),n&&n.apply(void 0,arguments)}})}},{key:"render",value:function(){var e=this.props,t=e.fireOnClick,n=e.fireOnView,r=e.children,o=r&&r.props,i=o&&t?this.childWithClickOverride(r):r;return this.optionalWrapWithIntersectionObserverWrapper(i,n)}}]),t}(m.Component);t.WithStats=y,y.displayName="WithStats",y.propTypes={children:m.PropTypes.node,labels:m.PropTypes.object.isRequired,fireOnClick:m.PropTypes.bool,fireOnView:m.PropTypes.bool,minimumTimeInView:m.PropTypes.number,elapsedTimeSinceTimestamp:m.PropTypes.number},y.defaultProps={fireOnClick:!1,fireOnView:!1,minimumTimeInView:1e3,elapsedTimeSinceTimestamp:0}},function(e,t,n){function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var i=n(363);e.exports=o},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){var r=n(282),o=n(365);r({target:"Function",proto:!0},{bind:o})},function(e,t,n){"use strict";var r=n(340),o=n(294),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o0?r:n)(e)}},function(e,t,n){var r=n(417),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}}function s(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):u()}function u(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e,t){for(var n=t;n;){if(n==e)return!0;n=c(n)}return!1}function c(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return void("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0; }}));var d=window.document,m=[];t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t.prototype.observe=function(e){var t=this._observationTargets.some(function(t){return t.element==e});if(!t){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},t.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},t.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},t.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},t.prototype._parseRootMargin=function(e){var t=e||"0px",n=t.split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},t.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(d,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(d,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},t.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,i(window,"resize",this._checkForIntersections,!0),i(d,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},t.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),r=t?this._getRootRect():u();this._observationTargets.forEach(function(o){var i=o.element,a=s(i),u=this._rootContainsTarget(i),l=o.entry,c=t&&u&&this._computeTargetAndRootIntersection(i,r),d=o.entry=new e({time:n(),target:i,boundingClientRect:a,rootBounds:r,intersectionRect:c});l?t&&u?this._hasCrossedThreshold(l,d)&&this._queuedEntries.push(d):l&&l.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},t.prototype._computeTargetAndRootIntersection=function(e,t){if("none"!=window.getComputedStyle(e).display){for(var n=s(e),r=n,o=c(e),i=!1;!i;){var u=null,l=1==o.nodeType?window.getComputedStyle(o):{};if("none"==l.display)return;if(o==this.root||o==d?(i=!0,u=t):o!=d.body&&o!=d.documentElement&&"visible"!=l.overflow&&(u=s(o)),u&&(r=a(u,r),!r))break;o=c(o)}return r}},t.prototype._getRootRect=function(){var e;if(this.root)e=s(this.root);else{var t=d.documentElement,n=d.body;e={top:0,left:0,right:t.clientWidth||n.clientWidth,width:t.clientWidth||n.clientWidth,bottom:t.clientHeight||n.clientHeight,height:t.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(e)},t.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},t.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o

Source: http://www.bbc.co.uk/

Create team