CINXE.COM

Sport Wales launches £4m grassroots support fund, plus £4.5m for other bodies - BBC Sport

<html lang="en-GB" class="b-reith-sans-font"> <head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://www.bbc.co.uk/sport/wales/53312725","20200912182407","https://web.archive.org/","web","/_static/", "1599935047"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <script>window.Morph = {}</script> <script type="text/javascript">Morph.markPerformance = function(label) { if(window.performance && window.performance.mark) { window.performance.mark(label); } }; Morph.versions = {}; Morph.modules = {}; Morph.config = { cdn: "m.files.bbci.co.uk", pushEnv: "live" }; Morph.styles = {}; Morph.styleSrc = []; Morph.toInit = {bundles: [], registers: [], payloads: []}; Morph.initStyles = function() { if (!Morph.enhanced) { var eles = Array.prototype.slice.call(document.getElementsByTagName('noscript')); for (var i = 0, len = eles.length; i<len; i++) { if (eles[i].className === 'morph-core-style') { document.write(eles[i].innerText); eles[i].parentNode.removeChild(eles[i]); } } return; } for (var j = 0, jLen = Morph.styleSrc.length; j<jLen; j++) { document.write(Morph.styleSrc[j]); } Morph.styleSrc = []; };</script> <script type="text/javascript">Morph.forceCore = window.location.search.indexOf('morph-disable-enhanced=1')>-1; Morph.modernBrowser = ( 'addEventListener' in window && 'querySelector' in document && 'localStorage' in window ); Morph.isOperaMini = ( window.navigator.userAgent.indexOf('Opera Mini/')>-1 && window.navigator.userAgent.indexOf('Presto/')>-1 ); Morph.enhanced = (!Morph.forceCore && Morph.modernBrowser && !Morph.isOperaMini);</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>body{background-color:#fff;color:#121212}#orb-modules{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#orb-modules *,#orb-modules *:before,#orb-modules *:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}body,h1,h2,h3,h4,h5,h6,p,blockquote,pre,dl,dd,ol,ul,form,fieldset,legend,figure,table,th,td,caption,hr{margin:0;padding:0}u,ins{text-decoration:none}ins{border-bottom:1px solid}h1,h2,h3,h4,h5,h6{font-weight:inherit}table{border-collapse:collapse;border-spacing:0}th{font-weight:normal}abbr[title]{text-decoration:none;border-bottom:0 !important;cursor:inherit !important}a{text-decoration:none;color:inherit}button{border-radius:0;font:inherit;cursor:pointer}.sp-o-tag{display:inline;padding:2px;line-height:1;text-align:center;text-transform:uppercase}.sp-o-tag--pre-event{background-color:#dbdbdb}.sp-o-tag--post-event{background-color:#ffd230}.sp-o-tag--live{background-color:#2866f6;color:#fff}.sp-o-link{text-decoration:none}.sp-o-link:visited{color:#5a5a5a}.sp-o-link:hover,.sp-o-link:focus{color:#255aa9;text-decoration:underline}.sp-o-link-split__anchor{text-decoration:none}.sp-o-link-split__anchor:visited .sp-o-link-split__text{color:#5a5a5a}.sp-o-link-split__anchor:hover .sp-o-link-split__text,.sp-o-link-split__anchor:focus .sp-o-link-split__text{color:#255aa9;text-decoration:underline}.sp-o-link--on-dark:visited{color:#f7f7f5}.sp-o-link--on-dark:hover,.sp-o-link--on-dark:focus{color:#b6e1f9;text-decoration:underline}.sp-o-link-split__anchor:visited .sp-o-link-split__text--on-dark{color:#f7f7f5}.sp-o-link-split__anchor:hover .sp-o-link-split__text--on-dark,.sp-o-link-split__anchor:focus .sp-o-link-split__text--on-dark{color:#b6e1f9;text-decoration:underline}.sp-o-link--white:visited,.sp-o-link--white:hover,.sp-o-link--white:focus{color:#fff}.sp-o-link-split__anchor:visited .sp-o-link-split__text--white,.sp-o-link-split__anchor:hover .sp-o-link-split__text--white,.sp-o-link-split__anchor:focus .sp-o-link-split__text--white{color:#fff}.sp-u-abbr-off:after{content:attr(title)}.sp-u-abbr-off span{display:none}.sp-u-abbr-on:after{content:''}.sp-u-abbr-on span{display:inline} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-sport-core-styles/1.3.0"]=true; Morph.styleSrc.push("<style>body{background-color:#fff;color:#121212}#orb-modules{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#orb-modules *,#orb-modules *:before,#orb-modules *:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"]::-webkit-search-cancel-button,[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}body,h1,h2,h3,h4,h5,h6,p,blockquote,pre,dl,dd,ol,ul,form,fieldset,legend,figure,table,th,td,caption,hr{margin:0;padding:0}u,ins{text-decoration:none}ins{border-bottom:1px solid}h1,h2,h3,h4,h5,h6{font-weight:inherit}table{border-collapse:collapse;border-spacing:0}th{font-weight:normal}abbr[title]{text-decoration:none;border-bottom:0 !important;cursor:inherit !important}a{text-decoration:none;color:inherit}button{border-radius:0;font:inherit;cursor:pointer}.sp-o-tag{display:inline;padding:2px;line-height:1;text-align:center;text-transform:uppercase}.sp-o-tag--pre-event{background-color:#dbdbdb}.sp-o-tag--post-event{background-color:#ffd230}.sp-o-tag--live{background-color:#2866f6;color:#fff}.sp-o-link{text-decoration:none}.sp-o-link:visited{color:#5a5a5a}.sp-o-link:hover,.sp-o-link:focus{color:#255aa9;text-decoration:underline}.sp-o-link-split__anchor{text-decoration:none}.sp-o-link-split__anchor:visited .sp-o-link-split__text{color:#5a5a5a}.sp-o-link-split__anchor:hover .sp-o-link-split__text,.sp-o-link-split__anchor:focus .sp-o-link-split__text{color:#255aa9;text-decoration:underline}.sp-o-link--on-dark:visited{color:#f7f7f5}.sp-o-link--on-dark:hover,.sp-o-link--on-dark:focus{color:#b6e1f9;text-decoration:underline}.sp-o-link-split__anchor:visited .sp-o-link-split__text--on-dark{color:#f7f7f5}.sp-o-link-split__anchor:hover .sp-o-link-split__text--on-dark,.sp-o-link-split__anchor:focus .sp-o-link-split__text--on-dark{color:#b6e1f9;text-decoration:underline}.sp-o-link--white:visited,.sp-o-link--white:hover,.sp-o-link--white:focus{color:#fff}.sp-o-link-split__anchor:visited .sp-o-link-split__text--white,.sp-o-link-split__anchor:hover .sp-o-link-split__text--white,.sp-o-link-split__anchor:focus .sp-o-link-split__text--white{color:#fff}.sp-u-abbr-off:after{content:attr(title)}.sp-u-abbr-off span{display:none}.sp-u-abbr-on:after{content:''}.sp-u-abbr-on span{display:inline}@media (min-width: 15em){.sp-u-abbr-off\\@xs:after{content:attr(title)}.sp-u-abbr-off\\@xs span{display:none}.sp-u-abbr-on\\@xs:after{content:''}.sp-u-abbr-on\\@xs span{display:inline}}@media (min-width: 25em){.sp-u-abbr-off\\@s:after{content:attr(title)}.sp-u-abbr-off\\@s span{display:none}.sp-u-abbr-on\\@s:after{content:''}.sp-u-abbr-on\\@s span{display:inline}}@media (min-width: 37.5em){.sp-u-abbr-off\\@m:after{content:attr(title)}.sp-u-abbr-off\\@m span{display:none}.sp-u-abbr-on\\@m:after{content:''}.sp-u-abbr-on\\@m span{display:inline}}@media (min-width: 56.25em){.sp-u-abbr-off\\@l:after{content:attr(title)}.sp-u-abbr-off\\@l span{display:none}.sp-u-abbr-on\\@l:after{content:''}.sp-u-abbr-on\\@l span{display:inline}}@media (min-width: 63em){.sp-u-abbr-off\\@xl:after{content:attr(title)}.sp-u-abbr-off\\@xl span{display:none}.sp-u-abbr-on\\@xl:after{content:''}.sp-u-abbr-on\\@xl span{display:inline}}@media (min-width: 80em){.b-pw-1280 .sp-u-abbr-off\\@xxl:after{content:attr(title)}.b-pw-1280 .sp-u-abbr-off\\@xxl span{display:none}.b-pw-1280 .sp-u-abbr-on\\@xxl:after{content:''}.b-pw-1280 .sp-u-abbr-on\\@xxl span{display:inline}}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u8538516798072436 */</script> <script>(function(){var hasTouch="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch||window.hasOwnProperty&&(window.hasOwnProperty("ontouchstart")||navigator.msMaxTouchPoints);if(!hasTouch){document.documentElement.className+=" no-touch"}})();</script> <script type="text/javascript">var domain = "co.uk";var edition = "";var prettyEdition = edition;if (window.NewsPage && window.NewsPage.edition) {edition = window.NewsPage.edition;prettyEdition = edition === "northernireland" ? "Northern Ireland" :edition.charAt(0).toUpperCase() + edition.slice(1);}var pathEdition = edition.length > 0 ? "/?" + edition.toLowerCase() : "";var _sf_async_config = _sf_async_config || {};var _sf_startpt=(new Date()).getTime();_sf_async_config.domain = "www" + ".bbc." + domain;_sf_async_config.uid = 50924;_sf_async_config.title = window.document.title.replace("##edition##", prettyEdition);_sf_async_config.path = "bbc." + domain + "/sport/wales/53312725" + pathEdition;_sf_async_config.sections = "sport";_sf_async_config.mobileApp = false;</script> <meta name="apple-itunes-app" content="app-id=377388936, app-argument=https://www.bbc.com/sport/wales/53312725"/> <meta name="apple-mobile-web-app-title" content="BBC Sport"/> <meta name="application-name" content="BBC Sport"/> <meta name="msapplication-TileImage" content="https://m.files.bbci.co.uk/modules/bbc-morph-sport-page-app-meta/2.1.0/images/web-icons/bbc-sport-144.png"/> <meta name="theme-color" content="#ffd230"/><link rel="apple-touch-icon" href="https://web.archive.org/web/20200912182407im_/https://m.files.bbci.co.uk/modules/bbc-morph-sport-page-app-meta/2.1.0/images/web-icons/bbc-sport-180.png"/> <link rel="alternate" href="https://web.archive.org/web/20200912182407/android-app://bbc.mobile.sport.ww/https/www.bbc.com/sport/wales/53312725"/> <meta property="og:type" content="article"><meta property="og:site_name" content="BBC Sport"><meta property="fb:pages" content="1392506827668140,137920769558355,193435954068976,118450564909230,100978706649892,15286229625,21263239760,122103087870579,120655094632228,102814153147070,124715648647,153132638110668,150467675018739,1033940569952576,857410004307950,624989267645024,1471706783148263,228735667216,317278538359186,958681370814419,260967092113,168895963122035,114010462015043,8251776107,273726292719943,232455204224,1436581493296609,8585725981,8244244903,470911516262605,413132078795966,7519460786,1470145583204829"><meta property="og:url" content="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sport/wales/53312725"><link rel="alternate" hreflang="en-gb" href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sport/wales/53312725"><link rel="alternate" hreflang="en" href="https://web.archive.org/web/20200912182407/https://www.bbc.com/sport/wales/53312725"><link rel="canonical" href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sport/wales/53312725"><title>Sport Wales launches £4m grassroots support fund, plus £4.5m for other bodies - BBC Sport</title><meta name="description" content="Sport Wales launches a £4m fund for grassroots sports clubs and a further £4.5m to support bodies including the WRU and FAW."><meta property="og:title" content="Sport Wales launches £4m support fund"><meta property="og:description" content="Sport Wales launches a £4m fund for grassroots sports clubs and a further £4.5m to support bodies including the WRU and FAW."><link rel="amphtml" href="https://web.archive.org/web/20200912182407/https://www.bbc.com/sport/amp/wales/53312725"></link><meta property="og:image" content="https://web.archive.org/web/20200912182407im_/https://ichef.bbci.co.uk/live-experience/cps/624/cpsprodpb/998B/production/_112870393_gettyimages-1248261042.jpg"><meta name="robots" content="index"/> <script> window.orb_fig_blocking = true window.bbcredirection = { geo: true, device: false }; </script> <!-- Environment: live --> <!-- Orbit: 3.0.0-1110.80c990cc --> <!-- istats Web Module: 0.0.2-500.213a8af --> <!-- navid Web Module: 0.2.0-24.54a6095 --> <!-- User Activity Helper Web Module: 1.0.0-87.6ff46e8 --> <!-- cookiebanner Web Module: 0.0.2-500.213a8af --> <!-- searchbox Web Module: 3.0.0-176.b497c62 --> <!-- navpromo Web Module: 3.0.0-155.1d77c4e --> <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta property="fb:admins" content="100004154058350"><link rel="stylesheet" href="https://web.archive.org/web/20200912182407cs_/https://nav.files.bbci.co.uk/orbit/b3428ed36e7e195dbf298117ef155a8f/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/b3428ed36e7e195dbf298117ef155a8f/css/orb-ie-ltr.min.css"> <![endif]--><script type="text/javascript">/*<![CDATA[*/ window.orb = { lang: 'en', bbcBaseUrl: 'https://web.archive.org/web/20200912182407/https://www.bbc.co.uk', bbcUrlPrefix: 'https://web.archive.org/web/20200912182407/https://www.', staticHost: 'https://web.archive.org/web/20200912182407/https://nav.files.bbci.co.uk/orbit/b3428ed36e7e195dbf298117ef155a8f', figUrl: 'https://web.archive.org/web/20200912182407/https://fig.bbc.co.uk/frameworks/fig/2/fig.js', partialCookieOvenUrl: 'https://web.archive.org/web/20200912182407/https://cookie-oven.api.bbc' }; document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js'; window.orb.worldwideNavlinks = '<li class="orb-nav-homedotcom"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/">Home</a></li><li class="orb-nav-newsdotcom"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/sport">Sport</a></li><li class="orb-nav-reeldotcom"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/reel">Reel</a></li><li class="orb-nav-worklife"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/worklife">Worklife</a></li><li class="orb-nav-traveldotcom"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/travel">Travel</a></li><li class="orb-nav-future"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/future">Future</a></li><li class="orb-nav-culture"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/culture">Culture</a></li><li class="orb-nav-music"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/culture/music">Music</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/schedules/p00fzl9m">TV</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/weather">Weather</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sounds">Sounds</a></li>'; /*]]>*/</script><script>// Promise polyfill from https://github.com/bramstein/promis (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} function r(a,b){if(a.a==p){if(b==a)throw new TypeError;a.a=1;a.b=b;v(a)}}function v(a){l(function(){if(a.a!=p)for(;a.f.length;){var b=a.f.shift(),c=b[0],d=b[1],e=b[2],b=b[3];try{0==a.a?"function"==typeof c?e(c.call(void 0,a.b)):e(a.b):1==a.a&&("function"==typeof d?e(d.call(void 0,a.b)):b(a.b))}catch(h){b(h)}}})}n.prototype.g=function(a){return this.c(void 0,a)};n.prototype.c=function(a,b){var c=this;return new n(function(d,e){c.f.push([a,b,d,e]);v(c)})}; function w(a){return new n(function(b,c){function d(c){return function(d){h[c]=d;e+=1;e==a.length&&b(h)}}var e=0,h=[];0==a.length&&b(h);for(var k=0;k<a.length;k+=1)u(a[k]).c(d(k),c)})}function x(a){return new n(function(b,c){for(var d=0;d<a.length;d+=1)u(a[d]).c(b,c)})};window.Promise||(window.Promise=n,window.Promise.resolve=u,window.Promise.reject=t,window.Promise.race=x,window.Promise.all=w,window.Promise.prototype.then=n.prototype.c,window.Promise.prototype["catch"]=n.prototype.g);}()); // Polyfill Event constructor for IE ref: https://jira.dev.bbc.co.uk/browse/ORBITEN-919 // see: https://stackoverflow.com/questions/26596123 (function () { if (typeof window.CustomEvent === "function") { return false; } function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: undefined }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.Event = CustomEvent; })(); //Element.prototype.matches polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; } //NodeList.forEach Polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill if (window.NodeList && !NodeList.prototype.forEach) { NodeList.prototype.forEach = Array.prototype.forEach; } // Object.assign polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill if (typeof Object.assign != 'function') { // Must be writable: true, enumerable: false, configurable: true Object.defineProperty(Object, "assign", { value: function assign(target, varArgs) { // .length of function is 2 'use strict'; if (target == null) { // TypeError if undefined or null throw new TypeError('Cannot convert undefined or null to object'); } var to = Object(target); for (var index = 1; index < arguments.length; index++) { var nextSource = arguments[index]; if (nextSource != null) { // Skip over if undefined or null for (var nextKey in nextSource) { // Avoid bugs when hasOwnProperty is shadowed if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) { to[nextKey] = nextSource[nextKey]; } } } } return to; }, writable: true, configurable: true }); } // window.fetch polyfill https://github.com/github/fetch/blob/v0.11.0/fetch.js - chosen for IE9 compatibility if(typeof window.fetch !== 'function') { (function(self){"use strict";if(self.fetch){return}function normalizeName(name){if(typeof name!=="string"){name=String(name)}if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)){throw new TypeError("Invalid character in header field name")}return name.toLowerCase()}function normalizeValue(value){if(typeof value!=="string"){value=String(value)}return value}function Headers(headers){this.map={};if(headers instanceof Headers){headers.forEach(function(value,name){this.append(name,value)},this)}else if(headers){Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var list=this.map[name];if(!list){list=[];this.map[name]=list}list.push(value)};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null};Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]};Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};function consumed(body){if(body.bodyUsed){return Promise.reject(new TypeError("Already read"))}body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader;reader.readAsArrayBuffer(blob);return fileReaderReady(reader)}function readBlobAsText(blob){var reader=new FileReader;reader.readAsText(blob);return fileReaderReady(reader)}var support={blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(typeof body==="string"){this._bodyText=body}else if(support.blob&&Blob.prototype.isPrototypeOf(body)){this._bodyBlob=body}else if(support.formData&&FormData.prototype.isPrototypeOf(body)){this._bodyFormData=body}else if(!body){this._bodyText=""}else if(support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(body)){}else{throw new Error("unsupported BodyInit type")}if(!this.headers.get("content-type")){if(typeof body==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}}};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){return this.blob().then(readBlobAsArrayBuffer)};this.text=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return readBlobAsText(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}}}else{this.text=function(){var rejected=consumed(this);return rejected?rejected:Promise.resolve(this._bodyText)}}if(support.formData){this.formData=function(){return this.text().then(decode)}}this.json=function(){return this.text().then(JSON.parse)};return this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed){throw new TypeError("Already read")}this.url=input.url;this.credentials=input.credentials;if(!options.headers){this.headers=new Headers(input.headers)}this.method=input.method;this.mode=input.mode;if(!body){body=input._bodyInit;input.bodyUsed=true}}else{this.url=input}this.credentials=options.credentials||this.credentials||"omit";if(options.headers||!this.headers){this.headers=new Headers(options.headers)}this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&body){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(body)}Request.prototype.clone=function(){return new Request(this)};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function headers(xhr){var head=new Headers;var pairs=xhr.getAllResponseHeaders().trim().split("\n");pairs.forEach(function(header){var split=header.trim().split(":");var key=split.shift().trim();var value=split.join(":").trim();head.append(key,value)});return head}Body.call(Request.prototype);function Response(bodyInit,options){if(!options){options={}}this.type="default";this.status=options.status;this.ok=this.status>=200&&this.status<300;this.statusText=options.statusText;this.headers=options.headers instanceof Headers?options.headers:new Headers(options.headers);this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1){throw new RangeError("Invalid status code")}return new Response(null,{status:status,headers:{location:url}})};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request;if(Request.prototype.isPrototypeOf(input)&&!init){request=input}else{request=new Request(input,init)}var xhr=new XMLHttpRequest;function responseURL(){if("responseURL"in xhr){return xhr.responseURL}if(/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())){return xhr.getResponseHeader("X-Request-URL")}return}xhr.onload=function(){var status=xhr.status===1223?204:xhr.status;if(status<100||status>599){reject(new TypeError("Network request failed"));return}var options={status:status,statusText:xhr.statusText,headers:headers(xhr),url:responseURL()};var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.open(request.method,request.url,true);if(request.credentials==="include"){xhr.withCredentials=true}if("responseType"in xhr&&support.blob){xhr.responseType="blob"}request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});xhr.send(typeof request._bodyInit==="undefined"?null:request._bodyInit)})};self.fetch.polyfill=true})(typeof self!=="undefined"?self:this); } if (typeof window.CustomEvent !== 'function') { function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: null }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.CustomEvent = CustomEvent; } (function() { var language = 'en'; language = 'en'; var modal = false; var istatsLabels = {name: 'sport.wales.story.53312725.page' || undefined}; function getMetaValue(propertyName) { var metaTag = document.querySelector( "meta[property='" + propertyName + "'], " + "meta[name='" + propertyName + "']"); if (metaTag) { return metaTag.getAttribute("content"); } else { throw new Error('No meta tag called: ' + propertyName) } } function generateCountername() { if (window.location.protocol === 'file:') { return 'local.file'; } var pathName = window.location.pathname .replace(/\/$/, "") .replace(/^\//, "") .replace(/\//g, '.'); return pathName + '.page'; } var additionalPageProperties = {}; additionalPageProperties['app_type'] = 'responsive'; additionalPageProperties['app_name'] = 'sport-gnl-web'; additionalPageProperties['custom_var_9'] = '0'; additionalPageProperties['custom_var_6'] = 'sport_wales'; additionalPageProperties['custom_var_7'] = 'News'; additionalPageProperties['custom_var_1'] = '2020-07-07T05:23:29+00:00'; additionalPageProperties['custom_var_2'] = '2020-07-07T05:36:21+00:00'; var page = { name: 'sport.wales.story.53312725.page' || istatsLabels.name || generateCountername(), destination: 'SPORT_GNL' || null, producer: 'SPORT_WALES' || null, section: 'other' || null, site: '' || istatsLabels.bbc_site || istatsLabels.app_name || istatsLabels.prod_name || null, contentId: 'urn:bbc:cps:fb05910e-a2b0-4e3b-a363-6a572ec7debf' || null, contentType: 'article' || null, edition: '' || null, additionalProperties: additionalPageProperties }; function updatePageData(newData) { page = Object.assign(page, newData); } document.addEventListener('bbc-page-reset', function(event) { if (event.detail && event.detail.page) { updatePageData(event.detail.page); } document.dispatchEvent(new Event('bbc-page-updated')); }); window.bbcpage = { loadModule: function(deps) { return new Promise(function (resolve, reject) { window.require(deps, function () { resolve.apply(this, arguments); }, function (error) { reject(error); }); }) }, loadCSS: function (url, timeout) { return window.bbcpage.loadModule(['orb/lib/_$']) .then(function($) { return new Promise(function(resolve, reject) { var stylesheet = loadCSS(url); $.onloadCSS(stylesheet, function() { resolve(); }); if (timeout) { setTimeout(function () { reject(); }, timeout); } }); }); }, isModal: function () { return Promise.resolve(modal); }, getLanguage: function () { return new Promise(function(resolve, reject) { resolve(language); }); }, trackRegion: function (region, labels) { return window.bbcpage.loadModule(['istats-1']) .then(function(istats) { var trackLabels = { region: region }; for (var label in labels) { trackLabels[label] = labels[label]; } var linkType = labels.linkType || 'internal'; istats.track(linkType, trackLabels); }); }, getName: function() { return Promise.resolve(page.name); }, getDestination: function() { return Promise.resolve(page.destination); }, getProducer: function() { return Promise.resolve(page.producer); }, getSite: function() { return Promise.resolve(page.site); }, getSection: function() { return Promise.resolve(page.section); }, getContentType: function() { return Promise.resolve(page.contentType); }, getContentId: function() { return Promise.resolve(page.contentId); }, getEdition: function() { return new Promise(function (resolve, reject) { if (page.edition) { resolve(page.edition); return; } try { resolve(getMetaValue('x-audience').toLowerCase()); } catch (err){ // This property is related to Chartbeat; see http://support.chartbeat.com/docs/ if (window._sf_async_config) { resolve(window._sf_async_config.region || null); } } resolve(null); }); }, getReferrer: function() { return Promise.resolve(window.orb && window.orb.referrer !== null && window.orb.referrer !== undefined ? window.orb.referrer : document.referrer); }, getAdditionalProperties: function() { return Promise.resolve(page.additionalProperties); } }; var USERINFO_PREFIX = "www." || "www."; function initUserCache(orbitUser) { var availableAttr = [ 'X-Country', 'X-Ip_is_advertise_combined', 'X-Ip_is_uk_combined' ]; var userCache = availableAttr.reduce(function(user, curr, i) { if (!orbitUser[curr]) { return user; } var res = Object.assign({}, user); res[curr] = orbitUser[curr]; return res; }, {}); if (Object.keys(userCache).length !== availableAttr.length) { userCache._partial = true; } return userCache; } var user = initUserCache({ }); function checkStatus(response) { if (response.status >= 200 && response.status < 300) { return response; } else { var error = new Error(response.statusText); error.response = response; throw error; } } function parseJSON(response) { return response.json(); } var supportsCors = function() { return typeof XMLHttpRequest !== 'undefined' && 'withCredentials' in new XMLHttpRequest(); }; var getUserInfoFallback = function() { return window.bbcpage.loadModule(['orb/fig']) .then(function(orbFig) { return new Promise(function(resolve, reject) { orbFig.load(function(fig) { var getCountryFallback = function() { if (fig.geo.isUK()) { return 'GB'; } else if (fig.geo.isEU()) { return 'EU'; } }; resolve({ 'X-Country': user.country || getCountryFallback(), 'X-Ip_is_uk_combined': fig().uk ? 'yes' : 'no', 'X-Ip_is_advertise_combined': fig().ad ? 'yes' : 'no' }); }, function () { reject('Error determining country. Timeout?'); }); }); }); }; var _userInfoRequest; var getUserInfo = function() { var host = window.location.host.toString().match(/bbc\.com$/) ? 'bbc.com' : 'bbc.co.uk'; var userInfoUrl = "https://" + USERINFO_PREFIX + host + '/userinfo'; if (!user._partial) { return Promise.resolve(user); } if (!_userInfoRequest) { if (typeof window.fetch === 'undefined' || !supportsCors()) { _userInfoRequest = getUserInfoFallback(); } else { _userInfoRequest = window.fetch(userInfoUrl, { credentials: 'same-origin' }) .then(checkStatus) .then(parseJSON) .then(function(userInfo) { user = userInfo; return user; }); } } return _userInfoRequest; }; var USER_PROFILE_URL = "https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/userprofile";; var _helloRequest; var getSegmentations = function() { if (user.ageBand) { return Promise.resolve(user); } if (!_helloRequest) { if (typeof window.fetch === 'undefined' || !supportsCors()) { return Promise.resolve(user); } else { _helloRequest = window.bbcpage.loadModule(['idcta-v2/idcta-1']).then(function(idcta) { return idcta.initiateTokenRefresh().then(function() { return window.fetch(USER_PROFILE_URL, { credentials: 'include' }) .then(checkStatus) .then(parseJSON) .then(function(profileInfo) { Object.assign(user, profileInfo); return user; }); }); }); } } return _helloRequest; }; window.bbcuser = { getHashedId: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return idcta.getCookieInstance().getHidFromCookie(); }); }, getAgeBand: function() { if (user['X-Age-Band']) { return Promise.resolve(user['X-Age-Band']); } return bbcuser.isSignedIn().then(function(isSignedIn) { if (isSignedIn) { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { user['X-Age-Band'] = idcta.getUserDetailsFromCookie().ab; if (user['X-Age-Band'] === 'u13') { user['X-Age-Band'] = '0-12'; return user['X-Age-Band']; } else if (user['X-Age-Band'] === 'u16') { user['X-Age-Band'] = '13-15'; return user['X-Age-Band']; } else if (user['X-Age-Band'] === 'u18') { user['X-Age-Band'] = '16-17'; return user['X-Age-Band']; } else { user['X-Age-Band'] = undefined; return getSegmentations().then(function(userInfo) { user['X-Age-Band'] = userInfo['X-Age-Band']; return user['X-Age-Band'] || undefined; }).catch(function(error) { return user['X-Age-Band'] || undefined; }); } }); } else { return undefined; } }); }, getCountry: function() { if (user['X-Country']) { return Promise.resolve(user['X-Country']); } return getUserInfo().then(function(userInfo) { return userInfo['X-Country'] || 'GB'; }); }, isUKCombined: function() { return getUserInfo().then(function(userInfo) { if (!userInfo['X-Ip_is_uk_combined']) { throw new Error('missing isUKCombined from userinfo response'); } return userInfo['X-Ip_is_uk_combined'].toLowerCase() === 'yes'; }) }, canSeeAdverts: function() { return getUserInfo().then(function(userInfo) { if (!userInfo['X-Ip_is_advertise_combined']) { throw new Error('missing canSeeAdverts from userinfo response'); } return userInfo['X-Ip_is_advertise_combined'].toLowerCase() === "yes"; }); }, isSignedIn: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return (idcta && idcta.getCookieInstance().hasCookie()); }); }, allowsPerformanceCookies: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('performance'); }); }, allowsFunctionalCookies: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('personalisation'); }); }, getCookieValue: function(cookieName) { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return bbccookies.get(cookieName); }); }, resetCookiesPreferences: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { bbccookies.setDefaultCookiesSingleDomain(); }); }, hasCookiesEnabled: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled(); }); }, hasSeenCookieBanner: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function (bbccookies) { return !!bbccookies.isCookiePolicySet(); }); }, logEvent: function (verb, noun, extraLabels) { return window.bbcuser.hasCookiesEnabled() .then(function(allowsCookies) { if (allowsCookies) { return window.bbcpage.loadModule(['istats-1']) .then(function(istats) { istats.log(verb, noun, extraLabels); }); } else { throw new Error('User cannot be tracked due to cookies preferences.'); } }); }, }; }());</script><script src="https://web.archive.org/web/20200912182407js_/https://nav.files.bbci.co.uk/orbit/b3428ed36e7e195dbf298117ef155a8f/js/require.min.js"></script> <script src="https://web.archive.org/web/20200912182407js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-500.213a8af/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">if (window.define !== undefined) { define('orb/cookies', function() { return window.bbccookies; }); }</script> <script src="https://web.archive.org/web/20200912182407js_/https://nav.files.bbci.co.uk/orbit/b3428ed36e7e195dbf298117ef155a8f/js/api.min.js"></script> <script type="text/javascript">window.bbcFlagpoles_istats="ON",require.config({paths:{"istats-1":"https://web.archive.org/web/20200912182407/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-500.213a8af/istats/istats-1"}}),require(["istats-1","orb/cookies"],function(a,t){if(t.isAllowed("s1")){var e=(o=document.location.href.match(/^(?:https|http):\/\/\w*\.(?:(int|test|stage|live|)\.)?bbc\.(?:co\.uk|com)/))?void 0===o[1]||""===o[1]||"live"===o[1]?"//web.archive.org/web/20200912182407/https://sa.bbc.co.uk/bbc/bbc/s":"//web.archive.org/web/20200912182407/https://sa.bbc.co.uk/bbc/"+o[1]+"/s":"//web.archive.org/web/20200912182407/https://sa.bbc.co.uk/bbc/test/s";a.addCollector({name:"default",url:e,separator:"&"});var s="sport.wales.story.53312725.page";a.setCountername(s),window.istats_countername&&a.setCountername(window.istats_countername),a.addLabels("ml_name=webmodule&ml_version=0.0.2-500.213a8af&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=default&language=en")}var o});</script><link rel="stylesheet" href="https://web.archive.org/web/20200912182407cs_/https://static.files.bbci.co.uk/account/id-cta/1.49.0/style/id-cta.css"><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.49.0/style/ie8.css" rel="stylesheet"/> <![endif]--><script type="text/javascript">(function() {if (!window.require) {throw new Error('idcta: could not find require module');}if (typeof(map) == 'undefined') {var map = {};}if (!!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect) {document.documentElement.className += ' id-svg';}var ptrt = new RegExp("[\\?&]ptrt=([^&]*)").exec(document.location.href);var ENDPOINT_URL = 'https://web.archive.org/web/20200912182407/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&ptrt=' + encodeURIComponent((ptrt ? ptrt[1] : document.location.href))).replace(/\&amp;/g, '&');var ENDPOINT_TRANSLATIONS = '/idcta/translations?callback=';function hasPromise() {var P = window.Promise;var promiseToString = null;if (P) {try {promiseToString = Object.prototype.toString.call(P.resolve());} catch(e) {/*silently ignored*/}}return (promiseToString === '[object Promise]' && !P.cast);}if (hasPromise()) {define('idcta/es6-promise', function() {return window.Promise;});define('idcta-v2/es6-promise', function() {return window.Promise;});}map['idcta-v2'] = 'https://web.archive.org/web/20200912182407/https://static.files.bbci.co.uk/account/id-cta/1.49.0/modules/idcta-v2';map['idcta-v2/config'] = ENDPOINT_URL + ENDPOINT_CONFIG;map['idcta-v2/translations'] = ENDPOINT_URL + ENDPOINT_TRANSLATIONS;map['idcta'] = 'https://web.archive.org/web/20200912182407/https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20200912182407/https://static.files.bbci.co.uk/account/id-cta/1.49.0/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = 'https://web.archive.org/web/20200912182407/https://cdn.optimizely.com/public/4621041136/s/idcta_live';const idctaShim = {deps: ['idcta-v2/idcta-1'],};require({shim: {'idcta-v2/statusbar': idctaShim,'idcta-v2/id-config': idctaShim},map: {'*': {'idcta/idcta-1': 'idcta-v2/idcta-1','idcta': 'idcta-v2',}},paths: map});window.idctaBaseUrl = ENDPOINT_URL;define('idcta/config', ['idcta-v2/config'], function(data) {return data;});define('idcta/translations', ['idcta-v2/translations'], function(data) {return data;});})();</script> <!-- BBCDOTCOM head --><style type="text/css">.bbccom_display_none{display:none;}</style><script type="text/javascript">/*<![CDATA[*/ var bbcdotcomConfig, googletag = googletag || {}; googletag.cmd = googletag.cmd || [], bbcdotcomScripts = [], tp = window.tp || []; var bbcdotcom = false; (function(){ if(typeof require !== 'undefined') { require({ paths:{ "bbcdotcom":"https://web.archive.org/web/20200912182407/https://static.bbc.co.uk/bbcdotcom/4.7.1147/script" } }); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ var bbcdotcom = { adverts: { keyValues: { set: function() {} } }, advert: { write: function () {}, show: function () {}, isActive: function () { return false; }, layout: function() { return { reset: function() {} } } }, config: { init: function() {}, isActive: function() {}, setSections: function() {}, isAdsEnabled: function() {}, setAdsEnabled: function() {}, isAnalyticsEnabled: function() {}, setAnalyticsEnabled: function() {}, setAssetPrefix: function() {}, setFlagpoles: function() {}, setVersion: function () {}, setJsPrefix: function() {}, setSwfPrefix: function() {}, setCssPrefix: function() {}, setConfig: function() {}, getAssetPrefix: function() {}, getJsPrefix: function () {}, getSwfPrefix: function () {}, getCssPrefix: function () {}, isOptimizelyEnabled: function() {}, isThirdPartyDisabled: function() {}, isThirdPartyDisabledEU: function() {}, setEU: function() {} }, survey: { init: function(){ return false; } }, data: {}, init: function() {}, objects: function(str) { return false; }, locale: { set: function() {}, get: function() {} }, setAdKeyValue: function() {}, utils: { addEvent: function() {}, addHtmlTagClass: function() {}, log: function () {} }, addLoadEvent: function() {} }; /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb !== 'undefined' && typeof orb.fig === 'function') { if (orb.fig('ad') && orb.fig('uk') == 0) { bbcdotcom.data = { ads: (orb.fig('ad') ? 1 : 0), stats: (orb.fig('uk') == 0 ? 1 : 0), statsProvider: orb.fig('ap') }; } } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200912182407/https://www.bbc.com/wwscripts/data">\x3C/script>'); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb === 'undefined' || typeof orb.fig !== 'function') { bbcdotcom.data = { ads: bbcdotcom.data.a, stats: bbcdotcom.data.b, statsProvider: bbcdotcom.data.c }; } if (bbcdotcom.data.ads == 1) { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200912182407/https://www.bbc.com/wwscripts/flag">\x3C/script>'); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (window.bbcdotcom && (typeof bbcdotcom.flag == 'undefined' || (typeof bbcdotcom.data.ads !== 'undefined' && bbcdotcom.flag.a != 1))) { bbcdotcom.data.ads = 0; } if (/[?|&]ads/.test(window.location.href) || /(^|; )ads=on; /.test(document.cookie) || /; ads=on(; |$)/.test(document.cookie)) { bbcdotcom.data.ads = 1; bbcdotcom.data.stats = 1; } if (window.bbcdotcom && (bbcdotcom.data.ads == 1 || bbcdotcom.data.stats == 1)) { bbcdotcom.assetPrefix = "https://web.archive.org/web/20200912182407/https://static.bbc.co.uk/bbcdotcom/4.7.1147/"; if (/(sandbox|int)(.dev)*.bbc.co*/.test(window.location.href) || /[?|&]ads-debug/.test(window.location.href) || document.cookie.indexOf('ads-debug=') !== -1) { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200912182407/https://static.bbc.co.uk/bbcdotcom/4.7.1147/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200912182407/https://static.bbc.co.uk/bbcdotcom/4.7.1147/script/dist/bbcdotcom.js">\x3C/script>'); } } })(); /*]]>*/</script><script type="text/javascript">if (window.bbcdotcom && bbcdotcom.data.stats == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200912182407/https://secure-us.imrworldwide.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200912182407/https://me-cdn.effectivemeasure.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200912182407/https://ssc.api.bbc.com/">'); } if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200912182407/https://www.googletagservices.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200912182407/https://bbc.gscontxt.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200912182407/https://tags.crwdcntrl.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200912182407/https://ad.crwdcntrl.net/">'); }</script><script type="text/javascript">if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<meta name="google-site-verification" content="auTeTTwSt_KBY_4iDoR00Lwb7-qzx1IgzJy6ztaWgEI" />'); }</script><script type="text/javascript">/*<![CDATA[*/ (function(){ var GDPR_COUNTRIES = ['AT', 'BE', 'BG', 'HR', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'NL', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'IS', 'LI', 'NO', 'CH']; if (window.bbcdotcom && (bbcdotcom.data.ads == 1 || bbcdotcom.data.stats == 1)) { bbcdotcomConfig = {"adFormat":"standard","adKeyword":"","adMode":"smart","adsEnabled":true,"appAnalyticsSections":"","asyncEnabled":true,"disableInitialLoad":false,"advertInfoPageUrl":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/www.bbc.com\/privacy\/cookies\/international\/","advertisementText":"Advertisement","analyticsEnabled":true,"thirdPartyDisabled":false,"sherlockEnabled":false,"permutiveEnabled":false,"appName":"","assetPrefix":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/static.bbc.co.uk\/bbcdotcom\/4.7.1147\/","customAdParams":[],"customStatsParams":[],"headline":"","id":"","inAssociationWithText":"in association with","keywords":"","language":"","orbTransitional":false,"optimizelyEnabled":true,"palEnv":"live","productName":"","sections":[],"comScoreEnabled":true,"comscoreSite":"bbc","comscoreID":"19293874","comscorePageName":"","slots":"","sponsoredByText":"is sponsored by","adsByGoogleText":"Ads by Google","summary":"","type":"","features":{"testfeature":{"name":"testfeature","envs":["sandbox","int","test"],"on":true,"options":{},"override":null},"lxadverts":{"name":"lxadverts","envs":[],"on":true,"options":{},"override":null}},"staticBase":"\/bbcdotcom","staticHost":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/static.bbc.co.uk","staticVersion":"4.7.1147","staticPrefix":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/static.bbc.co.uk\/bbcdotcom\/4.7.1147","dataHttp":"tps.bbc.com","dataHttps":"www.bbc.com","flagHttp":"www.bbc.co.uk","flagHttps":"www.bbc.co.uk","analyticsHttp":"sa.bbc.com","analyticsHttps":"ssa.bbc.com"}; bbcdotcom.config.init(bbcdotcomConfig, bbcdotcom.data, window.location, window.document); bbcdotcom.config.setFlagpoles(bbcdotcom.flag || {}); bbcdotcom.config.setAssetPrefix("https://web.archive.org/web/20200912182407/https://static.bbc.co.uk/bbcdotcom/4.7.1147/"); bbcdotcom.config.setVersion("4.7.1147"); if (window.bbcuser && window.bbcuser.getCountry && typeof(window.bbcuser.getCountry) === 'function') { window.bbcuser.getCountry().then(function(countryCode) { var isEU = countryCode ? GDPR_COUNTRIES.indexOf(countryCode.toUpperCase()) !== -1 : false; bbcdotcom.config.setEU(isEU); }); } else if (window.orb && window.orb.fig && typeof(window.orb.fig) === 'function') { bbcdotcom.config.setEU(window.orb.fig('eu')); } document.write('<!--[if IE 7]><script type="text/javascript">bbcdotcom.config.setIE7(true);\x3C/script><![endif]-->'); document.write('<!--[if IE 8]><script type="text/javascript">bbcdotcom.config.setIE8(true);\x3C/script><![endif]-->'); document.write('<!--[if IE 9]><script type="text/javascript">bbcdotcom.config.setIE9(true);\x3C/script><![endif]-->'); if (/[?|&]ex-dp/.test(window.location.href) || document.cookie.indexOf('ex-dp=') !== -1) { bbcdotcom.utils.addHtmlTagClass('bbcdotcom-ex-dp'); } } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isGrapeshotEnabled && bbcdotcom.config.isGrapeshotEnabled() && bbcdotcom.config.isWorldService && !bbcdotcom.config.isWorldService() ) { var gs_channels="DEFAULT"; (function () { var gsurl = window.location.href.split("?")[0]; bbcdotcomScripts.push({src:'https://web.archive.org/web/20200912182407/https://bbc.gscontxt.net/?url='+encodeURIComponent(gsurl)}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.config && bbcdotcom.config.isLotameActive && bbcdotcom.config.isLotameActive()&& bbcdotcom.config.isLotameEnabled && bbcdotcom.config.isLotameEnabled()){ (function () { var clientId, lotameUrl, lotameAudienceUrl; clientId = (bbcdotcom.config.isWorldService && bbcdotcom.config.isWorldService()) ? '10826' : '10816'; lotameUrl = 'https://web.archive.org/web/20200912182407/https://tags.crwdcntrl.net/c/'+clientId+'/cc.js?ns='+clientId; lotameAudienceUrl = 'https://web.archive.org/web/20200912182407/https://ad.crwdcntrl.net/5/c=10815/pe=y/var=ccauds'; bbcdotcomScripts.push({src:lotameUrl,id:"LOTCC"+clientId}); bbcdotcomScripts.push({src:lotameAudienceUrl}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.config && bbcdotcom.config.isPermutiveEnabled && bbcdotcom.config.isPermutiveEnabled() && bbcdotcom.config.isWorldService && !bbcdotcom.config.isWorldService()){ (function () { !function(n,e,o,r,i){if(!e){e=e||{},window.permutive=e,e.q=[],e.config=i||{},e.config.projectId=o,e.config.apiKey=r,e.config.environment=e.config.environment||"production";for(var t=["addon","identify","track","trigger","query","segment","segments","ready","on","once","user","consent"],c=0;c<t.length;c++){var f=t[c];e[f]=function(n){return function(){var o=Array.prototype.slice.call(arguments,0);e.q.push({functionName:n,arguments:o})}}(f)}}}(document,window.permutive,"e488cdb0-e7cb-4d91-9648-60d437d8e491","1bb84885-9325-4fef-adda-a208032b2715",{"consentRequired":true}); bbcdotcomScripts.push({src:'https://web.archive.org/web/20200912182407/https://cdn.permutive.com/e488cdb0-e7cb-4d91-9648-60d437d8e491-web.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /** * ASYNC waits to make any gpt requests until the bottom of the page */ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isAsync && bbcdotcom.config.isAsync() && bbcdotcom.config.isAdsEnabled && bbcdotcom.config.isAdsEnabled() ) { (function () { bbcdotcomScripts.push({src:'https://web.archive.org/web/20200912182407/https://securepubads.g.doubleclick.net/tag/js/gpt.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /* Load Lotame, Grapeshot and GPT without blocking rendering but executing in order */ if ( window.bbcdotcom && bbcdotcom.config && bbcdotcomScripts.length > 0 ) { (function () { bbcdotcom.checkThirdPartyFirst(function(){ if (!bbcdotcom.config.isThirdPartyDisabledEU()){ bbcdotcomScripts.forEach(function(item) { var script = document.createElement('script'); script.async = false; if(item.id) script.id = item.id; script.src = item.src; document.head.appendChild(script); }); } }); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script> <script type="text/javascript">// Globally available search context window.SEARCHBOX={"variant":"default","locale":"en","feature":"legacy","navSearchboxStaticPrefix":"https://web.archive.org/web/20200912182407/https://nav.files.bbci.co.uk/searchbox/b4366f4bedefb958ba44ef54c4832687/","searchboxAppStaticPrefix":"https://web.archive.org/web/20200912182407/https://nav.files.bbci.co.uk/searchbox/b4366f4bedefb958ba44ef54c4832687/drawer","searchFormHtml":"<div tabindex=\"-1\"><div><section class=\"se-searchbox-panel\"><div class=\"se-g-wrap\"><div class=\"se-g-layout\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\">search</div><div class=\"se-g-layout__item se-searchbox\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\"><span class=\"se-sr-only\">Search Term</span><div><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxLength=\"100\" autoComplete=\"off\" autoCorrect=\"off\" autoCapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\"/></div></label><input type=\"hidden\" name=\"scope\" value=\"\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"search-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::1&quot;}\" data-bbc-personalisation=\"{&quot;QRY&quot;:&quot;&quot;}\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"clear-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::2&quot;}\" data-bbc-personalisation=\"{&quot;QRY&quot;:&quot;&quot;}\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\"><section class=\"se-g-wrap\"></section></div></div></div>","searchScopePlaceholder":"","searchScopeParam":"","searchScopeTemplate":"","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""}; window.SEARCHBOX.suppress = false; window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://web.archive.org/web/20200912182407cs_/https://nav.files.bbci.co.uk/searchbox/b4366f4bedefb958ba44ef54c4832687/css/main.css"><!--[if IE 8]> <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/b4366f4bedefb958ba44ef54c4832687/script/html5shiv.min.js"></script> <script type="text/javascript">window['searchboxIEVersion'] = 8;</script> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/b4366f4bedefb958ba44ef54c4832687/css/ie8.css"> <![endif]--><!--[if IE 9]> <script type="text/javascript">window['searchboxIEVersion'] = 9;</script> <![endif]--> <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://web.archive.org/web/20200912182407/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.22.0",window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,n){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=n}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var n=function(r,d){window.__reverb.__reverbLoadedPromise.then(function(e){if(r&&r.detail){var n=r.detail.label,t=r.detail.type,i=r.detail.elem,o=r.detail.originalEvent;r.detail.isClick&&(d=r.detail.isClick),e.userActionEvent(t,n,r.detail,i,o,d)}},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){n(e,!1)}),document.addEventListener("bbc-user-click",function(e){n(e,!0)}),document.addEventListener("bbc-page-updated",function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})})}();</script><script type="text/javascript" src="https://web.archive.org/web/20200912182407js_/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.5.1.js" async=""></script><script type="text/javascript">window.__detectview={clickManagementEnabled:false};</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200912182407cs_/https://m.files.bbci.co.uk/modules/bbc-morph-grandstand/5.4.3/latin/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-grandstand/5.4.3/latin"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-grandstand/5.4.3/latin/enhanced.css\"/>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.sp-c-global-header{background-color:#ffd230}.sp-c-global-header__inner{position:relative}.sp-c-global-header__logo{display:inline-block;margin-top:12px;margin-right:8px;margin-bottom:12px;font-size:34px;font-size:2.125rem;font-weight:bold;text-transform:uppercase}.sp-c-global-header__all-sports{position:absolute;top:50%;right:0;margin:0;margin-top:-16px;padding:8px;font-size:16px;font-size:1rem;line-height:16px;line-height:1rem;cursor:pointer;border:1px solid rgba(18,18,18,0.2);background:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.no-touch .sp-c-global-header__all-sports{font-size:15px;font-size:0.9375rem;line-height:15px;line-height:0.9375rem}.sp-c-global-header__all-sports svg{height:13px !important;width:16px !important}.sp-c-global-header__all-sports--selected{border-bottom:16px solid #121212;background:#121212;color:#fff}.sp-c-sport-navigation{background-color:#ffd230}@media (max-width: 37.49em){.sp-c-sport-navigation--secondary .sport-app-nav--secondary{margin-left:0px !important}}.sp-c-sport-navigation--primary{display:none}.sp-c-sport-navigation--secondary{background-color:#121212}.sp-c-sport-navigation__wrapper{position:relative;overflow:hidden}.sp-c-sport-navigation__inner{white-space:nowrap;overflow-x:scroll;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-ms-overflow-style:none;margin-left:-8px !important;margin-right:-8px !important;padding-left:8px !important}.sp-c-sport-navigation__inner::-webkit-scrollbar{display:none}.no-touch .sp-c-sport-navigation__inner{overflow-x:hidden}.sp-c-sport-navigation--primary .sp-c-sport-navigation__inner{margin-right:112px !important;margin-left:-24px !important}.sp-c-sport-navigation__item{overflow:hidden;white-space:nowrap;font-size:18px;font-size:1.125rem;line-height:18px;line-height:1.125rem}.sp-c-sport-navigation__item:first-child .sp-c-sport-navigation__link:after{width:0}.no-touch .sp-c-sport-navigation__item{font-size:15px;font-size:0.9375rem;line-height:15px;line-height:0.9375rem}.sp-c-sport-navigation__item--primary-selected{background-color:#121212}.sp-c-sport-navigation__item--primary-selected .sp-c-sport-navigation__link{color:#fff}.sp-c-sport-navigation__item--primary-selected .sp-c-sport-navigation__link:after{width:0}.sp-c-sport-navigation__item--primary-selected+.sp-c-sport-navigation__item .sp-c-sport-navigation__link:after{width:0}.sp-c-sport-navigation__item--primary-first-selected .sp-c-sport-navigation__link:before{position:absolute;bottom:0;left:0;content:'';width:100%;height:4px;background-color:#121212}.sp-c-sport-navigation__item--secondary-selected{position:relative}.sp-c-sport-navigation__item--secondary-selected:before{position:absolute;bottom:0;left:0;content:'';width:100%;height:4px;background-color:#ffd230}.sp-c-sport-navigation__link{position:relative;display:block;padding:12px 8px;font-size:18px;font-size:1.125rem;line-height:18px;line-height:1.125rem;color:#121212;text-decoration:none}.no-touch .sp-c-sport-navigation__link{font-size:15px;font-size:0.9375rem;line-height:15px;line-height:0.9375rem}.sp-c-sport-navigation__link:after{position:absolute;left:0;content:'';width:1px;height:16px;background-color:rgba(18,18,18,0.2)}.no-touch .sp-c-sport-navigation__link:hover,.no-touch .sp-c-sport-navigation__link:focus{cursor:pointer}.no-touch .sp-c-sport-navigation__link:hover:before,.no-touch .sp-c-sport-navigation__link:focus:before{position:absolute;bottom:0;left:0;content:'';width:100%;height:4px;background-color:#121212}.sp-c-sport-navigation__link--secondary{color:#fff}.sp-c-sport-navigation__link--secondary:after{background-color:rgba(255,255,255,0.3)}.sp-c-sport-navigation__inner :nth-child(2) .sp-c-sport-navigation__link--secondary:after{width:0}.no-touch .sp-c-sport-navigation__link--secondary:hover:before,.no-touch .sp-c-sport-navigation__link--secondary:focus:before{background-color:#ffd230}.sp-c-sport-navigation__link--crumb{padding-right:0;padding-left:0}.sp-c-sport-navigation__link--crumb svg{height:12px !important;width:12px !important}.sp-c-sport-navigation__item--all{position:absolute;top:0;right:8px;border-left:1px solid rgba(18,18,18,0.2)}.sp-c-sport-navigation__item--all .sp-c-sport-navigation__link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;margin:0}.sp-c-sport-navigation__item--all .sp-c-sport-navigation__link:after{display:none}.sp-c-sport-navigation__item--all svg{height:13px !important;width:16px !important}.sp-c-sport-navigation__item--all-selected{background-color:#121212}.sp-c-sport-navigation__item--all-selected .sp-c-sport-navigation__link{color:#fff}.sp-c-sport-flyout{display:none} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-sport-navigation/6.3.7"]=true; Morph.styleSrc.push("<style>.sp-c-global-header{background-color:#ffd230}@media (min-width: 37.5em){.sp-c-global-header{border-bottom:1px solid rgba(18,18,18,0.2)}}.sp-c-global-header__inner{position:relative}.sp-c-global-header__logo{display:inline-block;margin-top:12px;margin-right:8px;margin-bottom:12px;font-size:34px;font-size:2.125rem;font-weight:bold;text-transform:uppercase}@media (min-width: 37.5em){.sp-c-global-header__logo{font-size:38px;font-size:2.375rem}}.sp-c-global-header__all-sports{position:absolute;top:50%;right:0;margin:0;margin-top:-16px;padding:8px;font-size:16px;font-size:1rem;line-height:16px;line-height:1rem;cursor:pointer;border:1px solid rgba(18,18,18,0.2);background:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.no-touch .sp-c-global-header__all-sports{font-size:15px;font-size:0.9375rem;line-height:15px;line-height:0.9375rem}.sp-c-global-header__all-sports svg{height:13px !important;width:16px !important}.sp-c-global-header__all-sports--selected{border-bottom:16px solid #121212;background:#121212;color:#fff}.sp-c-sport-navigation{background-color:#ffd230}@media (max-width: 37.49em){.sp-c-sport-navigation--secondary .sport-app-nav--secondary{margin-left:0px !important}}.sp-c-sport-navigation--primary{display:none}@media (min-width: 37.5em){.sp-c-sport-navigation--primary{display:block}}.sp-c-sport-navigation--secondary{background-color:#121212}.is-app .sp-c-sport-navigation--secondary{position:fixed;top:0;left:0;width:100%;z-index:9999999999}.sp-c-sport-navigation__wrapper{position:relative;overflow:hidden}.sp-c-sport-navigation__inner{white-space:nowrap;overflow-x:scroll;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-ms-overflow-style:none;margin-left:-8px !important;margin-right:-8px !important;padding-left:8px !important}.sp-c-sport-navigation__inner::-webkit-scrollbar{display:none}.no-touch .sp-c-sport-navigation__inner{overflow-x:hidden}.sp-c-sport-navigation--primary .sp-c-sport-navigation__inner{margin-right:112px !important;margin-left:-24px !important}@media (min-width: 56.25em){.sp-c-sport-navigation--primary .sp-c-sport-navigation__inner{margin-left:-8px !important}}.no-touch .sp-c-sport-navigation--primary .sp-c-sport-navigation__inner{margin-right:102px !important;margin-left:-8px !important}@media (min-width: 25em){.sp-c-sport-navigation__inner{margin-left:-16px !important;margin-right:-16px !important;padding-left:16px !important}}@media (min-width: 56.25em){.sp-c-sport-navigation__inner{margin-left:0 !important;margin-right:0 !important;padding-left:0 !important}}.no-touch .sp-c-sport-navigation__inner{margin-left:0 !important;margin-right:0 !important;padding-left:0 !important}.sp-c-sport-navigation__item{overflow:hidden;white-space:nowrap;font-size:18px;font-size:1.125rem;line-height:18px;line-height:1.125rem}.sp-c-sport-navigation__item:first-child .sp-c-sport-navigation__link:after{width:0}.no-touch .sp-c-sport-navigation__item{font-size:15px;font-size:0.9375rem;line-height:15px;line-height:0.9375rem}.sp-c-sport-navigation__item--primary-selected{background-color:#121212}.sp-c-sport-navigation__item--primary-selected .sp-c-sport-navigation__link{color:#fff}.sp-c-sport-navigation__item--primary-selected .sp-c-sport-navigation__link:after{width:0}.sp-c-sport-navigation__item--primary-selected+.sp-c-sport-navigation__item .sp-c-sport-navigation__link:after{width:0}.sp-c-sport-navigation__item--primary-first-selected .sp-c-sport-navigation__link:before{position:absolute;bottom:0;left:0;content:'';width:100%;height:4px;background-color:#121212}.sp-c-sport-navigation__item--secondary-selected{position:relative}.sp-c-sport-navigation__item--secondary-selected:before{position:absolute;bottom:0;left:0;content:'';width:100%;height:4px;background-color:#ffd230}.sp-c-sport-navigation__link{position:relative;display:block;padding:12px 8px;font-size:18px;font-size:1.125rem;line-height:18px;line-height:1.125rem;color:#121212;text-decoration:none}@media (min-width: 37.5em){.sp-c-sport-navigation__link{padding:8px}}.no-touch .sp-c-sport-navigation__link{font-size:15px;font-size:0.9375rem;line-height:15px;line-height:0.9375rem}.sp-c-sport-navigation__link:after{position:absolute;left:0;content:'';width:1px;height:16px;background-color:rgba(18,18,18,0.2)}.no-touch .sp-c-sport-navigation__link:hover,.no-touch .sp-c-sport-navigation__link:focus{cursor:pointer}.no-touch .sp-c-sport-navigation__link:hover:before,.no-touch .sp-c-sport-navigation__link:focus:before{position:absolute;bottom:0;left:0;content:'';width:100%;height:4px;background-color:#121212}.sp-c-sport-navigation__link--secondary{color:#fff}.sp-c-sport-navigation__link--secondary:after{background-color:rgba(255,255,255,0.3)}.sp-c-sport-navigation__inner :nth-child(2) .sp-c-sport-navigation__link--secondary:after{width:0}.no-touch .sp-c-sport-navigation__link--secondary:hover:before,.no-touch .sp-c-sport-navigation__link--secondary:focus:before{background-color:#ffd230}.sp-c-sport-navigation__link--crumb{padding-right:0;padding-left:0}.sp-c-sport-navigation__link--crumb svg{height:12px !important;width:12px !important}.sp-c-sport-navigation__item--all{position:absolute;top:0;right:8px;border-left:1px solid rgba(18,18,18,0.2)}@media (min-width: 25em){.sp-c-sport-navigation__item--all{right:16px}}.sp-c-sport-navigation__item--all .sp-c-sport-navigation__link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;margin:0}.sp-c-sport-navigation__item--all .sp-c-sport-navigation__link:after{display:none}.sp-c-sport-navigation__item--all svg{height:13px !important;width:16px !important}.sp-c-sport-navigation__item--all-selected{background-color:#121212}.sp-c-sport-navigation__item--all-selected .sp-c-sport-navigation__link{color:#fff}.sp-c-sport-navigation__app-space-saver{position:relative;height:42px}@media (min-width: 37.5em){.sp-c-sport-navigation__app-space-saver{height:34px}}.no-touch .sp-c-sport-navigation__app-space-saver{height:31px}.sp-c-sport-flyout{display:none}.sp-c-sport-flyout--expanded{display:block;border-bottom:#ffd230 solid 4px;background-color:#121212;color:#fff}.sp-c-sport-flyout__inner{padding:0;margin:0;list-style:none;margin-left:-8px;margin-right:-8px}@media (min-width: 37.5em){.sp-c-sport-flyout__inner{-webkit-columns:6 195px;-moz-columns:6 195px;columns:6 195px;-webkit-column-gap:16px;-moz-column-gap:16px;column-gap:16px;-webkit-column-rule:1px solid rgba(255,255,255,0.3);-moz-column-rule:1px solid rgba(255,255,255,0.3);column-rule:1px solid rgba(255,255,255,0.3)}}@media (min-width: 25em){.sp-c-sport-flyout__inner{margin-left:-16px;margin-right:-16px}}@media (min-width: 37.5em){.sp-c-sport-flyout__inner{margin-left:-6px;margin-right:0}}@media (min-width: 37.5em){.sp-c-sport-flyout__inner--border{border-bottom:1px solid rgba(255,255,255,0.3)}}.sp-c-sport-flyout__item{font-size:18px;font-size:1.125rem;line-height:18px;line-height:1.125rem;-webkit-column-break-inside:avoid;page-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid-column}@media (min-width: 37.5em){.sp-c-sport-flyout__item{font-size:15px;font-size:0.9375rem;line-height:15px;line-height:0.9375rem}}@media (max-width: 37.49em){.sp-c-sport-flyout__item{border-bottom:rgba(255,255,255,0.2) solid 1px}}.sp-c-sport-flyout__item--selected{border-left:#ffd230 solid 4px}.sp-c-sport-flyout__link{display:block;padding:12px 8px;color:#fff;text-decoration:none}@media (min-width: 25em) and (max-width: 37.49em){.sp-c-sport-flyout__link{padding-left:16px;padding-right:16px}}@media (min-width: 37.5em){.sp-c-sport-flyout__link{padding:8px}}.sp-c-sport-flyout__link:hover{background-color:rgba(255,255,255,0.3)}.sp-c-sport-flyout__heading{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem}@media (max-width: 37.49em){.sp-c-sport-flyout__heading{color:#ffd230}}@media (min-width: 37.5em){.sp-t-world-cup-2018 .sp-c-global-header{background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-navigation/6.3.7/images/world-cup-2018/header_x2.png\");background-size:629px 62px;background-position:300px 0;background-repeat:no-repeat}}@media (min-width: 43.75em){.sp-t-world-cup-2018 .sp-c-global-header{background-position:440px 0}}@media (min-width: 56.25em){.sp-t-world-cup-2018 .sp-c-global-header{background-position:150% 0}}@media (min-width: 63em){.sp-t-world-cup-2018 .sp-c-global-header{background-position:120% 0}}@media (min-width: 80em){.sp-t-world-cup-2018 .sp-c-global-header{background-position:940px 0}}@media (min-width: 100em){.sp-t-world-cup-2018 .sp-c-global-header{background-position:100% 0}}.sp-t-world-cup-2018 .sp-c-global-header__branding{display:none}@media (min-width: 37.5em){.sp-t-world-cup-2018 .sp-c-global-header__branding{display:block;float:right;position:relative;height:62px;padding:4px;background-color:#fff}.sp-t-world-cup-2018 .sp-c-global-header__branding:after,.sp-t-world-cup-2018 .sp-c-global-header__branding:before{position:absolute;height:62px;content:'';display:block;top:0}.sp-t-world-cup-2018 .sp-c-global-header__branding:after{width:77px;left:-75px;background-size:77px 62px;background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-navigation/6.3.7/images/world-cup-2018/left.png\")}.sp-t-world-cup-2018 .sp-c-global-header__branding:before{width:77px;right:-75px;background-size:77px 62px;background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-navigation/6.3.7/images/world-cup-2018/right.png\")}.sp-t-world-cup-2018 .sp-c-global-header__branding img{width:110px;height:54px}}.sp-t-world-cup-2018 .sp-c-sport-navigation--secondary,.sp-t-world-cup-2018 .sp-c-sport-navigation__item--primary-selected{background-color:#700710}.sp-t-world-cup-2018 .sp-c-sport-navigation__item--secondary-selected:before{background-color:#5f8ec7}.sp-t-world-cup-2018 .sp-c-sport-navigation__link--secondary:after{background-color:#fff}.no-touch .sp-t-world-cup-2018 .sp-c-sport-navigation__link--secondary:hover:before,.no-touch .sp-t-world-cup-2018 .sp-c-sport-navigation__link--secondary:focus:before{background-color:#5f8ec7}.sp-t-get-inspired .sp-c-global-header{background-color:#f4bb2c}@media (min-width: 37.5em){.sp-t-get-inspired .sp-c-global-header{background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-navigation/6.3.7/images/get-inspired/header.jpg\");background-position:right 0px;background-repeat:no-repeat;background-color:#ffd230}}.sp-t-get-inspired .sp-c-global-header__branding{display:none}@media (min-width: 37.5em){.sp-t-get-inspired .sp-c-global-header__branding{display:inline-block;position:absolute;top:18px}}.sp-t-get-inspired .sp-c-sport-navigation--primary{background-color:#f4bb2c}@media (min-width: 37.5em){.sp-t-supermovers .sp-c-global-header{background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-navigation/6.3.7/images/supermovers/header.png\");background-size:500px 62px;background-position:400px 0;background-repeat:no-repeat}}@media (min-width: 48em){.sp-t-supermovers .sp-c-global-header{background-position:150% 0}}@media (min-width: 56.25em){.sp-t-supermovers .sp-c-global-header{background-position:100% 0}}.sp-t-supermovers .sp-c-supermovers-logo{display:none}@media (min-width: 37.5em){.sp-t-supermovers .sp-c-supermovers-logo{display:block;float:right;position:relative;height:62px;margin-right:32px;padding-top:6px;background-color:#fff}.sp-t-supermovers .sp-c-supermovers-logo:after,.sp-t-supermovers .sp-c-supermovers-logo:before{position:absolute;height:62px;content:'';display:block;top:0}.sp-t-supermovers .sp-c-supermovers-logo:after{width:49px;left:-49px;background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-navigation/6.3.7/images/supermovers/left.png\")}.sp-t-supermovers .sp-c-supermovers-logo:before{width:49px;right:-49px;background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-navigation/6.3.7/images/supermovers/right.png\")}}.sp-t-supermovers .sp-c-supermovers-logo__head{display:inline-block;height:48px;width:39px}@media (min-width: 48em){.sp-t-supermovers .sp-c-supermovers-logo__head{margin-right:4px}}@media (min-width: 37.5em){.sp-t-supermovers .sp-c-supermovers-logo__text{display:none}}@media (min-width: 48em){.sp-t-supermovers .sp-c-supermovers-logo__text{display:inline-block;height:48px;width:69px}}.sp-t-supermovers .sp-c-sport-navigation--secondary,.sp-t-supermovers .sp-c-sport-navigation__item--primary-selected{background-color:#05F0FF}.sp-t-supermovers .sp-c-sport-navigation--secondary .sp-c-sport-navigation__link,.sp-t-supermovers .sp-c-sport-navigation__item--primary-selected .sp-c-sport-navigation__link{color:#121212}.sp-t-supermovers .sp-c-sport-navigation__item--secondary-selected:before{background-color:#3d195b}.sp-t-supermovers .sp-c-sport-navigation__link--secondary{color:#121212}.sp-t-supermovers .sp-c-sport-navigation__link--secondary:after{background-color:#fff}.no-touch .sp-t-supermovers .sp-c-sport-navigation__link--secondary:hover:before,.no-touch .sp-t-supermovers .sp-c-sport-navigation__link--secondary:focus:before{background-color:#3d195b}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u41930653161717135 */</script> <script type="text/javascript"> /*<![CDATA[*/ bbcdotcom.init({asyncEnabled: true, adsToDisplay:['leaderboard']}); /*]]>*/ </script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.sp-c-match-overview-header{background-size:cover;background-position:center bottom;background-color:#121212;margin-bottom:8px;padding-top:24px;padding-bottom:16px;text-shadow:0px 0px 3px #333}.sp-c-match-overview-header .sp-c-fixture__block{text-shadow:none} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-sport-football-live-event-header/2.3.3"]=true; Morph.styleSrc.push("<style>.sp-c-match-overview-header{background-size:cover;background-position:center bottom;background-color:#121212;margin-bottom:8px;padding-top:24px;padding-bottom:16px;text-shadow:0px 0px 3px #333}@media (min-width: 37.5em){.sp-c-match-overview-header{margin-bottom:16px}}.sp-c-match-overview-header .sp-c-fixture__block{text-shadow:none}.sp-c-match-overview-header--football{background-position:center top;background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-football-oppm-header/1.0.5/images/football-header-mobile.jpg\")}@media (min-width: 37.5em){.sp-c-match-overview-header--football{padding-top:48px;padding-bottom:48px;background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-football-oppm-header/1.0.5/images/football-header-tablet.jpg\")}}@media (min-width: 56.25em){.sp-c-match-overview-header--football{background-image:url(\"//m.files.bbci.co.uk/modules/bbc-morph-sport-football-oppm-header/1.0.5/images/football-header-desktop.jpg\")}}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.sp-c-booking-card{display:inline-block;width:8px;height:12px;margin:0 2px}.sp-c-booking-card--red{background:#d00}.sp-c-booking-card--yellow-red{margin-left:6px;background:#d00;box-shadow:-4px 4px 0 0 #ffd230}.sp-c-fixture{position:relative;display:block;text-align:center}.sp-c-fixture--live-session-header{color:#fff}.sp-c-fixture--live-session-header a{color:#fff}.sp-c-fixture__wrapper{display:table;width:100%;margin-bottom:4px}.sp-c-fixture--live-session-header .sp-c-fixture__wrapper{margin-bottom:8px}.sp-c-fixture__block-link{display:block}.sp-c-fixture__block-link:hover .sp-c-fixture__team-name,.sp-c-fixture__block-link:hover .sp-c-fixture__team--time,.sp-c-fixture__block-link:hover .sp-c-fixture__team-name-trunc{text-decoration:underline}.sp-c-fixture__title{text-align:left;margin-bottom:8px}.sp-c-fixture--live-session-header .sp-c-fixture__title{border-left:1px solid #5a5a5a;padding-left:8px;margin-left:8px;display:inline}.sp-c-fixture__title--center{display:block;text-align:center;margin-bottom:4px}.sp-c-fixture--live-session-header .sp-c-fixture__date{font-weight:bold}.sp-c-fixture__team{display:inline-block;vertical-align:top;width:50%;min-width:75px;font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:bold;color:#121212}.sp-c-fixture--live-session-header .sp-c-fixture__team{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;color:#fff;font-weight:normal}.sp-c-fixture__team--time{position:relative;display:table-cell;padding-top:4px}.sp-c-fixture__team--away,.sp-c-fixture__team--time-away{direction:rtl}.sp-c-fixture__team-name{display:table-cell;width:100%;font-weight:bold !important;vertical-align:middle}.sp-c-fixture--live-session-header .sp-c-fixture__team-name{font-weight:normal !important;vertical-align:bottom}.sp-c-fixture__team-name--home,.sp-c-fixture__team--time-home{text-align:right;padding-right:8px}.sp-c-fixture--live-session-header .sp-c-fixture__team-name--home,.sp-c-fixture--live-session-header .sp-c-fixture__team--time-home{padding-right:10px}.sp-c-fixture__team-name--away,.sp-c-fixture__team--time-away{text-align:left;padding-left:8px}.sp-c-fixture--live-session-header .sp-c-fixture__team-name--away,.sp-c-fixture--live-session-header .sp-c-fixture__team--time-away{padding-left:10px}.sp-c-fixture__team-name-wrap{position:relative;display:block;min-height:26px}.sp-c-fixture__team--time .sp-c-fixture__team-name-wrap{min-height:20px}.sp-c-fixture--live-session-header .sp-c-fixture__team-name-wrap{min-height:28px}.sp-c-fixture__team-name-trunc{position:absolute;top:0;right:0;bottom:0;left:0;line-height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-c-fixture__team--away .sp-c-fixture__team-name-trunc,.sp-c-fixture__team--time-away .sp-c-fixture__team-name-trunc{direction:ltr}.sp-c-fixture__team--time-home .sp-c-fixture__team-name-trunc,.sp-c-fixture__team--time-away .sp-c-fixture__team-name-trunc{line-height:14px}.sp-c-fixture--live-session-header .sp-c-fixture__team-name-trunc{line-height:24px}.sp-c-fixture__block{display:table-cell}.sp-c-fixture__block--time{min-width:54px;vertical-align:top;line-height:16px}.sp-c-fixture--live-session-header .sp-c-fixture__block--time{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem}.sp-c-fixture__number{min-width:28px;background-color:#dbdbdb;font-weight:bold !important;text-align:center;display:block;padding-top:4px;padding-bottom:4px;color:#121212}.sp-c-fixture--live-session-header .sp-c-fixture__number{min-width:38px;padding-right:4px;padding-left:4px;line-height:24px}.sp-c-fixture__number--ft{background-color:#ffd230}.sp-c-fixture__number--live{background-color:#2866f6;color:#fff}.sp-c-fixture__number--live-sport{background-color:#2866f6;color:#fff}.sp-c-fixture__number--live-sport-light{background-color:#0186ff;color:#fff}.sp-c-fixture__number--time,.sp-c-fixture__number--inactive{background-color:#dbdbdb;color:#5a5a5a}.sp-c-fixture--live-session-header .sp-c-fixture__number--time,.sp-c-fixture--live-session-header .sp-c-fixture__number--inactive{padding-right:8px;padding-left:8px}.sp-c-fixture__number--cancelled,.sp-c-fixture__number--abandoned,.sp-c-fixture__number--post-event{background-color:#ffd230}.sp-c-fixture--live-session-header .sp-c-fixture__number--cancelled,.sp-c-fixture--live-session-header .sp-c-fixture__number--abandoned,.sp-c-fixture--live-session-header .sp-c-fixture__number--post-event{padding-right:8px;padding-left:8px}.sp-c-fixture__number--home{margin-right:1px}.sp-c-fixture--live-session-header .sp-c-fixture__number--home{margin-right:2px}.sp-c-fixture__status,.sp-c-fixture__win-message,.sp-c-fixture__attendance,.sp-c-fixture__venue{display:block;margin-bottom:4px;text-align:center}.sp-c-fixture__status{color:#5a5a5a}.sp-c-fixture--live-session-header .sp-c-fixture__status{color:#dbdbdb}.sp-c-fixture__status--ft{color:#5a5a5a}.sp-c-fixture--live-session-header .sp-c-fixture__status--ft{color:#ffd230}.sp-c-fixture__status--live{color:#2866f6}.sp-c-fixture--live-session-header .sp-c-fixture__status--live{color:#2866f6}.sp-c-fixture__status--live-sport{color:#2866f6}.sp-c-fixture--live-session-header .sp-c-fixture__status--live-sport{color:#2866f6}.sp-c-fixture__status--live-sport-light{color:#0186ff}.sp-c-fixture--live-session-header .sp-c-fixture__status--live-sport-light{color:#0186ff}.sp-c-fixture__win-message{color:#121212}.sp-c-fixture--live-session-header .sp-c-fixture__win-message{color:#fff}.sp-c-fixture__attendance,.sp-c-fixture__venue{color:#dbdbdb}.sp-c-fixture__aside{width:100%;display:table}.sp-c-fixture-player-assists__aside{border-top:1px solid #fff}.sp-c-fixture__status-wrapper{min-width:73px;display:block;text-align:center}.sp-c-fixture--live-session-header .sp-c-fixture__status-wrapper{min-width:94px}.sp-c-football-goal-item{display:table}.sp-c-fixture__player-action{padding-bottom:1em;display:table-cell;color:#121212;width:50%;min-width:75px;vertical-align:top}.sp-c-fixture--live-session-header .sp-c-fixture__player-action{color:#dbdbdb}.sp-c-fixture__scorers-home{text-align:right;padding-left:0}.sp-c-fixture__scorers-away{text-align:left;padding-left:0}.sp-c-fixture__assists-home{text-align:right;padding-left:0}.sp-c-fixture__assists-away{text-align:left;padding-left:0}.sp-c-match-list-heading{padding:8px;text-align:center;background-color:#f7f7f5} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-sport-football-scores-components/5.0.2"]=true; Morph.styleSrc.push("<style>.sp-c-booking-card{display:inline-block;width:8px;height:12px;margin:0 2px}.sp-c-booking-card--red{background:#d00}.sp-c-booking-card--yellow-red{margin-left:6px;background:#d00;box-shadow:-4px 4px 0 0 #ffd230}.sp-c-fixture{position:relative;display:block;text-align:center}.sp-c-fixture--live-session-header{color:#fff}.sp-c-fixture--live-session-header a{color:#fff}.sp-c-fixture__wrapper{display:table;width:100%;margin-bottom:4px}.sp-c-fixture--live-session-header .sp-c-fixture__wrapper{margin-bottom:8px}@media (min-width: 56.25em){.sp-c-fixture--live-session-header .sp-c-fixture__wrapper{max-height:38px}}.sp-c-fixture__block-link{display:block}.sp-c-fixture__block-link:hover .sp-c-fixture__team-name,.sp-c-fixture__block-link:hover .sp-c-fixture__team--time,.sp-c-fixture__block-link:hover .sp-c-fixture__team-name-trunc{text-decoration:underline}.sp-c-fixture__title{text-align:left;margin-bottom:8px}.sp-c-fixture--live-session-header .sp-c-fixture__title{border-left:1px solid #5a5a5a;padding-left:8px;margin-left:8px;display:inline}.sp-c-fixture__title--center{display:block;text-align:center;margin-bottom:4px}.sp-c-fixture--live-session-header .sp-c-fixture__date{font-weight:bold}.sp-c-fixture__team{display:inline-block;vertical-align:top;width:50%;min-width:75px;font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:bold;color:#121212}@media (min-width: 37.5em){.sp-c-fixture__team{line-height:20px;line-height:1.25rem}.no-touch .sp-c-fixture__team{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.sp-c-fixture--live-session-header .sp-c-fixture__team{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;color:#fff;font-weight:normal}@media (min-width: 37.5em){.sp-c-fixture--live-session-header .sp-c-fixture__team{font-size:26px;font-size:1.625rem;line-height:30px;line-height:1.875rem}.no-touch .sp-c-fixture--live-session-header .sp-c-fixture__team{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}.sp-c-fixture__team--time{position:relative;display:table-cell;padding-top:4px}.sp-c-fixture__team--away,.sp-c-fixture__team--time-away{direction:rtl}.sp-c-fixture__team-name{display:table-cell;width:100%;font-weight:bold !important;vertical-align:middle}.sp-c-fixture--live-session-header .sp-c-fixture__team-name{font-weight:normal !important;vertical-align:bottom}.sp-c-fixture__team-name--home,.sp-c-fixture__team--time-home{text-align:right;padding-right:8px}.sp-c-fixture--live-session-header .sp-c-fixture__team-name--home,.sp-c-fixture--live-session-header .sp-c-fixture__team--time-home{padding-right:10px}.sp-c-fixture__team-name--away,.sp-c-fixture__team--time-away{text-align:left;padding-left:8px}.sp-c-fixture--live-session-header .sp-c-fixture__team-name--away,.sp-c-fixture--live-session-header .sp-c-fixture__team--time-away{padding-left:10px}.sp-c-fixture__team-name-wrap{position:relative;display:block;min-height:26px}.sp-c-fixture__team--time .sp-c-fixture__team-name-wrap{min-height:20px}.sp-c-fixture--live-session-header .sp-c-fixture__team-name-wrap{min-height:28px}.sp-c-fixture__team-name-trunc{position:absolute;top:0;right:0;bottom:0;left:0;line-height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-c-fixture__team--away .sp-c-fixture__team-name-trunc,.sp-c-fixture__team--time-away .sp-c-fixture__team-name-trunc{direction:ltr}.sp-c-fixture__team--time-home .sp-c-fixture__team-name-trunc,.sp-c-fixture__team--time-away .sp-c-fixture__team-name-trunc{line-height:14px}.sp-c-fixture--live-session-header .sp-c-fixture__team-name-trunc{line-height:24px}.sp-c-fixture__block{display:table-cell}.sp-c-fixture__block--time{min-width:54px;vertical-align:top;line-height:16px}.sp-c-fixture--live-session-header .sp-c-fixture__block--time{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem}@media (min-width: 20em){.sp-c-fixture--live-session-header .sp-c-fixture__block--time{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.sp-c-fixture--live-session-header .sp-c-fixture__block--time{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .sp-c-fixture--live-session-header .sp-c-fixture__block--time{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.sp-c-fixture__number{min-width:28px;background-color:#dbdbdb;font-weight:bold !important;text-align:center;display:block;padding-top:4px;padding-bottom:4px;color:#121212}.sp-c-fixture--live-session-header .sp-c-fixture__number{min-width:38px;padding-right:4px;padding-left:4px;line-height:24px}.sp-c-fixture__number--ft{background-color:#ffd230}.sp-c-fixture__number--live{background-color:#2866f6;color:#fff}.sp-c-fixture__number--live-sport{background-color:#2866f6;color:#fff}.sp-c-fixture__number--live-sport-light{background-color:#0186ff;color:#fff}.sp-c-fixture__number--time,.sp-c-fixture__number--inactive{background-color:#dbdbdb;color:#5a5a5a}.sp-c-fixture--live-session-header .sp-c-fixture__number--time,.sp-c-fixture--live-session-header .sp-c-fixture__number--inactive{padding-right:8px;padding-left:8px}.sp-c-fixture__number--cancelled,.sp-c-fixture__number--abandoned,.sp-c-fixture__number--post-event{background-color:#ffd230}.sp-c-fixture--live-session-header .sp-c-fixture__number--cancelled,.sp-c-fixture--live-session-header .sp-c-fixture__number--abandoned,.sp-c-fixture--live-session-header .sp-c-fixture__number--post-event{padding-right:8px;padding-left:8px}.sp-c-fixture__number--home{margin-right:1px}.sp-c-fixture--live-session-header .sp-c-fixture__number--home{margin-right:2px}.sp-c-fixture__status,.sp-c-fixture__win-message,.sp-c-fixture__attendance,.sp-c-fixture__venue{display:block;margin-bottom:4px;text-align:center}.sp-c-fixture__status{color:#5a5a5a}.sp-c-fixture--live-session-header .sp-c-fixture__status{color:#dbdbdb}.sp-c-fixture__status--ft{color:#5a5a5a}.sp-c-fixture--live-session-header .sp-c-fixture__status--ft{color:#ffd230}.sp-c-fixture__status--live{color:#2866f6}.sp-c-fixture--live-session-header .sp-c-fixture__status--live{color:#2866f6}.sp-c-fixture__status--live-sport{color:#2866f6}.sp-c-fixture--live-session-header .sp-c-fixture__status--live-sport{color:#2866f6}.sp-c-fixture__status--live-sport-light{color:#0186ff}.sp-c-fixture--live-session-header .sp-c-fixture__status--live-sport-light{color:#0186ff}.sp-c-fixture__win-message{color:#121212}.sp-c-fixture--live-session-header .sp-c-fixture__win-message{color:#fff}.sp-c-fixture__attendance,.sp-c-fixture__venue{color:#dbdbdb}.sp-c-fixture__aside{width:100%;display:table}.sp-c-fixture-player-assists__aside{border-top:1px solid #fff}.sp-c-fixture__status-wrapper{min-width:73px;display:block;text-align:center}.sp-c-fixture--live-session-header .sp-c-fixture__status-wrapper{min-width:94px}.sp-c-football-goal-item{display:table}.sp-c-fixture__player-action{padding-bottom:1em;display:table-cell;color:#121212;width:50%;min-width:75px;vertical-align:top}.sp-c-fixture--live-session-header .sp-c-fixture__player-action{color:#dbdbdb}.sp-c-fixture__player-action>li{display:inline-block}.sp-c-fixture__scorers-home{text-align:right;padding-left:0}.sp-c-fixture__scorers-away{text-align:left;padding-left:0}.sp-c-fixture__assists-home{text-align:right;padding-left:0}.sp-c-fixture__assists-away{text-align:left;padding-left:0}.sp-c-match-list-heading{padding:8px;text-align:center;background-color:#f7f7f5}@media (min-width: 37.5em){.sp-c-match-list-heading{text-align:left}}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u8880666179863892 */</script> <script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-promo/6.0.0/ltr"]=true; Morph.styleSrc.push("<style>.gs-c-promo{margin-left:-8px}@media (min-width:37.5em){.gs-c-promo{margin-left:-16px}}.gs-c-promo--flex{display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.gs-c-promo--inline{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.gs-c-promo--inline-reverse{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gs-c-promo--stacked{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.gs-c-promo--stacked-reverse{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@media (min-width:25em){.gs-c-promo--inline\\@s{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.gs-c-promo--inline-reverse\\@s{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gs-c-promo--stacked\\@s{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.gs-c-promo--stacked-reverse\\@s{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media (min-width:37.5em){.gs-c-promo--inline\\@m{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.gs-c-promo--inline-reverse\\@m{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gs-c-promo--stacked\\@m{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.gs-c-promo--stacked-reverse\\@m{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media (min-width:56.25em){.gs-c-promo--inline\\@l{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.gs-c-promo--inline-reverse\\@l{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gs-c-promo--stacked\\@l{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.gs-c-promo--stacked-reverse\\@l{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media (min-width:63em){.gs-c-promo--inline\\@xl{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.gs-c-promo--inline-reverse\\@xl{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gs-c-promo--stacked\\@xl{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.gs-c-promo--stacked-reverse\\@xl{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media (min-width:80em){.b-pw-1280 .gs-c-promo--inline\\@xxl{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.b-pw-1280 .gs-c-promo--inline-reverse\\@xxl{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.b-pw-1280 .gs-c-promo--stacked\\@xxl{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.b-pw-1280 .gs-c-promo--stacked-reverse\\@xxl{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-promo-image{display:inline-block;width:100%;vertical-align:top} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-promo-image/8.0.1/ltr"]=true; Morph.styleSrc.push("<style>.gs-c-promo-image{display:inline-block;width:100%;vertical-align:top;padding-left:8px}@media (min-width: 37.5em){.gs-c-promo-image{padding-left:16px}}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-promo-body{display:inline-block;width:100%;vertical-align:top;word-wrap:break-word}.gs-c-promo--flex .gs-c-promo-body{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.gs-c-promo-body--white-text{color:#fff}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-promo-body/6.0.0/ltr"]=true; Morph.styleSrc.push("<style>.gs-c-promo-body{display:inline-block;width:100%;vertical-align:top;word-wrap:break-word;padding-left:8px}@media (min-width:37.5em){.gs-c-promo-body{padding-left:16px}}.gs-c-promo--flex .gs-c-promo-body{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.gs-c-promo-body--white-text{color:#fff}</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gel-wrap{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px}.gel-layout{list-style:none;direction:ltr;text-align:left}.gel-layout--flush{margin-left:0}.gel-layout--flush>.gel-layout__item{padding-left:0}.gel-layout--rev{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.no-flexbox .gel-layout--rev{direction:rtl;text-align:left}.no-flexbox .gel-layout--rev>.gel-layout__item{direction:ltr;text-align:left}.gel-layout--middle{-webkit-align-items:center;-ms-flex-align:center;-ms-grid-row-align:center;-webkit-box-align:center;align-items:center}.gel-layout--middle>.gel-layout__item{vertical-align:middle}.gel-layout--bottom{-webkit-align-items:flex-end;-ms-flex-align:end;-ms-grid-row-align:flex-end;-webkit-box-align:end;align-items:flex-end}.gel-layout--bottom>.gel-layout__item{vertical-align:bottom}.gel-layout--right{text-align:right;-webkit-justify-content:flex-end;-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.gel-layout--right>.gel-layout__item{text-align:left}.gel-layout--center{text-align:center;-webkit-justify-content:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.gel-layout--center>.gel-layout__item{text-align:left}.gel-layout--auto>.gel-layout__item{width:auto}.gel-layout--no-flex{min-width:100%}.gel-layout--no-flex,.gel-layout--no-flex>.gel-layout__item{display:block}.gel-1\/1{width:100%!important}.gel-1\/2{width:50%!important}.gel-1\/3{width:33.33333%!important}.gel-2\/3{width:66.66667%!important}.gel-1\/4{width:25%!important}.gel-3\/4{width:75%!important}.gel-1\/5{width:20%!important}.gel-2\/5{width:40%!important}.gel-3\/5{width:60%!important}.gel-4\/5{width:80%!important}.gel-1\/8{width:12.5%!important}.gel-3\/8{width:37.5%!important}.gel-5\/8{width:62.5%!important}.gel-7\/8{width:87.5%!important}.gel-1\/10{width:10%!important}.gel-3\/10{width:30%!important}.gel-7\/10{width:70%!important}.gel-9\/10{width:90%!important}.gel-1\/12{width:8.33333%!important}.gel-2\/12{width:16.66667%!important}.gel-5\/12{width:41.66667%!important}.gel-7\/12{width:58.33333%!important}.gel-10\/12{width:83.33333%!important}.gel-11\/12{width:91.66667%!important}.gel-1\/24{width:4.16667%!important}.gel-5\/24{width:20.83333%!important}.gel-7\/24{width:29.16667%!important}.gel-11\/24{width:45.83333%!important}.gel-13\/24{width:54.16667%!important}.gel-17\/24{width:70.83333%!important}.gel-19\/24{width:79.16667%!important}.gel-23\/24{width:95.83333%!important}.mpu_first_slot{margin-left:-8px}.comments{margin:auto}.comments-list__item{list-style-type:none}.story-body+.comments .view-comments-button-wrapper{padding-bottom:32px}.story-contributor{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.story-contributor__image{border-radius:50%;overflow:hidden}.story-contributor__image--quotebox{display:none}.story-contributor__body>span:first-of-type{display:block}.story-body__crosshead,.story-body__heading{font-size:1.5rem;line-height:1.75rem;font-weight:400}.story-body__crosshead{margin-top:2rem;margin-bottom:1.5rem}.story-body__subheading{font-size:1rem;line-height:1.25rem;font-weight:400}.story-body__heading,.story-body__subheading{margin-top:1rem;margin-bottom:1.5rem;padding-top:1rem;overflow:hidden;border-top:2px solid #dbdbdb}.story-body__includes{display:none}@media only screen and (min-width:600px){.story-body__includes{max-width:70%;margin:0 auto 48px}}.story-body__includes-oppm{display:none}@media only screen and (min-width:600px){.story-body__includes-oppm{max-width:100%;margin:0 auto 48px}}.newsround-riddle__outer{background-color:#fff;display:block;position:static;width:100%}.newsround-riddle__wrapper{padding:0!important}.newsround-riddle__content{width:100%!important}.story-info{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #dbdbdb}.story-info>span{margin-bottom:4px}.story-info>span:not(:last-child){border-right:1px solid #dbdbdb}.story-info a{text-decoration:none}.story-info a:focus,.story-info a:hover{text-decoration:underline}.story-info__timestamp{color:#5a5a5a}.story-info__timestamp.story-info__timestamp{vertical-align:baseline}.comments-icon{display:none;cursor:pointer}.story-body p{margin-top:0;margin-bottom:24px}.footer{font-style:italic}.story-body__external-link,.story-body__internal-link{border-bottom:1px solid #dbdbdb;font-weight:700;text-decoration:none;color:#121212}.story-body__external-link:hover,.story-body__internal-link:hover{color:#255aa9;fill:#255aa9}.story-body__external-link .gel-icon svg,.story-body__internal-link .gel-icon svg{display:none}.story-body>ul{list-style-type:square}.story-body>ol,.story-body>ul{margin-bottom:1.5rem}.story-body>ol li,.story-body>ul li{margin-top:1rem;margin-left:20px;padding-left:4px}ol,ul{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.story-body__media{width:100%}.story-body__media--figure{display:inline-block;margin-left:0;margin-right:0}.story-body__media--lead{width:calc(100% + 24px);margin-left:-8px}@media (min-width:25em){.story-body__media--lead{width:calc(100% + 32px);margin-left:-16px}}@media (min-width:37.5em){.story-body__media--lead{width:120%;margin-left:-10%}}@media (min-width:56.25em){.story-body__media--lead{width:114.28571%;margin-left:0}}.story-body__media__caption--image{background-color:#ededed;color:#5a5a5a}.story-body__media__caption--video{color:#fff;background-color:#121212}.story-body{margin:auto}.top-stories{margin-right:-16px;margin-left:-16px}@media (min-width:56.25em){.top-stories{margin-right:0;margin-left:0}}.component__title{font-size:1.25rem;margin-bottom:1rem;line-height:1.5rem}h3.article-block__title:hover{color:#255aa9;fill:#255aa9;text-decoration:underline}@media (min-width:56.25em){.top-stories{border-left:1px solid #dbdbdb;padding-left:16px}}.box-promo{background:#ededed}.multi-promo__centre{margin-right:-16px;margin-left:-16px}@media (min-width:56.25em){.multi-promo__centre{margin-right:0;margin-left:0}}.multi-thumb-promo--flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-align-content:space-around;-ms-flex-line-pack:distribute;align-content:space-around}@media (max-width:37.49em){.multi-thumb-promo--flex{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}}@media (min-width:37.5em){.multi-thumb-promo--flex{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.oppm-promos__section{margin-right:-16px;margin-left:-16px;padding-bottom:1rem;border-bottom:1px solid #dbdbdb}@media (min-width:56.25em){.oppm-promos__section{margin-right:0;margin-left:0}}.oppm-promos__scores,.oppm-promos__table{padding-left:16px;padding-right:16px}@media (min-width:56.25em){.oppm-promos__scores,.oppm-promos__table{border-left:1px solid #dbdbdb;padding-right:0}}a,abbr[title]{text-decoration:none}.movement{display:block;vertical-align:middle;width:10px;margin:0 auto;border-color:#dbdbdb;border-style:solid;border-width:1px 0}.movement--up{border-color:transparent transparent #44c424;border-width:0 5px 5px}.movement--down,.movement--up{width:0;height:0;border-style:solid}.movement--down{border-color:#d00 transparent transparent;border-width:5px 5px 0}.gs-o-table{width:100%;border-spacing:0;margin-bottom:16px}.gs-o-table__head{background:#f7f7f5}.gs-o-table__cell:first-child{padding-left:8px}.gs-o-table__cell{border-bottom:1px solid #ededed;padding:8px 4px;text-align:center}.gs-o-table__cell--left{text-align:left}.gs-o-table__cell--right{text-align:right}.gs-o-table__cell--break{border-top:1px dashed #252525}.component__footer-link{display:block;color:#121212}.component__footer-link:hover{color:#255aa9}.story-body__table tfoot,.story-body__table thead{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:400}.story-body__table tbody{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:400}.story-body__table thead{background:#f5f5f5}.story-body__table thead .table__cell{border-bottom:1px solid #dbdbdb}.story-body__table tbody td,.story-body__table tfoot td,.story-body__table thead th{border-bottom:1px solid #eee;padding:8px 4px;text-align:center}.story-body__table tbody td:first-child,.story-body__table tfoot td:first-child,.story-body__table thead th:first-child{padding-left:8px}.story-body__table tbody td:last-child,.story-body__table tfoot td:last-child,.story-body__table thead th:last-child{padding-right:8px}.story-body__table tbody tr:focus,.story-body__table tbody tr:hover{background-color:#f5f5f5;color:#1c2d3d}.table__header--mixed{font-weight:400}.table__header--bold{font-weight:700}.story-body__table{width:100%;border-collapse:collapse;margin-bottom:16px}.story-body__table thead th{text-align:left;border-bottom:1px solid #dcdcdc}.story-body__table tfoot td{font-weight:700;text-align:left}.story-body__table tbody td{text-align:left}.story-body__table tbody td ol,.story-body__table tbody td ul{list-style-position:inside}.include-box{margin-bottom:2rem;padding-bottom:.1rem;background-color:#f7f7f5}@media (min-width:37.5em){.include-box{float:right;clear:both;width:38%;margin-right:0;margin-bottom:1.5rem;margin-left:16px;padding-bottom:0}}@media (min-width:56.25em){.include-box{width:41%;margin-right:4px}}.include-box__pullout{padding:.75rem;border-top:4px solid #ffd230;color:#212121}.include-box__pullout_heading{letter-spacing:normal;margin-bottom:0;padding-bottom:1rem}@media (min-width:37.5em){.include-box__pullout_heading{font-size:1.25rem;line-height:1.5rem}}.include-box__pullout_heading_no_contributor{border-bottom:1px solid #dbdbdb;margin-bottom:1rem}.include-box__pullout_image{display:block;width:100%}.include-box__pullout_list{margin-bottom:1.5rem;list-style-type:square}.include-box__pullout_list-item{margin-top:1rem}.include-box__pullout_list-first-item,.include-box__pullout_list-item{margin-left:20px;padding-left:4px}.include-box__pullout_table{width:100%;overflow-y:auto}.sp-pull-quote{margin:0;padding:.75rem;border-left:2px solid #ffd230;color:#212121}@media (min-width:37.5em){.sp-pull-quote{margin-left:0;border-left-width:4px}}.sp-pull-quote__icon{margin-bottom:1rem;line-height:1;width:2rem;height:2rem}@media (min-width:37.5em){.sp-pull-quote__icon{width:2.5rem;height:2.5rem}}.include-box__pullout .sp-pull-quote__icon{margin-top:1rem}.sp-pull-quote__body{margin-bottom:1rem;font-size:1.25rem;line-height:1.5rem;font-family:ReithSerif}.sp-story-body .sp-pullout p{margin-bottom:1.5rem}.sp-pull-quote__cite-name{font-style:normal}.sp-pull-quote__cite-name,.sp-pull-quote__cite-profession{display:block;color:#212121}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-cps-story/2.19.38"]=true; Morph.styleSrc.push("<style>.gel-wrap{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px}@media (min-width:25em){.gel-wrap{padding-left:16px;padding-right:16px}}@media (min-width:80em){.b-pw-1280 .gel-wrap{max-width:1280px}}.gel-layout{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0}@media (min-width:37.5em){.gel-layout{margin-left:-16px}}.gel-layout__item{width:100%;display:inline-block;padding-left:8px;text-align:left;vertical-align:top}@media (min-width:37.5em){.gel-layout__item{padding-left:16px}}.gel-layout--flush{margin-left:0}.gel-layout--flush>.gel-layout__item{padding-left:0}.gel-layout--rev{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.no-flexbox .gel-layout--rev{direction:rtl;text-align:left}.no-flexbox .gel-layout--rev>.gel-layout__item{direction:ltr;text-align:left}.gel-layout--middle{-webkit-align-items:center;-ms-flex-align:center;-ms-grid-row-align:center;-webkit-box-align:center;align-items:center}.gel-layout--middle>.gel-layout__item{vertical-align:middle}.gel-layout--bottom{-webkit-align-items:flex-end;-ms-flex-align:end;-ms-grid-row-align:flex-end;-webkit-box-align:end;align-items:flex-end}.gel-layout--bottom>.gel-layout__item{vertical-align:bottom}.gel-layout--right{text-align:right;-webkit-justify-content:flex-end;-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.gel-layout--right>.gel-layout__item{text-align:left}.gel-layout--center{text-align:center;-webkit-justify-content:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.gel-layout--center>.gel-layout__item{text-align:left}.gel-layout--auto>.gel-layout__item{width:auto}.gel-layout--no-flex{min-width:100%}.gel-layout--no-flex,.gel-layout--no-flex>.gel-layout__item{display:block;display:inline-block}.gel-layout--equal>.gel-layout__item{display:-webkit-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.gel-layout--fit>.gel-layout__item{width:auto;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;-webkit-box-flex:1;flex:1 1 auto}.gel-layout__item--top{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.gel-layout__item--center{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.gel-layout__item--bottom{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.gel-1\\/1{width:100%!important}.gel-1\\/2{width:50%!important}.gel-1\\/3{width:33.33333%!important}.gel-2\\/3{width:66.66667%!important}.gel-1\\/4{width:25%!important}.gel-3\\/4{width:75%!important}.gel-1\\/5{width:20%!important}.gel-2\\/5{width:40%!important}.gel-3\\/5{width:60%!important}.gel-4\\/5{width:80%!important}.gel-1\\/8{width:12.5%!important}.gel-3\\/8{width:37.5%!important}.gel-5\\/8{width:62.5%!important}.gel-7\\/8{width:87.5%!important}.gel-1\\/10{width:10%!important}.gel-3\\/10{width:30%!important}.gel-7\\/10{width:70%!important}.gel-9\\/10{width:90%!important}.gel-1\\/12{width:8.33333%!important}.gel-2\\/12{width:16.66667%!important}.gel-5\\/12{width:41.66667%!important}.gel-7\\/12{width:58.33333%!important}.gel-10\\/12{width:83.33333%!important}.gel-11\\/12{width:91.66667%!important}.gel-1\\/24{width:4.16667%!important}.gel-5\\/24{width:20.83333%!important}.gel-7\\/24{width:29.16667%!important}.gel-11\\/24{width:45.83333%!important}.gel-13\\/24{width:54.16667%!important}.gel-17\\/24{width:70.83333%!important}.gel-19\\/24{width:79.16667%!important}.gel-23\\/24{width:95.83333%!important}@media (min-width:25em){.gel-1\\/1\\@s{width:100%!important}.gel-1\\/2\\@s{width:50%!important}.gel-1\\/3\\@s{width:33.33333%!important}.gel-2\\/3\\@s{width:66.66667%!important}.gel-1\\/4\\@s{width:25%!important}.gel-3\\/4\\@s{width:75%!important}.gel-1\\/5\\@s{width:20%!important}.gel-2\\/5\\@s{width:40%!important}.gel-3\\/5\\@s{width:60%!important}.gel-4\\/5\\@s{width:80%!important}.gel-1\\/8\\@s{width:12.5%!important}.gel-3\\/8\\@s{width:37.5%!important}.gel-5\\/8\\@s{width:62.5%!important}.gel-7\\/8\\@s{width:87.5%!important}.gel-1\\/10\\@s{width:10%!important}.gel-3\\/10\\@s{width:30%!important}.gel-7\\/10\\@s{width:70%!important}.gel-9\\/10\\@s{width:90%!important}.gel-1\\/12\\@s{width:8.33333%!important}.gel-2\\/12\\@s{width:16.66667%!important}.gel-5\\/12\\@s{width:41.66667%!important}.gel-7\\/12\\@s{width:58.33333%!important}.gel-10\\/12\\@s{width:83.33333%!important}.gel-11\\/12\\@s{width:91.66667%!important}.gel-1\\/24\\@s{width:4.16667%!important}.gel-5\\/24\\@s{width:20.83333%!important}.gel-7\\/24\\@s{width:29.16667%!important}.gel-11\\/24\\@s{width:45.83333%!important}.gel-13\\/24\\@s{width:54.16667%!important}.gel-17\\/24\\@s{width:70.83333%!important}.gel-19\\/24\\@s{width:79.16667%!important}.gel-23\\/24\\@s{width:95.83333%!important}}@media (min-width:37.5em){.gel-1\\/1\\@m{width:100%!important}.gel-1\\/2\\@m{width:50%!important}.gel-1\\/3\\@m{width:33.33333%!important}.gel-2\\/3\\@m{width:66.66667%!important}.gel-1\\/4\\@m{width:25%!important}.gel-3\\/4\\@m{width:75%!important}.gel-1\\/5\\@m{width:20%!important}.gel-2\\/5\\@m{width:40%!important}.gel-3\\/5\\@m{width:60%!important}.gel-4\\/5\\@m{width:80%!important}.gel-1\\/8\\@m{width:12.5%!important}.gel-3\\/8\\@m{width:37.5%!important}.gel-5\\/8\\@m{width:62.5%!important}.gel-7\\/8\\@m{width:87.5%!important}.gel-1\\/10\\@m{width:10%!important}.gel-3\\/10\\@m{width:30%!important}.gel-7\\/10\\@m{width:70%!important}.gel-9\\/10\\@m{width:90%!important}.gel-1\\/12\\@m{width:8.33333%!important}.gel-2\\/12\\@m{width:16.66667%!important}.gel-5\\/12\\@m{width:41.66667%!important}.gel-7\\/12\\@m{width:58.33333%!important}.gel-10\\/12\\@m{width:83.33333%!important}.gel-11\\/12\\@m{width:91.66667%!important}.gel-1\\/24\\@m{width:4.16667%!important}.gel-5\\/24\\@m{width:20.83333%!important}.gel-7\\/24\\@m{width:29.16667%!important}.gel-11\\/24\\@m{width:45.83333%!important}.gel-13\\/24\\@m{width:54.16667%!important}.gel-17\\/24\\@m{width:70.83333%!important}.gel-19\\/24\\@m{width:79.16667%!important}.gel-23\\/24\\@m{width:95.83333%!important}}@media (min-width:56.25em){.gel-1\\/1\\@l{width:100%!important}.gel-1\\/2\\@l{width:50%!important}.gel-1\\/3\\@l{width:33.33333%!important}.gel-2\\/3\\@l{width:66.66667%!important}.gel-1\\/4\\@l{width:25%!important}.gel-3\\/4\\@l{width:75%!important}.gel-1\\/5\\@l{width:20%!important}.gel-2\\/5\\@l{width:40%!important}.gel-3\\/5\\@l{width:60%!important}.gel-4\\/5\\@l{width:80%!important}.gel-1\\/8\\@l{width:12.5%!important}.gel-3\\/8\\@l{width:37.5%!important}.gel-5\\/8\\@l{width:62.5%!important}.gel-7\\/8\\@l{width:87.5%!important}.gel-1\\/10\\@l{width:10%!important}.gel-3\\/10\\@l{width:30%!important}.gel-7\\/10\\@l{width:70%!important}.gel-9\\/10\\@l{width:90%!important}.gel-1\\/12\\@l{width:8.33333%!important}.gel-2\\/12\\@l{width:16.66667%!important}.gel-5\\/12\\@l{width:41.66667%!important}.gel-7\\/12\\@l{width:58.33333%!important}.gel-10\\/12\\@l{width:83.33333%!important}.gel-11\\/12\\@l{width:91.66667%!important}.gel-1\\/24\\@l{width:4.16667%!important}.gel-5\\/24\\@l{width:20.83333%!important}.gel-7\\/24\\@l{width:29.16667%!important}.gel-11\\/24\\@l{width:45.83333%!important}.gel-13\\/24\\@l{width:54.16667%!important}.gel-17\\/24\\@l{width:70.83333%!important}.gel-19\\/24\\@l{width:79.16667%!important}.gel-23\\/24\\@l{width:95.83333%!important}}@media (min-width:63em){.gel-1\\/1\\@xl{width:100%!important}.gel-1\\/2\\@xl{width:50%!important}.gel-1\\/3\\@xl{width:33.33333%!important}.gel-2\\/3\\@xl{width:66.66667%!important}.gel-1\\/4\\@xl{width:25%!important}.gel-3\\/4\\@xl{width:75%!important}.gel-1\\/5\\@xl{width:20%!important}.gel-2\\/5\\@xl{width:40%!important}.gel-3\\/5\\@xl{width:60%!important}.gel-4\\/5\\@xl{width:80%!important}.gel-1\\/8\\@xl{width:12.5%!important}.gel-3\\/8\\@xl{width:37.5%!important}.gel-5\\/8\\@xl{width:62.5%!important}.gel-7\\/8\\@xl{width:87.5%!important}.gel-1\\/10\\@xl{width:10%!important}.gel-3\\/10\\@xl{width:30%!important}.gel-7\\/10\\@xl{width:70%!important}.gel-9\\/10\\@xl{width:90%!important}.gel-1\\/12\\@xl{width:8.33333%!important}.gel-2\\/12\\@xl{width:16.66667%!important}.gel-5\\/12\\@xl{width:41.66667%!important}.gel-7\\/12\\@xl{width:58.33333%!important}.gel-10\\/12\\@xl{width:83.33333%!important}.gel-11\\/12\\@xl{width:91.66667%!important}.gel-1\\/24\\@xl{width:4.16667%!important}.gel-5\\/24\\@xl{width:20.83333%!important}.gel-7\\/24\\@xl{width:29.16667%!important}.gel-11\\/24\\@xl{width:45.83333%!important}.gel-13\\/24\\@xl{width:54.16667%!important}.gel-17\\/24\\@xl{width:70.83333%!important}.gel-19\\/24\\@xl{width:79.16667%!important}.gel-23\\/24\\@xl{width:95.83333%!important}}@media (min-width:80em){.b-pw-1280 .gel-1\\/1\\@xxl{width:100%!important}.b-pw-1280 .gel-1\\/2\\@xxl{width:50%!important}.b-pw-1280 .gel-1\\/3\\@xxl{width:33.33333%!important}.b-pw-1280 .gel-2\\/3\\@xxl{width:66.66667%!important}.b-pw-1280 .gel-1\\/4\\@xxl{width:25%!important}.b-pw-1280 .gel-3\\/4\\@xxl{width:75%!important}.b-pw-1280 .gel-1\\/5\\@xxl{width:20%!important}.b-pw-1280 .gel-2\\/5\\@xxl{width:40%!important}.b-pw-1280 .gel-3\\/5\\@xxl{width:60%!important}.b-pw-1280 .gel-4\\/5\\@xxl{width:80%!important}.b-pw-1280 .gel-1\\/8\\@xxl{width:12.5%!important}.b-pw-1280 .gel-3\\/8\\@xxl{width:37.5%!important}.b-pw-1280 .gel-5\\/8\\@xxl{width:62.5%!important}.b-pw-1280 .gel-7\\/8\\@xxl{width:87.5%!important}.b-pw-1280 .gel-1\\/10\\@xxl{width:10%!important}.b-pw-1280 .gel-3\\/10\\@xxl{width:30%!important}.b-pw-1280 .gel-7\\/10\\@xxl{width:70%!important}.b-pw-1280 .gel-9\\/10\\@xxl{width:90%!important}.b-pw-1280 .gel-1\\/12\\@xxl{width:8.33333%!important}.b-pw-1280 .gel-2\\/12\\@xxl{width:16.66667%!important}.b-pw-1280 .gel-5\\/12\\@xxl{width:41.66667%!important}.b-pw-1280 .gel-7\\/12\\@xxl{width:58.33333%!important}.b-pw-1280 .gel-10\\/12\\@xxl{width:83.33333%!important}.b-pw-1280 .gel-11\\/12\\@xxl{width:91.66667%!important}.b-pw-1280 .gel-1\\/24\\@xxl{width:4.16667%!important}.b-pw-1280 .gel-5\\/24\\@xxl{width:20.83333%!important}.b-pw-1280 .gel-7\\/24\\@xxl{width:29.16667%!important}.b-pw-1280 .gel-11\\/24\\@xxl{width:45.83333%!important}.b-pw-1280 .gel-13\\/24\\@xxl{width:54.16667%!important}.b-pw-1280 .gel-17\\/24\\@xxl{width:70.83333%!important}.b-pw-1280 .gel-19\\/24\\@xxl{width:79.16667%!important}.b-pw-1280 .gel-23\\/24\\@xxl{width:95.83333%!important}}.mpu_first_slot{margin-left:-8px}.comments{margin:auto}.comments-list__item{list-style-type:none}.story-body+.comments .view-comments-button-wrapper{padding-bottom:32px}.story-contributor{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.story-contributor__image{border-radius:50%;overflow:hidden}.story-contributor__image--quotebox{display:none}.story-contributor__body>span:first-of-type{display:block}.story-body__crosshead,.story-body__heading{font-size:1.5rem;line-height:1.75rem;font-weight:400}.story-body__crosshead{margin-top:2rem;margin-bottom:1.5rem}.story-body__subheading{font-size:1rem;line-height:1.25rem;font-weight:400}.story-body__heading,.story-body__subheading{margin-top:1rem;margin-bottom:1.5rem;padding-top:1rem;overflow:hidden;border-top:2px solid #dbdbdb}.story-body__includes{display:none;display:block}@media only screen and (min-width:600px){.story-body__includes{max-width:70%;margin:0 auto 48px}}.story-body__includes-oppm{display:none;display:block}@media only screen and (min-width:600px){.story-body__includes-oppm{max-width:100%;margin:0 auto 48px}}.newsround-riddle__outer{background-color:#fff;display:block;position:static;width:100%}.newsround-riddle__wrapper{padding:0!important}.newsround-riddle__content{width:100%!important}.story-info{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #dbdbdb}.story-info>span{margin-bottom:4px}.story-info>span:not(:last-child){border-right:1px solid #dbdbdb}.story-info a{text-decoration:none}.story-info a:focus,.story-info a:hover{text-decoration:underline}.story-info__timestamp{color:#5a5a5a}.story-info__timestamp.story-info__timestamp{vertical-align:baseline}.comments-icon{display:none;cursor:pointer;display:inline-block}.story-body p{margin-top:0;margin-bottom:24px}.footer{font-style:italic}.story-body__external-link,.story-body__internal-link{border-bottom:1px solid #dbdbdb;font-weight:700;text-decoration:none;color:#121212}.story-body__external-link:hover,.story-body__internal-link:hover{color:#255aa9;fill:#255aa9}.story-body__external-link .gel-icon svg,.story-body__internal-link .gel-icon svg{display:none;display:inline-block}.story-body>ul{list-style-type:square}.story-body>ol,.story-body>ul{margin-bottom:1.5rem}.story-body>ol li,.story-body>ul li{margin-top:1rem;margin-left:20px;padding-left:4px}ol,ul{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.story-body__media{width:100%}.story-body__media--figure{display:inline-block;margin-left:0;margin-right:0}.story-body__media--lead{width:calc(100% + 24px);margin-left:-8px}@media (min-width:25em){.story-body__media--lead{width:calc(100% + 32px);margin-left:-16px}}@media (min-width:37.5em){.story-body__media--lead{width:120%;margin-left:-10%}}@media (min-width:56.25em){.story-body__media--lead{width:114.28571%;margin-left:0}}.story-body__media__caption--image{background-color:#ededed;color:#5a5a5a}.story-body__media__caption--video{color:#fff;background-color:#121212}.story-body{margin:auto}.top-stories{margin-right:-16px;margin-left:-16px}@media (min-width:56.25em){.top-stories{margin-right:0;margin-left:0}}.component__title{font-size:1.25rem;margin-bottom:1rem;line-height:1.5rem}h3.article-block__title:hover{color:#255aa9;fill:#255aa9;text-decoration:underline}@media (min-width:56.25em){.top-stories{border-left:1px solid #dbdbdb;padding-left:16px}}.box-promo{background:#ededed}.multi-promo__centre{margin-right:-16px;margin-left:-16px}@media (min-width:56.25em){.multi-promo__centre{margin-right:0;margin-left:0}}.multi-thumb-promo--flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-align-content:space-around;-ms-flex-line-pack:distribute;align-content:space-around}@media (max-width:37.49em){.multi-thumb-promo--flex{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}}@media (min-width:37.5em){.multi-thumb-promo--flex{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.oppm-promos__section{margin-right:-16px;margin-left:-16px;padding-bottom:1rem;border-bottom:1px solid #dbdbdb}@media (min-width:56.25em){.oppm-promos__section{margin-right:0;margin-left:0}}.oppm-promos__scores,.oppm-promos__table{padding-left:16px;padding-right:16px}@media (min-width:56.25em){.oppm-promos__scores,.oppm-promos__table{border-left:1px solid #dbdbdb;padding-right:0}}a,abbr[title]{text-decoration:none}.movement{display:block;vertical-align:middle;width:10px;margin:0 auto;border-color:#dbdbdb;border-style:solid;border-width:1px 0}.movement--up{border-color:transparent transparent #44c424;border-width:0 5px 5px}.movement--down,.movement--up{width:0;height:0;border-style:solid}.movement--down{border-color:#d00 transparent transparent;border-width:5px 5px 0}.gs-o-table{width:100%;border-spacing:0;margin-bottom:16px}.gs-o-table__head{background:#f7f7f5}.gs-o-table__cell:first-child{padding-left:8px}.gs-o-table__cell{border-bottom:1px solid #ededed;padding:8px 4px;text-align:center}.gs-o-table__cell--left{text-align:left}.gs-o-table__cell--right{text-align:right}.gs-o-table__cell--break{border-top:1px dashed #252525}.component__footer-link{display:block;color:#121212}.component__footer-link:hover{color:#255aa9}.story-body__table tfoot,.story-body__table thead{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:400}@media (min-width:20em){.story-body__table tfoot,.story-body__table thead{line-height:18px;line-height:1.125rem}}@media (min-width:37.5em){.no-touch .story-body__table tfoot,.no-touch .story-body__table thead,.story-body__table .no-touch tfoot,.story-body__table .no-touch thead{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.story-body__table tbody{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:400}@media (min-width:37.5em){.story-body__table tbody{line-height:20px;line-height:1.25rem}.no-touch .story-body__table tbody,.story-body__table .no-touch tbody{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.story-body__table thead{background:#f5f5f5}.story-body__table thead .table__cell{border-bottom:1px solid #dbdbdb;padding-top:16px;padding-bottom:4px;vertical-align:bottom}.story-body__table tbody td,.story-body__table tfoot td,.story-body__table thead th{border-bottom:1px solid #eee;padding:8px 4px;text-align:center}.story-body__table tbody td:first-child,.story-body__table tfoot td:first-child,.story-body__table thead th:first-child{padding-left:8px}.story-body__table tbody td:last-child,.story-body__table tfoot td:last-child,.story-body__table thead th:last-child{padding-right:8px}.story-body__table tbody tr:focus,.story-body__table tbody tr:hover{background-color:#f5f5f5;color:#1c2d3d}.table__header--mixed{font-weight:400}.table__header--bold{font-weight:700}.story-body__table{width:100%;border-collapse:collapse;margin-bottom:16px}.story-body__table thead th{text-align:left;border-bottom:1px solid #dcdcdc;padding-top:16px;padding-bottom:4px;vertical-align:bottom}.story-body__table tfoot td{font-weight:700;text-align:left}.story-body__table tbody td{text-align:left}.story-body__table tbody td ol,.story-body__table tbody td ul{list-style-position:inside}.include-box{margin-bottom:2rem;padding-bottom:.1rem;background-color:#f7f7f5}@media (min-width:37.5em){.include-box{float:right;clear:both;width:38%;margin-right:0;margin-bottom:1.5rem;margin-left:16px;padding-bottom:0}}@media (min-width:56.25em){.include-box{width:41%;margin-right:4px}}.include-box__pullout{padding:.75rem;border-top:4px solid #ffd230;color:#212121}.include-box__pullout_heading{letter-spacing:normal;margin-bottom:0;padding-bottom:1rem}@media (min-width:37.5em){.include-box__pullout_heading{font-size:1.25rem;line-height:1.5rem}}.include-box__pullout_heading_no_contributor{border-bottom:1px solid #dbdbdb;margin-bottom:1rem}.include-box__pullout_image{display:block;width:100%}.include-box__pullout_list{margin-bottom:1.5rem;list-style-type:square}.include-box__pullout_list-item{margin-top:1rem}.include-box__pullout_list-first-item,.include-box__pullout_list-item{margin-left:20px;padding-left:4px}.include-box__pullout_table{width:100%;overflow-y:auto}.sp-pull-quote{margin:0;padding:.75rem;border-left:2px solid #ffd230;color:#212121}@media (min-width:37.5em){.sp-pull-quote{margin-left:0;border-left-width:4px}}.sp-pull-quote__icon{margin-bottom:1rem;line-height:1;width:2rem;height:2rem}@media (min-width:37.5em){.sp-pull-quote__icon{width:2.5rem;height:2.5rem}}.include-box__pullout .sp-pull-quote__icon{margin-top:1rem}.sp-pull-quote__body{margin-bottom:1rem;font-size:1.25rem;line-height:1.5rem;font-family:ReithSerif}.sp-story-body .sp-pullout p{margin-bottom:1.5rem}.sp-pull-quote__cite-name{font-style:normal}.sp-pull-quote__cite-name,.sp-pull-quote__cite-profession{display:block;color:#212121}</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.comments-styleguide__section{background-color:#ededed;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{margin-bottom:32px;padding:16px}.comments-styleguide__heading{background-color:#fdd92e;margin-left:-16px;margin-right:-16px;padding:16px}.comments-styleguide__heading:first-of-type{margin-top:-16px}.comments-styleguide__heading,.comments-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.comments-styleguide__heading,.comments-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .comments-styleguide__heading,.no-touch .comments-styleguide__subheading{font-size:20px;font-size:1.25rem}}.comments-styleguide .comments__idcta-btn .id5-cta__button{font-size:18px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin{background-color:#006def;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 32 32%27 fill=%27white%27%3E%3Ctitle%3Esign-in%3C/title%3E%3Cpath d=%27M9.8,17.3A6.2,6.2,0,1,1,16,23.4a6.2,6.2,0,0,1-6.2-6.2M22.2,26l2.4,4.9A16,16,0,1,0,0,17.3,16.3,16.3,0,0,0,7.4,30.9L9.9,26Z%27/%3E%3C/svg%3E%0A");background-position:8px center;background-repeat:no-repeat;color:#fff;display:inline-block;padding:8px;padding-left:32px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin:hover{background-color:#005bc8}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register{padding-bottom:4px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register:hover{border-bottom:1px solid #005bc8;color:#005bc8}.comments-styleguide .comments__idcta-msg{display:inline-block;margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments-styleguide__white-background{background-color:#fff;border:1px dotted #000;margin-top:4px;padding:16px}.comments .comment__hidden-text{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.comments-no-js-message{background-color:#e4134f;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments-no-js-message a{color:#fff}.comments--no-js .comments__comments-sort,.comments--no-js .comments__more-comments-button,.comments--no-js .comment__reply-button{display:none !important}.comments .alert-icon{fill:#000;padding-right:2px}.comments .to-top-icon{fill:#222}.comments .more-icon-vertical{height:0;padding-bottom:100%;position:relative;width:100%}.comments .more-icon-vertical svg{height:100%;left:0;position:absolute;top:0;width:100%}.comments .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-total{margin-top:16px}.comments .comments-sort{display:-webkit-flex;display:flex;align-items:center}.comments .comments-sort .comments-sort__label{font-weight:bold;padding-right:10px}.comments .comments-sort .comments-sort__dropdown{display:-webkit-flex;display:flex;align-items:center;color:#222;flex-direction:row}.comments .comments-sort .comments-sort__dropdown .comments-sort__select{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;background:inherit;border:1px solid #222;border-radius:0;color:inherit;cursor:inherit;font:inherit;padding:2px 8px;padding-right:28px;text-decoration:inherit}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:hover{cursor:pointer}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:focus{cursor:pointer;outline:3px solid #006def;outline-offset:0}.comments .comments-sort .comments-sort__dropdown .comments-sort__select::-ms-expand{display:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:-moz-focusring{color:transparent;text-shadow:0 0 0 #222}.comments .comments-sort .comments-sort__dropdown .comments-sort__select option{color:#222;font:inherit;font-weight:normal}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:hover,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:focus{border-color:#b2b2b2;color:#b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:-moz-focusring{color:transparent;text-shadow:0 0 0 #b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon{display:flex;margin-left:-24px;margin-right:8px;pointer-events:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .down-arrow{fill:#222;height:14px;width:14px}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .loading-spinner{fill:#006def;width:14px}.comments .comments-button{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:500;padding:8px;text-align:center}.comments .comments-button[disabled]{background-color:#dbdbdb;color:#222;font-weight:normal}.comments .comments-button:hover:enabled{background-color:#005bc8}.comments .comments-button--full-width{width:100%}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments .comments__back-to-top-link{color:#222;font-weight:normal}.comments .comments__back-to-top-link .to-top-icon{margin-left:4px}.comments .comments__back-to-top-link:hover{text-decoration:underline}.comments a{color:#006def;font-weight:bold;text-decoration:none}.comments b{font-weight:bold}.comments em{font-style:italic}.comments .comments__header{background-color:#fff;border-radius:4px;margin-bottom:24px;padding:16px 8px}@media (min-width: 37.5em){.comments .comments__header{padding:16px}}.comments .comments__header .comments-error-message{background-color:#e4134f;color:#fff}.comments .comments__header .comments__heading-wrapper{margin-bottom:16px}.comments .comments__header .comments__heading-module-title{color:#525252;font-size:1.1em;font-weight:bold;line-height:20px;margin-bottom:8px}.comments .comments__header .comments__heading-title{color:#000;font-size:1.4em;font-weight:bold;padding-right:40px}.comments .comments__header .comments__signin--prompt{font-size:1.1em}.comments .comments__header .comments__idcta-msg{font-size:1.2em}.comments .comments__header .comments__heading-title-text{line-height:1.2em;padding:2px 6px 6px 0}.comments .comments__header .comments__message--user-ineligible{font-size:1.1em;line-height:1.4em;margin-bottom:8px}.comments .comments-moderation__rules-msg{margin-top:8px}.comments .comments-moderation__rules-msg :link,.comments .comments-moderation__rules-msg :visited{color:#000}.comments .comments-moderation__rules-msg :link:hover,.comments .comments-moderation__rules-msg :link:focus,.comments .comments-moderation__rules-msg :visited:hover,.comments .comments-moderation__rules-msg :visited:focus{text-decoration:underline}.comments .comments__signin--prompt{margin-bottom:16px}.comments .comments__message{font-style:italic;margin-bottom:8px}.comments .comments__message--closed-forum{font-style:normal}.comments .comments__input{padding-bottom:8px}.comments .comments__input-area{margin-bottom:16px}@media only screen and (min-width: 480px){.comments .comments__input-area{border:1px solid #5a5a5a;border-radius:2px}}.comments .comments__cancel-link{background-color:transparent;border:0;color:#000;cursor:pointer;font-family:inherit;font-size:1em;font-weight:bold;margin-left:16px}.comments .comments__submit-button{margin-bottom:8px}.comments .comments__display-name{color:#000;font-weight:bold;overflow-wrap:break-word;word-wrap:break-word}.comments .comments__display-name:hover,.comments .comments__display-name:focus{text-decoration:underline}.comments .comments__text-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:transparent;color:#666}@media (min-width: 20em){.comments .comments__text-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}@media only screen and (max-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;padding-bottom:8px;padding-right:2px;padding-top:13px}}@media only screen and (min-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;margin-right:18px;margin-top:-24px;position:relative}}.comments .comments__text-limit--over-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;color:#e4134f}@media (min-width: 20em){.comments .comments__text-limit--over-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit--over-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comments__footer{padding:8px 8px 24px;text-align:center}@media (min-width: 37.5em){.comments .comments__footer{padding:16px 16px 32px}}.comments .comments__footer.comments__footer--no-comments{padding:0}@media (min-width: 37.5em){.comments .comments__footer.comments__footer--no-comments{padding-bottom:8px}}.comments .comments__more-comments-button{margin-bottom:44px}.comments .comments__show-new-comments-container{position:-webkit-sticky;position:sticky;top:-2px;z-index:10}.comments .comments-snc-button{background-color:#fff;color:#006def}.comments .comments-snc-button[disabled]{color:#006def}.comments .comments-snc-button:hover:enabled{background-color:#006def;color:#fff}.comments .comments-snc-button:active:enabled{background-color:#005bc8;color:#fff}.comments .comments-snc-button--full-width{width:100%}.comments .gel-icon--refresh{height:16px;margin-right:8px;margin-top:3px;vertical-align:text-top;width:16px}.comments .comments__comments-total-and-sort-area{display:-webkit-flex;display:flex;align-items:center;border-top:1px solid #222;margin-top:16px}.comments .comments__comments-total{flex-grow:1}.comments .comments__comments-sort{padding-top:16px}.comments .comments--border{border:1px solid #e5e5e5}.comments .comments--shadow{box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2)}.comments .comments__idcta-btn .id4-cta,.comments .comments__idcta-msg .id4-cta{padding:0 !important}.comments .comments__idcta-msg{margin-bottom:16px}.comments .comments__idcta-msg .id5-cta.id4-cta-size-medium{line-height:inherit}.comments .comments-list{margin-top:24px}.comments .comments-list__item{padding-bottom:24px}.comments .comments-list__item--entering-list{opacity:0;transition:opacity 2s}.comments .comments-list__item--entering-list.comments-list__item--entered-list{opacity:1}.comments :not(.comments-list__item--entering-list) ~ .comments-list__item--entering-list{opacity:1;transition:none}.comments .comments-body-anchor{display:block;height:0;position:relative;top:0;visibility:hidden}.comments .comments-input-box{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-overflow-y:auto;-webkit-transition:height .5s ease-in-out, min-height .5s ease-in-out;background-color:#fff;color:#222;display:block;font-family:inherit;min-height:1.25em;overflow-y:auto;resize:none;transition:height .5s ease-in-out, min-height .5s ease-in-out;transition-delay:.2s;width:100%}.comments .comments-input-box--has-input{min-height:62px}.mozart-iframe-height-target .comments .comments-input-box{-webkit-transition:none;transition:none}@media only screen and (min-width: 480px){.comments .comments-input-box{border:0;padding-bottom:10px;padding-left:10px;padding-right:85px;padding-top:10px}}@media only screen and (max-width: 480px){.comments .comments-input-box{border:1px solid #5a5a5a;border-radius:2px;padding:8px}}.comments .comments-input-box:focus{-webkit-appearance:none;box-shadow:0 0 0 3px #006def;min-height:62px;outline:none}.comments .comment{background-color:#fff;border:1px solid #e5e5e5;border-radius:4px 4px 4px 0;box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2);padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment{padding:16px}}.comments .comment::before{background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(0 4px 1px rgba(0,0,0,0.02))}.comments .comment::after{background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(0 2px 0 rgba(0,0,0,0.06))}.comments .comment--distress{background-color:#ededed;margin-top:10px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment--has-footer{padding-bottom:16px}.comments .comment--by-current-user{border-radius:4px 4px 0}.comments .comment--by-current-user::before{background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(-4px 4px 1px rgba(0,0,0,0.02));left:auto;right:-7px;transform:scale(-1, 1)}.comments .comment--by-current-user::after{background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(-2px 2px 1px rgba(0,0,0,0.06));left:auto;right:-7px;transform:scale(-1, 1)}@supports (-ms-ime-align: auto){@media (min-width: 768px){.comments .comment--by-current-user::before{right:-8px}.comments .comment--by-current-user::after{right:-8px}}}.comments .comment__content{background-color:inherit}.comments .comment__avatar{background-color:inherit}.comments .comment__avatar+.comment__username-and-posted-date{background-color:inherit;padding-left:8px}.comments .comment__header{display:-webkit-flex;display:flex;align-items:center;background-color:inherit}.comments .comment__title{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:block;word-break:break-all;word-wrap:break-word}@media (min-width: 37.5em){.comments .comment__title{line-height:20px;line-height:1.25rem}.no-touch .comments .comment__title{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment__user-description{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#666;display:block}@media (min-width: 20em){.comments .comment__user-description{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__user-description{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__posted-date{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#666}@media (min-width: 20em){.comments .comment__posted-date{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__posted-date{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__body{margin-top:8px}.comments .comment__footer{margin-top:8px}.comments .comment__toolbar{display:-webkit-flex;display:flex;flex-direction:column-reverse}.comments .comment__toolbar-section{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;min-height:32px}.comments .comment__toolbar-section--right{justify-content:flex-end;margin-left:auto;position:relative;top:8px}.comments .comment__text{overflow-wrap:break-word;word-wrap:break-word}.comments .comment__text a{font-weight:normal}.comments .comment__text a:hover,.comments .comment__text a:focus{text-decoration:underline}.comments .comment__display-name-moderation-warning{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;display:block;font-weight:normal;text-decoration:underline}@media (min-width: 20em){.comments .comment__display-name-moderation-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__display-name-moderation-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__links-toggle{-webkit-appearance:none;background-color:transparent;border:0;border-radius:0;height:32px;margin-right:-8px;padding:0 6px;width:24px;z-index:1}.comments .comment__links-toggle .more-icon-vertical{vertical-align:middle}.comments .comment__links-toggle:hover .more-icon-vertical{fill:#006def}@media (hover: none){.comments .comment__links-toggle:not(.comment__links-toggle--enabled):hover .more-icon-vertical{fill:inherit}}.comments .comment__links-toggle--enabled .more-icon-vertical{fill:#006def}.comments .comment__action-tray{margin-top:8px;text-align:right}@media (min-width: 37.5em){.comments .comment__action-tray{margin-top:16px}}.comments .comment__action-tray .action-links{border-top:1px solid #5a5a5a;padding:12px 0}.comments .comment__action-tray .action-links:last-child{padding-bottom:0}.comments .comments-error-message{color:#222;font-weight:bold;margin-bottom:16px;padding:16px}.comments .comments-success-message{background-color:#ededed;color:#222;margin-bottom:16px;overflow:hidden;padding:8px}.comments .comments-success-message .comments-success-message-icon{float:left;height:20px;margin:1px 8px 8px 0;width:20px}.comments .comments-success-message .comments-success-message-icon .tick-icon{fill:#008a0b;margin-top:3px}.comments .comments-success-message .comments-success-message-text{margin-top:2px;overflow:hidden}.comments .comment-rating{white-space:nowrap}.comments .comment-rating__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#222;padding:0}.comments .comment-rating__button:disabled .comment-rating__button-icon svg{fill:#666}.comments .comment-rating__button .comment-rating__button-icon .fill{opacity:0;transition:opacity 300ms}.comments .comment-rating__button .loading-spinner,.comments .comment-rating__button .fill{fill:#2866f6}.comments .comment-rating__button:hover:not(:disabled),.comments .comment-rating__button:focus:not(:disabled){cursor:pointer}.comments .comment-rating__button:hover:not(:disabled) .comment-rating__button-icon .fill,.comments .comment-rating__button:focus:not(:disabled) .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button--number-placement-right{padding-right:4px}.comments .comment-rating__button--number-placement-left{padding-left:4px}@keyframes shrink{from{transform:scale(1.2)}to{transform:scale(1)}}.comments .comment-rating__button--posted:hover:not(:disabled){cursor:default}.comments .comment-rating__button--posted .comment-rating__button-icon{animation:shrink 300ms ease-in-out;transform:scale(1);will-change:transform}.comments .comment-rating__button--posted .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button-number{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px !important}@media (min-width: 37.5em){.comments .comment-rating__button-number{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-rating__button-number{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-rating__button-icon{display:inline-block;fill:#222;height:32px;margin:0 4px;position:relative;vertical-align:top;width:16px}.comments .comment-rating__button-icon svg{height:16px;left:0;margin-top:-8px;position:absolute;top:50%;width:16px}@media (min-width: 37.5em){.comments .action-links--forum-links{text-align:right}}.comments .action-links__item{display:block}@media (min-width: 25em){.comments .action-links__item{display:inline-block}}.comments .action-links__item--with-separator{padding-left:16px}.comments .action-links__item--with-separator::before{color:#aeaeae;content:'|';left:-8px;position:relative;top:0}.comments .action-link{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px}@media (min-width: 37.5em){.comments .action-link{line-height:20px;line-height:1.25rem}.no-touch .comments .action-link{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .action-link:hover{text-decoration:none}.comments .action-link:hover .action-link__text{text-decoration:underline}.comments .action-link .alert-icon{fill:#006def}.comments .action-link__icon{display:inline-block;margin-right:4px}.comments .comments-loading{align-items:stretch;display:-webkit-inline-flex;display:inline-flex;margin-bottom:44px;padding:16px 0}.comments .comments-loading__text{color:#222;font-weight:bold;margin-left:8px}.comments .comments-loading__icon{line-height:10px}.comments .comment-tooltip{display:block;position:absolute;top:16px;width:304px}@media (min-width: 37.5em){.comments .comment-tooltip{width:320px}}.comments .comment-tooltip .alert-icon{fill:#515151;padding-right:4px;vertical-align:middle}.comments .comment-tooltip__pointer{display:inline-block;height:0;left:0;line-height:0;margin-left:5px;margin-top:-2px;pointer-events:none;position:relative;top:0;vertical-align:top;width:24px;z-index:81}.comments .comment-tooltip__pointer::after,.comments .comment-tooltip__pointer::before{border-color:transparent transparent #fff;border-style:solid;border-width:11px;content:'';left:0;position:absolute;top:0}.comments .comment-tooltip__pointer::before{border-color:transparent transparent #a9a9a9;border-width:12px;top:-1px}.comments .comment-tooltip__pointer::after{left:1px;top:2px}.comments .comment-tooltip__inner{background-color:#fff;border:1px solid #a9a9a9;box-shadow:1px 1px 5px rgba(50,50,50,0.1);clear:both;color:#515151;cursor:default;left:0;position:relative;top:0;z-index:80}.comments .comment-tooltip__subtitle{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin:0;padding:16px 32px 16px 16px}@media (min-width: 20em){.comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment-tooltip__subtitle{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment-tooltip__subtitle--alert{padding-bottom:8px}.comments .comment-tooltip__body{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;padding:0 16px 16px 16px}@media (min-width: 37.5em){.comments .comment-tooltip__body{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-tooltip__body{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-tooltip__body .comments__idcta-btn{margin-bottom:0}.comments .comment-tooltip__close{background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;z-index:81}.comments .comment-tooltip__close:hover,.comments .comment-tooltip__close:active,.comments .comment-tooltip__close:focus{background-color:transparent;line-height:4px;text-decoration:none}.comments .comment-tooltip__close:hover .comment-tooltip__close-icon,.comments .comment-tooltip__close:active .comment-tooltip__close-icon,.comments .comment-tooltip__close:focus .comment-tooltip__close-icon{background-color:#ebebeb}.comments .comment-tooltip__close-icon{display:block;margin:8px;padding:4px}.comments .tooltip-launcher{position:relative}.comments .tooltip-launcher__children{display:inline-block}.comments .comment--distress{background-color:#f5f5f5;margin-top:10px;padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment__distress-message-product-flag{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin-bottom:8px}@media (min-width: 20em){.comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment__distress-message-product-flag{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment__distress-message-username{display:inline-block;font-weight:bold}.comments .comment__product-flag-default,.comments .comment__product-flag-default .comment__distress-message-logo{display:none}.comments .comment__reply-button{margin-top:6px;position:absolute;z-index:5}.comments .comments-list__item-reply{padding-bottom:0}.comments .comments-list__item-reply::before{border-top:1px solid #5a5a5a;content:'';display:block;margin:12px;margin-right:0}@media (min-width: 37.5em){.comments .comments-list__item-reply::before{margin-bottom:16px;margin-left:16px;margin-top:16px}}.comments .comments-list__item-reply:first-child::before{display:none}.comments .comment--reply{border:0;box-shadow:none;padding-bottom:0;padding-right:0;padding-top:0}.comments .comment--reply::before,.comments .comment--reply::after{content:none}@media (max-width: 480px){.comments .reply-input{padding-bottom:12px}}@media (max-width: 480px){.comments .reply-input-buttons-wrapper{padding-top:36px}}.comments .reply-separator{border-bottom:1px solid #5a5a5a;margin-bottom:12px;margin-top:12px}@media (min-width: 37.5em){.comments .reply-separator{margin-bottom:16px;margin-top:16px}}.comments .replies-separator{border-top:1px solid #5a5a5a;margin-top:12px;padding-top:12px}@media (min-width: 37.5em){.comments .replies-separator{margin-top:16px;padding-top:16px}}.comments .replies-list-reply-open{margin-top:0}.comments .replies{border-left:2px solid #006def}.comments .reply-input-hidden{display:none}.comments .reply{border-left:2px solid #006def;margin-top:12px;padding-left:12px}@media (min-width: 37.5em){.comments .reply{padding-left:16px}}.comments .reply .reply__signin{background-color:#f5f5f5;padding:16px}.comments .reply .reply__signin .reply__signin--prompt{padding-bottom:12px;padding-top:4px}.comments .reply .reply__signedin{background-color:#f5f5f5;padding:0 8px}.comments .reply .reply__signedin a{color:#006def;font-weight:normal}.comments .reply .reply__signedin a:hover{text-decoration:underline}.comments .reply .reply__signedin .reply__signedin-ineligible{padding:0 8px}.comments .reply .reply__signedin .reply__signedin-ineligible span{font-size:.8em !important}.comments .reply .reply__signedin .reply__signedin-ineligible span a{font-weight:bold}.comments .reply .reply__signedin .reply__signedin-eligible{padding:12px 8px 0}.comments .reply .reply__signedin .reply__signedin-eligible .reply__signedin-eligible-header{font-weight:bold;padding-bottom:16px;padding-top:6px;word-break:break-all;word-wrap:break-word}.comments .reply .comments-success-message{background-color:transparent;border-top:1px solid #5a5a5a;padding:0;padding-top:16px}.comments .reply .comments-error-message{background-color:#e4134f;color:#fff}.comments .reply-to-reply{border-left:0;padding-left:0}.comments .reply-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;line-height:32px;padding-left:0}.comments .reply-button .reply-button__text{font-weight:bold}.comments .reply-button .reply-button__icon{margin-right:6px;position:relative;top:2px}.comments .reply-button .reply-button__icon .reply-button__icon-gel{height:13px;width:13px}.comments .reply-button:hover,.comments .reply-button:focus{color:#005bc8}.comments .reply-button:hover .reply-button__text,.comments .reply-button:focus .reply-button__text{text-decoration:underline}.comments .reply-snippet{margin:12px 0;word-break:break-word}@media (min-width: 37.5em){.comments .reply-snippet{margin:16px 0}}.comments .reply-snippet .reply-snippet-button{background:none;border:0;font:inherit;text-align:left}.comments .reply-snippet .reply-snippet__control{display:-webkit-flex;display:flex;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;align-items:center;line-height:18px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__control{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__control{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--prelink{color:#666;font-style:italic}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--link{display:-webkit-flex;display:flex;color:#006def;cursor:pointer;font-weight:bold;padding-left:5px}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--link .reply-snippet__control--msg-short{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments .reply-snippet .reply-snippet__show-content{background-color:#f5f5f5;line-height:24px;margin-top:8px;padding:16px 12px;width:100%}.comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;font-size:15px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-more-replies{border-top:1px solid #5a5a5a;margin-top:16px;padding-top:12px}.comments .reply-more-replies .reply-more-replies__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;padding-left:0}.comments .reply-more-replies .reply-more-replies__button .loading-spinner,.comments .reply-more-replies .reply-more-replies__button .fill{fill:#006def}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__text{font-weight:bold;margin-right:4px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon{position:relative;top:1px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel{height:13px;stroke:#006def;stroke-width:1px;width:13px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel-spin{height:14px;margin-right:0;margin-top:0;width:14px}.comments .reply-more-replies .reply-more-replies__button:hover,.comments .reply-more-replies .reply-more-replies__button:focus{color:#005bc8}.comments .reply-more-replies .reply-more-replies__button:hover .reply-more-replies__text,.comments .reply-more-replies .reply-more-replies__button:focus .reply-more-replies__text{text-decoration:underline}.comments .comments-sort-error{display:-webkit-flex;display:flex;background-color:#fff;margin-bottom:8px;padding:8px}@media (min-width: 37.5em){.comments .comments-sort-error{padding:16px}}.comments .comments-sort-error .comments-sort-error__icon svg{fill:#e4134f;height:20px;width:20px}.comments .comments-sort-error .comments-sort-error__message{padding-left:4px}@media (min-width: 37.5em){.comments .comments-sort-error .comments-sort-error__message{padding-left:8px}}.comments .contributor-avatar{background-color:inherit;display:flex}.comments .contributor-avatar .contributor-avatar__letter{align-items:center;background:#949494;border-radius:25px;color:#fff;display:flex;font-size:24px;font-weight:500;height:48px;justify-content:center;line-height:normal;vertical-align:middle;width:48px}.comments .contributor-avatar .contributor-avatar__letter--current{background:#006def}.comments .contributor-avatar .contributor-avatar__image{background-color:inherit;height:48px;position:absolute;width:48px;z-index:5}.comments .collapsible-panel .collapsible-panel__title{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:inherit;cursor:pointer;margin:-5px;padding:5px}.comments .collapsible-panel .collapsible-panel__title:hover,.comments .collapsible-panel .collapsible-panel__title:focus{text-decoration:underline}.comments .collapsible-panel .collapsible-panel__title--disabled{cursor:initial}.comments .collapsible-panel .collapsible-panel__title--disabled:hover,.comments .collapsible-panel .collapsible-panel__title--disabled:focus{text-decoration:none}.comments .collapsible-panel .collapsible-panel__content{border-top:1px solid #5a5a5a;margin-top:12px;padding-top:12px}@media (min-width: 37.5em){.comments .collapsible-panel .collapsible-panel__content{margin-top:16px;padding-top:16px}}.comments .username{font-weight:bold}.view-comments-button-wrapper{display:block}.view-comments-button-wrapper-hidden{display:none}.view-comments-button-wrapped-component{display:block}.view-comments-button-wrapped-component-hidden{display:none}.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{left:8px;position:relative}@media (min-width: 25em){.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{margin-bottom:24px}}.comments-theme-variant--childrens .comments__header .comments__heading-module-title{background-color:#d31c70;box-shadow:1px 1px 0 0 rgba(0,0,0,0.5);color:#fff;display:inline-block;font-size:.9em;left:-5px;margin-bottom:0;padding:2px 6px;position:relative;z-index:2}.comments-theme-variant--childrens .comments__header .comments__heading-title{color:#fff;font-weight:800;position:relative;white-space:pre-wrap;z-index:1}.comments-theme-variant--childrens .comments__header .comments__heading-title-text{background-color:#28215b;box-shadow:-5px 0 0 0 #28215b;line-height:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__heading-title-text{font-size:1.2em}}.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.5em}}.comments-theme-variant--childrens .comments__more-comments-button{border-bottom:4px #005b87 solid;border-radius:4px;border-top:0;padding:12px 16px}.comments-theme-variant--childrens .comments__more-comments-button:hover,.comments-theme-variant--childrens .comments__more-comments-button:active{border-bottom-width:2px;margin-top:2px;text-decoration:underline}.comments-theme-variant--childrens .comment{border-radius:8px 8px 8px 0}.comments-theme-variant--childrens .comment--by-current-user{border-radius:8px 8px 0}.comments-theme-variant--childrens .comment-rating__button .loading-spinner,.comments-theme-variant--childrens .comment-rating__button .fill{fill:#e63f23}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message{display:-webkit-flex;display:flex;-moz-align-items:center;-ms-align-items:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}}.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{float:none;margin:0 8px 8px 0;min-height:40px;min-width:40px}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{-moz-align-self:flex-start;-ms-align-self:flex-start;-webkit-align-self:flex-start;align-self:flex-start;margin-bottom:0}}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-text{display:-webkit-flex;display:flex;margin-top:0}}.comments-theme-variant--childrens:not(.comments__product--default) .comment--distress{padding-top:40px}.comments-theme-variant--childrens .comment__distress-message-product-flag{left:-6px;position:absolute;top:8px}.comments-theme-variant--childrens .comment__distress-message-product-flag::after{border-left:6px solid transparent;border-top:6px solid;content:'';height:0;left:0;position:absolute;top:24px;width:0}.comments-theme-variant--childrens .comment__product-flag-comment::after,.comments-theme-variant--childrens .comment__product-flag-reply::after{border-left:0;border-right:6px solid transparent;left:auto;right:-1px;top:31px}.comments-theme-variant--childrens .comment__product-flag-comment{left:auto;right:-6px;top:-2px}.comments-theme-variant--childrens .comment__product-flag-reply{left:auto;right:-18px;top:0}@media (min-width: 37.5em){.comments-theme-variant--childrens .comment__product-flag-reply{right:-22px}}.comments-theme-variant--childrens .comment__distress-message-username{background-color:#28215b;color:#fff;height:24px;line-height:24px;padding:0 10px 0 32px}.comments-theme-variant--childrens .comment__distress-message-logo{align-items:center;display:flex;height:24px;justify-content:center;left:0;padding:3px;position:absolute;width:24px;z-index:10}.comments-theme-variant--childrens .comment__product-logo{height:32px;left:auto;right:-1px;top:-1px;width:32px}.comments-theme-variant--childrens .comment__product-logo svg{height:24px;width:24px}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-username{background-color:#1a3f8c}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-logo{background-color:#153371}.comments-theme-variant--childrens .comment__product-flag-cbbc::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-username{background-color:#ffe514;color:#222}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-logo{background-color:#f1d911}.comments-theme-variant--childrens .comment__product-flag-cbeebies::after{border-top-color:#ccb80d}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-username{background-color:#1a3f8c;color:transparent;min-width:90px;padding:0 0 0 32px}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo{background-color:#153371;display:block;padding:0}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo svg{height:100%;left:5px;position:relative}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__product-logo svg{left:0;width:32px}.comments-theme-variant--childrens .comment__product-flag-ownit::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-username{background-color:#431588;color:#fff}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo{background-color:#551bab}.comments-theme-variant--childrens .comment__product-flag-newsround::after{border-top-color:#431588}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-username{background-color:#7a31e5;color:#fff;font-size:15px}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-logo{background-color:#7a31e5;padding:0}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-logo svg{height:100%;width:100%}.comments-theme-variant--childrens .comment__product-flag-nightfall::after{border-top-color:#b079ff}.view-comments-button--hidden{display:none}.view-comments-button-container{margin-bottom:24px}@media (min-width: 37.5em){.view-comments-button-container{margin-bottom:32px}}.view-comments-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#ededed;color:#000;cursor:pointer;font-size:16px;font-weight:bold;outline-offset:4px;padding:4px 8px;position:relative}.view-comments-button:hover,.view-comments-button:focus{background-color:#dbdbdb}.view-comments-button::before{bottom:-7px;content:'';left:0;min-height:44px;min-width:44px;position:absolute;right:0;top:-7px}.view-comments-button__icon{margin-right:8px;position:relative;top:1px}.view-comments-button__icon .view-comments__icon-gel{height:13px;width:13px}.view-comments-button__count{border-left:1px solid #000;margin-left:8px;padding-left:8px} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-comments-view/3.56.1"]=true; Morph.styleSrc.push("<style>.comments-styleguide__section{background-color:#ededed;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{margin-bottom:32px;padding:16px}.comments-styleguide__heading{background-color:#fdd92e;margin-left:-16px;margin-right:-16px;padding:16px}.comments-styleguide__heading:first-of-type{margin-top:-16px}.comments-styleguide__heading,.comments-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.comments-styleguide__heading,.comments-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .comments-styleguide__heading,.no-touch .comments-styleguide__subheading{font-size:20px;font-size:1.25rem}}.comments-styleguide .comments__idcta-btn .id5-cta__button{font-size:18px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin{background-color:#006def;background-image:url(\"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 32 32%27 fill=%27white%27%3E%3Ctitle%3Esign-in%3C/title%3E%3Cpath d=%27M9.8,17.3A6.2,6.2,0,1,1,16,23.4a6.2,6.2,0,0,1-6.2-6.2M22.2,26l2.4,4.9A16,16,0,1,0,0,17.3,16.3,16.3,0,0,0,7.4,30.9L9.9,26Z%27/%3E%3C/svg%3E%0A\");background-position:8px center;background-repeat:no-repeat;color:#fff;display:inline-block;padding:8px;padding-left:32px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin:hover{background-color:#005bc8}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register{padding-bottom:4px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register:hover{border-bottom:1px solid #005bc8;color:#005bc8}.comments-styleguide .comments__idcta-msg{display:inline-block;margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments-styleguide__white-background{background-color:#fff;border:1px dotted #000;margin-top:4px;padding:16px}.comments .comment__hidden-text{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.comments-no-js-message{background-color:#e4134f;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments-no-js-message a{color:#fff}.comments--no-js .comments__comments-sort,.comments--no-js .comments__more-comments-button,.comments--no-js .comment__reply-button{display:none !important}.comments .alert-icon{fill:#000;padding-right:2px}.comments .to-top-icon{fill:#222}.comments .more-icon-vertical{height:0;padding-bottom:100%;position:relative;width:100%}.comments .more-icon-vertical svg{height:100%;left:0;position:absolute;top:0;width:100%}.comments .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-total{margin-top:16px}.comments .comments-sort{display:-webkit-flex;display:flex;align-items:center}.comments .comments-sort .comments-sort__label{font-weight:bold;padding-right:10px}.comments .comments-sort .comments-sort__dropdown{display:-webkit-flex;display:flex;align-items:center;color:#222;flex-direction:row}.comments .comments-sort .comments-sort__dropdown .comments-sort__select{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;background:inherit;border:1px solid #222;border-radius:0;color:inherit;cursor:inherit;font:inherit;padding:2px 8px;padding-right:28px;text-decoration:inherit}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:hover{cursor:pointer}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:focus{cursor:pointer;outline:3px solid #006def;outline-offset:0}.comments .comments-sort .comments-sort__dropdown .comments-sort__select::-ms-expand{display:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:-moz-focusring{color:transparent;text-shadow:0 0 0 #222}.comments .comments-sort .comments-sort__dropdown .comments-sort__select option{color:#222;font:inherit;font-weight:normal}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:hover,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:focus{border-color:#b2b2b2;color:#b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:-moz-focusring{color:transparent;text-shadow:0 0 0 #b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon{display:flex;margin-left:-24px;margin-right:8px;pointer-events:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .down-arrow{fill:#222;height:14px;width:14px}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .loading-spinner{fill:#006def;width:14px}.comments .comments-button{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:500;padding:8px;text-align:center}.comments .comments-button[disabled]{background-color:#dbdbdb;color:#222;font-weight:normal}.comments .comments-button:hover:enabled{background-color:#005bc8}.comments .comments-button--full-width{width:100%}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments .comments__back-to-top-link{color:#222;font-weight:normal}.comments .comments__back-to-top-link .to-top-icon{margin-left:4px}.comments .comments__back-to-top-link:hover{text-decoration:underline}.comments a{color:#006def;font-weight:bold;text-decoration:none}.comments b{font-weight:bold}.comments em{font-style:italic}.comments .comments__header{background-color:#fff;border-radius:4px;margin-bottom:24px;padding:16px 8px}@media (min-width: 37.5em){.comments .comments__header{padding:16px}}.comments .comments__header .comments-error-message{background-color:#e4134f;color:#fff}.comments .comments__header .comments__heading-wrapper{margin-bottom:16px}.comments .comments__header .comments__heading-module-title{color:#525252;font-size:1.1em;font-weight:bold;line-height:20px;margin-bottom:8px}.comments .comments__header .comments__heading-title{color:#000;font-size:1.4em;font-weight:bold;padding-right:40px}.comments .comments__header .comments__signin--prompt{font-size:1.1em}.comments .comments__header .comments__idcta-msg{font-size:1.2em}.comments .comments__header .comments__heading-title-text{line-height:1.2em;padding:2px 6px 6px 0}.comments .comments__header .comments__message--user-ineligible{font-size:1.1em;line-height:1.4em;margin-bottom:8px}.comments .comments-moderation__rules-msg{margin-top:8px}.comments .comments-moderation__rules-msg :link,.comments .comments-moderation__rules-msg :visited{color:#000}.comments .comments-moderation__rules-msg :link:hover,.comments .comments-moderation__rules-msg :link:focus,.comments .comments-moderation__rules-msg :visited:hover,.comments .comments-moderation__rules-msg :visited:focus{text-decoration:underline}.comments .comments__signin--prompt{margin-bottom:16px}.comments .comments__message{font-style:italic;margin-bottom:8px}.comments .comments__message--closed-forum{font-style:normal}.comments .comments__input{padding-bottom:8px}.comments .comments__input-area{margin-bottom:16px}@media only screen and (min-width: 480px){.comments .comments__input-area{border:1px solid #5a5a5a;border-radius:2px}}.comments .comments__cancel-link{background-color:transparent;border:0;color:#000;cursor:pointer;font-family:inherit;font-size:1em;font-weight:bold;margin-left:16px}.comments .comments__submit-button{margin-bottom:8px}.comments .comments__display-name{color:#000;font-weight:bold;overflow-wrap:break-word;word-wrap:break-word}.comments .comments__display-name:hover,.comments .comments__display-name:focus{text-decoration:underline}.comments .comments__text-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:transparent;color:#666}@media (min-width: 20em){.comments .comments__text-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}@media only screen and (max-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;padding-bottom:8px;padding-right:2px;padding-top:13px}}@media only screen and (min-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;margin-right:18px;margin-top:-24px;position:relative}}.comments .comments__text-limit--over-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;color:#e4134f}@media (min-width: 20em){.comments .comments__text-limit--over-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit--over-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comments__footer{padding:8px 8px 24px;text-align:center}@media (min-width: 37.5em){.comments .comments__footer{padding:16px 16px 32px}}.comments .comments__footer.comments__footer--no-comments{padding:0}@media (min-width: 37.5em){.comments .comments__footer.comments__footer--no-comments{padding-bottom:8px}}.comments .comments__more-comments-button{margin-bottom:44px}.comments .comments__show-new-comments-container{position:-webkit-sticky;position:sticky;top:-2px;z-index:10}.comments .comments-snc-button{background-color:#fff;color:#006def}.comments .comments-snc-button[disabled]{color:#006def}.comments .comments-snc-button:hover:enabled{background-color:#006def;color:#fff}.comments .comments-snc-button:active:enabled{background-color:#005bc8;color:#fff}.comments .comments-snc-button--full-width{width:100%}.comments .gel-icon--refresh{height:16px;margin-right:8px;margin-top:3px;vertical-align:text-top;width:16px}.comments .comments__comments-total-and-sort-area{display:-webkit-flex;display:flex;align-items:center;border-top:1px solid #222;margin-top:16px}.comments .comments__comments-total{flex-grow:1}.comments .comments__comments-sort{padding-top:16px}.comments .comments--border{border:1px solid #e5e5e5}.comments .comments--shadow{box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2)}.comments .comments__idcta-btn .id4-cta,.comments .comments__idcta-msg .id4-cta{padding:0 !important}.comments .comments__idcta-msg{margin-bottom:16px}.comments .comments__idcta-msg .id5-cta.id4-cta-size-medium{line-height:inherit}.comments .comments-list{margin-top:24px}.comments .comments-list__item{padding-bottom:24px}.comments .comments-list__item--entering-list{opacity:0;transition:opacity 2s}.comments .comments-list__item--entering-list.comments-list__item--entered-list{opacity:1}.comments :not(.comments-list__item--entering-list) ~ .comments-list__item--entering-list{opacity:1;transition:none}.comments .comments-body-anchor{display:block;height:0;position:relative;top:0;visibility:hidden}.comments .comments-input-box{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-overflow-y:auto;-webkit-transition:height .5s ease-in-out, min-height .5s ease-in-out;background-color:#fff;color:#222;display:block;font-family:inherit;min-height:1.25em;overflow-y:auto;resize:none;transition:height .5s ease-in-out, min-height .5s ease-in-out;transition-delay:.2s;width:100%}.comments .comments-input-box--has-input{min-height:62px}.mozart-iframe-height-target .comments .comments-input-box{-webkit-transition:none;transition:none}@media only screen and (min-width: 480px){.comments .comments-input-box{border:0;padding-bottom:10px;padding-left:10px;padding-right:85px;padding-top:10px}}@media only screen and (max-width: 480px){.comments .comments-input-box{border:1px solid #5a5a5a;border-radius:2px;padding:8px}}.comments .comments-input-box:focus{-webkit-appearance:none;box-shadow:0 0 0 3px #006def;min-height:62px;outline:none}.comments .comment{background-color:#fff;border:1px solid #e5e5e5;border-radius:4px 4px 4px 0;box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2);padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment{padding:16px}}.comments .comment::before{background-image:url(\"data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(0 4px 1px rgba(0,0,0,0.02))}.comments .comment::after{background-image:url(\"data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(0 2px 0 rgba(0,0,0,0.06))}.comments .comment--distress{background-color:#ededed;margin-top:10px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment--has-footer{padding-bottom:16px}.comments .comment--by-current-user{border-radius:4px 4px 0}.comments .comment--by-current-user::before{background-image:url(\"data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(-4px 4px 1px rgba(0,0,0,0.02));left:auto;right:-7px;transform:scale(-1, 1)}.comments .comment--by-current-user::after{background-image:url(\"data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(-2px 2px 1px rgba(0,0,0,0.06));left:auto;right:-7px;transform:scale(-1, 1)}@supports (-ms-ime-align: auto){@media (min-width: 768px){.comments .comment--by-current-user::before{right:-8px}.comments .comment--by-current-user::after{right:-8px}}}.comments .comment__content{background-color:inherit}.comments .comment__avatar{background-color:inherit}.comments .comment__avatar+.comment__username-and-posted-date{background-color:inherit;padding-left:8px}.comments .comment__header{display:-webkit-flex;display:flex;align-items:center;background-color:inherit}.comments .comment__title{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:block;word-break:break-all;word-wrap:break-word}@media (min-width: 37.5em){.comments .comment__title{line-height:20px;line-height:1.25rem}.no-touch .comments .comment__title{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment__user-description{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#666;display:block}@media (min-width: 20em){.comments .comment__user-description{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__user-description{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__posted-date{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#666}@media (min-width: 20em){.comments .comment__posted-date{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__posted-date{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__body{margin-top:8px}.comments .comment__footer{margin-top:8px}.comments .comment__toolbar{display:-webkit-flex;display:flex;flex-direction:column-reverse}.comments .comment__toolbar-section{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;min-height:32px}.comments .comment__toolbar-section--right{justify-content:flex-end;margin-left:auto;position:relative;top:8px}.comments .comment__text{overflow-wrap:break-word;word-wrap:break-word}.comments .comment__text a{font-weight:normal}.comments .comment__text a:hover,.comments .comment__text a:focus{text-decoration:underline}.comments .comment__display-name-moderation-warning{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;display:block;font-weight:normal;text-decoration:underline}@media (min-width: 20em){.comments .comment__display-name-moderation-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__display-name-moderation-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__links-toggle{-webkit-appearance:none;background-color:transparent;border:0;border-radius:0;height:32px;margin-right:-8px;padding:0 6px;width:24px;z-index:1}.comments .comment__links-toggle .more-icon-vertical{vertical-align:middle}.comments .comment__links-toggle:hover .more-icon-vertical{fill:#006def}@media (hover: none){.comments .comment__links-toggle:not(.comment__links-toggle--enabled):hover .more-icon-vertical{fill:inherit}}.comments .comment__links-toggle--enabled .more-icon-vertical{fill:#006def}.comments .comment__action-tray{margin-top:8px;text-align:right}@media (min-width: 37.5em){.comments .comment__action-tray{margin-top:16px}}.comments .comment__action-tray .action-links{border-top:1px solid #5a5a5a;padding:12px 0}.comments .comment__action-tray .action-links:last-child{padding-bottom:0}.comments .comments-error-message{color:#222;font-weight:bold;margin-bottom:16px;padding:16px}.comments .comments-success-message{background-color:#ededed;color:#222;margin-bottom:16px;overflow:hidden;padding:8px}.comments .comments-success-message .comments-success-message-icon{float:left;height:20px;margin:1px 8px 8px 0;width:20px}.comments .comments-success-message .comments-success-message-icon .tick-icon{fill:#008a0b;margin-top:3px}.comments .comments-success-message .comments-success-message-text{margin-top:2px;overflow:hidden}.comments .comment-rating{white-space:nowrap}.comments .comment-rating__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#222;padding:0}.comments .comment-rating__button:disabled .comment-rating__button-icon svg{fill:#666}.comments .comment-rating__button .comment-rating__button-icon .fill{opacity:0;transition:opacity 300ms}.comments .comment-rating__button .loading-spinner,.comments .comment-rating__button .fill{fill:#2866f6}.comments .comment-rating__button:hover:not(:disabled),.comments .comment-rating__button:focus:not(:disabled){cursor:pointer}.comments .comment-rating__button:hover:not(:disabled) .comment-rating__button-icon .fill,.comments .comment-rating__button:focus:not(:disabled) .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button--number-placement-right{padding-right:4px}.comments .comment-rating__button--number-placement-left{padding-left:4px}@keyframes shrink{from{transform:scale(1.2)}to{transform:scale(1)}}.comments .comment-rating__button--posted:hover:not(:disabled){cursor:default}.comments .comment-rating__button--posted .comment-rating__button-icon{animation:shrink 300ms ease-in-out;transform:scale(1);will-change:transform}.comments .comment-rating__button--posted .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button-number{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px !important}@media (min-width: 37.5em){.comments .comment-rating__button-number{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-rating__button-number{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-rating__button-icon{display:inline-block;fill:#222;height:32px;margin:0 4px;position:relative;vertical-align:top;width:16px}.comments .comment-rating__button-icon svg{height:16px;left:0;margin-top:-8px;position:absolute;top:50%;width:16px}@media (min-width: 37.5em){.comments .action-links--forum-links{text-align:right}}.comments .action-links__item{display:block}@media (min-width: 25em){.comments .action-links__item{display:inline-block}}.comments .action-links__item--with-separator{padding-left:16px}.comments .action-links__item--with-separator::before{color:#aeaeae;content:'|';left:-8px;position:relative;top:0}.comments .action-link{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px}@media (min-width: 37.5em){.comments .action-link{line-height:20px;line-height:1.25rem}.no-touch .comments .action-link{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .action-link:hover{text-decoration:none}.comments .action-link:hover .action-link__text{text-decoration:underline}.comments .action-link .alert-icon{fill:#006def}.comments .action-link__icon{display:inline-block;margin-right:4px}.comments .comments-loading{align-items:stretch;display:-webkit-inline-flex;display:inline-flex;margin-bottom:44px;padding:16px 0}.comments .comments-loading__text{color:#222;font-weight:bold;margin-left:8px}.comments .comments-loading__icon{line-height:10px}.comments .comment-tooltip{display:block;position:absolute;top:16px;width:304px}@media (min-width: 37.5em){.comments .comment-tooltip{width:320px}}.comments .comment-tooltip .alert-icon{fill:#515151;padding-right:4px;vertical-align:middle}.comments .comment-tooltip__pointer{display:inline-block;height:0;left:0;line-height:0;margin-left:5px;margin-top:-2px;pointer-events:none;position:relative;top:0;vertical-align:top;width:24px;z-index:81}.comments .comment-tooltip__pointer::after,.comments .comment-tooltip__pointer::before{border-color:transparent transparent #fff;border-style:solid;border-width:11px;content:'';left:0;position:absolute;top:0}.comments .comment-tooltip__pointer::before{border-color:transparent transparent #a9a9a9;border-width:12px;top:-1px}.comments .comment-tooltip__pointer::after{left:1px;top:2px}.comments .comment-tooltip__inner{background-color:#fff;border:1px solid #a9a9a9;box-shadow:1px 1px 5px rgba(50,50,50,0.1);clear:both;color:#515151;cursor:default;left:0;position:relative;top:0;z-index:80}.comments .comment-tooltip__subtitle{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin:0;padding:16px 32px 16px 16px}@media (min-width: 20em){.comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment-tooltip__subtitle{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment-tooltip__subtitle--alert{padding-bottom:8px}.comments .comment-tooltip__body{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;padding:0 16px 16px 16px}@media (min-width: 37.5em){.comments .comment-tooltip__body{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-tooltip__body{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-tooltip__body .comments__idcta-btn{margin-bottom:0}.comments .comment-tooltip__close{background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;z-index:81}.comments .comment-tooltip__close:hover,.comments .comment-tooltip__close:active,.comments .comment-tooltip__close:focus{background-color:transparent;line-height:4px;text-decoration:none}.comments .comment-tooltip__close:hover .comment-tooltip__close-icon,.comments .comment-tooltip__close:active .comment-tooltip__close-icon,.comments .comment-tooltip__close:focus .comment-tooltip__close-icon{background-color:#ebebeb}.comments .comment-tooltip__close-icon{display:block;margin:8px;padding:4px}.comments .tooltip-launcher{position:relative}.comments .tooltip-launcher__children{display:inline-block}.comments .comment--distress{background-color:#f5f5f5;margin-top:10px;padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment__distress-message-product-flag{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin-bottom:8px}@media (min-width: 20em){.comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment__distress-message-product-flag{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment__distress-message-username{display:inline-block;font-weight:bold}.comments .comment__product-flag-default,.comments .comment__product-flag-default .comment__distress-message-logo{display:none}.comments .comment__reply-button{margin-top:6px;position:absolute;z-index:5}.comments .comments-list__item-reply{padding-bottom:0}.comments .comments-list__item-reply::before{border-top:1px solid #5a5a5a;content:'';display:block;margin:12px;margin-right:0}@media (min-width: 37.5em){.comments .comments-list__item-reply::before{margin-bottom:16px;margin-left:16px;margin-top:16px}}.comments .comments-list__item-reply:first-child::before{display:none}.comments .comment--reply{border:0;box-shadow:none;padding-bottom:0;padding-right:0;padding-top:0}.comments .comment--reply::before,.comments .comment--reply::after{content:none}@media (max-width: 480px){.comments .reply-input{padding-bottom:12px}}@media (max-width: 480px){.comments .reply-input-buttons-wrapper{padding-top:36px}}.comments .reply-separator{border-bottom:1px solid #5a5a5a;margin-bottom:12px;margin-top:12px}@media (min-width: 37.5em){.comments .reply-separator{margin-bottom:16px;margin-top:16px}}.comments .replies-separator{border-top:1px solid #5a5a5a;margin-top:12px;padding-top:12px}@media (min-width: 37.5em){.comments .replies-separator{margin-top:16px;padding-top:16px}}.comments .replies-list-reply-open{margin-top:0}.comments .replies{border-left:2px solid #006def}.comments .reply-input-hidden{display:none}.comments .reply{border-left:2px solid #006def;margin-top:12px;padding-left:12px}@media (min-width: 37.5em){.comments .reply{padding-left:16px}}.comments .reply .reply__signin{background-color:#f5f5f5;padding:16px}.comments .reply .reply__signin .reply__signin--prompt{padding-bottom:12px;padding-top:4px}.comments .reply .reply__signedin{background-color:#f5f5f5;padding:0 8px}.comments .reply .reply__signedin a{color:#006def;font-weight:normal}.comments .reply .reply__signedin a:hover{text-decoration:underline}.comments .reply .reply__signedin .reply__signedin-ineligible{padding:0 8px}.comments .reply .reply__signedin .reply__signedin-ineligible span{font-size:.8em !important}.comments .reply .reply__signedin .reply__signedin-ineligible span a{font-weight:bold}.comments .reply .reply__signedin .reply__signedin-eligible{padding:12px 8px 0}.comments .reply .reply__signedin .reply__signedin-eligible .reply__signedin-eligible-header{font-weight:bold;padding-bottom:16px;padding-top:6px;word-break:break-all;word-wrap:break-word}.comments .reply .comments-success-message{background-color:transparent;border-top:1px solid #5a5a5a;padding:0;padding-top:16px}.comments .reply .comments-error-message{background-color:#e4134f;color:#fff}.comments .reply-to-reply{border-left:0;padding-left:0}.comments .reply-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;line-height:32px;padding-left:0}.comments .reply-button .reply-button__text{font-weight:bold}.comments .reply-button .reply-button__icon{margin-right:6px;position:relative;top:2px}.comments .reply-button .reply-button__icon .reply-button__icon-gel{height:13px;width:13px}.comments .reply-button:hover,.comments .reply-button:focus{color:#005bc8}.comments .reply-button:hover .reply-button__text,.comments .reply-button:focus .reply-button__text{text-decoration:underline}.comments .reply-snippet{margin:12px 0;word-break:break-word}@media (min-width: 37.5em){.comments .reply-snippet{margin:16px 0}}.comments .reply-snippet .reply-snippet-button{background:none;border:0;font:inherit;text-align:left}.comments .reply-snippet .reply-snippet__control{display:-webkit-flex;display:flex;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;align-items:center;line-height:18px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__control{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__control{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--prelink{color:#666;font-style:italic}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--link{display:-webkit-flex;display:flex;color:#006def;cursor:pointer;font-weight:bold;padding-left:5px}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--link .reply-snippet__control--msg-short{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments .reply-snippet .reply-snippet__show-content{background-color:#f5f5f5;line-height:24px;margin-top:8px;padding:16px 12px;width:100%}.comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;font-size:15px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-more-replies{border-top:1px solid #5a5a5a;margin-top:16px;padding-top:12px}.comments .reply-more-replies .reply-more-replies__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;padding-left:0}.comments .reply-more-replies .reply-more-replies__button .loading-spinner,.comments .reply-more-replies .reply-more-replies__button .fill{fill:#006def}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__text{font-weight:bold;margin-right:4px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon{position:relative;top:1px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel{height:13px;stroke:#006def;stroke-width:1px;width:13px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel-spin{height:14px;margin-right:0;margin-top:0;width:14px}.comments .reply-more-replies .reply-more-replies__button:hover,.comments .reply-more-replies .reply-more-replies__button:focus{color:#005bc8}.comments .reply-more-replies .reply-more-replies__button:hover .reply-more-replies__text,.comments .reply-more-replies .reply-more-replies__button:focus .reply-more-replies__text{text-decoration:underline}.comments .comments-sort-error{display:-webkit-flex;display:flex;background-color:#fff;margin-bottom:8px;padding:8px}@media (min-width: 37.5em){.comments .comments-sort-error{padding:16px}}.comments .comments-sort-error .comments-sort-error__icon svg{fill:#e4134f;height:20px;width:20px}.comments .comments-sort-error .comments-sort-error__message{padding-left:4px}@media (min-width: 37.5em){.comments .comments-sort-error .comments-sort-error__message{padding-left:8px}}.comments .contributor-avatar{background-color:inherit;display:flex}.comments .contributor-avatar .contributor-avatar__letter{align-items:center;background:#949494;border-radius:25px;color:#fff;display:flex;font-size:24px;font-weight:500;height:48px;justify-content:center;line-height:normal;vertical-align:middle;width:48px}.comments .contributor-avatar .contributor-avatar__letter--current{background:#006def}.comments .contributor-avatar .contributor-avatar__image{background-color:inherit;height:48px;position:absolute;width:48px;z-index:5}.comments .collapsible-panel .collapsible-panel__title{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:inherit;cursor:pointer;margin:-5px;padding:5px}.comments .collapsible-panel .collapsible-panel__title:hover,.comments .collapsible-panel .collapsible-panel__title:focus{text-decoration:underline}.comments .collapsible-panel .collapsible-panel__title--disabled{cursor:initial}.comments .collapsible-panel .collapsible-panel__title--disabled:hover,.comments .collapsible-panel .collapsible-panel__title--disabled:focus{text-decoration:none}.comments .collapsible-panel .collapsible-panel__content{border-top:1px solid #5a5a5a;margin-top:12px;padding-top:12px}@media (min-width: 37.5em){.comments .collapsible-panel .collapsible-panel__content{margin-top:16px;padding-top:16px}}.comments .username{font-weight:bold}.view-comments-button-wrapper{display:block}.view-comments-button-wrapper-hidden{display:none}.view-comments-button-wrapped-component{display:block}.view-comments-button-wrapped-component-hidden{display:none}.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{left:8px;position:relative}@media (min-width: 25em){.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{margin-bottom:24px}}.comments-theme-variant--childrens .comments__header .comments__heading-module-title{background-color:#d31c70;box-shadow:1px 1px 0 0 rgba(0,0,0,0.5);color:#fff;display:inline-block;font-size:.9em;left:-5px;margin-bottom:0;padding:2px 6px;position:relative;z-index:2}.comments-theme-variant--childrens .comments__header .comments__heading-title{color:#fff;font-weight:800;position:relative;white-space:pre-wrap;z-index:1}.comments-theme-variant--childrens .comments__header .comments__heading-title-text{background-color:#28215b;box-shadow:-5px 0 0 0 #28215b;line-height:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__heading-title-text{font-size:1.2em}}.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.5em}}.comments-theme-variant--childrens .comments__more-comments-button{border-bottom:4px #005b87 solid;border-radius:4px;border-top:0;padding:12px 16px}.comments-theme-variant--childrens .comments__more-comments-button:hover,.comments-theme-variant--childrens .comments__more-comments-button:active{border-bottom-width:2px;margin-top:2px;text-decoration:underline}.comments-theme-variant--childrens .comment{border-radius:8px 8px 8px 0}.comments-theme-variant--childrens .comment--by-current-user{border-radius:8px 8px 0}.comments-theme-variant--childrens .comment-rating__button .loading-spinner,.comments-theme-variant--childrens .comment-rating__button .fill{fill:#e63f23}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message{display:-webkit-flex;display:flex;-moz-align-items:center;-ms-align-items:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}}.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{float:none;margin:0 8px 8px 0;min-height:40px;min-width:40px}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{-moz-align-self:flex-start;-ms-align-self:flex-start;-webkit-align-self:flex-start;align-self:flex-start;margin-bottom:0}}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-text{display:-webkit-flex;display:flex;margin-top:0}}.comments-theme-variant--childrens:not(.comments__product--default) .comment--distress{padding-top:40px}.comments-theme-variant--childrens .comment__distress-message-product-flag{left:-6px;position:absolute;top:8px}.comments-theme-variant--childrens .comment__distress-message-product-flag::after{border-left:6px solid transparent;border-top:6px solid;content:'';height:0;left:0;position:absolute;top:24px;width:0}.comments-theme-variant--childrens .comment__product-flag-comment::after,.comments-theme-variant--childrens .comment__product-flag-reply::after{border-left:0;border-right:6px solid transparent;left:auto;right:-1px;top:31px}.comments-theme-variant--childrens .comment__product-flag-comment{left:auto;right:-6px;top:-2px}.comments-theme-variant--childrens .comment__product-flag-reply{left:auto;right:-18px;top:0}@media (min-width: 37.5em){.comments-theme-variant--childrens .comment__product-flag-reply{right:-22px}}.comments-theme-variant--childrens .comment__distress-message-username{background-color:#28215b;color:#fff;height:24px;line-height:24px;padding:0 10px 0 32px}.comments-theme-variant--childrens .comment__distress-message-logo{align-items:center;display:flex;height:24px;justify-content:center;left:0;padding:3px;position:absolute;width:24px;z-index:10}.comments-theme-variant--childrens .comment__product-logo{height:32px;left:auto;right:-1px;top:-1px;width:32px}.comments-theme-variant--childrens .comment__product-logo svg{height:24px;width:24px}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-username{background-color:#1a3f8c}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-logo{background-color:#153371}.comments-theme-variant--childrens .comment__product-flag-cbbc::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-username{background-color:#ffe514;color:#222}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-logo{background-color:#f1d911}.comments-theme-variant--childrens .comment__product-flag-cbeebies::after{border-top-color:#ccb80d}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-username{background-color:#1a3f8c;color:transparent;min-width:90px;padding:0 0 0 32px}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo{background-color:#153371;display:block;padding:0}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo svg{height:100%;left:5px;position:relative}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__product-logo svg{left:0;width:32px}.comments-theme-variant--childrens .comment__product-flag-ownit::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-username{background-color:#431588;color:#fff}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo{background-color:#551bab}.comments-theme-variant--childrens .comment__product-flag-newsround::after{border-top-color:#431588}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-username{background-color:#7a31e5;color:#fff;font-size:15px}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-logo{background-color:#7a31e5;padding:0}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-logo svg{height:100%;width:100%}.comments-theme-variant--childrens .comment__product-flag-nightfall::after{border-top-color:#b079ff}.view-comments-button--hidden{display:none}.view-comments-button-container{margin-bottom:24px}@media (min-width: 37.5em){.view-comments-button-container{margin-bottom:32px}}.view-comments-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#ededed;color:#000;cursor:pointer;font-size:16px;font-weight:bold;outline-offset:4px;padding:4px 8px;position:relative}.view-comments-button:hover,.view-comments-button:focus{background-color:#dbdbdb}.view-comments-button::before{bottom:-7px;content:'';left:0;min-height:44px;min-width:44px;position:absolute;right:0;top:-7px}.view-comments-button__icon{margin-right:8px;position:relative;top:1px}.view-comments-button__icon .view-comments__icon-gel{height:13px;width:13px}.view-comments-button__count{border-left:1px solid #000;margin-left:8px;padding-left:8px}\n</style>"); }</script> <script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/4.0.0"]=true; Morph.styleSrc.push("<style>.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes gel-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n</style>"); }</script> <script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/5.0.5"]=true; Morph.styleSrc.push("<style>.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes gel-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-o-section-tag{color:#006d36}.gs-o-section-tag a{color:inherit}.gs-o-section-tag:hover,.gs-o-section-tag:focus{text-decoration:underline}.gs-o-section-tag--news{color:#900}.gs-o-section-tag--on-dark{color:#fff} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-section-tag/3.1.0"]=true; Morph.styleSrc.push("<style>.gs-o-section-tag{color:#006d36}.gs-o-section-tag a{color:inherit}.gs-o-section-tag:hover,.gs-o-section-tag:focus{text-decoration:underline}.gs-o-section-tag--news{color:#900}.gs-o-section-tag--on-dark{color:#fff}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-timestamp{vertical-align:middle} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-timestamp/2.2.5"]=true; Morph.styleSrc.push("<style>.gs-c-timestamp{vertical-align:middle}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.lazyload,.lazyloading{opacity:0}.lazyloaded{opacity:1;transition:opacity .5s ease-in}/*# sourceMappingURL=core.css.map */ </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-responsive-image-srcset/3.0.1"]=true; Morph.styleSrc.push("<style>.lazyload,.lazyloading{opacity:0}.lazyloaded{opacity:1;transition:opacity .5s ease-in}/*# sourceMappingURL=enhanced.css.map */\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.smp--audio{height:100%} /*# sourceMappingURL=core.css.map */</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-smp/6.4.0"]=true; Morph.styleSrc.push("<style>.smp--audio{height:100%}\n\n/*# sourceMappingURL=enhanced.css.map */</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.sp-c-ordered-list-promo__rank{color:#ffd230;margin-top:-4px}.sp-c-promo{justify-content:flex-start !important}.sp-c-promo__heading--flex{flex-grow:1}.sp-c-promo-summary,.sp-c-promo-meta{color:#5a5a5a}.gs-c-promo-body--white-text .sp-c-promo-summary,.gs-c-promo-body--white-text .sp-c-promo-meta{color:#fff}/*# sourceMappingURL=core.css.map */ </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-sport-promos/5.0.2"]=true; Morph.styleSrc.push("<style>.sp-c-feature-promo{position:relative;overflow:hidden}.sp-c-feature-promo__heading{width:100%;background:linear-gradient(to top, #222222, transparent);position:absolute;left:0;bottom:0;color:#fff;padding:16px;padding-top:32px}.sp-c-feature-promo__line:after{background-color:#ffd230;content:\"\";display:block;height:4px;margin-top:8px;width:60px}.sp-c-feature-promo__img{width:100%}@media(min-width: 37.5em){.sp-c-feature-promo__img{margin-left:-50%;min-height:255px;width:auto}}.sp-c-ordered-list-promo__rank{color:#ffd230;margin-top:-4px}.sp-c-promo{justify-content:flex-start !important}.sp-c-promo__heading--flex{flex-grow:1}.sp-c-promo-summary,.sp-c-promo-meta{color:#5a5a5a}.gs-c-promo-body--white-text .sp-c-promo-summary,.gs-c-promo-body--white-text .sp-c-promo-meta{color:#fff}/*# sourceMappingURL=enhanced.css.map */\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-comment-count__icon{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAFVJREFUKBVjVFJS+s9AAmAiQS1YKQtMw7179xhhbGw0zCWMMAY2RdjECNqAbiD1bYA5C2YTyTaQH6xMTEyNd+7caYA5AScNcpuKigphhTATSFIM1AQAKX4YhcsjMyUAAAAASUVORK5CYII=") no-repeat;height:12px;width:12px;visibility:visible}.gs-c-comment-count .gs-c-comment-count__icon{display:inline-block}.gs-c-comment-count__icon svg{display:none;visibility:hidden}.gs-t-news .gs-c-comment-count:hover .gs-c-comment-count__icon,.gs-t-news .gs-c-comment-count:focus .gs-c-comment-count__icon{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAFVJREFUKBVjFG5Y+J+BBMBEglqwUhaYhrcN8YwwNjYa5hJGGAObImxiBG1AN5D6NsCcBbOJZBvID1ZGRobGN/XxDTAn4KLBNhCrGGyISONCgqYi2wYAyZMcN8yLFgIAAAAASUVORK5CYII=")}/*# sourceMappingURL=core.css.map */ </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-comment-icon/5.0.1"]=true; Morph.styleSrc.push("<style>.gs-c-comment-count__icon{background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAFVJREFUKBVjVFJS+s9AAmAiQS1YKQtMw7179xhhbGw0zCWMMAY2RdjECNqAbiD1bYA5C2YTyTaQH6xMTEyNd+7caYA5AScNcpuKigphhTATSFIM1AQAKX4YhcsjMyUAAAAASUVORK5CYII=\") no-repeat;height:12px;width:12px;visibility:visible;background:none}.gs-c-comment-count .gs-c-comment-count__icon{display:inline-block}.gs-c-comment-count__icon svg{display:none;visibility:hidden}.gs-c-comment-count__icon svg{display:inline-block;visibility:visible}.gs-t-news .gs-c-comment-count__icon svg{color:#222}.gs-t-news .gs-c-comment-count:hover .gs-c-comment-count__icon,.gs-t-news .gs-c-comment-count:focus .gs-c-comment-count__icon{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAFVJREFUKBVjFG5Y+J+BBMBEglqwUhaYhrcN8YwwNjYa5hJGGAObImxiBG1AN5D6NsCcBbOJZBvID1ZGRobGN/XxDTAn4KLBNhCrGGyISONCgqYi2wYAyZMcN8yLFgIAAAAASUVORK5CYII=\")}.gs-t-news .gs-c-comment-count:hover .gs-c-comment-count__icon,.gs-t-news .gs-c-comment-count:focus .gs-c-comment-count__icon{background:none}.gs-t-sport .gs-c-comment-count:hover .gs-c-comment-count__icon,.gs-t-sport .gs-c-comment-count:focus .gs-c-comment-count__icon{background:none}/*# sourceMappingURL=enhanced.css.map */\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-item-status{display:inline-block;vertical-align:middle}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-item-status/8.0.11"]=true; Morph.styleSrc.push("<style>.gs-c-item-status{display:inline-block;vertical-align:middle}</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>@-webkit-keyframes gs-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}@keyframes gs-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.gs-c-live-pulse{font-weight:700}.gs-c-live-pulse__icon{position:relative;border-radius:50%}.gs-c-live-pulse__icon:before{content:"";position:absolute;width:100%;height:100%;border-radius:50%;-webkit-animation:gs-pulse 1.7s ease infinite;animation:gs-pulse 1.7s ease infinite}.gs-c-live-pulse--news .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(187,25,25,.5) 53.5%,#bb1919 54%)}.gs-c-live-pulse--news .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#bb1919 37%,rgba(187,25,25,.5) 37.5%,transparent 38%)}.gs-c-live-pulse--sport .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(40,102,246,.5) 53.5%,#2866f6 54%)}.gs-c-live-pulse--sport .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#2866f6 37%,rgba(40,102,246,.5) 37.5%,transparent 38%)}.gs-c-live-pulse--sport-light .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(1,134,255,.5) 53.5%,#0186ff 54%)}.gs-c-live-pulse--sport-light .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#0186ff 37%,rgba(1,134,255,.5) 37.5%,transparent 38%)}.gs-c-live-pulse__text{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;text-transform:uppercase}.gs-c-live-pulse__text:before{content:"";display:block;width:.25em;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-live-pulse/6.0.9"]=true; Morph.styleSrc.push("<style>@-webkit-keyframes gs-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}@keyframes gs-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.gs-c-live-pulse{font-weight:700}.gs-c-live-pulse__icon{position:relative;border-radius:50%}.gs-c-live-pulse__icon:before{content:\"\";position:absolute;width:100%;height:100%;border-radius:50%;-webkit-animation:gs-pulse 1.7s ease infinite;animation:gs-pulse 1.7s ease infinite}.gs-c-live-pulse--news .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(187,25,25,.5) 53.5%,#bb1919 54%)}.gs-c-live-pulse--news .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#bb1919 37%,rgba(187,25,25,.5) 37.5%,transparent 38%)}.gs-c-live-pulse--sport .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(40,102,246,.5) 53.5%,#2866f6 54%)}.gs-c-live-pulse--sport .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#2866f6 37%,rgba(40,102,246,.5) 37.5%,transparent 38%)}.gs-c-live-pulse--sport-light .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(1,134,255,.5) 53.5%,#0186ff 54%)}.gs-c-live-pulse--sport-light .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#0186ff 37%,rgba(1,134,255,.5) 37.5%,transparent 38%)}.gs-c-live-pulse__text{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;text-transform:uppercase}.gs-c-live-pulse__text:before{content:\"\";display:block;width:.25em;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>@-webkit-keyframes gs-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}@keyframes gs-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.gs-c-live-pulse{font-weight:700}.gs-c-live-pulse__icon{position:relative;border-radius:50%}.gs-c-live-pulse__icon:before{content:"";position:absolute;width:100%;height:100%;border-radius:50%;-webkit-animation:gs-pulse 1.7s ease infinite;animation:gs-pulse 1.7s ease infinite}.gs-c-live-pulse--news{color:#bb1919}.gs-c-live-pulse--news .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(187,25,25,.5) 53.5%,#bb1919 54%)}.gs-c-live-pulse--news .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#bb1919 37%,rgba(187,25,25,.5) 37.5%,transparent 38%)}.gs-c-live-pulse--sport{color:#2866f6}.gs-c-live-pulse--sport .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(40,102,246,.5) 53.5%,#2866f6 54%)}.gs-c-live-pulse--sport .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#2866f6 37%,rgba(40,102,246,.5) 37.5%,transparent 38%)}.gs-c-live-pulse--sport-light{color:#0186ff}.gs-c-live-pulse--sport-light .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(1,134,255,.5) 53.5%,#0186ff 54%)}.gs-c-live-pulse--sport-light .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#0186ff 37%,rgba(1,134,255,.5) 37.5%,transparent 38%)}.gs-c-live-pulse__text{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;text-transform:uppercase}.gs-c-live-pulse__text:before{content:"";display:block;width:.25em;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-live-pulse/6.0.10"]=true; Morph.styleSrc.push("<style>@-webkit-keyframes gs-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}@keyframes gs-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.gs-c-live-pulse{font-weight:700}.gs-c-live-pulse__icon{position:relative;border-radius:50%}.gs-c-live-pulse__icon:before{content:\"\";position:absolute;width:100%;height:100%;border-radius:50%;-webkit-animation:gs-pulse 1.7s ease infinite;animation:gs-pulse 1.7s ease infinite}.gs-c-live-pulse--news{color:#bb1919}.gs-c-live-pulse--news .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(187,25,25,.5) 53.5%,#bb1919 54%)}.gs-c-live-pulse--news .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#bb1919 37%,rgba(187,25,25,.5) 37.5%,transparent 38%)}.gs-c-live-pulse--sport{color:#2866f6}.gs-c-live-pulse--sport .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(40,102,246,.5) 53.5%,#2866f6 54%)}.gs-c-live-pulse--sport .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#2866f6 37%,rgba(40,102,246,.5) 37.5%,transparent 38%)}.gs-c-live-pulse--sport-light{color:#0186ff}.gs-c-live-pulse--sport-light .gs-c-live-pulse__icon{background:radial-gradient(circle,transparent 53%,rgba(1,134,255,.5) 53.5%,#0186ff 54%)}.gs-c-live-pulse--sport-light .gs-c-live-pulse__icon:before{background:radial-gradient(circle,#0186ff 37%,rgba(1,134,255,.5) 37.5%,transparent 38%)}.gs-c-live-pulse__text{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;text-transform:uppercase}.gs-c-live-pulse__text:before{content:\"\";display:block;width:.25em;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-promo-heading{color:inherit}.gs-c-promo-heading__title{display:inline;vertical-align:middle}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gs-promo-heading/6.0.2"]=true; Morph.styleSrc.push("<style>.gs-c-promo-heading{color:inherit}.gs-c-promo-heading__title{display:inline;vertical-align:middle}</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u15854135262708935 */</script> </head> <body class="b-pw-1280"> <div id="u8538516798072436"><noscript></noscript></div> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20200912182407im_/https://a1.api.bbc.co.uk/hit.xiti?&amp;col=1&amp;from=p&amp;ptag=js&amp;s=598253&amp;p=other::sport.wales.story.53312725.page&amp;x1=[urn:bbc:cps:fb05910e-a2b0-4e3b-a363-6a572ec7debf]&amp;x2=[responsive]&amp;x3=[bbc_website]&amp;x4=[en]&amp;x7=[article]&amp;x8=[reverb-1.5.1-nojs]&amp;x11=[SPORT_GNL]&amp;x12=[SPORT_WALES]" height="1" width="1" alt=""></p></noscript> <!-- BBCDOTCOM bodyFirst --><div id="bbccom_interstitial_ad" class="bbccom_display_none"></div><div id="bbccom_interstitial" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { googletag.cmd.push(function() { googletag.display('bbccom_interstitial'); }); } }()); /*]]>*/</script></div><div id="bbccom_wallpaper_ad" class="bbccom_display_none"></div><div id="bbccom_wallpaper" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { var wallpaper; if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { if (bbcdotcom.config.isAsync()) { googletag.cmd.push(function() { googletag.display('bbccom_wallpaper'); }); } else if (typeof googletag !== "undefined" && typeof googletag.display === "function") { googletag.display("wallpaper"); } wallpaper = bbcdotcom.adverts.adRegister.getAd('wallpaper'); } }()); /*]]>*/</script></div><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isAnalyticsEnabled()) { document.write(unescape('%3Cscript id="gnlAnalyticsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } }()); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyFirst = true; }()); /*]]>*/</script> <div id="cookiePrompt"></div> <!--[if (gt IE 8) | (IEMobile)]><!--><header id="orb-banner" role="banner" aria-label="BBC"><!--<![endif]--><!--[if (lt IE 9) & (!IEMobile)]> <![if (IE 8)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie8" aria-label="BBC"> <![endif]> <![if (IE 7)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie7" aria-label="BBC"> <![endif]> <![if (IE 6)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie6" aria-label="BBC"> <![endif]> <![endif]--><div id="orb-header" class="orb-nav-pri orb-nav-pri-white orb-nav-empty" dir="ltr"><div class="orb-nav-pri-container b-r b-g-p"><div class="orb-nav-section orb-nav-blocks"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#page">Skip to content</a></li><li><a id="orb-accessibility-help" href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li></ul></div></section><div id="mybbc-wrapper" class="orb-nav-section orb-nav-id orb-nav-focus orb-nav-id-default"> <div id="idcta-statusbar" class="orb-nav-section orb-nav-focus" data-bbc-container="id-cta" data-bbc-event-type="click" data-bbc-ignore-views="1" data-bbc-metadata="{&quot;id-cta-type&quot;: &quot;statusbar-orb&quot;}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://web.archive.org/web/20200912182407/https://account.bbc.com/account"><span id="idcta-username">BBC Account</span></a></div><script type="text/javascript">require(['idcta/statusbar'], function (statusbar) {new statusbar.Statusbar({id: 'idcta-statusbar', publiclyCacheable: true});});</script><!-- Because we are now loading the notification bell CSS asynchronously, we need this inline style hack to ensure that the notification div is hidden by default, and shown only if and when the bell code is loaded from notification-ui --><a id="notification-link" class="js-notification-link animated three" href="#" style="display: none"><span class="hidden-span">Notifications</span><div class="notification-link--triangle"></div><div class="notification-link--triangle"></div><span id="not-num"></span></a> </div><nav role="navigation" aria-label="BBC" class="orb-nav"><div class="orb-nav-section orb-nav-links orb-nav-focus" id="orb-nav-links"><ul><li class="orb-nav-home"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/bbcthree">Three</a></li><li id="orb-nav-more" style="width: 88px" aria-controls="orb-panel-more"><a href="#orb-footer" data-alt="More" class="istats-notrack">Menu<span class="orb-icon orb-icon-arrow"></span></a></li></ul></div></nav><div class="orb-nav-section orb-nav-search"> <a class="orb-search__button" href="https://web.archive.org/web/20200912182407/https://search.bbc.co.uk/search" title="Search the BBC">Search</a><form class="b-f" id="orb-search-form" role="search" method="get" action="https://web.archive.org/web/20200912182407/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" maxlength="100" name="q" placeholder="Search"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form> </div></div><div id="orb-panels"></div></div></header> <!-- Styling hook for shared modules only --> <div id="orb-modules"> <div id="u41930653161717135"><div class="nav-top "><div class="sp-c-global-header qa-header" role="banner"><div class="gel-wrap"><div class="sp-c-global-header__inner"><a class="sp-c-global-header__logo" href="/web/20200912182407/https://www.bbc.co.uk/sport"><span class="gs-u-vh">BBC</span>Sport</a><button type="button" class="qa-all-sport-button-mobile sp-c-global-header__all-sports gs-u-display-none gs-u-display-block@xs gs-u-display-none@m" role="menuitem" id="sp-nav-all-sport-button-mobile"><span class="gel-icon"><svg width="32" height="32" viewbox="0 0 32 32"><path d="M0 4h32v6H0V4zm0 10h32v6H0v-6zm0 10h32v6H0v-6z"></path></svg></span> All Sport</button><a class="qa-all-sport-link sp-c-global-header__all-sports gs-u-display-none@xs" href="/web/20200912182407/https://www.bbc.co.uk/sport/all-sports" aria-hidden="true">All Sport</a><div></div></div></div></div><nav class=""><div class="sp-c-sport-navigation sp-c-sport-navigation--primary qa-primary"><div class="gel-wrap sp-c-sport-navigation__wrapper" role="menubar" aria-label="Primary"><ul class="sp-c-sport-navigation__inner gs-o-list-inline"><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Home" data-stat-link="/sport" href="/web/20200912182407/https://www.bbc.co.uk/sport">Home</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Football" data-stat-link="/sport/football" href="/web/20200912182407/https://www.bbc.co.uk/sport/football">Football</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Formula 1" data-stat-link="/sport/formula1" href="/web/20200912182407/https://www.bbc.co.uk/sport/formula1">Formula 1</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Cricket" data-stat-link="/sport/cricket" href="/web/20200912182407/https://www.bbc.co.uk/sport/cricket">Cricket</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Rugby U" data-stat-link="/sport/rugby-union" href="/web/20200912182407/https://www.bbc.co.uk/sport/rugby-union">Rugby U</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Tennis" data-stat-link="/sport/tennis" href="/web/20200912182407/https://www.bbc.co.uk/sport/tennis">Tennis</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Golf" data-stat-link="/sport/golf" href="/web/20200912182407/https://www.bbc.co.uk/sport/golf">Golf</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Athletics" data-stat-link="/sport/athletics" href="/web/20200912182407/https://www.bbc.co.uk/sport/athletics">Athletics</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link qa-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2" data-stat-title="Cycling" data-stat-link="/sport/cycling" href="/web/20200912182407/https://www.bbc.co.uk/sport/cycling">Cycling</a></li></ul><span class="sp-c-sport-navigation__item sp-c-sport-navigation__item--all" role="presentation" id="sp-nav-all-item"><button type="button" id="sp-nav-all-sport-button" class="qa-all-sport-button sp-c-sport-navigation__link" role="menuitem"><span class="gel-icon"><svg width="32" height="32" viewbox="0 0 32 32"><path d="M0 4h32v6H0V4zm0 10h32v6H0v-6zm0 10h32v6H0v-6z"></path></svg></span> All Sport</button></span></div></div><div class="sp-c-sport-flyout qa-flyout" id="sp-nav-flyout"><div class="gel-wrap"><ul class="sp-c-sport-flyout__inner gs-u-mb+ gs-u-display-none@m qa-flyout-primary"><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Home" data-stat-link="/sport" href="/web/20200912182407/https://www.bbc.co.uk/sport">Home</a></li><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Football" data-stat-link="/sport/football" href="/web/20200912182407/https://www.bbc.co.uk/sport/football">Football</a></li><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Formula 1" data-stat-link="/sport/formula1" href="/web/20200912182407/https://www.bbc.co.uk/sport/formula1">Formula 1</a></li><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Cricket" data-stat-link="/sport/cricket" href="/web/20200912182407/https://www.bbc.co.uk/sport/cricket">Cricket</a></li><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Rugby U" data-stat-link="/sport/rugby-union" href="/web/20200912182407/https://www.bbc.co.uk/sport/rugby-union">Rugby U</a></li><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Tennis" data-stat-link="/sport/tennis" href="/web/20200912182407/https://www.bbc.co.uk/sport/tennis">Tennis</a></li><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Golf" data-stat-link="/sport/golf" href="/web/20200912182407/https://www.bbc.co.uk/sport/golf">Golf</a></li><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Athletics" data-stat-link="/sport/athletics" href="/web/20200912182407/https://www.bbc.co.uk/sport/athletics">Athletics</a></li><li class="sp-c-sport-flyout__item " role="presentation"><a class="sp-c-sport-flyout__link qa-flyout-primary-item sp-nav-click-stat" role="menuitem" data-stat-name="primary-nav-v2-mobile" data-stat-title="Cycling" data-stat-link="/sport/cycling" href="/web/20200912182407/https://www.bbc.co.uk/sport/cycling">Cycling</a></li></ul><span class="sp-c-sport-flyout__heading gs-u-display-none@m qa-mobile-az">A-Z Sports</span><ul class="sp-c-sport-flyout__inner sp-c-sport-flyout__inner--border gs-u-pv+@m gs-u-mb+"><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="American Football" data-stat-link="/sport/american-football" href="/web/20200912182407/https://www.bbc.co.uk/sport/american-football">American Football</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Athletics" data-stat-link="/sport/athletics" href="/web/20200912182407/https://www.bbc.co.uk/sport/athletics">Athletics</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Basketball" data-stat-link="/sport/basketball" href="/web/20200912182407/https://www.bbc.co.uk/sport/basketball">Basketball</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Boxing" data-stat-link="/sport/boxing" href="/web/20200912182407/https://www.bbc.co.uk/sport/boxing">Boxing</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Cricket" data-stat-link="/sport/cricket" href="/web/20200912182407/https://www.bbc.co.uk/sport/cricket">Cricket</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Cycling" data-stat-link="/sport/cycling" href="/web/20200912182407/https://www.bbc.co.uk/sport/cycling">Cycling</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Darts" data-stat-link="/sport/darts" href="/web/20200912182407/https://www.bbc.co.uk/sport/darts">Darts</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Disability Sport" data-stat-link="/sport/disability-sport" href="/web/20200912182407/https://www.bbc.co.uk/sport/disability-sport">Disability Sport</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Football" data-stat-link="/sport/football" href="/web/20200912182407/https://www.bbc.co.uk/sport/football">Football</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Formula 1" data-stat-link="/sport/formula1" href="/web/20200912182407/https://www.bbc.co.uk/sport/formula1">Formula 1</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Gaelic Games" data-stat-link="/sport/northern-ireland/gaelic-games" href="/web/20200912182407/https://www.bbc.co.uk/sport/northern-ireland/gaelic-games">Gaelic Games</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Get Inspired" data-stat-link="/sport/get-inspired" href="/web/20200912182407/https://www.bbc.co.uk/sport/get-inspired">Get Inspired</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Golf" data-stat-link="/sport/golf" href="/web/20200912182407/https://www.bbc.co.uk/sport/golf">Golf</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Gymnastics" data-stat-link="/sport/gymnastics" href="/web/20200912182407/https://www.bbc.co.uk/sport/gymnastics">Gymnastics</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Horse Racing" data-stat-link="/sport/horse-racing" href="/web/20200912182407/https://www.bbc.co.uk/sport/horse-racing">Horse Racing</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Mixed Martial Arts" data-stat-link="/sport/mixed-martial-arts" href="/web/20200912182407/https://www.bbc.co.uk/sport/mixed-martial-arts">Mixed Martial Arts</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Motorsport" data-stat-link="/sport/motorsport" href="/web/20200912182407/https://www.bbc.co.uk/sport/motorsport">Motorsport</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Netball" data-stat-link="/sport/netball" href="/web/20200912182407/https://www.bbc.co.uk/sport/netball">Netball</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Olympic Sports" data-stat-link="/sport/olympics" href="/web/20200912182407/https://www.bbc.co.uk/sport/olympics">Olympic Sports</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Rugby League" data-stat-link="/sport/rugby-league" href="/web/20200912182407/https://www.bbc.co.uk/sport/rugby-league">Rugby League</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Rugby Union" data-stat-link="/sport/rugby-union" href="/web/20200912182407/https://www.bbc.co.uk/sport/rugby-union">Rugby Union</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Snooker" data-stat-link="/sport/snooker" href="/web/20200912182407/https://www.bbc.co.uk/sport/snooker">Snooker</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Swimming" data-stat-link="/sport/swimming" href="/web/20200912182407/https://www.bbc.co.uk/sport/swimming">Swimming</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Tennis" data-stat-link="/sport/tennis" href="/web/20200912182407/https://www.bbc.co.uk/sport/tennis">Tennis</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Winter Sports" data-stat-link="/sport/winter-sports" href="/web/20200912182407/https://www.bbc.co.uk/sport/winter-sports">Winter Sports</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-atoz-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-atoz" data-stat-title="Full Sports A-Z" data-stat-link="/sport/all-sports" href="/web/20200912182407/https://www.bbc.co.uk/sport/all-sports">Full Sports A-Z</a></li></ul></div><div class="gel-wrap"><span class="sp-c-sport-flyout__heading">More from Sport</span><ul class="sp-c-sport-flyout__inner gs-u-pb+@m"><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-more-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-more-from-sport" data-stat-title="England" data-stat-link="/sport/england" href="/web/20200912182407/https://www.bbc.co.uk/sport/england">England</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-more-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-more-from-sport" data-stat-title="Scotland" data-stat-link="/sport/scotland" href="/web/20200912182407/https://www.bbc.co.uk/sport/scotland">Scotland</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-more-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-more-from-sport" data-stat-title="Wales" data-stat-link="/sport/wales" href="/web/20200912182407/https://www.bbc.co.uk/sport/wales">Wales</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-more-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-more-from-sport" data-stat-title="Northern Ireland" data-stat-link="/sport/northern-ireland" href="/web/20200912182407/https://www.bbc.co.uk/sport/northern-ireland">Northern Ireland</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-more-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-more-from-sport" data-stat-title="News Feeds" data-stat-link="/sport/15890345" href="/web/20200912182407/https://www.bbc.co.uk/sport/15890345">News Feeds</a></li><li class="sp-c-sport-flyout__item"><a class="sp-c-sport-flyout__link qa-flyout-more-item sp-nav-click-stat" data-stat-name="primary-nav-v2-all-sport-more-from-sport" data-stat-title="Help &amp; FAQs" data-stat-link="/sport/15561348" href="/web/20200912182407/https://www.bbc.co.uk/sport/15561348">Help &amp; FAQs</a></li></ul></div></div><div><div class="sp-c-sport-navigation sp-c-sport-navigation--secondary qa-secondary"><div class="gel-wrap"><ul id="sp-nav-secondary" class="sp-c-sport-navigation__inner gs-o-list-inline qa-secondary-ul" role="menu" aria-label="Secondary"><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link sp-c-sport-navigation__link--secondary sp-c-sport-navigation__link--crumb qa-breadcrumb sp-nav-click-stat" role="menuitem" data-stat-name="secondary-nav-v2" data-stat-title="Wales" data-stat-link="/sport/wales" href="/web/20200912182407/https://www.bbc.co.uk/sport/wales">Wales <span class="gel-icon qa-breadcrumb-icon"><svg width="31.9" height="32" viewbox="0 0 31.9 32"><path d="M29 16L3 0v7.2L17.6 16 3 24.8V32z"></path></svg></span></a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link sp-c-sport-navigation__link--secondary qa-secondary-item sp-nav-click-stat" role="menuitem" data-stat-name="secondary-nav-v2" data-stat-title="Welsh Football" data-stat-link="/sport/football/welsh" href="/web/20200912182407/https://www.bbc.co.uk/sport/football/welsh">Welsh Football</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link sp-c-sport-navigation__link--secondary qa-secondary-item sp-nav-click-stat" role="menuitem" data-stat-name="secondary-nav-v2" data-stat-title="Welsh Rugby" data-stat-link="/sport/rugby-union/welsh" href="/web/20200912182407/https://www.bbc.co.uk/sport/rugby-union/welsh">Welsh Rugby</a></li><li class="sp-c-sport-navigation__item " role="presentation"><a class="sp-c-sport-navigation__link sp-c-sport-navigation__link--secondary qa-secondary-item sp-nav-click-stat" role="menuitem" data-stat-name="secondary-nav-v2" data-stat-title="Glamorgan Cricket" data-stat-link="/sport/cricket/teams/glamorgan" href="/web/20200912182407/https://www.bbc.co.uk/sport/cricket/teams/glamorgan">Glamorgan Cricket</a></li></ul></div></div></div></nav></div></div> <div id="bbccom_leaderboard_1_2_3_4" aria-hidden="true"> <div class="bbccom_advert"> <script type="text/javascript"> /*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.adverts && bbcdotcom.adverts.slotAsync) { bbcdotcom.adverts.slotAsync('leaderboard', [1,2,3,4]); } })(); /*]]>*/ </script> </div> </div> <div id="u8880666179863892"><noscript data-reactid=".1u5jrhowq2e" data-react-checksum="-1146941049"></noscript></div> <div id="u15854135262708935"><div class="gel-wrap" data-reactid=".15rp4946ezs" data-react-checksum="-3326724"><div class="gel-layout" data-reactid=".15rp4946ezs.0"><div class="gel-layout__item gel-2/3@l" data-reactid=".15rp4946ezs.0.0"><article data-reactid=".15rp4946ezs.0.0.0"><header data-reactid=".15rp4946ezs.0.0.0.0"><h1 class="gel-trafalgar-bold qa-story-headline gs-u-mv+" data-reactid=".15rp4946ezs.0.0.0.0.0">Sport Wales launches £4m grassroots support fund, plus £4.5m for other bodies</h1><noscript data-reactid=".15rp4946ezs.0.0.0.0.1"></noscript><p class="story-info gel-brevier gs-u-pb+ gs-u-mb-alt+ gs-u-mv+ gs-u-display-flex" data-reactid=".15rp4946ezs.0.0.0.0.2"><span class="gs-u-pr gs-u-mr" data-reactid=".15rp4946ezs.0.0.0.0.2.0"><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.0.0.0.2.0.0">Last updated on </span><span class="gs-c-timestamp gs-o-bullet gs-o-bullet- story-info__timestamp qa-timestamp" data-reactid=".15rp4946ezs.0.0.0.0.2.0.1"><span class="gs-o-bullet__icon gel-icon" data-reactid=".15rp4946ezs.0.0.0.0.2.0.1.0"><svg viewbox="0 0 32 32" data-reactid=".15rp4946ezs.0.0.0.0.2.0.1.0.0"><polygon points="17,15.4 17,6 15,6 15,16.6 23.8,21.7 24.8,19.9" data-reactid=".15rp4946ezs.0.0.0.0.2.0.1.0.0.0"></polygon><path d="M16,4c6.6,0,12,5.4,12,12c0,6.6-5.4,12-12,12S4,22.6,4,16C4,9.4,9.4,4,16,4 M16,0C7.2,0,0,7.2,0,16c0,8.8,7.2,16,16,16 s16-7.2,16-16C32,7.2,24.8,0,16,0L16,0z" data-reactid=".15rp4946ezs.0.0.0.0.2.0.1.0.0.1"></path></svg></span><time class="gs-o-bullet__text qa-status-date gs-u-align-middle gs-u-display-inline" datetime="2020-07-07T05:23:29+00:00" data-datetime="7 July 2020" data-reactid=".15rp4946ezs.0.0.0.0.2.0.1.1"><span aria-hidden="true" class="qa-status-date-output" data-reactid=".15rp4946ezs.0.0.0.0.2.0.1.1.0">7 July 2020</span><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.0.0.0.2.0.1.1.1">7 July 2020</span></time></span><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.0.0.0.2.0.2">.</span></span><span class="gs-u-align-middle gs-o-section-tag gel-brevier qa-section-tag gs-u-pr gs-u-mr" data-reactid=".15rp4946ezs.0.0.0.0.2.1"><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.0.0.0.2.1.0">From the section </span><a href="/web/20200912182407/https://www.bbc.co.uk/sport/wales" data-reactid=".15rp4946ezs.0.0.0.0.2.1.1">Wales</a></span><noscript data-reactid=".15rp4946ezs.0.0.0.0.2.2"></noscript></p></header><div class="qa-story-body story-body gel-pica gel-10/12@m gel-7/8@l gs-u-ml0@l gs-u-pb++" data-reactid=".15rp4946ezs.0.0.0.1"><figure class="gs-u-mt0 gs-u-mb-alt+ story-body__media story-body__media--figure qa-story-body-media story-body__media--lead" data-reactid=".15rp4946ezs.0.0.0.1.$image-0"><span class="gs-u-display-block story-body__media" data-reactid=".15rp4946ezs.0.0.0.1.$image-0.0"><span class="gs-u-display-block gs-o-responsive-image" style="padding-bottom:56.25%;" data-reactid=".15rp4946ezs.0.0.0.1.$image-0.0.0"><img src="https://web.archive.org/web/20200912182407im_/https://ichef.bbci.co.uk/onesport/cps/624/cpsprodpb/140FF/production/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg" sizes="(min-width: 1280px) 800px, (min-width: 900px) 624px, (min-width: 600px) 976px, (min-width: 400px) 624px, 400px" srcset="https://web.archive.org/web/20200912182407im_/https://ichef.bbci.co.uk/onesport/cps/400/cpsprodpb/140FF/production/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg 400w, https://web.archive.org/web/20200912182407im_/https://ichef.bbci.co.uk/onesport/cps/624/cpsprodpb/140FF/production/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg 624w, https://web.archive.org/web/20200912182407im_/https://ichef.bbci.co.uk/onesport/cps/800/cpsprodpb/140FF/production/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg 800w, https://web.archive.org/web/20200912182407im_/https://ichef.bbci.co.uk/onesport/cps/976/cpsprodpb/140FF/production/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg 976w" alt="Cefn Coed v Gilfach Goch rugby" class="qa-srcset-image" data-reactid=".15rp4946ezs.0.0.0.1.$image-0.0.0.0"/></span></span><figcaption class="gel-brevier gs-u-ph+ gs-u-pv-alt story-body__media__caption story-body__media__caption--image" data-reactid=".15rp4946ezs.0.0.0.1.$image-0.1">Sports clubs in Wales are hoping for brighter days ahead</figcaption></figure><p role="introduction" class="qa-introduction gel-pica-bold" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-1"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-1.0">Sport Wales has launched a £4m fund for grassroots sports clubs and a further £4.5m to for bodies including the nation&#x27;s rugby union and football governing bodies.</span></p><div data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-2"><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-2.0"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-2.0.0">The money is intended to help those who receive it overcome the financial effects of the coronavirus pandemic.</span></p><div class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-2.1"><div id="bbccom_mpu_1_2_3" class="bbccom_slot bbccom_standard_slot mpu_first_slot" aria-hidden="true" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-2.1.$body-0"><div class="bbccom_advert" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-2.1.$body-0.0"></div></div></div></div><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-3"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-3.0">The umbrella body hopes the &#x27;Be Active Wales Fund&#x27; can boost community sports and help them restart safely. </span></p><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-4"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-4.0">Welsh Government funds and &quot;repurposed&quot; National Lottery cash are being used.</span></p><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-5"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-5.0">Clubs can apply for grants of between £300 and £50,000 under the &#x27;Be Active Wales Fund&#x27;.</span></p><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-6"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-6.0">The £4m is in addition to more than £500,000 of emergency funds </span><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sport/wales/52936814" class="story-body__internal-link" title="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-6.$link-2"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-6.$link-2.0">already set aside</span></a><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-6.3"> for sports clubs and organisations to help stave off financial hardship.</span></p><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-7"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-7.0">In a statement Sport Wales said: &quot;Grassroots sports clubs and organisations at risk of folding because of the Covid-19 crisis may need funding to help pay rent, utility costs, insurances or any fixed costs they may have for facility or equipment hire. </span></p><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-8"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-8.0">&quot;Whereas some sports, such as golf and tennis, have begun to restart their activities... others like football and rugby are awaiting the green light to resume. &quot;</span></p><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9.0">Sport Wales chief executive Sarah Powell added: &quot;Grassroots sport has been hit incredibly hard. Thankfully emergency funding has already saved a huge number of clubs and we&#x27;re pleased to be able to launch </span><a href="https://web.archive.org/web/20200912182407/https://www.sport.wales/media-centre/latest-news/07-07-2020-4m-lifeline-fund-launched-to-save-and-rebuild-community-sport/" class="story-body__external-link" title="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9.$link-2"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9.$link-2.0">this new fund,</span><span class="gs-u-ml- gel-icon" style="height:15px;width:15px;" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9.$link-2.1"><svg viewbox="0 0 32 32" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9.$link-2.1.0"><title data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9.$link-2.1.0.0">external-link</title><path d="M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0H12z" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9.$link-2.1.0.1"></path></svg></span></a><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-9.3"> which will provide even more support at a time when it is so badly needed.&quot;</span></p><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-10"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-10.0">The Welsh Rugby Union and Football Association of Wales join Welsh Athletics, Welsh Netball, local authorities and organisations such as Urdd Street Games in having a £4.5m fund to call on.</span></p><p class="" data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-11"><span data-reactid=".15rp4946ezs.0.0.0.1.$paragraph-11.0">Leisure Trusts who operate not-for-profit facilities can also benefit from that £4.5m.</span></p></div></article></div><div class="gel-layout__item gel-1/3@l layout__secondary-col--spaced" data-reactid=".15rp4946ezs.0.1"><noscript data-reactid=".15rp4946ezs.0.1.0"></noscript><section class="top-stories gs-u-mt+ gs-u-mb+@m gs-u-ph gs-u-pl-alt@xs gs-u-pl-alt+@m gs-u-pl-alt+@l" data-reactid=".15rp4946ezs.0.1.1"><h2 class="component__title gs-u-pl@xs gs-u-pl0@m" data-reactid=".15rp4946ezs.0.1.1.0">Top Stories</h2><ul class="gel-layout gs-u-pl+" data-reactid=".15rp4946ezs.0.1.1.1"><li class="qa-top-stories-list-item gel-1/1@xs gel-1/3@m gel-1/1@l gs-u-pb+ gs-u-pb0@m" data-reactid=".15rp4946ezs.0.1.1.1.$0"><div class="gs-c-promo gs-t-sport gs-c-promo--inline gs-c-promo--stacked@m gs-o-faux-block-link gs-u-pb gs-u-pb++@m gs-c-promo--inline@l gs-c-promo--flex" data-reactid=".15rp4946ezs.0.1.1.1.$0.0"><div class="gs-c-promo-image gs-u-display-none gs-u-display-block@xs gel-1/2@l gs-u-mb@m gs-u-mb0@l" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.0"><div class="gs-o-media-island" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.0.0"><div class="gs-o-responsive-image gs-o-responsive-image--16by9" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.0.0.0"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/onesport/cps/{width}/cpsprodpb/2821/production/_114337201_ful_getty.jpg" data-widths="[240,320,480,624,800]" data-sizes="auto" alt="Fulham" class="qa-lazyload-image lazyload lazyautosizes" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.0.0.0.0"/></div><span data-reactid=".15rp4946ezs.0.1.1.1.$0.0.0.0.1"></span></div></div><div class="gs-c-promo-body gel-1/2@l" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1"><div class="" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.0"><a class="gs-c-promo-heading gs-o-faux-block-link__overlay-link sp-o-link-split__anchor gel-pica-bold" href="/web/20200912182407/https://www.bbc.co.uk/sport/live/football/53869621" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.0.0"><h3 class="gs-c-promo-heading__title gel-pica-bold sp-o-link-split__text" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.0.0.2">Premier League returns - four games starting with Fulham v Arsenal</h3></a></div><div class="top-stories__meta" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1"><ul class="gs-o-list-inline gs-o-list-inline--divided gel-brevier gs-u-mt-" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0"><li data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$0/=10"><span class="gs-o-bullet gs-c-live-pulse gs-c-live-pulse--sport gs-u-mr" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$0/=10.0"><span class="gs-o-bullet__icon gs-c-live-pulse__icon gel-icon" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$0/=10.0.0"></span><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$0/=10.0.1">Live</span><span class="gs-o-bullet__text gs-c-live-pulse__text" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$0/=10.0.2">Live</span></span></li><li data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$1/=11"><span class="gs-u-align-middle gs-o-section-tag gel-brevier qa-section-tag" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$1/=11.0"><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$1/=11.0.0">From the section </span><a href="/web/20200912182407/https://www.bbc.co.uk/sport/football" data-reactid=".15rp4946ezs.0.1.1.1.$0.0.1.1.0.$1/=11.0.1">Football</a></span></li></ul></div></div></div></li><li class="qa-top-stories-list-item gel-1/1@xs gel-1/3@m gel-1/1@l gs-u-pb+ gs-u-pb0@m" data-reactid=".15rp4946ezs.0.1.1.1.$1"><div class="gs-c-promo gs-t-sport gs-c-promo--inline gs-c-promo--stacked@m gs-o-faux-block-link gs-u-pb gs-u-pb++@m gs-c-promo--inline@l gs-c-promo--flex" data-reactid=".15rp4946ezs.0.1.1.1.$1.0"><div class="gs-c-promo-image gs-u-display-none gs-u-display-block@xs gel-1/2@l gs-u-mb@m gs-u-mb0@l" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.0"><div class="gs-o-media-island" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.0.0"><div class="gs-o-responsive-image gs-o-responsive-image--16by9" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.0.0.0"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/onesport/cps/{width}/cpsprodpb/B3F9/production/_114337064_bot.jpg" data-widths="[240,320,480,624,800]" data-sizes="auto" alt="Valtteri Bottas" class="qa-lazyload-image lazyload lazyautosizes" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.0.0.0.0"/></div><span data-reactid=".15rp4946ezs.0.1.1.1.$1.0.0.0.1"></span></div></div><div class="gs-c-promo-body gel-1/2@l" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1"><div class="" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.0"><a class="gs-c-promo-heading gs-o-faux-block-link__overlay-link sp-o-link-split__anchor gel-pica-bold" href="/web/20200912182407/https://www.bbc.co.uk/sport/live/formula1/53367228" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.0.0"><h3 class="gs-c-promo-heading__title gel-pica-bold sp-o-link-split__text" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.0.0.2">Bottas tops final practice for Tuscan Grand Prix</h3></a></div><div class="top-stories__meta" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1"><ul class="gs-o-list-inline gs-o-list-inline--divided gel-brevier gs-u-mt-" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0"><li data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$0/=10"><span class="gs-o-bullet gs-c-live-pulse gs-c-live-pulse--sport gs-u-mr" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$0/=10.0"><span class="gs-o-bullet__icon gs-c-live-pulse__icon gel-icon" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$0/=10.0.0"></span><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$0/=10.0.1">Live</span><span class="gs-o-bullet__text gs-c-live-pulse__text" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$0/=10.0.2">Live</span></span></li><li data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$1/=11"><span class="gs-u-align-middle gs-o-section-tag gel-brevier qa-section-tag" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$1/=11.0"><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$1/=11.0.0">From the section </span><a href="/web/20200912182407/https://www.bbc.co.uk/sport/formula1" data-reactid=".15rp4946ezs.0.1.1.1.$1.0.1.1.0.$1/=11.0.1">Formula 1</a></span></li></ul></div></div></div></li><li class="qa-top-stories-list-item gel-1/1@xs gel-1/3@m gel-1/1@l gs-u-pb+ gs-u-pb0@m" data-reactid=".15rp4946ezs.0.1.1.1.$2"><div class="gs-c-promo gs-t-sport gs-c-promo--inline gs-c-promo--stacked@m gs-o-faux-block-link gs-u-pb gs-u-pb++@m gs-c-promo--inline@l gs-c-promo--flex" data-reactid=".15rp4946ezs.0.1.1.1.$2.0"><div class="gs-c-promo-image gs-u-display-none gs-u-display-block@xs gel-1/2@l gs-u-mb@m gs-u-mb0@l" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.0"><div class="gs-o-media-island" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.0.0"><div class="gs-o-responsive-image gs-o-responsive-image--16by9" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.0.0.0"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/onesport/cps/{width}/cpsprodpb/66A1/production/_114337262_mural.jpg" data-widths="[240,320,480,624,800]" data-sizes="auto" alt="Birmingham City mural" class="qa-lazyload-image lazyload lazyautosizes" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.0.0.0.0"/></div><span data-reactid=".15rp4946ezs.0.1.1.1.$2.0.0.0.1"></span></div></div><div class="gs-c-promo-body gel-1/2@l" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1"><div class="" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.0"><a class="gs-c-promo-heading gs-o-faux-block-link__overlay-link sp-o-link-split__anchor gel-pica-bold" href="/web/20200912182407/https://www.bbc.co.uk/sport/live/football/53936132" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.0.0"><h3 class="gs-c-promo-heading__title gel-pica-bold sp-o-link-split__text" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.0.0.2">EFL: Wycombe making Championship debut, Brentford away at Blues</h3></a></div><div class="top-stories__meta" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1"><ul class="gs-o-list-inline gs-o-list-inline--divided gel-brevier gs-u-mt-" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0"><li data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$0/=10"><span class="gs-o-bullet gs-c-live-pulse gs-c-live-pulse--sport gs-u-mr" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$0/=10.0"><span class="gs-o-bullet__icon gs-c-live-pulse__icon gel-icon" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$0/=10.0.0"></span><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$0/=10.0.1">Live</span><span class="gs-o-bullet__text gs-c-live-pulse__text" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$0/=10.0.2">Live</span></span></li><li data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$1/=11"><span class="gs-u-align-middle gs-o-section-tag gel-brevier qa-section-tag" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$1/=11.0"><span class="gs-u-vh" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$1/=11.0.0">From the section </span><a href="/web/20200912182407/https://www.bbc.co.uk/sport/football" data-reactid=".15rp4946ezs.0.1.1.1.$2.0.1.1.0.$1/=11.0.1">Football</a></span></li></ul></div></div></div></li></ul></section><div class="gs-u-mb+ gs-u-mb0@l" data-reactid=".15rp4946ezs.0.1.2"><div id="bbccom_mpu_4" class="bbccom_slot bbccom_standard_slot qa-advert" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-0"><div class="bbccom_advert" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-0.0"></div></div><div id="bbccom_native_1_2_3_4" class="bbccom_slot" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-1"><div class="bbccom_advert" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-1.0"></div></div><div id="bbccom_outbrain_ar_1_1_2_3_4" class="bbccom_slot bbccom_outbrain_slot" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-2"><div class="bbccom_advert" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-2.0"></div></div><div id="bbccom_inread_1_2_3_4" class="bbccom_slot" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-3"><div class="bbccom_advert" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-3.0"></div></div><div id="bbccom_adsense_1_2_3_4" class="bbccom_slot bbccom_adsense_slot bbccom_shut" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-4"><div class="bbccom_advert" data-reactid=".15rp4946ezs.0.1.2.$rightHandSideBetween-4.0"></div></div></div><div data-reactid=".15rp4946ezs.0.1.3"><section id="multi-thumb-promo-0" class="box-promo gs-u-pt++@l gs-u-mt++@l multi-promo__centre" data-reactid=".15rp4946ezs.0.1.3.$0"><div class="qa-multi-thumb-promo gs-u-ph gs-u-pl+" data-reactid=".15rp4946ezs.0.1.3.$0.0"><ul class="qa-multi-thumb-promo-list multi-thumb-promo__list gel-layout gs-u-pl-alt+@m gs-u-pl@l" data-reactid=".15rp4946ezs.0.1.3.$0.0.1"><li class="qa-multi-thumb-promo-list-item multi-thumb-promo__item multi-thumb-promo--flex gel-layout__item gel-1/1@l gs-u-mb+ gel-1/2@xs gel-1/4@m" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779"><div class="gs-c-promo gs-t-sport gs-c-promo--stacked@m gs-o-faux-block-link gs-u-mb+@xs gs-c-promo--flex" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0"><div class="gs-c-promo-image gs-u-pl-@xs gs-u-pl0@m gs-u-pl+@l gs-u-display-none gs-u-display-block@xs" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.0"><div class="gs-o-media-island" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.0.0"><div class="gs-o-responsive-image gs-o-responsive-image--16by9" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.0.0.0"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/onesport/cps/{width}/cpsprodpb/14E5F/production/_96699558_guidescomposite2.jpg" data-widths="[240,320,480,624,800]" data-sizes="auto" alt="Sports equipment" class="qa-lazyload-image lazyload lazyautosizes" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.0.0.0.0"/></div></div></div><div class="gs-c-promo-body sp-c-promo gs-u-mt@xs gel-1/1@m gs-u-pl0@m gs-u-pl+@l" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.1"><div class="" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.1.0"><a class="gs-c-promo-heading gs-o-faux-block-link__overlay-link sp-o-link-split__anchor gel-pica-bold" href="https://web.archive.org/web/20200912182407/http://www.bbc.co.uk/sport/get-inspired/25416779" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.1.0.0"><h3 class="gs-c-promo-heading__title gel-pica-bold sp-o-link-split__text" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.1.0.0.2">How anyone can get involved in just about any sport</h3></a></div><span data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$http=2//www=1bbc=1co=1uk/sport/get-inspired/25416779.0.1.1"></span></div></div></li><li class="qa-multi-thumb-promo-list-item multi-thumb-promo__item multi-thumb-promo--flex gel-layout__item gel-1/1@l gs-u-mb+ gel-1/2@xs gel-1/4@m" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired"><div class="gs-c-promo gs-t-sport gs-c-promo--stacked@m gs-o-faux-block-link gs-u-mb+@xs gs-c-promo--flex" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0"><div class="gs-c-promo-image gs-u-pl-@xs gs-u-pl0@m gs-u-pl+@l gs-u-display-none gs-u-display-block@xs" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0.0"><div class="gs-o-media-island" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0.0.0"><div class="gs-o-responsive-image gs-o-responsive-image--16by9" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0.0.0.0"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/onesport/cps/{width}/mcs/media/images/79460000/jpg/_79460689_get-inspired-promos_624-facebook.jpg" data-widths="[240,320,480,624,800]" data-sizes="auto" alt="Image of two boys under water with &quot;Like us on Facebook&quot; in words" class="qa-lazyload-image lazyload lazyautosizes" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0.0.0.0.0"/></div></div></div><div class="gs-c-promo-body sp-c-promo gs-u-mt@xs gel-1/1@m gs-u-pl0@m gs-u-pl+@l" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0.1"><div class="" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0.1.0"><a class="gs-c-promo-heading gs-o-faux-block-link__overlay-link sp-o-link-split__anchor gel-pica-bold" href="https://web.archive.org/web/20200912182407/https://www.facebook.com/BBCGetInspired" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0.1.0.0"><h3 class="gs-c-promo-heading__title gel-pica-bold sp-o-link-split__text" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1facebook=1com/BBCGetInspired.0.1.0.0.2">Share your story on Facebook</h3></a></div></div></div></li><li class="qa-multi-thumb-promo-list-item multi-thumb-promo__item multi-thumb-promo--flex gel-layout__item gel-1/1@l gs-u-mb+ gel-1/2@xs gel-1/4@m" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired"><div class="gs-c-promo gs-t-sport gs-c-promo--stacked@m gs-o-faux-block-link gs-u-mb+@xs gs-c-promo--flex" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0"><div class="gs-c-promo-image gs-u-pl-@xs gs-u-pl0@m gs-u-pl+@l gs-u-display-none gs-u-display-block@xs" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0.0"><div class="gs-o-media-island" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0.0.0"><div class="gs-o-responsive-image gs-o-responsive-image--16by9" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0.0.0.0"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/onesport/cps/{width}/mcs/media/images/77524000/jpg/_77524730_143810851getinspired.jpg" data-widths="[240,320,480,624,800]" data-sizes="auto" alt="#GetInspired words on a picture of runner's legs" class="qa-lazyload-image lazyload lazyautosizes" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0.0.0.0.0"/></div></div></div><div class="gs-c-promo-body sp-c-promo gs-u-mt@xs gel-1/1@m gs-u-pl0@m gs-u-pl+@l" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0.1"><div class="" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0.1.0"><a class="gs-c-promo-heading gs-o-faux-block-link__overlay-link sp-o-link-split__anchor gel-pica-bold" href="https://web.archive.org/web/20200912182407/https://twitter.com/bbcgetinspired" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0.1.0.0"><h3 class="gs-c-promo-heading__title gel-pica-bold sp-o-link-split__text" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//twitter=1com/bbcgetinspired.0.1.0.0.2">Join the conversation at @bbcgetinspired</h3></a></div></div></div></li><li class="qa-multi-thumb-promo-list-item multi-thumb-promo__item multi-thumb-promo--flex gel-layout__item gel-1/1@l gs-u-mb+ gel-1/2@xs gel-1/4@m" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581"><div class="gs-c-promo gs-t-sport gs-c-promo--stacked@m gs-o-faux-block-link gs-u-mb+@xs gs-c-promo--flex" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0"><div class="gs-c-promo-image gs-u-pl-@xs gs-u-pl0@m gs-u-pl+@l gs-u-display-none gs-u-display-block@xs" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.0"><div class="gs-o-media-island" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.0.0"><div class="gs-o-responsive-image gs-o-responsive-image--16by9" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.0.0.0"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/onesport/cps/{width}/mcs/media/images/79460000/jpg/_79460171_get-inspired-promos_624-know-more.jpg" data-widths="[240,320,480,624,800]" data-sizes="auto" alt="graphic with image of Andy &amp; Judy Murray jumping with a group of kids + words &quot;Want to know more?&quot;" class="qa-lazyload-image lazyload lazyautosizes" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.0.0.0.0"/></div></div></div><div class="gs-c-promo-body sp-c-promo gs-u-mt@xs gel-1/1@m gs-u-pl0@m gs-u-pl+@l" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.1"><div class="" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.1.0"><a class="gs-c-promo-heading gs-o-faux-block-link__overlay-link sp-o-link-split__anchor gel-pica-bold" href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sport/get-inspired/27246581" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.1.0.0"><h3 class="gs-c-promo-heading__title gel-pica-bold sp-o-link-split__text" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.1.0.0.2">What is Get Inspired?</h3></a></div><p class="gs-c-promo-summary gel-long-primer sp-c-promo-summary gs-u-mt-@m" data-reactid=".15rp4946ezs.0.1.3.$0.0.1.$https=2//www=1bbc=1co=1uk/sport/get-inspired/27246581.0.1.1"> </p></div></div></li></ul></div></section></div><div class="" data-reactid=".15rp4946ezs.0.1.4"><div id="bbccom_mpu_bottom_1_2_3_4" class="bbccom_slot bbccom_standard_slot" aria-hidden="true" data-reactid=".15rp4946ezs.0.1.4.$rightHandSideBottom-0"><div class="bbccom_advert" data-reactid=".15rp4946ezs.0.1.4.$rightHandSideBottom-0.0"></div></div></div></div></div></div></div> <script type="text/javascript">!function(){var a=!0;if("object"==typeof bbccookies&&"function"==typeof bbccookies.readPolicy&&(a=!bbccookies.readPolicy().performance),a&&-1!==document.cookie.indexOf("_chartbeat"))for(var b=document.cookie.split(";"),c=b.length;c--;){var d=b[c].replace(/^\s+|\s+$/g,""),e=d.split("=")[0];0===e.indexOf("_chartbeat")&&(document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;")}_sf_async_config.noCookies=a}(),function(){function a(){window._sf_endpt=(new Date).getTime();var a=document.createElement("script");a.setAttribute("language","javascript"),a.setAttribute("type","text/javascript"),a.setAttribute("src","//web.archive.org/web/20200912182407/https://static.chartbeat.com/js/chartbeat.js"),document.body.appendChild(a)}var b=window.onload;window.onload="function"!=typeof window.onload?a:function(){b(),a()}}();</script> </div> <div id="orb-footer" class="orb-footer" dir="ltr"> <div id="navp-orb-footer-promo"></div><aside role="complementary"><div id="orb-aside" class="orb-nav-sec b-r b-g-p"><div class="orb-footer-inner" role="navigation" aria-label="BBC"><h2 class="orb-footer-lead">Explore the BBC</h2><div class="orb-footer-primary-links"><ul><li class="orb-nav-home"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/bbcthree">Three</a></li></ul></div></div></div></aside><footer role="contentinfo"><div id="orb-contentinfo" class="orb-nav-sec b-r b-g-p"><script>window.orb.worldwideFooterlinks = '<li class="orb-footer-ads"><a href="https://web.archive.org/web/20200912182407/https://advertising.bbcworldwide.com/">Advertise with us<'+'/a><'+'/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.com/usingthebbc/cookies/how-can-i-change-my-bbc-cookie-settings/">AdChoices / Do Not Sell My Info<'+'/a><'+'/li>';</script><div class="orb-footer-inner"> <ul><li class="orb-footer-terms"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright &copy; 2020 BBC.</em> The BBC is not responsible for the content of external sites. <span class="orb-footer-links"><a href="https://web.archive.org/web/20200912182407/https://www.bbc.co.uk/help/web/links/" class="orb-hilight">Read about our approach to external linking.</a></span></small></div></div></div></footer></div><script id="orb-js-script" data-assetpath="https://nav.files.bbci.co.uk/orbit/b3428ed36e7e195dbf298117ef155a8f/" src="https://web.archive.org/web/20200912182407js_/https://nav.files.bbci.co.uk/orbit/b3428ed36e7e195dbf298117ef155a8f/js/orb.min.js"></script> <script type="text/javascript">/*<![CDATA[*/ require(['orb/nav'], function(nav) { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { nav.loadJs('https://web.archive.org/web/20200912182407/https://nav.files.bbci.co.uk/orbit/b3428ed36e7e195dbf298117ef155a8f/js/edr.min.js'); } }); }); /*]]>*/</script> <!-- BBCDOTCOM bodyLast --><div class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && window.bbcdotcom.analytics && bbcdotcom.config && !bbcdotcom.config.isSportApp() && !bbcdotcom.config.isReel()) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.analytics.page, bbcdotcom.analytics); } /*]]>*/</script><noscript><img src="//web.archive.org/web/20200912182407im_/https://ssc.api.bbc.com/?c1=2&amp;c2=19293874&amp;ns_site=bbc&amp;name=" height="1" width="1" alt=""></noscript><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.currencyProviders.write, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.currencyProviders.postWrite, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyLast = true; }()); /*]]>*/</script></div><!-- BBCDOTCOM all code in page --> <script type="text/javascript">require.config({ "paths": { "orb/async/_footerpromo": 'https://web.archive.org/web/20200912182407/https://nav.files.bbci.co.uk/navpromo/4745be14d971db946fed75ccf103d382/js/async/_footerpromo' } }); (function() { document.addEventListener("DOMContentLoaded", function(event) { initialiseFooter(); }); var scrollCheckTimer; var didScroll; var previousPosition = 0; var delta = 5; var PROMO_SHOW_BREAKPOINT = 1500; var pageLength = 0; function getCookie(key) { if (!key) { return document.cookie; } return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null; } function initialiseFooter() { // Suppress this feature on browsers we no longer test var myNav = navigator.userAgent.toLowerCase(); var oldIE = (myNav.indexOf('msie') !== -1) && parseInt(myNav.split('msie')[1], 10) <= 10; if (!oldIE) { var disabledByCookie = (parseInt(getCookie('ckns_nav_promofail')) || 0) >= 3; if (!disabledByCookie) { window.bbcpage.getLanguage().then(function(language) { if (language === 'en') { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { setUpLazyLoading(); } }); } }); } } } function setUpLazyLoading() { // offsetHeight is expensive to calculate, only do it once. pageLength = Math.abs(document.body.offsetHeight); if (pageLength < getViewportHeight() + 300 || pageLength - getCurrentPosition() < PROMO_SHOW_BREAKPOINT) { loadPromo(); } else { window.onscroll = function () { didScroll = true; }; scrollCheckTimer = setInterval(function () { if (didScroll) { hasScrolled(); didScroll = false; } }, 250); } } function loadPromo() { clearInterval(scrollCheckTimer); require(['orb/async/_footerpromo'], function(promo) { promo.init('https://web.archive.org/web/20200912182407/https://navpromo.api.bbci.co.uk', ''); }); } function getViewportHeight() { return window.innerHeight; } function getCurrentPosition() { return Math.abs(window.scrollY || document.body.scrollTop || document.documentElement.scrollTop); } function hasScrolled() { var currentPosition = getCurrentPosition(); if (Math.abs(previousPosition - currentPosition) <= delta) { return; } if (currentPosition > previousPosition) { if ((pageLength - currentPosition) <= PROMO_SHOW_BREAKPOINT) { loadPromo(); } } previousPosition = currentPosition; } })();</script> <script type="text/javascript">require.config({ paths: { "mybbc/templates": '//web.archive.org/web/20200912182407/https://mybbc.files.bbci.co.uk/notification-ui/4.2.2/templates', "mybbc/notifications": '//web.archive.org/web/20200912182407/https://mybbc.files.bbci.co.uk/notification-ui/4.2.2/js' } }); require(['mybbc/notifications/NotificationsMain', 'idcta/idcta-1'], function (NotificationsMain, idcta) { var loadNotifications = function (isUK) { if (isUK) { window.bbcpage.loadCSS('//web.archive.org/web/20200912182407/https://mybbc.files.bbci.co.uk/notification-ui/4.2.2/css/main.min.css').then(function() { NotificationsMain.run(idcta, '//web.archive.org/web/20200912182407/https://mybbc.files.bbci.co.uk/notification-ui/4.2.2/'); }); } }; window.bbcuser.isUKCombined().then(function(isUK) { loadNotifications(isUK); }); });</script> <script type="text/javascript">if (window.SEARCHBOX.suppress === false && window.SEARCHBOX.locale) { require.config({ paths: { "search/searchbox": window.SEARCHBOX.searchboxAppStaticPrefix, } }); if (bbcuser && bbcuser.isUKCombined) { bbcuser.isUKCombined().then(function (isUK) { if (isUK) { require(['search/searchbox/searchboxDrawer'], function (SearchboxDrawer) { SearchboxDrawer.run(window.SEARCHBOX); }); } }); } }</script> <script type="text/javascript">window.COOKIES_STATIC_HOST = 'https://web.archive.org/web/20200912182407/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-500.213a8af/cookie-banner/cookie-prompt/';</script><script src="https://web.archive.org/web/20200912182407js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-500.213a8af/cookie-banner/cookie-banners.bundle.js" async=""></script><script type="text/javascript">require(["istats-1","orb/cookies"],function(o,t){if(t.isAllowed("s1"))try{if(!require.s.contexts._.config.paths.idcta)return void i();require(["idcta/idcta-1"],function(t){t&&"function"==typeof t.getIStatsLabels&&o.addLabels(t.getIStatsLabels()),i()},function(t){throw t})}catch(t){console&&"function"==typeof console.log&&console.log("an exception occurred while adding idcta labels to istats, invoking istats without them",t),i()}function i(){o.invoke()}});</script><script type="text/javascript">"use strict";window.__reverb.__reverbLoadedPromise.then(function(e){return e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Failed to load reverb. No event sent")});</script><script src="https://web.archive.org/web/20200912182407js_/https://nav.files.bbci.co.uk//user-activity-helper/1d5fa47d9ba60d5c52b377ec3208b7be/js/detectview.bundle.js" async=""></script> <script>require.config({"paths":{"bump-3":"//web.archive.org/web/20200912182407/https://emp.bbci.co.uk/emp/bump-3/bump-3","bump-4":"//web.archive.org/web/20200912182407/https://emp.bbci.co.uk/emp/bump-4/bump-4","echo-8.1.0":"//web.archive.org/web/20200912182407/https://static.bbci.co.uk/echoclient/modules/echo-8.1.0.js","jssignals-1":"//web.archive.org/web/20200912182407/https://static.bbci.co.uk/frameworks/jssignals/0.3.6/modules/jssignals-1","jquery-1":"//web.archive.org/web/20200912182407/https://static.test.bbc.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.7.2","jquery-1.9":"//web.archive.org/web/20200912182407/https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1","swfobject-2":"//web.archive.org/web/20200912182407/https://static.bbci.co.uk/frameworks/swfobject/0.1.10/sharedmodules/swfobject-2"}})</script> <script src="//web.archive.org/web/20200912182407js_/https://m.files.bbci.co.uk/modules/bbc-morph-sport-navigation/6.3.7/bundle.app.js"></script> <script type="text/javascript"> (function() { var resizeTimeout; window.addEventListener("resize", function() { clearTimeout(resizeTimeout); resizeTimeout = setTimeout(function() { bbcdotcom.reset(); }, 500); }, false); }()); </script> <script>Morph.toInit.bundles.push(function() { Morph.versions["morph-react-graphql@2.3.83"]={"bbc-morph-graphql":"2.3.63","morph":"5.3.1","morph-container":"4.0.0","morph-graphql":"1.4.0","prop-types":"15.7.2","react":"0.14.7"}; !function(e){function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}var t={};r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r(r.s=4)}([function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var a=t(1);Object.defineProperty(r,"optimiseQuery",{enumerable:!0,get:function(){return n(a).default}});var i=t(12);Object.defineProperty(r,"createUri",{enumerable:!0,get:function(){return n(i).default}});var s=t(13);Object.defineProperty(r,"createUriString",{enumerable:!0,get:function(){return n(s).default}});var o=t(14);Object.defineProperty(r,"generateToken",{enumerable:!0,get:function(){return n(o).default}})},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function e(e,r){var t=[],n=!0,a=!1,i=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done)&&(t.push(s.value),!r||t.length!==r);n=!0);}catch(e){a=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(a)throw i}}return t}return function(r,t){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return e(r,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=[[/([{}])\s+/g,"$1"],[/\s+([{}])/g,"$1"],[/\s+([:)])/g,"$1"],[/([:(])\s+/g,"$1"],[/([\s+,]+)(?=([^"]*"[^"]*")*[^"]*$)/g,","],[/\.\.\.,on,/g,"...on "]],i=function(e){return a.reduce(function(e,r){var t=n(r,2),a=t[0],i=t[1];return e.replace(a,i)},e)};r.default=i},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(0),a=t(28),i=function(e){return e&&e.__esModule?e:{default:e}}(a),s=function(e){var r=(0,n.optimiseQuery)(e);if((0,i.default)()){var t=Object.keys(window.Morph.payloads).filter(function(e){return 0===e.indexOf((0,n.createUriString)(r)+"/token/")})[0],a=/\/token\/([^\/]+)/.exec(t);return a&&a[1]}return(0,n.generateToken)(r)};r.default=s},function(e,r){e.exports=Morph},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(5),a=t.n(n);Morph.modules["morph-react-graphql@2.3.83"]=a.a},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.generateToken=r.willUpdate=r.setPayload=r.Query=void 0;var a=t(6),i=n(a),s=t(29),o=n(s),u=t(30),c=n(u),d=t(2),l=n(d);r.Query=i.default,r.setPayload=o.default,r.willUpdate=c.default,r.generateToken=l.default,r.default={Query:i.default,setPayload:o.default,willUpdate:c.default,generateToken:l.default}},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var a=t(7),i=n(a),s=t(10),o=n(s),u=t(11),c=n(u),d=t(0),l=t(2),f=n(l),h=function(e){var r=e.children,t=e.query,n=e.variables,a=e.updates,i=function(e){var t=e.data;return r(t&&202!==t.meta.responseCode?200!==t.meta.responseCode?{data:null,loading:!1,error:!0}:{data:t.body,loading:!1,error:!1}:{data:null,loading:!0,error:!1})},s=c.default.create(i,{data:function(){var e="undefined"==typeof window;return{data:{uri:(0,d.createUri)(t,(0,f.default)(t),n),requireSuccess:e,updates:a}}}});return o.default.createElement(s,null)};h.displayName="Query",h.propTypes={children:i.default.func.isRequired,query:i.default.string.isRequired,updates:i.default.bool,variables:i.default.objectOf(i.default.any)},h.defaultProps={updates:!1,variables:null},r.default=h},function(e,r,t){e.exports=t(8)()},function(e,r,t){"use strict";function n(){}function a(){}var i=t(9);a.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,a,s){if(s!==i){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return t.PropTypes=t,t}},function(e,r,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,r){e.exports=React},function(e,r){e.exports={create:function(e,r){return Morph.createContainerWithCaller("morph-react-graphql@2.3.83",e,r)}}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a=t(1),i=function(e){return e&&e.__esModule?e:{default:e}}(a),s=function(e,r,t){return n({data:"bbc-morph-graphql",query:(0,i.default)(e)},r?{token:r}:{},t?{variables:JSON.stringify(t)}:{})};r.default=s},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(1),a=function(e){return e&&e.__esModule?e:{default:e}}(n),i=function(e){return e?"/variables/"+encodeURIComponent(JSON.stringify(e)):""},s=function(e){return e?"/token/"+e:""},o=function(e){return"/query/"+encodeURIComponent((0,a.default)(e))},u=function(e,r,t){return"/data/bbc-morph-graphql"+o(e)+s(r)+i(t)};r.default=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object({NODE_ENV:"production"}).MORPH_SECRET,n=t(15),a=n.createHmac("sha256",r||"");return a.update(e),a.digest("hex")};r.default=n},function(e,r,t){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=t(16),r.createHash=r.Hash=t(17),r.createHmac=r.Hmac=t(18);var n=t(19),a=Object.keys(n),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(a);r.getHashes=function(){return i};var s=t(21);r.pbkdf2=s.pbkdf2,r.pbkdf2Sync=s.pbkdf2Sync;var o=t(22);r.Cipher=o.Cipher,r.createCipher=o.createCipher,r.Cipheriv=o.Cipheriv,r.createCipheriv=o.createCipheriv,r.Decipher=o.Decipher,r.createDecipher=o.createDecipher,r.Decipheriv=o.Decipheriv,r.createDecipheriv=o.createDecipheriv,r.getCiphers=o.getCiphers,r.listCiphers=o.listCiphers;var u=t(23);r.DiffieHellmanGroup=u.DiffieHellmanGroup,r.createDiffieHellmanGroup=u.createDiffieHellmanGroup,r.getDiffieHellman=u.getDiffieHellman,r.createDiffieHellman=u.createDiffieHellman,r.DiffieHellman=u.DiffieHellman;var c=t(24);r.createSign=c.createSign,r.Sign=c.Sign,r.createVerify=c.createVerify,r.Verify=c.Verify,r.createECDH=t(25);var d=t(26);r.publicEncrypt=d.publicEncrypt,r.privateEncrypt=d.privateEncrypt,r.publicDecrypt=d.publicDecrypt,r.privateDecrypt=d.privateDecrypt;var l=t(27);r.randomFill=l.randomFill,r.randomFillSync=l.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://web.archive.org/web/20200912182407/https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,r){e.exports=Morph.modules["randombytes@2.1.0"]},function(e,r){e.exports=Morph.modules["create-hash@1.2.0"]},function(e,r){e.exports=Morph.modules["create-hmac@1.1.7"]},function(e,r,t){e.exports=t(20)},function(e,r){e.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},function(e,r){e.exports=Morph.modules["pbkdf2@3.1.1"]},function(e,r){e.exports=Morph.modules["browserify-cipher@1.0.1"]},function(e,r){e.exports=Morph.modules["diffie-hellman@5.0.3"]},function(e,r){e.exports=Morph.modules["browserify-sign@4.2.1"]},function(e,r){e.exports=Morph.modules["create-ecdh@4.0.4"]},function(e,r){e.exports=Morph.modules["public-encrypt@4.0.3"]},function(e,r){e.exports=Morph.modules["randomfill@1.0.4"]},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(){return"undefined"!=typeof window};r.default=n},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(3),a=function(e){return e&&e.__esModule?e:{default:e}}(n),i=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200;a.default.setPayload(e,{meta:{responseCode:t},body:r})};r.default=i},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var a=t(3),i=n(a),s=t(0),o=t(2),u=n(o),c=function(e){var r=i.default.subscriptions.all()[(0,s.createUriString)(e,(0,u.default)(e))];return Array.isArray(r)&&r.length>0};r.default=c}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-sportsdata-soccer-event-progress-period-helper@2.1.0"]={},function(t){function E(s){if(i[s])return i[s].exports;var T=i[s]={exports:{},id:s,loaded:!1};return t[s].call(T.exports,T,T.exports,E),T.loaded=!0,T.exports}var i={};return E.m=t,E.c=i,E.p="",E(0)}([function(t,E,i){Morph.modules["bbc-morph-sportsdata-soccer-event-progress-period-helper@2.1.0"]=i(1)},function(t,E){t.exports={FIXTURE:0,FIRSTHALF:1,HALFTIME:2,SECONDHALF:3,FULLTIME:4,SECONDHALFPENALTIESDUE:5,SECONDHALFPENALTIESINPROGRESS:6,EXTRATIMEDUE:7,EXTRATIMEFIRSTHALF:8,EXTRATIMEHALFTIME:9,EXTRATIMESECONDHALF:10,EXTRATIMEPENALTIESDUE:11,EXTRATIMEPENALTIESINPROGRESS:12,EXTRATIMECOMPLETE:13,isLive:function(t){return this[t]>this.FIXTURE&&this[t]!==this.FULLTIME&&this[t]<this.EXTRATIMECOMPLETE},isFixture:function(t){return this[t]===this.FIXTURE},isInExtraTime:function(t){return this[t]>this.EXTRATIMEDUE&&this[t]<this.EXTRATIMECOMPLETE},isFinishedAfterExtraTime:function(t){return this[t]===this.EXTRATIMECOMPLETE},isHalfTime:function(t){return this[t]===this.HALFTIME},isFullTimeWithExtraTimePending:function(t){return this[t]===this.EXTRATIMEDUE},isMatchFinishedInNormalTime:function(t){return this[t]===this.FULLTIME},isHalfTimeInExtraTime:function(t){return this[t]===this.EXTRATIMEHALFTIME},isPastHalfTime:function(t){return this[t]>this.HALFTIME},isPastFullTime:function(t){return this[t]>this.FULLTIME},isPenaltiesDue:function(t){var E=this[t];return E===this.EXTRATIMEPENALTIESDUE||E===this.SECONDHALFPENALTIESDUE},isPenaltiesInProgress:function(t){var E=this[t];return E===this.EXTRATIMEPENALTIESINPROGRESS||E===this.SECONDHALFPENALTIESINPROGRESS},isPostEvent:function(t){return this[t]===this.FULLTIME||this[t]>=this.EXTRATIMECOMPLETE},wentToExtraTimePenalties:function(t){return this[t]===this.EXTRATIMEPENALTIESDUE||this[t]===this.EXTRATIMEPENALTIESINPROGRESS},wentToSecondHalfPenalties:function(t){return this[t]===this.SECONDHALFPENALTIESDUE||this[t]===this.SECONDHALFPENALTIESINPROGRESS}}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-sport-native-app-helper@2.0.1"]={},function(p){function r(e){if(t[e])return t[e].exports;var n=t[e]={exports:{},id:e,loaded:!1};return p[e].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var t={};return r.m=p,r.c=t,r.p="",r(0)}([function(p,r,t){Morph.modules["bbc-morph-sport-native-app-helper@2.0.1"]=t(1)},function(p,r){p.exports=function(p){p=p||{};var r=function(){return"true"===p.isApp},t=function(){return".app"},e=function(){return this.isApp()?this.getAppSuffix():""};return{isApp:r,getAppSuffix:t,getAppSuffixIfIsApp:e}}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-grandstand@5.4.3"]={"morph-require":"5.2.1"},function(r){function i(n){if(a[n])return a[n].exports;var e=a[n]={exports:{},id:n,loaded:!1};return r[n].call(e.exports,e,e.exports,i),e.loaded=!0,e.exports}var a={};return i.m=r,i.c=a,i.p="",i(0)}([function(r,i,a){Morph.modules["bbc-morph-grandstand@5.4.3"]=a(1)},function(r,i,a){var n=a(2),e={amharic:"amharic",arabic:"arabic",bengali:"bengali",burmese:"burmese",cymrufyw:"cymrufyw",gujarati:"gujarati",hindi:"hindi",japanese:"japanese",korean:"korean",kyrgyz:"cyrillic","latin-flexbox":"latin-flexbox",marathi:"marathi",nepali:"hindi",pashto:"pashto",persian:"persian",punjabi:"punjabi",russian:"cyrillic",sinhala:"sinhala","serbian-cyr":"cyrillic",tajik:"cyrillic",tamil:"tamil",telugu:"telugu",thai:"thai",tigrinya:"amharic","ukchina-simp":"chinese","ukchina-trad":"chinese",ukrainian:"cyrillic",urdu:"urdu",uzbek:"cyrillic","zhongwen-simp":"chinese","zhongwen-trad":"chinese"};r.exports=function(r){var i=e[r]||"latin";return n.selfTransitiveThenUpdate(i,this)}},function(r,i){r.exports={transitive:function(r,i){return Morph.requireTransitiveWithCaller("bbc-morph-grandstand@5.4.3",r,i)},selfTransitive:function(r,i){return Morph.requireTransitiveWithCaller("bbc-morph-grandstand@5.4.3",r,i,!0)},transitiveThenUpdate:function(r,i){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-grandstand@5.4.3",r,i)},selfTransitiveThenUpdate:function(r,i){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-grandstand@5.4.3",r,i,!0)}}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-sport-football-scores-components@5.0.2"]={"bbc-morph-grandstand":"5.4.3","bbc-morph-istats":"1.3.0","bbc-morph-sport-native-app-helper":"2.0.1","bbc-morph-sportsdata-soccer-event-progress-period-helper":"2.1.0",react:"0.14.7"},function(e){function t(r){if(a[r])return a[r].exports;var n=a[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var a={};return t.m=e,t.c=a,t.p="",t(0)}([function(e,t,a){Morph.modules["bbc-morph-sport-football-scores-components@5.0.2"]=a(1)},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(2),s=r(n),u=a(4),l=r(u),o=a(5),i=r(o),p=a(6),f=r(p),d=a(20),c=r(d),m=a(18),y=r(m),T=a(22),b=r(T),g=a(23),P=r(g),v=a(24),_=r(v),h=a(19),x=r(h);t.default={Attendance:s.default,DateCompetition:l.default,DateWrapper:i.default,Fixture:f.default,FixtureList:c.default,TeamPlayerActions:y.default,Title:b.default,Venue:P.default,ViewAllLink:_.default,ScoreSummary:x.default},e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(3),s=r(n),u=function(e){return s.default.createElement("span",{className:"sp-c-fixture__attendance"},s.default.createElement("span",{className:"gel-long-primer"},"Attendance: "),s.default.createElement("span",{className:"gel-long-primer-bold"},e))},l=function(e){var t=e.attendance;return t?u(t):s.default.createElement("span",null)};l.displayName="Attendance",l.propTypes={attendance:s.default.PropTypes.oneOfType([s.default.PropTypes.string,s.default.PropTypes.number])},l.defaultProps={attendance:""},t.default=l,e.exports=t.default},function(e,t){e.exports=React},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(3),s=r(n),u=function(e){var t=e.formattedDateInUKTimeZone,a=e.competitionName;return s.default.createElement("div",{className:"gs-u-mb"},s.default.createElement("time",{className:"sp-c-fixture__date gel-minion",dateTime:t&&t.YYYYMMDD},t&&t.dateString),s.default.createElement("span",{className:"sp-c-fixture__title gel-minion"},a))};u.displayName="DateCompetition",u.propTypes={formattedDateInUKTimeZone:s.default.PropTypes.objectOf(s.default.PropTypes.string),competitionName:s.default.PropTypes.string},u.defaultProps={formattedDateInUKTimeZone:{},competitionName:""},t.default=u,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e){return e?e:"gel-minion sp-c-match-list-heading"}Object.defineProperty(t,"__esModule",{value:!0});var s=a(3),u=r(s),l=function(e,t){return u.default.createElement("h3",{className:n(t)},e)},o=function(e){var t=e.date,a=e.className;return t?l(t,a):u.default.createElement("span",null)};o.displayName="DateWrapper",o.propTypes={date:u.default.PropTypes.string,className:u.default.PropTypes.string},o.defaultProps={date:"",className:""},t.default=o,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 u(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 l(e){return e.homeTeam&&e.awayTeam&&e.homeTeam.playerActions&&e.awayTeam.playerActions&&(e.awayTeam.playerActions.length>=1||e.homeTeam.playerActions.length>=1)}function o(e){return e.homeTeam&&e.awayTeam&&e.homeTeam.playerAssistActions&&e.awayTeam.playerAssistActions&&(e.awayTeam.playerAssistActions.length>=1||e.homeTeam.playerAssistActions.length>=1)}function i(e,t,a,r){return m.default.createElement("span",{className:"sp-c-fixture__status-wrapper qa-sp-fixture-status"},m.default.createElement(v.default,{awayTeam:e.awayTeam,homeTeam:e.homeTeam}),m.default.createElement(h.default,{eventPeriod:e.eventProgress.period,minutesElapsed:e.minutesElapsed,minutesIntoAddedTime:e.minutesIntoAddedTime,theme:a,isOppm:r}),t&&m.default.createElement(k.default,{awayTeam:e.awayTeam,eventProgress:e.eventProgress,homeTeam:e.homeTeam}))}function p(e,t,a,r,n,s){var u=i(t,a,r,s),p=l(t),f=n&&o(t);return m.default.createElement("article",{className:"sp-c-fixture","data-event-id":t.eventKey},m.default.createElement(N.default,{abbrAtDesktop:e,eventProgress:t.eventProgress,awayTeam:t.awayTeam,homeTeam:t.homeTeam,startTimeInUKHHMM:t.startTimeInUKHHMM,theme:r}),p&&m.default.createElement("div",{className:"gel-layout gel-layout--center qa-player-action-container"},m.default.createElement("div",{className:"gel-layout__item gel-10/12@l"},m.default.createElement("aside",{className:"sp-c-fixture__aside sp-c-fixture-player-actions__aside gs-u-pt gs-u-pb"},p&&m.default.createElement(O.default,{alignment:"home",playerActions:t.homeTeam.playerActions}),u,p&&m.default.createElement(O.default,{alignment:"away",playerActions:t.awayTeam.playerActions})),f&&m.default.createElement("aside",{className:"sp-c-fixture__aside sp-c-fixture-player-assists__aside gs-u-pt gs-u-pb gs-u-mb"},m.default.createElement(O.default,{alignment:"home",playerAssistActions:t.homeTeam.playerAssistActions}),m.default.createElement("div",{className:"sp-c-fixture__status-wrapper gel-brevier-bold"},"Assists"),m.default.createElement(O.default,{alignment:"away",playerAssistActions:t.awayTeam.playerAssistActions})))),!p&&m.default.createElement("aside",{className:"sp-c-fixture__aside sp-c-fixture-player-actions__aside"},u),m.default.createElement(E.default,{eventPeriod:t.eventProgress.period,comment:t.comment}))}function f(e,t){if(!e.href)return null;var a=(0,g.default)({isApp:t});return e.href+a.getAppSuffixIfIsApp()}Object.defineProperty(t,"__esModule",{value:!0});var d=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}(),c=a(3),m=r(c),y=a(7),T=r(y),b=a(8),g=r(b),P=a(9),v=r(P),_=a(10),h=r(_),x=a(12),E=r(x),A=a(13),N=r(A),M=a(18),O=r(M),w=a(19),k=r(w),j=function(e){function t(){return n(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),d(t,[{key:"componentWillMount",value:function(){(0,T.default)()}},{key:"render",value:function(){function e(){document.dispatchEvent(new CustomEvent("bbc-user-event",{detail:{container:c,label:"football-scores-fixtures",type:"click",source:"sport",result:window.location.href,isClick:"true"}}))}var t=this.props,a=t.fixture,r=t.isApp,n=t.abbrAtDesktop,s=t.renderScoreSummary,u=t.theme,l=t.shouldShowAssists,o=t.isOppm,i=f(a,r),d=p(n,a,s,u,l,o),c="match_link";return i?m.default.createElement("a",{className:"sp-c-fixture__block-link",href:i,"data-istats-container":c,onClick:e},d):d}}]),t}(m.default.Component);t.default=j,j.displayName="Fixture",j.propTypes={abbrAtDesktop:m.default.PropTypes.string,fixture:m.default.PropTypes.objectOf(m.default.PropTypes.any),isApp:m.default.PropTypes.string,renderScoreSummary:m.default.PropTypes.bool,theme:m.default.PropTypes.string,shouldShowAssists:m.default.PropTypes.bool,isOppm:m.default.PropTypes.bool},j.defaultProps={abbrAtDesktop:"",fixture:{},isApp:"",children:"",renderScoreSummary:!1,theme:"sport",shouldShowAssists:!1,isOppm:!1},e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-grandstand@5.4.3"]},function(e,t){e.exports=Morph.modules["bbc-morph-sport-native-app-helper@2.0.1"]},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e){var t=e.scores&&e.scores.aggregate;return null!==t&&void 0!==t}function s(e,t){var a=e.scores.aggregate,r=t.scores.aggregate;return a+"-"+r}Object.defineProperty(t,"__esModule",{value:!0});var u=a(3),l=r(u),o=function(e){return l.default.createElement("span",{className:"sp-c-fixture__status gel-brevier"},"(",l.default.createElement("abbr",{title:"Aggregate Score"},"Agg "),e,")")},i=function(e){var t=e.homeTeam,a=e.awayTeam;if(!n(t)||!n(a))return l.default.createElement("span",null);var r=s(t,a);return o(r)};i.displayName="AggregateScore",i.propTypes={homeTeam:l.default.PropTypes.objectOf(l.default.PropTypes.any),awayTeam:l.default.PropTypes.objectOf(l.default.PropTypes.any)},i.defaultProps={homeTeam:{},awayTeam:{}},t.default=i,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t,a){var r=["sp-c-fixture__status"];return i.default.isLive(e)?(r.push("gel-brevier"),a||r.push("sp-c-fixture__status--live-"+t)):r.push("sp-c-fixture__status--ft","gel-minion"),r.join(" ")}function s(e,t,a){var r=1===parseInt(t,10)?"min":"mins",n=null!==a&&0!==a,s=i.default.isInExtraTime(e)?"ET ":"";return i.default.isLive(e)&&0===t?"":i.default.isFullTimeWithExtraTimePending(e)?"Extra Time":i.default.isHalfTime(e)?"":i.default.isFinishedAfterExtraTime(e)||i.default.wentToExtraTimePenalties(e)?"AET":i.default.isHalfTimeInExtraTime(e)?"Extra Time HT":i.default.isMatchFinishedInNormalTime(e)||i.default.wentToSecondHalfPenalties(e)?"":n?s+t+"' +"+a:s+t+" "+r}Object.defineProperty(t,"__esModule",{value:!0});var u=a(3),l=r(u),o=a(11),i=r(o),p=function(e,t){return l.default.createElement("abbr",{title:e},t)},f=function(e,t,a,r,u){var o=null,f=null;return i.default.isHalfTime(e)&&(o=p("Half Time","HT")),(i.default.isMatchFinishedInNormalTime(e)||i.default.wentToSecondHalfPenalties(e))&&(f=p("Full Time","FT")),l.default.createElement("span",{className:n(e,r,u)},s(e,t,a),o,f)},d=function(e){var t=e.eventPeriod,a=e.minutesElapsed,r=e.minutesIntoAddedTime,n=e.theme,s=e.isOppm;return i.default.isFixture(t)?l.default.createElement("span",null):f(t,Number(a),Number(r),n,s)};d.displayName="MinutesPlayed",d.propTypes={eventPeriod:l.default.PropTypes.string,minutesElapsed:l.default.PropTypes.oneOfType([l.default.PropTypes.string,l.default.PropTypes.number]),minutesIntoAddedTime:l.default.PropTypes.oneOfType([l.default.PropTypes.string,l.default.PropTypes.number]),theme:l.default.PropTypes.string,isOppm:l.default.PropTypes.bool},d.defaultProps={eventPeriod:"",minutesElapsed:0,minutesIntoAddedTime:0,theme:"sport",isOppm:!1},t.default=d,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-sportsdata-soccer-event-progress-period-helper@2.1.0"]},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e){var t=["gel-brevier"];return o.default.isPostEvent(e)?t.push("sp-c-fixture__win-message"):t.push("sp-c-fixture__status"),t.join(" ")}Object.defineProperty(t,"__esModule",{value:!0});var s=a(3),u=r(s),l=a(11),o=r(l),i=function(e,t){return u.default.createElement("span",{className:n(t)},e)},p=function(e){var t=e.comment,a=e.eventPeriod;return t?i(t,a):u.default.createElement("span",null)};p.displayName="FixtureComment",p.propTypes={comment:u.default.PropTypes.string,eventPeriod:u.default.PropTypes.string},p.defaultProps={comment:"",eventPeriod:""},t.default=p,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(3),s=r(n),u=a(14),l=r(u),o=a(17),i=r(o),p=function(e){var t=e.abbrAtDesktop,a=e.awayTeam,r=e.eventProgress,n=e.homeTeam,u=e.startTimeInUKHHMM,o=e.theme;return s.default.createElement("div",{className:"sp-c-fixture__wrapper"},s.default.createElement(l.default,{abbrAtDesktop:t,team:n,eventProgress:r,alignment:"home",theme:o}),s.default.createElement(i.default,{eventProgress:r,startTimeInUKHHMM:u}),s.default.createElement(l.default,{abbrAtDesktop:t,team:a,eventProgress:r,alignment:"away",theme:o}))};p.displayName="HeadToHeadEvent",p.propTypes={abbrAtDesktop:s.default.PropTypes.string,awayTeam:s.default.PropTypes.objectOf(s.default.PropTypes.any),eventProgress:s.default.PropTypes.objectOf(s.default.PropTypes.any),homeTeam:s.default.PropTypes.objectOf(s.default.PropTypes.any),startTimeInUKHHMM:s.default.PropTypes.string,theme:s.default.PropTypes.string},p.defaultProps={abbrAtDesktop:"",awayTeam:{},eventProgress:{},homeTeam:{},startTimeInUKHHMM:"",theme:"sport"},t.default=p,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){var a=["sp-c-fixture__team"];return f.default.isFixture(t.period)&&!c.default.isPostponed(t)&&(a.push("sp-c-fixture__team--time"),a.push("sp-c-fixture__team--time-"+e)),(f.default.isLive(t.period)||c.default.isPostponed(t)||f.default.isPostEvent(t.period))&&a.push("sp-c-fixture__team--"+e),a.join(" ")}function s(e,t){var a=["gs-u-display-block","gs-u-display-none@m","sp-c-fixture__team-name-trunc"],r=["gs-u-display-none","gs-u-display-block@m","qa-full-team-name","sp-c-fixture__team-name-trunc"];return"true"===e&&(a.push("gs-u-display-block@l"),r.push("gs-u-display-none@l")),i.default.createElement("span",{className:"sp-c-fixture__team-name-wrap"},i.default.createElement("abbr",{title:t.full,className:a.join(" ")},t.abbreviation),i.default.createElement("span",{className:r.join(" ")},t.full))}function u(e,t,a,r){var n=s(e,r.name);return!f.default.isFixture(a.period)||c.default.isPostponed(a)?i.default.createElement("span",{className:"sp-c-fixture__team-name sp-c-fixture__team-name--"+t},n):n}function l(e,t,a,r){return f.default.isFixture(t.period)&&!c.default.isPostponed(t)?null:i.default.createElement(y.default,{team:a,eventProgress:t,alignment:e,theme:r})}Object.defineProperty(t,"__esModule",{value:!0});var o=a(3),i=r(o),p=a(11),f=r(p),d=a(15),c=r(d),m=a(16),y=r(m),T=function(e){var t=e.abbrAtDesktop,a=e.alignment,r=e.eventProgress,s=e.team,o=e.theme;return i.default.createElement("span",{className:n(a,r),"data-team-id":s.key},u(t,a,r,s),l(a,r,s,o))};T.displayName="HeadToHeadEventTeam",T.propTypes={abbrAtDesktop:i.default.PropTypes.string,alignment:i.default.PropTypes.string,eventProgress:i.default.PropTypes.objectOf(i.default.PropTypes.any),team:i.default.PropTypes.objectOf(i.default.PropTypes.any),theme:i.default.PropTypes.string},T.defaultProps={abbrAtDesktop:"false",alignment:"",eventProgress:{},team:{},theme:"sport"},t.default=T,e.exports=t.default},function(e,t){"use strict";function a(e,t){return String(e.status).toLowerCase()===t}Object.defineProperty(t,"__esModule",{value:!0}),t.default={isPostponed:function(e){return a(e,"postponed")},isAbandoned:function(e){return a(e,"abandoned")},isSuspended:function(e){return a(e,"suspended")},isCancelled:function(e){return a(e,"cancelled")||a(e,"canceled")}},e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e){return p.default.isLive(e.period)||d.default.isSuspended(e)}function s(e,t,a){var r=["sp-c-fixture__number"];return r.push("sp-c-fixture__number--"+t),n(e)&&!d.default.isAbandoned(e)&&r.push("sp-c-fixture__number--live-"+a),p.default.isPostEvent(e.period)&&r.push("sp-c-fixture__number--ft"),d.default.isCancelled(e)&&r.push("sp-c-fixture__number--cancelled"),d.default.isAbandoned(e)&&r.push("sp-c-fixture__number--abandoned"),r.join(" ")}function u(e,t){return d.default.isAbandoned(e)?"A":d.default.isPostponed(e)?"P":d.default.isCancelled(e)?"C":t.scores.score}Object.defineProperty(t,"__esModule",{value:!0});var l=a(3),o=r(l),i=a(11),p=r(i),f=a(15),d=r(f),c=function(e){var t=e.alignment,a=e.eventProgress,r=e.team,n=e.theme;return o.default.createElement("span",{className:"sp-c-fixture__block"},o.default.createElement("span",{className:s(a,t,n)},u(a,r)))};c.displayName="TeamScore",c.propTypes={alignment:o.default.PropTypes.string,eventProgress:o.default.PropTypes.objectOf(o.default.PropTypes.any),team:o.default.PropTypes.objectOf(o.default.PropTypes.any),theme:o.default.PropTypes.string},c.defaultProps={alignment:"",eventProgress:{},team:{},theme:"sport"},t.default=c,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e){var t=["sp-c-fixture__number"];return f.default.isAbandoned(e)?t.push("sp-c-fixture__number--abandoned"):t.push("sp-c-fixture__number--time"),t.join(" ")}function s(e){return!f.default.isPostponed(e)&&!f.default.isSuspended(e)&&i.default.isFixture(e.period)}Object.defineProperty(t,"__esModule",{value:!0});var u=a(3),l=r(u),o=a(11),i=r(o),p=a(15),f=r(p),d=function(e,t){return l.default.createElement("span",{className:"sp-c-fixture__block sp-c-fixture__block--time gel-brevier"},l.default.createElement("span",{className:n(e)},t))},c=function(e){var t=e.eventProgress,a=e.startTimeInUKHHMM;return s(t)?d(t,a):l.default.createElement("span",null)};c.displayName="FixtureTime",c.propTypes={eventProgress:l.default.PropTypes.objectOf(l.default.PropTypes.any),startTimeInUKHHMM:l.default.PropTypes.string},c.defaultProps={eventProgress:{},startTimeInUKHHMM:""},t.default=c,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){return"sp-c-fixture__player-action sp-c-fixture__"+t+" sp-c-fixture__"+t+"-"+e+' gel-brevier gel-1/2"'}function s(e){return e.ownGoal===!0?" og":e.penalty===!0?" pen":""}function u(e,t){return f.default.createElement("span",{key:t},e.displayTime,f.default.createElement("span",{className:"gs-u-vh"}," minutes"),s(e))}function l(e,t){var a="sp-c-booking-card";return a+="red-card"===e.type?" sp-c-booking-card--red":" sp-c-booking-card--yellow-red",f.default.createElement("span",{key:t},f.default.createElement("i",{className:a},f.default.createElement("span",{className:"gs-u-vh"},"Dismissed at ")),""+e.displayTime,f.default.createElement("span",{className:"gs-u-vh"}," minutes"))}function o(e){var t=[];return e.actions.forEach(function(a,r){if(a&&a.displayTime){var n=r>=e.actions.length-1,s=0===r;s&&t.push(" ("),"goal"!==a.type&&"assist"!==a.type||t.push(u(a,r)),"red-card"!==a.type&&"yellow-red-card"!==a.type||t.push(l(a,r)),n||t.push(", "),n&&t.push(")")}}),t}function i(e,t,a){var r=a===!0?"":", ";return f.default.createElement("li",{key:e},t.name.abbreviation,o(t),r)}Object.defineProperty(t,"__esModule",{value:!0});var p=a(3),f=r(p),d=function(e,t,a,r,n){if(!e.name)return null;var s=t===a.length-1,u=""+(r+t+n);return i(u,e,s)},c=function(e){var t=e.alignment,a=e.playerActions,r=e.playerAssistActions,s=r?"assists":"scorers",u=a&&a.length>0,l=r&&r.length>0;return f.default.createElement("ul",{key:t,className:n(t,s)},u&&a.map(function(e,a,r){return d(e,a,r,t,!1)}),l&&r.map(function(e,a,r){return d(e,a,r,t,!0)}))};c.displayName="TeamPlayerActions",c.propTypes={alignment:f.default.PropTypes.oneOf(["home","away"]),playerActions:f.default.PropTypes.arrayOf(f.default.PropTypes.any),playerAssistActions:f.default.PropTypes.arrayOf(f.default.PropTypes.any)},c.defaultProps={alignment:"home",playerActions:null,playerAssistActions:null},t.default=c,e.exports=t.default},function(e,t,a){"use strict";function r(e,t,a){var r={fullTime:n.createElement("abbr",{title:"Full Time"},"FT "),halfTime:n.createElement("abbr",{title:"Half Time"},"HT ")};return n.createElement("span",{className:"sp-c-fixture__status gel-brevier"},r[a],t.scores[a],"-",e.scores[a])}Object.defineProperty(t,"__esModule",{value:!0});var n=a(3),s=a(11),u=function(e){var t=e.awayTeam,a=e.eventProgress,u=e.homeTeam;return n.createElement("span",null,s.isPastHalfTime(a.period)?r(t,u,"halfTime"):null,s.isPastFullTime(a.period)?r(t,u,"fullTime"):null)};u.displayName="ScoreSummary",u.propTypes={awayTeam:n.PropTypes.objectOf(n.PropTypes.any),eventProgress:n.PropTypes.objectOf(n.PropTypes.any),homeTeam:n.PropTypes.objectOf(n.PropTypes.any)},u.defaultProps={awayTeam:{},eventProgress:{},homeTeam:{}},t.default=u,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){var a=0;return e.map(function(e){var r=a+e.events.length;if(r>=t){var n=r-t,s=e.events.length-n;e.events.splice(s,n)}return a+=e.events.length,e}).filter(function(e){return e.events.length})}function s(e,t,a,r,s){return n(s,r).map(function(r,n){return l.default.createElement(i.default,{abbrAtDesktop:e,key:r.round?r.round.key+"-"+n:r.key+"-"+n,name:r.round?r.round.name:r.name,fixtures:r.events,isApp:t,dateString:a?r.events[0].dateString:null,titleClassNames:a?"gel-minion sp-c-match-list-heading":null})})}Object.defineProperty(t,"__esModule",{value:!0});var u=a(3),l=r(u),o=a(21),i=r(o),p=function(e){var t=e.abbrAtDesktop,a=e.isApp,r=e.isTeam,n=e.limit,u=e.rounds;return l.default.createElement("div",null,s(t,a,r,n,u))};p.displayName="FixtureList",p.propTypes={abbrAtDesktop:l.default.PropTypes.string,isApp:l.default.PropTypes.string,isTeam:l.default.PropTypes.bool,limit:l.default.PropTypes.oneOfType([l.default.PropTypes.string,l.default.PropTypes.number]),rounds:l.default.PropTypes.arrayOf(l.default.PropTypes.any)},p.defaultProps={abbrAtDesktop:"",isApp:"",isTeam:!1,limit:12,rounds:[]},t.default=p,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){return e&&e.first?o.default.createElement("h4",{className:t||"gel-minion sp-c-fixture__title--center gs-u-mt"},e.first):null}function s(e,t,a){return o.default.createElement("li",{className:"gs-o-list-ui__item gs-u-pb-",key:t.eventKey},o.default.createElement(p.default,{key:t.eventKey,abbrAtDesktop:e,fixture:t,isApp:a}))}function u(e){return e?o.default.createElement(d.default,{date:e,className:"gel-pica-bold gs-u-mb"}):null}Object.defineProperty(t,"__esModule",{value:!0});var l=a(3),o=r(l),i=a(6),p=r(i),f=a(5),d=r(f),c=function(e){var t=e.abbrAtDesktop,a=e.dateString,r=e.fixtures,l=e.isApp,i=e.name,p=e.titleClassNames;return o.default.createElement("div",null,u(a),n(i,p),o.default.createElement("ul",{className:"gs-o-list-ui gs-o-list-ui--top-no-border gs-o-list-ui--bottom-no-border"},r.map(function(e){return s(t,e,l)})))};c.displayName="Round",c.propTypes={abbrAtDesktop:o.default.PropTypes.string,dateString:o.default.PropTypes.string,fixtures:o.default.PropTypes.arrayOf(o.default.PropTypes.any),isApp:o.default.PropTypes.string,name:o.default.PropTypes.objectOf(o.default.PropTypes.string),titleClassNames:o.default.PropTypes.string},c.defaultProps={abbrAtDesktop:"",dateString:"",fixtures:[],isApp:"",name:{first:""},titleClassNames:""},t.default=c,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(3),s=r(n),u=function(){return s.default.createElement("h2",{className:"qa-component-title gel-double-pica gs-u-mv+"},"Scores, Results & Fixtures")};u.displayName="Title",t.default=u,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(3),s=r(n),u=function(e){return e.abbreviation||e.full},l=function(e){return e?s.default.createElement("span",{className:"gel-long-primer"},", ",e):null},o=function(e,t){return s.default.createElement("span",{className:"sp-c-fixture__venue"},s.default.createElement("span",{className:"gel-long-primer-bold"},"Venue: "),s.default.createElement("span",{className:"gel-long-primer"},u(e)),l(t))},i=function(e){var t=e.name,a=e.homeCountry;return u(t)?o(t,a):s.default.createElement("span",null)};i.displayName="Venue",i.propTypes={name:s.default.PropTypes.objectOf(s.default.PropTypes.string),homeCountry:s.default.PropTypes.string},i.defaultProps={name:{},homeCountry:""},t.default=i,e.exports=t.default},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function n(e){return"results"===e||"fixtures"===e?e:"scores"}function s(e,t){return"today"!==e&&t}function u(e,t,a,r){var n=(0,d.default)({isApp:r}).getAppSuffixIfIsApp()||"",u=void 0;return u=s(e,t)?"teams/"+t+"/scores-fixtures":a+"/scores-fixtures","/sport/football/"+u+n}function l(e,t,a,r,n,s){var u=!a&&n>s?n+" ":"";return""+u+t+" "+r}function o(e,t,a,r,o,i,f){function d(){document.dispatchEvent(new CustomEvent("bbc-user-event",{detail:{container:y,label:"football-scores-fixtures",type:"click",source:"sport",result:window.location.href,isClick:"true"}}))}var c=e.toLowerCase(),m=n(c),y=m+"_link",T=u(c,t,a,f),b=s(c,t)?""+m:l(c,r,t,m,i,o,t);return p.default.createElement("a",{className:"component__footer-link gel-pica-bold sp-o-link "+(t?"qa-team-link":"qa-tournament-link"),href:T,"data-istats-container":y,onClick:d},"View all ",b)}Object.defineProperty(t,"__esModule",{value:!0});var i=a(3),p=r(i),f=a(8),d=r(f),c=function(e){var t=e.title,a=e.teamSlug,r=e.tournamentSlug,n=e.tournamentName,s=e.limit,u=e.totalEvents,l=e.isApp;return p.default.createElement("div",null,o(t,a,r,n,s,u,l))};c.propTypes={teamSlug:p.default.PropTypes.string,title:p.default.PropTypes.string,tournamentName:p.default.PropTypes.string.isRequired,tournamentSlug:p.default.PropTypes.string.isRequired,limit:p.default.PropTypes.oneOfType([p.default.PropTypes.number,p.default.PropTypes.string]),totalEvents:p.default.PropTypes.oneOfType([p.default.PropTypes.number,p.default.PropTypes.string]),isApp:p.default.PropTypes.string},c.displayName="ViewAllLink",c.defaultProps={teamSlug:"",title:"",tournamentName:"",tournamentSlug:"",limit:null,totalEvents:null,isApp:"false"},t.default=c,e.exports=t.default}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-sport-football-match-status-helper@1.0.2"]={},function(e){function o(r){if(t[r])return t[r].exports;var n=t[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}var t={};o.m=e,o.c=t,o.p="",o(0)}([function(e,o,t){Morph.modules["bbc-morph-sport-football-match-status-helper@1.0.2"]=t(1)},function(e,o,t){function r(e){return{subscribeToLiveUpdates:n[e]}}var n=t(2);e.exports=r},function(e,o){e.exports={"pre-event":!0,"mid-event":!0,delayed:!0,suspended:!0,intermission:!0,"post-event":!1,postponed:!1,cancelled:!1,canceled:!1,abandoned:!1}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-classnames@1.0.2"]={classnames:"2.2.5"},function(r){function o(s){if(n[s])return n[s].exports;var e=n[s]={exports:{},id:s,loaded:!1};return r[s].call(e.exports,e,e.exports,o),e.loaded=!0,e.exports}var n={};o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-classnames@1.0.2"]=n(1)},function(r,o,n){var s=n(2);r.exports=s},function(r,o,n){var s,e;!function(){"use strict";function n(){for(var r=[],o=0;o<arguments.length;o++){var s=arguments[o];if(s){var e=typeof s;if("string"===e||"number"===e)r.push(s);else if(Array.isArray(s))r.push(n.apply(null,s));else if("object"===e)for(var a in s)t.call(s,a)&&s[a]&&r.push(a)}}return r.join(" ")}var t={}.hasOwnProperty;void 0!==r&&r.exports?r.exports=n:(s=[],void 0!==(e=function(){return n}.apply(o,s))&&(r.exports=e))}()}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-sport-football-live-event-header@2.3.3"]={"bbc-morph-classnames":"1.0.2","bbc-morph-dynamic-feature-toggles":"1.1.1","bbc-morph-sport-football-header-data":"2.0.1","bbc-morph-sport-football-match-status-helper":"1.0.2","bbc-morph-sport-football-scores-components":"5.0.2","morph-container":"4.0.0","react":"0.14.7"}; !function(e){function t(o){if(r[o])return r[o].exports;var a=r[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,o){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t){e.exports=React},function(e,t,r){"use strict";var o=function(e){return e&&e.__esModule?e:{default:e}}(r(2));Morph.modules["bbc-morph-sport-football-live-event-header@2.3.3"]=o.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(r(0)),n=o(r(3)),u=o(r(4)),s=o(r(5)),l=function(e){return e&&e.body&&e.body.event&&e.body.event.eventStatus},i=n.default.create(s.default,{data:function(e){var t={data:"bbc-morph-sport-football-header-data",event:e.eventId},r=this.getAvailablePayload(t);return{data:{uri:t,requireSuccess:!0,updates:function(e){if(l(e)&&200===e.meta.responseCode){var t=e.body.event.eventStatus;return(0,u.default)(t).subscribeToLiveUpdates}return!1}(r)},featureToggles:{uri:{data:"bbc-morph-dynamic-feature-toggles",project:"sport"},requireSuccess:!0}}}});i.propTypes={eventId:a.default.PropTypes.string.isRequired,theme:a.default.PropTypes.string,isOppm:a.default.PropTypes.bool},i.defaultProps={theme:"sport",isOppm:!1};var p=i;t.default=p},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-sport-football-live-event-header@2.3.3",e,t)}}},function(e,t){e.exports=Morph.modules["bbc-morph-sport-football-match-status-helper@1.0.2"]},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return e.data.body.event}function n(e){return"true"===e.featureToggles.body["football-assists"]}function u(e){return"pre-event"!==e.eventStatus?null:s.default.createElement(i.Venue,{name:e.venue.name,homeCountry:e.venue.homeCountry})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(r(0)),l=o(r(6)),i=r(7),p=function(e){var t=a(e),r=e.customFootballHeaderClasses,o=e.theme,p=e.isOppm,d=n(e),c=(0,l.default)("event-header sp-c-match-overview-header sp-c-match-overview-header--football",r);return s.default.createElement("div",{className:c},s.default.createElement("section",{className:"sp-c-fixture sp-c-fixture--live-session-header gel-wrap"},s.default.createElement(i.DateCompetition,{competitionName:t.competitionNameString,formattedDateInUKTimeZone:t.formattedDateInUKTimeZone}),s.default.createElement(i.Fixture,{fixture:t,renderScoreSummary:!0,theme:o,shouldShowAssists:d,isOppm:p}),u(t)))};p.propTypes={customFootballHeaderClasses:s.default.PropTypes.string,theme:s.default.PropTypes.string,isOppm:s.default.PropTypes.bool},p.defaultProps={customFootballHeaderClasses:"",theme:"sport",isOppm:!1},p.displayName="FootballLiveEventHeader";var d=p;t.default=d},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t){e.exports=Morph.modules["bbc-morph-sport-football-scores-components@5.0.2"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=r.n(n);Morph.modules["bbc-morph-sport-football-oppm-header@1.0.5"]=o.a},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.eventIdQuery=void 0;var o=r(2),u=n(o),a=r(3),l=n(a),c=r(4),p=r(5),i=n(p),d=function(e){return'{\n content {\n article(uri: "'+e+'") {\n eventId\n }\n }\n }'},f=function(e){var t=e.path;return u.default.createElement(c.Query,{query:d(t)},function(e){if(!e||!e.data||!e.data.content)return l.default.throw(404,"article query returned null"),u.default.createElement("noscript",null);var t=e.data.content.article.eventId;return t?u.default.createElement("div",{className:"football-oppm-header"},u.default.createElement(i.default,{eventId:t,isOppm:!0})):u.default.createElement("noscript",null)})};f.propTypes={path:o.PropTypes.string.isRequired},t.default=f,t.eventIdQuery=d},function(e,t){e.exports=React},function(e,t){e.exports=Morph},function(e,t){e.exports=Morph.modules["morph-react-graphql@2.3.83"]},function(e,t){e.exports=Morph.modules["bbc-morph-sport-football-live-event-header@2.3.3"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-graphql/query/%7Bcontent%7Barticle(uri%3A%22%2Fsport%2Fwales%2F53312725%22)%7BeventId%7D%7D%7D/token/7ac7099a8b07b1ea74008b3008346d2bdde19d847fdc36d6f942b91d5cd8eeae/version/2.3.63', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"content":{"article":{"eventId":""}}}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-sport-football-oppm-header","path":"\/sport\/wales\/53312725","version":"1.0.5","_mrrVersion":"2.0.18"},'u8880666179863892'); });</script> <script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200912182407/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200912182407/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200912182407/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200912182407/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200912182407/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200912182407/https://m.files.bbci.co.uk/modules/morph-push-proxy-client/1.0.11/push-proxy' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u8880666179863892 */</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["morph-react-graphql@2.3.85"]={"bbc-morph-graphql":"2.3.65","morph":"5.3.1","morph-container":"4.0.0","morph-graphql":"1.4.0","prop-types":"15.7.2","react":"0.14.7"}; !function(e){function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}var t={};r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r(r.s=4)}([function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var a=t(1);Object.defineProperty(r,"optimiseQuery",{enumerable:!0,get:function(){return n(a).default}});var i=t(12);Object.defineProperty(r,"createUri",{enumerable:!0,get:function(){return n(i).default}});var s=t(13);Object.defineProperty(r,"createUriString",{enumerable:!0,get:function(){return n(s).default}});var o=t(14);Object.defineProperty(r,"generateToken",{enumerable:!0,get:function(){return n(o).default}})},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function e(e,r){var t=[],n=!0,a=!1,i=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done)&&(t.push(s.value),!r||t.length!==r);n=!0);}catch(e){a=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(a)throw i}}return t}return function(r,t){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return e(r,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=[[/([{}])\s+/g,"$1"],[/\s+([{}])/g,"$1"],[/\s+([:)])/g,"$1"],[/([:(])\s+/g,"$1"],[/([\s+,]+)(?=([^"]*"[^"]*")*[^"]*$)/g,","],[/\.\.\.,on,/g,"...on "]],i=function(e){return a.reduce(function(e,r){var t=n(r,2),a=t[0],i=t[1];return e.replace(a,i)},e)};r.default=i},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(0),a=t(28),i=function(e){return e&&e.__esModule?e:{default:e}}(a),s=function(e){var r=(0,n.optimiseQuery)(e);if((0,i.default)()){var t=Object.keys(window.Morph.payloads).filter(function(e){return 0===e.indexOf((0,n.createUriString)(r)+"/token/")})[0],a=/\/token\/([^\/]+)/.exec(t);return a&&a[1]}return(0,n.generateToken)(r)};r.default=s},function(e,r){e.exports=Morph},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(5),a=t.n(n);Morph.modules["morph-react-graphql@2.3.85"]=a.a},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.generateToken=r.willUpdate=r.setPayload=r.Query=void 0;var a=t(6),i=n(a),s=t(29),o=n(s),u=t(30),c=n(u),d=t(2),l=n(d);r.Query=i.default,r.setPayload=o.default,r.willUpdate=c.default,r.generateToken=l.default,r.default={Query:i.default,setPayload:o.default,willUpdate:c.default,generateToken:l.default}},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var a=t(7),i=n(a),s=t(10),o=n(s),u=t(11),c=n(u),d=t(0),l=t(2),f=n(l),h=function(e){var r=e.children,t=e.query,n=e.variables,a=e.updates,i=function(e){var t=e.data;return r(t&&202!==t.meta.responseCode?200!==t.meta.responseCode?{data:null,loading:!1,error:!0}:{data:t.body,loading:!1,error:!1}:{data:null,loading:!0,error:!1})},s=c.default.create(i,{data:function(){var e="undefined"==typeof window;return{data:{uri:(0,d.createUri)(t,(0,f.default)(t),n),requireSuccess:e,updates:a}}}});return o.default.createElement(s,null)};h.displayName="Query",h.propTypes={children:i.default.func.isRequired,query:i.default.string.isRequired,updates:i.default.bool,variables:i.default.objectOf(i.default.any)},h.defaultProps={updates:!1,variables:null},r.default=h},function(e,r,t){e.exports=t(8)()},function(e,r,t){"use strict";function n(){}function a(){}var i=t(9);a.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,a,s){if(s!==i){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return t.PropTypes=t,t}},function(e,r,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,r){e.exports=React},function(e,r){e.exports={create:function(e,r){return Morph.createContainerWithCaller("morph-react-graphql@2.3.85",e,r)}}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a=t(1),i=function(e){return e&&e.__esModule?e:{default:e}}(a),s=function(e,r,t){return n({data:"bbc-morph-graphql",query:(0,i.default)(e)},r?{token:r}:{},t?{variables:JSON.stringify(t)}:{})};r.default=s},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(1),a=function(e){return e&&e.__esModule?e:{default:e}}(n),i=function(e){return e?"/variables/"+encodeURIComponent(JSON.stringify(e)):""},s=function(e){return e?"/token/"+e:""},o=function(e){return"/query/"+encodeURIComponent((0,a.default)(e))},u=function(e,r,t){return"/data/bbc-morph-graphql"+o(e)+s(r)+i(t)};r.default=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object({NODE_ENV:"production"}).MORPH_SECRET,n=t(15),a=n.createHmac("sha256",r||"");return a.update(e),a.digest("hex")};r.default=n},function(e,r,t){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=t(16),r.createHash=r.Hash=t(17),r.createHmac=r.Hmac=t(18);var n=t(19),a=Object.keys(n),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(a);r.getHashes=function(){return i};var s=t(21);r.pbkdf2=s.pbkdf2,r.pbkdf2Sync=s.pbkdf2Sync;var o=t(22);r.Cipher=o.Cipher,r.createCipher=o.createCipher,r.Cipheriv=o.Cipheriv,r.createCipheriv=o.createCipheriv,r.Decipher=o.Decipher,r.createDecipher=o.createDecipher,r.Decipheriv=o.Decipheriv,r.createDecipheriv=o.createDecipheriv,r.getCiphers=o.getCiphers,r.listCiphers=o.listCiphers;var u=t(23);r.DiffieHellmanGroup=u.DiffieHellmanGroup,r.createDiffieHellmanGroup=u.createDiffieHellmanGroup,r.getDiffieHellman=u.getDiffieHellman,r.createDiffieHellman=u.createDiffieHellman,r.DiffieHellman=u.DiffieHellman;var c=t(24);r.createSign=c.createSign,r.Sign=c.Sign,r.createVerify=c.createVerify,r.Verify=c.Verify,r.createECDH=t(25);var d=t(26);r.publicEncrypt=d.publicEncrypt,r.privateEncrypt=d.privateEncrypt,r.publicDecrypt=d.publicDecrypt,r.privateDecrypt=d.privateDecrypt;var l=t(27);r.randomFill=l.randomFill,r.randomFillSync=l.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://web.archive.org/web/20200912182407/https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,r){e.exports=Morph.modules["randombytes@2.1.0"]},function(e,r){e.exports=Morph.modules["create-hash@1.2.0"]},function(e,r){e.exports=Morph.modules["create-hmac@1.1.7"]},function(e,r,t){e.exports=t(20)},function(e,r){e.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},function(e,r){e.exports=Morph.modules["pbkdf2@3.1.1"]},function(e,r){e.exports=Morph.modules["browserify-cipher@1.0.1"]},function(e,r){e.exports=Morph.modules["diffie-hellman@5.0.3"]},function(e,r){e.exports=Morph.modules["browserify-sign@4.2.1"]},function(e,r){e.exports=Morph.modules["create-ecdh@4.0.4"]},function(e,r){e.exports=Morph.modules["public-encrypt@4.0.3"]},function(e,r){e.exports=Morph.modules["randomfill@1.0.4"]},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(){return"undefined"!=typeof window};r.default=n},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(3),a=function(e){return e&&e.__esModule?e:{default:e}}(n),i=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200;a.default.setPayload(e,{meta:{responseCode:t},body:r})};r.default=i},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var a=t(3),i=n(a),s=t(0),o=t(2),u=n(o),c=function(e){var r=i.default.subscriptions.all()[(0,s.createUriString)(e,(0,u.default)(e))];return Array.isArray(r)&&r.length>0};r.default=c}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-promise@1.0.6"]={"es6-promise":"3.2.1"},function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){Morph.modules["bbc-morph-promise@1.0.6"]=e(1)},function(t,n,e){var r=e(2).Promise;t.exports=r},function(t,n,e){var r;(function(t,o,i){(function(){"use strict";function s(t){return"function"==typeof t||"object"==typeof t&&null!==t}function u(t){return"function"==typeof t}function c(t){V=t}function a(t){tt=t}function f(){return function(){t.nextTick(v)}}function l(){return function(){R(v)}}function h(){var t=0,n=new rt(v),e=document.createTextNode("");return n.observe(e,{characterData:!0}),function(){e.data=t=++t%2}}function p(){var t=new MessageChannel;return t.port1.onmessage=v,function(){t.port2.postMessage(0)}}function d(){return function(){setTimeout(v,1)}}function v(){for(var t=0;t<$;t+=2){var n=st[t],e=st[t+1];n(e),st[t]=void 0,st[t+1]=void 0}$=0}function _(){try{var t=e(5);return R=t.runOnLoop||t.runOnContext,l()}catch(t){return d()}}function y(t,n){var e=this,r=new this.constructor(w);void 0===r[at]&&N(r);var o=e._state;if(o){var i=arguments[o-1];tt(function(){F(o,r,i,e._result)})}else C(e,r,t,n);return r}function m(t){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var e=new n(w);return j(e,t),e}function w(){}function b(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function A(t){try{return t.then}catch(t){return pt.error=t,pt}}function x(t,n,e,r){try{t.call(n,e,r)}catch(t){return t}}function E(t,n,e){tt(function(t){var r=!1,o=x(e,n,function(e){r||(r=!0,n!==e?j(t,e):M(t,e))},function(n){r||(r=!0,k(t,n))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,k(t,o))},t)}function T(t,n){n._state===lt?M(t,n._result):n._state===ht?k(t,n._result):C(n,void 0,function(n){j(t,n)},function(n){k(t,n)})}function S(t,n,e){n.constructor===t.constructor&&e===ut&&constructor.resolve===ct?T(t,n):e===pt?k(t,pt.error):void 0===e?M(t,n):u(e)?E(t,n,e):M(t,n)}function j(t,n){t===n?k(t,b()):s(n)?S(t,n,A(n)):M(t,n)}function P(t){t._onerror&&t._onerror(t._result),O(t)}function M(t,n){t._state===ft&&(t._result=n,t._state=lt,0!==t._subscribers.length&&tt(O,t))}function k(t,n){t._state===ft&&(t._state=ht,t._result=n,tt(P,t))}function C(t,n,e,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=n,o[i+lt]=e,o[i+ht]=r,0===i&&t._state&&tt(O,t)}function O(t){var n=t._subscribers,e=t._state;if(0!==n.length){for(var r,o,i=t._result,s=0;s<n.length;s+=3)r=n[s],o=n[s+e],r?F(e,r,o,i):o(i);t._subscribers.length=0}}function L(){this.error=null}function Y(t,n){try{return t(n)}catch(t){return dt.error=t,dt}}function F(t,n,e,r){var o,i,s,c,a=u(e);if(a){if(o=Y(e,r),o===dt?(c=!0,i=o.error,o=null):s=!0,n===o)return void k(n,g())}else o=r,s=!0;n._state!==ft||(a&&s?j(n,o):c?k(n,i):t===lt?M(n,o):t===ht&&k(n,o))}function D(t,n){try{n(function(n){j(t,n)},function(n){k(t,n)})}catch(n){k(t,n)}}function K(){return vt++}function N(t){t[at]=vt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function U(t){return new bt(this,t).promise}function W(t){var n=this;return new n(Z(t)?function(e,r){for(var o=t.length,i=0;i<o;i++)n.resolve(t[i]).then(e,r)}:function(t,n){n(new TypeError("You must pass an array to race."))})}function q(t){var n=this,e=new n(w);return k(e,t),e}function z(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function B(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function G(t){this[at]=K(),this._result=this._state=void 0,this._subscribers=[],w!==t&&("function"!=typeof t&&z(),this instanceof G?D(this,t):B())}function H(t,n){this._instanceConstructor=t,this.promise=new t(w),this.promise[at]||N(this.promise),Z(n)?(this._input=n,this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&M(this.promise,this._result))):k(this.promise,I())}function I(){return new Error("Array Methods must be provided an Array")}function J(){var t;if("undefined"!=typeof o)t=o;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;n&&"[object Promise]"===Object.prototype.toString.call(n.resolve())&&!n.cast||(t.Promise=wt)}var Q;Q=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var R,V,X,Z=Q,$=0,tt=function(t,n){st[$]=t,st[$+1]=n,$+=2,2===$&&(V?V(v):X())},nt="undefined"!=typeof window?window:void 0,et=nt||{},rt=et.MutationObserver||et.WebKitMutationObserver,ot="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),it="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,st=new Array(1e3);X=ot?f():rt?h():it?p():void 0===nt?_():d();var ut=y,ct=m,at=Math.random().toString(36).substring(16),ft=void 0,lt=1,ht=2,pt=new L,dt=new L,vt=0,_t=U,yt=W,mt=q,wt=G;G.all=_t,G.race=yt,G.resolve=ct,G.reject=mt,G._setScheduler=c,G._setAsap=a,G._asap=tt,G.prototype={constructor:G,then:ut,catch:function(t){return this.then(null,t)}};var bt=H;H.prototype._enumerate=function(){for(var t=this.length,n=this._input,e=0;this._state===ft&&e<t;e++)this._eachEntry(n[e],e)},H.prototype._eachEntry=function(t,n){var e=this._instanceConstructor,r=e.resolve;if(r===ct){var o=A(t);if(o===ut&&t._state!==ft)this._settledAt(t._state,n,t._result);else if("function"!=typeof o)this._remaining--,this._result[n]=t;else if(e===wt){var i=new e(w);S(i,t,o),this._willSettleAt(i,n)}else this._willSettleAt(new e(function(n){n(t)}),n)}else this._willSettleAt(r(t),n)},H.prototype._settledAt=function(t,n,e){var r=this.promise;r._state===ft&&(this._remaining--,t===ht?k(r,e):this._result[n]=e),0===this._remaining&&M(r,this._result)},H.prototype._willSettleAt=function(t,n){var e=this;C(t,void 0,function(t){e._settledAt(lt,n,t)},function(t){e._settledAt(ht,n,t)})};var gt=J,At={Promise:wt,polyfill:gt};e(6).amd?(r=function(){return At}.call(n,e,n,i),!(void 0!==r&&(i.exports=r))):"undefined"!=typeof i&&i.exports?i.exports=At:"undefined"!=typeof this&&(this.ES6Promise=At),gt()}).call(this)}).call(n,e(3),function(){return this}(),e(4)(t))},function(t,n){function e(){l&&a&&(l=!1,a.length?f=a.concat(f):h=-1,f.length&&r())}function r(){if(!l){var t=s(e);l=!0;for(var n=f.length;n;){for(a=f,f=[];++h<n;)a&&a[h].run();h=-1,n=f.length}a=null,l=!1,u(t)}}function o(t,n){this.fun=t,this.array=n}function i(){}var s,u,c=t.exports={};!function(){try{s=setTimeout}catch(t){s=function(){throw new Error("setTimeout is not defined")}}try{u=clearTimeout}catch(t){u=function(){throw new Error("clearTimeout is not defined")}}}();var a,f=[],l=!1,h=-1;c.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];f.push(new o(t,n)),1!==f.length||l||s(r,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=i,c.addListener=i,c.once=i,c.off=i,c.removeListener=i,c.removeAllListeners=i,c.emit=i,c.binding=function(t){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(t){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n){},function(t,n){t.exports=function(){throw new Error("define cannot be used indirect")}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-id-helpers@2.1.0"]={"bbc-morph-promise":"1.0.6",react:"0.14.7"},function(n){function r(e){if(t[e])return t[e].exports;var u=t[e]={exports:{},id:e,loaded:!1};return n[e].call(u.exports,u,u.exports,r),u.loaded=!0,u.exports}var t={};return r.m=n,r.c=t,r.p="",r(0)}([function(n,r,t){Morph.modules["bbc-morph-id-helpers@2.1.0"]=t(1)},function(n,r,t){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}function u(){return new c.default(function(n,r){requirejs(["idcta/idcta-1","idcta/id-config"],function(r,t){l=r,a=t,n({idCta:l,idConfig:a})},r)})}function i(){return l&&a?c.default.resolve({idCta:l,idConfig:a}):u()}var o=t(2),c=e(o),l=null,a=null;n.exports.userSignedIn=function(){return i().then(function(n){var r=n.idCta;return!!r&&r.hasCookie()}).catch(function(){return!1})},n.exports.getUserId=function(){return i().then(function(n){var r=n.idCta;return r?r.getIdFromCookie():null}).catch(function(){return null})},n.exports.getUserDetails=function(){return i().then(function(n){var r=n.idCta;return r?r.getUserDetailsFromCookie():null}).catch(function(){return null})},n.exports.signInUrl=function(){return i().then(function(n){var r=n.idConfig;return r?r.signin_url:null}).catch(function(){return null})},n.exports.registerUrl=function(){return i().then(function(n){var r=n.idConfig;return r?r.register_url:null}).catch(function(){return null})},n.exports.IDAvailable=function(){return i().then(function(n){var r=n.idConfig;return r&&"GREEN"===r["id-availability"]}).catch(function(){return!1})},n.exports.unloadIdDependencies=function(){l=null,a=null}},function(n,r){n.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=3)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};r(5),r(6);var i=r(8),s=n(i),u=r(13),a=n(u),c=r(15),f=function(t){return(0,s.default)().then(function(e){return o({},t,{personId:e})}).then(c.validatePostParams).then(a.default).then(function(t){var e=t.url,r=t.config;return fetch(e,r)}).catch(function(t){if("No user ID"===t.message)return null;throw t})};e.default=f},function(t,e){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===n||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){y&&p&&(y=!1,p.length?d=p.concat(d):v=-1,d.length&&u())}function u(){if(!y){var t=o(s);y=!0;for(var e=d.length;e;){for(p=d,d=[];++v<e;)p&&p[v].run();v=-1,e=d.length}p=null,y=!1,i(t)}}function a(t,e){this.fun=t,this.array=e}function c(){}var f,l,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(t){f=r}try{l="function"==typeof clearTimeout?clearTimeout:n}catch(t){l=n}}();var p,d=[],y=!1,v=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];d.push(new a(t,e)),1!==d.length||y||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(t){return[]},h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4),o=r.n(n);Morph.modules["bbc-morph-sport-uas-service@2.1.1"]=o.a},function(t,e,r){"use strict";t.exports={post:r(0).default,postWithFeatureToggle:r(16).default}},function(t,e,r){(function(e,r){!function(e,r){t.exports=r()}(0,function(){"use strict";function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function n(t){return"function"==typeof t}function o(t){R=t}function i(t){N=t}function s(){return void 0!==L?function(){L(a)}:u()}function u(){var t=setTimeout;return function(){return t(a,1)}}function a(){for(var t=0;t<k;t+=2){(0,W[t])(W[t+1]),W[t]=void 0,W[t+1]=void 0}k=0}function c(t,e){var r=this,n=new this.constructor(l);void 0===n[J]&&O(n);var o=r._state;if(o){var i=arguments[o-1];N(function(){return E(o,n,i,r._result)})}else A(r,n,t,e);return n}function f(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var r=new e(l);return _(r,t),r}function l(){}function h(){return new TypeError("You cannot resolve a promise with itself")}function p(){return new TypeError("A promises callback cannot return that same promise.")}function d(t,e,r,n){try{t.call(e,r,n)}catch(t){return t}}function y(t,e,r){N(function(t){var n=!1,o=d(r,e,function(r){n||(n=!0,e!==r?_(t,r):w(t,r))},function(e){n||(n=!0,g(t,e))},"Settle: "+(t._label||" unknown promise"));!n&&o&&(n=!0,g(t,o))},t)}function v(t,e){e._state===z?w(t,e._result):e._state===$?g(t,e._result):A(e,void 0,function(e){return _(t,e)},function(e){return g(t,e)})}function b(t,e,r){e.constructor===t.constructor&&r===c&&e.constructor.resolve===f?v(t,e):void 0===r?w(t,e):n(r)?y(t,e,r):w(t,e)}function _(e,r){if(e===r)g(e,h());else if(t(r)){var n=void 0;try{n=r.then}catch(t){return void g(e,t)}b(e,r,n)}else w(e,r)}function m(t){t._onerror&&t._onerror(t._result),T(t)}function w(t,e){t._state===V&&(t._result=e,t._state=z,0!==t._subscribers.length&&N(T,t))}function g(t,e){t._state===V&&(t._state=$,t._result=e,N(m,t))}function A(t,e,r,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+z]=r,o[i+$]=n,0===i&&t._state&&N(T,t)}function T(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n=void 0,o=void 0,i=t._result,s=0;s<e.length;s+=3)n=e[s],o=e[s+r],n?E(r,n,o,i):o(i);t._subscribers.length=0}}function E(t,e,r,o){var i=n(r),s=void 0,u=void 0,a=!0;if(i){try{s=r(o)}catch(t){a=!1,u=t}if(e===s)return void g(e,p())}else s=o;e._state!==V||(i&&a?_(e,s):!1===a?g(e,u):t===z?w(e,s):t===$&&g(e,s))}function x(t,e){try{e(function(e){_(t,e)},function(e){g(t,e)})}catch(e){g(t,e)}}function j(){return Q++}function O(t){t[J]=Q++,t._state=void 0,t._result=void 0,t._subscribers=[]}function P(){return new Error("Array Methods must be provided an Array")}function S(t){return new Z(this,t).promise}function B(t){var e=this;return new e(F(t)?function(r,n){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(r,n)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function C(t){var e=this,r=new e(l);return g(r,t),r}function I(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function M(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function U(){var t=void 0;if(void 0!==r)t=r;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=tt}var D=void 0;D=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var F=D,k=0,L=void 0,R=void 0,N=function(t,e){W[k]=t,W[k+1]=e,2===(k+=2)&&(R?R(a):X())},q="undefined"!=typeof window?window:void 0,H=q||{},K=H.MutationObserver||H.WebKitMutationObserver,Y="undefined"==typeof self&&void 0!==e&&"[object process]"==={}.toString.call(e),G="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,W=new Array(1e3),X=void 0;X=Y?function(){return function(){return e.nextTick(a)}}():K?function(){var t=0,e=new K(a),r=document.createTextNode("");return e.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}():G?function(){var t=new MessageChannel;return t.port1.onmessage=a,function(){return t.port2.postMessage(0)}}():void 0===q?function(){try{var t=Function("return this")().require("vertx");return L=t.runOnLoop||t.runOnContext,s()}catch(t){return u()}}():u();var J=Math.random().toString(36).substring(2),V=void 0,z=1,$=2,Q=0,Z=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(l),this.promise[J]||O(this.promise),F(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?w(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&w(this.promise,this._result))):g(this.promise,P())}return t.prototype._enumerate=function(t){for(var e=0;this._state===V&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,n=r.resolve;if(n===f){var o=void 0,i=void 0,s=!1;try{o=t.then}catch(t){s=!0,i=t}if(o===c&&t._state!==V)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(r===tt){var u=new r(l);s?g(u,i):b(u,t,o),this._willSettleAt(u,e)}else this._willSettleAt(new r(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},t.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===V&&(this._remaining--,t===$?g(n,r):this._result[e]=r),0===this._remaining&&w(n,this._result)},t.prototype._willSettleAt=function(t,e){var r=this;A(t,void 0,function(t){return r._settledAt(z,e,t)},function(t){return r._settledAt($,e,t)})},t}(),tt=function(){function t(e){this[J]=j(),this._result=this._state=void 0,this._subscribers=[],l!==e&&("function"!=typeof e&&I(),this instanceof t?x(this,e):M())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var e=this,r=e.constructor;return n(t)?e.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})}):e.then(t,t)},t}();return tt.prototype.then=c,tt.all=S,tt.race=B,tt.resolve=f,tt.reject=C,tt._setScheduler=o,tt._setAsap=i,tt._asap=N,tt.polyfill=U,tt.Promise=tt,tt})}).call(e,r(1),r(2))},function(t,e,r){r(7),t.exports=self.fetch.bind(self)},function(t,e,r){"use strict";function n(t){return t&&DataView.prototype.isPrototypeOf(t)}function o(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function i(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return g.iterable&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function a(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function c(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function f(t){var e=new FileReader,r=c(e);return e.readAsArrayBuffer(t),r}function l(t){var e=new FileReader,r=c(e);return e.readAsText(t),r}function h(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:g.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:g.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:g.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():g.arrayBuffer&&g.blob&&n(t)?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):g.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||T(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g.blob&&(this.blob=function(){var t=a(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?a(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t=a(this);if(t)return t;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(h(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}function y(t){var e=t.toUpperCase();return E.indexOf(e)>-1?e:t}function v(t,e){e=e||{};var r=e.body;if(t instanceof v){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new u(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new u(e.headers)),this.method=y(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function b(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function _(t){var e=new u;return t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e}function m(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new u(e.headers),this.url=e.url||"",this._initBody(t)}function w(t,e){return new Promise(function(r,n){function o(){s.abort()}var i=new v(t,e);if(i.signal&&i.signal.aborted)return n(new j("Aborted","AbortError"));var s=new XMLHttpRequest;s.onload=function(){var t={status:s.status,statusText:s.statusText,headers:_(s.getAllResponseHeaders()||"")};t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL");var e="response"in s?s.response:s.responseText;r(new m(e,t))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new j("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&g.blob&&(s.responseType="blob"),i.headers.forEach(function(t,e){s.setRequestHeader(e,t)}),i.signal&&(i.signal.addEventListener("abort",o),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",o)}),s.send(void 0===i._bodyInit?null:i._bodyInit)})}Object.defineProperty(e,"__esModule",{value:!0}),e.Headers=u,e.Request=v,e.Response=m,r.d(e,"DOMException",function(){return j}),e.fetch=w;var g={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(g.arrayBuffer)var A=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],T=ArrayBuffer.isView||function(t){return t&&A.indexOf(Object.prototype.toString.call(t))>-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<V;t+=2){(0,rt[t])(rt[t+1]),rt[t]=void 0,rt[t+1]=void 0}V=0}function p(t,e){var r=this,n=new this.constructor(y);void 0===n[it]&&U(n);var o=r._state;if(o){var i=arguments[o-1];z(function(){C(o,n,i,r._result)})}else O(r,n,t,e);return n}function d(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var r=new e(y);return T(r,t),r}function y(){}function v(){return new TypeError("You cannot resolve a promise with itself")}function b(){return new TypeError("A promises callback cannot return that same promise.")}function _(t){try{return t.then}catch(t){return ct.error=t,ct}}function m(t,e,r,n){try{t.call(e,r,n)}catch(t){return t}}function w(t,e,r){z(function(t){var n=!1,o=m(r,e,function(r){n||(n=!0,e!==r?T(t,r):x(t,r))},function(e){n||(n=!0,j(t,e))},"Settle: "+(t._label||" unknown promise"));!n&&o&&(n=!0,j(t,o))},t)}function g(t,e){e._state===ut?x(t,e._result):e._state===at?j(t,e._result):O(e,void 0,function(e){T(t,e)},function(e){j(t,e)})}function A(t,e,r){e.constructor===t.constructor&&r===nt&&constructor.resolve===ot?g(t,e):r===ct?j(t,ct.error):void 0===r?x(t,e):u(r)?w(t,e,r):x(t,e)}function T(t,e){t===e?j(t,v()):s(e)?A(t,e,_(e)):x(t,e)}function E(t){t._onerror&&t._onerror(t._result),P(t)}function x(t,e){t._state===st&&(t._result=e,t._state=ut,0!==t._subscribers.length&&z(P,t))}function j(t,e){t._state===st&&(t._state=at,t._result=e,z(E,t))}function O(t,e,r,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+ut]=r,o[i+at]=n,0===i&&t._state&&z(P,t)}function P(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n,o,i=t._result,s=0;s<e.length;s+=3)n=e[s],o=e[s+r],n?C(r,n,o,i):o(i);t._subscribers.length=0}}function S(){this.error=null}function B(t,e){try{return t(e)}catch(t){return ft.error=t,ft}}function C(t,e,r,n){var o,i,s,a,c=u(r);if(c){if(o=B(r,n),o===ft?(a=!0,i=o.error,o=null):s=!0,e===o)return void j(e,b())}else o=n,s=!0;e._state!==st||(c&&s?T(e,o):a?j(e,i):t===ut?x(e,o):t===at&&j(e,o))}function I(t,e){try{e(function(e){T(t,e)},function(e){j(t,e)})}catch(e){j(t,e)}}function M(){return lt++}function U(t){t[it]=lt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function D(t){return new vt(this,t).promise}function F(t){var e=this;return new e(J(t)?function(r,n){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(r,n)}:function(t,e){e(new TypeError("You must pass an array to race."))})}function k(t){var e=this,r=new e(y);return j(r,t),r}function L(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function R(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function N(t){this[it]=M(),this._result=this._state=void 0,this._subscribers=[],y!==t&&("function"!=typeof t&&L(),this instanceof N?I(this,t):R())}function q(t,e){this._instanceConstructor=t,this.promise=new t(y),this.promise[it]||U(this.promise),J(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&x(this.promise,this._result))):j(this.promise,H())}function H(){return new Error("Array Methods must be provided an Array")}function K(){var t;if(void 0!==o)t=o;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;e&&"[object Promise]"===Object.prototype.toString.call(e.resolve())&&!e.cast||(t.Promise=yt)}var Y;Y=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var G,W,X,J=Y,V=0,z=function(t,e){rt[V]=t,rt[V+1]=e,2===(V+=2)&&(W?W(h):X())},$="undefined"!=typeof window?window:void 0,Q=$||{},Z=Q.MutationObserver||Q.WebKitMutationObserver,tt="undefined"==typeof self&&void 0!==n&&"[object process]"==={}.toString.call(n),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,rt=new Array(1e3);X=tt?function(){return function(){n.nextTick(h)}}():Z?function(){var t=0,e=new Z(h),r=document.createTextNode("");return e.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}():et?function(){var t=new MessageChannel;return t.port1.onmessage=h,function(){t.port2.postMessage(0)}}():void 0===$?function(){try{var t=r(12);return G=t.runOnLoop||t.runOnContext,f()}catch(t){return l()}}():l();var nt=p,ot=d,it=Math.random().toString(36).substring(16),st=void 0,ut=1,at=2,ct=new S,ft=new S,lt=0,ht=D,pt=F,dt=k,yt=N;N.all=ht,N.race=pt,N.resolve=ot,N.reject=dt,N._setScheduler=a,N._setAsap=c,N._asap=z,N.prototype={constructor:N,then:nt,catch:function(t){return this.then(null,t)}};var vt=q;q.prototype._enumerate=function(){for(var t=this.length,e=this._input,r=0;this._state===st&&r<t;r++)this._eachEntry(e[r],r)},q.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,n=r.resolve;if(n===ot){var o=_(t);if(o===nt&&t._state!==st)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(r===yt){var i=new r(y);A(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new r(function(e){e(t)}),e)}else this._willSettleAt(n(t),e)},q.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===st&&(this._remaining--,t===at?j(n,r):this._result[e]=r),0===this._remaining&&x(n,this._result)},q.prototype._willSettleAt=function(t,e){var r=this;O(t,void 0,function(t){r._settledAt(ut,e,t)},function(t){r._settledAt(at,e,t)})};var bt=K,_t={Promise:yt,polyfill:bt};void 0!==(i=function(){return _t}.call(e,r,e,t))&&(t.exports=i),bt()}).call(this)}).call(e,r(1),r(2))},function(t,e){},function(t,e,r){"use strict";function n(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i=r(14),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(i),u=function(t){var e=t.isLive,r=t.resourceType;return{indexcps:"index",track:"pal_data",clip:e?"live_coverage":"media_asset"}[r]},a=function(t){return"/"===t[0]?t:"/"+t},c=function(t){var e=s.getDomainSuffix(),r=t.isApp,i=(t.isLive,t.activityType,t.path),c=n(t,["isApp","isLive","activityType","path"]);return o({resourceDomain:"sport",pageType:u(t),platform:r?"app":s.getBrowserType(),url:"https://web.archive.org/web/20200912182407/https://www.bbc"+e+a(i)},c)},f=function(t){return"https://activity."+{int:"int.",test:"test.",stage:"stage.",live:""}[s.getEnv()]+"api.bbc"+s.getDomainSuffix()+"/my/"+t},l=function(t,e){var r=s.getEnv();return{Host:t,"Content-Type":"application/json","X-API-Key":s.getApiKey(r,e)}},h=function(t){var e=c(t),r=f(t.activityType);return{url:r,config:{method:"POST",headers:l(r,t.isApp),body:JSON.stringify(e),credentials:"include"}}};e.default=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=e.appApiKeys={live:"phid5v4msidj4",int:"5hbfm397oo9kl",test:"5hbfm397oo9kl"},o=e.webApiKeys={live:"cto2i19cll401",int:"l3r5rrsr9erjg",test:"l3r5rrsr9erjg"};e.getBrowserType=function(){return"ontouchstart"in document.documentElement&&navigator.userAgent.match(/Mobi/)?"mobile web":"responsive web"},e.getEnv=function(){try{return window.Morph.config.pushEnv}catch(t){return null}},e.getApiKey=function(t,e){if(-1===["live","int","test"].indexOf(t))throw Error("Invalid push environment "+t);return e?n[t]:o[t]},e.getDomainSuffix=function(){try{return window.document.domain.indexOf(".com")>-1?".com":".co.uk"}catch(t){return".co.uk"}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.validatePostParams=function(t){var e={plays:{started:!0,paused:!0,ended:!0},reads:{read:!0}};if(!e[t.activityType])throw new Error("Invalid activity type "+t.activityType);if(!e[t.activityType][t.action])throw new Error("Invalid action "+t.action);var r=["isApp","resourceId","resourceType","path","personId"],n=r.reduce(function(e,r){return void 0===t[r]&&e.push(r),e},[]);if(n.length>0)throw new Error("Missing parameter(s) "+n.join(", "));return t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments[1];return"boolean"!=typeof t?Promise.reject(new Error("Invalid toggle: "+t)):t?(0,o.default)(e):Promise.resolve(null)};e.default=i}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t,r){e.exports=r(3)()},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t,r){"use strict";var n=r(4);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),a=r(0),s=r.n(a),i=r(2),c=r.n(i);function u(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var p=function(e){var t=e.item,r=e.onDark,n=e.classNames,a=["gs-u-align-middle","gs-o-section-tag","gel-brevier","qa-section-tag"].concat(u(n));return"/news"===t.sectionUrl&&a.push("gs-o-section-tag--news"),r&&a.push("gs-o-section-tag--on-dark"),o.a.createElement("span",{className:c()(a)},o.a.createElement("span",{className:"gs-u-vh"},"From the section "),o.a.createElement("a",{href:t.sectionUrl},t.sectionName))};p.displayName="GsSectionTag",p.propTypes={item:s.a.shape({sectionName:s.a.string,sectionUrl:s.a.string}).isRequired,onDark:s.a.bool,classNames:s.a.arrayOf(s.a.string)},p.defaultProps={onDark:!1,classNames:[]};var l=p;Morph.modules["bbc-morph-gs-section-tag@3.1.0"]=l}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-promo-summary@2.0.2"]={"bbc-morph-classnames":"1.0.2",react:"0.14.7"},function(e){function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var r={};t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-gs-promo-summary@2.0.2"]=r(1)},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 a(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 p=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),u=r(2),i=o(u),l=r(3),c=o(l),f=function(e){function t(){return n(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),p(t,[{key:"render",value:function(){var e=(0,c.default)("gs-c-promo-summary",this.props.typographyClass,this.props.summaryClasses);return i.default.createElement("p",{className:e},this.props.text)}}]),t}(i.default.Component);t.default=f,f.displayName="PromoSummary",f.propTypes={text:i.default.PropTypes.string.isRequired,summaryClasses:i.default.PropTypes.array,typographyClass:i.default.PropTypes.string},f.defaultProps={typographyClass:"gel-long-primer",summaryClasses:[]},e.exports=t.default},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-promo-meta@3.2.4"]={"bbc-morph-classnames":"1.0.2",react:"0.14.7"},function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-gs-promo-meta@3.2.4"]=r(1)},function(e,t,r){"use strict";function n(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 s(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 a(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 i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),l=r(2),u=n(l),c=r(3),p=n(c),f=function(e){function t(){return o(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"getMetaItems",value:function(){var e=this;return u.default.Children.map(this.props.children,function(t,r){return t?u.default.createElement("li",{key:r,className:e.props.childClasses},t):null})}},{key:"render",value:function(){var e=this.getMetaItems(),t=(0,p.default)("gs-o-list-inline","gs-o-list-inline--divided","gel-brevier",this.props.classes);return e?u.default.createElement("ul",{className:t},e):null}}]),t}(u.default.Component);t.default=f,f.displayName="GsPromo",f.propTypes={classes:u.default.PropTypes.string,childClasses:u.default.PropTypes.string},e.exports=t.default},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-ws-typography-info@1.0.6"]={},function(i){function e(n){if(t[n])return t[n].exports;var r=t[n]={exports:{},id:n,loaded:!1};return i[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var t={};return e.m=i,e.c=t,e.p="",e(0)}([function(i,e,t){Morph.modules["bbc-morph-ws-typography-info@1.0.6"]=t(1)},function(i,e){var t={afaanoromoo:{type:"latin",direction:"LTR"},amharic:{type:"ethiopic",direction:"LTR"},arabic:{type:"arabic",direction:"RTL"},bengali:{type:"bengali",direction:"LTR"},burmese:{type:"burmese",direction:"LTR"},gujarati:{type:"gujarati",direction:"LTR"},hindi:{type:"hindi",direction:"LTR"},igbo:{type:"latin",direction:"LTR"},japanese:{type:"japanese",direction:"LTR"},korean:{type:"korean",direction:"LTR"},kyrgyz:{type:"cyrillic",direction:"LTR"},"latin-flexbox":{type:"latin-flexbox",direction:"LTR"},marathi:{type:"devanagari",direction:"LTR"},nepali:{type:"hindi",direction:"LTR"},pashto:{type:"arabic",direction:"RTL"},persian:{type:"arabic",direction:"RTL"},pidgin:{type:"latin",direction:"LTR"},punjabi:{type:"gurmukhi",direction:"LTR"},russian:{type:"cyrillic",direction:"LTR"},"serbian-cyr":{type:"cyrillic",direction:"LTR"},"serbian-lat":{type:"latin",direction:"LTR"},sinhala:{type:"sinhala",direction:"LTR"},tajik:{type:"cyrillic",direction:"LTR"},tamil:{type:"tamil",direction:"LTR"},telugu:{type:"telugu",direction:"LTR"},thai:{type:"thai",direction:"LTR"},tigrinya:{type:"ethiopic",direction:"LTR"},"ukchina-simp":{type:"chinese",direction:"LTR"},"ukchina-trad":{type:"chinese",direction:"LTR"},ukrainian:{type:"cyrillic",direction:"LTR"},urdu:{type:"arabic",direction:"RTL"},uzbek:{type:"cyrillic",direction:"LTR"},yoruba:{type:"latin",direction:"LTR"},"zhongwen-simp":{type:"chinese",direction:"LTR"},"zhongwen-trad":{type:"chinese",direction:"LTR"}};e.getScript=function(i){return t[i]?t[i].type:"latin"},e.getDirectionality=function(i){return t[i]?t[i].direction:"LTR"}}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=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,a=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 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(r,a,s):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r(2)),s=(o=r(3))&&o.__esModule?o:{default:o};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var u="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";function c(e,t){return e.replace(/{width}/g,t)}var l=function(e){var t=e.src,r=e.width,n=e.className,o=e.alt,i=e.chefSizes,l=e.sizes,p=e.srcsetMode;return e.delayed?function(e,t,r,n){var o=JSON.stringify(n);return a.default.createElement("img",{src:u,"data-src":t,"data-widths":o,"data-sizes":"auto",alt:r,className:(0,s.default)(["qa-lazyload-image","lazyload","lazyautosizes"],e)})}(n,t,o,i):t?function(e,t,r,n,o){return a.default.createElement("img",{src:o,sizes:n,srcSet:t,alt:r,className:(0,s.default)(["qa-srcset-image"],e)})}(n,function(e,t,r){return t.map((function(t,n){var o=("x"===r?n+1:t)+r,a=c(e,t);return"".concat(a," ").concat(o)})).join(", ")}(t,i,p),o,l,c(t,r)):a.default.createElement("img",{alt:"",src:u})};l.displayName="ResponsiveImage",l.propTypes={className:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.string),a.PropTypes.string]),src:a.PropTypes.string,alt:a.PropTypes.string,chefSizes:a.PropTypes.arrayOf(a.PropTypes.number),delayed:a.PropTypes.bool,sizes:a.PropTypes.string,width:a.PropTypes.number,isPlaceholder:a.PropTypes.bool,srcsetMode:a.PropTypes.string},l.defaultProps={alt:"",chefSizes:[240,320,480,624,800],sizes:"(min-width: 900px) 50vw, (min-width: 600px) 70vw, 100vw",srcsetMode:"w",width:320};var p=l;t.default=p},function(e,t,r){"use strict";r.r(t);var n=r(0),o=r.n(n);Morph.modules["bbc-morph-responsive-image-srcset@3.0.1"]=o.a},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-image-chef-url-transformer@2.1.0"]={},function(e){function t(r){if(i[r])return i[r].exports;var c=i[r]={exports:{},id:r,loaded:!1};return e[r].call(c.exports,c,c.exports,t),c.loaded=!0,c.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t,i){Morph.modules["bbc-morph-image-chef-url-transformer@2.1.0"]=i(1)},function(e,t){function i(e,t,i,r){return"live"===t||"production"===t?"https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/"+e+"/"+r+"{width}/mcs/media/images/"+i:"https://web.archive.org/web/20200912182407/https://ichef."+t+".bbci.co.uk/"+e+"/"+r+"{width}/mcs/media/images/"+i}function r(e,t,i,r,o){var n=c[r];return"live"===t||"production"===t?"https://web.archive.org/web/20200912182407/https://ichef.bbci.co.uk/"+e+"/"+o+"{width}/"+n+"/"+i:"https://web.archive.org/web/20200912182407/https://ichef."+t+".bbci.co.uk/"+e+"/"+o+"{width}/"+n+"/"+i}var c={a:"amz",b:"cpsdevpb",c:"cpsprodpb"};t.transform=function(e,t,c){var o,n,s,a,p=e,h=c?"":"cps/";if(t=t||"live-experience","string"!=typeof e)throw new Error("Image URL given was not in string format");return o=e.match(/^https?:\/\/news.bbcimg.co.uk\/media\/images\/(.*)/),n=e.match(/^https?:\/\/www\.([^\/]*).bbci?.co.uk\/media\/images\/(.*)/),s=e.match(/^https?:\/\/(?:www|news)preview.([^\/]*).newsonline.tc.nca.bbc.co.uk\/media\/images\/(.*)/),a=e.match(/^https?:\/\/([^.])+.files.bbci?.co.uk\/([^\/]+\/([^\/]*)\/.*)/),o?p=i(t,"live",o[1],h):n?p=i(t,n[1],n[2],h):s?p=i(t,s[1],s[2],h):a&&(p=r(t,a[3],a[2],a[1],h)),p.replace(/\$recipe/g,"{width}xn").replace("http://","https://")}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-promo-image@8.0.1"]={"bbc-morph-classnames":"1.0.2","bbc-morph-image-chef-url-transformer":"2.1.0","bbc-morph-responsive-image-srcset":"3.0.1","bbc-morph-ws-typography-info":"1.0.6","morph-require":"5.2.1","prop-types":"15.7.2","react":"0.14.7"}; !function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=9)}([function(e,r,t){e.exports=t(7)()},function(e,r){e.exports=React},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,r){e.exports=Morph.modules["bbc-morph-responsive-image-srcset@3.0.1"]},function(e,r){e.exports=Morph.modules["bbc-morph-image-chef-url-transformer@2.1.0"]},function(e,r){e.exports=Morph.modules["bbc-morph-ws-typography-info@1.0.6"]},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gs-promo-image@8.0.1",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gs-promo-image@8.0.1",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gs-promo-image@8.0.1",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gs-promo-image@8.0.1",e,r,!0)}}},function(e,r,t){"use strict";var n=t(8);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},function(e,r,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t.n(n),i=t(0),a=t.n(i),s=t(3),c=t.n(s),p=t(4),u=t.n(p),l=t(2),f=t.n(l),m=t(5),y=t.n(m),g=t(6),h=t.n(g);function b(e){return(b="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)}function d(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function v(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,r){return!r||"object"!==b(r)&&"function"!=typeof r?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):r}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,r){return(P=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}var _=function(e){function r(){return d(this,r),T(this,O(r).apply(this,arguments))}var t,n,i;return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&P(e,r)}(r,e),t=r,(n=[{key:"componentWillMount",value:function(){var e=this.props.serviceName,r=y.a.getDirectionality(e);h.a.selfTransitiveThenUpdate(r.toLowerCase(),this)}},{key:"imageProps",value:function(e,r){var t=this.props,n=t.chefSizes,o=t.ichefRecipe,i=t.product,a=t.ichefExcludeType,s=t.alt,c=t.width,p=t.sizes,l=t.delayed;return o||r?{src:r||u.a.transform(o,i,a),alt:s,width:c,chefSizes:n,sizes:p,className:f()(e),delayed:l}:{}}},{key:"render",value:function(){var e=this.props,r=e.className,t=e.image,n=e.imgClassName,i=e.imageOnly,a=e.imageSibling,s=e.children,p=e.responsiveImageRatio,u=e.responsiveImageClasses,l=this.imageProps(n,t),m=o.a.createElement(c.a,l);if(i)return m;var y=f()("gs-c-promo-image",r),g=f()("gs-o-responsive-image",p,u);return o.a.createElement("div",{className:y},o.a.createElement("div",{className:"gs-o-media-island"},o.a.createElement("div",{className:g},m,a),s))}}])&&v(t.prototype,n),i&&v(t,i),r}(o.a.Component);_.displayName="PromoImage",_.propTypes={alt:a.a.string,chefSizes:a.a.arrayOf(a.a.number),children:a.a.node,className:a.a.arrayOf(a.a.string),delayed:a.a.oneOfType([o.a.PropTypes.bool,o.a.PropTypes.string]),ichefRecipe:a.a.string,image:a.a.string,imgClassName:a.a.oneOfType([o.a.PropTypes.arrayOf(o.a.PropTypes.string),o.a.PropTypes.string]),imageOnly:a.a.bool,product:a.a.string,responsiveImageRatio:a.a.string,responsiveImageClasses:a.a.string,imageSibling:a.a.node,sizes:a.a.string,ichefExcludeType:a.a.bool,width:a.a.number,serviceName:a.a.string},_.defaultProps={alt:"",chefSizes:[240,320,480,624,800],children:null,className:[],delayed:!1,ichefRecipe:null,image:null,imgClassName:[],product:null,responsiveImageClasses:null,imageSibling:null,sizes:null,width:null,serviceName:null,ichefExcludeType:!1,imageOnly:!1,responsiveImageRatio:"gs-o-responsive-image--16by9"},Morph.modules["bbc-morph-gs-promo-image@8.0.1"]=_}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-promo-heading@6.0.2"]={"bbc-morph-classnames":"1.0.2",react:"0.14.7"},function(e){function t(s){if(r[s])return r[s].exports;var a=r[s]={exports:{},id:s,loaded:!1};return e[s].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-gs-promo-heading@6.0.2"]=r(1)},function(e,t,r){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 l(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 n=function(){function e(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,r,s){return r&&e(t.prototype,r),s&&e(t,s),t}}(),o=r(2),p=s(o),u=r(3),c=s(u),d=function(e){function t(){return a(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),n(t,[{key:"renderTitle",value:function(){var e=(0,c.default)("gs-c-promo-heading__title",this.props.titleTypographyClass,this.props.titleClasses),t=this.props.headingType;switch(t){case"h1":return p.default.createElement("h1",{id:this.props.titleId,className:e},this.props.title);case"h2":return p.default.createElement("h2",{id:this.props.titleId,className:e},this.props.title);case"h3":return p.default.createElement("h3",{id:this.props.titleId,className:e},this.props.title);case"h4":return p.default.createElement("h4",{id:this.props.titleId,className:e},this.props.title);case"h5":return p.default.createElement("h5",{id:this.props.titleId,className:e},this.props.title);case"h6":return p.default.createElement("h6",{id:this.props.titleId,className:e},this.props.title);case"span":return p.default.createElement("span",{id:this.props.titleId,className:e},this.props.title);default:return p.default.createElement("h3",{id:this.props.titleId,className:e},this.props.title)}}},{key:"renderAriaLabel",value:function(){return this.props.accessibilityHeading?p.default.createElement("span",{className:"gs-u-vh","aria-label":this.props.accessibilityHeading+": "}):null}},{key:"render",value:function(){if(this.props.url){var e=(0,c.default)("gs-c-promo-heading",this.props.linkClasses),t={className:e,href:this.props.url};return this.props.linkCallback&&(t.onClick=this.props.linkCallback),p.default.createElement("a",t,this.renderAriaLabel(),this.props.children,this.renderTitle())}return p.default.createElement("div",{className:(0,c.default)("gs-c-promo-heading",this.props.classes)},this.props.children,this.renderTitle())}}]),t}(p.default.Component);t.default=d,d.displayName="PromoHeading",d.propTypes={children:p.default.PropTypes.node,classes:p.default.PropTypes.string,headingType:p.default.PropTypes.string,linkCallback:p.default.PropTypes.func,linkClasses:p.default.PropTypes.array,title:p.default.PropTypes.string.isRequired,titleClasses:p.default.PropTypes.array,titleId:p.default.PropTypes.string,titleTypographyClass:p.default.PropTypes.string,url:p.default.PropTypes.string,accessibilityHeading:p.default.PropTypes.string},d.defaultProps={headingType:"h3",titleTypographyClass:"gel-long-primer",titleId:null},e.exports=t.default},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-promo-body@6.0.0"]={"bbc-morph-classnames":"1.0.2","bbc-morph-ws-typography-info":"1.0.6","morph-require":"5.2.1",react:"0.14.7"},function(e){function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){Morph.modules["bbc-morph-gs-promo-body@6.0.0"]=t(1)},function(e,r,t){e.exports=t(2)},function(e,r,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function i(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r}function p(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}Object.defineProperty(r,"__esModule",{value:!0});var s=function(){function e(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(r,t,o){return t&&e(r.prototype,t),o&&e(r,o),r}}(),a=t(3),u=o(a),c=t(4),l=o(c),f=t(5),h=o(f),d=t(6),b=o(d),m=function(e){function r(){return n(this,r),i(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return p(r,e),s(r,[{key:"componentWillMount",value:function(){var e=h.default.getDirectionality(this.props.serviceName);b.default.selfTransitiveThenUpdate(e.toLowerCase(),this)}},{key:"render",value:function(){var e=(0,l.default)("gs-c-promo-body",this.props.className,{"gs-c-promo-body--white-text":this.props.whiteText});return u.default.createElement("div",{className:e},this.props.children)}}]),r}(u.default.Component);r.default=m,m.displayName="GrandStand__PromoBody",m.propTypes={whiteText:u.default.PropTypes.bool,className:u.default.PropTypes.array,children:u.default.PropTypes.node.isRequired,serviceName:u.default.PropTypes.string},e.exports=r.default},function(e,r){e.exports=React},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,r){e.exports=Morph.modules["bbc-morph-ws-typography-info@1.0.6"]},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gs-promo-body@6.0.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gs-promo-body@6.0.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gs-promo-body@6.0.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gs-promo-body@6.0.0",e,r,!0)}}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-promo@6.0.0"]={"bbc-morph-classnames":"1.0.2",react:"0.14.7","bbc-morph-ws-typography-info":"1.0.6","morph-require":"5.2.1"},function(e){function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-gs-promo@6.0.0"]=r(1)},function(e,t,r){e.exports=r(2)},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),u=r(3),l=o(u),c=r(4),f=o(c),h=r(5),b=o(h),m=r(6),d=o(m),y=function(e){function t(){return n(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"getThemeClass",value:function(){return this.props.theme?"gs-t-"+this.props.theme:null}},{key:"componentWillMount",value:function(){var e=b.default.getDirectionality(this.props.serviceName);d.default.selfTransitiveThenUpdate(e.toLowerCase(),this)}},{key:"render",value:function(){var e=(0,f.default)("gs-c-promo",this.getThemeClass(),this.props.className,{"gs-c-promo--flex":this.props.flex});return l.default.createElement("div",p({className:e},this.props.attributes),this.props.children)}}]),t}(l.default.Component);t.default=y,y.displayName="GrandStand__Promo",y.defaultProps={attributes:{}},y.propTypes={attributes:l.default.PropTypes.object,className:l.default.PropTypes.array,children:l.default.PropTypes.node,theme:l.default.PropTypes.string,flex:l.default.PropTypes.bool,serviceName:l.default.PropTypes.string},e.exports=t.default},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t){e.exports=Morph.modules["bbc-morph-ws-typography-info@1.0.6"]},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-gs-promo@6.0.0",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-gs-promo@6.0.0",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gs-promo@6.0.0",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gs-promo@6.0.0",e,t,!0)}}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-media-indicator@9.0.0"]={"bbc-morph-classnames":"1.0.2",react:"0.14.7","bbc-morph-ws-typography-info":"1.0.6","morph-require":"5.2.1"},function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-gs-media-indicator@9.0.0"]=r(1)},function(e,t,r){e.exports=r(2)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=r(3),p=n(c),u=r(4),d=n(u),f=r(5),h=n(f),m=r(6),y=n(m),g=function(e){function t(){return a(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),l(t,[{key:"componentWillMount",value:function(){var e=h.default.getDirectionality(this.props.serviceName);y.default.selfTransitiveThenUpdate(e.toLowerCase(),this)}},{key:"renderContent",value:function(){if(this.props.iconOnly)return null;var e=this.props.text?this.props.text:this.renderDuration();return this.props.text||this.props.onScreenDuration?p.default.createElement("span",{className:"gs-c-media-indicator__text"},e):null}},{key:"renderDuration",value:function(){var e=this.props.offScreenDuration?this.renderOffScreen():null,t=this.props.onScreenDuration?this.renderOnScreen():null,r=this.props.rawDuration||null;return p.default.createElement("time",{className:"qa-time",dateTime:r},e,t)}},{key:"renderIcon",value:function(){var e={video:p.default.createElement("span",{className:"gs-c-media-indicator__icon gel-icon","data-icon":"gel-icon-video"},this.renderOffScreen(),p.default.createElement("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 32 32"},p.default.createElement("polygon",{points:"3,32 29,16 3,0"}))),audio:p.default.createElement("span",{className:"gs-c-media-indicator__icon gel-icon","data-icon":"gel-icon-audio"},this.renderOffScreen(),p.default.createElement("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 32 32"},p.default.createElement("g",null,p.default.createElement("path",{d:"M21.4,4.8L20,6.2c2.5,2.5,4,6,4,9.8s-1.5,7.3-4,9.8l1.4,1.4C24.2,24.3,26,20.4,26,16C26,11.6,24.2,7.7,21.4,4.8z"}),p.default.createElement("path",{d:"M25.6,0.5L24.2,2c3.6,3.6,5.8,8.6,5.8,14s-2.2,10.4-5.8,14l1.4,1.4C29.6,27.5,32,22,32,16S29.6,4.5,25.6,0.5z"})),p.default.createElement("polygon",{points:"16,4 10,10 0,10 0,22 10,22 16,28"}))),gallery:p.default.createElement("span",{className:"gs-c-media-indicator__icon gel-icon","data-icon":"gel-icon-gallery"},this.renderOffScreen(),p.default.createElement("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 32 32"},p.default.createElement("path",{d:"M9,5V3H4v2H0v24h32V5H9z M6.5,13C5.1,13,4,11.9,4,10.5S5.1,8,6.5,8S9,9.1,9,10.5S7.9,13,6.5,13z M20,26c-5,0-9-4-9-9 s4-9,9-9s9,4,9,9S25,26,20,26z"}),p.default.createElement("path",{d:"M20,11.5c-3,0-5.5,2.5-5.5,5.5s2.5,5.5,5.5,5.5s5.5-2.5,5.5-5.5S23,11.5,20,11.5z"}))),tv:p.default.createElement("span",{className:"gs-c-media-indicator__icon gel-icon","data-icon":"gel-icon-tv"},p.default.createElement("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 32 32"},p.default.createElement("path",{d:"M32 26V1H0v25h12v2.5H6V31h20v-2.5h-6V26h12zm-20-3.8H4V4.8h24v17.5H12z"})))};return e[this.props.mediaType]}},{key:"renderOffScreen",value:function(){if(this.props.mediaType){var e=this.props.mediaType,t=e.charAt(0).toUpperCase()+e.slice(1),r=this.props.offScreenText?this.props.offScreenText:t;return this.props.offScreenDuration&&(r+=" "+this.props.offScreenDuration),p.default.createElement("span",{className:"qa-offscreen gs-u-vh"},r)}return null}},{key:"renderOnScreen",value:function(){return this.props.onScreenDuration?p.default.createElement("span",{className:"qa-onscreen"},this.props.onScreenDuration):null}},{key:"getColourMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transparent",t={black:"gs-c-media-indicator--black",white:"gs-c-media-indicator--white",blue:"gs-c-media-indicator--blue",transparent:""};return t[e]}},{key:"render",value:function(){var e=this.props.iconSize&&!this.props.onScreenDuration?"gs-c-media-indicator--"+this.props.iconSize:"",t=(0,d.default)("gs-c-media-indicator",this.props.typographyClass,e,this.props.className,this.getColourMode(this.props.colourMode),{"gs-c-media-indicator--inline":this.props.inline}),r={};return this.props.displayedAndNotSpoken&&(r={"aria-hidden":"true"}),p.default.createElement("span",s({className:t},r),this.renderIcon(),this.renderContent())}}]),t}(p.default.Component);t.default=g,g.displayName="GrandStand__MediaIndicator",g.propTypes={className:p.default.PropTypes.string,displayedAndNotSpoken:p.default.PropTypes.bool,iconOnly:p.default.PropTypes.bool,iconSize:p.default.PropTypes.string,inline:p.default.PropTypes.bool,mediaType:p.default.PropTypes.string.isRequired,offScreenDuration:p.default.PropTypes.string,offScreenText:p.default.PropTypes.string,onScreenDuration:p.default.PropTypes.string,rawDuration:p.default.PropTypes.string,text:p.default.PropTypes.string,typographyClass:p.default.PropTypes.string,colourMode:p.default.PropTypes.string,serviceName:p.default.PropTypes.string},g.defaultProps={typographyClass:"gel-minion"},e.exports=t.default},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t){e.exports=Morph.modules["bbc-morph-ws-typography-info@1.0.6"]},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-gs-media-indicator@9.0.0",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-gs-media-indicator@9.0.0",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gs-media-indicator@9.0.0",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gs-media-indicator@9.0.0",e,t,!0)}}}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){function t(r){if(n[r])return n[r].exports;var l=n[r]={i:r,l:!1,exports:{}};return e[r].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),l=n.n(r);Morph.modules["bbc-morph-gs-live-pulse@6.0.10"]=l.a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),s=r(l),a=n(3),u=r(a),o=function(e){var t=function(e,t){return t?void 0:s.default.createElement("span",{className:"gs-o-bullet__text gs-c-live-pulse__text","aria-hidden":"true"},e)}(e.text,e.iconOnly),n=function(e,t){return t?void 0:s.default.createElement("span",{className:"gs-u-vh"},e)}(e.text,e.iconOnly),r=(0,u.default)("gs-o-bullet","gs-c-live-pulse",function(e){return e?"gs-c-live-pulse--"+e:void 0}(e.theme),e.className),l=(0,u.default)("gs-o-bullet__icon","gs-c-live-pulse__icon","gel-icon",e.bulletIconClassName);return s.default.createElement("span",{className:r},s.default.createElement("span",{className:l,"aria-hidden":"true",focusable:"false"}),n,t)};o.displayName="LivePulse",o.propTypes={className:s.default.PropTypes.arrayOf(s.default.PropTypes.string),text:s.default.PropTypes.string,theme:s.default.PropTypes.string,iconOnly:s.default.PropTypes.bool,bulletIconClassName:s.default.PropTypes.arrayOf(s.default.PropTypes.string)},o.defaultProps={text:"Live",iconOnly:!1},t.default=o},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-timestamp@2.2.5"]={"bbc-morph-classnames":"1.0.2",react:"0.14.7"},function(e){function t(a){if(r[a])return r[a].exports;var s=r[a]={exports:{},id:a,loaded:!1};return e[a].call(s.exports,s,s.exports,t),s.loaded=!0,s.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-gs-timestamp@2.2.5"]=r(1)},function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(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 o(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 p=function(){function e(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),l=r(2),i=a(l),u=r(3),c=a(u),f=function(e){function t(){return s(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),p(t,[{key:"renderIcon",value:function(){var e=(0,c.default)("gs-o-bullet__icon","gel-icon",this.props.iconClasses);return this.props.includeIcon?i.default.createElement("span",{className:e},i.default.createElement("svg",{focusable:"false",viewBox:"0 0 32 32"},i.default.createElement("polygon",{points:"17,15.4 17,6 15,6 15,16.6 23.8,21.7 24.8,19.9"}),i.default.createElement("path",{d:"M16,4c6.6,0,12,5.4,12,12c0,6.6-5.4,12-12,12S4,22.6,4,16C4,9.4,9.4,4,16,4 M16,0C7.2,0,0,7.2,0,16c0,8.8,7.2,16,16,16 s16-7.2,16-16C32,7.2,24.8,0,16,0L16,0z"}))):null}},{key:"render",value:function(){var e=(0,c.default)("gs-c-timestamp","gs-o-bullet","gs-o-bullet-",this.props.className,this.props.timestampClasses),t=(0,c.default)("gs-o-bullet__text",this.props.typographyClasses,"qa-status-date","gs-u-align-middle","gs-u-display-inline"),r={className:t,dateTime:this.props.dateTime,"data-seconds":this.props.unixTimestamp,"data-datetime":this.props.onScreenDateTime};return i.default.createElement("span",{className:e},this.renderIcon(),i.default.createElement("time",r,i.default.createElement("span",{"aria-hidden":"true",className:"qa-status-date-output"},this.props.onScreenDateTime),i.default.createElement("span",{className:"gs-u-vh"},this.props.offScreenDateTime)))}}]),t}(i.default.Component);t.default=f,f.displayName="Timestamp",f.propTypes={className:i.default.PropTypes.array,dateTime:i.default.PropTypes.string,unixTimestamp:i.default.PropTypes.string,includeIcon:i.default.PropTypes.bool,iconClasses:i.default.PropTypes.array,onScreenDateTime:i.default.PropTypes.string.isRequired,offScreenDateTime:i.default.PropTypes.string.isRequired,typographyClasses:i.default.PropTypes.array,timestampClasses:i.default.PropTypes.array},f.defaultProps={includeIcon:!0},e.exports=t.default},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){function t(r){if(n[r])return n[r].exports;var l=n[r]={i:r,l:!1,exports:{}};return e[r].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),l=n.n(r);Morph.modules["bbc-morph-gs-live-pulse@6.0.9"]=l.a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),s=r(l),a=n(3),u=r(a),o=function(e){var t=function(e,t){return t?void 0:s.default.createElement("span",{className:"gs-o-bullet__text gs-c-live-pulse__text","aria-hidden":"true"},e)}(e.text,e.iconOnly),n=function(e,t){return t?void 0:s.default.createElement("span",{className:"gs-u-vh"},e)}(e.text,e.iconOnly),r=(0,u.default)("gs-o-bullet","gs-c-live-pulse",function(e){return e?"gs-c-live-pulse--"+e:void 0}(e.theme),e.className),l=(0,u.default)("gs-o-bullet__icon","gs-c-live-pulse__icon","gel-icon",e.bulletIconClassName);return s.default.createElement("span",{className:r},s.default.createElement("span",{className:l,"aria-hidden":"true",focusable:"false"}),n,t)};o.displayName="LivePulse",o.propTypes={className:s.default.PropTypes.arrayOf(s.default.PropTypes.string),text:s.default.PropTypes.string,theme:s.default.PropTypes.string,iconOnly:s.default.PropTypes.bool,bulletIconClassName:s.default.PropTypes.arrayOf(s.default.PropTypes.string)},o.defaultProps={text:"Live",iconOnly:!1},t.default=o},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { !function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=41)}([function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(10),o=n(31),i=n(19),u=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),o=n(0),i=n(30),u=n(6),f=n(2),s=function(t,e,n){var c,a,p,l=t&s.F,y=t&s.G,d=t&s.S,v=t&s.P,h=t&s.B,m=t&s.W,b=y?o:o[e]||(o[e]={}),g=b.prototype,_=y?r:d?r[e]:(r[e]||{}).prototype;y&&(n=e);for(c in n)(a=!l&&_&&void 0!==_[c])&&f(b,c)||(p=a?_[c]:n[c],b[c]=y&&"function"!=typeof _[c]?n[c]:h&&a?i(p,r):m&&_[c]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):v&&"function"==typeof p?i(Function.call,p):p,v&&((b.virtual||(b.virtual={}))[c]=p,t&s.R&&g&&!g[c]&&u(g,c,p)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){var r=n(3),o=n(14);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(60),o=n(16);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(18)("wks"),o=n(13),i=n(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=!0},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(18)("keys"),o=n(13);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(0),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(12)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(10),o=n(59),i=n(24),u=n(17)("IE_PROTO"),f=function(){},s=function(){var t,e=n(32)("iframe"),r=i.length;for(e.style.display="none",n(64).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=r(t),n=new f,f.prototype=null,n[u]=t):n=s(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(36),o=n(24);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(3).f,o=n(2),i=n(9)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){e.f=n(9)},function(t,e,n){var r=n(1),o=n(0),i=n(12),u=n(26),f=n(3).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||f(e,t,{value:u.f(t)})}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(2),o=n(15),i=n(17)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(47);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){t.exports=!n(4)&&!n(11)(function(){return 7!=Object.defineProperty(n(32)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(7),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(54),i=r(o),u=n(69),f=r(u),s="function"==typeof f.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof f.default&&t.constructor===f.default&&t!==f.default.prototype?"symbol":typeof t};e.default="function"==typeof f.default&&"symbol"===s(i.default)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof f.default&&t.constructor===f.default&&t!==f.default.prototype?"symbol":void 0===t?"undefined":s(t)}},function(t,e,n){"use strict";var r=n(12),o=n(5),i=n(35),u=n(6),f=n(21),s=n(58),c=n(25),a=n(29),p=n(9)("iterator"),l=!([].keys&&"next"in[].keys()),y=function(){return this};t.exports=function(t,e,n,d,v,h,m){s(n,e,d);var b,g,_,x=function(t){if(!l&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",S="values"==v,T=!1,P=t.prototype,w=P[p]||P["@@iterator"]||v&&P[v],j=w||x(v),M=v?S?x("entries"):j:void 0,E="Array"==e?P.entries||w:w;if(E&&(_=a(E.call(new t)))!==Object.prototype&&_.next&&(c(_,O,!0),r||"function"==typeof _[p]||u(_,p,y)),S&&w&&"values"!==w.name&&(T=!0,j=function(){return w.call(this)}),r&&!m||!l&&!T&&P[p]||u(P,p,j),f[e]=j,f[O]=y,v)if(b={values:S?j:x("values"),keys:h?j:x("keys"),entries:M},m)for(g in b)g in P||i(P,g,b[g]);else o(o.P+o.F*(l||T),e,b);return b}},function(t,e,n){t.exports=n(6)},function(t,e,n){var r=n(2),o=n(8),i=n(61)(!1),u=n(17)("IE_PROTO");t.exports=function(t,e){var n,f=o(t),s=0,c=[];for(n in f)n!=u&&r(f,n)&&c.push(n);for(;e.length>s;)r(f,n=e[s++])&&(~i(c,n)||c.push(n));return c}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(36),o=n(24).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(28),o=n(14),i=n(8),u=n(19),f=n(2),s=n(31),c=Object.getOwnPropertyDescriptor;e.f=n(4)?c:function(t,e){if(t=i(t),e=u(e,!0),s)try{return c(t,e)}catch(t){}if(f(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(42),o=n.n(r);Morph.modules["bbc-morph-gs-item-status@8.0.11"]=o.a},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(43),i=r(o),u=n(48),f=r(u),s=n(49),c=r(s),a=n(53),p=r(a),l=n(79),y=r(l),d=n(87),v=r(d),h=n(88),m=r(h),b=n(89),g=r(b),_=n(90),x=r(_),O=function(t){function e(){return(0,f.default)(this,e),(0,p.default)(this,(e.__proto__||(0,i.default)(e)).apply(this,arguments))}return(0,y.default)(e,t),(0,c.default)(e,[{key:"renderDateTime",value:function(){if(this.hasDateTime()){var t={dateTime:this.props.dateTime,includeIcon:!0,onScreenDateTime:this.props.onScreenDateTime,offScreenDateTime:this.props.offScreenDateTime,iconClasses:this.props.iconClasses,timestampClasses:this.props.timestampClasses};return v.default.createElement(g.default,t)}return null}},{key:"renderLivePulse",value:function(){if(this.isLive()){var t={text:this.getText(),theme:this.getTheme()};return v.default.createElement(x.default,t)}return null}},{key:"renderContent",value:function(){return this.getText()?this.renderLivePulse():this.renderDateTime()}},{key:"hasDateTime",value:function(){return this.props.dateTime&&this.props.onScreenDateTime&&this.props.offScreenDateTime}},{key:"getTheme",value:function(){return this.props.theme?this.props.theme:null}},{key:"getText",value:function(){return this.props.text}},{key:"isLive",value:function(){return"LIVE"===this.props.status||"Live"===this.props.status}},{key:"render",value:function(){var t=(0,m.default)("gs-c-item-status",this.props.className,{"br-box-secondary__link":"true"===this.props.brandingTool&&this.isLive(),"gs-u-pr":!0===this.props.liveHeading&&this.isLive()});return v.default.createElement("span",{className:t},this.renderContent())}}]),e}(v.default.Component);e.default=O,O.displayName="GrandStand__ItemStatus",O.propTypes={brandingTool:v.default.PropTypes.oneOfType([v.default.PropTypes.string,v.default.PropTypes.bool]),className:v.default.PropTypes.array,dateTime:v.default.PropTypes.string,offScreenDateTime:v.default.PropTypes.string,onScreenDateTime:v.default.PropTypes.string,status:v.default.PropTypes.string,text:v.default.PropTypes.string,theme:v.default.PropTypes.string,featureToggles:v.default.PropTypes.object,liveHeading:v.default.PropTypes.bool,iconClasses:v.default.PropTypes.arrayOf(v.default.PropTypes.string),timestampClasses:v.default.PropTypes.arrayOf(v.default.PropTypes.string)},O.defaultProps={status:"DEFAULT"}},function(t,e,n){t.exports={default:n(44),__esModule:!0}},function(t,e,n){n(45),t.exports=n(0).Object.getPrototypeOf},function(t,e,n){var r=n(15),o=n(29);n(46)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(5),o=n(0),i=n(11);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(50),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){t.exports={default:n(51),__esModule:!0}},function(t,e,n){n(52);var r=n(0).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(5);r(r.S+r.F*!n(4),"Object",{defineProperty:n(3).f})},function(t,e,n){"use strict";e.__esModule=!0;var r=n(33),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){t.exports={default:n(55),__esModule:!0}},function(t,e,n){n(56),n(65),t.exports=n(26).f("iterator")},function(t,e,n){"use strict";var r=n(57)(!0);n(34)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(20),o=n(16);t.exports=function(t){return function(e,n){var i,u,f=String(o(e)),s=r(n),c=f.length;return s<0||s>=c?t?"":void 0:(i=f.charCodeAt(s),i<55296||i>56319||s+1===c||(u=f.charCodeAt(s+1))<56320||u>57343?t?f.charAt(s):i:t?f.slice(s,s+2):u-56320+(i-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(22),o=n(14),i=n(25),u={};n(6)(u,n(9)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(3),o=n(10),i=n(23);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),f=u.length,s=0;f>s;)r.f(t,n=u[s++],e[n]);return t}},function(t,e,n){var r=n(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(8),o=n(62),i=n(63);t.exports=function(t){return function(e,n,u){var f,s=r(e),c=o(s.length),a=i(u,c);if(t&&n!=n){for(;c>a;)if((f=s[a++])!=f)return!0}else for(;c>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}}},function(t,e,n){var r=n(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(20),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){n(66);for(var r=n(1),o=n(6),i=n(21),u=n(9)("toStringTag"),f="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<f.length;s++){var c=f[s],a=r[c],p=a&&a.prototype;p&&!p[u]&&o(p,u,c),i[c]=i.Array}},function(t,e,n){"use strict";var r=n(67),o=n(68),i=n(21),u=n(8);t.exports=n(34)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){t.exports={default:n(70),__esModule:!0}},function(t,e,n){n(71),n(76),n(77),n(78),t.exports=n(0).Symbol},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(4),u=n(5),f=n(35),s=n(72).KEY,c=n(11),a=n(18),p=n(25),l=n(13),y=n(9),d=n(26),v=n(27),h=n(73),m=n(74),b=n(10),g=n(7),_=n(15),x=n(8),O=n(19),S=n(14),T=n(22),P=n(75),w=n(40),j=n(38),M=n(3),E=n(23),L=w.f,k=M.f,C=P.f,D=r.Symbol,F=r.JSON,N=F&&F.stringify,A=y("_hidden"),I=y("toPrimitive"),R={}.propertyIsEnumerable,G=a("symbol-registry"),V=a("symbols"),H=a("op-symbols"),W=Object.prototype,J="function"==typeof D&&!!j.f,z=r.QObject,B=!z||!z.prototype||!z.prototype.findChild,K=i&&c(function(){return 7!=T(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=L(W,e);r&&delete W[e],k(t,e,n),r&&t!==W&&k(W,e,r)}:k,U=function(t){var e=V[t]=T(D.prototype);return e._k=t,e},Y=J&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},q=function(t,e,n){return t===W&&q(H,e,n),b(t),e=O(e,!0),b(n),o(V,e)?(n.enumerable?(o(t,A)&&t[A][e]&&(t[A][e]=!1),n=T(n,{enumerable:S(0,!1)})):(o(t,A)||k(t,A,S(1,{})),t[A][e]=!0),K(t,e,n)):k(t,e,n)},Q=function(t,e){b(t);for(var n,r=h(e=x(e)),o=0,i=r.length;i>o;)q(t,n=r[o++],e[n]);return t},X=function(t,e){return void 0===e?T(t):Q(T(t),e)},Z=function(t){var e=R.call(this,t=O(t,!0));return!(this===W&&o(V,t)&&!o(H,t))&&(!(e||!o(this,t)||!o(V,t)||o(this,A)&&this[A][t])||e)},$=function(t,e){if(t=x(t),e=O(e,!0),t!==W||!o(V,e)||o(H,e)){var n=L(t,e);return!n||!o(V,e)||o(t,A)&&t[A][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=C(x(t)),r=[],i=0;n.length>i;)o(V,e=n[i++])||e==A||e==s||r.push(e);return r},et=function(t){for(var e,n=t===W,r=C(n?H:x(t)),i=[],u=0;r.length>u;)!o(V,e=r[u++])||n&&!o(W,e)||i.push(V[e]);return i};J||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(H,n),o(this,A)&&o(this[A],t)&&(this[A][t]=!1),K(this,t,S(1,n))};return i&&B&&K(W,t,{configurable:!0,set:e}),U(t)},f(D.prototype,"toString",function(){return this._k}),w.f=$,M.f=q,n(39).f=P.f=tt,n(28).f=Z,j.f=et,i&&!n(12)&&f(W,"propertyIsEnumerable",Z,!0),d.f=function(t){return U(y(t))}),u(u.G+u.W+u.F*!J,{Symbol:D});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)y(nt[rt++]);for(var ot=E(y.store),it=0;ot.length>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@2.2.5"]},function(t,e){t.exports=Morph.modules["bbc-morph-gs-live-pulse@6.0.9"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t,n){"use strict";n.r(t);var r=n(0),s=n.n(r),o=n(1),a=n.n(o);var c=function(e){var t,n,r,o,c,l,u=function(e){var t=e.commentsCount,n=e.textClasses,r=e.iconClasses,o=e.offScreenText,c=function(e,t){var n=e||t.match(/\b\d+/);return t.indexOf("/sport")>-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; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=13)}([function(e,t,r){var n=r(25),o=r(5),u=/[T ]/,a=/:/,i=/^(\d{2})$/,s=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],l=/^(\d{4})/,c=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],f=/^-(\d{2})$/,p=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,m=/^-?W(\d{2})$/,y=/^-?W(\d{2})-?(\d{1})$/,g=/^(\d{2}([.,]\d*)?)$/,b=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,v=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,h=/([Z+-].*)$/,M=/^(Z)$/,T=/^([+-])(\d{2})$/,S=/^([+-])(\d{2}):?(\d{2})$/;function x(e,t,r){t=t||0,r=r||0;var n=new Date(0);n.setUTCFullYear(e,0,4);var o=7*t+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+o),n}e.exports=function(e,t){if(o(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var r=(t||{}).additionalDigits;r=null==r?2:Number(r);var P=function(e){var t,r={},n=e.split(u);a.test(n[0])?(r.date=null,t=n[0]):(r.date=n[0],t=n[1]);if(t){var o=h.exec(t);o?(r.time=t.replace(o[1],""),r.timezone=o[1]):r.time=t}return r}(e),O=function(e,t){var r,n=s[t],o=c[t];if(r=l.exec(e)||o.exec(e)){var u=r[1];return{year:parseInt(u,10),restDateString:e.slice(u.length)}}if(r=i.exec(e)||n.exec(e)){var a=r[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(P.date,r),k=O.year,_=function(e,t){if(null===t)return null;var r,n,o,u;if(0===e.length)return(n=new Date(0)).setUTCFullYear(t),n;if(r=f.exec(e))return n=new Date(0),o=parseInt(r[1],10)-1,n.setUTCFullYear(t,o),n;if(r=p.exec(e)){n=new Date(0);var a=parseInt(r[1],10);return n.setUTCFullYear(t,0,a),n}if(r=d.exec(e)){n=new Date(0),o=parseInt(r[1],10)-1;var i=parseInt(r[2],10);return n.setUTCFullYear(t,o,i),n}if(r=m.exec(e))return u=parseInt(r[1],10)-1,x(t,u);if(r=y.exec(e)){u=parseInt(r[1],10)-1;var s=parseInt(r[2],10)-1;return x(t,u,s)}return null}(O.restDateString,k);if(_){var D,w=_.getTime(),j=0;if(P.time&&(j=function(e){var t,r,n;if(t=g.exec(e))return(r=parseFloat(t[1].replace(",",".")))%24*36e5;if(t=b.exec(e))return r=parseInt(t[1],10),n=parseFloat(t[2].replace(",",".")),r%24*36e5+6e4*n;if(t=v.exec(e)){r=parseInt(t[1],10),n=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return r%24*36e5+6e4*n+1e3*o}return null}(P.time)),P.timezone)D=6e4*function(e){var t,r;if(t=M.exec(e))return 0;if(t=T.exec(e))return r=60*parseInt(t[2],10),"+"===t[1]?-r:r;if(t=S.exec(e))return r=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-r:r;return 0}(P.timezone);else{var I=w+j,Y=new Date(I);D=n(Y);var W=new Date(I);W.setDate(Y.getDate()+1);var H=n(W)-n(Y);H>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(30);e.exports=function(e){return n(e,{weekStartsOn:1})}},function(e,t,r){var n=r(33),o=r(34);e.exports={distanceInWords:n(),format:o()}},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:r>o?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(8);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:r<o?1:0}},function(e,t,r){var n=r(37);e.exports=function(e,t){var r=n(e,t)/1e3;return r>0?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(14)),o=y(r(16)),u=y(r(18)),a=y(r(20)),i=y(r(22)),s=y(r(41)),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(12),o=r.n(n);Morph.modules["bbc-morph-sport-promos@5.0.2"]=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(15))&&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(17))&&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,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(19))&&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"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 l(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 c(e){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"];default:return[]}}function f(e){switch(e){case"MAP":return"h4";case"orderedList":return"span";default:return"h3"}}function p(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 d=function(e,t){var r=e.children,n=e.title,o=e.url,i=e.linkOnClick,d=e.accessibilityHeading,m=e.summary,y=t.promoType;return u.default.createElement("div",{className:c(y)},u.default.createElement(a.default,{title:n,url:o,linkCallback:i,accessibilityHeading:d,headingType:f(y),linkClasses:l(y),titleClasses:s(y),titleTypographyClass:p(y)},r),m)};d.displayName="SportPromoHeading",d.contextTypes={promoType:u.PropTypes.string},d.propTypes={children:u.PropTypes.node,url:u.PropTypes.string,title:u.PropTypes.string,linkOnClick:u.PropTypes.func,accessibilityHeading:u.PropTypes.string,summary:u.default.PropTypes.node},d.defaultProps={children:null,url:"",title:"",linkOnClick:null,accessibilityHeading:"",summary:null};var m=d;t.default=m},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(21))&&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.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,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(23))&&o.__esModule?o:{default:o},i=r(24);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@8.0.11"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatOffScreenDate=t.formatOnScreenDate=void 0;var n=c(r(4)),o=c(r(6)),u=c(r(26)),a=c(r(36)),i=c(r(39)),s=c(r(40)),l=c(r(7));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)<7,i=(0,o.default)(e,t)<=1;return r?function(e){return(0,u.default)(e,"HH:mm")}(e):n?function(e){var t=(0,u.default)(e,"HH:mm");return"Tomorrow at ".concat(t)}(e):a?function(e){var t=(0,u.default)(e,"dddd"),r=(0,u.default)(e,"HH:mm");return"".concat(t," at ").concat(r)}(e):i?function(e){var t=(0,u.default)(e,"D MMM"),r=(0,u.default)(e,"HH:mm");return"".concat(t," at ").concat(r)}(e):function(e){var t=(0,u.default)(e,"D MMM YYYY"),r=(0,u.default)(e,"HH:mm");return"".concat(t," at ").concat(r)}(e)},m=function(e,t){var r=(0,a.default)(e,t).replace(/(about )/,"").replace(/( days?)/,"d").replace(/( hours?)/,"h");if("less than a minute"===r)return(0,i.default)(e,t).replace(/( seconds?)/,"s");var n=r.match(/(\d+) minute/);return n?"".concat(n[1],"m"):r.match(/( months?)/)?(0,u.default)(e,"D MMM"):r.match(/( years?)/)?(0,u.default)(e,"D MMM YYYY"):r};var y=function(e,t,r){var o=t?new Date(t):new Date,u=new Date(e);return function(e,t){return 1===(0,n.default)(e,t)}(u,o)?r.itemStatusInFuture(u,o):r.itemStatusInPast(u,o)};t.formatOnScreenDate=function(e,t){return y(e,t,{itemStatusInFuture:d,itemStatusInPast:m})};t.formatOffScreenDate=function(e,t){return y(e,t,{itemStatusInFuture:p,itemStatusInPast:f})}},function(e,t){e.exports=function(e){var t=new Date(e.getTime()),r=t.getTimezoneOffset();return t.setSeconds(0,0),6e4*r+t.getTime()%6e4}},function(e,t,r){var n=r(27),o=r(29),u=r(9),a=r(0),i=r(32),s=r(3);var l={M:function(e){return e.getMonth()+1},MM:function(e){return p(e.getMonth()+1,2)},Q:function(e){return Math.ceil((e.getMonth()+1)/3)},D:function(e){return e.getDate()},DD:function(e){return p(e.getDate(),2)},DDD:function(e){return n(e)},DDDD:function(e){return p(n(e),3)},d:function(e){return e.getDay()},E:function(e){return e.getDay()||7},W:function(e){return o(e)},WW:function(e){return p(o(e),2)},YY:function(e){return p(e.getFullYear(),4).substr(2)},YYYY:function(e){return p(e.getFullYear(),4)},GG:function(e){return String(u(e)).substr(2)},GGGG:function(e){return u(e)},H:function(e){return e.getHours()},HH:function(e){return p(e.getHours(),2)},h:function(e){var t=e.getHours();return 0===t?12:t>12?t%12:t},hh:function(e){return p(l.h(e),2)},m:function(e){return e.getMinutes()},mm:function(e){return p(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return p(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return p(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return p(e.getMilliseconds(),3)},Z:function(e){return f(e.getTimezoneOffset(),":")},ZZ:function(e){return f(e.getTimezoneOffset())},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()}};function c(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|]$/g,""):e.replace(/\\/g,"")}function f(e,t){t=t||"";var r=e>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<t;)r="0"+r;return r}e.exports=function(e,t,r){var n=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",o=(r||{}).locale,u=s.format.formatters,f=s.format.formattingTokensRegExp;o&&o.format&&o.format.formatters&&(u=o.format.formatters,o.format.formattingTokensRegExp&&(f=o.format.formattingTokensRegExp));var p=a(e);return i(p)?function(e,t,r){var n,o,u=e.match(r),a=u.length;for(n=0;n<a;n++)o=t[u[n]]||l[u[n]],u[n]=o||c(u[n]);return function(e){for(var t="",r=0;r<a;r++)u[r]instanceof Function?t+=u[r](e,l):t+=u[r];return t}}(n,u,f)(p):"Invalid Date"}},function(e,t,r){var n=r(0),o=r(28),u=r(7);e.exports=function(e){var t=n(e);return u(t,o(t))+1}},function(e,t,r){var n=r(0);e.exports=function(e){var t=n(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}},function(e,t,r){var n=r(0),o=r(2),u=r(31);e.exports=function(e){var t=n(e),r=o(t).getTime()-u(t).getTime();return Math.round(r/6048e5)+1}},function(e,t,r){var n=r(0);e.exports=function(e,t){var r=t&&Number(t.weekStartsOn)||0,o=n(e),u=o.getDay(),a=(u<r?7:0)+u-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}},function(e,t,r){var n=r(9),o=r(2);e.exports=function(e){var t=n(e),r=new Date(0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),o(r)}},function(e,t,r){var n=r(5);e.exports=function(e){if(n(e))return!isNaN(e);throw new TypeError(toString.call(e)+" is not an instance of Date")}},function(e,t){e.exports=function(){var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(t,r,n){var o;return n=n||{},o="string"==typeof e[t]?e[t]:1===r?e[t].one:e[t].other.replace("{{count}}",r),n.addSuffix?n.comparison>0?"in "+o:o+" ago":o}}}},function(e,t,r){var n=r(35);e.exports=function(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t=["January","February","March","April","May","June","July","August","September","October","November","December"],r=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],i=["am","pm"],s=["a.m.","p.m."],l={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return r[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return u[e.getDay()]},A:function(e){return e.getHours()/12>=1?a[1]:a[0]},a:function(e){return e.getHours()/12>=1?i[1]:i[0]},aa:function(e){return e.getHours()/12>=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||t<10)switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(r[e](t))}})),{formatters:l,formattingTokensRegExp:n(l)}}},function(e,t){var r=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];e.exports=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);var o=r.concat(t).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+o.join("|")+"|.)","g")}},function(e,t,r){var n=r(10),o=r(0),u=r(11),a=r(38),i=r(3);e.exports=function(e,t,r){var s=r||{},l=n(e,t),c=s.locale,f=i.distanceInWords.localize;c&&c.distanceInWords&&c.distanceInWords.localize&&(f=c.distanceInWords.localize);var p,d,m={addSuffix:Boolean(s.addSuffix),comparison:l};l>0?(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<2)return s.includeSeconds?g<5?f("lessThanXSeconds",5,m):g<10?f("lessThanXSeconds",10,m):g<20?f("lessThanXSeconds",20,m):g<40?f("halfAMinute",null,m):f(g<60?"lessThanXMinutes":"xMinutes",1,m):0===v?f("lessThanXMinutes",1,m):f("xMinutes",v,m);if(v<45)return f("xMinutes",v,m);if(v<90)return f("aboutXHours",1,m);if(v<1440)return f("aboutXHours",Math.round(v/60),m);if(v<2520)return f("xDays",1,m);if(v<43200)return f("xDays",Math.round(v/1440),m);if(v<86400)return f("aboutXMonths",y=Math.round(v/43200),m);if((y=a(d,p))<12)return f("xMonths",Math.round(v/43200),m);var h=y%12,M=Math.floor(y/12);return h<3?f("aboutXYears",M,m):h<9?f("overXYears",M,m):f("almostXYears",M+1,m)}},function(e,t,r){var n=r(0);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()-o.getTime()}},function(e,t,r){var n=r(0),o=r(6),u=r(4);e.exports=function(e,t){var r=n(e),a=n(t),i=u(r,a),s=Math.abs(o(r,a));return r.setMonth(r.getMonth()-i*s),i*(s-(u(r,a)===-i))}},function(e,t,r){var n=r(10),o=r(0),u=r(11),a=r(3);e.exports=function(e,t,r){var i=r||{},s=n(e,t),l=i.locale,c=a.distanceInWords.localize;l&&l.distanceInWords&&l.distanceInWords.localize&&(c=l.distanceInWords.localize);var f,p,d,m={addSuffix:Boolean(i.addSuffix),comparison:s};s>0?(f=o(e),p=o(t)):(f=o(t),p=o(e));var y=Math[i.partialMethod?String(i.partialMethod):"floor"],g=u(p,f),b=p.getTimezoneOffset()-f.getTimezoneOffset(),v=y(g/60)-b;if("s"===(d=i.unit?String(i.unit):v<1?"s":v<60?"m":v<1440?"h":v<43200?"d":v<525600?"M":"Y"))return c("xSeconds",g,m);if("m"===d)return c("xMinutes",v,m);if("h"===d)return c("xHours",y(v/60),m);if("d"===d)return c("xDays",y(v/1440),m);if("M"===d)return c("xMonths",y(v/43200),m);if("Y"===d)return c("xYears",y(v/525600),m);throw new Error("Unknown unit: "+d)}},function(e,t,r){var n=r(8);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()===o.getTime()}},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(42))&&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"featured":return["sp-c-feature-promo","sp-o-link-split__anchor","gs-u-display-block"];default:return["sp-o-link-split__anchor"]}}var l=function(e,t){var r=e.href,n=e.onClick,o=e.children,i=t.promoType;return u.default.createElement("a",{className:(0,a.default)(s(i)),href:r,onClick:n},o)};l.displayName="SportPromoLink",l.contextTypes={promoType:u.PropTypes.string},l.propTypes={href:u.PropTypes.string.isRequired,onClick:u.PropTypes.func,children:u.PropTypes.node},l.defaultProps={onClick:null,children:null};var c=l;t.default=c},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(1)),o=u(r(44));function u(e){return e&&e.__esModule?e:{default:e}}var a=function(){return n.default.createElement(o.default,{theme:"sport",className:["gs-u-mr"]})};a.displayName="SportPromoLivePulse";var i=a;t.default=i},function(e,t){e.exports=Morph.modules["bbc-morph-gs-live-pulse@6.0.10"]},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(46))&&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"orderedList"===e?"gs-u-align-test-top gs-u-mr":"gs-o-media-island__icon"}function l(e,t){return"MAP"!==e||t?!0===t?"blue":"white":"black"}function c(e){return"orderedList"===e}var f=function(e,t){var r=e.onScreenDuration,n=e.mediaType,o=e.isLive,i=e.iconSize,f=t.promoType;return u.default.createElement(a.default,{className:s(f),onScreenDuration:r,mediaType:n.toLowerCase(),inline:c(f),colourMode:l(f,o),iconSize:i})};f.displayName="SportPromoMediaIndicator",f.contextTypes={promoType:u.PropTypes.string},f.propTypes={onScreenDuration:u.PropTypes.string,mediaType:u.PropTypes.string,isLive:u.PropTypes.bool,iconSize:u.PropTypes.string},f.defaultProps={mediaType:"video",onScreenDuration:"",isLive:!1,iconSize:""};var p=f;t.default=p},function(e,t){e.exports=Morph.modules["bbc-morph-gs-media-indicator@9.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(48))&&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.children;return u.default.createElement(a.default,{classes:"gs-u-mt-"},t)};s.displayName="SportPromoMeta",s.propTypes={children:u.PropTypes.node},s.defaultProps={children:null};var l=s;t.default=l},function(e,t){e.exports=Morph.modules["bbc-morph-gs-promo-meta@3.2.4"]},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(50))&&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"featured":return["gs-u-pb","gs-u-pb++@m","gs-u-mh0"];case"lead":return["gs-c-promo--stacked","gs-c-promo--inline@m","gs-o-faux-block-link","gs-u-pb","gs-u-pb++@m","gel-1/1","gs-u-ml0"];case"leadStacked":return["gs-c-promo--stacked","gs-c-promo--inline@m","gs-o-faux-block-link","gs-u-pb","gs-u-pb0@m","gel-1/1","gs-u-ml0","gs-c-promo--stacked@xxl"];case"stacked":return["gs-c-promo--stacked@m","gs-c-promo--inline","gs-o-faux-block-link","gs-u-pb","gs-u-pb++@m"];case"leadStackedToInline":return["gs-c-promo--stacked","gs-c-promo--inline@m","gs-o-faux-block-link","gs-u-pb","gs-u-pb++@m"];case"liveGuide":return["gs-c-promo--inline","gs-c-promo--stacked@m","gs-o-faux-block-link","gs-u-pb++@m"];case"MAP":return["gs-o-faux-block-link"];case"orderedList":return["gs-u-mh0"];case"stackedToInline":return["gs-c-promo--inline","gs-c-promo--stacked@m","gs-o-faux-block-link","gs-u-pb","gs-u-pb++@m","gs-c-promo--inline@l"];case"multiThumb":return["gs-c-promo--stacked@m","gs-o-faux-block-link","gs-u-mb+@xs"];case"multiThumbInline":return["gs-c-promo--inline","gs-c-promo--stacked@l","gs-o-faux-block-link","gs-u-mb+@xs","gs-u-pl-@xs","gs-u-pl0@m"];default:return[]}}var l=function(e,t){var r=e.attributes,n=e.children,o=t.promoType;return u.default.createElement(a.default,{className:s(o),theme:"sport",attributes:r,flex:!0},n)};l.displayName="SportPromo",l.contextTypes={promoType:u.PropTypes.string},l.propTypes={attributes:u.PropTypes.shape({ref:u.PropTypes.func}),children:u.PropTypes.node},l.defaultProps={attributes:null,children:null};var c=l;t.default=c},function(e,t){e.exports=Morph.modules["bbc-morph-gs-promo@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(52))&&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"MAP"===e}var l=function(e,t){var r=e.sectionName,n=e.sectionUrl,o=t.promoType;return u.default.createElement(a.default,{onDark:s(o),item:{sectionName:r,sectionUrl:n}})};l.displayName="SportPromoSectionTag",l.contextTypes={promoType:u.PropTypes.string},l.propTypes={sectionName:u.PropTypes.string,sectionUrl:u.PropTypes.string},l.defaultProps={sectionName:"Sport",sectionUrl:"/sport"};var c=l;t.default=c},function(e,t){e.exports=Morph.modules["bbc-morph-gs-section-tag@3.1.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(54))&&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"leadStackedToInline":return["sp-c-promo-summary","gs-u-display-none","gs-u-display-block@m","gs-u-mt@m","gs-u-display-none@l"];case"multiThumb":case"multiThumbInline":return["sp-c-promo-summary","gs-u-mt-@m"];default:return["sp-c-promo-summary","gs-u-display-none","gs-u-display-block@m","gs-u-mt@m"]}}var l=function(e,t){var r=e.text,n=t.promoType;return u.default.createElement(a.default,{summaryClasses:s(n),text:r})};l.displayName="SportPromoSummary",l.contextTypes={promoType:u.PropTypes.string},l.propTypes={text:u.PropTypes.string.isRequired};var c=l;t.default=c},function(e,t){e.exports=Morph.modules["bbc-morph-gs-promo-summary@2.0.2"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-istats@1.3.0"]={"bbc-morph-promise":"1.0.6",requirejs:"2.3.5"},function(n){function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{},id:e,loaded:!1};return n[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var t={};return r.m=n,r.c=t,r.p="",r(0)}([function(n,r,t){Morph.modules["bbc-morph-istats@1.3.0"]=t(1)},function(n,r,t){function e(){return p?a.resolve(p):new a(function(n){requirejs(["istats-1"],function(r){p=r,n(p)})})}function o(n){return"string"==typeof n&&n[0]}function u(n,r){return o(n)&&o(r)}function i(n,r,t){return e().then(function(e){e.log(n,r,t)})}function c(n,r){return e().then(function(t){t.track(n,r)})}function s(n,r,t){return u(n,r)?i(r,n,t):a.reject("Invalid parameters")}function f(){return e().then(function(n){return n.getCountername()})}var p,a=t(2);r.track=s,r.trackRegion=c,r.getCountername=f,r.log=i},function(n,r){n.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bump@1.1.0"]={"bbc-morph-promise":"1.0.6"},function(r){function o(e){if(n[e])return n[e].exports;var t=n[e]={exports:{},id:e,loaded:!1};return r[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}var n={};return o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-bump@1.1.0"]=n(1)},function(r,o,n){function e(r){return new u(function(o){requirejs(["bump-"+r],function(n){p[r]=n,o(n)})})}function t(r){return r=r||3,p[r]?u.resolve(p[r]):e(r)}var u=n(2),p={};o.load=t},function(r,o){r.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-smp@6.4.0"]={"bbc-morph-bump":"1.1.0","bbc-morph-classnames":"1.0.2","bbc-morph-istats":"1.3.0","bbc-morph-promise":"1.0.6",lodash:"4.17.15",morph:"5.3.1",react:"0.14.7","react-dom":"0.14.7",requirejs:"2.3.6"},function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){Morph.modules["bbc-morph-smp@6.4.0"]=n(1)},function(t,e,n){function r(){var t;if(document&&document.cookie&&(t=document.cookie.match(/ckps_morph_smp_mediator_host=([a-z]{3,4})/i)))return t[1]}function o(t){var e=r(),n="live";return e&&(n=e),t.mediator&&t.mediator.host?t.mediator.host:"open."+n+".bbc.co.uk"}function i(t){return void 0===t||t}function a(t){return void 0!==t&&t}function u(t){return"false"!==t&&!!t}function c(t){var e;return t.playlistObject?t.playlistObject:(e={title:t.title,holdingImageURL:t.holdingImageUrl,items:[{vpid:t.vpid,kind:t.mediaType}]},t.guidance&&t.guidance.trim().length&&(e.guidance=t.guidance),e)}function s(t){return"clip"===t||"episode"===t?t+"PID":"PID"}function p(t){var e={playlistLabels:{title:t.title,status:t.status}},n=s(t.mediaForm);return e[n]=t.parentPid,"undefined"!=typeof t.sessionLabels&&(e.sessionLabels=t.sessionLabels),e}function l(t,e,n){return{product:t.product,delayEmbed:t.delayEmbed,appName:t.appName,appType:t.appType,playlistObject:c(n),statsObject:p(t),counterName:e,mediator:{host:o(t)},ui:d(t),responsive:t.responsive,superResponsive:t.superResponsive,autoplay:t.autoplay,mediaProfile:t.mediaProfile,allowCasting:t.allowCasting,plugins:{toLoad:t.plugins},significantTime:t.significantTime||10,maintainTheLock:t.maintainTheLock,preferHtmlOnMobile:t.preferHtmlOnMobile,preferHtmlControls:t.preferHtmlControls,externalEmbedUrl:t.externalEmbedUrl,externalEmbedCode:t.externalEmbedCode,overrideCtaDuration:t.overrideCtaDuration,muted:t.muted,loop:t.loop,quality:t.quality,backgroundSettings:t.backgroundSettings,backgroundPlayerFullscreenAllowed:t.backgroundPlayerFullscreenAllowed}}function f(t){return{cta:{enabled:!0,backgroundColour:"#000000"},controls:{availableOnMediaEnded:t.availableOnMediaEnded},markers:{enabled:!1},fullscreen:{enabled:!0},poster:{enabled:!0}}}function d(t){var e=f(t);return b(e,t.ui),e}function v(t){return{title:t.title||"",holdingImageUrl:t.holdingImageUrl,vpid:t.sid||t.vpid,guidance:t.guidance,status:"string"==typeof t.status?t.status.toLowerCase():"",mediaForm:"string"==typeof t.mediaForm?t.mediaForm.toLowerCase():"",parentPid:t.parentPid,product:t.product||"news",delayEmbed:i(t.delayEmbed),appName:t.appName||t.product,appType:t.appType||"responsive",availableOnMediaEnded:t.controlsAvailableOnMediaEnded!==!1,responsive:a(t.responsive),superResponsive:i(t.superResponsive),autoplay:t.autoplay||!1,mediaProfile:t.mediaProfile||"journalism",mediaType:t.mediaType,sessionLabels:t.sessionLabels,allowCasting:u(t.allowCasting)||!1,plugins:t.plugins||[],playlistObject:t.playlistObject,ui:t.ui||{},mediator:t.mediator,significantTime:t.significantTime,maintainTheLock:t.maintainTheLock,preferHtmlOnMobile:t.preferHtmlOnMobile||!1,preferHtmlControls:t.preferHtmlControls,externalEmbedUrl:t.externalEmbedUrl,externalEmbedCode:t.externalEmbedCode,bumpVersion:t.bumpVersion,overrideCtaDuration:t.overrideCtaDuration||"",muted:t.muted||!1,loop:t.loop||!1,quality:t.quality||"medium",backgroundSettings:t.backgroundSettings||{},backgroundPlayerFullscreenAllowed:t.backgroundPlayerFullscreenAllowed||!1}}n(2);var h=n(3),y=n(4),b=n(5),m=n(102),x=n(103);t.exports=h.createClass({displayName:"Smp",componentWillReceiveProps:function(t){var t=v(t);this.setState({title:t.title,holdingImageUrl:t.holdingImageUrl,vpid:t.vpid,mediaType:t.mediaType,guidance:t.guidance,playlistObject:t.playlistObject,overrideCtaDuration:t.overrideCtaDuration})},shouldComponentUpdate:function(t,e){function n(t){return t.vpid!==e.vpid}function r(t){return JSON.stringify(t.playlistObject)!==JSON.stringify(e.playlistObject)}return this.state&&(n(this.state)||r(this.state))},componentWillUpdate:function(t,e){if(this.player){var n={autoplay:!0,statsObject:p(t),externalEmbedCode:t.externalEmbedCode,externalEmbedUrl:t.externalEmbedUrl};this.player.loadPlaylist(c(e),n)}},componentDidMount:function(){var t=v(this.props),e=t.bumpVersion||3;this.setState({title:t.title,holdingImageUrl:t.holdingImageUrl,vpid:t.vpid,mediaType:t.mediaType,guidance:t.guidance,playlistObject:t.playlistObject,overrideCtaDuration:t.overrideCtaDuration}),x.load(e).then(function(n){m.getCountername().then(function(r){var o,i=l(t,r,this.state),a=y.findDOMNode(this);4===e&&(o=a.playerInstance||n.player(a,i)),3===e&&(o=n(a).player(i)),this.player=o,this.props.onPlayerLoaded&&(a.playerInitialised?this.props.onPlayerLoaded(this.player):this.player.bind("initialised",function(){this.props.onPlayerLoaded(this.player)}.bind(this))),this.player.bind("playing",function(){this.props.onPlaying&&this.props.onPlaying(this.player)}.bind(this)),this.player.bind("pause",function(){this.props.onPause&&this.props.onPause(this.player)}.bind(this)),this.player.bind("error",function(t){this.props.onError&&this.props.onError(this.player,t)}.bind(this)),this.player.bind("playlistEnded",function(){this.props.onPlaylistEnded&&this.props.onPlaylistEnded(this.player)}.bind(this)),this.player.load()}.bind(this))}.bind(this))},playerInstance:function(){return this.player},render:function(){return h.createElement("div",{className:"smp"})}})},function(t,e){t.exports=Morph.modules["bbc-morph-promise@1.0.6"]},function(t,e){t.exports=React},function(t,e){t.exports=ReactDOM},function(t,e,n){var r=n(6),o=n(92),i=o(function(t,e,n){r(t,e,n)});t.exports=i},function(t,e,n){function r(t,e,n,l,f){t!==e&&a(e,function(a,s){if(f||(f=new o),c(a))u(t,e,s,n,r,l,f);else{var d=l?l(p(t,s),a,s+"",t,e,f):void 0;void 0===d&&(d=a),i(t,s,d)}},s)}var o=n(7),i=n(51),a=n(54),u=n(56),c=n(31),s=n(86),p=n(82);t.exports=r},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(8),i=n(16),a=n(17),u=n(18),c=n(19),s=n(20);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=c,r.prototype.set=s,t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(9),i=n(10),a=n(13),u=n(14),c=n(15);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():a.call(e,n,1),--this.size,!0}var o=n(11),i=Array.prototype,a=i.splice;t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(12);t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}var o=n(11);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(11);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(11);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(8);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<u-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(t,e),this.size=n.size,this}var o=n(8),i=n(21),a=n(36),u=200;t.exports=r},function(t,e,n){var r=n(22),o=n(27),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(23),i=n(35);t.exports=r},function(t,e,n){function r(t){if(!a(t)||i(t))return!1;var e=o(t)?v:s;return e.test(u(t))}var o=n(24),i=n(32),a=n(31),u=n(34),c=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,p=Function.prototype,l=Object.prototype,f=p.toString,d=l.hasOwnProperty,v=RegExp("^"+f.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==u||e==c||e==a||e==s}var o=n(25),i=n(31),a="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";t.exports=r},function(t,e,n){function r(t){return null==t?void 0===t?c:u:s&&s in Object(t)?i(t):a(t)}var o=n(26),i=n(29),a=n(30),u="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;t.exports=r},function(t,e,n){var r=n(27),o=r.Symbol;t.exports=o},function(t,e,n){var r=n(28),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,function(){return this}())},function(t,e,n){function r(t){var e=a.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(e?t[c]=n:delete t[c]),o}var o=n(26),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){function r(t){return!!i&&i in t}var o=n(33),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(27),o=r["__core-js_shared__"];t.exports=o},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(37),i=n(45),a=n(48),u=n(49),c=n(50);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(38),i=n(8),a=n(21);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(39),i=n(41),a=n(42),u=n(43),c=n(44);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(40);t.exports=r},function(t,e,n){var r=n(22),o=r(Object,"create");t.exports=o},function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},function(t,e,n){function r(t){var e=this.__data__;if(o){var n=e[t];return n===i?void 0:n}return u.call(e,t)?e[t]:void 0}var o=n(40),i="__lodash_hash_undefined__",a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=this.__data__;return o?void 0!==e[t]:a.call(e,t)}var o=n(40),i=Object.prototype,a=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=o&&void 0===e?i:e,this}var o=n(40),i="__lodash_hash_undefined__";t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(46);t.exports=r},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(47);t.exports=r},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(46);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(46);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(46);t.exports=r},function(t,e,n){function r(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||o(t,e,n)}var o=n(52),i=n(12);t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(53);t.exports=r},function(t,e,n){var r=n(22),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){var r=n(55),o=r();t.exports=o},function(t,e){function n(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),u=a.length;u--;){var c=a[t?u:++o];if(n(i[c],c,i)===!1)break}return e}}t.exports=n},function(t,e,n){function r(t,e,n,r,x,g,_){var j=b(t,n),O=b(e,n),w=_.get(O);if(w)return void o(t,n,w);var P=g?g(j,O,n+"",t,e,_):void 0,E=void 0===P;if(E){var C=p(O),T=!C&&f(O),A=!C&&!T&&y(O);P=O,C||T||A?p(j)?P=j:l(j)?P=u(j):T?(E=!1,P=i(O,!0)):A?(E=!1,P=a(O,!0)):P=[]:h(O)||s(O)?(P=j,s(j)?P=m(j):v(j)&&!d(j)||(P=c(O))):E=!1}E&&(_.set(O,P),x(P,O,r,g,_),_.delete(O)),o(t,n,P)}var o=n(51),i=n(57),a=n(59),u=n(62),c=n(63),s=n(68),p=n(71),l=n(72),f=n(75),d=n(24),v=n(31),h=n(77),y=n(78),b=n(82),m=n(83);t.exports=r},function(t,e,n){(function(t){function r(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}var o=n(27),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,c=u?o.Buffer:void 0,s=c?c.allocUnsafe:void 0;t.exports=r}).call(e,n(58)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var o=n(60);t.exports=r},function(t,e,n){function r(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}var o=n(61);t.exports=r},function(t,e,n){var r=n(27),o=r.Uint8Array;t.exports=o},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){function r(t){return"function"!=typeof t.constructor||a(t)?{}:o(i(t))}var o=n(64),i=n(65),a=n(67);t.exports=r},function(t,e,n){var r=n(31),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){var r=n(66),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e){function n(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||r;return t===n}var r=Object.prototype;t.exports=n},function(t,e,n){var r=n(69),o=n(70),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=c},function(t,e,n){function r(t){return i(t)&&o(t)==a}var o=n(25),i=n(70),a="[object Arguments]";t.exports=r},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){function r(t){return i(t)&&o(t)}var o=n(73),i=n(70);t.exports=r},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(24),i=n(74);t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){(function(t){var r=n(27),o=n(76),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,c=u?r.Buffer:void 0,s=c?c.isBuffer:void 0,p=s||o;t.exports=p}).call(e,n(58)(t))},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){if(!a(t)||o(t)!=u)return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&p.call(n)==f}var o=n(25),i=n(65),a=n(70),u="[object Object]",c=Function.prototype,s=Object.prototype,p=c.toString,l=s.hasOwnProperty,f=p.call(Object);t.exports=r},function(t,e,n){var r=n(79),o=n(80),i=n(81),a=i&&i.isTypedArray,u=a?o(a):r;t.exports=u},function(t,e,n){function r(t){return a(t)&&i(t.length)&&!!U[o(t)]}var o=n(25),i=n(74),a=n(70),u="[object Arguments]",c="[object Array]",s="[object Boolean]",p="[object Date]",l="[object Error]",f="[object Function]",d="[object Map]",v="[object Number]",h="[object Object]",y="[object RegExp]",b="[object Set]",m="[object String]",x="[object WeakMap]",g="[object ArrayBuffer]",_="[object DataView]",j="[object Float32Array]",O="[object Float64Array]",w="[object Int8Array]",P="[object Int16Array]",E="[object Int32Array]",C="[object Uint8Array]",T="[object Uint8ClampedArray]",A="[object Uint16Array]",k="[object Uint32Array]",U={};U[j]=U[O]=U[w]=U[P]=U[E]=U[C]=U[T]=U[A]=U[k]=!0,U[u]=U[c]=U[g]=U[s]=U[_]=U[p]=U[l]=U[f]=U[d]=U[v]=U[h]=U[y]=U[b]=U[m]=U[x]=!1,t.exports=r},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){(function(t){var r=n(28),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o,u=a&&r.process,c=function(){try{var t=i&&i.require&&i.require("util").types;return t?t:u&&u.binding&&u.binding("util")}catch(t){}}();t.exports=c}).call(e,n(58)(t))},function(t,e){function n(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=n},function(t,e,n){function r(t){return o(t,i(t))}var o=n(84),i=n(86);t.exports=r},function(t,e,n){function r(t,e,n,r){var a=!n;n||(n={});for(var u=-1,c=e.length;++u<c;){var s=e[u],p=r?r(n[s],t[s],s,n,t):void 0;void 0===p&&(p=t[s]),a?i(n,s,p):o(n,s,p)}return n}var o=n(85),i=n(52);t.exports=r},function(t,e,n){function r(t,e,n){var r=t[e];u.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(52),i=n(12),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return a(t)?o(t,!0):i(t)}var o=n(87),i=n(90),a=n(73);t.exports=r},function(t,e,n){function r(t,e){var n=a(t),r=!n&&i(t),p=!n&&!r&&u(t),f=!n&&!r&&!p&&s(t),d=n||r||p||f,v=d?o(t.length,String):[],h=v.length;for(var y in t)!e&&!l.call(t,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,h))||v.push(y);return v}var o=n(88),i=n(68),a=n(71),u=n(75),c=n(89),s=n(78),p=Object.prototype,l=p.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e){function n(t,e){var n=typeof t;return e=null==e?r:e,!!e&&("number"==n||"symbol"!=n&&o.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e,n){function r(t){if(!o(t))return a(t);var e=i(t),n=[];for(var r in t)("constructor"!=r||!e&&c.call(t,r))&&n.push(r);return n}var o=n(31),i=n(67),a=n(91),u=Object.prototype,c=u.hasOwnProperty;t.exports=r},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){function r(t){return o(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&i(n[0],n[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var c=n[r];c&&t(e,c,r,a)}return e})}var o=n(93),i=n(101);t.exports=r},function(t,e,n){function r(t,e){return a(i(t,e,o),t+"")}var o=n(94),i=n(95),a=n(97);t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,a=-1,u=i(r.length-e,0),c=Array(u);++a<u;)c[a]=r[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=r[a];return s[e]=n(c),o(t,this,s)}}var o=n(96),i=Math.max;t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){var r=n(98),o=n(100),i=o(r);t.exports=i},function(t,e,n){var r=n(99),o=n(53),i=n(94),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e){function n(t){var e=0,n=0;return function(){var a=i(),u=o-(a-n);if(n=a,u>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){function r(t,e,n){if(!u(n))return!1;var r=typeof e;return!!("number"==r?i(n)&&a(e,n.length):"string"==r&&e in n)&&o(n[e],t)}var o=n(12),i=n(73),a=n(89),u=n(31);t.exports=r},function(t,e){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(t,e){t.exports=Morph.modules["bbc-morph-bump@1.1.0"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=0)}([function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t(1),o=t.n(r);Morph.modules["bbc-morph-app-bridge@2.2.0"]=o.a},function(n,e,t){"use strict";function r(n,e){s[n]=e}function o(){return new Promise(function(n){n(window.appBridge.instance())})}function u(n,e,t){n.sendToApp(e,t||{})}function i(n,e,t){var r=s[e];if(r)return void n.pubsub.emit(a[e],r);u(n,e,t)}function c(n){var e=this;p||(Object.keys(a).forEach(function(t){n.pubsub.on(a[t],r.bind(e,t))}),p=!0)}function f(n){return Object.keys(a).indexOf(n)>-1}var p=!1,s={},a={"app:info:request":"app:info:response"};e.on=function(n,e){return o().then(function(t){t.pubsub.on(n,e)})},e.sendToApp=function(n,e){return o().then(function(t){c(t),f(n)?i(t,n,e):u(t,n,e)})},e.ready=function(){return o().then(function(n){return n.ready})},e.clearCache=function(){s={},p=!1}}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var t={};n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=0)}([function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=t(1),r=t.n(i);Morph.modules["bbc-morph-media-app-bridge-integration@3.0.2"]=r.a},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=t(2),r=t(3),p=function(e){return e&&e.__esModule?e:{default:e}}(r),o=function(e,n,t){var r=!1,o=null,a=function(){var e=n();o===e.vpid?(0,i.sendToApp)("app:cast:showControlScreen"):(0,i.sendToApp)("app:cast:play",{mediaId:e.vpid,mediaType:e.live?"live":"vod",title:e.title,imageUrl:(0,p.default)(e.ichefUrl),pageUrl:window.location.href,statsId:"sport"})};return e.bind("playing",function(){(0,i.sendToApp)("app:media:play",{pid:n().vpid}),r=!0}),e.bind("pause",function(){(0,i.sendToApp)("app:media:pause"),r=!1}),e.bind("fullscreenEnter",function(){(0,i.sendToApp)("app:media:enter-fullscreen")}),e.bind("fullscreenExit",function(){(0,i.sendToApp)("app:media:exit-fullscreen")}),e.bind("playlistStopped",function(){r=!1}),e.bind("playlistEnded",function(){r=!1}),(0,i.on)("app:media:request:pause",function(){e.pause()}),(0,i.on)("app:cast:status",function(i){var p=!0===i.isConnected||"true"===i.isConnected,u=n(),d=!!u&&i.mediaId===u.vpid;o=i.mediaId,t({castConnected:p,castCasting:d}),p&&r&&!o&&(e.stop(),a())}),{cast:a}};n.default=o,e.exports=n.default},function(e,n){e.exports=Morph.modules["bbc-morph-app-bridge@2.2.0"]},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=function(e){return e.replace("$recipe","1280xn").replace("{width}","1280")};n.default=i,e.exports=n.default}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-lazysizes@1.0.1"]={"@bbc/lazysizes":"1.0.0"},function(t){function e(i){if(r[i])return r[i].exports;var a=r[i]={exports:{},id:i,loaded:!1};return t[i].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){Morph.modules["bbc-morph-lazysizes@1.0.1"]=r(1)},function(t,e,r){var i=function(){return{config:{lazyClass:"lazyload",autosizesClass:"lazyautosizes",preloadClass:"lazypreload",loadingClass:"lazyloading",loadedClass:"lazyloaded",errorClass:"lazyerror",loadMode:3,hFac:.8,expFactor:1.7,expand:500,minSize:40,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",init:!0,customMedia:{},rias:{widths:[240,320,480,624,800],absUrl:!1,postfix:"",prefix:"",hidpi:"",widthmap:{},modifyOptions:function(){}}}}},a=function(t){var e,a,n=i();for(key in t)n.hasOwnProperty(key)&&(n[key]=t[key]);e=r(2)(n),a=r(3)(n,e)};t.exports={load:a}},function(t,e){t.exports=function(t){"use strict";var e=t.window||window,r=e.document||window.document,i=t.config;if(r.getElementsByClassName){var a,n=r.documentElement,s=e.HTMLPictureElement&&"sizes"in r.createElement("img"),o="addEventListener",c="getAttribute",l=e[o],d=e.setTimeout,u=e.requestAnimationFrame||d,f=/^picture$/i,p=["load","error","lazyincluded","_lazyloaded"],m={},h=Array.prototype.forEach,g=function(t,e){return m[e]||(m[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),m[e].test(t[c]("class")||"")&&m[e]},y=function(t,e){g(t,e)||t.setAttribute("class",(t[c]("class")||"").trim()+" "+e)},z=function(t,e){var r;(r=g(t,e))&&t.setAttribute("class",(t[c]("class")||"").replace(r," "))},v=function(t,e,r){var i=r?o:"removeEventListener";r&&v(t,e),p.forEach(function(r){t[i](r,e)})},b=function(t,e,i,a,n){var s=r.createEvent("CustomEvent");return s.initCustomEvent(e,!a,!n,i||{}),t.dispatchEvent(s),s},A=function(t,r){var i;!s&&(i=e.picturefill||a.pf)?i({reevaluate:!0,elements:[t]}):r&&r.src&&(t.src=r.src)},w=function(t,e){return(getComputedStyle(t,null)||{})[e]},C=function(t,e,r){for(r=r||t.offsetWidth;r<a.minSize&&e&&!t._lazysizesWidth;)r=e.offsetWidth,e=e.parentNode;return r},E=function(t){var r,i=0,a=e.Date,n=function(){r=!1,i=a.now(),t()},s=function(){d(n)},o=function(){u(s)};return function(){if(!r){var t=125-(a.now()-i);r=!0,t<6&&(t=6),d(o,t)}}},x=function(){var t,i,s,p,m,C,x,M,_,P,W,O,L,T,k,B=/^img$/i,R=/^iframe$/i,S="onscroll"in e&&!/glebot/.test(navigator.userAgent),$=0,F=0,D=0,H=0,U=function(t){D--,t&&t.target&&v(t.target,U),(!t||D<0||!t.target)&&(D=0)},I=function(t,e){var i,a=t,s="hidden"==w(r.body,"visibility")||"hidden"!=w(t,"visibility");for(_-=e,O+=e,P-=e,W+=e;s&&(a=a.offsetParent)&&a!=r.body&&a!=n;)s=(w(a,"opacity")||1)>0,s&&"visible"!=w(a,"overflow")&&(i=a.getBoundingClientRect(),s=W>i.left&&P<i.right&&O>i.top-1&&_<i.bottom+1);return s},j=function(){var e,r,o,l,d,u,f,p,h;if((m=a.loadMode)&&D<8&&(e=t.length)){r=0,H++,null==T&&("expand"in a||(a.expand=n.clientHeight>600?n.clientWidth>600?550:410:359),L=a.expand,T=L*a.expFactor),F<T&&D<1&&H>3&&m>2?(F=T,H=0):F=m>1&&H>2&&D<6?L:$;for(;r<e;r++)if(t[r]&&!t[r]._lazyRace)if(S)if((p=t[r][c]("data-expand"))&&(u=1*p)||(u=F),h!==u&&(x=innerWidth+u*k,M=innerHeight+u,f=u*-1,h=u),o=t[r].getBoundingClientRect(),(O=o.bottom)>=f&&(_=o.top)<=M&&(W=o.right)>=f*k&&(P=o.left)<=x&&(O||W||P||_)&&(s&&D<3&&!p&&(m<3||H<4)||I(t[r],u))){if(V(t[r]),d=!0,D>9)break}else!d&&s&&!l&&D<4&&H<4&&m>2&&(i[0]||a.preloadAfterLoad)&&(i[0]||!p&&(O||W||P||_||"auto"!=t[r][c](a.sizesAttr)))&&(l=i[0]||t[r]);else V(t[r]);l&&!d&&V(l)}},X=E(j),q=function(t){y(t.target,a.loadedClass),z(t.target,a.loadingClass),v(t.target,G)},G=function(t){t={target:t.target},u(function(){q(t)})},J=function(t,e){try{t.contentWindow.location.replace(e)}catch(r){t.src=e}},K=function(t){var e,r,i=t[c](a.srcsetAttr);(e=a.customMedia[t[c]("data-media")||t[c]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i),e&&(r=t.parentNode,r.insertBefore(t.cloneNode(),t),r.removeChild(t))},Q=function(){var t,e=[],r=function(){for(;e.length;)e.shift()();t=!1},i=function(i){e.push(i),t||(t=!0,u(r))};return{add:i,run:r}}(),V=function(t){var e,r,i,n,o,l,m,w=B.test(t.nodeName),C=w&&(t[c](a.sizesAttr)||t[c]("sizes")),E="auto"==C;(!E&&s||!w||!t.src&&!t.srcset||t.complete||g(t,a.errorClass))&&(E&&(m=t.offsetWidth),t._lazyRace=!0,D++,a.rC&&(m=a.rC(t,m)||m),Q.add(function(){(o=b(t,"lazybeforeunveil")).defaultPrevented||(C&&(E?(N.updateElem(t,!0,m),y(t,a.autosizesClass)):t.setAttribute("sizes",C)),r=t[c](a.srcsetAttr),e=t[c](a.srcAttr),w&&(i=t.parentNode,n=i&&f.test(i.nodeName||"")),l=o.detail.firesLoad||"src"in t&&(r||e||n),o={target:t},l&&(v(t,U,!0),clearTimeout(p),p=d(U,2500),y(t,a.loadingClass),v(t,G,!0)),n&&h.call(i.getElementsByTagName("source"),K),r?t.setAttribute("srcset",r):e&&!n&&(R.test(t.nodeName)?J(t,e):t.src=e),(r||n)&&A(t,{src:e})),u(function(){t._lazyRace&&delete t._lazyRace,z(t,a.lazyClass),l&&!t.complete||(l?U(o):D--,q(o))})}))},Y=function(){if(!s){if(Date.now()-C<999)return void d(Y,999);var t,e=function(){a.loadMode=3,X()};s=!0,a.loadMode=3,r.hidden?(j(),Q.run()):X(),l("scroll",function(){3==a.loadMode&&(a.loadMode=2),clearTimeout(t),t=d(e,99)},!0)}};return{_:function(){C=Date.now(),t=r.getElementsByClassName(a.lazyClass),i=r.getElementsByClassName(a.lazyClass+" "+a.preloadClass),k=a.hFac,l("scroll",X,!0),l("resize",X,!0),e.MutationObserver?new MutationObserver(X).observe(n,{childList:!0,subtree:!0,attributes:!0}):(n[o]("DOMNodeInserted",X,!0),n[o]("DOMAttrModified",X,!0),setInterval(X,999)),l("hashchange",X,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){r[o](t,X,!0)}),/d$|^c/.test(r.readyState)?Y():(l("load",Y),r[o]("DOMContentLoaded",X),d(Y,2e4)),X(t.length>0)},checkElems:X,unveil:V}}(),N=function(){var t,e=function(t,e,r){var i,a,n,s,o=t.parentNode;if(o&&(r=C(t,o,r),s=b(t,"lazybeforesizes",{width:r,dataAttr:!!e}),!s.defaultPrevented&&(r=s.detail.width,r&&r!==t._lazysizesWidth))){if(t._lazysizesWidth=r,r+="px",t.setAttribute("sizes",r),f.test(o.nodeName||""))for(i=o.getElementsByTagName("source"),a=0,n=i.length;a<n;a++)i[a].setAttribute("sizes",r);s.detail.dataAttr||A(t,s.detail)}},i=function(){var r,i=t.length;if(i)for(r=0;r<i;r++)e(t[r])},n=E(i);return{_:function(){t=r.getElementsByClassName(a.autosizesClass),l("resize",n)},checkElems:n,updateElem:e}}(),M=function(){M.i||(M.i=!0,N._(),x._())};return function(){var t,e={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.7,hFac:.8,loadMode:2};a=i||{};for(t in e)t in a||(a[t]=e[t]);d(function(){a.init&&M()})}(),{cfg:a,autoSizer:N,loader:x,init:M,uP:A,aC:y,rC:z,hC:g,fire:b,gW:C}}}},function(t,e){t.exports=function(t,e){"use strict";function r(t,e){var r,i,a,n;i=t.parentNode,n={isPicture:!(!i||!p.test(i.nodeName||""))},a=function(e,r){var i=t.getAttribute("data-"+e);if(null!==i){if("true"==i)i=!0;else if("false"==i)i=!1;else if(f.test(i))i=parseFloat(i);else if("function"==typeof l[e])i=l[e](t,i);else if(y.test(i))try{i=JSON.parse(i)}catch(t){}n[e]=i}else e in l&&"function"!=typeof l[e]?n[e]=l[e]:r&&"function"==typeof l[e]&&(n[e]=l[e](t,i))};for(r in l)a(r);return e.replace(g,function(t,e){e in n||a(e,!0)}),n}function i(t,e){var r=[],i=function(t,r){return u[typeof e[r]]?e[r]:t};return r.srcset=[],e.absUrl&&(v.setAttribute("href",t),t=v.href),t=((e.prefix||"")+t+(e.postfix||"")).replace(g,i),e.widths.forEach(function(i){var a=e.widthmap[i]||i,n={u:t.replace(m,a).replace(h,e.ratio?Math.round(i*e.ratio):""),w:i};r.push(n),r.srcset.push(n.c=n.u+" "+i+"w")}),r}function a(t,e,r){var a=0,n=0,s=r;if(t){if("container"===e.ratio){for(a=s.scrollWidth,n=s.scrollHeight;!(a&&n||s===c);)s=s.parentNode,a=s.scrollWidth,n=s.scrollHeight;a&&n&&(e.ratio=n/a)}t=i(t,e),t.isPicture=e.isPicture,A&&"IMG"==r.nodeName.toUpperCase()?r.removeAttribute(d.srcsetAttr):r.setAttribute(d.srcsetAttr,t.srcset.join(", ")),Object.defineProperty(r,"_lazyrias",{value:t,writable:!0})}}function n(t,i){var a=r(t,i);return l.modifyOptions.call(t,{target:t,details:a,detail:a}),e.fire(t,"lazyriasmodifyoptions",a),a}function s(t){return t.getAttribute(t.getAttribute("data-srcattr")||l.srcAttr)||t.getAttribute(d.srcsetAttr)||t.getAttribute(d.srcAttr)||t.getAttribute("data-pfsrcset")||""}var o=t.window||window,c=o.document||window.document;if(c.addEventListener&&e){var l,d=t.config||{},u={string:1,number:1},f=/^\-*\+*\d+\.*\d*$/,p=/^picture$/i,m=/\s*\{\s*width\s*\}\s*/i,h=/\s*\{\s*height\s*\}\s*/i,g=/\s*\{\s*([a-z0-9]+)\s*\}\s*/gi,y=/^\[.*\]|\{.*\}$/,z=/^(?:auto|\d+(px)?)$/,v=c.createElement("a"),b=c.createElement("img"),A="srcset"in b&&!("sizes"in b),w=!!o.HTMLPictureElement&&"sizes"in c.createElement("img");!function(){var t,e=function(){},r={prefix:"",postfix:"",srcAttr:"data-src",absUrl:!1,modifyOptions:e,widthmap:{},ratio:!1};d.supportsType||(d.supportsType=function(t){return!t}),d.rias||(d.rias={}),l=d.rias,"widths"in l||(l.widths=[],function(t){for(var e,r=0;!e||e<3e3;)r+=5,r>30&&(r+=1),e=36*r,t.push(e)}(l.widths));for(t in r)t in l||(l[t]=r[t])}(),addEventListener("lazybeforeunveil",function(t){var e,r,i,o,c,u,f,p,h,g,y,v,b;if(e=t.target,h=e.getAttribute(d.sizesAttr)||e.getAttribute("sizes"),!t.defaultPrevented&&!l.disabled&&h&&z.test(h)){if(r=s(e),i=n(e,r),y=m.test(i.prefix)||m.test(i.postfix),i.isPicture&&(o=e.parentNode))for(c=o.getElementsByTagName("source"),u=0,f=c.length;u<f;u++)(y||m.test(p=s(c[u])))&&(a(p,i,c[u]),v=!0);y||m.test(r)?(a(r,i,e),v=!0):v&&(b=[],b.srcset=[],b.isPicture=!0,Object.defineProperty(e,"_lazyrias",{value:b,writable:!0})),v&&(w?e.removeAttribute(d.srcAttr):"auto"!=h&&(g={width:parseInt(h,10)},C({target:e,detail:g,details:g})))}});var C=function(){var t=function(t,e){return t.w-e.w},r=function(t){var e,r,i=t.length,a=t[i-1],n=0;for(n;n<i;n++)if(a=t[n],a.d=a.w/t.w,a.d>=t.d){!a.cached&&(e=t[n-1])&&e.d>t.d-.13*Math.pow(t.d,2.2)&&(r=Math.pow(e.d-.6,1.6),e.cached&&(e.d+=.15*r),e.d+(a.d-t.d)*r>t.d&&(a=e));break}return a},i=function(t,r){var i;return!t._lazyrias&&e.pWS&&(i=e.pWS(t.getAttribute(d.srcsetAttr||""))).length&&(Object.defineProperty(t,"_lazyrias",{value:i,writable:!0}),r&&t.parentNode&&(i.isPicture="PICTURE"==t.parentNode.nodeName.toUpperCase())),t._lazyrias},a=function(t){var r=o.devicePixelRatio||1,i=e.getX&&e.getX(t);return Math.min(i||r,2.4,r)},n=function(e,n){var s,c,l,d,u,f;if(u=e._lazyrias,u.isPicture&&o.matchMedia)for(c=0,s=e.parentNode.getElementsByTagName("source"),l=s.length;c<l;c++)if(i(s[c])&&!s[c].getAttribute("type")&&(!(d=s[c].getAttribute("media"))||(matchMedia(d)||{}).matches)){u=s[c]._lazyrias;break}return(!u.w||u.w<n)&&(u.w=n,u.d=a(e),f=r(u.sort(t))),f},s=function(t){var e,r=t.target;return!A&&(o.respimage||o.picturefill||d.pf)?void c.removeEventListener("lazybeforesizes",s):void(("_lazyrias"in r||t.detail.dataAttr&&i(r,!0))&&(e=n(r,t.detail.width),e&&e.u&&r._lazyrias.cur!=e.u&&(r._lazyrias.cur=e.u,e.cached=!0,r.setAttribute(d.srcAttr,e.u),r.setAttribute("src",e.u))))};return w?s=function(){}:c.addEventListener("lazybeforesizes",s),s}()}}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gnl-smp-adverts@1.1.0"]={"bbc-morph-promise":"1.0.6"},function(r){function o(n){if(e[n])return e[n].exports;var t=e[n]={exports:{},id:n,loaded:!1};return r[n].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}var e={};return o.m=r,o.c=e,o.p="",o(0)}([function(r,o,e){Morph.modules["bbc-morph-gnl-smp-adverts@1.1.0"]=e(1)},function(r,o,e){var n=e(2);o.load=function(){return new n(function(r,o){requirejs(["bbcdotcom/av/emp/adverts"],function(o){advertsInstance=o,r(advertsInstance)},o)})}},function(r,o){r.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gnl-advert@1.0.5"]={"bbc-morph-classnames":"1.0.2",react:"0.14.7","react-dom":"0.14.7"},function(o){function r(t){if(e[t])return e[t].exports;var s=e[t]={exports:{},id:t,loaded:!1};return o[t].call(s.exports,s,s.exports,r),s.loaded=!0,s.exports}var e={};r.m=o,r.c=e,r.p="",r(0)}([function(o,r,e){Morph.modules["bbc-morph-gnl-advert@1.0.5"]=e(1)},function(o,r,e){var t=e(2),s=e(3),n=[1,2,3,4],p=t.createClass({displayName:"BBCDotCom__Advert",propTypes:{type:t.PropTypes.string.isRequired,groups:t.PropTypes.arrayOf(t.PropTypes.number),classes:t.PropTypes.arrayOf(t.PropTypes.string)},getDefaultProps:function(){return{groups:n}},componentDidMount:function(){this.getAdsEnabled()&&this.registerAd()},shouldComponentUpdate:function(){return!1},registerAd:function(){window.bbcdotcom&&window.bbcdotcom.registerAd&&window.bbcdotcom.registerAd(this.props.type,this.props.groups)},getAdsEnabled:function(){return window&&window.bbcdotcom&&window.bbcdotcom.config&&window.bbcdotcom.config.isAdsEnabled()},render:function(){if(!this.props.type||!this.props.groups||this.props.groups.constructor!==Array||!this.props.groups.length)return null;var o=this.props.groups.join("_");return t.createElement("div",{id:"bbccom_"+this.props.type+"_"+o,className:s("bbccom_slot",this.props.classes),"aria-hidden":"true"},t.createElement("div",{className:"bbccom_advert"}))}});o.exports=p},function(o,r){o.exports=React},function(o,r){o.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@5.0.5"]={"bbc-morph-classnames":"1.0.2","morph-require":"5.2.1","react":"0.14.7"}; !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));Morph.modules["bbc-morph-gel-icons@5.0.5"]=r.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),o=r(n(3)),a=r(n(4)),l=i.default.createClass({displayName:"Icon",render:function(){var e=this.props,t=e.iconName,n=e.additionalClassNames,r=e.iconOnly,l="";try{var u=o.default.selfTransitiveThenUpdate("gel-icon-".concat(t),this);if(!u)throw new Error;l=i.default.createElement(u,null)}catch(e){l=i.default.createElement("noscript",null)}if(r)return l;var c=(0,a.default)("gel-icon","gel-icon--".concat(t),n);return i.default.createElement("div",{className:c},l)}});l.displayName="GEL__Icon",l.propTypes={iconName:i.default.PropTypes.string,additionalClassNames:i.default.PropTypes.string,wrapperElement:i.default.PropTypes.string},l.ensureIcon=function(e){"undefined"==typeof window&&o.default.selfTransitive("gel-icon-".concat(e),null)};var u=l;t.default=u},function(e,t){e.exports=React},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@5.0.5",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@5.0.5",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@5.0.5",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@5.0.5",e,t,!0)}}},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@4.0.0"]={"bbc-morph-classnames":"1.0.2","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){Morph.modules["bbc-morph-gel-icons@4.0.0"]=t(1)},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=t(2),o=n(i),a=t(3),s=n(a),l=t(4),c=n(l),u=o.default.createClass({displayName:"GEL__Icon",propTypes:{iconName:o.default.PropTypes.string,additionalClassNames:o.default.PropTypes.string},render:function(){var e=(0,c.default)("gel-icon","gel-icon--"+this.props.iconName,this.props.additionalClassNames),r="";try{var t=s.default.selfTransitiveThenUpdate("gel-icon-"+this.props.iconName,this);r=t?o.default.createElement(t,null):o.default.createElement("noscript",null)}catch(e){r=o.default.createElement("noscript",null)}return o.default.createElement("div",{className:e},r)}});u.ensureIcon=function(e){"undefined"==typeof window&&s.default.selfTransitive("gel-icon-"+e,null)},r.default=u,e.exports=r.default},function(e,r){e.exports=React},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@4.0.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@4.0.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@4.0.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@4.0.0",e,r,!0)}}},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.56.1"]={"babel-runtime":"6.26.0","bbc-morph-ati-stats":"1.3.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.17.1","bbc-morph-gel-icons":"4.0.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","lodash.isequal":"4.5.0","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){Morph.modules["bbc-morph-comments-view@3.56.1"]=n(1)},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(2),i=r(o),a=n(41),s=r(a),u=n(44),l=r(u),c=n(49),d=r(c),m=n(50),f=r(m),p=n(54),h=r(p),y=n(87),g=r(y),v=n(95),_=r(v),b=n(96),T=r(b);n(97);var C=n(98),P=n(112),E=n(447),S=n(449),w=r(S),O=n(155),x=n(446),M=n(271),I=function(e){function t(){return(0,d.default)(this,t),(0,h.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,f.default)(t,[{key:"render",value:function(){return this.props.styleguide?_.default.createElement(E.StyleGuideModule,this.props):_.default.createElement(P.CommentsBootstrap,this.props)}}]),t}(v.Component);I.displayName="ComponentSelector",I.propTypes={styleguide:v.PropTypes.string,commentsData:v.PropTypes.object,staticComments:v.PropTypes.string},t.default=T.default.create(I,{dataParams:{commentsDataUri:null,nextIndexToLoadFrom:null},data:function(e,t){if(e.styleguide)return{};var n=function(e,t){if(!e)return!1;var n=(0,x.parseToggleOverridesProp)(t);return!!n.hasOwnProperty("sort")&&n.sort===!1},r=n(e.overrideConfig,e.toggleOverrides),o=!1,a=parseInt(e.pageSize,10)||M.PAGE_SIZE,u=M.REPLIES_PAGE_SIZE,l=(0,O.clamp)((0,s.default)(M.MAX_API_LIMIT_PAGE_SIZE/a),M.MIN_PAG_SIZE_MULTIPLIER,M.MAX_PAG_SIZE_MULTIPLIER),c=a*l,d=(0,i.default)({},(0,C.pick)(e,["staticComments","staticForum","staticCommentProps","forumId","apiKey","initialView"]),{pageSize:c,isSortToggleOverrideOff:r,data:"bbc-morph-comments-data"}),m=(0,i.default)({},(0,C.pick)(e,["forumId","apiKey"]),{pageSize:u,data:"bbc-morph-comments-data"}),f=(0,i.default)({},t,{commentsDataUri:d,repliesDataUri:m,initialPageSize:c,pageSize:a,shouldLiveUpdate:o}),p=e.idAvailability?{availabilityOverride:e.idAvailability}:{};return{commentsData:{uri:d,requireSuccess:!0,updates:!1},commentsAggregator:{aggregator:w.default,props:f,requireSuccess:!1},idAvailabilityData:{uri:(0,i.default)({data:"bbc-morph-id-availability-data"},p),requireSuccess:!0,updates:!1}}},displayName:"CommentsContainer"}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(3),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports={default:n(4),__esModule:!0}},function(e,t,n){n(5),e.exports=n(8).Object.assign},function(e,t,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(22)})},function(e,t,n){var r=n(7),o=n(8),i=n(9),a=n(11),s=n(21),u="prototype",l=function(e,t,n){var c,d,m,f=e&l.F,p=e&l.G,h=e&l.S,y=e&l.P,g=e&l.B,v=e&l.W,_=p?o:o[t]||(o[t]={}),b=_[u],T=p?r:h?r[t]:(r[t]||{})[u];p&&(n=t);for(c in n)d=!f&&T&&void 0!==T[c],d&&s(_,c)||(m=d?T[c]:n[c],_[c]=p&&"function"!=typeof T[c]?n[c]:g&&d?i(m,r):v&&T[c]==m?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(m):y&&"function"==typeof m?i(Function.call,m):m,y&&((_.virtual||(_.virtual={}))[c]=m,e&l.R&&b&&!b[c]&&a(b,c,m)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(12),o=n(20);e.exports=n(16)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(13),o=n(15),i=n(19),a=Object.defineProperty;t.f=n(16)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(14);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(16)&&!n(17)(function(){return 7!=Object.defineProperty(n(18)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(14),o=n(7).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(14);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=n(16),o=n(23),i=n(38),a=n(39),s=n(40),u=n(26),l=Object.assign;e.exports=!l||n(17)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=s(e),l=arguments.length,c=1,d=i.f,m=a.f;l>c;)for(var f,p=u(arguments[c++]),h=d?o(p).concat(d(p)):o(p),y=h.length,g=0;y>g;)f=h[g++],r&&!m.call(p,f)||(n[f]=p[f]);return n}:l},function(e,t,n){var r=n(24),o=n(37);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(21),o=n(25),i=n(29)(!1),a=n(33)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(26),o=n(28);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(27);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(25),o=n(30),i=n(32);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(31),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(31),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(34)("keys"),o=n(36);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(8),o=n(7),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(35)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(28);e.exports=function(e){return Object(r(e))}},function(e,t,n){e.exports={default:n(42),__esModule:!0}},function(e,t,n){n(43),e.exports=n(8).Math.trunc},function(e,t,n){var r=n(6);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){e.exports={default:n(45),__esModule:!0}},function(e,t,n){n(46),e.exports=n(8).Object.getPrototypeOf},function(e,t,n){var r=n(40),o=n(47);n(48)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(21),o=n(40),i=n(33)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(6),o=n(8),i=n(17);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(51),i=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={default:n(52),__esModule:!0}},function(e,t,n){n(53);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(6);r(r.S+r.F*!n(16),"Object",{defineProperty:n(12).f})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(55),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(56),i=r(o),a=n(74),s=r(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t,n){e.exports={default:n(57),__esModule:!0}},function(e,t,n){n(58),n(69),e.exports=n(73).f("iterator")},function(e,t,n){"use strict";var r=n(59)(!0);n(60)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(31),o=n(28);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):i:e?s.slice(u,u+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){"use strict";var r=n(35),o=n(6),i=n(61),a=n(11),s=n(62),u=n(63),l=n(67),c=n(47),d=n(68)("iterator"),m=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",h="values",y=function(){return this};e.exports=function(e,t,n,g,v,_,b){u(n,t,g);var T,C,P,E=function(e){if(!m&&e in x)return x[e];switch(e){case p:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",w=v==h,O=!1,x=e.prototype,M=x[d]||x[f]||v&&x[v],I=M||E(v),R=v?w?E("entries"):I:void 0,N="Array"==t?x.entries||M:M;if(N&&(P=c(N.call(new e)),P!==Object.prototype&&P.next&&(l(P,S,!0),r||"function"==typeof P[d]||a(P,d,y))),w&&M&&M.name!==h&&(O=!0,I=function(){return M.call(this)}),r&&!b||!m&&!O&&x[d]||a(x,d,I),s[t]=I,s[S]=y,v)if(T={values:w?I:E(h),keys:_?I:E(p),entries:R},b)for(C in T)C in x||i(x,C,T[C]);else o(o.P+o.F*(m||O),t,T);return T}},function(e,t,n){e.exports=n(11)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(64),o=n(20),i=n(67),a={};n(11)(a,n(68)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(13),o=n(65),i=n(37),a=n(33)("IE_PROTO"),s=function(){},u="prototype",l=function(){var e,t=n(18)("iframe"),r=i.length,o="<",a=">";for(t.style.display="none",n(66).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),l=e.F;r--;)delete l[u][i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(12),o=n(13),i=n(23);e.exports=n(16)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var r=n(7).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(12).f,o=n(21),i=n(68)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(34)("wks"),o=n(36),i=n(7).Symbol,a="function"==typeof i,s=e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=r},function(e,t,n){n(70);for(var r=n(7),o=n(11),i=n(62),a=n(68)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var l=s[u],c=r[l],d=c&&c.prototype;d&&!d[a]&&o(d,a,l),i[l]=i.Array}},function(e,t,n){"use strict";var r=n(71),o=n(72),i=n(62),a=n(25);e.exports=n(60)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(68)},function(e,t,n){e.exports={default:n(75),__esModule:!0}},function(e,t,n){n(76),n(84),n(85),n(86),e.exports=n(8).Symbol},function(e,t,n){"use strict";var r=n(7),o=n(21),i=n(16),a=n(6),s=n(61),u=n(77).KEY,l=n(17),c=n(34),d=n(67),m=n(36),f=n(68),p=n(73),h=n(78),y=n(79),g=n(80),v=n(13),_=n(14),b=n(40),T=n(25),C=n(19),P=n(20),E=n(64),S=n(81),w=n(83),O=n(38),x=n(12),M=n(23),I=w.f,R=x.f,N=S.f,k=r.Symbol,A=r.JSON,D=A&&A.stringify,L="prototype",j=f("_hidden"),F=f("toPrimitive"),U={}.propertyIsEnumerable,q=c("symbol-registry"),W=c("symbols"),V=c("op-symbols"),B=Object[L],Y="function"==typeof k&&!!O.f,H=r.QObject,z=!H||!H[L]||!H[L].findChild,G=i&&l(function(){return 7!=E(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=I(B,t);r&&delete B[t],R(e,t,n),r&&e!==B&&R(B,t,r)}:R,Z=function(e){var t=W[e]=E(k[L]);return t._k=e,t},K=Y&&"symbol"==typeof k.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof k},X=function(e,t,n){return e===B&&X(V,t,n),v(e),t=C(t,!0),v(n),o(W,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:P(0,!1)})):(o(e,j)||R(e,j,P(1,{})),e[j][t]=!0),G(e,t,n)):R(e,t,n)},J=function(e,t){v(e);for(var n,r=y(t=T(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?E(e):J(E(e),t)},$=function(e){var t=U.call(this,e=C(e,!0));return!(this===B&&o(W,e)&&!o(V,e))&&(!(t||!o(this,e)||!o(W,e)||o(this,j)&&this[j][e])||t)},ee=function(e,t){if(e=T(e),t=C(t,!0),e!==B||!o(W,t)||o(V,t)){var n=I(e,t);return!n||!o(W,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},te=function(e){for(var t,n=N(T(e)),r=[],i=0;n.length>i;)o(W,t=n[i++])||t==j||t==u||r.push(t);return r},ne=function(e){for(var t,n=e===B,r=N(n?V:T(e)),i=[],a=0;r.length>a;)!o(W,t=r[a++])||n&&!o(B,t)||i.push(W[t]);return i};Y||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var e=m(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(V,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),G(this,e,P(1,n))};return i&&z&&G(B,e,{configurable:!0,set:t}),Z(e)},s(k[L],"toString",function(){return this._k}),w.f=ee,x.f=X,n(82).f=S.f=te,n(39).f=$,O.f=ne,i&&!n(35)&&s(B,"propertyIsEnumerable",$,!0),p.f=function(e){return Z(f(e))}),a(a.G+a.W+a.F*!Y,{Symbol:k});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;re.length>oe;)f(re[oe++]);for(var ie=M(f.store),ae=0;ie.length>ae;)h(ie[ae++]);a(a.S+a.F*!Y,"Symbol",{for:function(e){return o(q,e+="")?q[e]:q[e]=k(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in q)if(q[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!Y,"Object",{create:Q,defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=l(function(){O.f(1)});a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return O.f(b(e))}}),A&&a(a.S+a.F*(!Y||l(function(){var e=k();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(_(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,D.apply(A,r)}}),k[L][F]||n(11)(k[L],F,k[L].valueOf),d(k,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(36)("meta"),o=n(14),i=n(21),a=n(12).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(17)(function(){return u(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},m=function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return l&&p.NEED&&u(e)&&!i(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:m,onFreeze:f}},function(e,t,n){var r=n(7),o=n(8),i=n(35),a=n(73),s=n(12).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(23),o=n(38),i=n(39);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),u=i.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){var r=n(27);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(25),o=n(82).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(24),o=n(37).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(39),o=n(20),i=n(25),a=n(19),s=n(21),u=n(15),l=Object.getOwnPropertyDescriptor;t.f=n(16)?l:function(e,t){if(e=i(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(78)("asyncIterator")},function(e,t,n){n(78)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(88),i=r(o),a=n(92),s=r(a),u=n(55),l=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(89),__esModule:!0}},function(e,t,n){n(90),e.exports=n(8).Object.setPrototypeOf},function(e,t,n){var r=n(6);r(r.S,"Object",{setPrototypeOf:n(91).set})},function(e,t,n){var r=n(14),o=n(13),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(9)(Function.call,n(83).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(94);var r=n(8).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(6);r(r.S,"Object",{create:n(64)})},function(e,t){e.exports=React},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-comments-view@3.56.1",e,t)}}},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return g.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function u(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function l(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(g.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(g.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(g.arrayBuffer&&g.blob&&_(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!g.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!b(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(l(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function m(e){var t=e.toUpperCase();return T.indexOf(t)>-1?t:e}function f(e,t){t=t||{};var n=t.body;if(e instanceof f){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=m(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function h(e){var t=new o,n=e.replace(/\r?\n[\t ]+/g," ");return n.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var g={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=function(e){return e&&DataView.prototype.isPrototypeOf(e)},b=ArrayBuffer.isView||function(e){return e&&v.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var T=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})},d.call(f.prototype),d.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];y.redirect=function(e,t){if(C.indexOf(t)===-1)throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=f,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,r){var o=new f(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:h(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new y(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&g.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.merge=t.pickBy=t.pick=void 0;var o=n(99),i=r(o),a=n(100),s=r(a),u=n(106),l=r(u),c=n(111),d=r(c);t.pick=i.default,t.pickBy=s.default,t.merge=l.default,t.throttle=d.default},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function o(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function i(e,t,n,r,a){var s=-1,u=e.length;for(n||(n=l),a||(a=[]);++s<u;){var c=e[s];t>0&&n(c)?t>1?i(c,t-1,n,r,a):o(a,c):r||(a[a.length]=c)}return a}function a(e,t){return e=Object(e),s(e,t,function(t,n){return n in e})}function s(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=e[a];n(s,a)&&(i[a]=s)}return i}function u(e,t){return t=A(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=A(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function l(e){return D(e)||d(e)||!!(k&&e&&e[k])}function c(e){if("string"==typeof e||v(e))return e;var t=e+"";return"0"==t&&1/e==-_?"-0":t}function d(e){return f(e)&&M.call(e,"callee")&&(!N.call(e,"callee")||I.call(e)==T)}function m(e){return null!=e&&h(e.length)&&!p(e)}function f(e){return g(e)&&m(e)}function p(e){var t=y(e)?I.call(e):"";return t==C||t==P}function h(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=b}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return!!e&&"object"==typeof e}function v(e){return"symbol"==typeof e||g(e)&&I.call(e)==E}var _=1/0,b=9007199254740991,T="[object Arguments]",C="[object Function]",P="[object GeneratorFunction]",E="[object Symbol]",S="object"==typeof t&&t&&t.Object===Object&&t,w="object"==typeof self&&self&&self.Object===Object&&self,O=S||w||Function("return this")(),x=Object.prototype,M=x.hasOwnProperty,I=x.toString,R=O.Symbol,N=x.propertyIsEnumerable,k=R?R.isConcatSpreadable:void 0,A=Math.max,D=Array.isArray,L=u(function(e,t){return null==e?{}:a(e,r(i(t,1),c))});e.exports=L}).call(t,function(){return this}())},function(e,t,n){function r(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function o(e,t,n){var o=t(e);return h(e)?o:r(o,n(e))}function i(e,t){for(var n=-1,r=a(e),o=r.length,i={};++n<o;){var s=r[n],u=e[s]; t(u,s)&&(i[s]=u)}return i}function a(e){return o(e,d,p)}function s(e){return f(Object(e))}function u(e){return m(Object(e))}function l(e,t){return null==e?{}:i(e,c(t))}var c=n(101),d=n(105),m=Object.getOwnPropertySymbols,f=Object.getPrototypeOf;m||(u=function(){return[]});var p=m?function(e){for(var t=[];e;)r(t,u(e)),e=s(e);return t}:u,h=Array.isArray;e.exports=l},function(e,t,n){(function(e,r){function o(e,t){for(var n=-1,r=e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function i(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function a(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function s(e,t){return o(t,function(t){return[t,e[t]]})}function u(e){return e&&e.Object===Object?e:null}function l(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function c(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function d(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function m(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(){this.__data__=Gt?Gt(null):{}}function h(e){return this.has(e)&&delete this.__data__[e]}function y(e){var t=this.__data__;if(Gt){var n=t[e];return n===Fe?void 0:n}return kt.call(t,e)?t[e]:void 0}function g(e){var t=this.__data__;return Gt?void 0!==t[e]:kt.call(t,e)}function v(e,t){var n=this.__data__;return n[e]=Gt&&void 0===t?Fe:t,this}function _(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function b(){this.__data__=[]}function T(e){var t=this.__data__,n=q(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ut.call(t,n,1),!0}function C(e){var t=this.__data__,n=q(t,e);return n<0?void 0:t[n][1]}function P(e){return q(this.__data__,e)>-1}function E(e,t){var n=this.__data__,r=q(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(){this.__data__={hash:new f,map:new(Bt||_),string:new f}}function O(e){return oe(this,e).delete(e)}function x(e){return oe(this,e).get(e)}function M(e){return oe(this,e).has(e)}function I(e,t){return oe(this,e).set(e,t),this}function R(e){var t=-1,n=e?e.length:0;for(this.__data__=new S;++t<n;)this.add(e[t])}function N(e){return this.__data__.set(e,Fe),this}function k(e){return this.__data__.has(e)}function A(e){this.__data__=new _(e)}function D(){this.__data__=new _}function L(e){return this.__data__.delete(e)}function j(e){return this.__data__.get(e)}function F(e){return this.__data__.has(e)}function U(e,t){var n=this.__data__;return n instanceof _&&n.__data__.length==je&&(n=this.__data__=new S(n.__data__)),n.set(e,t),this}function q(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}function W(e,t){t=me(t,e)?[t]:$(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ge(t[n++])];return n&&n==r?e:void 0}function V(e,t){return kt.call(e,t)||"object"==typeof e&&t in e&&null===se(e)}function B(e,t){return t in Object(e)}function Y(e,t,n,r,o){return e===t||(null==e||null==t||!Se(e)&&!we(t)?e!==e&&t!==t:H(e,t,Y,n,r,o))}function H(e,t,n,r,o,i){var a=nn(e),s=nn(t),u=Ye,c=Ye;a||(u=ue(e),u=u==Be?Qe:u),s||(c=ue(t),c=c==Be?Qe:c);var d=u==Qe&&!l(e),m=c==Qe&&!l(t),f=u==c;if(f&&!d)return i||(i=new A),a||Ie(e)?te(e,t,n,r,o,i):ne(e,t,u,n,r,o,i);if(!(o&qe)){var p=d&&kt.call(e,"__wrapped__"),h=m&&kt.call(t,"__wrapped__");if(p||h){var y=p?e.value():e,g=h?t.value():t;return i||(i=new A),n(y,g,r,o,i)}}return!!f&&(i||(i=new A),re(e,t,n,r,o,i))}function z(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var u=s[0],l=e[u],c=s[1];if(a&&s[2]){if(void 0===l&&!(u in e))return!1}else{var d=new A;if(r)var m=r(l,c,u,e,t,d);if(!(void 0===m?Y(c,l,r,Ue|qe,d):m))return!1}}return!0}function G(e){return"function"==typeof e?e:null==e?Ae:"object"==typeof e?nn(e)?X(e[0],e[1]):K(e):De(e)}function Z(e){return Wt(Object(e))}function K(e){var t=ie(e);return 1==t.length&&t[0][2]?ye(t[0][0],t[0][1]):function(n){return n===e||z(n,e,t)}}function X(e,t){return me(e)&&he(t)?ye(ge(e),t):function(n){var r=Re(n,e);return void 0===r&&r===t?Ne(n,e):Y(t,r,void 0,Ue|qe)}}function J(e){return function(t){return null==t?void 0:t[e]}}function Q(e){return function(t){return W(t,e)}}function $(e){return nn(e)?e:Le(e)}function ee(e){return function(t){var n=ue(t);return n==Xe?c(t):n==tt?m(t):s(t,e(t))}}function te(e,t,n,r,o,a){var s=o&qe,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var c=a.get(e);if(c)return c==t;var d=-1,m=!0,f=o&Ue?new R:void 0;for(a.set(e,t);++d<u;){var p=e[d],h=t[d];if(r)var y=s?r(h,p,d,t,e,a):r(p,h,d,e,t,a);if(void 0!==y){if(y)continue;m=!1;break}if(f){if(!i(t,function(e,t){if(!f.has(t)&&(p===e||n(p,e,r,o,a)))return f.add(t)})){m=!1;break}}else if(p!==h&&!n(p,h,r,o,a)){m=!1;break}}return a.delete(e),m}function ne(e,t,n,r,o,i,a){switch(n){case at:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case it:return!(e.byteLength!=t.byteLength||!r(new jt(e),new jt(t)));case He:case ze:return+e==+t;case Ge:return e.name==t.name&&e.message==t.message;case Je:return e!=+e?t!=+t:e==+t;case et:case nt:return e==t+"";case Xe:var s=c;case tt:var u=i&qe;if(s||(s=d),e.size!=t.size&&!u)return!1;var l=a.get(e);return l?l==t:(i|=Ue,a.set(e,t),te(s(e),s(t),r,o,i,a));case rt:if(en)return en.call(e)==en.call(t)}return!1}function re(e,t,n,r,o,i){var a=o&qe,s=ke(e),u=s.length,l=ke(t),c=l.length;if(u!=c&&!a)return!1;for(var d=u;d--;){var m=s[d];if(!(a?m in t:V(t,m)))return!1}var f=i.get(e);if(f)return f==t;var p=!0;i.set(e,t);for(var h=a;++d<u;){m=s[d];var y=e[m],g=t[m];if(r)var v=a?r(g,y,m,t,e,i):r(y,g,m,e,t,i);if(!(void 0===v?y===g||n(y,g,r,o,i):v)){p=!1;break}h||(h="constructor"==m)}if(p&&!h){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b)&&(p=!1)}return i.delete(e),p}function oe(e,t){var n=e.__data__;return fe(t)?n["string"==typeof t?"string":"hash"]:n.map}function ie(e){for(var t=rn(e),n=t.length;n--;)t[n][2]=he(t[n][1]);return t}function ae(e,t){var n=e[t];return Oe(n)?n:void 0}function se(e){return qt(Object(e))}function ue(e){return At.call(e)}function le(e,t,n){t=me(t,e)?[t]:$(t);for(var r,o=-1,i=t.length;++o<i;){var a=ge(t[o]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var i=e?e.length:0;return!!i&&Ee(i)&&de(a,i)&&(nn(e)||xe(e)||be(e))}function ce(e){var t=e?e.length:void 0;return Ee(t)&&(nn(e)||xe(e)||be(e))?a(t,String):null}function de(e,t){return t=null==t?Ve:t,!!t&&("number"==typeof e||bt.test(e))&&e>-1&&e%1==0&&e<t}function me(e,t){if(nn(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Me(e))||(gt.test(e)||!yt.test(e)||null!=t&&e in Object(t))}function fe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function pe(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Rt;return e===n}function he(e){return e===e&&!Se(e)}function ye(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function ge(e){if("string"==typeof e||Me(e))return e;var t=e+"";return"0"==t&&1/e==-We?"-0":t}function ve(e){if(null!=e){try{return Nt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function _e(e,t){return e===t||e!==e&&t!==t}function be(e){return Ce(e)&&kt.call(e,"callee")&&(!Ft.call(e,"callee")||At.call(e)==Be)}function Te(e){return null!=e&&Ee(tn(e))&&!Pe(e)}function Ce(e){return we(e)&&Te(e)}function Pe(e){var t=Se(e)?At.call(e):"";return t==Ze||t==Ke}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ve}function Se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function we(e){return!!e&&"object"==typeof e}function Oe(e){if(!Se(e))return!1;var t=Pe(e)||l(e)?Dt:_t;return t.test(ve(e))}function xe(e){return"string"==typeof e||!nn(e)&&we(e)&&At.call(e)==nt}function Me(e){return"symbol"==typeof e||we(e)&&At.call(e)==rt}function Ie(e){return we(e)&&Ee(e.length)&&!!Tt[At.call(e)]}function Re(e,t,n){var r=null==e?void 0:W(e,t);return void 0===r?n:r}function Ne(e,t){return null!=e&&le(e,t,B)}function ke(e){var t=pe(e);if(!t&&!Te(e))return Z(e);var n=ce(e),r=!!n,o=n||[],i=o.length;for(var a in e)!V(e,a)||r&&("length"==a||de(a,i))||t&&"constructor"==a||o.push(a);return o}function Ae(e){return e}function De(e){return me(e)?J(ge(e)):Q(e)}var Le=n(103),je=200,Fe="__lodash_hash_undefined__",Ue=1,qe=2,We=1/0,Ve=9007199254740991,Be="[object Arguments]",Ye="[object Array]",He="[object Boolean]",ze="[object Date]",Ge="[object Error]",Ze="[object Function]",Ke="[object GeneratorFunction]",Xe="[object Map]",Je="[object Number]",Qe="[object Object]",$e="[object Promise]",et="[object RegExp]",tt="[object Set]",nt="[object String]",rt="[object Symbol]",ot="[object WeakMap]",it="[object ArrayBuffer]",at="[object DataView]",st="[object Float32Array]",ut="[object Float64Array]",lt="[object Int8Array]",ct="[object Int16Array]",dt="[object Int32Array]",mt="[object Uint8Array]",ft="[object Uint8ClampedArray]",pt="[object Uint16Array]",ht="[object Uint32Array]",yt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gt=/^\w*$/,vt=/[\\^$.*+?()[\]{}|]/g,_t=/^\[object .+?Constructor\]$/,bt=/^(?:0|[1-9]\d*)$/,Tt={};Tt[st]=Tt[ut]=Tt[lt]=Tt[ct]=Tt[dt]=Tt[mt]=Tt[ft]=Tt[pt]=Tt[ht]=!0,Tt[Be]=Tt[Ye]=Tt[it]=Tt[He]=Tt[at]=Tt[ze]=Tt[Ge]=Tt[Ze]=Tt[Xe]=Tt[Je]=Tt[Qe]=Tt[et]=Tt[tt]=Tt[nt]=Tt[ot]=!1;var Ct={function:!0,object:!0},Pt=Ct[typeof t]&&t&&!t.nodeType?t:void 0,Et=Ct[typeof e]&&e&&!e.nodeType?e:void 0,St=u(Pt&&Et&&"object"==typeof r&&r),wt=u(Ct[typeof self]&&self),Ot=u(Ct[typeof window]&&window),xt=u(Ct[typeof this]&&this),Mt=St||Ot!==(xt&&xt.window)&&Ot||wt||xt||Function("return this")(),It=Array.prototype,Rt=Object.prototype,Nt=Function.prototype.toString,kt=Rt.hasOwnProperty,At=Rt.toString,Dt=RegExp("^"+Nt.call(kt).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Lt=Mt.Symbol,jt=Mt.Uint8Array,Ft=Rt.propertyIsEnumerable,Ut=It.splice,qt=Object.getPrototypeOf,Wt=Object.keys,Vt=ae(Mt,"DataView"),Bt=ae(Mt,"Map"),Yt=ae(Mt,"Promise"),Ht=ae(Mt,"Set"),zt=ae(Mt,"WeakMap"),Gt=ae(Object,"create"),Zt=ve(Vt),Kt=ve(Bt),Xt=ve(Yt),Jt=ve(Ht),Qt=ve(zt),$t=Lt?Lt.prototype:void 0,en=$t?$t.valueOf:void 0;f.prototype.clear=p,f.prototype.delete=h,f.prototype.get=y,f.prototype.has=g,f.prototype.set=v,_.prototype.clear=b,_.prototype.delete=T,_.prototype.get=C,_.prototype.has=P,_.prototype.set=E,S.prototype.clear=w,S.prototype.delete=O,S.prototype.get=x,S.prototype.has=M,S.prototype.set=I,R.prototype.add=R.prototype.push=N,R.prototype.has=k,A.prototype.clear=D,A.prototype.delete=L,A.prototype.get=j,A.prototype.has=F,A.prototype.set=U;var tn=J("length");(Vt&&ue(new Vt(new ArrayBuffer(1)))!=at||Bt&&ue(new Bt)!=Xe||Yt&&ue(Yt.resolve())!=$e||Ht&&ue(new Ht)!=tt||zt&&ue(new zt)!=ot)&&(ue=function(e){var t=At.call(e),n=t==Qe?e.constructor:void 0,r=n?ve(n):void 0;if(r)switch(r){case Zt:return at;case Kt:return Xe;case Xt:return $e;case Jt:return tt;case Qt:return ot}return t});var nn=Array.isArray,rn=ee(ke);e.exports=G}).call(t,n(102)(e),function(){return this}())},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){(function(e,r){function o(e){return e&&e.Object===Object?e:null}function i(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function a(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function s(){this.__data__=ae?ae(null):{}}function u(e){return this.has(e)&&delete this.__data__[e]}function l(e){var t=this.__data__;if(ae){var n=t[e];return n===j?void 0:n}return te.call(t,e)?t[e]:void 0}function c(e){var t=this.__data__;return ae?void 0!==t[e]:te.call(t,e)}function d(e,t){var n=this.__data__;return n[e]=ae&&void 0===t?j:t,this}function m(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function f(){this.__data__=[]}function p(e){var t=this.__data__,n=E(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():oe.call(t,n,1),!0}function h(e){var t=this.__data__,n=E(t,e);return n<0?void 0:t[n][1]}function y(e){return E(this.__data__,e)>-1}function g(e,t){var n=this.__data__,r=E(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function v(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _(){this.__data__={hash:new a,map:new(ie||m),string:new a}}function b(e){return S(this,e).delete(e)}function T(e){return S(this,e).get(e)}function C(e){return S(this,e).has(e)}function P(e,t){return S(this,e).set(e,t),this}function E(e,t){for(var n=e.length;n--;)if(I(e[n][0],t))return n;return-1}function S(e,t){var n=e.__data__;return O(t)?n["string"==typeof t?"string":"hash"]:n.map}function w(e,t){var n=e[t];return k(n)?n:void 0}function O(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function x(e){if(null!=e){try{return ee.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function M(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(L);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(M.Cache||v),n}function I(e,t){return e===t||e!==e&&t!==t}function R(e){var t=N(e)?ne.call(e):"";return t==F||t==U}function N(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function k(e){if(!N(e))return!1;var t=R(e)||i(e)?re:B;return t.test(x(e))}function A(e){return null==e?"":D(e)}var D=n(104),L="Expected a function",j="__lodash_hash_undefined__",F="[object Function]",U="[object GeneratorFunction]",q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,W=/[\\^$.*+?()[\]{}|]/g,V=/\\(\\)?/g,B=/^\[object .+?Constructor\]$/,Y={function:!0,object:!0},H=Y[typeof t]&&t&&!t.nodeType?t:void 0,z=Y[typeof e]&&e&&!e.nodeType?e:void 0,G=o(H&&z&&"object"==typeof r&&r),Z=o(Y[typeof self]&&self),K=o(Y[typeof window]&&window),X=o(Y[typeof this]&&this),J=G||K!==(X&&X.window)&&K||Z||X||Function("return this")(),Q=Array.prototype,$=Object.prototype,ee=Function.prototype.toString,te=$.hasOwnProperty,ne=$.toString,re=RegExp("^"+ee.call(te).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),oe=Q.splice,ie=w(J,"Map"),ae=w(Object,"create");a.prototype.clear=s,a.prototype.delete=u,a.prototype.get=l,a.prototype.has=c,a.prototype.set=d,m.prototype.clear=f,m.prototype.delete=p,m.prototype.get=h,m.prototype.has=y,m.prototype.set=g,v.prototype.clear=_,v.prototype.delete=b,v.prototype.get=T,v.prototype.has=C,v.prototype.set=P;var se=M(function(e){var t=[];return A(e).replace(q,function(e,n,r,o){t.push(r?o.replace(V,"$1"):n||e)}),t});M.Cache=v,e.exports=se}).call(t,n(102)(e),function(){return this}())},function(e,t,n){(function(e,n){function r(e){return e&&e.Object===Object?e:null}function o(e){if("string"==typeof e)return e;if(a(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&v.call(e)==u}var s=1/0,u="[object Symbol]",l={function:!0,object:!0},c=l[typeof t]&&t&&!t.nodeType?t:void 0,d=l[typeof e]&&e&&!e.nodeType?e:void 0,m=r(c&&d&&"object"==typeof n&&n),f=r(l[typeof self]&&self),p=r(l[typeof window]&&window),h=r(l[typeof this]&&this),y=m||p!==(h&&h.window)&&p||f||h||Function("return this")(),g=Object.prototype,v=g.toString,_=y.Symbol,b=_?_.prototype:void 0,T=b?b.toString:void 0;e.exports=o}).call(t,n(102)(e),function(){return this}())},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function r(e,t){var r=S(e)||u(e)?n(e.length,String):[],o=r.length,a=!!o;for(var s in e)!t&&!C.call(e,s)||a&&("length"==s||i(s,o))||r.push(s);return r}function o(e){if(!f(e))return s(e);var t=a(e),n=[];for(var r in e)("constructor"!=r||!t&&C.call(e,r))&&n.push(r);return n}function i(e,t){return t=null==t?y:t,!!t&&("number"==typeof e||b.test(e))&&e>-1&&e%1==0&&e<t}function a(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||T;return e===n}function s(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}function u(e){return c(e)&&C.call(e,"callee")&&(!E.call(e,"callee")||P.call(e)==g)}function l(e){return null!=e&&m(e.length)&&!d(e)}function c(e){return p(e)&&l(e)}function d(e){var t=f(e)?P.call(e):"";return t==v||t==_}function m(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){return!!e&&"object"==typeof e}function h(e){return l(e)?r(e,!0):o(e)}var y=9007199254740991,g="[object Arguments]",v="[object Function]",_="[object GeneratorFunction]",b=/^(?:0|[1-9]\d*)$/,T=Object.prototype,C=T.hasOwnProperty,P=T.toString,E=T.propertyIsEnumerable,S=Array.isArray;e.exports=h},function(e,t,n){function r(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function o(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function i(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function a(){this.__data__=Ge?Ge(null):{}}function s(e){return this.has(e)&&delete this.__data__[e]}function u(e){var t=this.__data__;if(Ge){var n=t[e];return n===se?void 0:n}return We.call(t,e)?t[e]:void 0}function l(e){var t=this.__data__;return Ge?void 0!==t[e]:We.call(t,e)}function c(e,t){var n=this.__data__;return n[e]=Ge&&void 0===t?se:t,this}function d(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(){this.__data__=[]}function f(e){var t=this.__data__,n=R(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():He.call(t,n,1),!0}function p(e){var t=this.__data__,n=R(t,e);return n<0?void 0:t[n][1]}function h(e){return R(this.__data__,e)>-1}function y(e,t){var n=this.__data__,r=R(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function g(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function v(){this.__data__={hash:new i,map:new(ze||d),string:new i}}function _(e){return F(this,e).delete(e)}function b(e){return F(this,e).get(e)}function T(e){return F(this,e).has(e)}function C(e,t){return F(this,e).set(e,t),this}function P(e){this.__data__=new d(e)}function E(){this.__data__=new d}function S(e){return this.__data__.delete(e)}function w(e){return this.__data__.get(e)}function O(e){return this.__data__.has(e)}function x(e,t){var n=this.__data__;return n instanceof d&&n.__data__.length==ae&&(n=this.__data__=new g(n.__data__)),n.set(e,t),this}function M(e,t,n){(void 0===n||Y(e[t],n))&&("number"!=typeof t||void 0!==n||t in e)||(e[t]=n)}function I(e,t,n){var r=e[t];We.call(e,t)&&Y(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function R(e,t){for(var n=e.length;n--;)if(Y(e[n][0],t))return n;return-1}function N(e,t,n,o,i){if(e!==t){if(!Ke(t)&&!$(t))var a=re(t);r(a||t,function(r,s){if(a&&(s=r,r=t[s]),X(r))i||(i=new P),k(e,t,s,n,N,o,i);else{var u=o?o(e[s],r,s+"",e,t,i):void 0;void 0===u&&(u=r),M(e,s,u)}})}}function k(e,t,n,r,o,i,a){var s=e[n],u=t[n],l=a.get(u);if(l)return void M(e,n,l);var c=i?i(s,u,n+"",e,t,a):void 0,d=void 0===c;d&&(c=u,Ke(u)||$(u)?Ke(s)?c=s:G(s)?c=D(s):(d=!1,c=te(u,!0)):ne(u)||H(u)?H(s)?c=ee(s):!X(s)||r&&Z(s)?(d=!1,c=te(u,!0)):c=s:d=!1),a.set(u,c),d&&o(c,u,r,i,a),a.delete(u),M(e,n,c)}function A(e){return function(t){return null==t?void 0:t[e]}}function D(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function L(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=r?r(n[a],e[a],a,n,e):e[a];I(n,a,s)}return n}function j(e){return oe(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&W(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function F(e,t){var n=e.__data__;return V(t)?n["string"==typeof t?"string":"hash"]:n.map}function U(e,t){var n=e[t];return Q(n)?n:void 0}function q(e,t){return t=null==t?ue:t,!!t&&("number"==typeof e||Le.test(e))&&e>-1&&e%1==0&&e<t}function W(e,t,n){if(!X(n))return!1;var r=typeof t;return!!("number"==r?z(n)&&q(t,n.length):"string"==r&&t in n)&&Y(n[t],e)}function V(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function B(e){if(null!=e){try{return qe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Y(e,t){return e===t||e!==e&&t!==t}function H(e){return G(e)&&We.call(e,"callee")&&(!Ye.call(e,"callee")||Ve.call(e)==le)}function z(e){return null!=e&&K(Ze(e))&&!Z(e)}function G(e){return J(e)&&z(e)}function Z(e){var t=X(e)?Ve.call(e):"";return t==pe||t==he}function K(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ue}function X(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function J(e){return!!e&&"object"==typeof e}function Q(e){if(!X(e))return!1;var t=Z(e)||o(e)?Be:De;return t.test(B(e))}function $(e){return J(e)&&K(e.length)&&!!je[Ve.call(e)]}function ee(e){return L(e,re(e))}var te=n(107),ne=n(108),re=n(105),oe=n(109),ie=n(110),ae=200,se="__lodash_hash_undefined__",ue=9007199254740991,le="[object Arguments]",ce="[object Array]",de="[object Boolean]",me="[object Date]",fe="[object Error]",pe="[object Function]",he="[object GeneratorFunction]",ye="[object Map]",ge="[object Number]",ve="[object Object]",_e="[object RegExp]",be="[object Set]",Te="[object String]",Ce="[object WeakMap]",Pe="[object ArrayBuffer]",Ee="[object DataView]",Se="[object Float32Array]",we="[object Float64Array]",Oe="[object Int8Array]",xe="[object Int16Array]",Me="[object Int32Array]",Ie="[object Uint8Array]",Re="[object Uint8ClampedArray]",Ne="[object Uint16Array]",ke="[object Uint32Array]",Ae=/[\\^$.*+?()[\]{}|]/g,De=/^\[object .+?Constructor\]$/,Le=/^(?:0|[1-9]\d*)$/,je={};je[Se]=je[we]=je[Oe]=je[xe]=je[Me]=je[Ie]=je[Re]=je[Ne]=je[ke]=!0,je[le]=je[ce]=je[Pe]=je[de]=je[Ee]=je[me]=je[fe]=je[pe]=je[ye]=je[ge]=je[ve]=je[_e]=je[be]=je[Te]=je[Ce]=!1;var Fe=Array.prototype,Ue=Object.prototype,qe=Function.prototype.toString,We=Ue.hasOwnProperty,Ve=Ue.toString,Be=RegExp("^"+qe.call(We).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ye=Ue.propertyIsEnumerable,He=Fe.splice,ze=U(ie,"Map"),Ge=U(Object,"create");i.prototype.clear=a,i.prototype.delete=s,i.prototype.get=u,i.prototype.has=l,i.prototype.set=c,d.prototype.clear=m,d.prototype.delete=f,d.prototype.get=p,d.prototype.has=h,d.prototype.set=y,g.prototype.clear=v,g.prototype.delete=_,g.prototype.get=b,g.prototype.has=T,g.prototype.set=C,P.prototype.clear=E,P.prototype.delete=S,P.prototype.get=w,P.prototype.has=O,P.prototype.set=x;var Ze=A("length"),Ke=Array.isArray,Xe=j(function(e,t,n){N(e,t,n)});e.exports=Xe},function(e,t,n){(function(e,n){function r(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function i(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function a(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function s(e,t,n,r){var o=-1,i=e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function u(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function l(e){return e&&e.Object===Object?e:null}function c(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function d(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function m(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(){this.__data__=Ut?Ut(null):{}}function h(e){return this.has(e)&&delete this.__data__[e]}function y(e){var t=this.__data__;if(Ut){var n=t[e];return n===Ie?void 0:n}return Ct.call(t,e)?t[e]:void 0}function g(e){var t=this.__data__;return Ut?void 0!==t[e]:Ct.call(t,e)}function v(e,t){var n=this.__data__;return n[e]=Ut&&void 0===t?Ie:t,this}function _(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function b(){this.__data__=[]}function T(e){var t=this.__data__,n=F(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Rt.call(t,n,1),!0}function C(e){var t=this.__data__,n=F(t,e);return n<0?void 0:t[n][1]}function P(e){return F(this.__data__,e)>-1}function E(e,t){var n=this.__data__,r=F(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(){this.__data__={hash:new f,map:new(Dt||_),string:new f}}function O(e){return oe(this,e).delete(e)}function x(e){return oe(this,e).get(e)}function M(e){return oe(this,e).has(e)}function I(e,t){return oe(this,e).set(e,t),this}function R(e){this.__data__=new _(e)}function N(){this.__data__=new _}function k(e){return this.__data__.delete(e)}function A(e){return this.__data__.get(e)}function D(e){return this.__data__.has(e)}function L(e,t){var n=this.__data__;return n instanceof _&&n.__data__.length==Me&&(n=this.__data__=new S(n.__data__)),n.set(e,t),this}function j(e,t,n){var r=e[t];Ct.call(e,t)&&ge(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function F(e,t){for(var n=e.length;n--;)if(ge(e[n][0],t))return n;return-1}function U(e,t){return e&&te(t,Oe(t),e)}function q(e,t,n,r,o,a,s){var u;if(r&&(u=a?r(e,o,a,s):r(e)),void 0!==u)return u;if(!Pe(e))return e;var l=Zt(e);if(l){if(u=le(e),!t)return ee(e,u)}else{var d=ue(e),m=d==je||d==Fe;if(Kt(e))return z(e,t);if(d==We||d==Ne||m&&!a){if(c(e))return a?e:{};if(u=ce(m?{}:e),!t)return ne(e,U(u,e))}else{if(!lt[d])return a?e:{};u=de(e,d,q,t)}}s||(s=new R);var f=s.get(e);if(f)return f;if(s.set(e,u),!l)var p=n?re(e):Oe(e);return i(p||e,function(o,i){p&&(i=o,o=e[i]),j(u,i,q(o,t,n,r,i,e,s))}),u}function W(e){return Pe(e)?Mt(e):{}}function V(e,t,n){var r=t(e);return Zt(e)?r:a(r,n(e))}function B(e,t){return Ct.call(e,t)||"object"==typeof e&&t in e&&null===ae(e)}function Y(e){return kt(Object(e))}function H(e){return function(t){return null==t?void 0:t[e]}}function z(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function G(e){var t=new e.constructor(e.byteLength);return new Ot(t).set(new Ot(e)),t}function Z(e,t){var n=t?G(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function K(e,t,n){var o=t?n(d(e),!0):d(e);return s(o,r,new e.constructor)}function X(e){var t=new e.constructor(e.source,at.exec(e));return t.lastIndex=e.lastIndex,t}function J(e,t,n){var r=t?n(m(e),!0):m(e);return s(r,o,new e.constructor)}function Q(e){return zt?Object(zt.call(e)):{}}function $(e,t){var n=t?G(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ee(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function te(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=r?r(n[a],e[a],a,n,e):e[a];j(n,a,s)}return n}function ne(e,t){return te(e,se(e),t)}function re(e){return V(e,Oe,se)}function oe(e,t){var n=e.__data__;return pe(t)?n["string"==typeof t?"string":"hash"]:n.map}function ie(e,t){var n=e[t];return Se(n)?n:void 0}function ae(e){return Nt(Object(e))}function se(e){return xt(Object(e))}function ue(e){return Pt.call(e)}function le(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&Ct.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ce(e){return"function"!=typeof e.constructor||he(e)?{}:W(ae(e))}function de(e,t,n,r){var o=e.constructor;switch(t){case Ze:return G(e);case Ae:case De:return new o(+e);case Ke:return Z(e,r);case Xe:case Je:case Qe:case $e:case et:case tt:case nt:case rt:case ot:return $(e,r);case Ue:return K(e,r,n);case qe:case He:return new o(e);case Be:return X(e);case Ye:return J(e,r,n);case ze:return Q(e)}}function me(e){var t=e?e.length:void 0;return Ce(t)&&(Zt(e)||we(e)||ve(e))?u(t,String):null}function fe(e,t){return t=null==t?Re:t,!!t&&("number"==typeof e||ut.test(e))&&e>-1&&e%1==0&&e<t}function pe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function he(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||bt;return e===n}function ye(e){if(null!=e){try{return Tt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ge(e,t){return e===t||e!==e&&t!==t}function ve(e){return be(e)&&Ct.call(e,"callee")&&(!It.call(e,"callee")||Pt.call(e)==Ne)}function _e(e){return null!=e&&Ce(Gt(e))&&!Te(e)}function be(e){return Ee(e)&&_e(e)}function Te(e){var t=Pe(e)?Pt.call(e):"";return t==je||t==Fe}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Re}function Pe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ee(e){return!!e&&"object"==typeof e}function Se(e){if(!Pe(e))return!1;var t=Te(e)||c(e)?Et:st;return t.test(ye(e))}function we(e){return"string"==typeof e||!Zt(e)&&Ee(e)&&Pt.call(e)==He}function Oe(e){var t=he(e);if(!t&&!_e(e))return Y(e);var n=me(e),r=!!n,o=n||[],i=o.length;for(var a in e)!B(e,a)||r&&("length"==a||fe(a,i))||t&&"constructor"==a||o.push(a);return o}function xe(e){return function(){return e}}var Me=200,Ie="__lodash_hash_undefined__",Re=9007199254740991,Ne="[object Arguments]",ke="[object Array]",Ae="[object Boolean]",De="[object Date]",Le="[object Error]",je="[object Function]",Fe="[object GeneratorFunction]",Ue="[object Map]",qe="[object Number]",We="[object Object]",Ve="[object Promise]",Be="[object RegExp]",Ye="[object Set]",He="[object String]",ze="[object Symbol]",Ge="[object WeakMap]",Ze="[object ArrayBuffer]",Ke="[object DataView]",Xe="[object Float32Array]",Je="[object Float64Array]",Qe="[object Int8Array]",$e="[object Int16Array]",et="[object Int32Array]",tt="[object Uint8Array]",nt="[object Uint8ClampedArray]",rt="[object Uint16Array]",ot="[object Uint32Array]",it=/[\\^$.*+?()[\]{}|]/g,at=/\w*$/,st=/^\[object .+?Constructor\]$/,ut=/^(?:0|[1-9]\d*)$/,lt={};lt[Ne]=lt[ke]=lt[Ze]=lt[Ke]=lt[Ae]=lt[De]=lt[Xe]=lt[Je]=lt[Qe]=lt[$e]=lt[et]=lt[Ue]=lt[qe]=lt[We]=lt[Be]=lt[Ye]=lt[He]=lt[ze]=lt[tt]=lt[nt]=lt[rt]=lt[ot]=!0,lt[Le]=lt[je]=lt[Ge]=!1;var ct={function:!0,object:!0},dt=ct[typeof t]&&t&&!t.nodeType?t:void 0,mt=ct[typeof e]&&e&&!e.nodeType?e:void 0,ft=mt&&mt.exports===dt?dt:void 0,pt=l(dt&&mt&&"object"==typeof n&&n),ht=l(ct[typeof self]&&self),yt=l(ct[typeof window]&&window),gt=l(ct[typeof this]&&this),vt=pt||yt!==(gt&&gt.window)&&yt||ht||gt||Function("return this")(),_t=Array.prototype,bt=Object.prototype,Tt=Function.prototype.toString,Ct=bt.hasOwnProperty,Pt=bt.toString,Et=RegExp("^"+Tt.call(Ct).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),St=ft?vt.Buffer:void 0,wt=vt.Symbol,Ot=vt.Uint8Array,xt=Object.getOwnPropertySymbols,Mt=Object.create,It=bt.propertyIsEnumerable,Rt=_t.splice,Nt=Object.getPrototypeOf,kt=Object.keys,At=ie(vt,"DataView"),Dt=ie(vt,"Map"),Lt=ie(vt,"Promise"),jt=ie(vt,"Set"),Ft=ie(vt,"WeakMap"),Ut=ie(Object,"create"),qt=ye(At),Wt=ye(Dt),Vt=ye(Lt),Bt=ye(jt),Yt=ye(Ft),Ht=wt?wt.prototype:void 0,zt=Ht?Ht.valueOf:void 0;f.prototype.clear=p,f.prototype.delete=h,f.prototype.get=y,f.prototype.has=g,f.prototype.set=v,_.prototype.clear=b,_.prototype.delete=T,_.prototype.get=C,_.prototype.has=P,_.prototype.set=E,S.prototype.clear=w,S.prototype.delete=O,S.prototype.get=x,S.prototype.has=M,S.prototype.set=I,R.prototype.clear=N,R.prototype.delete=k,R.prototype.get=A,R.prototype.has=D,R.prototype.set=L;var Gt=H("length");xt||(se=function(){return[]}),(At&&ue(new At(new ArrayBuffer(1)))!=Ke||Dt&&ue(new Dt)!=Ue||Lt&&ue(Lt.resolve())!=Ve||jt&&ue(new jt)!=Ye||Ft&&ue(new Ft)!=Ge)&&(ue=function(e){var t=Pt.call(e),n=t==We?e.constructor:void 0,r=n?ye(n):void 0;if(r)switch(r){case qt:return Ke;case Wt:return Ue;case Vt:return Ve;case Bt:return Ye;case Yt:return Ge}return t});var Zt=Array.isArray,Kt=St?function(e){ return e instanceof St}:xe(!1);e.exports=q}).call(t,n(102)(e),function(){return this}())},function(e,t){function n(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function r(e,t){return function(n){return e(t(n))}}function o(e){return!!e&&"object"==typeof e}function i(e){if(!o(e)||m.call(e)!=a||n(e))return!1;var t=f(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==d}var a="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,d=l.call(Object),m=u.toString,f=r(Object.getPrototypeOf,Object);e.exports=i},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){return t=P(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=P(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function o(e,t){if("function"!=typeof e)throw new TypeError(d);return t=void 0===t?t:l(t),r(e,t)}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return!!e&&"object"==typeof e}function s(e){return"symbol"==typeof e||a(e)&&C.call(e)==h}function u(e){if(!e)return 0===e?e:0;if(e=c(e),e===m||e===-m){var t=e<0?-1:1;return t*f}return e===e?e:0}function l(e){var t=u(e),n=t%1;return t===t?n?t-n:t:0}function c(e){if("number"==typeof e)return e;if(s(e))return p;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(y,"");var n=v.test(e);return n||_.test(e)?b(e.slice(2),n?2:8):g.test(e)?p:+e}var d="Expected a function",m=1/0,f=1.7976931348623157e308,p=NaN,h="[object Symbol]",y=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,_=/^0o[0-7]+$/i,b=parseInt,T=Object.prototype,C=T.toString,P=Math.max;e.exports=o},function(e,t,n){(function(e,n){function r(e){return e&&e.Object===Object?e:null}var o={function:!0,object:!0},i=o[typeof t]&&t&&!t.nodeType?t:void 0,a=o[typeof e]&&e&&!e.nodeType?e:void 0,s=r(i&&a&&"object"==typeof n&&n),u=r(o[typeof self]&&self),l=r(o[typeof window]&&window),c=r(o[typeof this]&&this),d=s||l!==(c&&c.window)&&l||u||c||Function("return this")();e.exports=d}).call(t,n(102)(e),function(){return this}())},function(e,t){(function(t){function n(e,t,n){function r(t){var n=h,r=y;return h=y=void 0,E=t,v=e.apply(r,n)}function i(e){return E=e,_=setTimeout(c,t),S?r(e):v}function a(e){var n=e-b,r=e-E,o=t-n;return w?C(o,g-r):o}function l(e){var n=e-b,r=e-E;return void 0===b||n>=t||n<0||w&&r>=g}function c(){var e=P();return l(e)?d(e):void(_=setTimeout(c,a(e)))}function d(e){return _=void 0,O&&h?r(e):(h=y=void 0,v)}function m(){void 0!==_&&clearTimeout(_),E=0,h=b=y=_=void 0}function f(){return void 0===_?v:d(P())}function p(){var e=P(),n=l(e);if(h=arguments,y=this,b=e,n){if(void 0===_)return i(b);if(w)return _=setTimeout(c,t),r(b)}return void 0===_&&(_=setTimeout(c,t)),v}var h,y,g,v,_,b,E=0,S=!1,w=!1,O=!0;if("function"!=typeof e)throw new TypeError(u);return t=s(t)||0,o(n)&&(S=!!n.leading,w="maxWait"in n,g=w?T(s(n.maxWait)||0,t):g,O="trailing"in n?!!n.trailing:O),p.cancel=m,p.flush=f,p}function r(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(u);return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&b.call(e)==c}function s(e){if("number"==typeof e)return e;if(a(e))return l;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=f.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):m.test(e)?l:+e}var u="Expected a function",l=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,y="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,v=y||g||Function("return this")(),_=Object.prototype,b=_.toString,T=Math.max,C=Math.min,P=function(){return v.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsBootstrap=void 0;var o=n(113),i=r(o),a=n(117),s=r(a),u=n(2),l=r(u),c=n(120),d=r(c),m=n(44),f=r(m),p=n(49),h=r(p),y=n(50),g=r(y),v=n(54),_=r(v),b=n(87),T=r(b);n(97);var C=n(95),P=r(C),E=n(143),S=r(E),w=n(144),O=n(164),x=n(158),M=n(260),I=n(155),R=n(159),N=r(R),k=n(193),A=n(161),D=n(271),L=n(272),j=n(256),F=n(273),U=r(F),q=n(177),W=n(275),V=r(W),B=n(282),Y=r(B),H=n(283),z=n(445),G=n(446),Z=n(233),K=r(Z),X=n(98),J=function(e){function t(e){(0,h.default)(this,t);var n=(0,_.default)(this,(t.__proto__||(0,f.default)(t)).call(this,e));n.state={idctaData:{},errorMessage:null,personalisationDetails:{enabled:!1},isPageLoading:!0,noJS:!0,displayName:"",under16:!1};var r=n.props.commentsAggregator.body.forumData;return(0,x.setEnv)(e.commentsData.body.env),(0,M.addModeSupport)({mode:e.mode,component:n}),n.config=(0,G.getConfig)({siteConfig:r.config,overrideProps:(0,X.pick)(e,G.overridableProps),toggleOverrides:n.props.toggleOverrides,shouldOverrideConfig:"true"===n.props.overrideConfig}),n.featureToggles=(0,q.setupFeatureToggles)(n.config.featureToggles),n.theme=V.default.use({component:n,themeVariant:n.config.theme,product:n.config.subtheme}),n.commentsComponent=n.shouldShowViewCommentsButton()?(0,z.withViewCommentsButton)(w.CommentsModule):w.CommentsModule,n}return(0,T.default)(t,e),(0,g.default)(t,[{key:"shouldShowViewCommentsButton",value:function(){return this.config.initialView===L.initialViewOptions.BUTTON}},{key:"setErrorMessage",value:function(e){var t=(0,k.getMessageKeyForError)(e),n=this.theme.formatMessage(t);this.setState({errorMessage:n})}},{key:"isIdAvailable",value:function(){return this.props.idAvailabilityData.body.isAvailable}},{key:"onIdctaError",value:function(){this.setState({personalisationDetails:{enabled:!1}}),this.setErrorMessage(A.ErrorTypes.IDCTA_FAILED)}},{key:"hasIdctaCss",value:function(){return Array.isArray(this.state.idctaCss)&&this.state.idctaCss.length>0}},{key:"fetchIdctaInfo",value:function(){var e=this,t=this.props,n=t.idctaEnv,r=t.signInContext,o=t.embeddingPageUri,i=this.props.commentsData.body.idcta.policy,a=this.isIdAvailable();return N.default.getIdctaInfo({idctaEnv:n,policy:i,signInContext:r,shouldCallIdcta:a,embeddingPageUri:o}).then(function(t){return e.setState({idctaData:t,personalisationDetails:{enabled:e.isIdAvailable()}})}).catch(function(){return e.onIdctaError()})}},{key:"fetchUserInfo",value:function(){var e=this;return N.default.getUserDetailsFromCookie().then(function(t){return e.setState({displayName:t.displayName?t.displayName:"",under16:t.ageBracket===Y.default.under13||t.ageBracket===Y.default.under16})}).catch(function(){return e.onIdctaError()})}},{key:"setupModeAndStylesOnBrowser",value:function(){var e=this;return(0,M.addModeSupportOnBrowser)(this.props).then(function(t){var n=t.idctaCss;n&&e.setState({idctaCss:n})})}},{key:"setPageLoadingComplete",value:function(){this.setState({isPageLoading:!1})}},{key:"fetchPersonalisationDetails",value:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(s.default.mark(function e(){var t,n,r,o,i,a;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.apiKey,r=t.forumId,o=this.props.commentsData.body,e.next=4,U.default.getPersonalisationDetails({apiKey:n,forumData:o,forumId:r});case 4:i=e.sent,a=(0,l.default)({},this.state.personalisationDetails,i),this.setState({personalisationDetails:a});case 7:case"end":return e.stop()}},e,this)}));return e}()},{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(s.default.mark(function e(){var t,n,r,o,i=this;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.featureToggles.isFeatureEnabled(q.FeaturesToggles.liveUpdate),t&&(this.triggerLiveUpdateTimer=setTimeout(function(){i.props.setDataParams({parentCommentId:null,nextIndexToLoadFrom:null,requestType:K.default.newComments})},(0,I.secondsToMillis)(10))),this.setState({noJS:!1}),e.next=5,this.setupModeAndStylesOnBrowser();case 5:return e.next=7,this.fetchIdctaInfo();case 7:if(n=this.state.idctaData,r=n&&n.signedIn===!0,o=Boolean(n.policyCheck)===!1,!r){e.next=20;break}return e.next=13,this.fetchUserInfo();case 13:if(!(0,I.not)(this.isIdAvailable())){e.next=17;break}this.setErrorMessage(A.ErrorTypes.ID_UNAVAILABLE),e.next=20;break;case 17:if(!o){e.next=20;break}return e.next=20,this.fetchPersonalisationDetails();case 20:this.setPageLoadingComplete();case 21:case"end":return e.stop()}},e,this)}));return e}()},{key:"componentWillUnmount",value:function(){clearTimeout(this.triggerLiveUpdateTimer)}},{key:"getChildContext",value:function(){return{apiKey:this.props.apiKey,forumId:this.props.forumId,isFeatureEnabled:this.featureToggles.isFeatureEnabled,triggerAggregatorDataFetch:this.props.setDataParams,theme:this.theme,noJS:this.state.noJS}}},{key:"render",value:function(){var e=this.props.commentsAggregator.body,t=e.forumData,n=e.loadedComments,r=e.latestResponseType,o=e.sortOrder,i=e.fetchingSortedComments,a=e.canLoadMore,s=parseInt(this.config.pageSize,10)||D.PAGE_SIZE,u=D.REPLIES_PAGE_SIZE,l=this.props.version||"unknown",c=this.props.embeddingPageTitle&&this.props.embeddingPageUri;return P.default.createElement("div",{className:(0,S.default)("comments-module-container",{"mozart-iframe-height-target":c},{"comments--loading":this.state.isPageLoading,"comments--no-js":this.state.noJS})},P.default.createElement(H.CommentsStatsProvider,{forumData:t,themeVariant:this.config.theme},P.default.createElement(this.commentsComponent,{forumData:t,loadedComments:n,idctaData:this.state.idctaData,personalisationDetails:this.state.personalisationDetails,errorMessage:this.state.errorMessage,pageSize:s,repliesPageSize:u,commentsTitle:this.props.commentsTitle,displayName:this.state.displayName,forumId:this.props.forumId,latestResponseType:r,sortOrder:o,fetchingSortedComments:i,canLoadMore:a,isPageLoading:this.state.isPageLoading,embeddingPageUri:this.props.embeddingPageUri,embeddingPageTitle:this.props.embeddingPageTitle})),this.hasIdctaCss()&&P.default.createElement(O.Stylesheets,{stylesheets:this.state.idctaCss}),P.default.createElement("span",{id:"comments-view-version","aria-hidden":"true",style:{display:"none !important"}},l))}}]),t}(C.Component);J.displayName="CommentsBootstrap",J.propTypes={idctaEnv:C.PropTypes.string,signInContext:C.PropTypes.string,mode:C.PropTypes.string,commentsData:C.PropTypes.object.isRequired,commentsAggregator:C.PropTypes.object.isRequired,idAvailabilityData:C.PropTypes.object.isRequired,forumId:C.PropTypes.string.isRequired,setDataParams:C.PropTypes.func.isRequired,apiKey:C.PropTypes.string.isRequired,embeddingPageUri:C.PropTypes.string,embeddingPageTitle:C.PropTypes.string,toggleOverrides:C.PropTypes.string,commentsTitle:C.PropTypes.string,version:C.PropTypes.string,pageSize:C.PropTypes.string,theme:C.PropTypes.oneOf((0,i.default)(j.ThemeVariants)),product:C.PropTypes.oneOf((0,i.default)(j.Products)),initialView:C.PropTypes.oneOf((0,i.default)(L.initialViewOptions)),overrideConfig:C.PropTypes.string},J.defaultProps={mode:M.MODE_STANDALONE,theme:null,product:null,initialView:null,embeddingPageUri:null,embeddingPageTitle:null,toggleOverrides:null,overrideConfig:"false"},J.childContextTypes={noJS:C.PropTypes.bool.isRequired,apiKey:C.PropTypes.string.isRequired,forumId:C.PropTypes.string.isRequired,isFeatureEnabled:C.PropTypes.func.isRequired,triggerAggregatorDataFetch:C.PropTypes.func.isRequired,theme:C.PropTypes.shape({themeVariant:C.PropTypes.oneOf((0,i.default)(j.ThemeVariants)),product:C.PropTypes.oneOf((0,i.default)(j.Products)),formatMessage:C.PropTypes.func.isRequired,getIcon:C.PropTypes.func.isRequired,ratingsNumberPlacement:C.PropTypes.string.isRequired,productLabel:C.PropTypes.string.isRequired}).isRequired},t.CommentsBootstrap=J},function(e,t,n){e.exports={default:n(114),__esModule:!0}},function(e,t,n){n(115),e.exports=n(8).Object.values},function(e,t,n){var r=n(6),o=n(116)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(16),o=n(23),i=n(25),a=n(39).f;e.exports=function(e){return function(t){for(var n,s=i(t),u=o(s),l=u.length,c=0,d=[];l>c;)n=u[c++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){e.exports=n(118)},function(e,t,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(119),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new f(r||[]);return a._invoke=l(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){function t(n,o,i,a){var s=r(e[n],e,o);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&v.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(l).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function l(e,t,n){var o=S;return function(i,a){if(o===O)throw new Error("Generator is already running");if(o===x){if("throw"===i)throw a;return h()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=c(s,n);if(u){if(u===M)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===S)throw o=x,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=O;var l=r(e,t,n);if("normal"===l.type){if(o=n.done?x:w,l.arg===M)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=x,n.method="throw",n.arg=l.arg)}}}function c(e,t){var n=e.iterator[t.method];if(n===y){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=y,c(e,t),"throw"===t.method))return M;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return M}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,M;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=y),t.delegate=null,M):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,M)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function p(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=y,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:y,done:!0}}var y,g=Object.prototype,v=g.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",T=_.asyncIterator||"@@asyncIterator",C=_.toStringTag||"@@toStringTag",P="object"==typeof e,E=t.regeneratorRuntime;if(E)return void(P&&(e.exports=E));E=t.regeneratorRuntime=P?e.exports:{},E.wrap=n;var S="suspendedStart",w="suspendedYield",O="executing",x="completed",M={},I={};I[b]=function(){return this};var R=Object.getPrototypeOf,N=R&&R(R(p([])));N&&N!==g&&v.call(N,b)&&(I=N);var k=a.prototype=o.prototype=Object.create(I);i.prototype=k.constructor=a,a.constructor=i,a[C]=i.displayName="GeneratorFunction",E.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},E.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,C in e||(e[C]="GeneratorFunction")),e.prototype=Object.create(k),e},E.awrap=function(e){return{__await:e}},s(u.prototype),u.prototype[T]=function(){return this},E.AsyncIterator=u,E.async=function(e,t,r,o){var i=new u(n(e,t,r,o));return E.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(k),k[C]="Generator",k[b]=function(){return this},k.toString=function(){return"[object Generator]"},E.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},E.values=p,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=y)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=y),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=v.call(o,"catchLoc"),s=v.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,M):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),M},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;m(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=y),M}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(121),i=r(o);t.default=function(e){return function(){var t=e.apply(this,arguments);return new i.default(function(e,n){function r(o,a){try{var s=t[o](a),u=s.value}catch(e){return void n(e)}return s.done?void e(u):i.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}},function(e,t,n){e.exports={default:n(122),__esModule:!0}},function(e,t,n){n(84),n(58),n(69),n(123),n(141),n(142),e.exports=n(8).Promise},function(e,t,n){"use strict";var r,o,i,a,s=n(35),u=n(7),l=n(9),c=n(124),d=n(6),m=n(14),f=n(10),p=n(125),h=n(126),y=n(130),g=n(131).set,v=n(133)(),_=n(134),b=n(135),T=n(136),C=n(137),P="Promise",E=u.TypeError,S=u.process,w=S&&S.versions,O=w&&w.v8||"",x=u[P],M="process"==c(S),I=function(){},R=o=_.f,N=!!function(){try{var e=x.resolve(1),t=(e.constructor={})[n(68)("species")]=function(e){e(I,I)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(I)instanceof t&&0!==O.indexOf("6.6")&&T.indexOf("Chrome/66")===-1}catch(e){}}(),k=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,u=t.resolve,l=t.reject,c=t.domain;try{s?(o||(2==e._h&&j(e),e._h=1),s===!0?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?l(E("Promise-chain cycle")):(i=k(n))?i.call(n,u,l):u(n)):l(r)}catch(e){c&&!a&&c.exit(),l(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&D(e)})}},D=function(e){g.call(u,function(){var t,n,r,o=e._v,i=L(e);if(i&&(t=b(function(){M?S.emit("unhandledRejection",o,e):(n=u.onunhandledrejection)?n({promise:e,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=M||L(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;M?S.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},U=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=k(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,l(U,r,1),l(F,r,1))}catch(e){F.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};N||(x=function(e){p(this,x,P,"_h"),f(e),r.call(this);try{e(l(U,this,1),l(F,this,1))}catch(e){F.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(138)(x.prototype,{then:function(e,t){var n=R(y(this,x));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=l(U,e,1),this.reject=l(F,e,1)},_.f=R=function(e){return e===x||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!N,{Promise:x}),n(67)(x,P),n(139)(P),a=n(8)[P],d(d.S+d.F*!N,P,{reject:function(e){var t=R(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!N),P,{resolve:function(e){return C(s&&this===a?x:this,e)}}),d(d.S+d.F*!(N&&n(140)(function(e){x.all(e).catch(I)})),P,{all:function(e){var t=this,n=R(t),r=n.resolve,o=n.reject,i=b(function(){var n=[],i=0,a=1;h(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=R(t),r=n.reject,o=b(function(){h(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(27),o=n(68)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(9),o=n(127),i=n(128),a=n(13),s=n(30),u=n(129),l={},c={},t=e.exports=function(e,t,n,d,m){var f,p,h,y,g=m?function(){return e}:u(e),v=r(n,d,t?2:1),_=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(f=s(e.length);f>_;_++)if(y=t?v(a(p=e[_])[0],p[1]):v(e[_]),y===l||y===c)return y}else for(h=g.call(e);!(p=h.next()).done;)if(y=o(h,v,p.value,t),y===l||y===c)return y};t.BREAK=l,t.RETURN=c},function(e,t,n){var r=n(13);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(62),o=n(68)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(124),o=n(68)("iterator"),i=n(62);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(13),o=n(10),i=n(68)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(9),s=n(132),u=n(66),l=n(18),c=n(7),d=c.process,m=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,h=c.Dispatch,y=0,g={},v="onreadystatechange",_=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){_.call(e.data)};m&&f||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++y]=function(){s("function"==typeof e?e:Function(e),t)},r(y),y},f=function(e){delete g[e]},"process"==n(27)(d)?r=function(e){d.nextTick(a(_,e,1))}:h&&h.now?r=function(e){h.now(a(_,e,1))}:p?(o=new p,i=o.port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r=v in l("script")?function(e){u.appendChild(l("script"))[v]=function(){u.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),e.exports={set:m,clear:f}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(7),o=n(131).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(27)(a);e.exports=function(){var e,t,n,l=function(){var r,o;for(u&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(l)}}else n=function(){o.call(r,l)};else{var d=!0,m=document.createTextNode("");new i(l).observe(m,{characterData:!0}),n=function(){m.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(10);e.exports.f=function(e){return new r(e)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(7),o=r.navigator;e.exports=o&&o.userAgent||""},function(e,t,n){var r=n(13),o=n(14),i=n(134);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e),a=n.resolve;return a(t),n.promise}},function(e,t,n){var r=n(11);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(7),o=n(8),i=n(12),a=n(16),s=n(68)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(68)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(6),o=n(8),i=n(7),a=n(130),s=n(137);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(6),o=n(134),i=n(135);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsModule=void 0;var o=n(145),i=r(o),a=n(2),s=r(a),u=n(148),l=r(u),c=n(113),d=r(c),m=n(44),f=r(m),p=n(49),h=r(p),y=n(50),g=r(y),v=n(54),_=r(v),b=n(87),T=r(b),C=n(95),P=r(C),E=n(143),S=r(E),w=n(149),O=n(150),x=n(164),M=n(247),I=n(252),R=n(184),N=n(190),k=n(155),A=n(193),D=n(161),L=n(207),j=r(L),F=n(195),U=r(F),q=n(253),W=n(254),V=n(255),B=n(256),Y=n(177),H=n(233),z=r(H),G=n(248),Z=r(G),K=n(250),X=n(257),J=r(X),Q=n(258),$=n(197),ee=n(259),te=n(196),ne=r(te),re=void 0,oe={slowMessageTimeInSeconds:5,errorMessageTimeInSeconds:36},ie=6e4,ae=3e4,se=function(e){function t(e){(0,h.default)(this,t);var n=(0,_.default)(this,(t.__proto__||(0,f.default)(t)).call(this,e));return n.state={visibleComments:[],hiddenNewlyPostedComments:[],totalCommentsCount:n.getForumData().totalCommentsCount,isWaitingForMoreCommentsToLoad:!1,hasFailedToLoadMoreComments:!1,hasFailedToSortComments:!1,hasForumClosedRecently:!1,audibleAlertMessage:"",audiblePoliteMessage:"",focusOnCommentId:0,statsBackToTopClickedPage:0},n.bindFunctions(["loadMoreComments","startLoadingMoreCommentsTimer","stopLoadingMoreCommentsTimer","startSortingCommentsTimer","stopSortingCommentsTimer","displayNewlyPostedComments","setA11yAlertText","postCommentHandler","handleSort","showPageOfComments","userHasPolicyError","handleSortError","backToTopOnClick","isNewSortResponse"]),n.sortingCommentsTimer=null,n}return(0,T.default)(t,e),(0,g.default)(t,[{key:"bindFunctions",value:function(e){var t=this;e.forEach(function(e){t[e]=t[e].bind(t)})}},{key:"postCommentHandler",value:function(e){var t=this.context.apiKey,n=this.props,r=n.forumId,o=n.embeddingPageUri,i=n.embeddingPageTitle,a=this.props.forumData,s=a.createForum,u=a.siteName,l={embeddingPageUri:o,embeddingPageTitle:i};return(0,O.postComment)({apiKey:t,siteName:u,forumId:r,commentText:e,createForum:s,embeddingPageOpts:l})}},{key:"getForumData",value:function(){return this.props.forumData}},{key:"getPageSize",value:function(){return this.props.pageSize}},{key:"isForumClosed",value:function(){return this.getForumData().isClosed}},{key:"isForumOpen",value:function(){return!this.isForumClosed()}},{key:"getLoadedComments",value:function(){return this.props.loadedComments}},{key:"hasComments",value:function(){return this.getLoadedComments().length>0}},{key:"hasNoComments",value:function(){return!this.hasComments()}},{key:"hasVisibleComments",value:function(){return this.state.visibleComments.length>0}},{key:"getIdctaData",value:function(){return this.props.idctaData}},{key:"isSignedIn",value:function(){return this.getIdctaData().signedIn===!0}},{key:"isSignedOut",value:function(){return this.getIdctaData().signedIn===!1}},{key:"isIFrameEmbedded",value:function(){return this.props.embeddingPageTitle&&this.props.embeddingPageUri}},{key:"userHasPolicyError",value:function(){return Boolean(this.getIdctaData().policyCheck)}},{key:"userCanComment",value:function(){return this.isSignedIn()&&this.userHasPolicyError()===!1&&(this.isForumOpen()||this.isUserAnEditor()||this.hasForumClosedRecently())}},{key:"getErrorMessage",value:function(){return this.props.errorMessage}},{key:"hasError",value:function(){return null!==this.getErrorMessage()}},{key:"isPersonalisationEnabled",value:function(){return this.props.personalisationDetails.enabled}},{key:"isUserAnEditor",value:function(){return this.props.personalisationDetails.isEditor===!0}},{key:"isRatingEnabled",value:function(){return this.isForumOpen()&&this.isPersonalisationEnabled()}},{key:"userCanPostToForum",value:function(){return this.isPersonalisationEnabled()&&(this.isForumOpen()||this.isUserAnEditor())}},{key:"hasMoreComments",value:function(){var e=this.getLoadedCommentsWithoutNewlyPosted(),t=this.state.visibleComments; return this.props.canLoadMore||e.length>t.length}},{key:"getCurrentPageNumber",value:function(){return Math.ceil(this.state.visibleComments.length/this.getPageSize())}},{key:"getNextIndexToLoadFrom",value:function(){var e=this.getLoadedComments(),t=Q.getNextIndexToLoadFromBySortOrder[this.props.sortOrder];return t(e)}},{key:"canShowNextPageOfComments",value:function(){var e=this.getLoadedCommentsWithoutNewlyPosted().length,t=this.state.visibleComments.length+this.getPageSize();return!this.props.canLoadMore||e>=t}},{key:"startLoadingMoreCommentsTimer",value:function(){var e=this;this.loadingMoreCommentsTimer=setTimeout(function(){e.setState({hasFailedToLoadMoreComments:!0,isWaitingForMoreCommentsToLoad:!1}),e.setA11yAlertText(e.getLoadingMoreCommentsErrorMessage())},(0,k.secondsToMillis)(oe.errorMessageTimeInSeconds))}},{key:"stopLoadingMoreCommentsTimer",value:function(){this.loadingMoreCommentsTimer&&clearTimeout(this.loadingMoreCommentsTimer)}},{key:"handleSortError",value:function(){var e=this.context.theme.formatMessage("commentsSortError");(0,$.sendSortErrorStat)(this.context,Z.default[this.props.sortOrder].statsName),this.setState({hasFailedToSortComments:!0}),this.stopSortingCommentsTimer(),this.setA11yAlertText(e,J.default.POLITE)}},{key:"startSortingCommentsTimer",value:function(){this.sortingCommentsTimer=setTimeout(this.handleSortError,ae)}},{key:"stopSortingCommentsTimer",value:function(){this.sortingCommentsTimer&&(clearTimeout(this.sortingCommentsTimer),this.sortingCommentsTimer=null)}},{key:"getLoadingMoreCommentsErrorMessage",value:function(){return this.context.theme.formatMessage((0,A.getMessageKeyForError)(D.ErrorTypes.MORE_COMMENTS_FAILED))}},{key:"loadMoreComments",value:function(){this.setState({hasFailedToLoadMoreComments:!1}),this.canShowNextPageOfComments()?this.showNextPageOfComments():(this.setState({isWaitingForMoreCommentsToLoad:!0}),this.startLoadingMoreCommentsTimer()),this.props.canLoadMore&&this.context.triggerAggregatorDataFetch({parentCommentId:null,nextIndexToLoadFrom:this.getNextIndexToLoadFrom(),requestType:z.default.moreComments})}},{key:"showInitialPageOfComments",value:function(){var e=this.getPageSize(),t=this.getLoadedComments();this.showPageOfComments(t,e)}},{key:"showPageOfComments",value:function(e,t){var n=t,r=e.slice(0,n);this.setState({visibleComments:r,isWaitingForMoreCommentsToLoad:!1}),this.stopLoadingMoreCommentsTimer()}},{key:"showNextPageOfComments",value:function(){var e=this.state.visibleComments.length+this.getPageSize(),t=this.getLoadedCommentsWithoutNewlyPosted().slice(0,e),n=this.getIdOfLastLoadedVisibleComment();this.setState({focusOnCommentId:n}),this.setState({visibleComments:t,isWaitingForMoreCommentsToLoad:!1}),this.stopLoadingMoreCommentsTimer()}},{key:"getIdOfLastLoadedVisibleComment",value:function(){var e=this.state.visibleComments;return e[e.length-1].id}},{key:"getLoadedCommentsWithoutNewlyPosted",value:function(){var e=this.getLoadedComments();if(this.props.sortOrder!==Z.default.NewestFirst.name)return e;var t=this.state.visibleComments.length?this.state.visibleComments[0].index:-1;return e.filter(function(e){return e.index<=t})}},{key:"getNewlyPostedComments",value:function(e){var t=this.state.visibleComments.length?this.state.visibleComments[0].index:-1;return e.filter(function(e){return e.index>t})}},{key:"displayNewlyPostedComments",value:function(){this.setState({totalCommentsCount:this.props.forumData.totalCommentsCount}),this.setState({hiddenNewlyPostedComments:[]}),this.showInitialPageOfComments()}},{key:"isNewSortResponse",value:function(e){return this.props.fetchingSortedComments&&!e.fetchingSortedComments&&e.latestResponseType===z.default.sort}},{key:"componentWillMount",value:function(){this.showInitialPageOfComments()}},{key:"componentWillReceiveProps",value:function(e){if(this.isForumOpen()&&e.forumData.isClosed===!0?this.setState({hasForumClosedRecently:!0}):this.isForumClosed()&&e.forumData.isClosed===!1&&this.setState({hasForumClosedRecently:!1}),this.isNewSortResponse(e)){var t="commentsSort"+this.props.sortOrder,n=this.context.theme.formatMessage(t),r=this.context.theme.formatMessage("commentsSortSuccessful",{sortOrder:n});this.stopSortingCommentsTimer(),this.setA11yAlertText(r,J.default.POLITE),this.setState({hiddenNewlyPostedComments:[],totalCommentsCount:e.forumData.totalCommentsCount}),this.showPageOfComments(e.loadedComments,e.pageSize)}e.latestResponseType===z.default.newComments&&this.props.sortOrder===Z.default.NewestFirst.name&&this.setState({hiddenNewlyPostedComments:this.getNewlyPostedComments(e.loadedComments)}),!e.isPageLoading&&this.props.isPageLoading&&this.handlePageLoaded()}},{key:"componentDidUpdate",value:function(e,t){this.props.autoFocusHeader&&!e.autoFocusHeader&&this.commentsHeaderElement&&(0,w.focusOnElement)(this.commentsHeaderElement),t.isWaitingForMoreCommentsToLoad&&this.canShowNextPageOfComments()&&this.showNextPageOfComments();var n=t.hiddenNewlyPostedComments.length>0,r=0===this.state.hiddenNewlyPostedComments.length,o=0===t.hiddenNewlyPostedComments.length,i=this.state.hiddenNewlyPostedComments.length>0;n&&r&&!this.isIFrameEmbedded()&&(0,w.scrollToElementTop)(this.commentsBodyAnchor),o&&i&&(0,$.sendMoreCommentsAvailableStat)(this.context,this.state.hiddenNewlyPostedComments.length)}},{key:"componentWillUnmount",value:function(){this.stopLoadingMoreCommentsTimer(),this.stopSortingCommentsTimer()}},{key:"handlePageLoaded",value:function(){var e={isSignedIn:this.isSignedIn(),policyCheck:this.getIdctaData().policyCheck},t=Z.default[this.props.sortOrder].statsName;(0,$.sendPageLoadedStat)(this.context,this.isForumOpen(),e,t)}},{key:"hasForumClosedRecently",value:function(){return this.state.hasForumClosedRecently}},{key:"getCommentsTitle",value:function(){return this.props.commentsTitle?this.props.commentsTitle:this.context.theme.formatMessage("defaultCommentsTitle",{})}},{key:"getModuleTitle",value:function(){return this.context.theme.formatMessage("moduleTitleText",{})}},{key:"setA11yAlertText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J.default.ALERT,n=(0,d.default)(J.default).indexOf(t)!==-1?"audible"+t+"Message":"audibleAlertMessage",r=this.state[n]===e?e+" ":e;this.setState((0,l.default)({},n,r))}},{key:"isSortingFeatureEnabled",value:function(){return this.context.isFeatureEnabled(Y.FeaturesToggles.sort)}},{key:"getChildContext",value:function(){return{setA11yAlertText:this.setA11yAlertText}}},{key:"getCommentCountAndSortArea",value:function(){var e=this.context.WithStatsIncludeCommonLabels,t={ORD:Z.default[this.props.sortOrder].statsName},n=this.getForumData(),r=n.sortOrder,o=null;return this.isSortingFeatureEnabled()&&this.state.totalCommentsCount>0&&(o=P.default.createElement("div",{className:"comments__comments-sort"},P.default.createElement(e,{id:"stats-sort",labels:{label:"sort-order",metadata:t},fireOnView:!0,minimumTimeInView:1e3},P.default.createElement(M.CommentsSort,{defaultValue:r,sortCallback:this.handleSort,isLoading:this.isLoadingSortingComments()})))),o}},{key:"handleSort",value:function(e){var t="commentsSort"+e,n=this.context.theme.formatMessage(t),r=this.context.theme.formatMessage("commentsSortLoading",{sortOrder:n});this.setA11yAlertText(r,J.default.POLITE),this.setState({hasFailedToSortComments:!1,hasFailedToLoadMoreComments:!1}),this.startSortingCommentsTimer(),this.context.triggerAggregatorDataFetch({parentCommentId:null,sortOrder:e,requestType:z.default.sort}),(0,$.sendSortStat)(this.context,Z.default[e].statsName)}},{key:"isLoadingSortingComments",value:function(){return this.props.fetchingSortedComments&&(0,k.not)(this.state.hasFailedToSortComments)}},{key:"shouldShowNewCommentsButton",value:function(){return this.state.hiddenNewlyPostedComments.length>0&&this.props.sortOrder===Z.default.NewestFirst.name}},{key:"canShowCommentsBody",value:function(){return this.hasComments()&&(0,k.not)(this.state.hasFailedToSortComments)&&(0,k.not)(this.props.fetchingSortedComments)}},{key:"canShowMoreCommentsButton",value:function(){return this.hasMoreComments()&&(0,k.not)(this.state.isWaitingForMoreCommentsToLoad)&&(0,k.not)(this.state.hasFailedToSortComments)&&(0,k.not)(this.props.fetchingSortedComments)}},{key:"canShowBackToTopLink",value:function(){return this.hasVisibleComments()&&(0,k.not)(this.state.hasFailedToSortComments)&&(0,k.not)(this.props.fetchingSortedComments)}},{key:"isFooterNoComments",value:function(){return(0,k.not)(this.hasComments())||this.state.hasFailedToSortComments||this.props.fetchingSortedComments}},{key:"backToTopOnClick",value:function(e,t){this.setState({statsBackToTopClickedPage:t}),this.isIFrameEmbedded()&&(e.preventDefault(),(0,w.postMessage)({commentsScrollToTop:!0},"*"),(0,w.focusOnElement)(this.commentsHeaderElement))}},{key:"render",value:function(){var e=this,t=this.context,n=t.WithStatsIncludeCommonLabels,r=t.getInstanceId,o=this.getForumData(),i=o.title,a=o.commentTextLimit,u=o.moderation,l=o.createForum,c=u.rulesPageUrl,d=u.status,m=this.isUserAnEditor()||0===a?re:a,f=(0,I.getForumLinks)(this.props.personalisationDetails),p=this.context.theme.themeVariant,h=this.context.theme.product,y=this.getCommentCountAndSortArea(),g=this.getCurrentPageNumber(),v=(0,$.getACEStat)(this.isForumOpen(),this.isSignedIn(),this.getIdctaData().policyCheck),_=(0,s.default)({},v,{ORD:Z.default[this.props.sortOrder].statsName}),b={PAG:g+1,ORD:Z.default[this.props.sortOrder].statsName},T={NCC:this.state.hiddenNewlyPostedComments.length},C={PAG:g},E=this.context.theme.formatMessage("closedForum"),w=this.context.theme.formatMessage("backToTop"),O=r("comment-input"),M="stats-comments-input-"+O;return P.default.createElement("div",{className:(0,S.default)("comments","comments-theme-variant--"+p,"comments__product--"+h,{"comments--waiting":this.state.isWaitingForMoreCommentsToLoad})},P.default.createElement(n,{id:"stats-module-viewed",labels:{label:"module-viewed",metadata:_},fireOnView:!0,minimumTimeInView:1e3},P.default.createElement(x.CommentsHeader,null,P.default.createElement("div",{className:"comments__heading-wrapper",ref:function(t){return e.commentsHeaderElement=t},id:"comments",tabIndex:"0"},P.default.createElement(x.CommentsModuleTitle,null,this.getModuleTitle()),P.default.createElement(x.CommentsTitle,null,this.getCommentsTitle(i))),P.default.createElement(x.NoJSMessage,null),this.isForumClosed()&&P.default.createElement("p",{className:"comments__message comments__message--closed-forum"},E),this.isPersonalisationEnabled()&&P.default.createElement("div",{className:"comments__user-interactions-container"},this.userCanComment()&&P.default.createElement(x.IdctaSignedInMessage,{displayName:this.props.displayName}),this.isForumOpen()&&this.getIdctaData().policyCheck&&P.default.createElement(ee.CannotCommentMessage,{message:this.getIdctaData().signedInMessage}),f.hasLinks&&P.default.createElement(I.ForumLinks,{forumLinks:f}),this.userCanComment()&&P.default.createElement(n,{id:M,key:M,labels:{label:ne.default.commentInput,metadata:{TYP:"comment"}},fireOnView:!0,minimumTimeInView:0},P.default.createElement(x.CommentsInput,{isDisabled:this.hasForumClosedRecently(),textLimit:m,moderationStatus:d,createForum:l,postCommentHandler:this.postCommentHandler,instanceId:O})),this.isForumOpen()&&P.default.createElement("div",null,this.isSignedOut()&&P.default.createElement("div",null,P.default.createElement("p",{className:"comments__signin--prompt"},this.context.theme.formatMessage("signInPrompt",{})),P.default.createElement(R.IdctaSignInButton,{markup:this.getIdctaData().signInButton})),P.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:c,moderationStatus:d}))),this.hasError()&&P.default.createElement(x.CommentsAlert,{type:N.AlertTypes.ERROR},this.getErrorMessage()),P.default.createElement("div",{className:"comments__comments-total-and-sort-area"},P.default.createElement("div",{className:"comments__comments-total"},P.default.createElement(x.CommentsTotal,{totalCommentsCount:this.state.totalCommentsCount})),y)),P.default.createElement(x.CommentsImpressionStat,null)),this.state.hasFailedToSortComments&&P.default.createElement(K.CommentsSortError,null),this.canShowCommentsBody()&&P.default.createElement("div",null,P.default.createElement("div",{className:"comments-body-anchor",ref:function(t){return e.commentsBodyAnchor=t}}),P.default.createElement("div",{className:"comments__body"},P.default.createElement("div",{className:"comments__show-new-comments-container"},this.shouldShowNewCommentsButton()&&P.default.createElement(n,{id:"stats-new-comments-load",labels:{label:"new-comments-load",metadata:T},fireOnView:!0,fireOnClick:!0},P.default.createElement(x.ShowNewCommentsButton,{newCommentCount:this.state.hiddenNewlyPostedComments.length,onClick:this.displayNewlyPostedComments}))),P.default.createElement(x.CommentsList,{comments:this.state.visibleComments,rulesPageUrl:c,isRatingEnabled:this.isRatingEnabled(),userCanPostToForum:this.userCanPostToForum(),personalisationDetails:this.props.personalisationDetails,idctaData:this.props.idctaData,focusOnCommentId:this.state.focusOnCommentId,forumId:this.props.forumId,commentInputTextLimit:m,commentInputModerationStatus:d,repliesPageSize:this.props.repliesPageSize}))),P.default.createElement(x.CommentsFooter,{className:(0,S.default)({"comments__footer--no-comments":this.isFooterNoComments(),"comments__footer--closed-forum":this.isForumClosed()})},this.state.hasFailedToLoadMoreComments&&P.default.createElement(n,{id:"stats-more-comments-error",labels:{label:"more-comments-error",metadata:b},fireOnView:!0,minimumTimeInView:0},P.default.createElement(x.CommentsAlert,{type:N.AlertTypes.ERROR},this.getLoadingMoreCommentsErrorMessage())),this.canShowMoreCommentsButton()&&P.default.createElement(n,{id:"stats-more-comments",key:"more-comments-"+g,labels:{label:"more-comments",metadata:b},fireOnView:!this.state.hasFailedToLoadMoreComments,fireOnClick:!0,minimumTimeInView:0},P.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:this.loadMoreComments,rel:"next"},"More comments")),this.state.isWaitingForMoreCommentsToLoad&&P.default.createElement(n,{id:"stats-more-comments-loading",labels:{label:"more-comments-loading",metadata:b},fireOnView:!0,minimumTimeInView:0},P.default.createElement(x.CommentsLoading,{slowMessageTimerInSeconds:oe.slowMessageTimeInSeconds})),this.canShowBackToTopLink()&&P.default.createElement("div",null,P.default.createElement(n,{id:"stats-back-to-top",key:"back-to-top-"+g,labels:{label:"back-to-top",metadata:C},fireOnClick:this.state.statsBackToTopClickedPage!==g,fireOnView:!0,minimumTimeInView:0},P.default.createElement("a",{className:"comments__back-to-top-link",href:"#comments",onClick:function(t){return e.backToTopOnClick(t,g)}},w,P.default.createElement(q.ToTop,null)))),P.default.createElement(W.A11yAlertMessage,{timeout:ie,message:this.state.audibleAlertMessage}),P.default.createElement(V.A11yPoliteMessage,{timeout:ie,message:this.state.audiblePoliteMessage})))}}]),t}(C.Component);se.displayName="CommentsModule",se.defaultProps={errorMessage:null,commentsTitle:null,fetchingSortedComments:!1,isPageLoading:!1,displayedByViewCommentsButton:!1,embeddingPageUri:null,embeddingPageTitle:null},se.propTypes={autoFocusHeader:C.PropTypes.bool,idctaData:C.PropTypes.object,errorMessage:C.PropTypes.string,personalisationDetails:C.PropTypes.shape({enabled:C.PropTypes.bool.isRequired,userId:C.PropTypes.oneOfType([C.PropTypes.string,C.PropTypes.number]),displayNameModerationStatus:C.PropTypes.oneOf((0,d.default)(j.default)),displayNameModerationMessage:C.PropTypes.string,displayNameModerationUrl:C.PropTypes.string,isEditor:C.PropTypes.bool,forumAdminLinks:C.PropTypes.shape({administerCommentsForum:C.PropTypes.shape({url:C.PropTypes.string.isRequired})})}),forumData:C.PropTypes.shape({title:C.PropTypes.string.isRequired,siteName:C.PropTypes.string.isRequired,totalCommentsCount:C.PropTypes.number.isRequired,commentTextLimit:C.PropTypes.number.isRequired,moderation:C.PropTypes.shape({rulesPageUrl:C.PropTypes.string.isRequired,status:C.PropTypes.oneOf((0,d.default)(U.default)).isRequired}),createForum:C.PropTypes.bool.isRequired,isClosed:C.PropTypes.bool.isRequired}).isRequired,loadedComments:C.PropTypes.array.isRequired,latestResponseType:C.PropTypes.string.isRequired,sortOrder:C.PropTypes.oneOf((0,i.default)(Z.default)),fetchingSortedComments:C.PropTypes.bool,canLoadMore:C.PropTypes.bool,pageSize:C.PropTypes.number.isRequired,repliesPageSize:C.PropTypes.number.isRequired,commentsTitle:C.PropTypes.string,displayName:C.PropTypes.string.isRequired,forumId:C.PropTypes.string.isRequired,isPageLoading:C.PropTypes.bool,embeddingPageUri:C.PropTypes.string,embeddingPageTitle:C.PropTypes.string},se.contextTypes={isFeatureEnabled:C.PropTypes.func.isRequired,triggerAggregatorDataFetch:C.PropTypes.func.isRequired,apiKey:C.PropTypes.string.isRequired,theme:C.PropTypes.shape({formatMessage:C.PropTypes.func,themeVariant:C.PropTypes.oneOf((0,d.default)(B.ThemeVariants)),product:C.PropTypes.oneOf((0,d.default)(B.Products))}),WithStatsIncludeCommonLabels:C.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:C.PropTypes.func.isRequired,logClickEventWithCommonLabels:C.PropTypes.func.isRequired,getInstanceId:C.PropTypes.func.isRequired},se.childContextTypes={setA11yAlertText:C.PropTypes.func},t.CommentsModule=se},function(e,t,n){e.exports={default:n(146),__esModule:!0}},function(e,t,n){n(147),e.exports=n(8).Object.keys},function(e,t,n){var r=n(40),o=n(23);n(48)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(51),i=r(o);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){"use strict";function n(){return document.documentElement.clientWidth}function r(e){e&&e.scrollIntoView()}function o(e){e&&e.focus()}function i(e,t){window&&window.parent&&window.parent.postMessage(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.getViewportWidth=n,t.scrollToElementTop=r,t.focusOnElement=o,t.postMessage=i},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(148),i=r(o),a=n(117),s=r(a),u=n(2),l=r(u),c=n(151),d=r(c),m=n(121),f=r(m),p=n(120),h=r(p),y=n(153),g=r(y),v=n(156),_=r(v),b=n(158),T=n(159),C=n(161),P=n(157),E=n(162),S=r(E),w=n(163),O={PROFANITY_FOUND_IN_TEXT:"PROFANITY_FOUND",FORUM_CLOSED:"RESOURCE_CLOSED",FORUM_READ_ONLY:"DISCUSSION_READ_ONLY",COMMENT_NOT_FOUND:"COMMENT_NOT_FOUND",REPLY_NOT_FOUND:"REPLY_NOT_FOUND",DISCUSSION_NOT_FOUND:"DISCUSSION_NOT_FOUND",VALIDATION_ERROR:"VALIDATION_ERROR",MISSING_API_KEY:"MISSING_API_KEY",UNAUTHORIZED:"UNAUTHORIZED",RESOURCE_CLOSED:"RESOURCE_CLOSED",DISCUSSION_READ_ONLY:"DISCUSSION_READ_ONLY",AUTHENTICATION_POLICY:"AUTHENTICATION_POLICY"},x=function(e){return{headers:{"content-type":"application/json","x-api-key":e}}},M=function(e,t,n){return t?_.default.getReplyRatingsUrl((0,b.getEnv)(),n,t,e):_.default.getCommentRatingsUrl((0,b.getEnv)(),n,e)},I=function(e,t,n){return t?_.default.getReplyNegativeRatingsUrl((0,b.getEnv)(),n,t,e):_.default.getCommentNegativeRatingsUrl((0,b.getEnv)(),n,e)},R=function(e,t){try{var n=S.default[e],r=(0,w.buildResourceId)(n,t),o=n.resourceType;return{uasResourceId:r,uasResourceType:o}}catch(e){return{}}},N=function(){var e=(0,h.default)(s.default.mark(function e(t,n,r,o,i){var a,u,c,m,p,h;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=i.embeddingPageUri,u=i.embeddingPageTitle,t!==!1){e.next=3;break}return e.abrupt("return",f.default.resolve());case 3:return c=_.default.getDiscussionUrl((0,b.getEnv)()),m=R(r,o),p=a||(0,P.getClientLocation)(),h=u||(0,P.getPageTitle)(),e.abrupt("return",g.default.post(c,{headers:{"content-type":"application/json","x-api-key":n},body:(0,d.default)((0,l.default)({uid:o,title:h,parentUri:p},m))}).catch(function(e){return e&&e.errorCode===C.ErrorTypes.DISCUSSION_ALREADY_EXISTS?f.default.resolve():f.default.reject(e)}));case 8:case"end":return e.stop()}},e,void 0)}));return function(t,n,r,o,i){return e.apply(this,arguments)}}(),k=function(){var e=(0,h.default)(s.default.mark(function e(t){var n,r=t.apiKey,o=t.url,i=t.text;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={headers:{"content-type":"application/json","x-api-key":r},body:(0,d.default)({pageURL:(0,P.getClientLocation)(),pageTitle:(0,P.getPageTitle)(),text:i})},e.abrupt("return",g.default.post(o,n));case 2:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t;if(e===C.ErrorTypes.TOKEN_REFRESH_FAILED)throw C.ErrorTypes.TOKEN_REFRESH_FAILED;var n=(t={},(0,i.default)(t,O.PROFANITY_FOUND_IN_TEXT,C.ErrorTypes.PROFANITY_FOUND_IN_TEXT),(0,i.default)(t,O.FORUM_CLOSED,C.ErrorTypes.POSTING_TO_CLOSED_FORUM),(0,i.default)(t,O.FORUM_READ_ONLY,C.ErrorTypes.POSTING_TO_CLOSED_FORUM),(0,i.default)(t,O.COMMENT_NOT_FOUND,C.ErrorTypes.COMMENT_NOT_FOUND),(0,i.default)(t,O.REPLY_NOT_FOUND,C.ErrorTypes.REPLY_NOT_FOUND),(0,i.default)(t,O.DISCUSSION_NOT_FOUND,C.ErrorTypes.DISCUSSION_NOT_FOUND),t),r=n[e.errorCode];throw r?r:C.ErrorTypes.UNKNOWN_ERROR},D=function(e){var t;if(e===C.ErrorTypes.TOKEN_REFRESH_FAILED)throw C.ErrorTypes.TOKEN_REFRESH_FAILED;var n=(t={},(0,i.default)(t,O.VALIDATION_ERROR,C.ErrorTypes.VALIDATION_ERROR),(0,i.default)(t,O.MISSING_API_KEY,C.ErrorTypes.MISSING_API_KEY),(0,i.default)(t,O.UNAUTHORIZED,C.ErrorTypes.UNAUTHORIZED),(0,i.default)(t,O.RESOURCE_CLOSED,C.ErrorTypes.RESOURCE_CLOSED),(0,i.default)(t,O.DISCUSSION_READ_ONLY,C.ErrorTypes.DISCUSSION_READ_ONLY),(0,i.default)(t,O.AUTHENTICATION_POLICY,C.ErrorTypes.AUTHENTICATION_POLICY),(0,i.default)(t,O.DISCUSSION_NOT_FOUND,C.ErrorTypes.DISCUSSION_NOT_FOUND),(0,i.default)(t,O.COMMENT_NOT_FOUND,C.ErrorTypes.COMMENT_NOT_FOUND),(0,i.default)(t,O.REPLY_NOT_FOUND,C.ErrorTypes.REPLY_NOT_FOUND),t),r=n[e.errorCode];throw r?r:e},L=function(e,t,n){return n?_.default.getCommentsForumRepliesRepliesUrl((0,b.getEnv)(),e,n,t):_.default.getCommentsForumRepliesUrl((0,b.getEnv)(),e,t)};t.default={postRating:function(e,t,n){var r=this,o=t.id,i=t.commentId;return(0,h.default)(s.default.mark(function t(){var a;return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,T.refreshToken)();case 3:return a=M(o,i,n),t.next=6,g.default.post(a,x(e));case 6:t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),D(t.t0);case 11:case"end":return t.stop()}},t,r,[[0,8]])}))()},postNegativeRating:function(e,t,n){var r=this,o=t.id,i=t.commentId;return(0,h.default)(s.default.mark(function t(){var a;return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,T.refreshToken)();case 3:return a=I(o,i,n),t.next=6,g.default.post(a,x(e));case 6:t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),D(t.t0);case 11:case"end":return t.stop()}},t,r,[[0,8]])}))()},postComment:function(e){var t=this,n=e.apiKey,r=e.siteName,o=e.forumId,i=e.commentText,a=e.createForum,u=e.embeddingPageOpts;return(0,h.default)(s.default.mark(function e(){var l;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,T.refreshToken)();case 3:return e.next=5,N(a,n,r,o,u);case 5:return l=_.default.getCommentsForumUrl((0,b.getEnv)(),o),e.next=8,k({apiKey:n,url:l,text:i});case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),A(e.t0);case 13:case"end":return e.stop()}},e,t,[[0,10]])}))()},postReply:function(e){var t=this,n=e.apiKey,r=e.forumId,o=e.replyText,i=e.id,a=e.commentId;return(0,h.default)(s.default.mark(function e(){var u;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,T.refreshToken)();case 3:return u=L(r,i,a),e.next=6,k({apiKey:n,url:u,text:o});case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),A(e.t0);case 11:case"end":return e.stop()}},e,t,[[0,8]])}))()}},e.exports=t.default},function(e,t,n){e.exports={default:n(152),__esModule:!0}},function(e,t,n){var r=n(8),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},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(117),i=r(o),a=n(120),s=r(a),u=function(){var e=(0,s.default)(i.default.mark(function e(t,n,r){var o,a,s,u,m,f,p,h;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.headers,a=void 0===o?{}:o,s=r.body,u=r.timeout,m=void 0===u?d:u,e.next=3,(0,l.timeBoxedPromise)(m,fetch(n,{method:t,headers:a,body:s,credentials:"include"}));case 3:if(f=e.sent,p=f.headers.get("content-type"),h=null,!p||p.indexOf("application/json")===-1){e.next=10;break}return e.next=9,f.json();case 9:h=e.sent;case 10:if(!(0,c.not)(f.ok)){e.next=12;break}throw h;case 12:return e.abrupt("return",h);case 13:case"end":return e.stop()}},e,this)}));return function(t,n,r){return e.apply(this,arguments)}}(),l=n(154),c=n(155),d=3e4;t.default={get:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.headers,o=void 0===r?{}:r,a=n.timeout,u=void 0===a?d:a;return(0,s.default)(i.default.mark(function n(){var r;return i.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.timeBoxedPromise)(u,fetch(e,{credentials:"include",headers:o}));case 2:return r=t.sent,t.abrupt("return",r.json());case 4:case"end":return t.stop()}},n,t)}))()},post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u("POST",e,t)},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u("PUT",e,t)}},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(121),i=r(o);t.default={timeBoxedPromise:function(e,t){var n=0,r=function(){return clearTimeout(n)},o=new i.default(function(t,r){n=setTimeout(function(){r("Timed out in "+e+" ms.")},e)});return i.default.race([t,o]).then(function(e){return r(),e})}},e.exports=t.default},function(e,t){"use strict";function n(e){return!e}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){},o=function(e){return 1e3*e},i=function(e,t,n){return Math.min(n,Math.max(t,e))};t.not=n,t.noop=r,t.secondsToMillis=o,t.clamp=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return(0,u.getClientLocation)().indexOf("bbc.com")!==-1?"bbc.com":"bbc.co.uk"}function i(e,t){var n=o();switch(t){case"acc":return l;case"live":return"https://"+e+".api."+n;default:return"https://"+e+"."+t+".api."+n}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(145),s=r(a),u=n(157),l="https://web.archive.org/web/20200912182407/http://localhost:3000";t.default={getIdctaInitUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.default)(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&"),r=n?"?"+n:"",o=i("idcta",e);return o+"/idcta/init"+r},getCommentsForumUrl:function(e,t){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments"},getCommentsForumRepliesUrl:function(e,t,n){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/replies"},getCommentsForumRepliesRepliesUrl:function(e,t,n,r){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/replies/"+r},getDiscussionUrl:function(e){return i("discussions",e)+"/receiver/api/discussions"},getModeratedUserUrl:function(e){return i("moderateduser",e)+"/v1/user"},getAdminLinksUrl:function(e){var t=e.env,n=e.forumId;return i("moderation",t)+"/v1/adminlinks/"+n},getCommentRatingsUrl:function(e,t,n){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/reactions"},getCommentNegativeRatingsUrl:function(e,t,n){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/reactions/down"},getReplyRatingsUrl:function(e,t,n,r){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/replies/"+r+"/reactions"},getReplyNegativeRatingsUrl:function(e,t,n,r){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/replies/"+r+"/reactions/down/"},getActivityHubUrl:function(e){switch(e){case"acc":return l;case"live":return"https://account.bbc.com/account/activity";default:return"https://account.test.bbc.com/account/activity"}}},e.exports=t.default},function(e,t){"use strict";function n(e){var t=document.querySelector("meta[property='"+e+"']");return t?t.getAttribute("content"):null}Object.defineProperty(t,"__esModule",{value:!0}),t.default={getPageTitle:function(){return"undefined"==typeof document?"":n("og:title")||document.title},getClientLocation:function(){return"undefined"==typeof document?"":document.location.href}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=null;t.default={setEnv:function(e){n=e},getEnv:function(){return n}},e.exports=t.default},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getIdctaInfoForComments(e,t){var n=e.env,r=e.policy,o=e.context,i=e.embeddingPageUri,a=t?"authorised":"false",s=o?(0,_defineProperty3.default)({},"context",o):{},u=i||_utils2.default.getClientLocation(),l=_urlUtils2.default.getIdctaInitUrl(n,(0,_extends3.default)({policy:r,renderMode:a,purpose:IDCTA_PURPOSE,ptrt:u},s));return _clientSideFetch2.default.get(l,IDCTA_TIMEOUT).then(function(e){return{isSignedIn:t,idctaInfo:e}})}function setupIdcta(env){var idctaInitUrl=_urlUtils2.default.getIdctaInitUrl(env,{});return _clientSideFetch2.default.get(idctaInitUrl,{timeout:IDCTA_TIMEOUT}).then(function(json){var functionToSetupIdctaLibs=extractFunctionFromScriptBlock(json.inlineHead);return eval(functionToSetupIdctaLibs),json.css})}function buildIdctaInfo(e,t){return getIdctaInfoForComments(e,t).then(function(e){var t=e.isSignedIn,n=e.idctaInfo,r=_idctaBuilder2.default.new().signedIn(t);return t?r.withSignedInMessage(n.html).withPolicyCheck(n.policyCheck):r.withSignInButton(n.html)}).then(function(e){return e.build()})}function isCurrentUserSignedIn(){return getIdcta().then(function(e){var t=e.hasCookie;return t()})}Object.defineProperty(exports,"__esModule",{value:!0});var _regenerator=__webpack_require__(117),_regenerator2=_interopRequireDefault(_regenerator),_asyncToGenerator2=__webpack_require__(120),_asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2),_extends2=__webpack_require__(2),_extends3=_interopRequireDefault(_extends2),_defineProperty2=__webpack_require__(148),_defineProperty3=_interopRequireDefault(_defineProperty2),_promise=__webpack_require__(121),_promise2=_interopRequireDefault(_promise),getUserDetailsFromCookie=function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t,n;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,getIdcta();case 2:return t=e.sent,n=t.getUserDetailsFromCookie(),e.abrupt("return",{ageBracket:n.ab,displayName:n.dn});case 5:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),_urlUtils=__webpack_require__(156),_urlUtils2=_interopRequireDefault(_urlUtils),_utils=__webpack_require__(157),_utils2=_interopRequireDefault(_utils),_idctaBuilder=__webpack_require__(160),_idctaBuilder2=_interopRequireDefault(_idctaBuilder),_helpers=__webpack_require__(155),_clientSideFetch=__webpack_require__(153),_clientSideFetch2=_interopRequireDefault(_clientSideFetch),_errorTypes=__webpack_require__(161),extractFunctionFromScriptBlock=function(e){return e.replace(/<script[^>]*>/gi,"").replace(/<\/script>/gi,"")},getIdcta=function(){return new _promise2.default(function(e,t){requirejs(["idcta-v2/idcta-1"],e,t)})},IDCTA_PURPOSE="",IDCTA_TIMEOUT=1e4;exports.default={ setupIdctaLibrary:function(e){return setupIdcta(e)},refreshToken:function(){return getIdcta().then(function(e){var t=e.initiateTokenRefresh;return t()}).catch(function(){throw _errorTypes.ErrorTypes.TOKEN_REFRESH_FAILED})},getIdctaInfo:function(e){var t=this,n=e.idctaEnv,r=e.policy,o=e.signInContext,i=e.embeddingPageUri,a=e.shouldCallIdcta,s=void 0===a||a;return(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var a,u;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,isCurrentUserSignedIn();case 2:if(a=e.sent,u={policy:r,env:n,context:o,embeddingPageUri:i},!(0,_helpers.not)(s)){e.next=6;break}return e.abrupt("return",_idctaBuilder2.default.new().signedIn(a).build());case 6:if(!a){e.next=9;break}return e.next=9,t.refreshToken();case 9:return e.abrupt("return",buildIdctaInfo(u,a));case 10:case"end":return e.stop()}},e,t)}))()},getUserDetailsFromCookie:getUserDetailsFromCookie},module.exports=exports.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(2),i=r(o),a=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.default)({},t,n);return{signedIn:function(t){return e(r,{signedIn:t})},withSignInButton:function(t){return e(r,{signInButton:t})},withSignedInMessage:function(t){return e(r,{signedInMessage:t})},withPolicyCheck:function(t){return e(r,{policyCheck:t})},build:function(){return r}}};t.default={new:a},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ErrorTypes={IDCTA_FAILED:"idctaFailed",TOKEN_REFRESH_FAILED:"tokenRefreshFailed",POSTING_EMPTY_COMMENTS_NOT_ALLOWED:"postingEmptyCommentsNotAllowed",PROFANITY_FOUND_IN_TEXT:"profanityFoundInText",POSTING_TO_CLOSED_FORUM:"postingToClosedForum",MORE_COMMENTS_FAILED:"loadMoreCommentsFailed",ID_UNAVAILABLE:"idUnavailable",UNKNOWN_ERROR:"unknownError",RATING_COMMENT_FAILED:"ratingCommentFailed",DISCUSSION_ALREADY_EXISTS:"DISCUSSION_ALREADY_EXISTS",COMMENT_NOT_FOUND:"commentNotFound",REPLY_NOT_FOUND:"replyNotFound",DISCUSSION_NOT_FOUND:"discussionNotFound",VALIDATION_ERROR:"VALIDATION_ERROR",MISSING_API_KEY:"MISSING_API_KEY",UNAUTHORIZED:"UNAUTHORIZED",RESOURCE_CLOSED:"RESOURCE_CLOSED",DISCUSSION_READ_ONLY:"DISCUSSION_READ_ONLY",AUTHENTICATION_POLICY:"AUTHENTICATION_POLICY",USER_NOT_SIGNED_IN:"userNotSignIn",UAS_CANNOT_GET_CONTENT_ID:"uasCannotGetContentId",UAS_MISSING_FORUM_ID:"uasMissingForumId",UAS_INVALID_SITE_CONFIG:"uasInvalidSiteConfig"}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={cbbccomments:{urnStructure:"urn:bbc:isite2:file_id:cbbc:content-{id}",contentIdRegexp:/^__CBBC__comments__([a-zA-Z0-9_]+)$/,resourceType:"article"},ownit:{urnStructure:"urn:bbc:isite2:file_id:stay-safe:content-{id}",contentIdRegexp:/^ownit__([a-zA-Z0-9_]+)$/,resourceType:"article"},newsroundcommentsmodule:{urnStructure:"urn:bbc:cps::articleid:{id}",contentIdRegexp:/^__newsround__([0-9]+$)/,resourceType:"article"},sportcommentsmodule:{urnStructure:"urn:bbc:cps::articleid:{id}",contentIdRegexp:/^__CPS_([0-9]+$)/,resourceType:"article"},newscommentsmodule:{urnStructure:"urn:bbc:cps::articleid:{id}",contentIdRegexp:/^__CPS__([0-9]+)$/,resourceType:"article"},bbcthreecomments:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^__BBCTHREE__comments__article_([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})$/,resourceType:"article"},blogsreactive:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"},blogspremoderated:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"},blogspostmoderated:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"},blogstrictlycomedancing:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"},blogbbccymru:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(161),o=function(e,t){var n=e.contentIdRegexp,o=t.match(n);if(!o||2!==o.length)throw new Error(r.ErrorTypes.UAS_CANNOT_GET_CONTENT_ID);return o[1].replace(/_/g,"-")};t.default={buildResourceId:function(e,t){if(!e||!e.contentIdRegexp||!e.urnStructure)throw new Error(r.ErrorTypes.UAS_INVALID_SITE_CONFIG);if(!t||0===t.length)throw new Error(r.ErrorTypes.UAS_MISSING_FORUM_ID);var n=e.urnStructure,i=o(e,t),a=/\{id\}/;return n.replace(a,i)}},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}),t.ContributorAvatar=t.ViewCommentsButton=t.CommentsSortError=t.CommentsSort=t.LoadRepliesButton=t.ReplySnippet=t.ReplyButton=t.A11yText=t.CommentsModerationMessage=t.ShowNewCommentsButton=t.CommentRatingContainer=t.NoJSMessage=t.Tooltip=t.TooltipLauncher=t.CommentsLoading=t.CommentsImpressionStat=t.CommentRating=t.CommentsAlert=t.CommentsFooter=t.CommentsTextLimit=t.IdctaSignedInMessage=t.IdctaSignInButton=t.CommentsList=t.Comment=t.CommentsInput=t.CommentsButton=t.PostedDate=t.UserDescription=t.Username=t.CommentsTotal=t.CommentsModuleTitle=t.CommentsTitle=t.CommentsHeader=t.Stylesheets=void 0;var o=n(95),i=r(o),a=n(143),s=r(a),u=n(165),l=n(209),c=n(167),d=n(168),m=n(166),f=n(234),p=n(185),h=n(235),y=n(190),g=n(202),v=n(236),_=n(184),b=n(237),T=n(238),C=n(243),P=n(244),E=n(199),S=n(200),w=n(245),O=n(198),x=n(246),M=n(174),I=n(181),R=n(211),N=n(232),k=n(247),A=n(250),D=n(251),L=n(169),j=function(e){var t=e.children;return i.default.createElement("div",{className:"comments__header comments--border comments--shadow"},t)};j.displayName="CommentsHeader",j.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var F=function(e){var t=e.children;return i.default.createElement("h4",{className:"comments__heading-module-title"},t)};F.displayName="CommentsModuleTitle",F.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var U=function(e){var t=e.children;return i.default.createElement("h4",{className:"comments__heading-title"},i.default.createElement("span",{className:"comments__heading-title-text"},t))};U.displayName="CommentsTitle",U.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var q=function(e){var t=e.totalCommentsCount,n="comment"+(1===t?"":"s"),r=t+" "+n;return i.default.createElement("div",{className:"comments-total"},i.default.createElement("span",null,r))};q.displayName="CommentsTotal",q.propTypes={totalCommentsCount:o.PropTypes.number};var W=function(e){var t=e.children,n=e.className;return i.default.createElement("div",{className:(0,s.default)("comments__footer",n)},t)};W.displayName="CommentsFooter",W.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string},t.Stylesheets=v.Stylesheets,t.CommentsHeader=j,t.CommentsTitle=U,t.CommentsModuleTitle=F,t.CommentsTotal=q,t.Username=c.Username,t.UserDescription=d.UserDescription,t.PostedDate=m.PostedDate,t.CommentsButton=f.CommentsButton,t.CommentsInput=p.CommentsInput,t.Comment=u.Comment,t.CommentsList=l.CommentsList,t.IdctaSignInButton=_.IdctaSignInButton,t.IdctaSignedInMessage=b.IdctaSignedInMessage,t.CommentsTextLimit=h.CommentsTextLimit,t.CommentsFooter=W,t.CommentsAlert=y.CommentsAlert,t.CommentRating=g.CommentRating,t.CommentsImpressionStat=T.CommentsImpressionStat,t.CommentsLoading=P.CommentsLoading,t.TooltipLauncher=E.TooltipLauncher,t.Tooltip=S.Tooltip,t.NoJSMessage=w.NoJSMessage,t.CommentRatingContainer=O.CommentRatingContainer,t.ShowNewCommentsButton=C.ShowNewCommentsButton,t.CommentsModerationMessage=x.CommentsModerationMessage,t.A11yText=M.A11yText,t.ReplyButton=I.ReplyButton,t.ReplySnippet=R.ReplySnippet,t.LoadRepliesButton=N.LoadRepliesButton,t.CommentsSort=k.CommentsSort,t.CommentsSortError=A.CommentsSortError,t.ViewCommentsButton=D.ViewCommentsButton,t.ContributorAvatar=L.ContributorAvatar},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Comment=t.CommentText=void 0;var o=n(41),i=r(o),a=n(44),s=r(a),u=n(49),l=r(u),c=n(50),d=r(c),m=n(54),f=r(m),p=n(87),h=r(p),y=n(95),g=r(y),v=n(143),_=r(v),b=n(166),T=n(167),C=n(168),P=n(169),E=n(171),S=n(172),w=n(179),O=n(175),x=r(O),M=n(208),I=n(149),R=n(209),N=n(232),k=n(212),A=n(206),D=n(233),L=r(D),j=n(197),F=15e3,U=t.CommentText=function(e){var t=e.commentText;return g.default.createElement("div",{tabIndex:"0",className:"comment__text",dangerouslySetInnerHTML:{__html:t}})};U.displayName="CommentText",U.propTypes={commentText:y.PropTypes.string.isRequired},U.default={commentText:""};var q=t.Comment=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.state={maxNumberOfRepliesVisible:1,shouldFocusMoreReplies:!1,requestCounter:1},n.handleLoadReplies=n.handleLoadReplies.bind(n),n.setMaxNumberOfRepliesVisible=n.setMaxNumberOfRepliesVisible.bind(n),n.setLoadRepliesAllyMessage=n.setLoadRepliesAllyMessage.bind(n),n.newRepliesToShow=0,n}return(0,h.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.rulesPageUrl,r=t.idctaData,o=t.repliesPageSize,i=t.commentData,a=t.personalisationDetails,s=t.commentInputTextLimit,u=t.commentInputModerationStatus,l=t.isRatingEnabled,c=t.userCanPostToForum,d=t.forumId,m=this.context.theme.formatMessage,f=a.commentAdminLinks,p=(0,A.isUserAnEditor)(a),h=this.context.isFeatureEnabled,y=(0,S.getCommentLinks)({commentData:i,commentAdminLinks:f,isUserAnEditor:p,isFeatureEnabled:h}),v=this.isCommentWithReplies(),E=(0,A.isRemovedComment)(i),O=(0,A.canRateComment)(i,h)||(0,A.canDownRateComment)(i,h)||(0,A.canReplyComment)(i,h)||y.hasLinks||v,x=p?i.index+1+". ":"",I=this.context.theme.productLabel,N=i.author.displayName,D=i.author.isNotable,L=i.author.description,j=i.author.avatarUrl,F=D&&I?m("commentNotableHead",{displayName:N,productLabel:I}):m("commentHead",{displayName:N}),q=(0,k.parseTimestamp)(i.dateCreated),W=q.description,V=q.formattedTimestamp,B=q.time,Y=W?", "+W+" "+V:", "+V,H=L?", "+L:"",z=(0,A.isAuthoredByCurrentUser)(a,i),G=g.default.createElement("div",{className:"comment__content"},g.default.createElement("div",{tabIndex:"0",ref:function(t){return e.commentElement=t},className:"comment__header"},!E&&g.default.createElement("div",{className:"comment__avatar"},g.default.createElement(P.ContributorAvatar,{displayName:N,isCurrentUser:z,avatarImageUrl:j})),g.default.createElement("div",{className:"comment__username-and-posted-date"},g.default.createElement("h4",{className:"comment__title","aria-label":""+F+H+Y},g.default.createElement("span",{"aria-hidden":"true"},x),g.default.createElement(T.Username,{className:"comment__username"},N)),(0,A.shouldShowDisplayNameModerationWarning)(a,i)&&g.default.createElement("a",{className:"comment__display-name-moderation-warning",href:a.displayNameModerationUrl},a.displayNameModerationMessage),L&&g.default.createElement(C.UserDescription,{className:"comment__user-description"},L),i.dateCreated&&g.default.createElement(b.PostedDate,{className:"comment__posted-date",time:B,formattedTime:V}))),g.default.createElement("div",{className:"comment__body"},g.default.createElement(U,{commentText:(0,A.getCommentTextToDisplay)(i,n,m)})),i.distressMessage&&g.default.createElement(M.CommentDistressText,{commentDistressText:i.distressMessage.text}),O&&g.default.createElement(w.CommentFooter,{commentData:i,commentLinks:y,commentInputTextLimit:s,commentInputModerationStatus:u,idctaData:r,isRatingEnabled:l,userCanPostToForum:c,forumId:d,isReply:!1}),v&&g.default.createElement("div",null,g.default.createElement("div",{className:"replies"},g.default.createElement(R.CommentsList,{forumId:d,isRepliesList:!0,comments:i.replies.slice(0,this.state.maxNumberOfRepliesVisible),rulesPageUrl:n,isRatingEnabled:l,userCanPostToForum:c,personalisationDetails:a,idctaData:r,commentInputTextLimit:s,commentInputModerationStatus:u,repliesPageSize:o,firstNewReplyId:i.firstNewReplyId})),i.totalReplies>1&&this.getLoadRepliesButtonComponentWithStats()));return g.default.createElement("div",{id:"comment-"+i.id,"data-comment-index":i.index+1,className:(0,_.default)("comment",{"comment--notable":D,"comment--has-footer":O,"comment--by-current-user":z})},D&&this.context.theme.getComponent("notableCommentFlag"),this.isCollapsedRemovedComment()?this.getCollapsedRemovedComment(G):G)}},{key:"getCollapsedRemovedComment",value:function(e){var t=this,n=this.context.theme.formatMessage;return g.default.createElement(E.CollapsiblePanel,{title:n("removedCommentButton"),setCollapsiblePanelRef:function(e){return t.collapsedRemovedCommentElement=e}},e)}},{key:"getLoadRepliesButtonComponentWithStats",value:function(){return this.newRepliesToShow=this.props.commentData.totalReplies-this.state.maxNumberOfRepliesVisible,this.newRepliesToShow>0?this.getLoadRepliesButtonComponentWithLoadStats():this.getLoadRepliesButtonComponentWithCheckStats()}},{key:"getLoadRepliesButtonComponentWithCheckStats",value:function(){var e=this.context.WithStatsIncludeCommonLabels;return g.default.createElement(e,{key:"more-replies-check-"+this.props.commentData.id,id:"stats-more-replies-check",labels:{label:"more-replies-check"},fireOnView:!0,fireOnClick:!0,minimumTimeInView:0},this.getLoadRepliesButtonComponent())}},{key:"getLoadRepliesButtonComponentWithLoadStats",value:function(){var e=this.context.WithStatsIncludeCommonLabels,t=(0,i.default)(this.state.maxNumberOfRepliesVisible/this.props.repliesPageSize+1),n={PAG:t,RSC:this.newRepliesToShow};return g.default.createElement(e,{key:"more-replies-load-"+this.props.commentData.id+"-"+t,id:"stats-more-replies-load",labels:{label:"more-replies-load",metadata:n},fireOnView:!0,fireOnClick:!0,minimumTimeInView:0},this.getLoadRepliesButtonComponent())}},{key:"getLoadRepliesButtonComponent",value:function(){var e=this;return g.default.createElement(N.LoadRepliesButton,{setMaxNumberOfRepliesVisible:this.setMaxNumberOfRepliesVisible,setLoadRepliesAllyMessage:this.setLoadRepliesAllyMessage,sendMoreRepliesLoadErrorStat:function(){return(0,j.sendMoreRepliesLoadErrorStat)(e.context)},sendMoreRepliesCheckErrorStat:function(){return(0,j.sendMoreRepliesCheckErrorStat)(e.context)},onClick:this.handleLoadReplies,newRepliesToShow:this.newRepliesToShow,checkingForReplies:this.props.commentData.checkingForReplies,requestTimeoutMs:F})}},{key:"isCommentWithReplies",value:function(){return(0,A.hasReplies)(this.props.commentData,this.context.isFeatureEnabled)}},{key:"isCollapsedRemovedComment",value:function(){return(0,A.isRemovedComment)(this.props.commentData)&&!this.isCommentWithReplies()}},{key:"componentDidUpdate",value:function(e){if(e.focusOn!==this.props.focusOn&&this.props.focusOn){var t=this.isCollapsedRemovedComment()?this.collapsedRemovedCommentElement:this.commentElement;(0,I.focusOnElement)(t)}}},{key:"requestReplies",value:function(e){this.context.triggerAggregatorDataFetch({parentCommentId:this.props.commentData.id,nextReplyIndexToLoadFrom:e,requestCounter:this.state.requestCounter,requestType:L.default.replies})}},{key:"setLoadRepliesAllyMessage",value:function(e){var t=this.context.theme.formatMessage;e?this.context.setA11yAlertText(t("moreRepliesDisplayed")):this.context.setA11yAlertText(t("newRepliesChecked"))}},{key:"setMaxNumberOfRepliesVisible",value:function(){var e=this.props.commentData.replies.length,t=this.props.repliesPageSize;this.setState(function(n){return{maxNumberOfRepliesVisible:Math.min(n.maxNumberOfRepliesVisible,e)+t}})}},{key:"handleLoadReplies",value:function(){var e=this.props.commentData.replies.length;this.requestReplies(e),this.setState(function(e){return{requestCounter:e.requestCounter+1}})}}]),t}(y.Component);q.displayName="Comment",q.propTypes={repliesPageSize:y.PropTypes.number,commentData:y.PropTypes.shape({index:y.PropTypes.number,id:y.PropTypes.number,firstNewReplyId:y.PropTypes.number,actions:y.PropTypes.shape({reportUrl:y.PropTypes.string.isRequired}),checkingForReplies:y.PropTypes.bool,distressMessage:y.PropTypes.shape({text:y.PropTypes.string}),author:y.PropTypes.shape({userId:y.PropTypes.oneOfType([y.PropTypes.string,y.PropTypes.number]).isRequired,displayName:y.PropTypes.string.isRequired,isNotable:y.PropTypes.bool.isRequired,description:y.PropTypes.string,avatarUrl:y.PropTypes.string}).isRequired,dateCreated:y.PropTypes.string,text:y.PropTypes.string.isRequired,rating:y.PropTypes.oneOfType([y.PropTypes.shape({positive:y.PropTypes.number.isRequired}),y.PropTypes.shape({negative:y.PropTypes.number.isRequired})]),status:y.PropTypes.oneOf([x.default.FAIL,x.default.PASS,x.default.REFER,x.default.UNKNOWN]),replies:y.PropTypes.array,totalReplies:y.PropTypes.number}).isRequired,rulesPageUrl:y.PropTypes.string.isRequired,isRatingEnabled:y.PropTypes.bool,userCanPostToForum:y.PropTypes.bool,personalisationDetails:y.PropTypes.shape({userId:y.PropTypes.oneOfType([y.PropTypes.string,y.PropTypes.number]),displayNameModerationStatus:y.PropTypes.string,displayNameModerationMessage:y.PropTypes.string,displayNameModerationUrl:y.PropTypes.string,isEditor:y.PropTypes.bool,commentAdminLinks:y.PropTypes.shape({report:y.PropTypes.shape({url:y.PropTypes.string.isRequired}),viewModerationHistory:y.PropTypes.shape({url:y.PropTypes.string.isRequired}),makeTopPick:y.PropTypes.shape({url:y.PropTypes.string.isRequired}),memberDetails:y.PropTypes.shape({url:y.PropTypes.string.isRequired})})}),idctaData:y.PropTypes.object.isRequired,forumId:y.PropTypes.string.isRequired,focusOn:y.PropTypes.bool,commentInputTextLimit:y.PropTypes.number,commentInputModerationStatus:y.PropTypes.string},q.defaultProps={personalisationDetails:{},isAvatarEnabled:!1,isMoreIconIsOpen:!1,focusOn:!1,replies:[],repliesPageSize:10,firstNewReplyId:0},q.contextTypes={theme:y.PropTypes.shape({formatMessage:y.PropTypes.func,getComponent:y.PropTypes.func.isRequired,productLabel:y.PropTypes.string}),isFeatureEnabled:y.PropTypes.func.isRequired,setA11yAlertText:y.PropTypes.func.isRequired,triggerAggregatorDataFetch:y.PropTypes.func.isRequired,WithStatsIncludeCommonLabels:y.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:y.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PostedDate=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(143),g=r(y),v=t.PostedDate=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return h.default.createElement("div",{"data-time":this.props.time,className:(0,g.default)("posted-date",this.props.className)},h.default.createElement("span",{"aria-hidden":"true"},this.props.formattedTime))}}]),t}(p.Component);v.displayName="PostedDate",v.propTypes={time:p.PropTypes.string.isRequired,className:p.PropTypes.string,formattedTime:p.PropTypes.string.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Username=void 0;var o=n(95),i=r(o),a=n(143),s=r(a),u=t.Username=function(e){var t=e.children,n=e.className;return i.default.createElement("span",{"aria-hidden":"true",className:(0,s.default)("username",n)},t)};u.displayName="Username",u.propTypes={className:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.UserDescription=void 0;var o=n(95),i=r(o),a=n(143),s=r(a),u=t.UserDescription=function(e){var t=e.children,n=e.className;return i.default.createElement("span",{"aria-hidden":"true",className:(0,s.default)("userdescription",n)},t)};u.displayName="UserDescription",u.propTypes={className:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ContributorAvatar=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(143),g=r(y),v=n(170),_=/^((https?)(:\/\/|(\%3A%2F%2F)))|^data:image\//i,b=t.ContributorAvatar=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getAvatarLetter",value:function(e){var t=e.replace(/[^a-zA-Z0-9]/g,""),n=t.charAt(0).toUpperCase();return n||"U"}},{key:"handleAvatarImageError",value:function(e){e&&(e.target.onerror=null,e.target.src=v.noImageForAvatarError,e.target.style.backgroundColor="transparent")}},{key:"render",value:function(){var e=this,t=this.props,n=t.displayName,r=t.isCurrentUser,o=t.avatarImageUrl,i=(0,g.default)("contributor-avatar__letter",{"contributor-avatar__letter--current":r}),a=o&&o.match(_);return h.default.createElement("div",{className:"contributor-avatar","aria-hidden":"true"},a&&h.default.createElement("img",{className:"contributor-avatar__image",alt:"",src:o,onError:function(t){return e.handleAvatarImageError(t)}}),h.default.createElement("div",{className:i},this.getAvatarLetter(n)))}}]),t}(p.Component);b.displayName="ContributorAvatar",b.propTypes={displayName:p.PropTypes.string,isCurrentUser:p.PropTypes.bool,avatarImageUrl:p.PropTypes.string},b.defaultProps={displayName:"u",isCurrentUser:!1}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.exampleAvatarUrl96x96PngBase64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAsSwAALEsBpT2WqQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABZfSURBVHic5Z15nBXVlce/p+rtrzcaaHalRcElGqAbBFFAZTRGu0NUoqjRRBMnmcwniUaUaOL0TGaULcsni8ZPPmo0Juo4joK7okLUYJAGDBGBGFHAlsVu6H77e1V154/X9Ou3dPdb6jWY+X0+/YGqd+vcU+fce+655557SzhKsaBhSXVUc0wUU01SWCeKyERgHODv/hvS/S9ACDjY/W8I2K2U2iFo25Qu2z2WseOx1sWdR+I9BoIcaQYOY8EpLRVxn38GFvMUah4wBdBsrOJ9hNUoVptxc/UzW75/0EbaReOIKmD+5J/WWFriSwhXAWcA+iBVbSLqDSztIc1yPPbk5hsODVK9WRh0BbTQom1s8F8A1tUgzYBnsHnIQBTUKhF5YMqG8PMttFiDWfmgKaCFFm3TVP+FSlQLMHWw6i0Q74iwrLMi/Ic1a1qMwaiw7AqYO7fFUR3wfUXBYmBCueuzB/KeEpYEKkIPlFsRZVVA85SljehyN4rGctZTPsjbiPrWqg03v1G2GspBdMHMn9RG44l/E+RfsdeTORJQouQhzeCmJ/6yaL/dxG1XQFPD0vkg9wrU2k37CKNdiVz31IZFK+0kapsCkrbe/58KdbOddI8yKIX6hScaWfTYOy1xOwjaIqim6cvrxVCPIkyzg97RDgXrddO87MnN3/+gVFolK6B5ytJGNHkWGF4qrU8TFHQoSy56etOidaXQKWmAbJq6/Bw0eYX/Z8IHEKjVNPVS89RlnyuFTtEKaJ669GIR9SxQWQoDpUFhqlj3X+JIMOBHWNnUuGxhsQSKMkFNjcsWiuIhjoCLGTU6OBjbQSD+AVGjI03wDs2DxzGUCucYqlz1+JwjkMHxByxErly1YdEjhT5YMHcXTVl6rqbJM4C70GdLQSjRRlvwTYKJ3Xk/49KrGO49jaGeU9E1Vxm5AyAhympauXHxC4U8VJACmqatmCaWegVURWG8FQ/DivJRcC0d0W1F03BqfkZXzKLWc5KNnOVE2LJkXiEDc94KaJq+vF5MtR4YVhRrRSCY2M3OzucxrHDafY9LaJrt5KzJDupHC5aCRAI+2Gvx8lsJXlxnYOaIadZ6TuKYynMRKWvU+4BmmtPzdVHzUsD1Dfc490nnWqWYWRJrBeBAZDMfBV9DqZQkRw/TuO1aN6efpKP1w7lC2LbH4o77orzzvpn2W4VzHMcPmY+Uc/hSvOWOhc/MZ7KWV1MYM3r2T4BLS2YsT+wN/Zm24BuAAkAEbrzCzZ3f8DCuTkNyCF9zCE6PhrtCx1OhMXa0gy/Oc+P3a2z4a6KnR8StLhJWiGr3ceV7AWGM6XD4t3+8+sWBiw6ApqnLLhJhVT5lS4diT3AtB8Jv99zxeYR7b/MyaVx2ixUBpzcpdN3ZN3sbtxp8syXAgYOq596E6i9Q5R5vK/cZUAp18VOttzzZX6F+hXrBlDuGOzTHtsEKrLUF32BfeEPP9ZAq4bE7/NRmDvkCLq+Gp9qBlqcl2bLD5LIbu4jGkkrw6LWcWHslImX1pNsV2olPtd70SV8F+q3doTuXDpbwD0Q2pwl/9DCNVcuzha85hMphDnxD8hc+wKkTdb7/dW/PddTsoD26tVS2B8JQsO7sr0Cfr9DcuGyWKPUV21nKgWBiNx8FX+u5Hj9K47E7fPgzZhour0ZlnRPdVVyrveIiN8eNSw17+8OtKFQ/T5QOgWsvmrK8T+cl55vMndviQMmvGAS7HzcD7Ox8rsfbGVsnPPTvPrwZ8yZPlY6v1pFzAM4Xui589+pUL4iZhwjEPyieYH7QNE3dM3duiyPnj7luVnX5vwrqs+XlCyxl8H7n0xhWBIARtcKDt/vwZQjfV6PjqbTHd//8bBfHjE699v7wZlvoDoBTq4K+q3P9kKWABQv+W0fUovLzBLsDrxAxkqt8Q6uF+3/gpaaiVxMX8A3RcVXYF0bQNFj4+ZRtC8R3Eze7bKPfJxS35uoFWQqI/X3n5cAJ5eanM/Z3OqLvAuB0wM++62VkbYod0VxUTbwez8nPoJ/Qij7hNaTu+6CVHgVZ8Dk37h6dqsEYjAEmVAZ9CzJvZihAiYgsLjcnhhVhV9crPde3XePmlPoUK5p7BNXTHsE5+gbEdSwgoFeh1VyONu4+0Lw5qOaP2mqN82alekFH5F0o82AMIIoftNCSJvO0i+aGFZ9X8JlyM7KrazWGSsZ3FpzjpPksZ4pJZw3VU+5H9+UOnIl7EjL0WyXz0HR2qs641UUo8XHJNPPAya2NFef3vpHZA64pNwftkXfojL8PwKhhGt+9LN2+V5zYguat75eGVn1JyaZodqOLql7jzcHo30qily/EMtMG4x4FLGhYUg1cVM7KDSvc4++LwA+/6sLrTgnBWXsGrmHn9/V4CpoP8TWUxIvLCeefmVL+odh7DIYZQmT+/Mk/rTl82aOAuOiXA6UZ1wHwUfCPmCoGQNOZTmacku4U+I/7Zq8riw+3r2Tnu0+ASo9oQtIUZd3zTUdG3I429h60UcuQqgvpb7J/wVkpBSSsIKHE3sJeqDh4TIdxyeGLHgkopa4sZ63BxG46otuBpMt548J00+OsGINemWrVjz5wCzffnlzh+91vdjH7vO+klVdadepC86CN+BFSeV5aGak8H1V1MVbbd8AKZvE0c7ITv1cIRZItvzP+Pn7nqOJfMl8odRVwL3Q3j27zc0bZ6sNkV9eanutbrnJT5Uv39/1jz+XwxDt08O0e4QPcueLhHES7c2bFiTbmrizh95D2NaKN/jG5JvVuF5zVkOqFXbGdeb9TKRA484LTf14F3QqIicyhjJsj9oVaiZkdAJz1WQfzpqWbHneFjuZPOV+bN7yc9vu2v2V7KGIldxzJsG8j3v7HA/HNQKpyD2/nzkz1xIjRTtwM9EvLJjicRuwsSBnIs8tVU8IKsr87yunzCLd9JT3CpumSDDM4x/bc+3jvvrQyx44bmkVXxXYgrvFoNVfkxYfU5Lawc6Y70+JLXfEP86JXOtTZcFgBSs4pVzVtwdd7Uke+1uykbki6KfBU60kB9HIr6+rSl52/cW2GZ6QMVHQL1CwESfWmWOgD1rzwK7ra38niQzwngWNE1v1hNRqT6lOdfxCCc91Q5wBo3fb/1HJUEUp8TEd0B5AMMV95fvrA63ALLm93J1TRnvvTz2jC404KdsyoGi5dmDEAh/8EZgCtMpWUFg99wIxZF3DN9UuYNecS4pE9WfyIN/drzpqampQFErtRDMYuJfls86yllVpCZBJlCDsrFB8F13LYt/7eQjfOjFHGW91rLEikzI6n8kTWv/4ID9+3iLWvPofDPTKd9qFHEXc96D3uNPffu5yOg0lPpysQ4u0Nz2fxJHruhI5ZU1IKMK04wXhbXu9YIjQtok/UTMh2qG3Aweg2Qt1CPXeag1mnpUvf5ctYx41uSvu9uu50zjj32zi9Y9Puq8hGVOh1cPWOF1rcc1/6wN3efiCbKS33fsDppzlw9moLgcTgjANK1CQNy34FKGXycSiZm+RxCTdenhFOFvBUpk+QrMALMFB+pxVC7b09SaJX61dmiPaDobSidcNztPY+ws4+j9DQa1IYiOeffVcKLNQkTUSzXQH7I5t63LmvXuhk1NB0Ybt8Opojw+oZB7AOPtg3URXDarsRdTg1UXqHrn0cM6aq51rXhc9MzvYrVD9pjb3HgYhxoGfGXlYIkzQRNcZOmqaKsT/cCiSzGq4835leQARPRe7wgGq/C9X1VPb9+IdYu69Fhd9M3TN7bXQXnX9bnEpb+vVPr8Plz9iQqUxU9K998j1zcopPpSyC8exB3G6IYqxDKaoGLpo/9ob+jGElPZqvNbnwedJbusurZbf+w1AG1t4fIJ2Pg28GiAuiW1DBNZDpmXR7V4cxr+lW1h4/EY+3kpH1TdmkQ69D99JnLpw2yYHPI4SjSachEN9Dtbvsu2orHQIVdsUA42aAA+G/AFBTKVwy15lVpq/W3xsqsgkim/ovE98Jxn5w1CVviJvxJ/cdzlKd/9MvPYcOk09y8KdNyXEoUEAWdgmo1CwbN1jsj7SiSEYum8904sqQv9OjofWTwVYYLKxDj+dVUoXXo0J/HLDcjM+mBuKo0U7cKvtacaUmYEuquWFF6Yik1la/OCc7C8NdYW+4SR36LSrxUf+FzEOofS150Zs7Pb3FdMU+KI6x/FFZXIZTDnwSebsn5HDCOI1jR6aT1hyCw23zfM+KotpuALOPw06MfVh7rh9YSd045XgHo4an+O4svwLQFGQHyguEpQwORFIJtbMn52j9vvLkYKrYdswPv5T0ng7H/I39WB0PYH64ABXbnjctkfReEEzsxlJlPSoi4NAgoErM/zwU+3tPchXA6adkmBoRnHkqIBzWCIU0hg8v4MWNfVh7f5B/+X4wb6aLh59JzgEsZRCI7ypnKnvAlh7QHkmPPp40Pl3YDlcy7JwPXniuil//6sjtep052ZG2Tt0Z+3s5qwtoIpQ01CdTOlKTlrohgj/D93d68jc/72718uY6Py8+b+v0JG943MKMXia0M/5+2i4dmxHQlJL8Rqg+0BHZlpZhPKI2u6U7XPkPvp2dSWXd9cvh/OVtXymsFY1zTk+NA4YVJWzs66d08VDCHk0pK/9RKgcyMwlGD89u7ZKn+YHk/i6AREJo+eEo1q4Z2EuOxzXWrqlAWfZ4WWdMSXdHg4kyhSUU2zU0SlJA3Ep3AWtyebYFTLXrhqciorGYsOzOkfyoZRTvbPFgmCkBB4Mab63388ufD+fLC8fTusGPaPbM6ceP0Rlak3qPQLwkI9EnNGS7Q4ftpVg4w0yPGnYGs4Vgmarv+E8GTpgY49VX0ifnb67z8+Y6Pw6Hwu9XgKKzM+VpicDFl9h3CqUInHiczhsbk5IJJdpQWLbvrBQl27WY7t1GKSlhGXLd9kG2Oi0jf/Izzwz1uQnDMITOTi1N+ABz5gYYX2/L8T09qB+bqsNSiXJkS1iW19yhPffnb3cBW4ql4sjIVN6z38rSplHAORp1wxOcfW7+jpnfb3Hd9e35V5AnMseyuGn3wbvq7VVv3BJI1iLqlQFK9wlPr5UpAMNUfNSergIjWpiRu+7r7dTUZKcjZkLTYdHifdTW2j9b9WUkacZs3sQhyMuQygt6tVhCvhypfM+tSxeIZSrMRP5mqKbG5L+WtFFX13fXcToV37lhH9Omh/osUwpcGWNWwrLZBElS5hqAW6m1wMBNLgeqXdnT9HtXxkhkNPpEpLBeML4+xi/u3s2Cyw5m9YbjT4ix/McfMe+fypfF1hVK59fmVBUjrnteh+7k3MdaF3c2Ny59AyWzC6XkcQzB7xyZNh+IJ+DR1QmuOi/lT8dCJu5KvaBdjhUVFl+5tp2rr2ln1y43hw7qjBodZ8TI8h9qe7Aro8cqW1PXX+see3v5VZb8vlhqI3ynZ937+aMx2ntFmZQFiXBxrUjTkz1i8tTwoAgfYPO76fVkOhslQXjo8H97FOAW61Gg70XTflDtHo/fmZ48ZZjwzSVhzF4NJxowbG5I5cGevSYb3kk3ew7NtrBIVDOc/3v4okcByQ8cqOyUhDwxpmJ21rkL7+2xuPXuVMqhZUI0UNRQM6hYcV8U00xvKT5nnT3ElXqy93H5aRITkQeKpet3jmKEb3rW/ZfWG9x6T6xnbhALmAV5RION1evirHo1fXbvcdTi0bMztIuB0vS05Kc0BazcsOg5gb6TZwbASN80Kl1js+4/vy7Bd34WxeqWe6jDwLKOPiW8v9vkpmXZbm2dd4pdVWxt2BBMO1MuI7ghSim1pFjqIhr11U14Hdnd9fXNBgtuCxOIJkMT4Q5zUPbE5YvdH1t8+ZYAXRmxLK9jGLWek+2pRORHmR+IyIouuSfUPwIUvWdTFxfH18zH48he5dzZZnHut0L8ebuFEbcIHzKOCiVsfc/gSzd08fGBdC9NEwfHVJ5n05lC8p67/tjHMu9m5Yls3fqYmjjmvLBAc7FVaeKkxn0CocTHJDI2x1kKnnk9wY49Fmd8RkdMC6dHQ0o5BqUEPPlynH/5j2CW3y+iUV91QU6TWgyU4ntPvHx9VrZZTtV66o/9LVDSMSJOzccJQy7p86jIVzcYzPnnIE+sNWhvSxQUMbUDB7sU31sa5MYlwZ5dkr0xxj/bztTEjZ4J43+X64c+m938xqXTLSXrsOF03AORTbQF/9Rnike1X7j9eg/TTnUydlzOY3Vsg2EqHn8hzor7I7Qfyp4YimiMrZjDMO9pdlVpWZac2ddZov32++apy+5FuNYOLmJmJ7u6XiLYT5JUhU9YeL6LGQ1Ozmp04ihgKXPA+uPw9JoYdz0cZeee3HMRh+ZhfNUFVLqOsa1eUL9Z1XrL9X392u8bNjWsGCZY2wBbnGClLA5ENrM3tH7A/PvhQ4QLZrs5b5aT6ac5ilKGUvD2NoNn/xjnidXxnC3+MLyOYdRXX4Rbr+6zTBH4RNeNE59Yf2ufCxYDvlVzw/ILu2fItjVHw4qyL7yBA5HNqBzHEGSiwidMO9XB9FOdnDRB57ixGqPr9KxD+z45aLFzj8l7uyze2pJg3WaDfe39x58EjeG+KYyumInYu1VaKZEvDvTJk7yE2jR12U9EuMEevlKIm53sD2+mI7YV0yp8SbHCJ7hdgmGonGvRA6HGPYFR/ll4HEMKfnYgCKxY2XrzgCeP5TXijZLqW/ZJ5wy7jy526dWMrZzDqIqZtEe2cCDyl4KODwuGFcFwYYIXhCr3cYzwNZTtXAgF693R8G358ZMn5k++c7yl6+sp89cyQom9HIzu4FBsBwnLvtUul17JEPckhnpPwZ2xjGoz9iusaU+1Lt6VT+GC7Hr392JeYRC+mqFQRIwDBOK7CSX2EEy0FWSmNHHgddRR5TqGStcx+JwjB+NjDgEFc59qvXljvg8UzFHT1OXndH+6ZFA/4KCURczsJGZ2EDM7SVhhlDKwlImIhiZOXLofp1aFW6/Go9eW+1jiTMQVND3VevOAB3b3RlFNorlx+eUo9Xs+/V/JswuWKK5YufHmRwt9sCgBrtqw6BGUWgBEByz8j484IlcWI3wo0bfvNkdPgL1bXT89kKAo89JCvxuTRqFUFuZPXdFgifUsYNOa3acG+zSlXfjkxptaSyFSsg1/cuNNraLpjSj5U6m0PjVQvKV0mVmq8MGmY8q2t73YNWrSrAfdCYcCmc0/+sc8Y5GFT2y+zZaEVNsF1dy4tBkl92FTAO8owiei5NqVGxcVnTmSC7Yf1Le9bfX244ed8xvRxSvIND79vUGJkocSyvjC05sW939+QhEoq3DmT13RYGHd/Sn+zO1m0axvrXxrcdnGt7JOpJ7ceFOre8L4mQjXUcJC/+BD7VCKr7qPG99YTuHDIJqHFlq0TVP9FypRLcDUwaq3EAj8FWF5Z0X4D2vWtAxKEuoRsM9Kmhp//DmwrhFFM2U+rzoPRFBqpdL0B5/a8L3nQQY1O+CIDpALGpZUR0W/FKWuEjiTPNcnbICh4HURfudW1uPJvNgjg6PGQznvtOV+r5uZWMxTqHnAFOwdo95HWI1itWY6X+qdIHskcdQoIBPNs5ZWEmaSaNpEhXUiMAmljUVUBclTvmoOn3WkIChwCAiiJKg0tVuU2iFo20TJdstr7lj1xi2Dcih0ofg/Chj0h9J0t9UAAAAASUVORK5CYII=",t.noImageForAvatarError="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII="},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsiblePanel=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(143),g=r(y),v=t.CollapsiblePanel=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={buttonClicked:!1,expanded:!1},n.togglePanel=n.togglePanel.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"togglePanel",value:function(){this.setState(function(e){return{buttonClicked:!0,expanded:!e.expanded}})}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.setCollapsiblePanelRef,o=this.context,i=o.WithStatsIncludeCommonLabels,a=o.theme,s=o.noJS,u=a.formatMessage,l=u("showCollapsiblePanel",{title:t}),c=u("hideCollapsiblePanel",{title:t});return h.default.createElement("div",{className:"collapsible-panel"},h.default.createElement(i,{id:"stats-removed-comment",labels:{label:"removed-comment"},fireOnView:!0,fireOnClick:!this.state.buttonClicked,minimumTimeInView:0},h.default.createElement("button",{className:(0,g.default)("collapsible-panel__title",{"collapsible-panel__title--disabled":s}),"aria-hidden":s?"true":"false",disabled:s,ref:r,onClick:this.togglePanel,"aria-label":this.state.expanded?c:l,"aria-expanded":this.state.expanded?"true":"false"},t)),this.state.expanded&&h.default.createElement("div",{className:"collapsible-panel__content" },n))}}]),t}(p.Component);v.displayName="CollapsiblePanel",v.propTypes={title:p.PropTypes.string.isRequired,children:p.PropTypes.node.isRequired,setCollapsiblePanelRef:p.PropTypes.func},v.contextTypes={noJS:p.PropTypes.bool.isRequired,WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired,theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentLinks=t.getCommentLinks=void 0;var o=n(145),i=r(o),a=n(2),s=r(a),u=n(95),l=r(u),c=n(173),d=n(174),m=n(175),f=r(m),p=n(176),h=n(155),y=n(177),g=n(178),v=r(g),_=function(e){var t=e.commentData,n=e.commentAdminLinks,r=void 0===n?{}:n,o=e.isUserAnEditor,a=void 0!==o&&o,u=e.isFeatureEnabled,l=t.status===f.default.PASS,c=(0,h.not)(t.author.isNotable),d=l&&(c||a),m=u(y.FeaturesToggles.makeTopPick)&&r.makeTopPick&&d,g={};return d&&(0,h.not)(t.distressMessage)&&(g.reportCommentUrl=r.report?(0,p.formatCommentLinkUrlTemplate)(r.report.url,t):t.actions.reportUrl),r.viewModerationHistory&&(g.viewModerationHistoryUrl=(0,p.formatCommentLinkUrlTemplate)(r.viewModerationHistory.url,t)),m&&(g.makeTopPickUrl=(0,p.formatCommentLinkUrlTemplate)(r.makeTopPick.url,t)),r.memberDetails&&(g.memberDetailsUrl=(0,p.formatCommentLinkUrlTemplate)(r.memberDetails.url,t)),(0,s.default)({hasLinks:(0,i.default)(g).length>0},g)},b=function(e){var t=e.commentNumber,n=e.commentLinks,r=e.authorDisplayName,o=n.reportCommentUrl,i=n.viewModerationHistoryUrl,a=n.makeTopPickUrl,s=n.memberDetailsUrl,u=i||a||s;return l.default.createElement("div",null,o&&l.default.createElement(c.ActionLinks,{className:"action-links--comment-links"},l.default.createElement(c.ActionLink,{href:o,icon:l.default.createElement(v.default,{height:13,width:13,alignBaseline:!0}),className:"action-link--report"},"Report this comment")),u&&l.default.createElement(c.ActionLinks,{className:"action-links--admin-links"},a&&l.default.createElement(c.ActionLink,{href:a,className:"action-link--makeTopPick"},"Make ",l.default.createElement(d.A11yText,{contents:"comment number "+t+" "}),"Editor's Pick"),i&&l.default.createElement(c.ActionLink,{href:i,className:"action-link--viewModerationHistory"},l.default.createElement(d.A11yText,{contents:"View "}),"Moderation History",l.default.createElement(d.A11yText,{contents:" for comment number "+t})),s&&l.default.createElement(c.ActionLink,{href:s,className:"action-link--memberDetails"},l.default.createElement(d.A11yText,{contents:"View "}),"Member Details",l.default.createElement(d.A11yText,{contents:" for "+r}))))};b.propTypes={commentLinks:u.PropTypes.shape({reportCommentUrl:u.PropTypes.string,viewModerationHistoryUrl:u.PropTypes.string,makeTopPickUrl:u.PropTypes.string,memberDetailsUrl:u.PropTypes.string}),commentNumber:u.PropTypes.number.isRequired,authorDisplayName:u.PropTypes.string.isRequired},b.defaultProps={commentLinks:{}},t.getCommentLinks=_,t.CommentLinks=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ActionLinks=t.ActionLink=void 0;var o=n(95),i=r(o),a=n(143),s=r(a),u=t.ActionLink=function(e){var t=e.href,n=e.className,r=e.children,o=e.icon,a=void 0===o?null:o;return i.default.createElement("a",{className:(0,s.default)("action-link",n),href:t},a&&i.default.createElement("span",{className:"action-link__icon","aria-hidden":"true"},a),i.default.createElement("span",{className:"action-link__text"},r))};u.displayName="ActionLink",u.propTypes={className:o.PropTypes.string,href:o.PropTypes.string.isRequired,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),icon:o.PropTypes.object};var l=t.ActionLinks=function(e){var t=e.children,n=e.className,r=Array.isArray(t)?t:[t];return 0===r.length?i.default.createElement("noscript",null):i.default.createElement("ul",{className:(0,s.default)("action-links",n)},r.filter(function(e){return Boolean(e)}).map(function(e,t){var n=0!==t;return i.default.createElement("li",{key:t,className:(0,s.default)("action-links__item",{"action-links__item--with-separator":n})},e)}))};l.displayName="ActionLinks",l.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yText=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=t.A11yText=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={showText:!0},n.messageTimeout=null,n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"componentDidUpdate",value:function(e){var t=this,n=!e||e.contents!==this.props.contents;this.props.timeout>0&&n&&(this.messageTimeout&&clearTimeout(this.messageTimeout),this.setState({showText:!0}),this.messageTimeout=setTimeout(function(){t.setState({showText:!1})},this.props.timeout))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.messageTimeout)}},{key:"getCurrentA11yContents",value:function(){return this.state.showText?this.props.contents:" "}},{key:"render",value:function(){return h.default.createElement("span",{className:"comment__hidden-text"},this.getCurrentA11yContents())}}]),t}(p.Component);y.displayName="A11yText",y.propTypes={contents:p.PropTypes.node.isRequired,timeout:p.PropTypes.number},y.defaultProps={timeout:0}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="pass",r="fail",o="refer",i="unknown";t.default={PASS:n,FAIL:r,REFER:o,UNKNOWN:i},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(117),i=r(o),a=n(120),s=r(a),u=n(153),l=r(u),c=n(156),d=r(c),m=n(158),f=n(159),p=n(157);t.default={getAdminLinks:function(e){var t=this,n=e.apiKey,r=e.forumId;return(0,s.default)(i.default.mark(function e(){var o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.refreshToken)();case 2:return e.next=4,l.default.get(d.default.getAdminLinksUrl({env:(0,m.getEnv)(),forumId:r}),{headers:{"x-api-key":n}});case 4:return o=e.sent,e.abrupt("return",{forumAdminLinks:o.forumLinks,commentAdminLinks:o.commentLinks});case 6:case"end":return e.stop()}},e,t)}))()},formatCommentLinkUrlTemplate:function(e,t){return e.replace("{commentId}",t.id).replace("{userId}",t.author.userId).replace("{pageUrl}",function(){return encodeURIComponent((0,p.getClientLocation)())})},formatForumAdminLinkUrlTemplate:function(e){return e.replace("{pageTitle}",function(){return encodeURIComponent((0,p.getPageTitle)())}).replace("{pageUrl}",function(){return encodeURIComponent((0,p.getClientLocation)())})}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,a.default)(u).reduce(function(t,n){var r=u[n];return t[r]=e&&Boolean(e[r]),t},{});return{isFeatureEnabled:function(e){return"acc"===(0,s.getEnv)()||t[e]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.FeaturesToggles=void 0;var i=n(145),a=r(i);t.setupFeatureToggles=o;var s=n(158),u=t.FeaturesToggles={downRatings:"downRatings",ratings:"ratings",makeTopPick:"makeTopPick",liveUpdate:"liveUpdate",replies:"replies",sort:"sort"}},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(95),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r,a=e.alignToBaseline,s=void 0!==a&&a;return i.default.createElement("span",{className:"alert-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:n,viewBox:"0 0 32 "+(s?30:32)},i.default.createElement("path",{d:"M16 2L0 30h32L16 2zm2 25h-4v-4h4v4zm-4-6V11h4v10h-4z"})))};a.displayName="Alert",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number,alignToBaseline:o.PropTypes.bool},t.default=a,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}),t.CommentFooter=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(143),g=r(y),v=n(149),_=n(175),b=r(_),T=n(180),C=r(T),P=n(181),E=n(183),S=n(198),w=n(172),O=n(205),x=r(O),M=n(150),I=n(206),R=n(196),N=r(R),k=t.CommentFooter=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isActionTrayOpen:n.props.isActionTrayOpen,isReplyTrayOpen:n.props.isReplyTrayOpen,shouldReplyTrayRender:!0,currentSelectedRatingType:""},n.toggleActionTray=n.toggleActionTray.bind(n),n.toggleReplyTray=n.toggleReplyTray.bind(n),n.replyButtonArea=n.replyButtonArea.bind(n),n.replyInputArea=n.replyInputArea.bind(n),n.commentLinksToggle=n.commentLinksToggle.bind(n),n.repliesSeparatorArea=n.repliesSeparatorArea.bind(n),n.setCurrentSelectedRatingType=n.setCurrentSelectedRatingType.bind(n),n.cancelInput=n.cancelInput.bind(n),n.getReplyInputStatId=n.getReplyInputStatId.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"setCurrentSelectedRatingType",value:function(e){this.setState(function(){return{currentSelectedRatingType:e}})}},{key:"toggleActionTray",value:function(){this.setState(function(e){return{isReplyTrayOpen:!1,isActionTrayOpen:!e.isActionTrayOpen}})}},{key:"cancelInput",value:function(){this.toggleReplyTray(!0)}},{key:"getReplyInputStatId",value:function(){return"reply-input-"+this.props.commentData.id}},{key:"toggleReplyTray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.replyButtonElement&&(0,v.focusOnElement)(this.replyButtonElement),this.state.isReplyTrayOpen&&this.context.canSendStat(this.getReplyInputStatId(),N.default.commentInput)&&this.context.setStatSent(this.getReplyInputStatId(),N.default.commentInput),this.setState(function(e){return{isActionTrayOpen:!1,isReplyTrayOpen:!e.isReplyTrayOpen,shouldReplyTrayRender:!0}}),e&&(this.setState(function(){return{shouldReplyTrayRender:!1}}),this.context.setA11yAlertText(this.context.theme.formatMessage("clearReplyMessage")))}},{key:"replyButtonArea",value:function(e,t,n,r){var o=this,i=null;return r&&t&&(i=h.default.createElement("div",{className:"comment__reply-button"},h.default.createElement(P.ReplyButton,{setReplyButtonRef:function(e){return o.replyButtonElement=e},onClick:function(){return o.toggleReplyTray(!1)},replyTo:e.author.displayName,isReplyTrayOpen:n}))),i}},{key:"getReplyInputWrapper",value:function(e,t,n,r,o,i,a,s){return h.default.createElement(E.ReplyInputWrapper,{isReplyTrayOpen:a,isCommentWithReplies:(0,I.hasReplies)(t,this.context.isFeatureEnabled),isReplyToReply:n,cancelInput:this.cancelInput,inputTextLimit:r,inputModerationStatus:o,replyTo:t.author.displayName,idctaData:i,signinPrompt:this.context.theme.formatMessage("signInPrompt",{}),commentData:t,forumId:e,instanceId:s})}},{key:"replyInputArea",value:function(e,t,n,r,o,i,a,s,u,l){var c=null,d=this.context.WithStatsIncludeCommonLabels,m=l&&n&&u,f=this.getReplyInputStatId(),p=this.context.canSendStat(f,N.default.commentInput)&&m&&s,y=this.context.getInstanceId(f),g="stats-comments-input-"+t.id+"-"+y,v=m?this.getReplyInputWrapper(e,t,r,o,i,a,s,y):h.default.createElement("div",null);return c=h.default.createElement("div",{id:"reply"},h.default.createElement(d,{id:g,key:g,labels:{label:N.default.commentInput,metadata:{TYP:"reply"}},fireOnView:p,minimumTimeInView:0},v))}},{key:"commentRatingContainer",value:function(e,t,n,r,o){return h.default.createElement("div",{className:"comment__ratings"},h.default.createElement(S.CommentRatingContainer,{idctaData:t,isReply:o,isRatingEnabled:n,commentData:e,ratingValue:e.rating.positive,forumId:r,postRatingFunction:M.postRating,ratingType:C.default.POSITIVE,iconType:"Upvote",isSelected:this.state.currentSelectedRatingType===C.default.POSITIVE,setCurrentSelectedRatingType:this.setCurrentSelectedRatingType}))}},{key:"commentDownRatingContainer",value:function(e,t,n,r,o){return h.default.createElement("div",{className:"comment__down-ratings"},h.default.createElement(S.CommentRatingContainer,{idctaData:t,isReply:o,isRatingEnabled:n,commentData:e,ratingValue:Math.abs(e.rating.negative),forumId:r,postRatingFunction:M.postNegativeRating,ratingType:C.default.NEGATIVE,iconType:"Downvote",isSelected:this.state.currentSelectedRatingType===C.default.NEGATIVE,setCurrentSelectedRatingType:this.setCurrentSelectedRatingType}))}},{key:"commentLinksToggle",value:function(e,t){var n=null;return e&&(n=h.default.createElement("button",{onClick:this.toggleActionTray,className:(0,g.default)("comment__links-toggle",{"comment__links-toggle--enabled":t}),"aria-label":t?"Hide comment links":"Show comment links","aria-expanded":t?"true":"false"},h.default.createElement(x.default,null))),n}},{key:"commentLinksArea",value:function(e,t,n,r){var o=null;return e&&t&&(o=h.default.createElement("div",{className:"comment__action-tray"},h.default.createElement(w.CommentLinks,{commentLinks:n,commentNumber:r.index+1,authorDisplayName:r.author.displayName}))),o}},{key:"repliesSeparatorArea",value:function(e){var t=null;return(0,I.hasReplies)(e,this.context.isFeatureEnabled)&&!this.state.isReplyTrayOpen&&(t=h.default.createElement("div",{className:"reply-separator"})),t}},{key:"render",value:function(){var e=this.props,t=e.commentData,n=e.commentLinks,r=e.isReply,o=e.commentInputTextLimit,i=e.commentInputModerationStatus,a=e.idctaData,s=e.isRatingEnabled,u=e.userCanPostToForum,l=e.forumId,c=this.state,d=c.isActionTrayOpen,m=c.isReplyTrayOpen,f=c.shouldReplyTrayRender,p=(0,I.canReplyComment)(t,this.context.isFeatureEnabled),y=(0,I.canRateComment)(t,this.context.isFeatureEnabled),g=(0,I.canDownRateComment)(t,this.context.isFeatureEnabled),v=Boolean(n.hasLinks),_=p||y||g||v,b=h.default.createElement("div",null,_&&h.default.createElement("div",{className:"comment__footer"},this.replyButtonArea(t,p,m,u),h.default.createElement("div",{className:"comment__toolbar"},this.replyInputArea(l,t,p,r,o,i,a,m,f,u),h.default.createElement("div",{className:"comment__toolbar-section comment__toolbar-section--right"},y&&this.commentRatingContainer(t,a,s,l,r),g&&this.commentDownRatingContainer(t,a,s,l,r),this.commentLinksToggle(v,d))),this.commentLinksArea(v,d,n,t)),h.default.createElement("div",null,this.repliesSeparatorArea(t)));return b}}]),t}(p.Component);k.displayName="CommentFooter",k.propTypes={commentData:p.PropTypes.shape({index:p.PropTypes.number,id:p.PropTypes.number,actions:p.PropTypes.shape({reportUrl:p.PropTypes.string.isRequired}),children:p.PropTypes.arrayOf(p.PropTypes.shape({text:p.PropTypes.string,distressMessage:p.PropTypes.bool})),author:p.PropTypes.shape({userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]).isRequired,displayName:p.PropTypes.string.isRequired,isNotable:p.PropTypes.bool.isRequired}).isRequired,dateCreated:p.PropTypes.string,text:p.PropTypes.string.isRequired,rating:p.PropTypes.oneOfType([p.PropTypes.shape({positive:p.PropTypes.number.isRequired}),p.PropTypes.shape({negative:p.PropTypes.number.isRequired})]),status:p.PropTypes.oneOf([b.default.FAIL,b.default.PASS,b.default.REFER,b.default.UNKNOWN])}).isRequired,commentLinks:p.PropTypes.shape({reportCommentUrl:p.PropTypes.string,viewModerationHistoryUrl:p.PropTypes.string,makeTopPickUrl:p.PropTypes.string,memberDetailsUrl:p.PropTypes.string,hasLinks:p.PropTypes.Boolean}),isReply:p.PropTypes.bool,commentInputTextLimit:p.PropTypes.number,commentInputModerationStatus:p.PropTypes.string,idctaData:p.PropTypes.object.isRequired,isRatingEnabled:p.PropTypes.bool,userCanPostToForum:p.PropTypes.bool,forumId:p.PropTypes.string.isRequired,isReplyTrayOpen:p.PropTypes.bool,isActionTrayOpen:p.PropTypes.bool},k.defaultProps={isReplyTrayOpen:!1,isReply:!1},k.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func}),isFeatureEnabled:p.PropTypes.func.isRequired,setA11yAlertText:p.PropTypes.func.isRequired,WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired,canSendStat:p.PropTypes.func.isRequired,setStatSent:p.PropTypes.func.isRequired,getInstanceId:p.PropTypes.func.isRequired}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="positive",r="negative";t.default={POSITIVE:n,NEGATIVE:r},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}),t.ReplyButton=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(143),g=r(y),v=n(182),_=r(v),b=t.ReplyButton=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.onClick,r=e.replyTo,o=e.isReplyTrayOpen,i=e.setReplyButtonRef,a=r?this.context.theme.formatMessage("replyTo")+" "+r:""+this.context.theme.formatMessage("replyComment"),s=o?""+this.context.theme.formatMessage("closeReply"):a,u=o;return h.default.createElement("div",{className:"reply-button-wrapper"},h.default.createElement("button",{ref:i,className:(0,g.default)("reply-button",t),"aria-label":s,"aria-expanded":u,onClick:n},h.default.createElement("span",{className:"reply-button__icon"},h.default.createElement(_.default,{iconName:"comments",additionalClassNames:"reply-button__icon-gel"})),h.default.createElement("span",{className:"reply-button__text"},"Reply")))}}]),t}(p.Component);b.displayName="ReplyButton",b.propTypes={className:p.PropTypes.string,onClick:p.PropTypes.func,replyTo:p.PropTypes.string,isReplyTrayOpen:p.PropTypes.bool,setReplyButtonRef:p.PropTypes.func},b.defaultProps={isReplyTrayOpen:!1},b.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t){e.exports=Morph.modules["bbc-morph-gel-icons@4.0.0"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplyInputWrapper=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(184),g=n(185),v=n(143),_=r(v),b=n(150),T=t.ReplyInputWrapper=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.postCommentHandler=n.postCommentHandler.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getIdctaData",value:function(){return this.props.idctaData}},{key:"isSignedIn",value:function(){return this.getIdctaData().signedIn===!0}},{key:"isEligibleToComment",value:function(){return Boolean(this.getIdctaData().policyCheck)===!1}},{key:"postCommentHandler",value:function(e){var t=this.context.apiKey,n=this.props.commentData,r=n.id,o=n.commentId,i=this.props.forumId;return(0,b.postReply)({apiKey:t,forumId:i,replyText:e,id:r,commentId:o})}},{key:"render",value:function(){var e=this.props,t=e.isCommentWithReplies,n=e.isReplyToReply,r=e.signinPrompt,o=e.replyTo,i=e.cancelInput,a=e.inputTextLimit,s=e.inputModerationStatus,u=e.isReplyTrayOpen,l=e.commentData,c=e.instanceId,d=(0,_.default)("reply",{"reply-to-reply":n},{"reply-input-hidden":!u});return h.default.createElement("div",{className:d},!this.isSignedIn()&&h.default.createElement("div",{className:"reply__signin"},h.default.createElement("p",{className:"reply__signin--prompt"},r),h.default.createElement(y.IdctaSignInButton,{markup:this.getIdctaData().signInButton})),this.isSignedIn()&&h.default.createElement("div",{className:"reply__signedin"},!this.isEligibleToComment()&&h.default.createElement("div",{className:"reply__signedin-ineligible",dangerouslySetInnerHTML:{__html:""+this.getIdctaData().signedInMessage}}),this.isEligibleToComment()&&h.default.createElement("div",{className:"reply__signedin-eligible"},h.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to ",o),h.default.createElement(g.CommentsInput,{commentInputClass:"reply-input",buttonsWrapperClass:"reply-input-buttons-wrapper",cancelInput:i,isDisabled:!1,textLimit:a,moderationStatus:s,createForum:!1,postCommentHandler:this.postCommentHandler,isReply:!0,id:l.id,instanceId:c}))),t&&h.default.createElement("div",{className:"replies-separator"}))}}]),t}(p.Component);T.displayName="ReplyInputWrapper",T.propTypes={isReplyTrayOpen:p.PropTypes.bool,isCommentWithReplies:p.PropTypes.oneOfType([p.PropTypes.bool,p.PropTypes.array]),isReplyToReply:p.PropTypes.bool,idctaData:p.PropTypes.object,signinPrompt:p.PropTypes.string,replyTo:p.PropTypes.string,cancelInput:p.PropTypes.func,inputTextLimit:p.PropTypes.number,inputModerationStatus:p.PropTypes.string,commentData:p.PropTypes.object.isRequired,forumId:p.PropTypes.string.isRequired,instanceId:p.PropTypes.number},T.defaultProps={signinPrompt:"",idctaData:{signedIn:!1,policyCheck:!1},isReplyTrayOpen:!1,instanceId:1},T.contextTypes={apiKey:p.PropTypes.string.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.IdctaSignInButton=void 0;var o=n(95),i=r(o),a=t.IdctaSignInButton=function(e){var t=e.markup;return i.default.createElement("div",{className:"comments__idcta-btn",dangerouslySetInnerHTML:{__html:t}})};a.displayName="IdctaSignInButton",a.propTypes={markup:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsInput=void 0;var o=n(186),i=r(o),a=n(44),s=r(a),u=n(49),l=r(u),c=n(50),d=r(c),m=n(54),f=r(m),p=n(87),h=r(p),y=n(95),g=r(y),v=n(143),_=r(v),b=n(164),T=n(190),C=n(191),P=r(C),E=n(161),S=n(193),w=n(194),O=n(149),x=n(196),M=r(x),I=n(197),R=t.CommentsInput=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.state={inputText:"",inputLength:0,hasInputChanged:!1,isSubmittingComment:!1,commentAlert:null,createForum:e.createForum,remainingCharactersMessage:"",statIndex:0,isInputFocused:!1},n.formOnSubmit=n.formOnSubmit.bind(n),n.inputBoxOnChange=n.inputBoxOnChange.bind(n),n.cancelInput=n.cancelInput.bind(n),n.getRemainingCharactersMessage=n.getRemainingCharactersMessage.bind(n),n.getCommentType=n.getCommentType.bind(n),n.getStatId=n.getStatId.bind(n),n.focusHandler=n.focusHandler.bind(n),n}return(0,h.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){this.props.instanceId>1&&this.showPostSuccessMessage()}},{key:"isPostCommentButtonDisabled",value:function(){return this.props.isDisabled||this.state.isSubmittingComment||this.hasTextLimit()&&this.isTextOverLimit()}},{key:"isInputBoxEmpty",value:function(){return 0===this.state.inputText.trim().length}},{key:"focusHandler",value:function(){var e=this.state.isInputFocused;this.setState({isInputFocused:!e})}},{key:"getCommentType",value:function(){return this.props.isReply?"reply":"comment"}},{key:"setCommentAlert",value:function(e,t){this.setState({commentAlert:{type:e,message:t}})}},{key:"getRemainingCharactersMessage",value:function(e){var t=this.props.textLimit-e;if(e>this.props.textLimit){var n=e-this.props.textLimit;return this.context.theme.formatMessage("overCharacterLimitMessage",{excessCharacters:n})}return e<this.props.textLimit?this.context.theme.formatMessage("underCharacterLimitMessage",{remainingCharacters:t}):this.context.theme.formatMessage("atCharacterLimitMessage")}},{key:"inputBoxOnChange",value:function(e){var t=e.target.value,n=t.trim().length,r=this.getRemainingCharactersMessage(n);this.state.inputLength<=this.props.textLimit&&n>this.props.textLimit&&this.context.setA11yAlertText(r),this.state.inputLength>this.props.textLimit&&n<=this.props.textLimit&&this.context.setA11yAlertText(r),this.setState({inputText:t,inputLength:n,hasInputChanged:!0,remainingCharactersMessage:r}),this.context.canSendStat(this.getStatId(),M.default.commentCompose)&&((0,I.sendCommentComposeStat)(this.context,this.getCommentType()),this.context.setStatSent(this.getStatId(),M.default.commentCompose))}},{key:"isTextOverLimit",value:function(){return this.state.inputLength>this.props.textLimit}},{key:"getRemainingCharacters",value:function(){return this.props.textLimit-this.state.inputLength}},{key:"resetInputBox",value:function(){this.commentsInput&&(0,O.focusOnElement)(this.commentsInput),this.setState({inputText:"",inputLength:0,hasInputChanged:!1,remainingCharactersMessage:this.getRemainingCharactersMessage(0)})}},{key:"handlePostCommentErrors",value:function(e){var t=(0,S.getMessageKeyForError)(e),n=this.context.theme.formatMessage(t);if(this.context.canSendStat(this.getStatId(),M.default.commentPostError)){var r={commentType:this.getCommentType(),length:this.state.inputLength,errorType:e};(0,I.sendCommentPostErrorStat)(this.context,r),this.context.setStatSent(this.getStatId(),M.default.commentPostError)}this.setCommentAlert(T.AlertTypes.ERROR,n),this.context.setA11yAlertText(n)}},{key:"getSuccessIcon",value:function(e){return e===T.AlertTypes.SUCCESS?this.context.theme.getIcon("SuccessIcon"):null}},{key:"showPostSuccessMessage",value:function(){var e=(0,w.getPostCommentSuccessMessageKey)(this.props.moderationStatus),t=this.context.theme.formatMessage(e);this.setCommentAlert(T.AlertTypes.SUCCESS,t),this.context.setA11yAlertText(t)}},{key:"formOnSubmit",value:function(e){var t=this;e.preventDefault();var n=this.state.inputText;if(this.context.canSendStat(this.getStatId(),M.default.commentPost)&&(this.context.setStatSent(this.getStatId(),M.default.commentPost),(0,I.sendCommentPostStat)(this.context,this.getCommentType(),this.state.inputLength)),this.setState({isSubmittingComment:!0}),this.isInputBoxEmpty())this.handlePostCommentErrors(E.ErrorTypes.POSTING_EMPTY_COMMENTS_NOT_ALLOWED);else{var r=this.props.postCommentHandler;r(n).then(function(){t.resetInputBox(),t.showPostSuccessMessage(),t.context.clearStatsSent(t.getStatId()),t.setState(function(e){return{statIndex:e.statIndex+1,createForum:!1}})}).catch(function(e){t.handlePostCommentErrors(e)}).then(function(){t.setState({isSubmittingComment:!1})})}}},{key:"hasTextLimit",value:function(){return(0,i.default)(this.props.textLimit)}},{key:"postCommentButtonText",value:function(){return this.context.theme.formatMessage("postCommentButtonText")}},{key:"cancelInput",value:function(){this.context.setStatSent(this.getStatId(),M.default.commentInput),this.context.canSendStat(this.getStatId(),M.default.commentCancel)&&(this.context.setStatSent(this.getStatId(),M.default.commentCancel),(0,I.sendCommentCancelStat)(this.context,this.getCommentType(),this.state.inputLength)),this.props.cancelInput?this.props.cancelInput():(this.resetInputBox(),this.context.setA11yAlertText(this.context.theme.formatMessage("clearCommentMessage")))}},{key:"getStatId",value:function(){return this.props.isReply?"reply-input-"+this.props.id:"comment-input"}},{key:"render",value:function(){var e=this,t=this.state.hasInputChanged&&this.state.inputLength>0;return g.default.createElement("div",{className:this.props.commentInputClass},this.state.commentAlert&&g.default.createElement(b.CommentsAlert,{type:this.state.commentAlert.type,Icon:this.getSuccessIcon(this.state.commentAlert.type)},this.state.commentAlert.message),g.default.createElement("form",{onSubmit:this.formOnSubmit,className:"comments__input"},g.default.createElement("div",{className:"comments__input-area"},g.default.createElement(P.default,{className:(0,_.default)("comments-input-box",{"comments-input-box--focused":this.state.isInputFocused,"comments-input-box--has-input":t}),useCacheForDOMMeasurements:!0,value:this.state.inputText,placeholder:"Add your comment…",minRows:1,maxRows:8,onFocus:this.focusHandler,onBlur:this.focusHandler,onChange:this.inputBoxOnChange,ref:function(t){return e.commentsInput=t},"aria-label":this.state.remainingCharactersMessage}),this.hasTextLimit()&&this.state.hasInputChanged&&g.default.createElement(b.CommentsTextLimit,{remainingCharacters:this.getRemainingCharacters(),isTextOverLimit:this.isTextOverLimit(),textLimit:this.props.textLimit,inputText:this.state.inputText,remainingCharactersMessage:this.state.remainingCharactersMessage})),t&&g.default.createElement("div",{className:this.props.buttonsWrapperClass},g.default.createElement(b.CommentsButton,{type:"submit",className:"comments__submit-button",isDisabled:this.isPostCommentButtonDisabled()},this.postCommentButtonText()),g.default.createElement("button",{type:"button",className:"comments__cancel-link",onClick:this.cancelInput,"aria-label":this.context.theme.formatMessage("clearCommentButtonText")},"Cancel"))))}}]),t}(y.Component);R.displayName="CommentsInput",R.propTypes={commentInputClass:y.PropTypes.string,buttonsWrapperClass:y.PropTypes.string,textLimit:y.PropTypes.number,moderationStatus:y.PropTypes.string.isRequired,createForum:y.PropTypes.bool.isRequired,isDisabled:y.PropTypes.bool,cancelInput:y.PropTypes.func,postCommentHandler:y.PropTypes.func.isRequired,isReply:y.PropTypes.bool,id:y.PropTypes.oneOfType([y.PropTypes.number,y.PropTypes.bool]),instanceId:y.PropTypes.number},R.contextTypes={apiKey:y.PropTypes.string.isRequired,forumId:y.PropTypes.string.isRequired,isFeatureEnabled:y.PropTypes.func.isRequired,setA11yAlertText:y.PropTypes.func.isRequired,theme:y.PropTypes.shape({formatMessage:y.PropTypes.func.isRequired,getIcon:y.PropTypes.func.isRequired}).isRequired,logImpressionEventWithCommonLabels:y.PropTypes.func.isRequired,logClickEventWithCommonLabels:y.PropTypes.func.isRequired,canSendStat:y.PropTypes.func.isRequired,setStatSent:y.PropTypes.func.isRequired,clearStatsSent:y.PropTypes.func.isRequired},R.defaultProps={commentInputClass:"",buttonsWrapperClass:"",isReply:!1,id:!1,instanceId:1}},function(e,t,n){e.exports={default:n(187),__esModule:!0}},function(e,t,n){n(188),e.exports=n(8).Number.isInteger},function(e,t,n){var r=n(6);r(r.S,"Number",{isInteger:n(189)})},function(e,t,n){var r=n(14),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsAlert=t.AlertTypes=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=(t.AlertTypes={ERROR:"error",SUCCESS:"success"},t.CommentsAlert=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.type,n=e.role,r=e.children,o=e.Icon;return h.default.createElement("div",{role:n,className:"comments__alert"},h.default.createElement("div",{className:"comments-"+t+"-message"},o&&h.default.createElement("div",{className:"comments-success-message-icon"},h.default.createElement(o,null)),h.default.createElement("div",{className:"comments-success-message-text"},r)))}}]),t}(p.Component));y.displayName="CommentsAlert",y.propTypes={type:p.PropTypes.string.isRequired,role:p.PropTypes.string,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),Icon:p.PropTypes.func}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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){return window.requestAnimationFrame?window.requestAnimationFrame(e):window.setTimeout(e,1); }function u(e){window.cancelAnimationFrame?window.cancelAnimationFrame(e):window.clearTimeout(e)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e,t,n){for(var r=!0;r;){var o=e,i=t,a=n;s=l=u=void 0,r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0!==s){if("value"in s)return s.value;var u=s.get;if(void 0===u)return;return u.call(a)}var l=Object.getPrototypeOf(o);if(null===l)return;e=l,t=i,n=a,r=!0}},m=n(95),f=r(m),p=n(192),h=r(p),y=function(){},g=function(e){function t(e){i(this,t),d(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={height:null,minHeight:-(1/0),maxHeight:1/0},this._onNextFrameActionId=null,this._rootDOMNode=null,this._onChange=this._onChange.bind(this),this._resizeComponent=this._resizeComponent.bind(this),this._onRootDOMNode=this._onRootDOMNode.bind(this)}return a(t,e),c(t,null,[{key:"propTypes",value:{value:f.default.PropTypes.string,onChange:f.default.PropTypes.func,onHeightChange:f.default.PropTypes.func,useCacheForDOMMeasurements:f.default.PropTypes.bool,rows:f.default.PropTypes.number,minRows:f.default.PropTypes.number,maxRows:f.default.PropTypes.number},enumerable:!0},{key:"defaultProps",value:{onChange:y,onHeightChange:y,useCacheForDOMMeasurements:!1},enumerable:!0}]),c(t,[{key:"render",value:function(){var e=this.props,t=e.valueLink,n=(e.onChange,o(e,["valueLink","onChange"]));n=l({},n),"object"==typeof t&&(n.value=this.props.valueLink.value),n.style=l({},n.style,{height:this.state.height});var r=Math.max(n.style.maxHeight?n.style.maxHeight:1/0,this.state.maxHeight);return r<this.state.height&&(n.style.overflow="hidden"),f.default.createElement("textarea",l({},n,{onChange:this._onChange,ref:this._onRootDOMNode}))}},{key:"componentDidMount",value:function(){this._resizeComponent(),window.addEventListener("resize",this._resizeComponent)}},{key:"componentWillReceiveProps",value:function(){this._clearNextFrame(),this._onNextFrameActionId=s(this._resizeComponent)}},{key:"componentDidUpdate",value:function(e,t){this.state.height!==t.height&&this.props.onHeightChange(this.state.height)}},{key:"componentWillUnmount",value:function(){this._clearNextFrame(),window.removeEventListener("resize",this._resizeComponent)}},{key:"_clearNextFrame",value:function(){this._onNextFrameActionId&&u(this._onNextFrameActionId)}},{key:"_onRootDOMNode",value:function(e){this._rootDOMNode=e}},{key:"_onChange",value:function(e){this._resizeComponent();var t=this.props,n=t.valueLink,r=t.onChange;n?n.requestChange(e.target.value):r(e)}},{key:"_resizeComponent",value:function(){var e=this.props.useCacheForDOMMeasurements;this.setState((0,h.default)(this._rootDOMNode,e,this.props.rows||this.props.minRows,this.props.maxRows))}},{key:"focus",value:function(){this._rootDOMNode.focus()}},{key:"blur",value:function(){this._rootDOMNode.blur()}},{key:"value",get:function(){return this._rootDOMNode.value},set:function(e){this._rootDOMNode.value=e}},{key:"selectionStart",get:function(){return this._rootDOMNode.selectionStart},set:function(e){this._rootDOMNode.selectionStart=e}},{key:"selectionEnd",get:function(){return this._rootDOMNode.selectionEnd},set:function(e){this._rootDOMNode.selectionEnd=e}}]),t}(f.default.Component);t.default=g,e.exports=t.default},function(e,t){"use strict";function n(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],i=arguments.length<=3||void 0===arguments[3]?null:arguments[3];s||(s=document.createElement("textarea"),document.body.appendChild(s));var a=r(e,t),u=a.paddingSize,l=a.borderSize,c=a.boxSizing,d=a.sizingStyle;s.setAttribute("style",d+";"+o),s.value=e.value||e.placeholder||"";var m=-(1/0),f=1/0,p=s.scrollHeight;if("border-box"===c?p+=l:"content-box"===c&&(p-=u),null!==n||null!==i){s.value="";var h=s.scrollHeight-u;null!==n&&(m=h*n,"border-box"===c&&(m=m+u+l),p=Math.max(m,p)),null!==i&&(f=h*i,"border-box"===c&&(f=f+u+l),p=Math.min(f,p))}return{height:p,minHeight:m,maxHeight:f}}function r(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&a[n])return a[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),s=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),u=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=i.map(function(e){return e+":"+r.getPropertyValue(e)}).join(";"),c={sizingStyle:l,paddingSize:s,borderSize:u,boxSizing:o};return t&&n&&(a[n]=c),c}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var o="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",i=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],a={},s=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageKeyForError=void 0;var r=n(161);t.getMessageKeyForError=function(e){switch(e){case r.ErrorTypes.TOKEN_REFRESH_FAILED:case r.ErrorTypes.IDCTA_FAILED:return"postCommentIdctaError";case r.ErrorTypes.POSTING_EMPTY_COMMENTS_NOT_ALLOWED:return"postingEmptyCommentNotAllowed";case r.ErrorTypes.PROFANITY_FOUND_IN_TEXT:return"profanityFoundInText";case r.ErrorTypes.POSTING_TO_CLOSED_FORUM:return"postingToClosedForumNotAllowed";case r.ErrorTypes.COMMENT_NOT_FOUND:case r.ErrorTypes.REPLY_NOT_FOUND:case r.ErrorTypes.DISCUSSION_NOT_FOUND:case r.ErrorTypes.MORE_COMMENTS_FAILED:case r.ErrorTypes.ID_UNAVAILABLE:case r.ErrorTypes.UNKNOWN_ERROR:default:return"genericError"}}},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(195),i=r(o);t.default={getPostCommentSuccessMessageKey:function(e){switch(e){case i.default.PRE_MODERATED:return"postCommentSuccessPremoderated";default:return"postCommentSuccessDefault"}}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="reactively-moderated",r="post-moderated",o="pre-moderated";t.default={REACTIVELY_MODERATED:n,POST_MODERATED:r,PRE_MODERATED:o},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={pageLoaded:"module-loaded",sort:"sort-order",sortError:"sort-order-error",moreRepliesLoadError:"more-replies-load-error",moreRepliesCheckError:"more-replies-check-error",moreCommentsAvailable:"new-comments-available",commentInput:"comment-input",commentCompose:"comment-compose",commentPost:"comment-post",commentCancel:"comment-cancel",commentPostError:"comment-post-error"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,w.default)(e?e:{}).reduce(function(e,t){return t},"none")}function i(e,t,n){var r=t?o(n):"notsignedin";return{ACE:e?r:"na"}}function a(e,t,n,r){var o=e.logImpressionEventWithCommonLabels,a=i(t,n.isSignedIn,n.policyCheck),s={label:"module-loaded",metadata:(0,C.default)({},a,{ORD:r})};o(s)}function s(e,t){var n=e.logClickEventWithCommonLabels,r={label:"sort-order",metadata:{ORD:t}};n(r)}function u(e,t){var n=e.logImpressionEventWithCommonLabels;n({label:"sort-order-error",metadata:{ORD:t}})}function l(e){var t=e.logImpressionEventWithCommonLabels,n={label:"more-replies-load-error"};t(n)}function c(e){var t=e.logImpressionEventWithCommonLabels,n={label:"more-replies-check-error"};t(n)}function d(e,t){var n=e.logImpressionEventWithCommonLabels,r={label:"new-comments-available",metadata:{NCC:t}};n(r)}function m(e,t){var n=e.logClickEventWithCommonLabels;n({label:"reaction-positive",metadata:{TYP:t}})}function f(e,t){var n=e.logClickEventWithCommonLabels;n({label:"reaction-negative",metadata:{TYP:t}})}function p(e,t){var n=e.logImpressionEventWithCommonLabels;n({label:"reaction-error",metadata:{ERR:t}})}function h(e,t){var n=e.logClickEventWithCommonLabels,r={label:M.default.commentCompose,metadata:{TYP:t}};n(r)}function y(e,t,n){var r=e.logClickEventWithCommonLabels,o={label:M.default.commentPost,metadata:{TYP:t,LNG:n}};r(o)}function g(e,t,n){var r=e.logClickEventWithCommonLabels,o={label:M.default.commentCancel,metadata:{TYP:t,LNG:n}};r(o)}function v(e,t){var n=e.logImpressionEventWithCommonLabels,r=t.commentType,o=t.length,i=t.errorType,a={label:M.default.commentPostError,metadata:{TYP:r,LNG:o,ERR:i}};n(a)}function _(e,t){var n=e.title&&"Comments"!==e.title?e.title:(0,O.getPageTitle)();return{container:"Comments",metadata:{THM:t},source:e.siteName,result:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.postStatsSentValues=void 0;var b,T=n(2),C=r(T),P=n(148),E=r(P),S=n(145),w=r(S);t.getACEStat=i,t.sendPageLoadedStat=a,t.sendSortStat=s,t.sendSortErrorStat=u,t.sendMoreRepliesLoadErrorStat=l,t.sendMoreRepliesCheckErrorStat=c,t.sendMoreCommentsAvailableStat=d,t.sendReactionPositiveStat=m,t.sendReactionNegativeStat=f,t.sendReactionErrorStat=p,t.sendCommentComposeStat=h,t.sendCommentPostStat=y,t.sendCommentCancelStat=g,t.sendCommentPostErrorStat=v,t.commonStatsLabels=_;var O=n(157),x=n(196),M=r(x);t.postStatsSentValues=(b={},(0,E.default)(b,M.default.commentInput,!1),(0,E.default)(b,M.default.commentCompose,!1),(0,E.default)(b,M.default.commentPost,!1),(0,E.default)(b,M.default.commentCancel,!1),(0,E.default)(b,M.default.commentPostError,!1),b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentRatingContainer=void 0;var o=n(117),i=r(o),a=n(120),s=r(a),u=n(44),l=r(u),c=n(49),d=r(c),m=n(50),f=r(m),p=n(54),h=r(p),y=n(87),g=r(y),v=n(95),_=r(v),b=n(199),T=n(202),C=n(184),P=n(161),E=n(197),S=n(180),w=r(S),O=t.CommentRatingContainer=function(e){function t(e,n){(0,d.default)(this,t);var r=(0,h.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e)),o=n.theme.formatMessage("tooltipSubtitle");return r.state={hasError:!1,tooltipText:o,isSendingRating:!1},r.ratingErrorHandler=r.ratingErrorHandler.bind(r),r.handleClick=r.handleClick.bind(r),r.tooltipCloseHandler=r.tooltipCloseHandler.bind(r),r}return(0,g.default)(t,e),(0,f.default)(t,[{key:"render",value:function(){if(this.isSignedOut()&&this.props.isRatingEnabled||this.state.hasError){var e=this.state.hasError?_.default.createElement("div",{"aria-live":"polite","aria-atomic":"true"},this.state.tooltipBody):_.default.createElement(C.IdctaSignInButton,{markup:this.props.idctaData.signInButton});return _.default.createElement(b.TooltipLauncher,{tooltipSubtitle:this.state.tooltipText,isTooltipOpen:this.state.hasError,isTooltipAlert:this.state.hasError,tooltipBody:e,tooltipOnClose:this.tooltipCloseHandler},this.renderCommentRating())}return this.renderCommentRating()}},{key:"renderCommentRating",value:function(){var e=this.props,t=e.commentData,n=e.isRatingEnabled,r=e.isSelected,o=e.iconType,i=e.ratingType,a=r?this.props.ratingValue+1:this.props.ratingValue;return _.default.createElement(T.CommentRating,{ratingType:i,Icon:this.context.theme.getIcon(o),isDisabled:!n,commentId:t.id,ratingErrorHandler:this.ratingErrorHandler,isSendingRating:this.state.isSendingRating,ratingValue:a,hasRatedComment:r,numberPlacement:this.context.theme.ratingsNumberPlacement,handleClick:this.handleClick})}},{key:"tooltipCloseHandler",value:function(){this.setState({hasError:!1})}},{key:"isSignedOut",value:function(){return this.props.idctaData.signedIn!==!0}},{key:"ratingErrorHandler",value:function(e){var t=this.context.theme.formatMessage,n=t("idctaFailedErrorBody"),r=t("tooltipErrorSubtitle"),o=t("otherErrorBody"),i=e===P.ErrorTypes.TOKEN_REFRESH_FAILED?n:o;(0,E.sendReactionErrorStat)(this.context,e),this.setState({tooltipText:r,tooltipBody:i,hasError:!0})}},{key:"sendReactionStat",value:function(){function e(){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.props.ratingType===w.default.POSITIVE?(0,E.sendReactionPositiveStat)(this.context,this.props.isReply?"reply":"comment"):(0,E.sendReactionNegativeStat)(this.context,this.props.isReply?"reply":"comment"));case 1:case"end":return e.stop()}},e,this)}));return e}()},{key:"handleClick",value:function(){function e(e){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t){var n,r,o,a=t.ratingStatusText,s=void 0===a?"":a;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.state.isSendingRating&&!this.props.isSelected){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.sendReactionStat();case 4:if(!this.isSignedOut()){e.next=7;break}return(0,E.sendReactionErrorStat)(this.context,P.ErrorTypes.USER_NOT_SIGNED_IN),e.abrupt("return");case 7:return n=this.context.apiKey,r=this.props.commentData,o=this.props.forumId,this.setState({isSendingRating:!0}),e.prev=11,e.next=14,this.props.postRatingFunction(n,r,o);case 14:this.props.setCurrentSelectedRatingType(this.props.ratingType),this.setState({isSendingRating:!1}),this.context.setA11yAlertText(s),e.next=23;break;case 19:e.prev=19,e.t0=e.catch(11),this.setState({isSendingRating:!1}),this.ratingErrorHandler(e.t0);case 23:case"end":return e.stop()}},e,this,[[11,19]])}));return e}()}]),t}(v.Component);O.displayName="CommentRatingContainer",O.propTypes={isRatingEnabled:v.PropTypes.bool,commentData:v.PropTypes.shape({index:v.PropTypes.number,id:v.PropTypes.number.isRequired,rating:v.PropTypes.oneOfType([v.PropTypes.shape({positive:v.PropTypes.number.isRequired}),v.PropTypes.shape({negative:v.PropTypes.number.isRequired})])}).isRequired,idctaData:v.PropTypes.object.isRequired,forumId:v.PropTypes.string.isRequired,ratingType:v.PropTypes.string.isRequired,iconType:v.PropTypes.string.isRequired,postRatingFunction:v.PropTypes.func.isRequired,ratingValue:v.PropTypes.number.isRequired,isSelected:v.PropTypes.bool.isRequired,setCurrentSelectedRatingType:v.PropTypes.func.isRequired,isReply:v.PropTypes.bool},O.defaultProps={isRatingEnabled:!0,isReply:!1},O.contextTypes={apiKey:v.PropTypes.string.isRequired,theme:v.PropTypes.shape({getIcon:v.PropTypes.func.isRequired,ratingsNumberPlacement:v.PropTypes.string.isRequired,formatMessage:v.PropTypes.func}).isRequired,setA11yAlertText:v.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:v.PropTypes.func.isRequired,logClickEventWithCommonLabels:v.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipLauncher=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(200),g=t.TooltipLauncher=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isTooltipOpen:e.isTooltipOpen},n.openTooltip=n.openTooltip.bind(n),n.closeToolTip=n.closeToolTip.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.tooltipSubtitle,n=e.tooltipBody,r=e.children,o=e.isTooltipAlert;return h.default.createElement("div",{className:"tooltip-launcher"},h.default.createElement("div",{onClick:this.openTooltip,className:"tooltip-launcher__children"},r),this.state.isTooltipOpen&&h.default.createElement(y.Tooltip,{subtitle:t,handleClose:this.closeToolTip,isAlert:o},n))}},{key:"openTooltip",value:function(){this.setState({isTooltipOpen:!0})}},{key:"closeToolTip",value:function(){var e=this.props.tooltipOnClose;this.setState({isTooltipOpen:!1}),e()}}]),t}(p.Component);g.displayName="TooltipLauncher",g.propTypes={tooltipSubtitle:p.PropTypes.string,tooltipBody:p.PropTypes.object,isTooltipOpen:p.PropTypes.bool,isTooltipAlert:p.PropTypes.bool,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),tooltipOnClose:p.PropTypes.func},g.defaultProps={tooltipSubtitle:"",isTooltipOpen:!1,isTooltipAlert:!1,tooltipBody:h.default.createElement("div",null),tooltipOnClose:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(201),g=r(y),v=n(178),_=r(v),b=n(98),T=n(149),C=n(143),P=r(C),E=5,S=t.Tooltip=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={tooltipCssLeft:"unset",tooltipPointCssLeft:"unset"},n.handleClickOutside=n.handleClickOutside.bind(n),n.updatePositionOnWindowResize=n.updatePositionOnWindowResize.bind(n),n.throttledUpdatePositionOnWindowResize=(0,b.throttle)(n.updatePositionOnWindowResize,300),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.subtitle,r=t.children,o=t.handleClose,i=t.isAlert,a={left:this.state.tooltipCssLeft},s={left:this.state.tooltipPointCssLeft};return h.default.createElement("div",{className:"comment-tooltip",style:a,ref:function(t){return e.commentTooltip=t}},h.default.createElement("span",{className:"comment-tooltip__pointer",style:s}),h.default.createElement("div",{className:"comment-tooltip__inner"},h.default.createElement("div",{className:"comment-tooltip__content"},h.default.createElement("p",{tabIndex:"0",className:(0,P.default)("comment-tooltip__subtitle",{"comment-tooltip__subtitle--alert":i}),"aria-label":n,ref:function(t){return e.commentTooltipSubtitle=t}},i&&h.default.createElement(_.default,null),n),h.default.createElement("div",{className:"comment-tooltip__body"},r),h.default.createElement("button",{onClick:o,className:"comment-tooltip__close",title:"Close","aria-label":"Close Tooltip"},h.default.createElement("span",{className:"comment-tooltip__close-icon"},h.default.createElement(g.default,null))))))}},{key:"componentDidMount",value:function(){this.updatePositionOnWindowResize(),document.addEventListener("click",this.handleClickOutside),window.addEventListener("resize",this.throttledUpdatePositionOnWindowResize,!0),window.addEventListener("orientationchange",this.updatePositionOnWindowResize,!0),this.props.shouldAutoFocus&&(0,T.focusOnElement)(this.commentTooltipSubtitle)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside),window.removeEventListener("resize",this.throttledUpdatePositionOnWindowResize,!0),window.removeEventListener("orientationchange",this.updatePositionOnWindowResize,!0)}},{key:"handleClickOutside",value:function(e){this.commentTooltip&&this.commentTooltip.contains(e.target)||this.props.handleClose()}},{key:"updatePositionOnWindowResize",value:function(){var e=this.commentTooltip.getBoundingClientRect().right-(0,T.getViewportWidth)();if(e>0){var t=e+E;this.setState({tooltipCssLeft:-t,tooltipPointCssLeft:t})}}}]),t}(p.Component);S.displayName="Tooltip",S.propTypes={subtitle:p.PropTypes.string.isRequired,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),handleClose:p.PropTypes.func.isRequired,isAlert:p.PropTypes.bool,shouldAutoFocus:p.PropTypes.bool},S.defaultProps={isAlert:!1,shouldAutoFocus:!0}},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(95),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r;return i.default.createElement("svg",{viewBox:"0 0 32 32",id:"gel-icon-no",width:o,height:n},i.default.createElement("path",{d:"M32 3.5L28.5 0 16 12.5 3.5 0 0 3.5 12.5 16 0 28.5 3.5 32 16 19.5 28.5 32l3.5-3.5L19.5 16"}))};a.displayName="Close",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},t.default=a,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}),t.CommentRating=void 0;var o=n(95),i=r(o),a=n(143),s=r(a),u=n(203),l=r(u),c=n(180),d=r(c),m=n(204),f=r(m),p=t.CommentRating=function(e,t){var n=e.ratingType,r=e.Icon,o=e.isDisabled,a=e.isSendingRating,u=e.hasRatedComment,c=e.ratingValue,d=e.handleClick,m=e.numberPlacement,p=t.theme.formatMessage,h=i.default.createElement("div",{className:"comment-rating__button-number"},c),y=function(){var e=p(n+"RatedComment"),t=p(n+"RatingsCount",{rateCount:c+1}),r=e+". "+t;d({ratingStatusText:r})},g=function(e){var t=p(u?n+"RatedComment":n+"RateComment"),r=p(n+"RatingsCount",{rateCount:e});return t+". "+r};return i.default.createElement("div",{className:"comment-rating"},i.default.createElement("button",{className:(0,s.default)("comment-rating__button","comment-rating__button--"+n,"comment-rating__button--number-placement-"+m,{"comment-rating__button--posted":u}),disabled:o,"aria-label":g(c),onClick:y},m===l.default.LEFT&&h,i.default.createElement("div",{className:"comment-rating__button-icon"},a?i.default.createElement(f.default,null):i.default.createElement(r,null)),m===l.default.RIGHT&&h))};p.displayName="CommentRating",p.propTypes={ratingType:o.PropTypes.oneOf([d.default.POSITIVE,d.default.NEGATIVE]),Icon:o.PropTypes.func.isRequired,ratingValue:o.PropTypes.number.isRequired,isDisabled:o.PropTypes.bool,isSendingRating:o.PropTypes.bool.isRequired,hasRatedComment:o.PropTypes.bool,handleClick:o.PropTypes.func.isRequired,numberPlacement:o.PropTypes.oneOf([l.default.LEFT,l.default.RIGHT])},p.defaultProps={numberPlacement:l.default.RIGHT},p.contextTypes={theme:o.PropTypes.shape({formatMessage:o.PropTypes.func})}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="left",r="right";t.default={LEFT:n,RIGHT:r},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(95),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r;return i.default.createElement("svg",{className:"loading-spinner",xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 32 32"},i.default.createElement("path",{d:"M29.8 8l-3.5 2c1 1.8 1.6 3.8 1.6 6 0 6.6-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4V0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16c0-2.9-.8-5.6-2.2-8z"}))};a.displayName="LoadingSpinner",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},t.default=a,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(95),i=r(o),a=function(){return i.default.createElement("div",{className:"more-icon-vertical"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},i.default.createElement("rect",{x:"12",width:"8",height:"8"}),i.default.createElement("rect",{x:"12",y:"12",width:"8",height:"8"}),i.default.createElement("rect",{x:"12",y:"24",width:"8",height:"8"})))};a.displayName="MoreIconVertical",a.propTypes={},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return!e.distressMessage}function i(e){return e.status===P.default.PASS}function a(e){var t=!e.author.isNotable;return t&&o(e)}function s(e){return e.status===P.default.FAIL}function u(e,t,n){switch(e.status){case P.default.FAIL:return n("removedComment",{rulesUrl:t});case P.default.REFER:return n("referredComment",{rulesUrl:t});case P.default.PASS:default:return e.text}}function l(e,t){return g(t)&&i(e)&&o(e)}function c(e,t){return h(t)&&i(e)&&a(e)}function d(e,t){return y(t)&&i(e)&&a(e)}function m(e){return e.isEditor===!0}function f(e,t){return p(e,t)&&e.displayNameModerationStatus===b.default.FAILED_OR_AWAITING}function p(e,t){return e.userId===t.author.userId}function h(e){return e(T.FeaturesToggles.ratings)}function y(e){return e(T.FeaturesToggles.downRatings)}function g(e){return e(T.FeaturesToggles.replies)}function v(e,t){return g(t)&&e.totalReplies>0}Object.defineProperty(t,"__esModule",{value:!0}),t.isNotDistressMessage=o,t.commentPassedModeration=i,t.isNormalComment=a,t.isRemovedComment=s,t.getCommentTextToDisplay=u,t.canReplyComment=l,t.canRateComment=c,t.canDownRateComment=d,t.isUserAnEditor=m,t.shouldShowDisplayNameModerationWarning=f,t.isAuthoredByCurrentUser=p,t.isRatingsFeatureEnabled=h,t.isDownRatingsFeatureEnabled=y,t.isRepliesFeatureEnabled=g,t.hasReplies=v;var _=n(207),b=r(_),T=n(177),C=n(175),P=r(C)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="passed",r="failedOrAwaiting",o={0:n,1:r,2:r,3:n,4:r};t.toDisplayNameStatus=function(e){return o[e]};t.default={PASSED:n,FAILED_OR_AWAITING:r}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentDistressText=void 0;var o=n(95),i=r(o),a=t.CommentDistressText=function(e,t){var n=e.commentDistressText,r=t.theme;return i.default.createElement("div",{className:"comment--distress"},r.getComponent("distressMessageFlag"),i.default.createElement("p",{dangerouslySetInnerHTML:{__html:n}}))};a.displayName="CommentDistressText",a.propTypes={commentDistressText:o.PropTypes.string.isRequired},a.contextTypes={theme:o.PropTypes.shape({getComponent:o.PropTypes.func.isRequired})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.commentData,n=e.isRepliesList,r="comment_"+t.id,o=(0,f.default)("comments-list__item",{"comments-list__item-reply":n});return u.default.createElement("li",{className:o,key:r},n?u.default.createElement(c.Reply,e):u.default.createElement(l.Comment,(0,a.default)({},e,{focusOn:t.id===e.focusOnCommentId})))}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsList=void 0;var i=n(2),a=r(i),s=n(95),u=r(s),l=n(165),c=n(210),d=n(215),m=n(143),f=r(m),p=t.CommentsList=function(e){var t=e.isRepliesList,n=e.comments,r=e.rulesPageUrl,i=e.isRatingEnabled,a=e.userCanPostToForum,s=e.personalisationDetails,l=e.idctaData,c=e.focusOnCommentId,m=e.commentInputTextLimit,p=e.commentInputModerationStatus,h=e.forumId,y=e.repliesPageSize,g=e.firstNewReplyId;if(0===n.length)return u.default.createElement("noscript",null);var v=n.map(function(e){return o({isRepliesList:t,commentData:e,rulesPageUrl:r,isRatingEnabled:i,userCanPostToForum:a,personalisationDetails:s,idctaData:l,focusOnCommentId:c,commentInputTextLimit:m,commentInputModerationStatus:p,forumId:h,repliesPageSize:y,focusOnMount:e.id===g})}),_=(0,f.default)("comments-list",{"replies-list-reply-open":t});return u.default.createElement("div",null,u.default.createElement("div",{className:"comments-list-anchor"}),u.default.createElement(d.CSSTransitionGroup,{component:"ul",className:_,transitionName:{enter:"comments-list__item--entering-list",enterActive:"comments-list__item--entered-list"},transitionEnterTimeout:2e3,transitionLeave:!1},v))};o.propTypes={focusOnMount:s.PropTypes.bool,isRepliesList:s.PropTypes.bool,rulesPageUrl:s.PropTypes.string,isRatingEnabled:s.PropTypes.bool.isRequired,userCanPostToForum:s.PropTypes.bool.isRequired,personalisationDetails:s.PropTypes.object,idctaData:s.PropTypes.object,focusOnCommentId:s.PropTypes.number,commentData:s.PropTypes.object,commentInputTextLimit:s.PropTypes.number,commentInputModerationStatus:s.PropTypes.string,forumId:s.PropTypes.string.isRequired,repliesPageSize:s.PropTypes.number.isRequired},p.displayName="CommentsList",p.propTypes={isRepliesList:s.PropTypes.bool,comments:s.PropTypes.arrayOf(s.PropTypes.shape({id:s.PropTypes.number})).isRequired,firstNewReplyId:s.PropTypes.number,rulesPageUrl:s.PropTypes.string,isRatingEnabled:s.PropTypes.bool.isRequired,userCanPostToForum:s.PropTypes.bool.isRequired,personalisationDetails:s.PropTypes.object,idctaData:s.PropTypes.object,focusOnCommentId:s.PropTypes.number,commentInputTextLimit:s.PropTypes.number,commentInputModerationStatus:s.PropTypes.string,forumId:s.PropTypes.string.isRequired,repliesPageSize:s.PropTypes.number.isRequired},p.defaultProps={comments:[]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Reply=t.ReplyText=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(143),g=r(y),v=n(166),_=n(167),b=n(168),T=n(169),C=n(172),P=n(179),E=n(175),S=r(E),w=n(208),O=n(149),x=n(211),M=n(212),I=n(206),R=t.ReplyText=function(e){var t=e.replyText,n=e.replyOfName,r=e.formatMessage,o=e.withPreMessageForSR;return h.default.createElement("div",null,o&&h.default.createElement("span",{className:"comment__hidden-text"},r("whoReplied",{replyOfName:n})),h.default.createElement("div",{className:"comment__text",dangerouslySetInnerHTML:{__html:t}}))};R.displayName="ReplyText",R.propTypes={replyText:p.PropTypes.string.isRequired,replyOfName:p.PropTypes.string.isRequired,formatMessage:p.PropTypes.func.isRequired,withPreMessageForSR:p.PropTypes.bool},R.defaultProps={replyText:"",withPreMessageForSR:!0};var N=t.Reply=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.commentData,r=t.personalisationDetails,o=t.commentInputTextLimit,i=t.commentInputModerationStatus,a=t.idctaData,s=t.isRatingEnabled,u=t.userCanPostToForum,l=t.forumId,c=t.rulesPageUrl,d=this.context.theme.formatMessage,m=n.replyTo,f=(0,I.isUserAnEditor)(r),p=r.commentAdminLinks,y=this.context.isFeatureEnabled,E=(0,C.getCommentLinks)({commentData:n,commentAdminLinks:p,isUserAnEditor:f,isFeatureEnabled:y}),S=(0,I.canRateComment)(n,y)||(0,I.canReplyComment)(n,y)||E.hasLinks,O=f?n.index+1+". ":"",N=this.context.theme.productLabel,k=n.author.displayName,A=n.author.isNotable,D=n.author.description,L=n.author.avatarUrl,j=A&&N?d("replyNotableHead",{displayName:k,productLabel:N}):d("replyHead",{displayName:k}),F=(0,M.parseTimestamp)(n.dateCreated),U=F.description,q=F.formattedTimestamp,W=F.time,V=U?", "+U+" "+q:", "+q,B=D?", "+D:"",Y=(0,I.isAuthoredByCurrentUser)(r,n),H=(0,I.isRemovedComment)(n);return h.default.createElement("div",{id:"comment-"+n.id,className:(0,g.default)("comment",{"comment--notable":A,"comment--has-footer":S,"comment--by-current-user":Y},"comment--reply")},A&&this.context.theme.getComponent("notableReplyFlag"),h.default.createElement("div",{tabIndex:"0",ref:function(t){return e.commentElement=t},className:"comment__header"},!H&&h.default.createElement("div",{className:"comment__avatar"},h.default.createElement(T.ContributorAvatar,{displayName:k,isCurrentUser:Y,avatarImageUrl:L})),h.default.createElement("div",{className:"comment__username-and-posted-date"},h.default.createElement("h4",{className:"comment__title","aria-label":""+j+B+V},h.default.createElement("span",{"aria-hidden":"true"},O),h.default.createElement(_.Username,{className:"comment__username"},k)),(0,I.shouldShowDisplayNameModerationWarning)(r,n)&&h.default.createElement("a",{className:"comment__display-name-moderation-warning",href:r.displayNameModerationUrl},r.displayNameModerationMessage),D&&h.default.createElement(b.UserDescription,{className:"comment__user-description" },D),n.dateCreated&&h.default.createElement(v.PostedDate,{className:"comment__posted-date",time:W,formattedTime:q}))),!H&&h.default.createElement(x.ReplySnippet,{replyToName:m.displayName,replyToMsg:m.text}),h.default.createElement("div",{className:"comment__body"},h.default.createElement(R,{replyText:(0,I.getCommentTextToDisplay)(n,c,d),replyOfName:k,formatMessage:d,withPreMessageForSR:!H})),n.distressMessage&&h.default.createElement(w.CommentDistressText,{commentDistressText:n.distressMessage.text}),S&&h.default.createElement(P.CommentFooter,{commentData:n,commentLinks:E,isReply:!0,commentInputTextLimit:o,commentInputModerationStatus:i,idctaData:a,isRatingEnabled:s,userCanPostToForum:u,forumId:l}))}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&(0,O.focusOnElement)(this.commentElement)}}]),t}(p.Component);N.displayName="Reply",N.propTypes={focusOnMount:p.PropTypes.bool,commentData:p.PropTypes.shape({index:p.PropTypes.number,id:p.PropTypes.number,actions:p.PropTypes.shape({reportUrl:p.PropTypes.string.isRequired}),distressMessage:p.PropTypes.shape({text:p.PropTypes.string}),author:p.PropTypes.shape({userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]).isRequired,displayName:p.PropTypes.string.isRequired,isNotable:p.PropTypes.bool.isRequired,description:p.PropTypes.string,avatarUrl:p.PropTypes.string}).isRequired,dateCreated:p.PropTypes.string,text:p.PropTypes.string.isRequired,rating:p.PropTypes.oneOfType([p.PropTypes.shape({positive:p.PropTypes.number.isRequired}),p.PropTypes.shape({negative:p.PropTypes.number.isRequired})]),status:p.PropTypes.oneOf([S.default.FAIL,S.default.PASS,S.default.REFER,S.default.UNKNOWN]),replyTo:p.PropTypes.object}).isRequired,rulesPageUrl:p.PropTypes.string.isRequired,isRatingEnabled:p.PropTypes.bool,userCanPostToForum:p.PropTypes.bool,personalisationDetails:p.PropTypes.shape({userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]),displayNameModerationStatus:p.PropTypes.string,displayNameModerationMessage:p.PropTypes.string,displayNameModerationUrl:p.PropTypes.string,isEditor:p.PropTypes.bool,commentAdminLinks:p.PropTypes.shape({report:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),viewModerationHistory:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),makeTopPick:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),memberDetails:p.PropTypes.shape({url:p.PropTypes.string.isRequired})})}),idctaData:p.PropTypes.object.isRequired,forumId:p.PropTypes.string.isRequired,commentInputTextLimit:p.PropTypes.number,commentInputModerationStatus:p.PropTypes.string},N.defaultProps={focusOnMount:!1,personalisationDetails:{},isMoreIconIsOpen:!1,replyToComment:{displayName:"",text:""}},N.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func,getComponent:p.PropTypes.func.isRequired,productLabel:p.PropTypes.string}),isFeatureEnabled:p.PropTypes.func.isRequired,setA11yAlertText:p.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplySnippet=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=t.ReplySnippet=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isSnippetContentShowing:!1},n.toggleSnippetTray=n.toggleSnippetTray.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"cleanString",value:function(e){var t=e.replace(/(<([^>]+)>)/gi,"");return t=t.replace(/&nbsp;|&nbsp/gi," ").trim(),t=t.replace(/\s+/gi," ").trim()}},{key:"toggleSnippetTray",value:function(){this.setState(function(e){return{isSnippetContentShowing:!e.isSnippetContentShowing}})}},{key:"render",value:function(){var e=this.props,t=e.replyToName,n=e.replyToMsg,r=this.context.theme.formatMessage,o=this.cleanString(n),i=r("toWho",{replyToName:t}),a='"',s=r("replyingTo",{replyToName:t}),u=r("hideSnippetContentLabel",{replyToName:t}),l=r("readSnippetContentLabel",{replyToName:t});return h.default.createElement("div",{className:"reply-snippet"},h.default.createElement("div",{className:"reply-snippet__control"},h.default.createElement("div",{role:"text",className:"reply-snippet__control--prelink","aria-label":s},h.default.createElement("span",{"aria-label":s}),h.default.createElement("span",{"aria-hidden":"true"},i)),h.default.createElement("button",{className:"reply-snippet__control--link reply-snippet-button",onClick:this.toggleSnippetTray,"aria-label":this.state.isSnippetContentShowing?u:l,"aria-expanded":this.state.isSnippetContentShowing?"true":"false"},h.default.createElement("div",null,a),h.default.createElement("div",{className:"reply-snippet__control--msg-short",dangerouslySetInnerHTML:{__html:o}}),h.default.createElement("div",null,a))),this.state.isSnippetContentShowing&&h.default.createElement("div",{className:"reply-snippet__show-content"},h.default.createElement("div",{className:"reply-snippet__show-content--msg",dangerouslySetInnerHTML:{__html:n}})))}}]),t}(p.Component);y.displayName="ReplySnippet",y.propTypes={replyToName:p.PropTypes.string,replyToMsg:p.PropTypes.string},y.defaultProps={replyToName:"",replyToMsg:""},y.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){var t=(0,o.moment)(e,o.moment.ISO_8601).tz(i),n=(0,o.moment)().tz(i).startOf("day"),r=(0,o.moment)().tz(i).startOf("year");return t.isAfter(n)?a(t,"HH:mm","today at"):t.isAfter(r)?a(t,"HH:mm D MMM"):a(t,"HH:mm D MMM YYYY")}Object.defineProperty(t,"__esModule",{value:!0}),t.parseTimestamp=r;var o=n(213),i="Europe/London",a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"at";return{time:e.format(),formattedTimestamp:e.format(t),description:n}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.moment=void 0;var o=n(214),i=r(o);i.default.updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"seconds",m:"1 minute",mm:"%d minutes",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"}}),t.moment=i.default},function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){const r=n(1);r.tz.add("Europe/Belfast|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"),r.tz.link("Europe/Belfast|Europe/London"),e.exports=r},function(e,t,n){var r,o,i;!function(a,s){"use strict";o=[n(2)],r=s,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e){"use strict";function t(e){return e>96?e-87:e>64?e-29:e-48}function n(e){var n,r=0,o=e.split("."),i=o[0],a=o[1]||"",s=1,u=0,l=1;for(45===e.charCodeAt(0)&&(r=1,l=-1),r;r<i.length;r++)n=t(i.charCodeAt(r)),u=60*u+n;for(r=0;r<a.length;r++)s/=60,n=t(a.charCodeAt(r)),u+=n*s;return u*l}function r(e){for(var t=0;t<e.length;t++)e[t]=n(e[t])}function o(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}function i(e,t){var n,r=[];for(n=0;n<t.length;n++)r[n]=e[t[n]];return r}function a(e){var t=e.split("|"),n=t[2].split(" "),a=t[3].split(""),s=t[4].split(" ");return r(n),r(a),r(s),o(s,a.length),{name:t[0],abbrs:i(t[1].split(" "),a),offsets:i(n,a),untils:s,population:0|t[5]}}function s(e){e&&this._set(a(e))}function u(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);n&&n[0]?(n=n[0].match(/[A-Z]/g),n=n?n.join(""):void 0):(n=t.match(/[A-Z]{3,5}/g),n=n?n[0]:void 0),"GMT"===n&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function l(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function c(e,t){for(var n,r;r=6e4*((t.at-e.at)/12e4|0);)n=new u(new Date(e.at+r)),n.offset===e.offset?e=n:t=n;return e}function d(){var e,t,n,r=(new Date).getFullYear()-2,o=new u(new Date(r,0,1)),i=[o];for(n=1;n<48;n++)t=new u(new Date(r,n,1)),t.offset!==o.offset&&(e=c(o,t),i.push(e),i.push(new u(new Date(e.at+6e4)))),o=t;for(n=0;n<4;n++)i.push(new u(new Date(r+n,0,1))),i.push(new u(new Date(r+n,6,1)));return i}function m(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:t.zone.population-e.zone.population}function f(e,t){var n,o;for(r(t),n=0;n<t.length;n++)o=t[n],A[o]=A[o]||{},A[o][e]=!0}function p(e){var t,n,r,o=e.length,i={},a=[];for(t=0;t<o;t++){r=A[e[t].offset]||{};for(n in r)r.hasOwnProperty(n)&&(i[n]=!0)}for(t in i)i.hasOwnProperty(t)&&a.push(k[t]);return a}function h(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=k[g(e)];if(t)return t;S("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,r,o,i=d(),a=i.length,s=p(i),u=[];for(r=0;r<s.length;r++){for(n=new l(_(s[r]),a),o=0;o<a;o++)n.scoreOffsetAt(i[o]);u.push(n)}return u.sort(m),u.length>0?u[0].zone.name:void 0}function y(e){return M&&!e||(M=h()),M}function g(e){return(e||"").toLowerCase().replace(/\//g,"_")}function v(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)r=e[t].split("|"),n=r[0],o=g(n),R[o]=e[t],k[o]=n,f(o,r[2].split(" "))}function _(e,t){e=g(e);var n,r=R[e];return r instanceof s?r:"string"==typeof r?(r=new s(r),R[e]=r,r):N[e]&&t!==_&&(n=_(N[e],_))?(r=R[e]=new s,r._set(n),r.name=k[e],r):null}function b(){var e,t=[];for(e in k)k.hasOwnProperty(e)&&(R[e]||R[N[e]])&&k[e]&&t.push(k[e]);return t.sort()}function T(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)n=e[t].split("|"),r=g(n[0]),o=g(n[1]),N[r]=o,k[r]=n[0],N[o]=r,k[o]=n[1]}function C(e){v(e.zones),T(e.links),w.dataVersion=e.version}function P(e){return P.didShowError||(P.didShowError=!0,S("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!_(e)}function E(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function S(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function w(t){var n=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1],o=_(r),i=e.utc.apply(null,n);return o&&!e.isMoment(t)&&E(i)&&i.add(o.parse(i),"minutes"),i.tz(r),i}function O(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function x(e){return function(){return this._z=null,e.apply(this,arguments)}}var M,I="0.5.14",R={},N={},k={},A={},D=e.version.split("."),L=+D[0],j=+D[1];(L<2||2===L&&j<6)&&S("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),s.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,r=this.untils;for(t=0;t<r.length;t++)if(n<r[t])return t},parse:function(e){var t,n,r,o,i=+e,a=this.offsets,s=this.untils,u=s.length-1;for(o=0;o<u;o++)if(t=a[o],n=a[o+1],r=a[o?o-1:o],t<n&&w.moveAmbiguousForward?t=n:t>r&&w.moveInvalidForward&&(t=r),i<s[o]-6e4*t)return a[o];return a[u]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return S("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},l.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},w.version=I,w.dataVersion="",w._zones=R,w._links=N,w._names=k,w.add=v,w.link=T,w.load=C,w.zone=_,w.zoneExists=P,w.guess=y,w.names=b,w.Zone=s,w.unpack=a,w.unpackBase60=n,w.needsOffset=E,w.moveInvalidForward=!0,w.moveAmbiguousForward=!1;var F=e.fn;e.tz=w,e.defaultZone=null,e.updateOffset=function(t,n){var r,o=e.defaultZone;void 0===t._z&&(o&&E(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z&&(r=t._z.utcOffset(t),Math.abs(r)<16&&(r/=60),void 0!==t.utcOffset?t.utcOffset(-r,n):t.zone(r,n))},F.tz=function(t,n){return t?(this._z=_(t),this._z?e.updateOffset(this,n):S("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0},F.zoneName=O(F.zoneName),F.zoneAbbr=O(F.zoneAbbr),F.utc=x(F.utc),e.tz.setDefault=function(t){return(L<2||2===L&&j<9)&&S("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?_(t):null,e};var U=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(U)?(U.push("_z"),U.push("_a")):U&&(U._z=null),e})},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return xr.apply(null,arguments)}function n(e){xr=e}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return St(e,t,n,r,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function p(e){return null==e._pf&&(e._pf=f()),e._pf}function h(e){if(null==e._isValid){var t=p(e),n=Mr.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function y(e){var t=m(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}function g(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),Ir.length>0)for(n=0;n<Ir.length;n++)r=Ir[n],o=t[r],a(o)||(e[r]=o);return e}function v(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Rr===!1&&(Rr=!0,t.updateOffset(this),Rr=!1)}function _(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function T(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function C(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&T(e[r])!==T(t[r]))&&a++;return a+i}function P(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,n){var r=!0;return d(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),r){for(var o,i=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){o+="\n["+a+"] ";for(var s in arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];i.push(o)}P(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function S(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Nr[e]||(P(n),Nr[e]=!0)}function w(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e){var t,n;for(n in e)t=e[n],w(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function x(e,t){var n,r=d({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(r[n]=d({},r[n]));return r}function M(e){null!=e&&this.set(e)}function I(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return w(r)?r.call(t,n):r}function R(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function N(){return this._invalidDate}function k(e){return this._ordinal.replace("%d",e)}function A(e,t,n,r){var o=this._relativeTime[n];return w(o)?o(e,t,n,r):o.replace(/%d/i,e)}function D(e,t){var n=this._relativeTime[e>0?"future":"past"];return w(n)?n(t):n.replace(/%s/i,t)}function L(e,t){var n=e.toLowerCase();qr[n]=qr[n+"s"]=qr[t]=e}function j(e){return"string"==typeof e?qr[e]||qr[e.toLowerCase()]:void 0}function F(e){var t,n,r={};for(n in e)c(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function U(e,t){Wr[e]=t}function q(e){var t=[];for(var n in e)t.push({unit:n,priority:Wr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(e,t,n){var r=""+Math.abs(e),o=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function V(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(Hr[e]=o),t&&(Hr[t[0]]=function(){return W(o.apply(this,arguments),t[1],t[2])}),n&&(Hr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Y(e){var t,n,r=e.match(Vr);for(t=0,n=r.length;t<n;t++)Hr[r[t]]?r[t]=Hr[r[t]]:r[t]=B(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=w(r[o])?r[o].call(t,e):r[o];return i}}function H(e,t){return e.isValid()?(t=z(t,e.localeData()),Yr[t]=Yr[t]||Y(t),Yr[t](e)):e.localeData().invalidDate()}function z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Br.lastIndex=0;r>=0&&Br.test(e);)e=e.replace(Br,n),Br.lastIndex=0,r-=1;return e}function G(e,t,n){lo[e]=w(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return c(lo,e)?lo[e](t._strict,t._locale):new RegExp(K(e))}function K(e){return X(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,o){return t||n||r||o}))}function X(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function J(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=T(e)}),n=0;n<e.length;n++)co[e[n]]=r}function Q(e,t){J(e,function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)})}function $(e,t,n){null!=t&&c(co,e)&&co[e](t,n._a,n,e)}function ee(e){return te(e)?366:365}function te(e){return e%4===0&&e%100!==0||e%400===0}function ne(){return te(this.year())}function re(e,n){return function(r){return null!=r?(ie(this,e,r),t.updateOffset(this,n),this):oe(this,e)}}function oe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ie(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&te(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),le(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ae(e){return e=j(e),w(this[e])?this[e]():this}function se(e,t){if("object"==typeof e){e=F(e);for(var n=q(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=j(e),w(this[e]))return this[e](t);return this}function ue(e,t){return(e%t+t)%t}function le(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=ue(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function ce(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Po).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone}function de(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Po.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function me(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?(o=To.call(this._shortMonthsParse,a),o!==-1?o:null):(o=To.call(this._longMonthsParse,a),o!==-1?o:null):"MMM"===t?(o=To.call(this._shortMonthsParse,a),o!==-1?o:(o=To.call(this._longMonthsParse,a),o!==-1?o:null)):(o=To.call(this._longMonthsParse,a),o!==-1?o:(o=To.call(this._shortMonthsParse,a),o!==-1?o:null))}function fe(e,t,n){var r,o,i;if(this._monthsParseExact)return me.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=T(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function he(e){return null!=e?(pe(this,e),t.updateOffset(this,!0),this):oe(this,"Month")}function ye(){return le(this.year(),this.month())}function ge(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=wo),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ve(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Oo),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _e(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=X(r[t]),o[t]=X(o[t]);for(t=0;t<24;t++)i[t]=X(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function be(e,t,n,r,o,i,a){var s=new Date(e,t,n,r,o,i,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function Te(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ce(e,t,n){var r=7+t-n,o=(7+Te(e,0,r).getUTCDay()-t)%7;return-o+r-1}function Pe(e,t,n,r,o){var i,a,s=(7+n-r)%7,u=Ce(e,r,o),l=1+7*(t-1)+s+u;return l<=0?(i=e-1,a=ee(i)+l):l>ee(e)?(i=e+1,a=l-ee(e)):(i=e,a=l),{year:i,dayOfYear:a}}function Ee(e,t,n){var r,o,i=Ce(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?(o=e.year()-1,r=a+Se(o,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Se(e,t,n){var r=Ce(e,t,n),o=Ce(e+1,t,n);return(ee(e)-r+o)/7}function we(e){return Ee(e,this._week.dow,this._week.doy).week}function Oe(){return this._week.dow}function xe(){return this._week.doy}function Me(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ie(e){var t=Ee(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Re(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ne(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ke(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ae(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function De(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Le(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?(o=To.call(this._weekdaysParse,a),o!==-1?o:null):"ddd"===t?(o=To.call(this._shortWeekdaysParse,a),o!==-1?o:null):(o=To.call(this._minWeekdaysParse,a),o!==-1?o:null):"dddd"===t?(o=To.call(this._weekdaysParse,a),o!==-1?o:(o=To.call(this._shortWeekdaysParse,a),o!==-1?o:(o=To.call(this._minWeekdaysParse,a),o!==-1?o:null))):"ddd"===t?(o=To.call(this._shortWeekdaysParse,a),o!==-1?o:(o=To.call(this._weekdaysParse,a),o!==-1?o:(o=To.call(this._minWeekdaysParse,a),o!==-1?o:null))):(o=To.call(this._minWeekdaysParse,a),o!==-1?o:(o=To.call(this._weekdaysParse,a),o!==-1?o:(o=To.call(this._shortWeekdaysParse,a),o!==-1?o:null)))}function je(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Le.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Re(e,this.localeData()),this.add(e-t,"d")):t}function Ue(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ne(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ye.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=No),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ye.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ko),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ye.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ao),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ye(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),u.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=X(s[t]),u[t]=X(u[t]),l[t]=X(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function He(){return this.hours()%12||12}function ze(){return this.hours()||24}function Ge(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ze(e,t){return t._meridiemParse}function Ke(e){return"p"===(e+"").toLowerCase().charAt(0)}function Xe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,o,i=0;i<e.length;){for(o=Je(e[i]).split("-"),t=o.length,n=Je(e[i+1]),n=n?n.split("-"):null;t>0;){if(r=$e(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(o,n,!0)>=t-1)break;t--}i++}return null}function $e(t){var n=null;if(!Uo[t]&&"undefined"!=typeof e&&e&&e.exports)try{n=Do._abbr;!function(){var e=new Error('Cannot find module "./locale"');throw e.code="MODULE_NOT_FOUND",e}(),et(n)}catch(e){}return Uo[t]}function et(e,t){var n;return e&&(n=a(t)?rt(e):tt(e,t),n&&(Do=n)),Do._abbr}function tt(e,t){if(null!==t){var n=Fo;if(t.abbr=e,null!=Uo[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Uo[e]._config;else if(null!=t.parentLocale){if(null==Uo[t.parentLocale])return qo[t.parentLocale]||(qo[t.parentLocale]=[]),qo[t.parentLocale].push({name:e,config:t}),null;n=Uo[t.parentLocale]._config}return Uo[e]=new M(x(n,t)),qo[e]&&qo[e].forEach(function(e){tt(e.name,e.config); }),et(e),Uo[e]}return delete Uo[e],null}function nt(e,t){if(null!=t){var n,r,o=Fo;r=$e(e),null!=r&&(o=r._config),t=x(o,t),n=new M(t),n.parentLocale=Uo[e],Uo[e]=n,et(e)}else null!=Uo[e]&&(null!=Uo[e].parentLocale?Uo[e]=Uo[e].parentLocale:null!=Uo[e]&&delete Uo[e]);return Uo[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Do;if(!r(e)){if(t=$e(e))return t;e=[e]}return Qe(e)}function ot(){return kr(Uo)}function it(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[fo]<0||n[fo]>11?fo:n[po]<1||n[po]>le(n[mo],n[fo])?po:n[ho]<0||n[ho]>24||24===n[ho]&&(0!==n[yo]||0!==n[go]||0!==n[vo])?ho:n[yo]<0||n[yo]>59?yo:n[go]<0||n[go]>59?go:n[vo]<0||n[vo]>999?vo:-1,p(e)._overflowDayOfYear&&(t<mo||t>po)&&(t=po),p(e)._overflowWeeks&&t===-1&&(t=_o),p(e)._overflowWeekday&&t===-1&&(t=bo),p(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ut(e){var t,n,r,o,i,a=[];if(!e._d){for(r=st(e),e._w&&null==e._a[po]&&null==e._a[fo]&&lt(e),null!=e._dayOfYear&&(i=at(e._a[mo],r[mo]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Te(i,0,e._dayOfYear),e._a[fo]=n.getUTCMonth(),e._a[po]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ho]&&0===e._a[yo]&&0===e._a[go]&&0===e._a[vo]&&(e._nextDay=!0,e._a[ho]=0),e._d=(e._useUTC?Te:be).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ho]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function lt(e){var t,n,r,o,i,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)i=1,a=4,n=at(t.GG,e._a[mo],Ee(wt(),1,4).year),r=at(t.W,1),o=at(t.E,1),(o<1||o>7)&&(u=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var l=Ee(wt(),i,a);n=at(t.gg,e._a[mo],l.year),r=at(t.w,l.week),null!=t.d?(o=t.d,(o<0||o>6)&&(u=!0)):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(u=!0)):o=i}r<1||r>Se(n,i,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Pe(n,r,o,i,a),e._a[mo]=s.year,e._dayOfYear=s.dayOfYear)}function ct(e){var t,n,r,o,i,a,s=e._i,u=Wo.exec(s)||Vo.exec(s);if(u){for(p(e).iso=!0,t=0,n=Yo.length;t<n;t++)if(Yo[t][1].exec(u[1])){o=Yo[t][0],r=Yo[t][2]!==!1;break}if(null==o)return void(e._isValid=!1);if(u[3]){for(t=0,n=Ho.length;t<n;t++)if(Ho[t][1].exec(u[3])){i=(u[2]||" ")+Ho[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(u[4]){if(!Bo.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),vt(e)}else e._isValid=!1}function dt(e,t,n,r,o,i){var a=[mt(e),So.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function mt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ft(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function pt(e,t,n){if(e){var r=Io.indexOf(e),o=new Date(t[0],t[1],t[2]).getDay();if(r!==o)return p(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ht(e,t,n){if(e)return Zo[e];if(t)return 0;var r=parseInt(n,10),o=r%100,i=(r-o)/100;return 60*i+o}function yt(e){var t=Go.exec(ft(e._i));if(t){var n=dt(t[4],t[3],t[2],t[5],t[6],t[7]);if(!pt(t[1],n,e))return;e._a=n,e._tzm=ht(t[8],t[9],t[10]),e._d=Te.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function gt(e){var n=zo.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ct(e),void(e._isValid===!1&&(delete e._isValid,yt(e),e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e)))))}function vt(e){if(e._f===t.ISO_8601)return void ct(e);if(e._f===t.RFC_2822)return void yt(e);e._a=[],p(e).empty=!0;var n,r,o,i,a,s=""+e._i,u=s.length,l=0;for(o=z(e._f,e._locale).match(Vr)||[],n=0;n<o.length;n++)i=o[n],r=(s.match(Z(i,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Hr[i]?(r?p(e).empty=!1:p(e).unusedTokens.push(i),$(i,r,e)):e._strict&&!r&&p(e).unusedTokens.push(i);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ho]<=12&&p(e).bigHour===!0&&e._a[ho]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ho]=_t(e._locale,e._a[ho],e._meridiem),ut(e),it(e)}function _t(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function bt(e){var t,n,r,o,i;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],vt(t),h(t)&&(i+=p(t).charsLeftOver,i+=10*p(t).unusedTokens.length,p(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}function Tt(e){if(!e._d){var t=F(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ut(e)}}function Ct(e){var t=new v(it(Pt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Pt(e){var t=e._i,n=e._f;return e._locale=e._locale||rt(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new v(it(t)):(u(t)?e._d=t:r(n)?bt(e):n?vt(e):Et(e),h(e)||(e._d=null),e))}function Et(e){var n=e._i;a(n)?e._d=new Date(t.now()):u(n)?e._d=new Date(n.valueOf()):"string"==typeof n?gt(e):r(n)?(e._a=l(n.slice(0),function(e){return parseInt(e,10)}),ut(e)):o(n)?Tt(e):s(n)?e._d=new Date(n):t.createFromInputFallback(e)}function St(e,t,n,a,s){var u={};return n!==!0&&n!==!1||(a=n,n=void 0),(o(e)&&i(e)||r(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=a,Ct(u)}function wt(e,t,n,r){return St(e,t,n,r,!1)}function Ot(e,t){var n,o;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return wt();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}function xt(){var e=[].slice.call(arguments,0);return Ot("isBefore",e)}function Mt(){var e=[].slice.call(arguments,0);return Ot("isAfter",e)}function It(e){for(var t in e)if(To.call(Qo,t)===-1||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Qo.length;++r)if(e[Qo[r]]){if(n)return!1;parseFloat(e[Qo[r]])!==T(e[Qo[r]])&&(n=!0)}return!0}function Rt(){return this._isValid}function Nt(){return Jt(NaN)}function kt(e){var t=F(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=It(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=rt(),this._bubble()}function At(e){return e instanceof kt}function Dt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Lt(e,t){V(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+W(~~(e/60),2)+t+W(~~e%60,2)})}function jt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match($o)||["-",0,0],i=+(60*o[1])+T(o[2]);return 0===i?0:"+"===o[0]?i:-i}function Ft(e,n){var r,o;return n._isUTC?(r=n.clone(),o=(_(e)||u(e)?e.valueOf():wt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),t.updateOffset(r,!1),r):wt(e).local()}function Ut(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function qt(e,n,r){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(e=jt(ao,e),null===e)return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&n&&(o=Ut(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!n||this._changeInProgress?nn(this,Jt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Ut(this)}function Wt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Vt(e){return this.utcOffset(0,e)}function Bt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ut(this),"m")),this}function Yt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(io,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ht(e){return!!this.isValid()&&(e=e?wt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function zt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=Pt(e),e._a){var t=e._isUTC?m(e._a):wt(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Zt(){return!!this.isValid()&&!this._isUTC}function Kt(){return!!this.isValid()&&this._isUTC}function Xt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Jt(e,t){var n,r,o,i=e,a=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(i={},t?i[t]=e:i.milliseconds=e):(a=ei.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:T(a[po])*n,h:T(a[ho])*n,m:T(a[yo])*n,s:T(a[go])*n,ms:T(Dt(1e3*a[vo]))*n}):(a=ti.exec(e))?(n="-"===a[1]?-1:("+"===a[1],1),i={y:Qt(a[2],n),M:Qt(a[3],n),w:Qt(a[4],n),d:Qt(a[5],n),h:Qt(a[6],n),m:Qt(a[7],n),s:Qt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=en(wt(i.from),wt(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new kt(i),At(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function $t(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){var n;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?n=$t(e,t):(n=$t(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,r){var o,i;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),n="string"==typeof n?+n:n,o=Jt(n,r),nn(this,o,e),this}}function nn(e,n,r,o){var i=n._milliseconds,a=Dt(n._days),s=Dt(n._months);e.isValid()&&(o=null==o||o,s&&pe(e,oe(e,"Month")+s*r),a&&ie(e,"Date",oe(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),o&&t.updateOffset(e,a||s))}function rn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function on(e,n){var r=e||wt(),o=Ft(r,this).startOf("day"),i=t.calendarFormat(this,o)||"sameElse",a=n&&(w(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,wt(r)))}function an(){return new v(this)}function sn(e,t){var n=_(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=j(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function un(e,t){var n=_(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=j(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function ln(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function cn(e,t){var n,r=_(e)?e:wt(e);return!(!this.isValid()||!r.isValid())&&(t=j(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function dn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function mn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function fn(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(r=Ft(e,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=j(t)){case"year":i=pn(this,r)/12;break;case"month":i=pn(this,r);break;case"quarter":i=pn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:b(i)}function pn(e,t){var n,r,o=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(o,"months");return t-i<0?(n=e.clone().add(o-1,"months"),r=(t-i)/(i-n)):(n=e.clone().add(o+1,"months"),r=(t-i)/(n-i)),-(o+r)||0}function hn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yn(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):w(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function gn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]';return this.format(n+r+o+i)}function vn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=H(this,e);return this.localeData().postformat(n)}function _n(e,t){return this.isValid()&&(_(e)&&e.isValid()||wt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bn(e){return this.from(wt(),e)}function Tn(e,t){return this.isValid()&&(_(e)&&e.isValid()||wt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Cn(e){return this.to(wt(),e)}function Pn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function En(){return this._locale}function Sn(e){switch(e=j(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function wn(e){return e=j(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function On(){return this._d.valueOf()-6e4*(this._offset||0)}function xn(){return Math.floor(this.valueOf()/1e3)}function Mn(){return new Date(this.valueOf())}function In(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Rn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Nn(){return this.isValid()?this.toISOString():null}function kn(){return h(this)}function An(){return d({},p(this))}function Dn(){return p(this).overflow}function Ln(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function jn(e,t){V(0,[e,e.length],0,t)}function Fn(e){return Vn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Un(e){return Vn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qn(){return Se(this.year(),1,4)}function Wn(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Vn(e,t,n,r,o){var i;return null==e?Ee(this,r,o).year:(i=Se(e,r,o),t>i&&(t=i),Bn.call(this,e,t,n,r,o))}function Bn(e,t,n,r,o){var i=Pe(e,t,n,r,o),a=Te(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Yn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Hn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function zn(e,t){t[vo]=T(1e3*("0."+e))}function Gn(){return this._isUTC?"UTC":""}function Zn(){return this._isUTC?"Coordinated Universal Time":""}function Kn(e){return wt(1e3*e)}function Xn(){return wt.apply(null,arguments).parseZone()}function Jn(e){return e}function Qn(e,t,n,r){var o=rt(),i=m().set(r,t);return o[n](i,e)}function $n(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Qn(e,r,n,"month");return o}function er(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o=rt(),i=e?o._week.dow:0;if(null!=n)return Qn(t,(n+i)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=Qn(t,(a+i)%7,r,"day");return u}function tr(e,t){return $n(e,t,"months")}function nr(e,t){return $n(e,t,"monthsShort")}function rr(e,t,n){return er(e,t,n,"weekdays")}function or(e,t,n){return er(e,t,n,"weekdaysShort")}function ir(e,t,n){return er(e,t,n,"weekdaysMin")}function ar(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this}function sr(e,t,n,r){var o=Jt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function ur(e,t){return sr(this,e,t,1)}function lr(e,t){return sr(this,e,t,-1)}function cr(e){return e<0?Math.floor(e):Math.ceil(e)}function dr(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*cr(fr(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=b(i/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),o=b(mr(a)),s+=o,a-=cr(fr(o)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function mr(e){return 4800*e/146097}function fr(e){return 146097*e/4800}function pr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+mr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(fr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function hr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*T(this._months/12):NaN}function yr(e){return function(){return this.as(e)}}function gr(){return Jt(this)}function vr(e){return e=j(e),this.isValid()?this[e+"s"]():NaN}function _r(e){return function(){return this.isValid()?this._data[e]:NaN}}function br(){return b(this.days()/7)}function Tr(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function Cr(e,t,n){var r=Jt(e).abs(),o=xi(r.as("s")),i=xi(r.as("m")),a=xi(r.as("h")),s=xi(r.as("d")),u=xi(r.as("M")),l=xi(r.as("y")),c=o<=Mi.ss&&["s",o]||o<Mi.s&&["ss",o]||i<=1&&["m"]||i<Mi.m&&["mm",i]||a<=1&&["h"]||a<Mi.h&&["hh",a]||s<=1&&["d"]||s<Mi.d&&["dd",s]||u<=1&&["M"]||u<Mi.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,Tr.apply(null,c)}function Pr(e){return void 0===e?xi:"function"==typeof e&&(xi=e,!0)}function Er(e,t){return void 0!==Mi[e]&&(void 0===t?Mi[e]:(Mi[e]=t,"s"===e&&(Mi.ss=t-1),!0))}function Sr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function wr(e){return(e>0)-(e<0)||+e}function Or(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Ii(this._milliseconds)/1e3,o=Ii(this._days),i=Ii(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(i/12),i%=12;var a=n,s=i,u=o,l=t,c=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",m=this.asSeconds();if(!m)return"P0D";var f=m<0?"-":"",p=wr(this._months)!==wr(m)?"-":"",h=wr(this._days)!==wr(m)?"-":"",y=wr(this._milliseconds)!==wr(m)?"-":"";return f+"P"+(a?p+a+"Y":"")+(s?p+s+"M":"")+(u?h+u+"D":"")+(l||c||d?"T":"")+(l?y+l+"H":"")+(c?y+c+"M":"")+(d?y+d+"S":"")}var xr,Mr;Mr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var Ir=t.momentProperties=[],Rr=!1,Nr={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var kr;kr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Ar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Dr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Lr="Invalid date",jr="%d",Fr=/\d{1,2}/,Ur={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},qr={},Wr={},Vr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Br=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Yr={},Hr={},zr=/\d/,Gr=/\d\d/,Zr=/\d{3}/,Kr=/\d{4}/,Xr=/[+-]?\d{6}/,Jr=/\d\d?/,Qr=/\d\d\d\d?/,$r=/\d\d\d\d\d\d?/,eo=/\d{1,3}/,to=/\d{1,4}/,no=/[+-]?\d{1,6}/,ro=/\d+/,oo=/[+-]?\d+/,io=/Z|[+-]\d\d:?\d\d/gi,ao=/Z|[+-]\d\d(?::?\d\d)?/gi,so=/[+-]?\d+(\.\d{1,3})?/,uo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,lo={},co={},mo=0,fo=1,po=2,ho=3,yo=4,go=5,vo=6,_o=7,bo=8;V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),L("year","y"),U("year",1),G("Y",oo),G("YY",Jr,Gr),G("YYYY",to,Kr),G("YYYYY",no,Xr),G("YYYYYY",no,Xr),J(["YYYYY","YYYYYY"],mo),J("YYYY",function(e,n){n[mo]=2===e.length?t.parseTwoDigitYear(e):T(e)}),J("YY",function(e,n){n[mo]=t.parseTwoDigitYear(e)}),J("Y",function(e,t){t[mo]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return T(e)+(T(e)>68?1900:2e3)};var To,Co=re("FullYear",!0);To=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),U("month",8),G("M",Jr),G("MM",Jr,Gr),G("MMM",function(e,t){return t.monthsShortRegex(e)}),G("MMMM",function(e,t){return t.monthsRegex(e)}),J(["M","MM"],function(e,t){t[fo]=T(e)-1}),J(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[fo]=o:p(n).invalidMonth=e});var Po=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Eo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),So="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wo=uo,Oo=uo;V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),U("week",5),U("isoWeek",5),G("w",Jr),G("ww",Jr,Gr),G("W",Jr),G("WW",Jr,Gr),Q(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=T(e)});var xo={dow:0,doy:6};V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),G("d",Jr),G("e",Jr),G("E",Jr),G("dd",function(e,t){return t.weekdaysMinRegex(e)}),G("ddd",function(e,t){return t.weekdaysShortRegex(e)}),G("dddd",function(e,t){return t.weekdaysRegex(e)}),Q(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:p(n).invalidWeekday=e}),Q(["d","e","E"],function(e,t,n,r){t[r]=T(e)});var Mo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Io="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ro="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),No=uo,ko=uo,Ao=uo;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,He),V("k",["kk",2],0,ze),V("hmm",0,0,function(){return""+He.apply(this)+W(this.minutes(),2)}),V("hmmss",0,0,function(){return""+He.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),Ge("a",!0),Ge("A",!1),L("hour","h"),U("hour",13),G("a",Ze),G("A",Ze),G("H",Jr),G("h",Jr),G("k",Jr),G("HH",Jr,Gr),G("hh",Jr,Gr),G("kk",Jr,Gr),G("hmm",Qr),G("hmmss",$r),G("Hmm",Qr),G("Hmmss",$r),J(["H","HH"],ho),J(["k","kk"],function(e,t,n){var r=T(e);t[ho]=24===r?0:r}),J(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),J(["h","hh"],function(e,t,n){t[ho]=T(e),p(n).bigHour=!0}),J("hmm",function(e,t,n){var r=e.length-2;t[ho]=T(e.substr(0,r)),t[yo]=T(e.substr(r)),p(n).bigHour=!0}),J("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[ho]=T(e.substr(0,r)),t[yo]=T(e.substr(r,2)),t[go]=T(e.substr(o)),p(n).bigHour=!0}),J("Hmm",function(e,t,n){var r=e.length-2;t[ho]=T(e.substr(0,r)),t[yo]=T(e.substr(r))}),J("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[ho]=T(e.substr(0,r)),t[yo]=T(e.substr(r,2)),t[go]=T(e.substr(o))});var Do,Lo=/[ap]\.?m?\.?/i,jo=re("Hours",!0),Fo={calendar:Ar,longDateFormat:Dr,invalidDate:Lr,ordinal:jr,dayOfMonthOrdinalParse:Fr,relativeTime:Ur,months:Eo,monthsShort:So,week:xo,weekdays:Mo,weekdaysMin:Ro,weekdaysShort:Io,meridiemParse:Lo},Uo={},qo={},Wo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bo=/Z|[+-]\d\d(?::?\d\d)?/,Yo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ho=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],zo=/^\/?Date\((\-?\d+)/i,Go=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Zo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var Ko=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Xo=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}),Jo=function(){return Date.now?Date.now():+new Date},Qo=["year","quarter","month","week","day","hour","minute","second","millisecond"];Lt("Z",":"),Lt("ZZ",""),G("Z",ao),G("ZZ",ao),J(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=jt(ao,e)});var $o=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var ei=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ti=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Jt.fn=kt.prototype,Jt.invalid=Nt;var ni=tn(1,"add"),ri=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var oi=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),jn("gggg","weekYear"),jn("ggggg","weekYear"),jn("GGGG","isoWeekYear"),jn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),G("G",oo),G("g",oo),G("GG",Jr,Gr),G("gg",Jr,Gr),G("GGGG",to,Kr),G("gggg",to,Kr),G("GGGGG",no,Xr),G("ggggg",no,Xr),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=T(e)}),Q(["gg","GG"],function(e,n,r,o){n[o]=t.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),L("quarter","Q"),U("quarter",7),G("Q",zr),J("Q",function(e,t){t[fo]=3*(T(e)-1)}),V("D",["DD",2],"Do","date"),L("date","D"),U("date",9),G("D",Jr),G("DD",Jr,Gr),G("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),J(["D","DD"],po),J("Do",function(e,t){t[po]=T(e.match(Jr)[0])});var ii=re("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),U("dayOfYear",4),G("DDD",eo),G("DDDD",Zr),J(["DDD","DDDD"],function(e,t,n){n._dayOfYear=T(e)}),V("m",["mm",2],0,"minute"),L("minute","m"),U("minute",14),G("m",Jr),G("mm",Jr,Gr),J(["m","mm"],yo);var ai=re("Minutes",!1);V("s",["ss",2],0,"second"),L("second","s"),U("second",15),G("s",Jr),G("ss",Jr,Gr),J(["s","ss"],go);var si=re("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),U("millisecond",16),G("S",eo,zr),G("SS",eo,Gr),G("SSS",eo,Zr);var ui;for(ui="SSSS";ui.length<=9;ui+="S")G(ui,ro);for(ui="S";ui.length<=9;ui+="S")J(ui,zn);var li=re("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var ci=v.prototype;ci.add=ni,ci.calendar=on,ci.clone=an,ci.diff=fn,ci.endOf=wn,ci.format=vn,ci.from=_n,ci.fromNow=bn,ci.to=Tn,ci.toNow=Cn,ci.get=ae,ci.invalidAt=Dn,ci.isAfter=sn,ci.isBefore=un,ci.isBetween=ln,ci.isSame=cn,ci.isSameOrAfter=dn,ci.isSameOrBefore=mn,ci.isValid=kn,ci.lang=oi,ci.locale=Pn,ci.localeData=En,ci.max=Xo,ci.min=Ko,ci.parsingFlags=An,ci.set=se,ci.startOf=Sn,ci.subtract=ri,ci.toArray=In,ci.toObject=Rn,ci.toDate=Mn,ci.toISOString=yn,ci.inspect=gn,ci.toJSON=Nn,ci.toString=hn,ci.unix=xn,ci.valueOf=On,ci.creationData=Ln,ci.year=Co,ci.isLeapYear=ne,ci.weekYear=Fn,ci.isoWeekYear=Un,ci.quarter=ci.quarters=Yn,ci.month=he,ci.daysInMonth=ye,ci.week=ci.weeks=Me,ci.isoWeek=ci.isoWeeks=Ie,ci.weeksInYear=Wn,ci.isoWeeksInYear=qn,ci.date=ii,ci.day=ci.days=Fe,ci.weekday=Ue,ci.isoWeekday=qe,ci.dayOfYear=Hn,ci.hour=ci.hours=jo,ci.minute=ci.minutes=ai,ci.second=ci.seconds=si,ci.millisecond=ci.milliseconds=li,ci.utcOffset=qt,ci.utc=Vt,ci.local=Bt,ci.parseZone=Yt,ci.hasAlignedHourOffset=Ht,ci.isDST=zt,ci.isLocal=Zt,ci.isUtcOffset=Kt,ci.isUtc=Xt,ci.isUTC=Xt,ci.zoneAbbr=Gn,ci.zoneName=Zn,ci.dates=E("dates accessor is deprecated. Use date instead.",ii), ci.months=E("months accessor is deprecated. Use month instead",he),ci.years=E("years accessor is deprecated. Use year instead",Co),ci.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),ci.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gt);var di=M.prototype;di.calendar=I,di.longDateFormat=R,di.invalidDate=N,di.ordinal=k,di.preparse=Jn,di.postformat=Jn,di.relativeTime=A,di.pastFuture=D,di.set=O,di.months=ce,di.monthsShort=de,di.monthsParse=fe,di.monthsRegex=ve,di.monthsShortRegex=ge,di.week=we,di.firstDayOfYear=xe,di.firstDayOfWeek=Oe,di.weekdays=ke,di.weekdaysMin=De,di.weekdaysShort=Ae,di.weekdaysParse=je,di.weekdaysRegex=We,di.weekdaysShortRegex=Ve,di.weekdaysMinRegex=Be,di.isPM=Ke,di.meridiem=Xe,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===T(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=E("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=E("moment.langData is deprecated. Use moment.localeData instead.",rt);var mi=Math.abs,fi=yr("ms"),pi=yr("s"),hi=yr("m"),yi=yr("h"),gi=yr("d"),vi=yr("w"),_i=yr("M"),bi=yr("y"),Ti=_r("milliseconds"),Ci=_r("seconds"),Pi=_r("minutes"),Ei=_r("hours"),Si=_r("days"),wi=_r("months"),Oi=_r("years"),xi=Math.round,Mi={ss:44,s:45,m:45,h:22,d:26,M:11},Ii=Math.abs,Ri=kt.prototype;return Ri.isValid=Rt,Ri.abs=ar,Ri.add=ur,Ri.subtract=lr,Ri.as=pr,Ri.asMilliseconds=fi,Ri.asSeconds=pi,Ri.asMinutes=hi,Ri.asHours=yi,Ri.asDays=gi,Ri.asWeeks=vi,Ri.asMonths=_i,Ri.asYears=bi,Ri.valueOf=hr,Ri._bubble=dr,Ri.clone=gr,Ri.get=vr,Ri.milliseconds=Ti,Ri.seconds=Ci,Ri.minutes=Pi,Ri.hours=Ei,Ri.days=Si,Ri.weeks=br,Ri.months=wi,Ri.years=Oi,Ri.humanize=Sr,Ri.toISOString=Or,Ri.toString=Or,Ri.toJSON=Or,Ri.locale=Pn,Ri.localeData=En,Ri.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Or),Ri.lang=oi,V("X",0,0,"unix"),V("x",0,0,"valueOf"),G("x",oo),G("X",so),J("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),J("x",function(e,t,n){n._d=new Date(T(e))}),t.version="2.20.1",n(wt),t.fn=ci,t.min=xt,t.max=Mt,t.now=Jo,t.utc=m,t.unix=Kn,t.months=tr,t.isDate=u,t.locale=et,t.invalid=y,t.duration=Jt,t.isMoment=_,t.weekdays=rr,t.parseZone=Xn,t.localeData=rt,t.isDuration=At,t.monthsShort=nr,t.weekdaysMin=ir,t.defineLocale=tt,t.updateLocale=nt,t.locales=ot,t.weekdaysShort=or,t.normalizeUnits=j,t.relativeTimeRounding=Pr,t.relativeTimeThreshold=Er,t.calendarFormat=rn,t.prototype=ci,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},t})}).call(t,n(3)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}}])})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(216),i=r(o),a=n(217),s=r(a);e.exports={TransitionGroup:s.default,CSSTransitionGroup:i.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 i(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 a(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)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(95),l=r(u),c=n(217),d=r(c),m=n(222),f=r(m),p=n(231),h={transitionName:p.nameShape.isRequired,transitionAppear:l.default.PropTypes.bool,transitionEnter:l.default.PropTypes.bool,transitionLeave:l.default.PropTypes.bool,transitionAppearTimeout:(0,p.transitionTimeout)("Appear"),transitionEnterTimeout:(0,p.transitionTimeout)("Enter"),transitionLeaveTimeout:(0,p.transitionTimeout)("Leave")},y={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},g=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(u))),r._wrapChild=function(e){return l.default.createElement(f.default,{name:r.props.transitionName,appear:r.props.transitionAppear,enter:r.props.transitionEnter,leave:r.props.transitionLeave,appearTimeout:r.props.transitionAppearTimeout,enterTimeout:r.props.transitionEnterTimeout,leaveTimeout:r.props.transitionLeaveTimeout},e)},a=n,i(r,a)}return a(t,e),t.prototype.render=function(){return l.default.createElement(d.default,s({},this.props,{childFactory:this._wrapChild}))},t}(l.default.Component);g.displayName="CSSTransitionGroup",g.propTypes=h,g.defaultProps=y,t.default=g,e.exports=t.default},function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function i(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 s(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)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(219),c=o(l),d=n(95),m=o(d),f=n(220),p=o(f),h=n(221),y={component:m.default.PropTypes.any,childFactory:m.default.PropTypes.func,children:m.default.PropTypes.node},g={component:"span",childFactory:function(e){return e}},v=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.performAppear=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillAppear?t.componentWillAppear(o._handleDoneAppearing.bind(o,e)):o._handleDoneAppearing(e)},o._handleDoneAppearing=function(e){var t=o.childRefs[e];t&&t.componentDidAppear&&t.componentDidAppear(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e)},o.performEnter=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillEnter?t.componentWillEnter(o._handleDoneEntering.bind(o,e)):o._handleDoneEntering(e)},o._handleDoneEntering=function(e){var t=o.childRefs[e];t&&t.componentDidEnter&&t.componentDidEnter(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e)},o.performLeave=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillLeave?t.componentWillLeave(o._handleDoneLeaving.bind(o,e)):o._handleDoneLeaving(e)},o._handleDoneLeaving=function(e){var t=o.childRefs[e];t&&t.componentDidLeave&&t.componentDidLeave(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)?o.performEnter(e):o.setState(function(t){var n=u({},t.children);return delete n[e],{children:n}})},o.childRefs=Object.create(null),o.state={children:(0,h.getChildMapping)(n.children)},o}return s(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},t.prototype.componentWillReceiveProps=function(e){var t=(0,h.getChildMapping)(e.children),n=this.state.children;this.setState({children:(0,h.mergeChildMappings)(n,t)});for(var r in t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var i in n){var a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}},t.prototype.componentDidUpdate=function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},t.prototype.render=function(){var e=this,t=[],n=function(n){var o=e.state.children[n];if(o){var i="string"!=typeof o.ref;"production"!==r.env.NODE_ENV?(0,p.default)(i,"string refs are not supported on children of TransitionGroup and will be ignored. Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute"):void 0,t.push(m.default.cloneElement(e.props.childFactory(o),{key:n,ref:(0,c.default)(i?o.ref:null,function(t){e.childRefs[n]=t})}))}};for(var o in this.state.children)n(o);var i=u({},this.props);return delete i.transitionLeave,delete i.transitionName,delete i.transitionAppear,delete i.transitionEnter,delete i.childFactory,delete i.transitionLeaveTimeout,delete i.transitionEnterTimeout,delete i.transitionAppearTimeout,delete i.component,m.default.createElement(this.props.component,i,t)},t}(m.default.Component);v.displayName="TransitionGroup",v.propTypes=y,v.defaultProps=g,t.default=v,e.exports=t.default}).call(t,n(218))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){h&&f&&(h=!1,f.length?p=f.concat(p):y=-1,p.length&&s())}function s(){if(!h){var e=o(a);h=!0;for(var t=p.length;t;){for(f=p,p=[];++y<t;)f&&f[y].run();y=-1,t=p.length}f=null,h=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,d,m=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var f,p=[],h=!1,y=-1;m.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new u(e,t)),1!==p.length||h||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=l,m.addListener=l,m.once=l,m.off=l,m.removeListener=l,m.removeAllListeners=l,m.emit=l,m.binding=function(e){throw new Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(e){throw new Error("process.chdir is not supported")},m.umask=function(){return 0}},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter(function(e){return null!=e}),0!==t.length)return 1===t.length?t[0]:t.reduce(function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}})}},function(e,t,n){(function(t){"use strict";var n=function(){};"production"!==t.env.NODE_ENV&&(n=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var i=0,a="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}}),e.exports=n}).call(t,n(218))},function(e,t,n){"use strict";function r(e){if(!e)return e;var t={};return i.Children.map(e,function(e){return e}).forEach(function(e){t[e.key]=e}),t}function o(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a=void 0,s={};for(var u in t){if(r.hasOwnProperty(u))for(a=0;a<r[u].length;a++){var l=r[u][a];s[r[u][a]]=n(l)}s[u]=n(u)}for(a=0;a<o.length;a++)s[o[a]]=n(o[a]);return s}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=o;var i=n(95)},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 i(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 a(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){return b.length?b.forEach(function(n){return e.addEventListener(n,t,!1)}):setTimeout(t,0),function(){b.length&&b.forEach(function(n){return e.removeEventListener(n,t,!1)})}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(223),c=r(l),d=n(226),m=r(d),f=n(227),p=r(f),h=n(229),y=n(95),g=r(y),v=n(230),_=n(231),b=[];h.transitionEnd&&b.push(h.transitionEnd),h.animationEnd&&b.push(h.animationEnd);var T={children:g.default.PropTypes.node,name:_.nameShape.isRequired,appear:g.default.PropTypes.bool,enter:g.default.PropTypes.bool,leave:g.default.PropTypes.bool,appearTimeout:g.default.PropTypes.number,enterTimeout:g.default.PropTypes.number,leaveTimeout:g.default.PropTypes.number},C=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.componentWillAppear=function(e){r.props.appear?r.transition("appear",e,r.props.appearTimeout):e()},r.componentWillEnter=function(e){r.props.enter?r.transition("enter",e,r.props.enterTimeout):e()},r.componentWillLeave=function(e){r.props.leave?r.transition("leave",e,r.props.leaveTimeout):e()},a=n,i(r,a)}return a(t,e),t.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach(function(e){clearTimeout(e)}),this.classNameAndNodeQueue.length=0},t.prototype.transition=function(e,t,n){var r=(0,v.findDOMNode)(this);if(!r)return void(t&&t());var o=this.props.name[e]||this.props.name+"-"+e,i=this.props.name[e+"Active"]||o+"-active",a=null,u=void 0;(0,c.default)(r,o),this.queueClassAndNode(i,r);var l=function(e){e&&e.target!==r||(clearTimeout(a),u&&u(),(0,m.default)(r,o),(0,m.default)(r,i),u&&u(),t&&t())};n?(a=setTimeout(l,n),this.transitionTimeouts.push(a)):h.transitionEnd&&(u=s(r,l))},t.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,p.default)(function(){return n.flushClassNameAndNodeQueue()}))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach(function(e){e.node.scrollTop,(0,c.default)(e.node,e.className)}),this.classNameAndNodeQueue.length=0,this.rafHandle=null},t.prototype.render=function(){var e=u({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,g.default.cloneElement(g.default.Children.only(this.props.children),e)},t}(g.default.Component);C.displayName="CSSTransitionGroupChild",C.propTypes=T,t.default=C,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var o=n(224);t.__esModule=!0,t.default=r;var i=o(n(225));e.exports=t.default},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t){"use strict";function n(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=n(e.className,t):e.setAttribute("class",n(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-d)),r=setTimeout(e,n);return d=t,r}var o=n(224);t.__esModule=!0,t.default=void 0;var i,a=o(n(228)),s=["","webkit","moz","o","ms"],u="clearTimeout",l=r,c=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};a.default&&s.some(function(e){var t=c(e,"request");if(t in window)return u=c(e,"cancel"),l=function(e){return window[t](e)}});var d=(new Date).getTime();i=function(e){return l(e)},i.cancel=function(e){window[u]&&"function"==typeof window[u]&&window[u](e)};var m=i;t.default=m,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},o=Object.keys(r),i="",a=0;a<o.length;a++){var s=o[a];if(s+"TransitionProperty"in n){i="-"+s.toLowerCase(),e=r[s]("TransitionEnd"),t=r[s]("AnimationEnd");break}}return!e&&"transitionProperty"in n&&(e="transitionend"),!t&&"animationName"in n&&(t="animationend"),n=null,{animationEnd:t,transitionEnd:e,prefix:i}}var o=n(224);t.__esModule=!0,t.default=t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var i=o(n(228)),a="transform";t.transform=a;var s,u,l;t.animationEnd=l,t.transitionEnd=u;var c,d,m,f;t.transitionDelay=f,t.transitionTiming=m,t.transitionDuration=d,t.transitionProperty=c;var p,h,y,g;if(t.animationDelay=g,t.animationTiming=y,t.animationDuration=h,t.animationName=p,i.default){var v=r();s=v.prefix,t.transitionEnd=u=v.transitionEnd,t.animationEnd=l=v.animationEnd,t.transform=a=s+"-"+a,t.transitionProperty=c=s+"-transition-property",t.transitionDuration=d=s+"-transition-duration",t.transitionDelay=f=s+"-transition-delay",t.transitionTiming=m=s+"-transition-timing-function",t.animationName=p=s+"-animation-name",t.animationDuration=h=s+"-animation-duration",t.animationTiming=y=s+"-animation-delay",t.animationDelay=g=s+"-animation-timing-function"}var _={transform:a,end:u,property:c,timing:m,delay:f,duration:d};t.default=_},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=o;var i=n(95),a=r(i);t.nameShape=a.default.PropTypes.oneOfType([a.default.PropTypes.string,a.default.PropTypes.shape({enter:a.default.PropTypes.string,leave:a.default.PropTypes.string,active:a.default.PropTypes.string}),a.default.PropTypes.shape({enter:a.default.PropTypes.string,enterActive:a.default.PropTypes.string,leave:a.default.PropTypes.string,leaveActive:a.default.PropTypes.string,appear:a.default.PropTypes.string,appearActive:a.default.PropTypes.string})])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.LoadRepliesButton=t.LoadRepliesIcon=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(182),g=r(y),v=n(204),_=r(v),b=t.LoadRepliesIcon=function(e){var t=e.checkingForReplies,n=e.iconName,r=e.iconClass;return h.default.createElement("span",{className:"reply-more-replies__icon","aria-hidden":"true"},t?h.default.createElement(_.default,{width:14,height:14}):h.default.createElement(g.default,{iconName:n,additionalClassNames:r}))},T=t.LoadRepliesButton=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={checkingForReplies:n.props.checkingForReplies},n.handleClick=n.handleClick.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.getIcon(),t=this.getIconClass(),n=this.getText();return h.default.createElement("div",{className:"reply-more-replies"},h.default.createElement("button",{className:"reply-more-replies__button","aria-label":this.getAriaLabel(),onClick:this.handleClick},h.default.createElement("span",{className:"reply-more-replies__text"},n),h.default.createElement(b,{checkingForReplies:this.state.checkingForReplies,iconName:e,iconClass:t})))}},{key:"componentDidUpdate",value:function(e){e.checkingForReplies===!0&&this.props.checkingForReplies===!1&&(this.props.setMaxNumberOfRepliesVisible(),this.props.setLoadRepliesAllyMessage(this.isShowMoreReplies()),this.clearSpinTimer(),this.setState({checkingForReplies:!1}))}},{key:"componentWillUnmount",value:function(){this.clearSpinTimer()}},{key:"isShowMoreReplies",value:function(){return this.newRepliesToShow()>0}},{key:"newRepliesToShow",value:function(){return this.props.newRepliesToShow}},{key:"getText",value:function(){return this.isShowMoreReplies()?this.context.theme.formatMessage("moreReplies",{nMoreReplies:this.newRepliesToShow()}):this.context.theme.formatMessage("checkForNewReplies")}},{key:"getAriaLabel",value:function(){return this.isShowMoreReplies()?this.context.theme.formatMessage("displayMoreReplies",{nMoreReplies:this.newRepliesToShow()}):this.context.theme.formatMessage("checkForNewReplies")}},{key:"getIconClass",value:function(){return this.isShowMoreReplies()?"reply-more-replies__icon-gel":"reply-more-replies__icon-gel reply-more-replies__icon-gel-spin"}},{key:"getIcon",value:function(){return this.isShowMoreReplies()?"down":"refresh"}},{key:"sendMoreRepliesErrorStat",value:function(){return this.isShowMoreReplies()?this.props.sendMoreRepliesLoadErrorStat():this.props.sendMoreRepliesCheckErrorStat()}},{key:"startSpinTimer",value:function(){var e=this;this.spinTimer=setTimeout(function(){e.sendMoreRepliesErrorStat(),e.stopSpinner()},this.props.requestTimeoutMs)}},{key:"startSpinner",value:function(){this.setState({checkingForReplies:!0})}},{key:"stopSpinner",value:function(){this.setState({checkingForReplies:!1})}},{key:"clearSpinTimer",value:function(){this.spinTimer&&clearTimeout(this.spinTimer),this.spinTimer=null}},{key:"handleClick",value:function(){this.startSpinner(),this.startSpinTimer(),this.props.onClick()}}]),t}(p.Component);b.displayName="LoadRepliesIcon",b.propTypes={checkingForReplies:p.PropTypes.bool,iconName:p.PropTypes.string,iconClass:p.PropTypes.string},T.displayName="LoadRepliesButton",T.propTypes={onClick:p.PropTypes.func,newRepliesToShow:p.PropTypes.number,checkingForReplies:p.PropTypes.bool,requestTimeoutMs:p.PropTypes.number,setMaxNumberOfRepliesVisible:p.PropTypes.func.isRequired,setLoadRepliesAllyMessage:p.PropTypes.func.isRequired,sendMoreRepliesLoadErrorStat:p.PropTypes.func.isRequired,sendMoreRepliesCheckErrorStat:p.PropTypes.func.isRequired},T.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={replies:"replies",sort:"sort",moreComments:"moreComments",newComments:"newComments"},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}),t.CommentsButton=void 0;var o=n(2),i=r(o),a=n(95),s=r(a),u=n(143),l=r(u),c=t.CommentsButton=function(e){var t=e.children,n=e.className,r=e.isDisabled,o=e.type,a=void 0===o?"button":o,u=e.onClick,c=e.rel,d=e.ariaLabel,m=e.isFullWidth,f={className:(0,l.default)("comments-button",n,{"comments-button--full-width":m}),disabled:r,onClick:u,"aria-label":d,rel:c};switch(a){case"button":return s.default.createElement("button",f,t);case"submit":return s.default.createElement("input",(0,i.default)({type:"submit",value:t},f));default:return s.default.createElement("noscript",null)}};c.displayName="CommentsButton",c.propTypes={children:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.node),a.PropTypes.node]),className:a.PropTypes.string,isDisabled:a.PropTypes.bool,isFullWidth:a.PropTypes.bool,type:a.PropTypes.oneOf(["button","submit"]),onClick:a.PropTypes.func,rel:a.PropTypes.string,ariaLabel:a.PropTypes.string},c.defaultProps={isFullWidth:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsTextLimit=void 0;var o=n(95),i=r(o),a=n(143),s=r(a),u=t.CommentsTextLimit=function(e){var t=e.remainingCharacters,n=e.isTextOverLimit,r=e.textLimit,o=e.remainingCharactersMessage,a=(0,s.default)("comments__text-limit",{"comments__text-limit--over-limit":n});return i.default.createElement("div",{className:a},i.default.createElement("span",{className:"comment__hidden-text"},o),i.default.createElement("span",{className:"comment__limit-visible-text","aria-hidden":"true"},t+"/"+r))};u.displayName="CommentsTextLimit",u.propTypes={remainingCharacters:o.PropTypes.number.isRequired,isTextOverLimit:o.PropTypes.bool.isRequired,textLimit:o.PropTypes.number.isRequired,remainingCharactersMessage:o.PropTypes.string.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Stylesheets=void 0;var o=n(95),i=r(o),a=t.Stylesheets=function(e){var t=e.stylesheets,n=t.map(function(e,t){return i.default.createElement("link",{rel:"stylesheet",href:e,key:t})});return i.default.createElement("span",null,n)};a.displayName="Stylesheets",a.propTypes={stylesheets:o.PropTypes.arrayOf(o.PropTypes.string)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.IdctaSignedInMessage=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(156),g=n(158),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=(0,y.getActivityHubUrl)((0,g.getEnv)()),t=this.context.WithStatsIncludeCommonLabels,n=this.props.displayName,r=this.context.theme.formatMessage("signedInMessage",{}),o=n?r+", ":r;return h.default.createElement("div",{className:"comments__idcta-msg"},o,n&&h.default.createElement(t,{id:"stats-activity-hub-link",labels:{label:"activity-hub-link"},fireOnView:!0,fireOnClick:!0},h.default.createElement("a",{className:"comments__display-name",href:e},n)))}}]),t}(p.Component);v.displayName="IdctaSignedInMessage",v.propTypes={displayName:p.PropTypes.string},v.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func}),WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired},t.IdctaSignedInMessage=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsImpressionStat=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(239),g=r(y),v=n(241),_=r(v),b=n(242),T=t.CommentsImpressionStat=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isVisibilitySensorActive:!0},n.onVisibilityStatusChange=n.onVisibilityStatusChange.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"onVisibilityStatusChange",value:function(e){e&&(_.default.logViewEvent(b.ISTATS_ACTIONS.CommentsInViewport),this.setState({isVisibilitySensorActive:!1}))}},{key:"render",value:function(){return h.default.createElement(g.default,{active:this.state.isVisibilitySensorActive,onChange:this.onVisibilityStatusChange,intervalCheck:!1,scrollCheck:!0,scrollThrottle:200,resizeCheck:!0,resizeThrottle:200})}}]),t}(p.Component);T.displayName="CommentsImpressionStat"},function(e,t,n){"use strict";var r=n(95),o=n(230),i=n(240),a=r.PropTypes.any;"undefined"!=typeof window&&(a=r.PropTypes.instanceOf(window.Element)),e.exports=r.createClass({displayName:"VisibilitySensor",propTypes:{onChange:r.PropTypes.func.isRequired,active:r.PropTypes.bool,partialVisibility:r.PropTypes.oneOfType([r.PropTypes.bool,r.PropTypes.oneOf(["top","right","bottom","left"])]),delayedCall:r.PropTypes.bool,offset:r.PropTypes.oneOfType([r.PropTypes.shape({top:r.PropTypes.number,left:r.PropTypes.number,bottom:r.PropTypes.number,right:r.PropTypes.number}),r.PropTypes.shape({direction:r.PropTypes.oneOf(["top","right","bottom","left"]),value:r.PropTypes.number})]),scrollCheck:r.PropTypes.bool,scrollDelay:r.PropTypes.number,scrollThrottle:r.PropTypes.number,resizeCheck:r.PropTypes.bool,resizeDelay:r.PropTypes.number,resizeThrottle:r.PropTypes.number,intervalCheck:r.PropTypes.bool,intervalDelay:r.PropTypes.number,containment:a,children:r.PropTypes.element,minTopValue:r.PropTypes.number},getDefaultProps:function(){return{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:r.createElement("span")}},getInitialState:function(){return{isVisible:null,visibilityRect:{}}},componentDidMount:function(){this.node=o.findDOMNode(this),this.props.active&&this.startWatching()},componentWillUnmount:function(){this.stopWatching()},componentWillReceiveProps:function(e){e.active?(this.setState(this.getInitialState()),this.startWatching()):this.stopWatching()},getContainer:function(){return this.props.containment||window},addEventListener:function(e,t,n,r){this.debounceCheck||(this.debounceCheck={});var o,i,a=function(){o=null,this.check()}.bind(this);i=r>-1?function(){o||(o=setTimeout(a,r||0))}:function(){clearTimeout(o),o=setTimeout(a,n||0)};var s={target:e,fn:i,getLastTimeout:function(){return o}};e.addEventListener(t,s.fn),this.debounceCheck[t]=s},startWatching:function(){this.debounceCheck||this.interval||(this.props.intervalCheck&&(this.interval=setInterval(this.check,this.props.intervalDelay)),this.props.scrollCheck&&this.addEventListener(this.getContainer(),"scroll",this.props.scrollDelay,this.props.scrollThrottle),this.props.resizeCheck&&this.addEventListener(window,"resize",this.props.resizeDelay,this.props.resizeThrottle), !this.props.delayedCall&&this.check())},stopWatching:function(){if(this.debounceCheck)for(var e in this.debounceCheck)if(this.debounceCheck.hasOwnProperty(e)){var t=this.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),this.debounceCheck[e]=null}this.debounceCheck=null,this.interval&&(this.interval=clearInterval(this.interval))},check:function(){var e,t,n=this.node;if(!n)return this.state;if(e=n.getBoundingClientRect(),this.props.containment){var r=this.props.containment.getBoundingClientRect();t={top:r.top,left:r.left,bottom:r.bottom,right:r.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var o=this.props.offset||{},a="object"==typeof o;a&&(t.top+=o.top||0,t.left+=o.left||0,t.bottom-=o.bottom||0,t.right-=o.right||0);var s={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},u=s.top&&s.left&&s.bottom&&s.right;if(this.props.partialVisibility){var l=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof this.props.partialVisibility&&(l=s[this.props.partialVisibility]),u=this.props.minTopValue?l&&e.top<=t.bottom-this.props.minTopValue:l}"string"==typeof o.direction&&"number"==typeof o.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",o.direction,o.value),u=i(o,e,t));var c=this.state;return this.state.isVisible!==u&&(c={isVisible:u,visibilityRect:s},this.setState(c),this.props.onChange(u,s)),c},render:function(){return r.Children.only(this.props.children)}})},function(e,t){e.exports=function(e,t,n){var r=e.direction,o=e.value;switch(r){case"top":return n.top+o<t.top&&n.bottom>t.bottom&&n.left<t.left&&n.right>t.right;case"left":return n.left+o<t.left&&n.bottom>t.bottom&&n.top<t.top&&n.right>t.right;case"bottom":return n.bottom-o>t.bottom&&n.left<t.left&&n.right>t.right&&n.top<t.top;case"right":return n.right-o>t.right&&n.left<t.left&&n.top<t.top&&n.bottom>t.bottom}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){i().then(function(r){r.log(e,t,(0,l.default)({},c,n))})}function i(){return new s.default(function(e){window.require(["istats-1"],function(t){e(t)})})}Object.defineProperty(t,"__esModule",{value:!0});var a=n(121),s=r(a),u=n(2),l=r(u),c={};t.default={initialiseCommonLabels:function(e){c=(0,l.default)({},e)},logClickEvent:function(e,t){o("click",e,t)},logViewEvent:function(e,t){o("view",e,t)},logLoadEvent:function(e,t){o("load",e,t)}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ISTATS_ACTIONS={CancelLink:"comments_cancel_link_comment",PostingComments:"comments_post_comment",ShowMoreComments:"comments_more_comments",ShowNewComments:"comments_new_comments",LoadingMoreComments:"comments_loading_comments",FailedToLoadMoreComments:"comments_loading_comments_error",FailedToPostComments:"comments_error_",CommentsInViewport:"comments_view",CommentsLoad:"comments_load"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShowNewCommentsButton=void 0;var o=n(95),i=r(o),a=n(164),s=n(182),u=r(s),l=function(e){return e?i.default.createElement("span",{className:"header-icon-refresh"},i.default.createElement(u.default,{iconName:e})):i.default.createElement("noscript",null)},c=t.ShowNewCommentsButton=function(e){var t=e.newCommentCount,n=e.onClick;if(t<=0)return i.default.createElement("noscript",null);var r=1===t?"":"s",o=t+" new comment"+r,s="Show "+o;return i.default.createElement(a.CommentsButton,{className:"comments-snc-button comments--border comments--shadow",onClick:n,isFullWidth:!0,ariaLabel:s},l("refresh"),o)};c.displayName="ShowNewCommentsButton",c.propTypes={newCommentCount:o.PropTypes.number.isRequired,onClick:o.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsLoading=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(204),g=r(y),v=n(155),_={loading:"Loading...",loadingSlow:"sorry, this seems to be taking a while"},b=t.CommentsLoading=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={showSlowMessage:!1},n.slowMessageTimer=null,n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"startSlowTimer",value:function(){var e=this;this.props.slowMessageTimerInSeconds&&(this.slowMessageTimer=setTimeout(function(){e.setState({showSlowMessage:!0}),e.context.setA11yAlertText(_.loading+" "+_.loadingSlow)},(0,v.secondsToMillis)(this.props.slowMessageTimerInSeconds)))}},{key:"componentDidMount",value:function(){this.startSlowTimer(),this.context.setA11yAlertText(this.context.theme.formatMessage("loading"))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.slowMessageTimer),this.context.setA11yAlertText("")}},{key:"render",value:function(){return h.default.createElement("div",{className:"comments-loading"},h.default.createElement("div",{className:"comments-loading__icon"},h.default.createElement(g.default,null)),h.default.createElement("div",{className:"comments-loading__text",tabIndex:"0"},h.default.createElement("span",null,_.loading),this.state.showSlowMessage&&h.default.createElement("span",null," (",_.loadingSlow,")")))}}]),t}(p.Component);b.displayName="CommentsLoading",b.propTypes={slowMessageTimerInSeconds:p.PropTypes.number},b.contextTypes={setA11yAlertText:p.PropTypes.func.isRequired,theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NoJSMessage=void 0;var o=n(95),i=r(o);t.NoJSMessage=function(){return i.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:'<div class="comments-no-js-message">\n To use comments you will need to have JavaScript enabled.\n </div>'}})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsModerationMessage=void 0;var o=n(95),i=r(o),a=n(143),s=r(a),u=n(195),l=r(u),c=function(e){return i.default.createElement("span",null,"are ",i.default.createElement("a",{className:"comments-moderation__rules-link",href:e},"moderated")," and")},d=t.CommentsModerationMessage=function(e){var t=e.moderationStatus,n=e.rulesPageUrl;return i.default.createElement("p",{className:(0,s.default)("comments-moderation__rules-msg")},"Comments ",t===l.default.PRE_MODERATED.toString()?c(n):""," must follow the ",i.default.createElement("a",{href:n},"house rules"),".")};d.displayName="CommentsModerationMessage",d.propTypes={moderationStatus:o.PropTypes.string,rulesPageUrl:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsSort=void 0;var o=n(113),i=r(o),a=n(44),s=r(a),u=n(49),l=r(u),c=n(50),d=r(c),m=n(54),f=r(m),p=n(87),h=r(p),y=n(95),g=r(y),v=n(248),_=r(v),b=n(204),T=r(b),C=n(249),P=r(C),E=n(143),S=r(E),w=t.CommentsSort=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.handleSort=n.handleSort.bind(n),n}return(0,h.default)(t,e),(0,d.default)(t,[{key:"handleSort",value:function(e){this.props.sortCallback(e)}},{key:"getSortLabel",value:function(e){return this.context.theme.formatMessage("commentsSort"+e)}},{key:"isRelevantOption",value:function(e){var t=this;return!e.featureToggles||e.featureToggles.map(function(e){return t.context.isFeatureEnabled(e)}).some(function(e){return e===!0})}},{key:"getRelevantSortOptions",value:function(){var e=this;return(0,i.default)(_.default).filter(function(t){return e.isRelevantOption(t)}).map(function(e){return e.name})}},{key:"render",value:function(){var e=this,t=this.context.theme.formatMessage,n=t("commentsSortLabel"),r=this.props,o=r.isLoading,i=r.defaultValue,a=(0,S.default)("comments-sort__select",{"comments-sort__select--loading":o}),s=function(e){o&&e.preventDefault()};return g.default.createElement("div",{className:"comments-sort"},g.default.createElement("label",{className:"comments-sort__label","aria-hidden":"true"},"Show"),g.default.createElement("div",{className:"comments-sort__dropdown"},g.default.createElement("select",{id:"sort-select","aria-label":n,className:a,defaultValue:i,onChange:function(t){return e.handleSort(t.target.value)},autoComplete:"off",onMouseDown:s,onKeyPress:s},this.getRelevantSortOptions().map(function(t){return g.default.createElement("option",{id:t,key:t,value:t},e.getSortLabel(t))})),g.default.createElement("div",{className:"comments-sort__icon","aria-hidden":"true"},o?g.default.createElement(T.default,null):g.default.createElement(P.default,null))))}}]),t}(y.Component);w.displayName="CommentsSort",w.propTypes={sortCallback:y.PropTypes.func,isLoading:y.PropTypes.bool,defaultValue:y.PropTypes.string},w.defaultProps={defaultValue:_.default.NewestFirst.name},w.contextTypes={isFeatureEnabled:y.PropTypes.func.isRequired,theme:y.PropTypes.shape({formatMessage:y.PropTypes.func})}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={NewestFirst:{name:"NewestFirst",indexName:"startIndex",statsName:"Latest"},OldestFirst:{name:"OldestFirst",indexName:"startIndex",statsName:"Oldest"},HighestRated:{name:"HighestRated",indexName:"startAtItem",featureToggles:["ratings","downRatings"],statsName:"HighestRated"},MostRepliesFirst:{name:"MostRepliesFirst",indexName:"startAtItem",featureToggles:["replies"],statsName:"MostReplied"}},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(95),i=r(o),a=function(){return i.default.createElement("svg",{className:"down-arrow",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M12 21l-10-14h20z"}))};a.displayName="DownArrow",t.default=a,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}),t.CommentsSortError=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(182),g=r(y),v=t.CommentsSortError=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return h.default.createElement("div",{className:"comments-sort-error comments--border comments--shadow"},h.default.createElement("div",{className:"comments-sort-error__icon","aria-hidden":"true"},h.default.createElement(g.default,{iconName:"info",additionalClassNames:"comments-sort__icon-gel"})),h.default.createElement("div",{className:"comments-sort-error__message"},this.context.theme.formatMessage("commentsSortError")))}}]),t}(p.Component);v.displayName="CommentsSortError",v.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ViewCommentsButton=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(182),g=r(y),v=t.ViewCommentsButton=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.totalCommentsCount,n=e.onClick,r=this.context.theme.formatMessage("viewCommentsButton"),o=t>0?", "+t:"",i=""+r+o;return h.default.createElement("div",{className:"comments view-comments-button-container"},h.default.createElement("button",{className:"view-comments-button",onClick:n,"aria-label":i},h.default.createElement("span",{className:"view-comments-button__icon"},h.default.createElement(g.default,{iconName:"comments",additionalClassNames:"view-comments__icon-gel"})),h.default.createElement("span",{className:"view-comments-button__text"},r),t>0&&h.default.createElement("span",{className:"view-comments-button__count"},t)))}}]),t}(p.Component);v.displayName="ViewCommentsButton",v.propTypes={totalCommentsCount:p.PropTypes.number,onClick:p.PropTypes.func},v.defaultProps={totalCommentsCount:0},v.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ForumLinks=t.getForumLinks=void 0;var o=n(145),i=r(o),a=n(2),s=r(a),u=n(95),l=r(u),c=n(173),d=n(176),m=(t.getForumLinks=function(e){var t=e.forumAdminLinks,n=void 0===t?{}:t,r={};return n.administerCommentsForum&&(r.administerCommentsForumUrl=(0,d.formatForumAdminLinkUrlTemplate)(n.administerCommentsForum.url)),(0,s.default)({hasLinks:(0,i.default)(r).length>0},r)},t.ForumLinks=function(e){var t=e.forumLinks;return l.default.createElement(c.ActionLinks,{className:"action-links--forum-links"},l.default.createElement(c.ActionLink,{href:t.administerCommentsForumUrl},"Administer Comment Forum"))});m.displayName="ForumLinks",m.propTypes={forumLinks:u.PropTypes.shape({administerCommentsForumUrl:u.PropTypes.string.isRequired})},m.defaultProps={forumLinks:{}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ToTop=void 0;var o=n(95),i=r(o),a=t.ToTop=function(e){var t=e.height,n=void 0===t?14:t,r=e.width,o=void 0===r?14:r;return i.default.createElement("span",{className:"to-top-icon","aria-hidden":"true"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,width:o,viewBox:"0 0 32 32"},i.default.createElement("rect",{y:"2",width:"32",height:"3"}),i.default.createElement("polygon",{points:"16 5 32 30 23.8 30 16 16.7 8.2 30 0 30 16 5"})))};a.displayName="ToTop",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yAlertMessage=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(174),g=t.A11yAlertMessage=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getMessageFragment",value:function(e){return h.default.createElement("div",{className:"comments__a11y-message comment__hidden-text","aria-live":"assertive","aria-atomic":"true"},e)}},{key:"render",value:function(){return h.default.createElement(y.A11yText,{contents:this.getMessageFragment(this.props.message),timeout:this.props.timeout})}}]),t}(p.Component);g.displayName="A11yAlertMessage",g.propTypes={message:p.PropTypes.string.isRequired,timeout:p.PropTypes.number},g.defaultProps={timeout:0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yPoliteMessage=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(174),g=t.A11yPoliteMessage=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getMessageFragment",value:function(e){return h.default.createElement("div",{className:"comments__a11y-message comment__hidden-text","aria-live":"polite","aria-atomic":"true"},e)}},{key:"render",value:function(){return h.default.createElement(y.A11yText,{contents:this.getMessageFragment(this.props.message),timeout:this.props.timeout})}}]),t}(p.Component);g.displayName="A11yPoliteMessage",g.propTypes={message:p.PropTypes.string.isRequired,timeout:p.PropTypes.number},g.defaultProps={timeout:0}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ThemeVariants={DEFAULT:"default",CHILDRENS:"childrens"},t.Products={DEFAULT:"default",CBBC:"cbbc",CBEEBIES:"cbeebies",OWNIT:"stay-safe",NEWSROUND:"newsround",NIGHTFALL:"nightfall"}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={ALERT:"Alert",POLITE:"Polite"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t[0];return n.index>e[0].index}function i(e,t){var n=t[0];return n.index<e[0].index}function a(e){return e.length<1?0:e[e.length-1].index}Object.defineProperty(t,"__esModule",{value:!0}),t.hasOutOfSequenceCommentsBySortOrder=t.getNextIndexToLoadFromBySortOrder=t.sortParameterBySortOrder=void 0;var s,u,l,c=n(148),d=r(c),m=n(248),f=r(m);t.sortParameterBySortOrder=(s={},(0,d.default)(s,f.default.NewestFirst.name,"startIndex"),(0,d.default)(s,f.default.OldestFirst.name,"startIndex"),(0,d.default)(s,f.default.HighestRated.name,"startAtItem"),(0,d.default)(s,f.default.MostRepliesFirst.name,"startAtItem"),s),t.getNextIndexToLoadFromBySortOrder=(u={},(0,d.default)(u,f.default.NewestFirst.name,function(e){var t=a(e);return t>0?t-1:0}),(0,d.default)(u,f.default.OldestFirst.name,function(e){return a(e)+1}),(0,d.default)(u,f.default.HighestRated.name,function(e){return e.length}),(0,d.default)(u,f.default.MostRepliesFirst.name,function(e){return e.length}),u),t.hasOutOfSequenceCommentsBySortOrder=(l={},(0,d.default)(l,f.default.NewestFirst.name,o),(0,d.default)(l,f.default.OldestFirst.name,i),(0,d.default)(l,f.default.HighestRated.name,function(){return!1}),(0,d.default)(l,f.default.MostRepliesFirst.name,function(){return!1}),l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CannotCommentMessage=void 0;var o=n(95),i=r(o),a=t.CannotCommentMessage=function(e){var t=e.message;return i.default.createElement("p",{dangerouslySetInnerHTML:{__html:t}})};a.displayName="CannotCommentMessage",a.propTypes={message:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.addModeSupportOnBrowser=t.addModeSupport=t.MODE_STANDALONE=void 0;var o=n(261),i=r(o),a=n(121),s=r(a),u=n(268),l=r(u),c=n(269),d=r(c),m=n(159),f=r(m),p=n(270),h=r(p),y=t.MODE_STANDALONE="standalone",g=[y],v=function(e){return"acc"===e?s.default.resolve():f.default.setupIdctaLibrary(e)};t.addModeSupport=function(e){var t=e.component,n=e.mode;g.indexOf(n)!==-1&&l.default.selfTransitiveThenUpdate("modes-"+n,t)},t.addModeSupportOnBrowser=function(e){var t=e.mode;return t===y?(document.title="Standalone Comment Morph View",s.default.all([v(e.idctaEnv),d.default.registerLibrary(),h.default.atiStatsListener()]).then(function(e){var t=(0,i.default)(e,1),n=t[0];return{idctaCss:n}})):s.default.resolve({})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(262),i=r(o),a=n(265),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=(0,s.default)(e);!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){e.exports={default:n(263),__esModule:!0}},function(e,t,n){n(69),n(58),e.exports=n(264)},function(e,t,n){var r=n(124),o=n(68)("iterator"),i=n(62);e.exports=n(8).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(266),__esModule:!0}},function(e,t,n){n(69),n(58),e.exports=n(267)},function(e,t,n){var r=n(13),o=n(129);e.exports=n(8).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@3.56.1",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@3.56.1",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@3.56.1",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@3.56.1",e,t,!0)}}},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(151),i=r(o);t.default={registerLibrary:function(){var e="stub-istats";window.sessionStorage.setItem(e,"[]"),window.define("istats-1",function(){return{log:function(t,n,r){var o=JSON.parse(window.sessionStorage.getItem(e));o.push({actionType:t,actionName:n,labels:r}),window.sessionStorage.setItem(e,(0,i.default)(o))},getSite:function(){return"stub-site"},_getLabels:function(){return{app_name:"stub-app-name"}}}})}},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(151),i=r(o);t.default={atiStatsListener:function(){var e="ac-ati-stats-listener";window.sessionStorage.setItem(e,"[]"),document.addEventListener("bbc-user-event",function(t){var n=JSON.parse(window.sessionStorage.getItem(e));n.push(t.detail),window.sessionStorage.setItem(e,(0,i.default)(n))})}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={MAX_API_LIMIT_PAGE_SIZE:50,MIN_PAG_SIZE_MULTIPLIER:1,MAX_PAG_SIZE_MULTIPLIER:4,PAGE_SIZE:20,REPLIES_PAGE_SIZE:10},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.initialViewOptions={BUTTON:"button",COMMENTS:"comments"}},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(2),i=r(o),a=n(117),s=r(a),u=n(120),l=r(u),c=function(){var e=(0,l.default)(s.default.mark(function e(t){var n=t.apiKey,r=t.forumId;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.default.getAdminLinks({apiKey:n,forumId:r});case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{});case 9:case"end":return e.stop()}},e,this,[[0,6]])}));return function(t){return e.apply(this,arguments)}}(),d=n(274),m=r(d),f=n(176),p=r(f),h=n(207);t.default={getPersonalisationDetails:function(e){var t=this,n=e.apiKey,r=e.forumData,o=e.forumId;return(0,l.default)(s.default.mark(function e(){var a,u;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.default.getModeratedUserDetails(n);case 3:if(a=e.sent,!a.isEditor){e.next=10;break}return e.next=7,c({apiKey:n,forumId:o});case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0={};case 11:return u=e.t0,e.abrupt("return",(0,i.default)({userId:a.modUserId,displayNameModerationStatus:(0,h.toDisplayNameStatus)(a.displayNameStatus),isEditor:a.isEditor,displayNameModerationMessage:r.displayNameModerationMessage,displayNameModerationUrl:r.displayNameModerationUrl},u));case 15:return e.prev=15,e.t1=e.catch(0),e.abrupt("return",{});case 18:case"end":return e.stop()}},e,t,[[0,15]])}))()}},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(153),i=r(o),a=n(156),s=r(a),u=n(158),l=n(159);t.default={getModeratedUserDetails:function(e){return(0,l.refreshToken)().then(function(){return i.default.get(s.default.getModeratedUserUrl((0,u.getEnv)()),{headers:{"x-api-key":e}})})}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.themeVariant,n=e.product,r=e.productLabel,o=e.getIcon,a=e.getComponent,u=e.formatMessage;return{themeVariant:t,product:n,productLabel:r,formatMessage:u,getIcon:o,getComponent:a,ratingsNumberPlacement:t===i.ThemeVariants.CHILDRENS?s.default.LEFT:s.default.RIGHT}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(256),a=n(203),s=r(a),u=n(276),l=r(u),c=n(268),d=r(c),m=n(278),f=r(m);t.default={use:function(e){var t=e.component,n=e.themeVariant,r=e.product,a=n===i.ThemeVariants.CHILDRENS?n:i.ThemeVariants.DEFAULT,s=d.default.selfTransitiveThenUpdate("messages-"+a,t),u=l.default.use(s),c=d.default.selfTransitiveThenUpdate("icons-"+a,t),m=d.default.selfTransitiveThenUpdate("product-config-"+a,t),p=r in m?r:"default",h=m[p],y=h.label?h.label:"",g=f.default.use(h,c);return o({themeVariant:a,product:p,productLabel:y,getIcon:g.getIcon,getComponent:g.getComponent,formatMessage:u.formatMessage})}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(277);t.default={use:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{formatMessage:function(t,n){var o=e[t];if(o)return(0,r.formatString)(e[t],n);throw new Error('"'+t+'" does not exist')}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.default)(t).reduce(function(e,n){var r=new RegExp("{{"+n+"}}","g");return e.replace(r,t[n])},e)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(145),a=r(i);t.formatString=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){h[e]=t}function i(e){return e in h?h[e]:m.default}function a(e){return e in y?y[e]:m.default}function s(e){var t=a(e.flagIconDistress);return c.default.createElement(f.DistressMessageFlag,{product:e.product,productLabel:e.label,Logo:t})}function u(e,t){var n=a(e.flagIconNotable);return c.default.createElement(p.NotableMessageFlag,{product:e.product,Logo:n,type:t})}Object.defineProperty(t,"__esModule",{value:!0});var l=n(95),c=r(l),d=n(279),m=r(d),f=n(280),p=n(281),h={},y={};t.default={use:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return y=t,o("distressMessageFlag",s(e)),o("notableCommentFlag",u(e,"comment")),o("notableReplyFlag",u(e,"reply")),{add:o,getIcon:a,getComponent:i}}},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(95),i=r(o),a=function(){return i.default.createElement("div",{className:"icon"})};a.displayName="PlaceholderIcon",t.default=a,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}),t.DistressMessageFlag=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(143),g=r(y),v=t.DistressMessageFlag=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.product,n=e.productLabel,r=e.Logo,o="comment__product-flag-"+t;return h.default.createElement("div",{className:(0,g.default)("comment__distress-message-product-flag",o),role:"text"},h.default.createElement("span",{className:"comment__distress-message-logo"},r&&h.default.createElement(r,null)),h.default.createElement("span",{className:"comment__hidden-text"},"Message from "+n),h.default.createElement("span",{className:"comment__distress-message-username","aria-hidden":"true"},n))}}]),t}(p.Component);v.displayName="DistressMessageFlag",v.propTypes={product:p.PropTypes.string,productLabel:p.PropTypes.string,Logo:p.PropTypes.func}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NotableMessageFlag=void 0;var o=n(44),i=r(o),a=n(49),s=r(a),u=n(50),l=r(u),c=n(54),d=r(c),m=n(87),f=r(m),p=n(95),h=r(p),y=n(143),g=r(y),v=t.NotableMessageFlag=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.product,n=e.Logo,r=e.type,o="comment__product-flag-"+t,i="comment__product-flag-"+r;return h.default.createElement("div",{className:(0,g.default)("comment__distress-message-product-flag",i,o),"aria-hidden":"true"},h.default.createElement("span",{className:"comment__distress-message-logo comment__product-logo"},n&&h.default.createElement(n,null)))}}]),t}(p.Component);v.displayName="NotableMessageFlag",v.propTypes={product:p.PropTypes.string,Logo:p.PropTypes.func,type:p.PropTypes.string}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={under13:"u13",under16:"u16",under18:"u18",over18:"o18"},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}),t.CommentsStatsProvider=void 0;var o=n(113),i=r(o),a=n(148),s=r(a),u=n(2),l=r(u),c=n(44),d=r(c),m=n(49),f=r(m),p=n(50),h=r(p),y=n(54),g=r(y),v=n(87),_=r(v),b=n(95),T=r(b),C=n(284),P=n(197),E=n(256),S=n(195),w=r(S),O=t.CommentsStatsProvider=function(e){function t(e){(0,f.default)(this,t);var n=(0,g.default)(this,(t.__proto__||(0,d.default)(t)).call(this,e));return n.state={statsSent:{},instanceIds:{}},n.setStatSent=n.setStatSent.bind(n),n.canSendStat=n.canSendStat.bind(n),n.clearStatsSent=n.clearStatsSent.bind(n),n.getInstanceId=n.getInstanceId.bind(n),n}return(0,_.default)(t,e),(0,h.default)(t,[{key:"setStatSent",value:function(e,t){this.setState(function(n){var r=n.statsSent[e]?n.statsSent[e]:(0,l.default)({},P.postStatsSentValues);r[t]=!0;var o=(0,l.default)({},n.statsSent,(0,s.default)({},e,r));return{statsSent:o}})}},{key:"canSendStat",value:function(e,t){return!(this.state.statsSent[e]&&this.state.statsSent[e][t])}},{key:"clearStatsSent",value:function(e){this.setState(function(t){var n=t.instanceIds[e]?t.instanceIds[e]+1:2;return{statsSent:(0,l.default)({},t.statsSent,(0,s.default)({},e,(0,l.default)({},P.postStatsSentValues))),instanceIds:(0,l.default)({},t.instanceIds,(0,s.default)({},e,n))}})}},{key:"getInstanceId",value:function(e){return this.state.instanceIds[e]?this.state.instanceIds[e]:1}},{key:"getChildContext",value:function(){return{WithStatsIncludeCommonLabels:C.WithStatsIncludeCommonLabels,canSendStat:this.canSendStat,setStatSent:this.setStatSent,clearStatsSent:this.clearStatsSent,getInstanceId:this.getInstanceId}}},{key:"render",value:function(){var e=(0,P.commonStatsLabels)(this.props.forumData,this.props.themeVariant);return T.default.createElement(C.WithStatsCommonLabelsProvider,{labels:e},this.props.children)}}]),t}(b.Component);O.displayName="CommentsStatsProvider",O.propTypes={children:b.PropTypes.node,themeVariant:b.PropTypes.oneOf((0,i.default)(E.ThemeVariants)),forumData:b.PropTypes.shape({title:b.PropTypes.string.isRequired,totalCommentsCount:b.PropTypes.number.isRequired,commentTextLimit:b.PropTypes.number.isRequired,moderation:b.PropTypes.shape({rulesPageUrl:b.PropTypes.string.isRequired,status:b.PropTypes.oneOf((0,i.default)(w.default)).isRequired}),createForum:b.PropTypes.bool.isRequired,isClosed:b.PropTypes.bool.isRequired}).isRequired},O.childContextTypes={WithStatsIncludeCommonLabels:b.PropTypes.func.isRequired,canSendStat:b.PropTypes.func.isRequired,setStatSent:b.PropTypes.func.isRequired,clearStatsSent:b.PropTypes.func.isRequired,getInstanceId:b.PropTypes.func.isRequired}},function(e,t,n){"use strict"; Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"logClickEvent",{enumerable:!0,get:function(){return r.logClickEvent}}),Object.defineProperty(t,"logImpressionEvent",{enumerable:!0,get:function(){return r.logImpressionEvent}}),Object.defineProperty(t,"WithStats",{enumerable:!0,get:function(){return o.WithStats}}),Object.defineProperty(t,"WithStatsCommonLabelsProvider",{enumerable:!0,get:function(){return i.WithStatsCommonLabelsProvider}}),Object.defineProperty(t,"WithStatsIncludeCommonLabels",{enumerable:!0,get:function(){return a.WithStatsIncludeCommonLabels}});var r=n(285),o=n(367),i=n(442),a=n(444)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){(0,a.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var i=n(286);n(287),n(348),n(353),n(356),n(357),n(358),n(359),n(360),n(361),n(363),n(364),Object.defineProperty(t,"__esModule",{value:!0}),t.logImpressionEvent=t.logClickEvent=void 0;var a=i(n(366)),s=function(e){var t=Date.now(),n=t-e,r=Math.floor(n/1e3);return{ELP:r}},u=function(e,t){var n=t?o({},e.metadata,{},s(t)):e.metadata;return o({},e,{metadata:n})},l=function(e,t){return d(o({},u(e,t),{isClick:!0}))};t.logClickEvent=l;var c=function(e,t){return d(u(e,t))};t.logImpressionEvent=c;var d=function(e){return document.dispatchEvent(new CustomEvent("bbc-user-event",{detail:e}))}},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";var r=n(288),o=n(289),i=n(320),a=n(315),s=n(291),u=n(331),l=n(332),c=n(292),d=n(301),m=n(333),f=n(300),p=n(306),h=n(334),y=n(295),g=n(299),v=n(294),_=n(335),b=n(337),T=n(322),C=n(339),P=n(329),E=n(290),S=n(305),w=n(293),O=n(304),x=n(307),M=n(314),I=n(313),R=n(317),N=n(316),k=n(340),A=n(341),D=n(342),L=n(343),j=n(311),F=n(344).forEach,U=I("hidden"),q="Symbol",W="prototype",V=k("toPrimitive"),B=j.set,Y=j.getterFor(q),H=Object[W],z=o.Symbol,G=i("JSON","stringify"),Z=E.f,K=S.f,X=C.f,J=w.f,Q=M("symbols"),$=M("op-symbols"),ee=M("string-to-symbol-registry"),te=M("symbol-to-string-registry"),ne=M("wks"),re=o.QObject,oe=!re||!re[W]||!re[W].findChild,ie=s&&c(function(){return 7!=_(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Z(H,t);r&&delete H[t],K(e,t,n),r&&e!==H&&K(H,t,r)}:K,ae=function(e,t){var n=Q[e]=_(z[W]);return B(n,{type:q,tag:e,description:t}),s||(n.description=t),n},se=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof z},ue=function(e,t,n){e===H&&ue($,t,n),p(e);var r=g(t,!0);return p(n),d(Q,r)?(n.enumerable?(d(e,U)&&e[U][r]&&(e[U][r]=!1),n=_(n,{enumerable:v(0,!1)})):(d(e,U)||K(e,U,v(1,{})),e[U][r]=!0),ie(e,r,n)):K(e,r,n)},le=function(e,t){p(e);var n=y(t),r=b(n).concat(pe(n));return F(r,function(t){s&&!de.call(n,t)||ue(e,t,n[t])}),e},ce=function(e,t){return void 0===t?_(e):le(_(e),t)},de=function(e){var t=g(e,!0),n=J.call(this,t);return!(this===H&&d(Q,t)&&!d($,t))&&(!(n||!d(this,t)||!d(Q,t)||d(this,U)&&this[U][t])||n)},me=function(e,t){var n=y(e),r=g(t,!0);if(n!==H||!d(Q,r)||d($,r)){var o=Z(n,r);return!o||!d(Q,r)||d(n,U)&&n[U][r]||(o.enumerable=!0),o}},fe=function(e){var t=X(y(e)),n=[];return F(t,function(e){d(Q,e)||d(R,e)||n.push(e)}),n},pe=function(e){var t=e===H,n=X(t?$:y(e)),r=[];return F(n,function(e){!d(Q,e)||t&&!d(H,e)||r.push(Q[e])}),r};if(u||(z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===H&&n.call($,e),d(this,U)&&d(this[U],t)&&(this[U][t]=!1),ie(this,t,v(1,e))};return s&&oe&&ie(H,t,{configurable:!0,set:n}),ae(t,e)},x(z[W],"toString",function(){return Y(this).tag}),x(z,"withoutSetter",function(e){return ae(N(e),e)}),w.f=de,S.f=ue,E.f=me,T.f=C.f=fe,P.f=pe,A.f=function(e){return ae(k(e),e)},s&&(K(z[W],"description",{configurable:!0,get:function(){return Y(this).description}}),a||x(H,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:z}),F(b(ne),function(e){D(e)}),r({target:q,stat:!0,forced:!u},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var n=z(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:ce,defineProperty:ue,defineProperties:le,getOwnPropertyDescriptor:me}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:fe,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:c(function(){P.f(1)})},{getOwnPropertySymbols:function(e){return P.f(h(e))}}),G){var he=!u||c(function(){var e=z();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))});r({target:"JSON",stat:!0,forced:he},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!se(e))return m(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!se(t))return t}),o[1]=t,G.apply(null,o)}})}z[W][V]||O(z[W],V,z[W].valueOf),L(z,q),R[U]=!0},function(e,t,n){var r=n(289),o=n(290).f,i=n(304),a=n(307),s=n(308),u=n(318),l=n(330);e.exports=function(e,t){var n,c,d,m,f,p,h=e.target,y=e.global,g=e.stat;if(c=y?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(d in t){if(f=t[d],e.noTargetGet?(p=o(c,d),m=p&&p.value):m=c[d],n=l(y?d:h+(g?".":"#")+d,e.forced),!n&&void 0!==m){if(typeof f==typeof m)continue;u(f,m)}(e.sham||m&&m.sham)&&i(f,"sham",!0),a(c,d,f,e)}}},function(e,t){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(t,function(){return this}())},function(e,t,n){var r=n(291),o=n(293),i=n(294),a=n(295),s=n(299),u=n(301),l=n(302),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(292);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(296),o=n(298);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(292),o=n(297),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(300);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(291),o=n(292),i=n(303);e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(289),o=n(300),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(291),o=n(305),i=n(294);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(291),o=n(302),i=n(306),a=n(299),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(300);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(289),o=n(304),i=n(301),a=n(308),s=n(309),u=n(311),l=u.get,c=u.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,m=!!s&&!!s.noTargetGet;return"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),c(n).source=d.join("string"==typeof t?t:"")),e===r?void(l?e[t]=n:a(t,n)):(u?!m&&e[t]&&(l=!0):delete e[t],void(l?e[t]=n:o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&l(this).source||s(this)})},function(e,t,n){var r=n(289),o=n(304);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(310),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(289),o=n(308),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},function(e,t,n){var r,o,i,a=n(312),s=n(289),u=n(300),l=n(304),c=n(301),d=n(313),m=n(317),f=s.WeakMap,p=function(e){return i(e)?o(e):r(e,{})},h=function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var y=new f,g=y.get,v=y.has,_=y.set;r=function(e,t){return _.call(y,e,t),t},o=function(e){return g.call(y,e)||{}},i=function(e){return v.call(y,e)}}else{var b=d("state");m[b]=!0,r=function(e,t){return l(e,b,t),t},o=function(e){return c(e,b)?e[b]:{}},i=function(e){return c(e,b)}}e.exports={set:r,get:o,has:i,enforce:p,getterFor:h}},function(e,t,n){var r=n(289),o=n(309),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(314),o=n(316),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(315),o=n(310);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.2",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(301),o=n(319),i=n(290),a=n(305);e.exports=function(e,t){for(var n=o(t),s=a.f,u=i.f,l=0;l<n.length;l++){var c=n[l];r(e,c)||s(e,c,u(t,c))}}},function(e,t,n){var r=n(320),o=n(322),i=n(329),a=n(306);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(321),o=n(289),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(289);e.exports=r},function(e,t,n){var r=n(323),o=n(328),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(301),o=n(295),i=n(324).indexOf,a=n(317);e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(295),o=n(325),i=n(327),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(326),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(326),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(292),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=u&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(292);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(e,t,n){var r=n(331);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(297);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(298);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r,o=n(306),i=n(336),a=n(328),s=n(317),u=n(338),l=n(303),c=n(313),d=">",m="<",f="prototype",p="script",h=c("IE_PROTO"),y=function(){},g=function(e){return m+p+d+e+m+"/"+p+d},v=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e,t=l("iframe"),n="java"+p+":";return t.style.display="none",u.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},b=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}b=r?v(r):_();for(var e=a.length;e--;)delete b[f][a[e]];return b()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(y[f]=o(e),n=new y,y[f]=null,n[h]=e):n=b(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(291),o=n(305),i=n(306),a=n(337);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,u=0;s>u;)o.f(e,n=r[u++],t[n]);return e}},function(e,t,n){var r=n(323),o=n(328);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(320);e.exports=r("document","documentElement")},function(e,t,n){var r=n(295),o=n(322).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(289),o=n(314),i=n(301),a=n(316),s=n(331),u=n(332),l=o("wks"),c=r.Symbol,d=u?c:c&&c.withoutSetter||a;e.exports=function(e){return i(l,e)||(s&&i(c,e)?l[e]=c[e]:l[e]=d("Symbol."+e)),l[e]}},function(e,t,n){var r=n(340);t.f=r},function(e,t,n){var r=n(321),o=n(301),i=n(341),a=n(305).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(305).f,o=n(301),i=n(340),a=i("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(345),o=n(296),i=n(334),a=n(325),s=n(347),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,d=6==e,m=5==e||d;return function(f,p,h,y){for(var g,v,_=i(f),b=o(_),T=r(p,h,3),C=a(b.length),P=0,E=y||s,S=t?E(f,C):n?E(f,0):void 0;C>P;P++)if((m||P in b)&&(g=b[P],v=T(g,P,_),e))if(t)S[P]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return P;case 2:u.call(S,g)}else if(c)return!1;return d?-1:l||c?c:S}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(e,t,n){var r=n(346);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(300),o=n(333),i=n(340),a=i("species");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var r=n(288),o=n(344).filter,i=n(349),a=n(352),s=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!s||!u},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(292),o=n(340),i=n(350),a=o("species");e.exports=function(e){return i>=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(289),a=n(351),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(320);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(291),o=n(292),i=n(301),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(288),o=n(354);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(344).forEach,o=n(355),i=n(352),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(292);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(288);r({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(307),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(288),o=n(291),i=n(336);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:i})},function(e,t,n){var r=n(288),o=n(291),i=n(305);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:i.f})},function(e,t,n){var r=n(288),o=n(292),i=n(295),a=n(290).f,s=n(291),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(288),o=n(291),i=n(319),a=n(295),s=n(290),u=n(362);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(299),o=n(305),i=n(294);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(288),o=n(334),i=n(337),a=n(292),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(289),o=n(365),i=n(354),a=n(304);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(368),o=n(286);n(370),Object.defineProperty(t,"__esModule",{value:!0}),t.WithStats=void 0;var i=o(n(372)),a=o(n(373)),s=o(n(374)),u=o(n(375)),l=o(n(377)),c=o(n(376)),d=o(n(378)),m=r(n(95)),f=n(380),p=n(284),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(369);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(288),o=n(371);r({target:"Function",proto:!0},{bind:o})},function(e,t,n){"use strict";var r=n(346),o=n(300),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?i(e):t}var o=n(369),i=n(376);e.exports=r},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}var o=n(379);e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){e.exports=n(381)},function(e,t,n){"use strict";var r=n(382),o=n(383);n(384),Object.defineProperty(t,"__esModule",{value:!0}),t.IntersectionObserverWrapper=void 0;var i=o(n(428)),a=o(n(432)),s=o(n(433)),u=o(n(434)),l=o(n(437)),c=o(n(436)),d=o(n(438)),m=r(n(95)),f=n(440),p=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.onChange=n.onChange.bind((0,c.default)(n)),n.setRef=n.setRef.bind((0,c.default)(n)),n.visbilityTimer=null,n}return(0,d.default)(t,e),(0,s.default)(t,[{key:"setRef",value:function(e){this.ref=e}},{key:"onChange",value:function(e){var t=this,n=(0,i.default)(e,1),r=n[0],o=this.props,a=o.minimumTimeInView,s=o.onVisible,u=r.isIntersecting;clearTimeout(this.visbilityTimer),u&&(this.visbilityTimer=setTimeout(function(){s(),t.intersectionObserver.unobserve(t.ref)},a))}},{key:"componentDidMount",value:function(){var e=this.props.threshold,t={threshold:e};this.intersectionObserver=(0,f.newIntersectionObserver)(this.onChange,t),this.intersectionObserver.observe(this.ref)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.visbilityTimer),this.intersectionObserver.unobserve(this.ref)}},{key:"render",value:function(){var e=this.props.children;return m.default.createElement("span",{ref:this.setRef},e)}}]),t}(m.Component);t.IntersectionObserverWrapper=p,p.displayName="IntersectionObserverWrapper",p.propTypes={children:m.PropTypes.oneOfType([m.PropTypes.arrayOf(m.PropTypes.node),m.PropTypes.node]),onVisible:m.PropTypes.func.isRequired,threshold:m.PropTypes.number,minimumTimeInView:m.PropTypes.number},p.defaultProps={threshold:1,minimumTimeInView:1e3}},function(e,t){function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}function r(e){if(e&&e.__esModule)return e;var t=n();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}}return r.default=e,t&&t.set(e,r),r}e.exports=r},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){var r=n(385),o=n(388),i=n(402);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:i.f})},function(e,t,n){var r=n(386),o=n(387).f,i=n(401),a=n(404),s=n(408),u=n(415),l=n(427);e.exports=function(e,t){var n,c,d,m,f,p,h=e.target,y=e.global,g=e.stat;if(c=y?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(d in t){if(f=t[d],e.noTargetGet?(p=o(c,d),m=p&&p.value):m=c[d],n=l(y?d:h+(g?".":"#")+d,e.forced),!n&&void 0!==m){if(typeof f==typeof m)continue;u(f,m)}(e.sham||m&&m.sham)&&i(f,"sham",!0),a(c,d,f,e)}}},function(e,t){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(t,function(){return this}())},function(e,t,n){var r=n(388),o=n(390),i=n(391),a=n(392),s=n(396),u=n(398),l=n(399),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(389);e.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(393),o=n(395);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(389),o=n(394),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(397);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(388),o=n(389),i=n(400);e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(386),o=n(397),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(388),o=n(402),i=n(391);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(388),o=n(399),i=n(403),a=n(396),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(397);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(386),o=n(405),i=n(401),a=n(398),s=n(408),u=n(409),l=n(410),c=l.get,d=l.enforce,m=String(u).split("toString");o("inspectSource",function(e){return u.call(e)}),(e.exports=function(e,t,n,o){var u=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;return"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),d(n).source=m.join("string"==typeof t?t:"")),e===r?void(l?e[t]=n:s(t,n)):(u?!c&&e[t]&&(l=!0):delete e[t],void(l?e[t]=n:i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||u.call(this)})},function(e,t,n){var r=n(406),o=n(407);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.3.5",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){var r=n(386),o=n(408),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},function(e,t,n){var r=n(386),o=n(401);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(405);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r,o,i,a=n(411),s=n(386),u=n(397),l=n(401),c=n(398),d=n(412),m=n(414),f=s.WeakMap,p=function(e){return i(e)?o(e):r(e,{})},h=function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var y=new f,g=y.get,v=y.has,_=y.set;r=function(e,t){return _.call(y,e,t),t},o=function(e){return g.call(y,e)||{}},i=function(e){return v.call(y,e)}}else{var b=d("state");m[b]=!0,r=function(e,t){return l(e,b,t),t},o=function(e){return c(e,b)?e[b]:{}},i=function(e){return c(e,b)}}e.exports={set:r,get:o,has:i,enforce:p,getterFor:h}},function(e,t,n){var r=n(386),o=n(409),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},function(e,t,n){var r=n(405),o=n(413),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(398),o=n(416),i=n(387),a=n(402); e.exports=function(e,t){for(var n=o(t),s=a.f,u=i.f,l=0;l<n.length;l++){var c=n[l];r(e,c)||s(e,c,u(t,c))}}},function(e,t,n){var r=n(417),o=n(419),i=n(426),a=n(403);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(418),o=n(386),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){e.exports=n(386)},function(e,t,n){var r=n(420),o=n(425),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(398),o=n(392),i=n(421).indexOf,a=n(414);e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(392),o=n(422),i=n(424),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(423),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(423),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(389),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=u&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a()}var o=n(429),i=n(430),a=n(431);e.exports=r},function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},function(e,t){function n(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.exports=n},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?i(e):t}var o=n(435),i=n(436);e.exports=r},function(e,t){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)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}var o=n(439);e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n(384),Object.defineProperty(t,"__esModule",{value:!0}),t.newIntersectionObserver=void 0,"undefined"!=typeof window&&n(441);var r=function(e,t){return new IntersectionObserver(e,t)};t.newIntersectionObserver=r},function(e,t){!function(){"use strict";function e(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||u(),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;n?this.intersectionRatio=Number((o/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function t(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=r(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" ")}function n(){return window.performance&&performance.now&&performance.now()}function r(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}function o(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function i(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-o,s=r-n;return a>=0&&s>=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)||e<0||e>1)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<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},t.prototype._rootIsInDom=function(){return!this.root||l(d,this.root)},t.prototype._rootContainsTarget=function(e){return l(this.root||d,e)},t.prototype._registerInstance=function(){m.indexOf(this)<0&&m.push(this)},t.prototype._unregisterInstance=function(){var e=m.indexOf(this);e!=-1&&m.splice(e,1)},window.IntersectionObserver=t,window.IntersectionObserverEntry=e}}()},function(e,t,n){"use strict";var r=n(286);n(356),n(357),n(370),Object.defineProperty(t,"__esModule",{value:!0}),t.WithStatsCommonLabelsProvider=void 0;var o=r(n(373)),i=r(n(374)),a=r(n(375)),s=r(n(377)),u=r(n(376)),l=r(n(378)),c=n(95),d=n(285),m=r(n(443)),f=function(e){function t(e){var n;return(0,o.default)(this,t),n=(0,a.default)(this,(0,s.default)(t).call(this,e)),n.getStatsLabels=n.getStatsLabels.bind((0,u.default)(n)),n.state={onLoadedTimestamp:0},n}return(0,l.default)(t,e),(0,i.default)(t,[{key:"getStatsLabels",value:function(e){var t=this.props.labels;return(0,m.default)({},t,e)}},{key:"getChildContext",value:function(){var e=this,t=this.state.onLoadedTimestamp;return{getStatsLabels:this.getStatsLabels,logImpressionEventWithCommonLabels:function(n){return(0,d.logImpressionEvent)(e.getStatsLabels(n),t)},logClickEventWithCommonLabels:function(n){return(0,d.logClickEvent)(e.getStatsLabels(n),t)},onLoadedTimestamp:t}}},{key:"setOnLoadedTimestamp",value:function(){this.setState({onLoadedTimestamp:Date.now()})}},{key:"componentDidMount",value:function(){this.setOnLoadedTimestamp()}},{key:"render",value:function(){return this.props.children}}]),t}(c.Component);t.WithStatsCommonLabelsProvider=f,f.displayName="WithStatsCommonLabelsProvider",f.propTypes={children:c.PropTypes.node,labels:c.PropTypes.object},f.childContextTypes={onLoadedTimestamp:c.PropTypes.number,getStatsLabels:c.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:c.PropTypes.func.isRequired,logClickEventWithCommonLabels:c.PropTypes.func.isRequired}},function(e,t,n){(function(e,n){function r(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function o(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function i(e){return function(t){return e(t)}}function a(e,t){return null==e?void 0:e[t]}function s(e,t){return function(n){return e(t(n))}}function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function l(){this.__data__=Bt?Bt(null):{},this.size=0}function c(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function d(e){var t=this.__data__;if(Bt){var n=t[e];return n===Oe?void 0:n}return Et.call(t,e)?t[e]:void 0}function m(e){var t=this.__data__;return Bt?void 0!==t[e]:Et.call(t,e)}function f(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Bt&&void 0===t?Oe:t,this}function p(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function h(){this.__data__=[],this.size=0}function y(e){var t=this.__data__,n=D(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Lt.call(t,n,1),--this.size,!0}function g(e){var t=this.__data__,n=D(t,e);return n<0?void 0:t[n][1]}function v(e){return D(this.__data__,e)>-1}function _(e,t){var n=this.__data__,r=D(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function b(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function T(){this.size=0,this.__data__={hash:new u,map:new(Vt||p),string:new u}}function C(e){var t=Q(this,e).delete(e);return this.size-=t?1:0,t}function P(e){return Q(this,e).get(e)}function E(e){return Q(this,e).has(e)}function S(e,t){var n=Q(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function w(e){var t=this.__data__=new p(e);this.size=t.size}function O(){this.__data__=new p,this.size=0}function x(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function M(e){return this.__data__.get(e)}function I(e){return this.__data__.has(e)}function R(e,t){var n=this.__data__;if(n instanceof p){var r=n.__data__;if(!Vt||r.length<we-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new b(r)}return n.set(e,t),this.size=n.size,this}function N(e,t){var n=Kt(e),r=!n&&Zt(e),i=!n&&!r&&Xt(e),a=!n&&!r&&!i&&Jt(e),s=n||r||i||a,u=s?o(e.length,String):[],l=u.length;for(var c in e)!t&&!Et.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ne(c,l))||u.push(c);return u}function k(e,t,n){(void 0===n||fe(e[t],n))&&(void 0!==n||t in e)||L(e,t,n)}function A(e,t,n){var r=e[t];Et.call(e,t)&&fe(r,n)&&(void 0!==n||t in e)||L(e,t,n)}function D(e,t){for(var n=e.length;n--;)if(fe(e[n][0],t))return n;return-1}function L(e,t,n){"__proto__"==t&&Ft?Ft(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function j(e){return null==e?void 0===e?Ge:We:jt&&jt in Object(e)?ee(e):ue(e)}function F(e){return _e(e)&&j(e)==Re}function U(e){if(!ve(e)||ie(e))return!1;var t=ye(e)?xt:st;return t.test(me(e))}function q(e){return _e(e)&&ge(e.length)&&!!lt[j(e)]}function W(e){if(!ve(e))return se(e);var t=ae(e),n=[];for(var r in e)("constructor"!=r||!t&&Et.call(e,r))&&n.push(r);return n}function V(e,t,n,r,o){e!==t&&Ht(t,function(i,a){if(o||(o=new w),ve(i))B(e,t,a,n,V,r,o);else{var s=r?r(ce(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),k(e,a,s)}},Ce)}function B(e,t,n,r,o,i,a){var s=ce(e,n),u=ce(t,n),l=a.get(u);if(l)return void k(e,n,l);var c=i?i(s,u,n+"",e,t,a):void 0,d=void 0===c;if(d){var m=Kt(u),f=!m&&Xt(u),p=!m&&!f&&Jt(u);c=u,m||f||p?Kt(s)?c=s:he(s)?c=Z(s):f?(d=!1,c=H(u,!0)):p?(d=!1,c=G(u,!0)):c=[]:be(u)||Zt(u)?(c=s,Zt(s)?c=Te(s):ve(s)&&!ye(s)||(c=te(u))):d=!1}d&&(a.set(u,c),o(c,u,r,i,a),a.delete(u)),k(e,n,c)}function Y(e,t){return Gt(le(e,t,Ee),e+"")}function H(e,t){if(t)return e.slice();var n=e.length,r=Nt?Nt(n):new e.constructor(n);return e.copy(r),r}function z(e){var t=new e.constructor(e.byteLength);return new Rt(t).set(new Rt(e)),t}function G(e,t){var n=t?z(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Z(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function K(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?L(n,s,u):A(n,s,u)}return n}function X(e){return Y(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&re(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function J(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}function Q(e,t){var n=e.__data__;return oe(t)?n["string"==typeof t?"string":"hash"]:n.map}function $(e,t){var n=a(e,t);return U(n)?n:void 0}function ee(e){var t=Et.call(e,jt),n=e[jt];try{e[jt]=void 0;var r=!0}catch(e){}var o=wt.call(e);return r&&(t?e[jt]=n:delete e[jt]),o}function te(e){return"function"!=typeof e.constructor||ae(e)?{}:Yt(kt(e))}function ne(e,t){var n=typeof e;return t=null==t?Ie:t,!!t&&("number"==n||"symbol"!=n&&ut.test(e))&&e>-1&&e%1==0&&e<t}function re(e,t,n){if(!ve(n))return!1;var r=typeof t;return!!("number"==r?pe(n)&&ne(t,n.length):"string"==r&&t in n)&&fe(n[t],e)}function oe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ie(e){return!!St&&St in e}function ae(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Tt;return e===n}function se(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}function ue(e){return wt.call(e)}function le(e,t,n){return t=qt(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=qt(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=o[i];return u[t]=n(s),r(e,this,u)}}function ce(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function de(e){var t=0,n=0;return function(){var r=Wt(),o=Me-(r-n);if(n=r,o>0){if(++t>=xe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function me(e){if(null!=e){try{return Pt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function fe(e,t){return e===t||e!==e&&t!==t}function pe(e){return null!=e&&ge(e.length)&&!ye(e)}function he(e){return _e(e)&&pe(e)}function ye(e){if(!ve(e))return!1;var t=j(e);return t==je||t==Fe||t==ke||t==Be}function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ie}function ve(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function _e(e){return null!=e&&"object"==typeof e}function be(e){if(!_e(e)||j(e)!=Ve)return!1;var t=kt(e);if(null===t)return!0;var n=Et.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Pt.call(n)==Ot}function Te(e){return K(e,Ce(e))}function Ce(e){return pe(e)?N(e,!0):W(e)}function Pe(e){return function(){return e}}function Ee(e){return e}function Se(){return!1}var we=200,Oe="__lodash_hash_undefined__",xe=800,Me=16,Ie=9007199254740991,Re="[object Arguments]",Ne="[object Array]",ke="[object AsyncFunction]",Ae="[object Boolean]",De="[object Date]",Le="[object Error]",je="[object Function]",Fe="[object GeneratorFunction]",Ue="[object Map]",qe="[object Number]",We="[object Null]",Ve="[object Object]",Be="[object Proxy]",Ye="[object RegExp]",He="[object Set]",ze="[object String]",Ge="[object Undefined]",Ze="[object WeakMap]",Ke="[object ArrayBuffer]",Xe="[object DataView]",Je="[object Float32Array]",Qe="[object Float64Array]",$e="[object Int8Array]",et="[object Int16Array]",tt="[object Int32Array]",nt="[object Uint8Array]",rt="[object Uint8ClampedArray]",ot="[object Uint16Array]",it="[object Uint32Array]",at=/[\\^$.*+?()[\]{}|]/g,st=/^\[object .+?Constructor\]$/,ut=/^(?:0|[1-9]\d*)$/,lt={};lt[Je]=lt[Qe]=lt[$e]=lt[et]=lt[tt]=lt[nt]=lt[rt]=lt[ot]=lt[it]=!0,lt[Re]=lt[Ne]=lt[Ke]=lt[Ae]=lt[Xe]=lt[De]=lt[Le]=lt[je]=lt[Ue]=lt[qe]=lt[Ve]=lt[Ye]=lt[He]=lt[ze]=lt[Ze]=!1;var ct="object"==typeof e&&e&&e.Object===Object&&e,dt="object"==typeof self&&self&&self.Object===Object&&self,mt=ct||dt||Function("return this")(),ft="object"==typeof t&&t&&!t.nodeType&&t,pt=ft&&"object"==typeof n&&n&&!n.nodeType&&n,ht=pt&&pt.exports===ft,yt=ht&&ct.process,gt=function(){try{var e=pt&&pt.require&&pt.require("util").types;return e?e:yt&&yt.binding&&yt.binding("util")}catch(e){}}(),vt=gt&&gt.isTypedArray,_t=Array.prototype,bt=Function.prototype,Tt=Object.prototype,Ct=mt["__core-js_shared__"],Pt=bt.toString,Et=Tt.hasOwnProperty,St=function(){var e=/[^.]+$/.exec(Ct&&Ct.keys&&Ct.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),wt=Tt.toString,Ot=Pt.call(Object),xt=RegExp("^"+Pt.call(Et).replace(at,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mt=ht?mt.Buffer:void 0,It=mt.Symbol,Rt=mt.Uint8Array,Nt=Mt?Mt.allocUnsafe:void 0,kt=s(Object.getPrototypeOf,Object),At=Object.create,Dt=Tt.propertyIsEnumerable,Lt=_t.splice,jt=It?It.toStringTag:void 0,Ft=function(){try{var e=$(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ut=Mt?Mt.isBuffer:void 0,qt=Math.max,Wt=Date.now,Vt=$(mt,"Map"),Bt=$(Object,"create"),Yt=function(){function e(){}return function(t){if(!ve(t))return{};if(At)return At(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();u.prototype.clear=l,u.prototype.delete=c,u.prototype.get=d,u.prototype.has=m,u.prototype.set=f,p.prototype.clear=h,p.prototype.delete=y,p.prototype.get=g,p.prototype.has=v,p.prototype.set=_,b.prototype.clear=T,b.prototype.delete=C,b.prototype.get=P,b.prototype.has=E,b.prototype.set=S,w.prototype.clear=O,w.prototype.delete=x,w.prototype.get=M,w.prototype.has=I,w.prototype.set=R;var Ht=J(),zt=Ft?function(e,t){return Ft(e,"toString",{configurable:!0,enumerable:!1,value:Pe(t),writable:!0})}:Ee,Gt=de(zt),Zt=F(function(){return arguments}())?F:function(e){return _e(e)&&Et.call(e,"callee")&&!Dt.call(e,"callee")},Kt=Array.isArray,Xt=Ut||Se,Jt=vt?i(vt):q,Qt=X(function(e,t,n){V(e,t,n)});n.exports=Qt}).call(t,function(){return this}(),n(102)(e))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){(0,u.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var i=n(368),a=n(286);n(287),n(348),n(353),n(358),n(359),n(360),n(361),n(363),n(364),Object.defineProperty(t,"__esModule",{value:!0}),t.WithStatsIncludeCommonLabels=void 0;var s=a(n(372)),u=a(n(366)),l=a(n(373)),c=a(n(374)),d=a(n(375)),m=a(n(377)),f=a(n(378)),p=i(n(95)),h=n(367),y=function(e){function t(){return(0,l.default)(this,t),(0,d.default)(this,(0,m.default)(t).apply(this,arguments))}return(0,f.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.context.getStatsLabels(this.props.labels),t=o({},this.props,{labels:e});return p.default.createElement(h.WithStats,(0,s.default)({},t,{elapsedTimeSinceTimestamp:this.context.onLoadedTimestamp}),this.props.children)}}]),t}(p.Component);t.WithStatsIncludeCommonLabels=y,y.displayName="WithStatsIncludeCommonLabels",y.propTypes=o({},h.WithStats.propTypes),y.contextTypes={getStatsLabels:p.PropTypes.func.isRequired,onLoadedTimestamp:p.PropTypes.number}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=function(t){function n(e){(0,h.default)(this,n);var t=(0,_.default)(this,(n.__proto__||(0,f.default)(n)).call(this,e));return t.state={isWrappedComponentVisible:!1,isViewCommentsButtonWrapperHidden:!1},t.showWrappedComponent=t.showWrappedComponent.bind(t),t.hideViewCommentsButtonWrapper=t.hideViewCommentsButtonWrapper.bind(t),t}return(0,T.default)(n,t),(0,g.default)(n,[{key:"showWrappedComponent",value:function(){this.setState({isWrappedComponentVisible:!0})}},{key:"isViewCommentsButtonWrapperHidden",value:function(){return this.state.isWrappedComponentVisible}},{key:"isCommentsModuleWrapperHidden",value:function(){return(0,w.not)(this.state.isWrappedComponentVisible)}},{key:"hideViewCommentsButtonWrapper",value:function(){this.isViewCommentsButtonWrapperHidden()&&this.setState({isViewCommentsButtonWrapperHidden:!0})}},{key:"render",value:function(){var t=this.context.WithStatsIncludeCommonLabels,n=this.props.forumData.totalCommentsCount,r={ORD:R.default[this.props.sortOrder].statsName};return P.default.createElement("div",{className:"with-view-comments-button"},P.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<style>\n .view-comments-button-wrapped-component {display: block !important;}\n .view-comments-button-wrapper {display: none !important;}\n </style>"}}),P.default.createElement("div",{className:(0,S.default)("view-comments-button-wrapper",{"view-comments-button-wrapper-hidden":this.isViewCommentsButtonWrapperHidden()})},P.default.createElement(t,{id:"stats-view-comments",labels:{label:"view-comments",metadata:r},fireOnView:!0,fireOnClick:!0,minimumTimeInView:0},P.default.createElement(M.ViewCommentsButton,{totalCommentsCount:n,onClick:this.showWrappedComponent}))),P.default.createElement("div",{className:(0,S.default)("view-comments-button-wrapped-component",{"view-comments-button-wrapped-component-hidden":this.isCommentsModuleWrapperHidden()})},P.default.createElement(e,(0,d.default)({},this.props,{autoFocusHeader:this.state.isWrappedComponentVisible}))))}}]),n}(C.Component);return t.displayName="WithViewCommentsButton("+i(e)+")",t.propTypes={forumData:C.PropTypes.shape({title:C.PropTypes.string.isRequired,totalCommentsCount:C.PropTypes.number.isRequired,commentTextLimit:C.PropTypes.number.isRequired,moderation:C.PropTypes.shape({rulesPageUrl:C.PropTypes.string.isRequired,status:C.PropTypes.oneOf((0,l.default)(x.default)).isRequired}),createForum:C.PropTypes.bool.isRequired,isClosed:C.PropTypes.bool.isRequired}).isRequired,sortOrder:C.PropTypes.oneOf((0,s.default)(R.default))},t.contextTypes={WithStatsIncludeCommonLabels:C.PropTypes.func.isRequired},t}function i(e){return e.displayName||e.name||"Component"}Object.defineProperty(t,"__esModule",{value:!0});var a=n(145),s=r(a),u=n(113),l=r(u),c=n(2),d=r(c),m=n(44),f=r(m),p=n(49),h=r(p),y=n(50),g=r(y),v=n(54),_=r(v),b=n(87),T=r(b);t.withViewCommentsButton=o;var C=n(95),P=r(C),E=n(143),S=r(E),w=n(155),O=n(195),x=r(O),M=n(251),I=n(248),R=r(I)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(",");return t.reduce(function(e,t){if(t.indexOf(":")!==-1){var n=t.trim().split(":"),r=(0,m.default)(n,2),o=r[0],i=r[1];e[o]="on"===i.trim()}return e},{})}function i(e,t,n){var r=function(e,n){return t[n]?(0,c.default)({},e,(0,u.default)({},n,t[n])):e},i=f.reduce(r,{});return n&&(i.featureToggles=o(n)),(0,c.default)({},e,i)}function a(e){var t=e.siteConfig,n=void 0===t?{}:t,r=e.overrideProps,o=void 0===r?{}:r,a=e.toggleOverrides,s=void 0===a?"":a,u=e.shouldOverrideConfig,l=void 0!==u&&u;return n.featureToggles||(n.featureToggles={}),l?i(n,o,s):n}Object.defineProperty(t,"__esModule",{value:!0}),t.overridableProps=void 0;var s=n(148),u=r(s),l=n(2),c=r(l),d=n(261),m=r(d);t.parseToggleOverridesProp=o,t.getConfig=a;var f=t.overridableProps=["pageSize","theme","subtheme","initialView"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.StyleGuideModule=void 0;var o=n(113),i=r(o),a=n(2),s=r(a),u=n(44),l=r(u),c=n(49),d=r(c),m=n(50),f=r(m),p=n(54),h=r(p),y=n(87),g=r(y),v=n(143),_=r(v),b=n(95),T=r(b),C=n(213),P=n(170),E=n(448),S=r(E),w=n(191),O=r(w),x=n(164),M=n(178),I=r(M),R=n(253),N=n(173),k=n(190),A=n(260),D=n(175),L=r(D),j=n(195),F=r(j),U=n(207),q=r(U),W=n(256),V=n(275),B=r(V),Y=n(161),H=n(193),z=n(254),G=function(){},Z=function(e){var t=e.children;return T.default.createElement("h3",{className:"comments-styleguide__heading"},t)},K=function(e){var t=e.children;return t},X=function(){return!1},J=function(){return 1},Q=S.default.getSignedOutResponse(),$=S.default.getSignedInResponse(),ee=S.default.getSignedInResponseWithoutDisplayName(),te={signedIn:!1,signInButton:Q.signInButton},ne={displayName:"test-u16",under16:!0},re=20,oe=10,ie=6e4;Z.displayName="SectionHeading",Z.propTypes={children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node])};var ae=function(e){var t=e.children;return T.default.createElement("h4",{className:"comments-styleguide__subheading"},t)};ae.displayName="SubHeading",ae.propTypes={children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node])};var se=function(e){var t=e.id,n=e.heading,r=e.children,o=e.className;return T.default.createElement("section",{id:t,className:(0,_.default)("comments-styleguide__section",o)},T.default.createElement(Z,null,n),r)};se.displayName="Section",se.propTypes={id:b.PropTypes.string.isRequired,heading:b.PropTypes.string.isRequired,children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node]),className:b.PropTypes.string};var ue="Presenter",le=P.exampleAvatarUrl96x96PngBase64,ce="https://web.archive.org/web/20200912182407/https://wrong_dummy_url",de=function(e){function t(e){(0,d.default)(this,t);var n=(0,h.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e));return n.theme=B.default.use({component:n,themeVariant:n.props.themeVariant,product:e.product}),(0,A.addModeSupport)({mode:e.mode,component:n}),n.state={audibleMessage:""},n.setA11yAlertText=n.setA11yAlertText.bind(n),n}return(0,g.default)(t,e),(0,f.default)(t,[{key:"setA11yAlertText",value:function(e){var t=this.state.audibleMessage===e?e+" ":e;this.setState({audibleMessage:t})}},{key:"menu",value:function(){return T.default.createElement(se,{heading:"Comments Styleguide",id:"comments-styleguide-menu"},T.default.createElement("ul",null,T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-typography"},"Typography")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-buttons"},"Buttons")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-alerts"},"Alerts")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-form-elements"},"Form Elements")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-header"},"Header")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-footer"},"Footer")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-comment"},"Comment")),T.default.createElement("li",null,T.default.createElement("a",{ href:"#comments-list"},"Comments List")),T.default.createElement("li",null,T.default.createElement("a",{href:"#tool-tip"},"Tooltip")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-ratings"},"Ratings")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-down-ratings"},"Down Ratings")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-replies"},"Replies")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-sort"},"Comments Sort")),T.default.createElement("li",null,T.default.createElement("a",{href:"#view-comments-button"},"View Comments Button"))))}},{key:"typography",value:function(){var e=this.theme.formatMessage("moduleTitleText"),t=this.theme.formatMessage("closedForum");return T.default.createElement(se,{heading:"Typography",id:"comments-typography"},T.default.createElement(ae,null,"Title"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,e),T.default.createElement(x.CommentsTitle,null,"Comments"))),T.default.createElement(ae,null,"Paragraph"),T.default.createElement("p",null,"Sample paragraph with some ",T.default.createElement("b",null,"bold text")," ",T.default.createElement("em",null,"emphasised, italic text")," and a ",T.default.createElement("a",{href:"#"},"Link"),"."),T.default.createElement(ae,null,"Links"),T.default.createElement(N.ActionLink,{href:"#"},"Sample Link"),T.default.createElement(N.ActionLinks,null,T.default.createElement(N.ActionLink,{href:"#"},"Action link without icon"),T.default.createElement(N.ActionLink,{icon:T.default.createElement(I.default,{alignToBaseline:!0}),href:"#"},"Action link with icon")),T.default.createElement(ae,null,"Comments Message"),T.default.createElement("p",{className:"comments__message comments__message--closed-forum"},t))}},{key:"buttons",value:function(){return T.default.createElement(se,{heading:"Buttons",id:"comments-buttons"},T.default.createElement(ae,null,"Active"),T.default.createElement(x.CommentsButton,null,"Post comment"),T.default.createElement(ae,null,"Disabled"),T.default.createElement(x.CommentsButton,{isDisabled:!0},"Post comment"),T.default.createElement(ae,null,"Submit Button"),T.default.createElement(x.CommentsButton,{type:"submit"},"Post comment"),T.default.createElement(ae,null,"More Comments Button"),T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G},"More comments"),T.default.createElement(ae,null,"Show New Comments Button"),T.default.createElement(x.ShowNewCommentsButton,{newCommentCount:2,onClick:G}),T.default.createElement(ae,null,"Stylized button"),T.default.createElement(x.CommentsButton,{className:"comments-button--styled"},"Stylized button"))}},{key:"formElements",value:function(){return T.default.createElement(se,{heading:"Form Elements",id:"comments-form-elements"},T.default.createElement(ae,null,"Expanding Text Area"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(O.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:2,maxRows:8})),T.default.createElement(ae,null,"Comments Input"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsInput,{textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G})))}},{key:"header",value:function(){var e=S.default.getSignedOutResponse(),t=this.theme.formatMessage("moduleTitleText"),n=this.theme.formatMessage("closedForum");return T.default.createElement(se,{heading:"Header",id:"comments-header"},T.default.createElement(ae,null,"Not signed in"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0})),T.default.createElement(ae,null,"Not signed in with comments total"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0}),T.default.createElement("div",{className:"comments__comments-total"},T.default.createElement(x.CommentsTotal,{totalCommentsCountIncludingNewComments:10}))),T.default.createElement(ae,null,"Not signed in with longer comments heading title"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"Do you think England will qualify for the World Cup?")),T.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0}),T.default.createElement("div",{className:"comments__comments-total"},T.default.createElement(x.CommentsTotal,{totalCommentsCountIncludingNewComments:10}))),T.default.createElement(ae,null,"Signed In"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(O.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:1,maxRows:8}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Pre-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:ne.under16}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Post-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.POST_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Reactively-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.REACTIVELY_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Signed In With Policy Error"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement("p",{className:"comments__message--user-ineligible"},this.theme.formatMessage("ineligibleToComment",{})),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Closed forum"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What was your highlight of 2017?")),T.default.createElement("p",{className:"comments__message comments__message--closed-forum"},n)))}},{key:"footer",value:function(){var e=this.theme.formatMessage("backToTop");return T.default.createElement(se,{heading:"Footer",id:"comments-footer"},T.default.createElement(ae,null,"Without more comments"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(R.ToTop,null))))),T.default.createElement(ae,null,"With more comments"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G,rel:"next"},"More comments"),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(R.ToTop,null))))),T.default.createElement(ae,null,"With slow loading message"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsLoading,{slowMessageTimerInSeconds:6}),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(R.ToTop,null))))),T.default.createElement(ae,null,"With error message"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR},this.theme.formatMessage((0,H.getMessageKeyForError)(Y.ErrorTypes.MORE_COMMENTS_FAILED))),T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G,rel:"next"},"More comments"),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(R.ToTop,null))))))}},{key:"comment",value:function(){var e=(0,C.moment)(),t=(0,C.moment)().subtract(1,"year"),n={reportUrl:"/#/"},r="/rulesPageUrl";return T.default.createElement(se,{heading:"Comment",id:"comments-comment"},T.default.createElement(ae,null,"Contributor Avatar Image"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!1,avatarImageUrl:le}),T.default.createElement(ae,null,"Contributor Avatar Letter"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!1}),T.default.createElement(ae,null,"Contributor Avatar Letter for current user"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!0}),T.default.createElement(ae,null,"Username"),T.default.createElement(x.Username,null,"ApricotLaughingIguana"),T.default.createElement(ae,null,"Description"),T.default.createElement(x.UserDescription,null,"Presenter"),T.default.createElement(ae,null,"Date/Time"),T.default.createElement("b",null,"Today:"),T.default.createElement(x.PostedDate,{time:e.format(),formattedTime:e.format("HH:mm")}),T.default.createElement("b",null,"This year:"),T.default.createElement(x.PostedDate,{time:e.format(),formattedTime:e.format("HH:mm D MMM")}),T.default.createElement("b",null,"Last year:"),T.default.createElement(x.PostedDate,{time:t.format(),formattedTime:t.format("HH:mm D MMM YYYY")}),T.default.createElement(ae,null,"Single line comment"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a single line comment",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Multi-line comment"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:1,id:1,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a test comment that goes on for quite a while and it<br />\n spans over multiple lines and contains further lines that are separated by<br /><br />\n many line breaks.<br /> And also emojis &#x1f602;",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,description:ue,avatarUrl:le},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment without description"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,avatarUrl:le},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment without avatar image"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,description:ue},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment with wrong avatar url image"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,avatarUrl:ce,description:ue},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment without description and avatar image"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment with admin links"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,description:ue,avatarUrl:le},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with Distress Message"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:2,totalReplies:0,replies:[],distressMessage:{text:"Hi UnicornPrincess,<br><br>\n you sound like you need to talk to someone about what you are going through at the moment.\n You could speak to a family member, a friend, a guardian or a teacher.<br><br>\n If there's really no one you can speak to, you can speak with a ChildLine counsellor by calling\n 0800 11 11 (calls are free), visiting their website at childline.org.uk, or by downloading\n the free ChildLine app, called For Me.<br><br>\n Or you could call the Samaritans on their helpline: 08457 90 90 90 (charged at local rates) or visit their website.<br><br>\n Always remember bullying is NOT acceptable and you don't have to stand for it<br><br>\n For further help, we also have some useful advice and helplines.<br><br>\n We hope this helps,<br>\n CBBC"},author:{displayName:"UnicornPrincess",isNotable:!1,userId:100},dateCreated:"2019-02-20T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"I love this episode. I know what Drew is feeling.<br />\n I am being bullied too and sometimes you just need to ignore them :( <br /><br />\n <br /> And also emojis &#x1f601;",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with Distress Message with admin links"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],distressMessage:{text:"Hi Spiderman,<br><br>\n you sound like you need to talk to someone about what you are going through at the moment.\n You could speak to a family member, a friend, a guardian or a teacher."},author:{displayName:"Spiderman",isNotable:!1,userId:300},dateCreated:"2019-08-02T11:56:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This a comment with a Distress Message if you are logged as moderator",status:L.default.PASS},rulesPageUrl:r,personalisationDetails:{isEditor:!0,commentAdminLinks:{makeTopPick:{url:"#AdminLink-makeTopPick"},memberDetails:{url:"#AdminLink-memberDetails"},viewModerationHistory:{url:"#AdminLink-viewModerationHistory"}}},forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with admin links (closed)"),T.default.createElement("p",null,'(this causes an React Warning/Error: "checksum was invalid" in the console that you can ignore)'),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment with admin links",status:L.default.PASS},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with admin links (open)"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment with admin links",status:L.default.PASS},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,"Comment that failed moderation"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"CaptainAmerica",isNotable:!1,userId:100},dateCreated:"2019-04-10T10:08:45+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment that failed moderation",status:L.default.FAIL},rulesPageUrl:r,forumId:"dummy",idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,"Comment that failed moderation with admin links"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment with admin links",status:L.default.FAIL},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,"Comment by the current user"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment by the current user who has an un-moderated display name",status:L.default.PASS},personalisationDetails:{userId:100,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with link inside comment"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:'This is a comment that has a <a href="dummy/url">link</a>.',status:L.default.PASS},personalisationDetails:{userId:100,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment by the current user with an un-moderated display name"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"U16123456",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment by the current user who has an un-moderated display name",status:L.default.PASS},personalisationDetails:{userId:100,displayNameModerationStatus:q.default.FAILED_OR_AWAITING,displayNameModerationMessage:"Where is my display name?",displayNameModerationUrl:"/moderation/user/help",commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}))}},{key:"commentsList",value:function(){var e={reportUrl:"/#/"},t="/rulesPageUrl",n=function t(n,r){var o=n.id,i=n.text,a=n.reply,s=n.displayName,u=(0,C.moment)().subtract(3*(r-o),"minutes").format();return{index:o,id:1233+o,key:1233+o,author:{displayName:s||"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:u,actions:e,text:i,rating:{positive:0,negative:0},status:L.default.PASS,replies:a?[t({id:o+1,text:a,displayName:"CarrotSmilingGiraffe",inReplyToId:0,commentId:0})]:[],totalReplies:a?1:0,replyTo:{displayName:"displayNamePlaceholder",text:"text placeholder"}}},r=4,o=[n({id:3,text:"This is a single line comment"},r),n({id:2,text:"This is another single line comment, with replies",reply:"This is the first reply to a parent comment"},r),n({id:1,text:"This is a test comment that goes on for quite a while and it<br />spans over multiple lines and contains further lines that are separated by<br /><br />many line breaks.<br /> And also emojis &#x1f602;"},r),n({id:0,text:"&#x1f602;"},r)];return T.default.createElement(se,{heading:"Comments List",id:"comments-list"},T.default.createElement(ae,null,"Standard List"),T.default.createElement(x.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:"dummy",idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0}),T.default.createElement(ae,null,"New comments available"),T.default.createElement("div",null,T.default.createElement("div",{className:"comments__show-new-comments-container"},T.default.createElement(x.ShowNewCommentsButton,{newCommentCount:12,onClick:G})),T.default.createElement(x.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:"dummy",idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0})))}},{key:"alerts",value:function(){var e=this.theme.formatMessage("postCommentSuccessPremoderated"),t=this.theme.getIcon("SuccessIcon");return T.default.createElement(se,{heading:"Alerts",id:"comments-alerts"},T.default.createElement(ae,null,"Under Character Limit Message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,{remainingCharacters:2,isTextOverLimit:!1,textLimit:750,remainingCharactersMessage:"You have 2 characters remaining"})),T.default.createElement(ae,null,"Over Character Limit Message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,{remainingCharacters:-5,isTextOverLimit:!0,textLimit:750,remainingCharactersMessage:"You've written 5 too many characters!"})),T.default.createElement(ae,null,"Error Message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR},"Sorry, there was a problem. Please refresh your browser and try again.")),T.default.createElement(ae,null,"Success Message Pre-moderated"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.SUCCESS,Icon:t},e)),T.default.createElement(ae,null,"Comments Loading"),T.default.createElement(x.CommentsLoading,null))}},{key:"ratings",value:function(){var e=this,t=function(t){return T.default.createElement(x.CommentRating,(0,s.default)({ratingType:"positive",Icon:e.theme.getIcon("Upvote"),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:"right",handleClick:G},t))};return T.default.createElement(se,{heading:"Ratings",id:"comments-ratings"},T.default.createElement(ae,null,"Positive rating"),T.default.createElement("p",null,"Text on the right side."),T.default.createElement("div",null,T.default.createElement(t,null)),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999})),T.default.createElement("p",null,"Text on the left side."),T.default.createElement("div",null,T.default.createElement(t,{numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99,numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999,numberPlacement:"left"})),T.default.createElement(ae,null,"Sending"),T.default.createElement(t,{isSendingRating:!0}),T.default.createElement(ae,null,"Rated"),T.default.createElement(t,{hasRatedComment:!0}),T.default.createElement(ae,null,"Disabled"),T.default.createElement(t,{isDisabled:!0}))}},{key:"donwRatings",value:function(){var e=this,t=function(t){return T.default.createElement(x.CommentRating,(0,s.default)({ratingType:"negative",Icon:e.theme.getIcon("Downvote"),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:"right",handleClick:G},t))};return T.default.createElement(se,{heading:"Down Ratings",id:"comments-down-ratings"},T.default.createElement(ae,null,"Negative rating"),T.default.createElement("p",null,"Text on the right side."),T.default.createElement("div",null,T.default.createElement(t,null)),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999})),T.default.createElement("p",null,"Text on the left side."),T.default.createElement("div",null,T.default.createElement(t,{numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99,numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999,numberPlacement:"left"})),T.default.createElement(ae,null,"Sending"),T.default.createElement(t,{isSendingRating:!0}),T.default.createElement(ae,null,"Down Rated"),T.default.createElement(t,{hasRatedComment:!0}),T.default.createElement(ae,null,"Disabled"),T.default.createElement(t,{isDisabled:!0}))}},{key:"tooltip",value:function(){var e=S.default.getSignedOutResponse(),t=this.theme.formatMessage("tooltipErrorSubtitle"),n=this.theme.formatMessage("otherErrorBody");return T.default.createElement(se,{heading:"Tooltip",id:"tool-tip"},T.default.createElement(ae,null,"Tooltip"),T.default.createElement("div",{className:"comments-styleguide__tooltip"},T.default.createElement(x.Tooltip,{subtitle:"Sign in to your BBC account to do this.",handleClose:G,shouldAutoFocus:!1},T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}))),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement(ae,null,"Error Tooltip"),T.default.createElement("div",{className:"comments-styleguide__tooltip"},T.default.createElement(x.Tooltip,{subtitle:t,isAlert:!0,handleClose:G,shouldAutoFocus:!1},n)),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement(ae,null,"Tooltip Launcher"),T.default.createElement(x.TooltipLauncher,{tooltipSubtitle:"Sign in to your BBC account to do this.",isTooltipOpen:!1,tooltipBody:T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton})},T.default.createElement(x.CommentsButton,null,"Click me to view Tooltip")))}},{key:"replies",value:function(){var e={reportUrl:"/#/"},t="/rulesPageUrl",n=["This is a snippet only with text","&#x1f602;","&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;","<br /><br /><br />&nbsp;&nbsp;Yee&#x1f602;eeeeeeeeeeeeeeee&nbsp&nbsp&nbsp&#x1f602;<br />\n &nbsp;&nbsp;&nbsp;&nbsp&nbsp&nbspis a snippet &#x1f602; with everything.<br />\n Emoticons &#x1f602;&#x1f602;&#x1f602; and text like this and break lines<br />\n like this, I really like this snippet component &#x1f602;&#x1f602;&#x1f602;&#x1f602;"]; return T.default.createElement(se,{heading:"Replies",id:"comments-replies"},T.default.createElement(ae,null,"Reply button"),T.default.createElement(x.ReplyButton,null),T.default.createElement(ae,null,"Reply functionality when signed out"),T.default.createElement(x.Comment,{commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"Superman",isNotable:!1,userId:200},dateCreated:"2019-04-02T16:33:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This is a single line comment with Reply Button and functionality when signed out",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Reply functionality when the user is ineligible to comment"),T.default.createElement(x.Comment,{commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"MrBean",isNotable:!1,userId:100},dateCreated:"2019-04-12T10:08:38+00:00",actions:e,rating:{positive:0,negative:0},text:"This is a comment that the user can not reply because the user is ineligible to comment",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:ee}),T.default.createElement(ae,null,"Replying to a parent comment"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"Thor",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This is a single line comment with Reply Button and functionality when signed in and the user is eligible to comment",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:$}),T.default.createElement(ae,null,"Replying to a reply"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Hercules",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Hercules",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Reply snippet in place"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:12345,author:{displayName:"CarpetMan",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602;<br />This is the test comment that goes on for quite a while and it<br />\n spans over multiple lines and contains further lines that are separated by<br /><br />\n many line breaks.<br /> And also emojis &#x1f602;",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:12346,author:{displayName:"WaterMan",isNotable:!1,userId:100},dateCreated:"2019-04-06T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS,inReplyToId:12345,commentId:12345,replyTo:{displayName:"CarpetMan",text:"&#x1f602;<br />This is the test comment that goes on for quite a while and it<br />\n spans over multiple lines and contains further lines that are separated by<br /><br />\n many line breaks.<br /> And also emojis &#x1f602;"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Reply snippet only text"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[0]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"SugarMan",replyToMsg:n[0]})),T.default.createElement(ae,null,"Reply snippet only 1 emoticon"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[1]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"SaltMan",replyToMsg:n[1]})),T.default.createElement(ae,null,"Reply snippet only emoticons"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[2]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"PepperMan",replyToMsg:n[2]})),T.default.createElement(ae,null,"Reply snippet mixed"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[3]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"CurryMan",replyToMsg:n[3]})),T.default.createElement(ae,null,"More replies"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:123456,author:{displayName:"PeterPan",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:13,replies:[{index:12,id:12,author:{displayName:"Bambi",isNotable:!1,userId:100},dateCreated:"2019-04-07T07:24:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 1",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:11,id:11,author:{displayName:"LionKing",isNotable:!1,userId:100},dateCreated:"2019-04-06T08:39:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 2, replying to Bambi",status:L.default.PASS,inReplyToId:12,commentId:123456,replyTo:{displayName:"Bambi",text:"This is a example of reply number 1"}},{index:10,id:10,author:{displayName:"Romeo",isNotable:!1,userId:100},dateCreated:"2019-04-05T05:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 3, replying to LionKing",status:L.default.PASS,inReplyToId:11,commentId:123456,replyTo:{displayName:"LionKing",text:"This is a example of reply number 2, replying to Bambi"}},{index:9,id:9,author:{displayName:"Wendy",isNotable:!1,userId:100},dateCreated:"2019-04-05T05:00:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 4",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:8,id:8,author:{displayName:"CaptainHook",isNotable:!1,userId:100},dateCreated:"2019-04-05T04:00:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 5",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:7,id:7,author:{displayName:"Julieta",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 6",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:6,id:6,author:{displayName:"Shirkan",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 7",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:5,id:5,author:{displayName:"Rambo",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:01:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 8",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:4,id:4,author:{displayName:"Rocky",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 9",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:3,id:3,author:{displayName:"LuckyLuke",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 10",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:2,id:2,author:{displayName:"CristobalColon",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:01:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 11",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:1,id:1,author:{displayName:"Nadal",isNotable:!1,userId:100},dateCreated:"2019-04-05T01:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 12",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:0,id:0,author:{displayName:"Federer",isNotable:!1,userId:100},dateCreated:"2019-04-05T01:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 13",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Error after posting a reply"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement("div",{className:"reply"},T.default.createElement("div",{className:"reply__signedin"},T.default.createElement("div",{className:"reply__signedin-eligible"},T.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to Albert"),T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR},this.theme.formatMessage("postCommentIdctaError")),T.default.createElement(x.CommentsInput,{isDisabled:!0,commentInputClass:"reply-input",textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G}))))),T.default.createElement(ae,null,"Confirmation after posting a reply"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement("div",{className:"reply"},T.default.createElement("div",{className:"reply__signedin"},T.default.createElement("div",{className:"reply__signedin-eligible"},T.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to Henry"),T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.SUCCESS,Icon:this.theme.getIcon("SuccessIcon")},this.theme.formatMessage("postCommentSuccessPremoderated")),T.default.createElement(x.CommentsInput,{isDisabled:!0,commentInputClass:"reply-input",textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G}))))),T.default.createElement(ae,null,"Reply of removed parent"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Planetman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This comment was removed",status:L.default.FAIL,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Planetman",text:"This comment was removed"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Reply of removed parent with admin links"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Planetman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This comment was removed",status:L.default.FAIL,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Planetman",text:"This comment was removed"}}]},rulesPageUrl:t,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Removed reply"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Earthman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Riceman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.FAIL,inReplyToId:0,commentId:0,replyTo:{displayName:"Riceman",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Removed reply with admin links"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Martianman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Foodman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.FAIL,inReplyToId:0,commentId:0,replyTo:{displayName:"Martianman",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Replied by notable"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Hercules",isNotable:!0,userId:300,description:ue,avatarUrl:le},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Hercules",isNotable:!0,userId:100,description:ue,avatarUrl:le},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Hercules",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(z.A11yAlertMessage,{timeout:ie,message:this.state.audibleMessage}))}},{key:"commentsSort",value:function(){return T.default.createElement(se,{heading:"Comments Sort",id:"comments-sort"},T.default.createElement(ae,null,"Comments Sort Select"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.CommentsSort,null)),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.CommentsSort,{isLoading:!0})),T.default.createElement(ae,null,"Comments Sort Error"),T.default.createElement(x.CommentsSortError,null))}},{key:"viewCommentsButton",value:function(){return T.default.createElement(se,{heading:"View Comments Button",id:"view-comments-button"},T.default.createElement(ae,null,"With comments"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:1})),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:11})),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:263})),T.default.createElement(ae,null,"Without comments"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,null)))}},{key:"getChildContext",value:function(){return{isFeatureEnabled:function(){return!0},apiKey:"styleguide",forumId:"noForum",theme:this.theme,setA11yAlertText:this.setA11yAlertText,triggerAggregatorDataFetch:G,logImpressionEventWithCommonLabels:G,WithStatsIncludeCommonLabels:K,logClickEventWithCommonLabels:G,canSendStat:X,setStatSent:G,clearStatsSent:G,getInstanceId:J,noJS:!1}}},{key:"render",value:function(){var e=this.theme,t=e.themeVariant,n=e.product;return T.default.createElement("div",{className:(0,_.default)("comments-theme-variant--"+t,"comments__product--"+n)},T.default.createElement("div",{className:"comments-styleguide comments"},T.default.createElement(x.NoJSMessage,null),this.menu(),this.typography(),this.buttons(),this.alerts(),this.formElements(),this.header(),this.footer(),this.comment(),this.commentsList(),this.tooltip(),this.ratings(),this.donwRatings(),this.replies(),this.commentsSort(),this.viewCommentsButton()))}}]),t}(b.Component);de.displayName="StyleGuideModule",de.propTypes={mode:b.PropTypes.string,themeVariant:b.PropTypes.string,product:b.PropTypes.oneOf((0,i.default)(W.Products))},de.defaultProps={mode:A.MODE_STANDALONE,themeVariant:W.ThemeVariants.DEFAULT,product:W.Products.DEFAULT},de.childContextTypes={isFeatureEnabled:b.PropTypes.func.isRequired,apiKey:b.PropTypes.string.isRequired,forumId:b.PropTypes.string.isRequired,theme:b.PropTypes.shape({formatMessage:b.PropTypes.func.isRequired,getIcon:b.PropTypes.func.isRequired,getComponent:b.PropTypes.func.isRequired,ratingsNumberPlacement:b.PropTypes.string.isRequired}).isRequired,setA11yAlertText:b.PropTypes.func,triggerAggregatorDataFetch:b.PropTypes.func,logImpressionEventWithCommonLabels:b.PropTypes.func,WithStatsIncludeCommonLabels:b.PropTypes.func.isRequired,logClickEventWithCommonLabels:b.PropTypes.func,canSendStat:b.PropTypes.func.isRequired,setStatSent:b.PropTypes.func.isRequired,clearStatsSent:b.PropTypes.func.isRequired,getInstanceId:b.PropTypes.func.isRequired,noJS:b.PropTypes.bool.isRequired},t.StyleGuideModule=de},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(160),i=r(o);t.default={getSignedOutResponse:function(){return i.default.new().signedIn(!1).withSignInButton('<span class="id5-cta__button">\n <a class="id5-cta__button-signin" href="javascript:alert(\'Stubbed IDCTA\')">Sign in</a>\n or <a class="id5-cta__button-register" href="javascript:alert(\'Stubbed IDCTA\')">Register</a>\n </span>').build()},getSignedInResponse:function(){return i.default.new().signedIn(!0).withPolicyCheck(!1).withSignedInMessage('<span class="id5-cta__message">You\'re signed in as test-u16. <a href="#">Sign out</a><span>').build()},getSignedInResponseWithUnder16PolicyError:function(){return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage('<span class="id5-cta__policy-error">Sorry, it looks like you’re not the right age to comment.</span>').build()},getSignedInResponseWithoutDisplayName:function(){return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage('<p class="id4-cta" style="padding:12px 0px; line-height:38px; font-size:1.2em;">\n <span class="id5-cta__no-display-name">You need a display name to comment, reply and react.\n <a href="javascript:alert(\'Stubbed IDCTA\')">Create a display name</a>\n </span>\n </p>').build()}},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(2),i=r(o),a=n(145),s=r(a),u=n(450),l=r(u),c=n(451),d=n(233),m=r(d),f=n(248),p=r(f),h=n(258),y=function(e){return null!==e};t.default=l.default.create({displayName:"CommentsAggregator",getInitialState:function(){return{firstPageOfCommentsRequestUri:null,latestCommentsDataRequestUri:null,commentsDataPaginationRequestUri:null,loadedComments:this.buildSortOrderArrays(),forumData:{totalCommentsCount:0},repliesDataPaginationRequestUri:null,sortDataRequestUri:null,retryCounters:{},sortOrder:p.default.NewestFirst.name,latestResponseType:null,fetchingSortedComments:!1,canLoadMore:!1}},buildSortOrderArrays:function(){return(0,s.default)(p.default).reduce(function(e,t){return e[t]=[],e},{})},listenerAdded:function(e){switch(e.requestType){case m.default.replies:this.repliesListenerAdded(e);break;case m.default.sort:this.sortListenerAdded(e);break;case m.default.newComments:this.newCommentsListenerAdded(e);break;default:this.commentsListenerAdded(e)}},sortListenerAdded:function(e){var t=(0,i.default)({},e.commentsDataUri);if(this.state.sortOrder!==e.sortOrder){var n=p.default[e.sortOrder].indexName;this.state.sortOrder=e.sortOrder,t.pageSize=e.initialPageSize,delete t[n],t.sortOrder=e.sortOrder,t.retry=this.getRetryCounter(e.sortOrder),this.state.sortDataRequestUri=t,this.state.fetchingSortedComments=!0}},getSortParameter:function(e){return h.sortParameterBySortOrder[e]},newCommentsListenerAdded:function(e){var t=e.commentsDataUri,n=t.forumId,r=t.apiKey,o=this.getLoadedComments(this.state.sortOrder),i=(0,c.getIndexOfLatestComment)(o);this.state.latestCommentsDataRequestUri={forumId:n,apiKey:r,sinceIndex:i,data:"bbc-morph-comments-data"}},commentsListenerAdded:function(e){var t=(0,i.default)({},e.commentsDataUri),n=this.getSortParameter(this.state.sortOrder);e.nextIndexToLoadFrom>0?(t[n]=e.nextIndexToLoadFrom,t.pageSize=e.pageSize,t.sortOrder=this.state.sortOrder,this.state.commentsDataPaginationRequestUri=t):this.state.firstPageOfCommentsRequestUri=t},repliesListenerAdded:function(e){var t=(0,i.default)({},e.repliesDataUri),n=this.getRetryCounter(e.parentCommentId,e.nextReplyIndexToLoadFrom,e.repliesDataUri.pageSize);this.setCheckingForReplies({commentId:e.parentCommentId,value:!0}),t.startIndex=e.nextReplyIndexToLoadFrom,t.commentId=e.parentCommentId,t.retry=n,this.state.repliesDataPaginationRequestUri=t},getRetryCounter:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.join(),o=this.state.retryCounters.hasOwnProperty(r)?this.state.retryCounters[r]:null,i=o?o+1:1;return this.state.retryCounters[r]=i,i},handleFirstPageOfCommentsDataResponse:function(e){var t=e.sortOrder,n=(0,c.mapComments)(e.comments),r=this.getLoadedComments(t),o=(0,c.prependNewComments)(r,n);this.setLoadedComments(t,o),this.state.firstPageOfCommentsRequestUri=null,this.state.sortOrder=t,this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e),this.state.latestResponseType=m.default.newComments,this.state.canLoadMore=e.canLoadMore},handleLatestCommentsDataResponse:function(e){var t=e.comments;if(Array.isArray(t)&&t.length>0){var n=(0,c.mapComments)(e.comments),r=this.getLoadedComments(p.default.NewestFirst.name),o=(0,c.prependNewComments)(r,n),i=(0,c.getIndexOfLatestComment)(r);this.setLoadedComments(p.default.NewestFirst.name,o),this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e),this.state.latestCommentsDataRequestUri.sinceIndex=i,this.state.latestResponseType=m.default.newComments}},processFirstPageOfCommentsDataRequest:function(){if(this.state.firstPageOfCommentsRequestUri){var e=this.getDataResponseIfAvailable(this.state.firstPageOfCommentsRequestUri);if(!e)return{uri:this.state.firstPageOfCommentsRequestUri,requireSuccess:!0,updates:!1};this.handleFirstPageOfCommentsDataResponse(e)}return null},processLatestCommentsDataRequest:function(){if(this.state.latestCommentsDataRequestUri){var e=this.getDataResponseIfAvailable(this.state.latestCommentsDataRequestUri);return e&&this.handleLatestCommentsDataResponse(e),{uri:this.state.latestCommentsDataRequestUri,requireSuccess:!0,updates:!0}}return null},processPaginatedCommentsDataRequest:function(){if(this.state.commentsDataPaginationRequestUri){var e=this.getDataResponseIfAvailable(this.state.commentsDataPaginationRequestUri);if(!e)return{uri:this.state.commentsDataPaginationRequestUri,requireSuccess:!0,updates:!1};var t=(0,c.mapComments)(e.comments),n=this.getLoadedComments(this.state.sortOrder),r=(0,c.appendNewComments)(n,t,this.state.sortOrder);this.setLoadedComments(this.state.sortOrder,r),this.state.commentsDataPaginationRequestUri=null,this.state.latestResponseType=m.default.moreComments,this.state.canLoadMore=e.canLoadMore}return null},processRepliesDataRequest:function(){if(this.state.repliesDataPaginationRequestUri){var e=this.getDataResponseIfAvailable(this.state.repliesDataPaginationRequestUri);if(!e)return[{uri:this.state.repliesDataPaginationRequestUri,requireSuccess:!0,updates:!1}];var t=this.state.repliesDataPaginationRequestUri.commentId;this.setCheckingForReplies({commentId:t,value:!1});var n=this.state.repliesDataPaginationRequestUri.startIndex+e.replies.length+e.totalRemaining;this.storeNewRepliesForComment(t,e.replies,n),this.state.latestResponseType=m.default.replies,this.state.repliesDataPaginationRequestUri=null}return null},setCheckingForReplies:function(e){var t=e.commentId,n=e.value,r=this.getLoadedComments(this.state.sortOrder),o=(0,c.findById)(r,t);o&&(o.checkingForReplies=n)},storeNewRepliesForComment:function(e,t,n){var r=this.getLoadedComments(this.state.sortOrder),o=(0,c.findById)(r,e);if(o){var i=(0,c.mapReplies)(t,o,this.state.forumData.siteName);o.firstNewReplyId=(0,c.getFirstNewReplyId)(i),o.replies=(0,c.appendNewReplies)(o.replies,i),o.totalReplies=n}},handleSortResponse:function(e){var t=e.sortOrder,n=this.getLoadedComments(t),r=(0,c.mapComments)(e.comments),o=(0,c.appendNewComments)(n,r,t);this.state.sortOrder=t,this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e),this.setLoadedComments(t,o),this.state.latestResponseType=m.default.sort,this.state.canLoadMore=e.canLoadMore,this.state.fetchingSortedComments=!1},processSortDataRequest:function(){if(this.state.sortDataRequestUri){var e=this.getDataResponseIfAvailable(this.state.sortDataRequestUri);if(!e)return[{uri:this.state.sortDataRequestUri,requireSuccess:!0,updates:!1}];this.handleSortResponse(e),this.state.sortDataRequestUri=null}return null},getDataResponseIfAvailable:function(e){var t=this.getAvailablePayload(e);return t&&200===t.meta.responseCode?t.body:null},setLoadedComments:function(e,t){this.state.loadedComments[e]=t},getLoadedComments:function(e){return this.state.loadedComments[e]},data:function(){var e=this.processFirstPageOfCommentsDataRequest(),t=this.processLatestCommentsDataRequest(),n=this.processPaginatedCommentsDataRequest(),r=this.processRepliesDataRequest(),o=this.processSortDataRequest();return[e,t,n,r,o].filter(y)},getPayload:function(){var e=this.state,t=e.forumData,n=e.loadedComments,r=e.sortOrder,o=e.latestResponseType,i=e.fetchingSortedComments,a=e.canLoadMore,s=n[r];return{meta:{responseCode:200},body:{forumData:t,loadedComments:s,latestResponseType:o,sortOrder:r,fetchingSortedComments:i,canLoadMore:a}}}}),e.exports=t.default},function(e,t){e.exports={create:function(e){return Morph.createAggregatorWithCaller("bbc-morph-comments-view@3.56.1",e)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,c.pickBy)(e,function(e,t){return(0,d.not)("comments"===t)})}function i(e,t){var n=t[0];return e.some(function(e){return e.index===n.index})}Object.defineProperty(t,"__esModule",{value:!0}),t.mapComments=t.mapReplies=t.appendNewReplies=t.getFirstNewReplyId=t.appendNewComments=t.prependNewComments=t.getUpdatedForumData=t.getIndexOfLatestComment=t.findById=void 0;var a=n(452),s=r(a),u=n(2),l=r(u),c=n(98),d=n(155),m=n(258),f=function(e,t){return t.some(function(t){return t.id===e.id})},p=function(e,t){return(0,l.default)({},e,{actions:{reportUrl:e.actions.reportUrl.replace("[sitename]",t)}})},h=function(e,t){var n=g(t,e.inReplyToId);return(0,l.default)({},e,{replyTo:{displayName:n.author.displayName,text:n.text}})},y=function(e){return e.replies&&e.replies[0]&&(e.replies[0].replyTo={displayName:e.author.displayName,text:e.text}),e.hasOwnProperty("checkingForReplies")===!1&&(e.checkingForReplies=!1),e},g=t.findById=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].id===t)return e[n];return null};t.getIndexOfLatestComment=function(e){return e.reduce(function(e,t){return t.index>e?t.index:e},-1)},t.getUpdatedForumData=function(e,t){var n=o(t),r=Math.max(n.totalCommentsCount,e.totalCommentsCount),i=n.hasOwnProperty("isClosed")?n.isClosed:e.isClosed;return(0,l.default)({},n,e,{totalCommentsCount:r,isClosed:i})},t.prependNewComments=function(e,t){var n=Array.isArray(t)&&t.length>0;if(n){if(0===e.length)return t.slice();var r=t.filter(function(t){var n=e.some(function(e){return e.index===t.index});return!n});return r.concat(e)}return e},t.appendNewComments=function(e,t,n){var r=Array.isArray(t)&&t.length>0,o=m.hasOutOfSequenceCommentsBySortOrder[n];if(r){if(0===e.length)return t.slice();if((0,d.not)(o(e,t))&&(0,d.not)(i(e,t)))return e.concat(t)}return e},t.getFirstNewReplyId=function(e){var t=Array.isArray(e)&&e.length>0;return t?e[0].id:0},t.appendNewReplies=function(e,t){var n=Array.isArray(t)&&t.length>0;return n?[].concat((0,s.default)(e),(0,s.default)(t.filter(function(t){return!f(t,e)}))):e},t.mapReplies=function(e,t,n){var r=[].concat((0,s.default)(e),(0,s.default)(t.replies),[t]);return e.map(function(e){return h(e,r)}).map(function(e){return p(e,n)})},t.mapComments=function(e){return e.map(function(e){return y(e)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(453),i=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){e.exports={default:n(454),__esModule:!0 }},function(e,t,n){n(58),n(455),e.exports=n(8).Array.from},function(e,t,n){"use strict";var r=n(9),o=n(6),i=n(40),a=n(127),s=n(128),u=n(30),l=n(456),c=n(129);o(o.S+o.F*!n(140)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,m=i(e),f="function"==typeof this?this:Array,p=arguments.length,h=p>1?arguments[1]:void 0,y=void 0!==h,g=0,v=c(m);if(y&&(h=r(h,p>2?arguments[2]:void 0,2)),void 0==v||f==Array&&s(v))for(t=u(m.length),n=new f(t);t>g;g++)l(n,g,y?h(m[g],g):m[g]);else for(d=v.call(m),n=new f;!(o=d.next()).done;g++)l(n,g,y?a(d,h,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(12),o=n(20);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-wrapper@1.4.0"]={"morph-container":"4.0.0","bbc-morph-comments-view":"3.56.1","react":"0.14.7","babel-runtime":"6.26.0"}; !function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=41)}([function(t,n){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(10),o=e(31),u=e(19),i=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(r(t),n=u(n,!0),r(e),o)try{return i(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(1),o=e(0),u=e(30),i=e(6),f=e(2),c=function(t,n,e){var a,s,l,p=t&c.F,y=t&c.G,d=t&c.S,v=t&c.P,h=t&c.B,b=t&c.W,_=y?o:o[n]||(o[n]={}),m=_.prototype,x=y?r:d?r[n]:(r[n]||{}).prototype;y&&(e=n);for(a in e)(s=!p&&x&&void 0!==x[a])&&f(_,a)||(l=s?x[a]:e[a],_[a]=y&&"function"!=typeof x[a]?e[a]:h&&s?u(l,r):b&&x[a]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):v&&"function"==typeof l?u(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[a]=l,t&c.R&&m&&!m[a]&&i(m,a,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,e){var r=e(3),o=e(14);t.exports=e(4)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(62),o=e(16);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(18)("wks"),o=e(13),u=e(1).Symbol,i="function"==typeof u;(t.exports=function(t){return r[t]||(r[t]=i&&u[t]||(i?u:o)("Symbol."+t))}).store=r},function(t,n,e){var r=e(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=!0},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(16);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(18)("keys"),o=e(13);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(0),o=e(1),u=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return u[t]||(u[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(12)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(7);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports={}},function(t,n,e){var r=e(10),o=e(61),u=e(24),i=e(17)("IE_PROTO"),f=function(){},c=function(){var t,n=e(32)("iframe"),r=u.length;for(n.style.display="none",e(66).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[u[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(f.prototype=r(t),e=new f,f.prototype=null,e[i]=t):e=c(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(36),o=e(24);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(3).f,o=e(2),u=e(9)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,u)&&r(t,u,{configurable:!0,value:n})}},function(t,n,e){n.f=e(9)},function(t,n,e){var r=e(1),o=e(0),u=e(12),i=e(26),f=e(3).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=u?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||f(n,t,{value:i.f(t)})}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(2),o=e(15),u=e(17)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,n,e){var r=e(49);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){t.exports=!e(4)&&!e(11)(function(){return 7!=Object.defineProperty(e(32)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(7),o=e(1).document,u=r(o)&&r(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(56),u=r(o),i=e(71),f=r(i),c="function"==typeof f.default&&"symbol"==typeof u.default?function(t){return typeof t}:function(t){return t&&"function"==typeof f.default&&t.constructor===f.default&&t!==f.default.prototype?"symbol":typeof t};n.default="function"==typeof f.default&&"symbol"===c(u.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof f.default&&t.constructor===f.default&&t!==f.default.prototype?"symbol":void 0===t?"undefined":c(t)}},function(t,n,e){"use strict";var r=e(12),o=e(5),u=e(35),i=e(6),f=e(21),c=e(60),a=e(25),s=e(29),l=e(9)("iterator"),p=!([].keys&&"next"in[].keys()),y=function(){return this};t.exports=function(t,n,e,d,v,h,b){c(e,n,d);var _,m,x,O=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},g=n+" Iterator",S="values"==v,w=!1,j=t.prototype,P=j[l]||j["@@iterator"]||v&&j[v],M=P||O(v),E=v?S?O("entries"):M:void 0,T="Array"==n?j.entries||P:P;if(T&&(x=s(T.call(new t)))!==Object.prototype&&x.next&&(a(x,g,!0),r||"function"==typeof x[l]||i(x,l,y)),S&&P&&"values"!==P.name&&(w=!0,M=function(){return P.call(this)}),r&&!b||!p&&!w&&j[l]||i(j,l,M),f[n]=M,f[g]=y,v)if(_={values:S?M:O("values"),keys:h?M:O("keys"),entries:E},b)for(m in _)m in j||u(j,m,_[m]);else o(o.P+o.F*(p||w),n,_);return _}},function(t,n,e){t.exports=e(6)},function(t,n,e){var r=e(2),o=e(8),u=e(63)(!1),i=e(17)("IE_PROTO");t.exports=function(t,n){var e,f=o(t),c=0,a=[];for(e in f)e!=i&&r(f,e)&&a.push(e);for(;n.length>c;)r(f,e=n[c++])&&(~u(a,e)||a.push(e));return a}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(36),o=e(24).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(28),o=e(14),u=e(8),i=e(19),f=e(2),c=e(31),a=Object.getOwnPropertyDescriptor;n.f=e(4)?a:function(t,n){if(t=u(t),n=i(n,!0),c)try{return a(t,n)}catch(t){}if(f(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(42),o=e.n(r);Morph.modules["bbc-morph-comments-wrapper@1.4.0"]=o.a},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var o=e(43),u=r(o),i=e(44),f=r(i);n.default=u.default.create(f.default,{})},function(t,n){t.exports={create:function(t,n){return Morph.createContainerWithCaller("bbc-morph-comments-wrapper@1.4.0",t,n)}}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var o=e(45),u=r(o),i=e(50),f=r(i),c=e(51),a=r(c),s=e(55),l=r(s),p=e(81),y=r(p),d=e(89),v=r(d),h=e(90),b=r(h),_=function(t){function n(){return(0,f.default)(this,n),(0,l.default)(this,(n.__proto__||(0,u.default)(n)).apply(this,arguments))}return(0,y.default)(n,t),(0,a.default)(n,[{key:"render",value:function(){return v.default.createElement(b.default,this.props)}}]),n}(d.Component);_.displayName="CommentsWrapper",n.default=_},function(t,n,e){t.exports={default:e(46),__esModule:!0}},function(t,n,e){e(47),t.exports=e(0).Object.getPrototypeOf},function(t,n,e){var r=e(15),o=e(29);e(48)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(5),o=e(0),u=e(11);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],i={};i[t]=n(e),r(r.S+r.F*u(function(){e(1)}),"Object",i)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(52),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){t.exports={default:e(53),__esModule:!0}},function(t,n,e){e(54);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){var r=e(5);r(r.S+r.F*!e(4),"Object",{defineProperty:e(3).f})},function(t,n,e){"use strict";n.__esModule=!0;var r=e(33),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==(void 0===n?"undefined":(0,o.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){t.exports={default:e(57),__esModule:!0}},function(t,n,e){e(58),e(67),t.exports=e(26).f("iterator")},function(t,n,e){"use strict";var r=e(59)(!0);e(34)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(20),o=e(16);t.exports=function(t){return function(n,e){var u,i,f=String(o(n)),c=r(e),a=f.length;return c<0||c>=a?t?"":void 0:(u=f.charCodeAt(c),u<55296||u>56319||c+1===a||(i=f.charCodeAt(c+1))<56320||i>57343?t?f.charAt(c):u:t?f.slice(c,c+2):i-56320+(u-55296<<10)+65536)}}},function(t,n,e){"use strict";var r=e(22),o=e(14),u=e(25),i={};e(6)(i,e(9)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(i,{next:o(1,e)}),u(t,n+" Iterator")}},function(t,n,e){var r=e(3),o=e(10),u=e(23);t.exports=e(4)?Object.defineProperties:function(t,n){o(t);for(var e,i=u(n),f=i.length,c=0;f>c;)r.f(t,e=i[c++],n[e]);return t}},function(t,n,e){var r=e(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(8),o=e(64),u=e(65);t.exports=function(t){return function(n,e,i){var f,c=r(n),a=o(c.length),s=u(i,a);if(t&&e!=e){for(;a>s;)if((f=c[s++])!=f)return!0}else for(;a>s;s++)if((t||s in c)&&c[s]===e)return t||s||0;return!t&&-1}}},function(t,n,e){var r=e(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(20),o=Math.max,u=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):u(t,n)}},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){e(68);for(var r=e(1),o=e(6),u=e(21),i=e(9)("toStringTag"),f="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<f.length;c++){var a=f[c],s=r[a],l=s&&s.prototype;l&&!l[i]&&o(l,i,a),u[a]=u.Array}},function(t,n,e){"use strict";var r=e(69),o=e(70),u=e(21),i=e(8);t.exports=e(34)(Array,"Array",function(t,n){this._t=i(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),u.Arguments=u.Array,r("keys"),r("values"),r("entries")},function(t,n){t.exports=function(){}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){t.exports={default:e(72),__esModule:!0}},function(t,n,e){e(73),e(78),e(79),e(80),t.exports=e(0).Symbol},function(t,n,e){"use strict";var r=e(1),o=e(2),u=e(4),i=e(5),f=e(35),c=e(74).KEY,a=e(11),s=e(18),l=e(25),p=e(13),y=e(9),d=e(26),v=e(27),h=e(75),b=e(76),_=e(10),m=e(7),x=e(15),O=e(8),g=e(19),S=e(14),w=e(22),j=e(77),P=e(40),M=e(38),E=e(3),T=e(23),L=P.f,k=E.f,F=j.f,C=r.Symbol,A=r.JSON,N=A&&A.stringify,I=y("_hidden"),R=y("toPrimitive"),D={}.propertyIsEnumerable,G=s("symbol-registry"),W=s("symbols"),V=s("op-symbols"),H=Object.prototype,J="function"==typeof C&&!!M.f,z=r.QObject,B=!z||!z.prototype||!z.prototype.findChild,K=u&&a(function(){return 7!=w(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=L(H,n);r&&delete H[n],k(t,n,e),r&&t!==H&&k(H,n,r)}:k,Y=function(t){var n=W[t]=w(C.prototype);return n._k=t,n},q=J&&"symbol"==typeof C.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof C},Q=function(t,n,e){return t===H&&Q(V,n,e),_(t),n=g(n,!0),_(e),o(W,n)?(e.enumerable?(o(t,I)&&t[I][n]&&(t[I][n]=!1),e=w(e,{enumerable:S(0,!1)})):(o(t,I)||k(t,I,S(1,{})),t[I][n]=!0),K(t,n,e)):k(t,n,e)},U=function(t,n){_(t);for(var e,r=h(n=O(n)),o=0,u=r.length;u>o;)Q(t,e=r[o++],n[e]);return t},X=function(t,n){return void 0===n?w(t):U(w(t),n)},Z=function(t){var n=D.call(this,t=g(t,!0));return!(this===H&&o(W,t)&&!o(V,t))&&(!(n||!o(this,t)||!o(W,t)||o(this,I)&&this[I][t])||n)},$=function(t,n){if(t=O(t),n=g(n,!0),t!==H||!o(W,n)||o(V,n)){var e=L(t,n);return!e||!o(W,n)||o(t,I)&&t[I][n]||(e.enumerable=!0),e}},tt=function(t){for(var n,e=F(O(t)),r=[],u=0;e.length>u;)o(W,n=e[u++])||n==I||n==c||r.push(n);return r},nt=function(t){for(var n,e=t===H,r=F(e?V:O(t)),u=[],i=0;r.length>i;)!o(W,n=r[i++])||e&&!o(H,n)||u.push(W[n]);return u};J||(C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===H&&n.call(V,e),o(this,I)&&o(this[I],t)&&(this[I][t]=!1),K(this,t,S(1,e))};return u&&B&&K(H,t,{configurable:!0,set:n}),Y(t)},f(C.prototype,"toString",function(){return this._k}),P.f=$,E.f=Q,e(39).f=j.f=tt,e(28).f=Z,M.f=nt,u&&!e(12)&&f(H,"propertyIsEnumerable",Z,!0),d.f=function(t){return Y(y(t))}),i(i.G+i.W+i.F*!J,{Symbol:C});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)y(et[rt++]);for(var ot=T(y.store),ut=0;ot.length>ut;)v(ot[ut++]);i(i.S+i.F*!J,"Symbol",{for:function(t){return o(G,t+="")?G[t]:G[t]=C(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var n in G)if(G[n]===t)return n},useSetter:function(){B=!0},useSimple:function(){B=!1}}),i(i.S+i.F*!J,"Object",{create:X,defineProperty:Q,defineProperties:U,getOwnPropertyDescriptor:$,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var it=a(function(){M.f(1)});i(i.S+i.F*it,"Object",{getOwnPropertySymbols:function(t){return M.f(x(t))}}),A&&i(i.S+i.F*(!J||a(function(){var t=C();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(m(n)||void 0!==t)&&!q(t))return b(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!q(n))return n}),r[1]=n,N.apply(A,r)}}),C.prototype[R]||e(6)(C.prototype,R,C.prototype.valueOf),l(C,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){var r=e(13)("meta"),o=e(7),u=e(2),i=e(3).f,f=0,c=Object.isExtensible||function(){return!0},a=!e(11)(function(){return c(Object.preventExtensions({}))}),s=function(t){i(t,r,{value:{i:"O"+ ++f,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,r)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[r].i},p=function(t,n){if(!u(t,r)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[r].w},y=function(t){return a&&d.NEED&&c(t)&&!u(t,r)&&s(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:y}},function(t,n,e){var r=e(23),o=e(38),u=e(28);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var i,f=e(t),c=u.f,a=0;f.length>a;)c.call(t,i=f[a++])&&n.push(i);return n}},function(t,n,e){var r=e(37);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(8),o=e(39).f,u={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(t){try{return o(t)}catch(t){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==u.call(t)?f(t):o(r(t))}},function(t,n){},function(t,n,e){e(27)("asyncIterator")},function(t,n,e){e(27)("observable")},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(82),u=r(o),i=e(86),f=r(i),c=e(33),a=r(c);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+(void 0===n?"undefined":(0,a.default)(n)));t.prototype=(0,f.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(u.default?(0,u.default)(t,n):t.__proto__=n)}},function(t,n,e){t.exports={default:e(83),__esModule:!0}},function(t,n,e){e(84),t.exports=e(0).Object.setPrototypeOf},function(t,n,e){var r=e(5);r(r.S,"Object",{setPrototypeOf:e(85).set})},function(t,n,e){var r=e(7),o=e(10),u=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(30)(Function.call,e(40).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return u(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:u}},function(t,n,e){t.exports={default:e(87),__esModule:!0}},function(t,n,e){e(88);var r=e(0).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){var r=e(5);r(r.S,"Object",{create:e(22)})},function(t,n){t.exports=React},function(t,n){t.exports=Morph.modules["bbc-morph-comments-view@3.56.1"]}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-cps-story@2.19.38"]={"@babel/plugin-proposal-class-properties":"7.10.4","bbc-morph-classnames":"1.0.2","bbc-morph-comments-wrapper":"1.4.0","bbc-morph-gel-icons":"5.0.5","bbc-morph-gnl-advert":"1.0.5","bbc-morph-gnl-smp-adverts":"1.1.0","bbc-morph-grandstand":"5.4.3","bbc-morph-gs-section-tag":"3.1.0","bbc-morph-gs-timestamp":"2.2.5","bbc-morph-hearken":"1.0.3","bbc-morph-indepthtoolkit2":"1.0.3","bbc-morph-lazysizes":"1.0.1","bbc-morph-media-app-bridge-integration":"3.0.2","bbc-morph-newsround-riddle":"5.1.2","bbc-morph-quizimodo":"1.19.15","bbc-morph-responsive-image-srcset":"3.0.1","bbc-morph-slideshow-bob":"2.0.0","bbc-morph-smp":"6.4.0","bbc-morph-sport-football-match-info-collection":"2.1.2","bbc-morph-sport-football-scores-oppm":"4.2.5","bbc-morph-sport-football-table-oppm":"1.0.13","bbc-morph-sport-player-rater-view":"4.0.5","bbc-morph-sport-promos":"5.0.2","bbc-morph-sport-ranked-list":"3.1.1","bbc-morph-sport-social-media-embed":"2.3.2","bbc-morph-sport-tables":"3.6.2","bbc-morph-sport-uas-service":"2.1.1","bbc-morph-team-selector-football":"3.1.0","bbc-morph-telescope":"2.1.1","core-js":"3.6.5","morph":"5.3.1","morph-logger":"1.6.1","morph-react-graphql":"2.3.85","morph-require":"5.2.1","react":"0.14.7"}; !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=97)}([function(e,t){e.exports=React},function(e,t,r){"use strict";t.a=function(e,t){if(!e||0===e.length)return!1;var r=e.find((function(e){return e.name===t}));return!(!r||!r.active)&&r.active}},function(e,t){e.exports=Morph.modules["bbc-morph-sport-promos@5.0.2"]},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-cps-story@2.19.38",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-cps-story@2.19.38",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-cps-story@2.19.38",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-cps-story@2.19.38",e,t,!0)}}},function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")()}).call(this,r(20))},function(e,t){e.exports=Morph.modules["morph-react-graphql@2.3.85"]},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(8);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=Morph.modules["bbc-morph-responsive-image-srcset@3.0.1"]},function(e,t){e.exports=Morph.modules["bbc-morph-gel-icons@5.0.5"]},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(11),a=r.n(i),s=r(61),p=r.n(s),c={rightHandSideBetween:[{type:"mpu",groups:[4],classes:"bbccom_standard_slot qa-advert"},{type:"native",groups:[1,2,3,4]},{type:"outbrain_ar_1",groups:[1,2,3,4],classes:"bbccom_outbrain_slot"},{type:"inread",groups:[1,2,3,4]},{type:"adsense",groups:[1,2,3,4],classes:"bbccom_adsense_slot bbccom_shut"}],rightHandSideBottom:[{type:"mpu_bottom",groups:[1,2,3,4],classes:"bbccom_standard_slot"}],body:[{type:"mpu",groups:[1,2,3],classes:"bbccom_standard_slot mpu_first_slot"}]},u=r(1);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var f=function(e){var t=e.isUk,r=e.type,n=e.featureToggles,i=e.allowAdvertising;return Object(u.a)(n,"cps-story-body-adverts")&&"true"===i&&!t?o.a.createElement("div",{className:a()({"gs-u-mb+ gs-u-mb0@l":"rightHandSideBetween"===r})},c[r].map((function(e,t){return o.a.createElement(p.a,l({key:"".concat(r,"-").concat(t)},e))}))):o.a.createElement("noscript",null)};f.propTypes={isUk:n.PropTypes.bool.isRequired,featureToggles:n.PropTypes.shape([]).isRequired,allowAdvertising:n.PropTypes.string.isRequired,type:n.PropTypes.string.isRequired};t.a=f},function(e,t,r){var n=r(7),o=r(15),i=r(31);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(7),o=r(36),i=r(16),a=r(35),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=a(t,!0),i(r),o)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(12);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(9),a=r.n(i),s=function(e){var t=e.thumbnail,r=e.isPullOutBoxContributor;return t?o.a.createElement(a.a,{className:"qa-contributor-image ".concat(r?"story-contributor__image--quotebox":"story-contributor__image"),src:t,alt:"",sizes:"64px",chefSizes:[64,128],srcsetMode:"x",width:64}):o.a.createElement("noscript",null)};s.propTypes={thumbnail:n.PropTypes.string,isPullOutBoxContributor:n.PropTypes.bool},s.defaultProps={thumbnail:null,isPullOutBoxContributor:!1};var p=function(e){var t=e.contributor,r=e.isPullOutBoxContributor;if(!t)return o.a.createElement("noscript",null);var n=t.name,i=t.title,a=t.thumbnail;return o.a.createElement("div",{className:"qa-story-contributor story-contributor gs-u-mb-alt+"},o.a.createElement(s,{thumbnail:a,name:n,isPullOutBoxContributor:r}),o.a.createElement("div",{className:"story-contributor__body ".concat(a?"gs-u-pl":"")},o.a.createElement("span",{className:"qa-contributor-name ".concat(r?"gel-long-primer-bold":"gel-long-primer")},n),o.a.createElement("span",{className:"qa-contributor-title ".concat(r?"gel-brevier":"gel-long-primer-bold")},i)))};p.propTypes={contributor:n.PropTypes.shape({name:n.PropTypes.string.isRequired,title:n.PropTypes.string.isRequired,thumbnail:n.PropTypes.string}),isPullOutBoxContributor:n.PropTypes.bool},p.defaultProps={contributor:null,isPullOutBoxContributor:!1},t.a=p},function(e,t){e.exports=Morph.modules["bbc-morph-lazysizes@1.0.1"]},function(e,t,r){var n=r(4),o=r(30).f,i=r(14),a=r(71),s=r(22),p=r(75),c=r(81);e.exports=function(e,t){var r,u,l,f,m,d=e.target,y=e.global,h=e.stat;if(r=y?n:h?n[d]||s(d,{}):(n[d]||{}).prototype)for(u in t){if(f=t[u],l=e.noTargetGet?(m=o(r,u))&&m.value:r[u],!c(y?u:d+(h?".":"#")+u,e.forced)&&void 0!==l){if(typeof f==typeof l)continue;p(f,l)}(e.sham||l&&l.sham)&&i(f,"sham",!0),a(r,u,f,e)}}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(32),o=r(34);e.exports=function(e){return n(o(e))}},function(e,t,r){var n=r(4),o=r(14);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},function(e,t){e.exports={}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){var n=r(50),o=r(87),i=r(15),a=n("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,r){var n=r(7),o=r(8),i=r(6),a=Object.defineProperty,s={},p=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var r=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,u=i(t,0)?t[0]:p,l=i(t,1)?t[1]:void 0;return s[e]=!!r&&!o((function(){if(c&&!n)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:p}):e[1]=1,r.call(e,u,l)}))}},function(e,t,r){var n=r(4),o=r(49),i=Function.call;e.exports=function(e,t,r){return o(i,n[e].prototype[t],r)}},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var n=r(60),o=r.n(n),i=function(){return Boolean(void 0!==e.window&&e.window.bbcdotcom&&e.window.bbcdotcom.config&&e.window.bbcdotcom.config.isAdsEnabled&&e.window.bbcdotcom.config.isAdsEnabled())},a=function(e){o.a.load().then((function(t){t&&t.addSmpPlugin(e.settings().domid,e)}))}}).call(this,r(20))},function(e,t,r){"use strict";r.d(t,"a",(function(){return n.a})),r.d(t,"b",(function(){return b}));var n=r(17),o=r(0),i=r.n(o),a=r(55),s=r.n(a),p=r(56),c=r.n(p),u=r(10),l=r.n(u),f=function(e){var t=e.commentsToggle,r=e.comments,n=e.isApp,o=e.commentsCount;return t&&r&&!n?i.a.createElement("span",{className:"comments-icon"},i.a.createElement("span",{className:"gs-o-bullet gs-u-pr gs-u-mr"},i.a.createElement("span",{className:"gs-o-bullet__icon gel-icon",style:{height:"15px",width:"15px"}},i.a.createElement("a",{className:"icon-scroll",onClick:function(){return document.getElementById("view-comments").scrollIntoView({behavior:"smooth"})}},i.a.createElement(l.a,{iconName:"comments",iconOnly:!0}))),i.a.createElement("span",{className:"gs-o-bullet__text comments-tag__text"},o))):i.a.createElement("noscript",null)};f.propTypes={commentsToggle:o.PropTypes.bool.isRequired,comments:o.PropTypes.bool.isRequired,isApp:o.PropTypes.bool.isRequired,commentsCount:o.PropTypes.number.isRequired};var m=f,d=r(1);function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var h=function(e){var t=e.allowDateStamp,r=e.dateTimeInfo,n=e.section,o=e.comments,a=e.commentsCount,p=e.isApp,u=e.featureToggles,l={item:{sectionUrl:n.path,sectionName:n.name},classNames:["gs-u-pr","gs-u-mr"]},f={commentsToggle:Object(d.a)(u,"cps-story-comments"),commentsCount:a,comments:o,isApp:p};return i.a.createElement("p",{className:"story-info gel-brevier gs-u-pb+ gs-u-mb-alt+ gs-u-mv+ gs-u-display-flex"},t?i.a.createElement("span",{className:"gs-u-pr gs-u-mr"},i.a.createElement("span",{className:"gs-u-vh"},"Last updated on "),i.a.createElement(s.a,y({className:["story-info__timestamp","qa-timestamp"]},r)),i.a.createElement("span",{className:"gs-u-vh"},".")):null,i.a.createElement(c.a,y({className:"story-info__section-tag"},l)),i.a.createElement(m,f))};h.propTypes={allowDateStamp:o.PropTypes.string.isRequired,dateTimeInfo:o.PropTypes.shape({dateTime:o.PropTypes.string,onScreenDateTime:o.PropTypes.string.isRequired,offScreenDateTime:o.PropTypes.string.isRequired}).isRequired,section:o.PropTypes.shape({name:o.PropTypes.string.isRequired,path:o.PropTypes.string.isRequired}).isRequired,comments:o.PropTypes.bool.isRequired,commentsCount:o.PropTypes.bool.isRequired,isApp:o.PropTypes.bool.isRequired,items:o.PropTypes.shape({body:o.PropTypes.shape({})}).isRequired,featureToggles:o.PropTypes.shape([]).isRequired};var b=h},function(e,t,r){var n=r(7),o=r(70),i=r(31),a=r(21),s=r(35),p=r(6),c=r(36),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(p(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(8),o=r(33),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(12);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(7),o=r(8),i=r(37);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(4),o=r(12),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){var n=r(39),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},function(e,t,r){var n=r(4),o=r(22),i=n["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,r){var n=r(41),o=r(42),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,r){var n=r(74),o=r(39);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},function(e,t,r){var n=r(77),o=r(4),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},function(e,t,r){var n=r(6),o=r(21),i=r(45).indexOf,a=r(23);e.exports=function(e,t){var r,s=o(e),p=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;t.length>p;)n(s,r=t[p++])&&(~i(c,r)||c.push(r));return c}},function(e,t,r){var n=r(21),o=r(46),i=r(79),a=function(e){return function(t,r,a){var s,p=n(t),c=o(p.length),u=i(a,c);if(e&&r!=r){for(;c>u;)if((s=p[u++])!=s)return!0}else for(;c>u;u++)if((e||u in p)&&p[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,r){var n=r(47),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(49),o=r(32),i=r(83),a=r(46),s=r(84),p=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,u=4==e,l=6==e,f=5==e||l;return function(m,d,y,h){for(var b,g,v=i(m),T=o(v),P=n(d,y,3),E=a(T.length),x=0,O=h||s,q=t?O(m,E):r?O(m,0):void 0;E>x;x++)if((f||x in T)&&(g=P(b=T[x],x,v),e))if(t)q[x]=g;else if(g)switch(e){case 3:return!0;case 5:return b;case 6:return x;case 2:p.call(q,b)}else if(u)return!1;return l?-1:c||u?u:q}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(e,t,r){var n=r(82);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(4),o=r(41),i=r(6),a=r(42),s=r(51),p=r(86),c=o("wks"),u=n.Symbol,l=p?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)||(s&&i(u,e)?c[e]=u[e]:c[e]=l("Symbol."+e)),c[e]}},function(e,t,r){var n=r(8);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(e,t){e.exports=Morph},function(e,t,r){"use strict";(function(e){var n=r(0),o=r.n(n),i=r(54),a=r.n(i),s=r(29),p=r(66),c=r(62),u=r(64);function l(e){return(l="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)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=b(e);if(t){var o=b(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(h,t);var r,n,i,l=y(h);function h(){return f(this,h),l.apply(this,arguments)}return r=h,(n=[{key:"componentWillMount",value:function(){a()("latin")}},{key:"componentDidMount",value:function(){e.window.performance.mark("cps-story-loaded");var t=this.props,r=t.path,n=t.isApp,o=t.featureToggles;Object(u.a)({path:r,isApp:n,featureToggles:o})}},{key:"render",value:function(){var e=this.props,t=e.article,r=t.allowAdvertising,n=t.allowHeadline,i=t.headline,a=t.body,u=t.contributor,l=t.allowDateStamp,f=t.dateTimeInfo,m=t.media,d=t.section,y=t.assetId,h=t.comments,b=t.commentsCount,g=t.commentsApiKey,v=e.env,T=e.isUk,P=e.isApp,E=e.featureToggles,x=e.path,O=e.isOppm,q="__CPS_".concat(y);return o.a.createElement("article",null,o.a.createElement("header",null,n?o.a.createElement("h1",{className:"gel-trafalgar-bold qa-story-headline gs-u-mv+"},i):null,o.a.createElement(s.a,{contributor:u}),o.a.createElement(s.b,{allowDateStamp:l,dateTimeInfo:f,section:d,comments:h,forumId:q,commentsCount:b,isApp:P,featureToggles:E})),o.a.createElement(p.a,{paddingClass:!h||P?" gs-u-pb++":"",bodyItems:JSON.parse(a),media:m,isUk:T,isApp:P,featureToggles:E,path:x,allowAdvertising:r,isOppm:O}),h&&!P?o.a.createElement("div",{id:"view-comments",className:"comments gs-u-mv+ gel-10/12@m gel-7/8@l gs-u-ml0@l"},o.a.createElement(c.a,{forumId:q,env:v,featureToggles:E,commentsApiKey:g})):null)}}])&&m(r.prototype,n),i&&m(r,i),h}(n.Component);g.propTypes={article:o.a.PropTypes.shape({allowAdvertising:n.PropTypes.bool.isRequired,headline:n.PropTypes.string.isRequired,allowHeadline:n.PropTypes.string.isRequired,assetId:n.PropTypes.string.isRequired,body:n.PropTypes.string.isRequired,commentsApiKey:n.PropTypes.string.isRequired,comments:n.PropTypes.bool.isRequired,commentsCount:n.PropTypes.number.isRequired,contributor:n.PropTypes.shape({name:n.PropTypes.string.isRequired,title:n.PropTypes.string.isRequired,thumbnail:n.PropTypes.string}),allowDateStamp:n.PropTypes.string.isRequired,dateTimeInfo:n.PropTypes.shape({dateTime:n.PropTypes.string,onScreenDateTime:n.PropTypes.string.isRequired,offScreenDateTime:n.PropTypes.string.isRequired}).isRequired,media:n.PropTypes.arrayOf(n.PropTypes.shape({id:n.PropTypes.string.isRequired,href:n.PropTypes.string.isRequired,iChefHref:n.PropTypes.string.isRequired,altText:n.PropTypes.string.isRequired})),section:n.PropTypes.shape({name:n.PropTypes.string.isRequired,path:n.PropTypes.string.isRequired}).isRequired}),env:n.PropTypes.string.isRequired,isUk:n.PropTypes.bool.isRequired,isApp:n.PropTypes.bool.isRequired,featureToggles:n.PropTypes.shape({}).isRequired,path:n.PropTypes.string.isRequired,isOppm:n.PropTypes.bool.isRequired},g.defaultProps={article:null},t.a=g}).call(this,r(20))},function(e,t){e.exports=Morph.modules["bbc-morph-grandstand@5.4.3"]},function(e,t){e.exports=Morph.modules["bbc-morph-gs-timestamp@2.2.5"]},function(e,t){e.exports=Morph.modules["bbc-morph-gs-section-tag@3.1.0"]},function(e,t){e.exports=Morph.modules["morph-logger@1.6.1"]},function(e,t){e.exports=Morph.modules["bbc-morph-smp@6.4.0"]},function(e,t){e.exports=Morph.modules["bbc-morph-media-app-bridge-integration@3.0.2"]},function(e,t){e.exports=Morph.modules["bbc-morph-gnl-smp-adverts@1.1.0"]},function(e,t){e.exports=Morph.modules["bbc-morph-gnl-advert@1.0.5"]},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(63),a=r.n(i);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p=function(e){var t=e.forumId,r=e.env,n=e.featureToggles,i=e.commentsApiKey,p=n.find((function(e){return"cps-story-comments"===e.name}));if(!p||!p.active)return o.a.createElement("noscript",null);var c={idctaEnv:r,mode:"embedded",signInContext:"sport",initialView:"button"};return o.a.createElement(a.a,s({apiKey:i,toggleOverrides:"ratings:on,downRatings:on,liveUpdate:on,sort:on,replies:on",forumId:t},c))};p.propTypes={forumId:n.PropTypes.string.isRequired,env:n.PropTypes.string.isRequired,featureToggles:n.PropTypes.shape([]).isRequired,commentsApiKey:n.PropTypes.string.isRequired},t.a=p},function(e,t){e.exports=Morph.modules["bbc-morph-comments-wrapper@1.4.0"]},function(e,t,r){"use strict";var n=r(65),o=r(1);t.a=function(e){var t=e.path,r=e.isApp,i=e.featureToggles,a=Object(o.a)(i,"uasServiceCalls");return setTimeout((function(){return n.postWithFeatureToggle(a,{path:t,activityType:"reads",action:"read",resourceId:"urn:bbc:content:assetUri:asset:".concat(encodeURIComponent(t)),resourceType:"article",isApp:r,isLive:!1})}),3e3)}},function(e,t){e.exports=Morph.modules["bbc-morph-sport-uas-service@2.1.1"]},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=function(e){var t=e.item.children;return o.a.createElement("h3",{className:"story-body__crosshead"},t[0].text)};i.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array)}).isRequired};var a=i,s=function(e){var t=e.item.children;return o.a.createElement("h2",{className:"story-body__heading"},t[0].text)};s.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array)}).isRequired};var p=s,c=function(e){var t=e.item.children;return o.a.createElement("em",null,t[0].text)};c.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array)}).isRequired};var u=c,l=function(e){var t=e.item.children;return t[0]&&"italic"===t[0].name?o.a.createElement("strong",null,o.a.createElement(u,{item:t[0]})):o.a.createElement("strong",null,t[0]&&t[0].text)};l.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array)}).isRequired};var f=l,m=r(10),d=r.n(m),y=o.a.createElement("span",{className:"gs-u-ml- gel-icon",style:{height:"15px",width:"15px"}},o.a.createElement(d.a,{iconName:"external-link",iconOnly:!0})),h=function(e,t,r,n){var o,i=e.find((function(e){return"url"===e.name})).attributes.find((function(e){return"href"===e.name})).value,a=n?function(e,t){var r=Object({NODE_ENV:"production"}).ENV||Object({NODE_ENV:"production"}).API_ENV||"live",n=t?".co.uk":".com";return"https://www".concat("test"===r?".test":"",".bbc").concat(n).concat(e)}(i,r):i;return t?/^\/sport|bbc(\.co\.uk|\.com)\/sport/.test(o=a)?"".concat(o,".app"):o:a},b=function(e,t){var r=e.find((function(e){return e.name===t}));return r?r.children[0].text:""},g=function(e){var t,r=e.item,n=e.isApp,i=e.isUk,a=e.isMetaItem,s=r.children,p=h(s,n,i,a),c=(t=p).includes("bbc.co")||t.includes("bbc.in"),u=c?"story-body__internal-link":"story-body__external-link",l=a?function(e){return e.attributes&&e.attributes[0]&&e.attributes[0].value||b(e.children,"shortHeadline")}(r):b(s,"caption"),f=b(s,"altText");return o.a.createElement("a",{href:p,className:u,title:f},l,!c&&y)};g.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array)}).isRequired,isApp:n.PropTypes.bool.isRequired,isUk:n.PropTypes.bool.isRequired,isMetaItem:n.PropTypes.bool.isRequired};var v={bold:f,italic:u,link:g},T=function(e){var t=e.item,r=e.parentKey,n=e.isApp,i=e.className;return o.a.createElement("li",{className:i},t.map((function(e,t){var i=v[e.name],a="".concat(r,"-").concat(e.name,"-").concat(t);return i?o.a.createElement(i,{key:a,item:e,isApp:n}):e.text})))};T.propTypes={item:n.PropTypes.instanceOf(Array).isRequired,parentKey:n.PropTypes.string.isRequired,isApp:n.PropTypes.bool.isRequired,className:n.PropTypes.string},T.defaultProps={className:""};var P=T,E={unordered:"ul",ordered:"ol"},x=function(e){var t=e.item,r=t.children,n=t.attributes,i=e.isApp,a=e.pullOutList,s=E[n[0].value];return o.a.createElement(s,{className:a&&"include-box__pullout_list"},r.map((function(e,t){return o.a.createElement(P,{className:a&&(0===t?"include-box__pullout_list-first-item":"include-box__pullout_list-item"),key:"list-item-".concat(t),item:e.children,isApp:i})})))};x.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array).isRequired,attributes:n.PropTypes.instanceOf(Array).isRequired}).isRequired,isApp:n.PropTypes.bool.isRequired,pullOutList:n.PropTypes.bool.isRequired};var O=x,q={introduction:"qa-introduction gel-pica-bold",footer:"qa-footer footer"},R=function(e){var t=e.item,r=t.children,n=t.attributes,i=void 0===n?[]:n,a=e.isApp,s=i[0]?i[0].value:null,p=q[s]||"";return o.a.createElement("p",{role:s,className:p},r.map((function(e,t){var r=v[e.name],n="".concat(e.name,"-").concat(t);return r?o.a.createElement(r,{key:n,item:e,isApp:a}):e.text})))};R.propTypes={isApp:n.PropTypes.bool.isRequired,item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array).isRequired,attributes:n.PropTypes.instanceOf(Array).isRequired}).isRequired};var _=R,w=function(e){var t=e.item.children;return o.a.createElement("h3",{className:"story-body__subheading"},t[0].text)};w.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array)}).isRequired};var A=w,S=r(3),j=r.n(S),C=r(57),k=r.n(C),N=r(9),I=r.n(N),U=r(11),M=r.n(U),L=function(e){var t=e.children,r=e.caption,n=e.isLead,i=e.type;return o.a.createElement("figure",{className:M()("gs-u-mt0","gs-u-mb-alt+","story-body__media","story-body__media--figure","qa-story-body-media",{"story-body__media--lead":n})},t,o.a.createElement("figcaption",{className:"gel-brevier gs-u-ph+ gs-u-pv-alt story-body__media__caption story-body__media__caption--".concat(i)},r))};L.propTypes={caption:n.PropTypes.string.isRequired,children:n.PropTypes.element.isRequired,isLead:n.PropTypes.bool,type:n.PropTypes.string},L.defaultProps={isLead:!1,type:"image"};var D=L,H=function(e,t){return M()("gs-u-display-block","story-body__media",{"gs-u-mb-alt+":!e,"qa-story-body-media":!e,"story-body__media--lead":t&&!e})},z=function(e){var t=e.caption,r=e.isLead,n=e.ratio,i=e.children;return o.a.createElement("span",{className:H(t,r)},o.a.createElement("span",{className:"gs-u-display-block gs-o-responsive-image",style:{paddingBottom:"".concat(n,"%")}},i))};z.propTypes={caption:n.PropTypes.string,isLead:n.PropTypes.bool,ratio:n.PropTypes.number,children:n.PropTypes.element.isRequired},z.defaultProps={caption:null,isLead:!1,ratio:56.25};var B=z,F=function(e){var t=e.iChefHref,r=e.altText,n=e.caption,i=e.ratio,a=e.isLead;return o.a.createElement(B,{caption:n,isLead:a,ratio:i},o.a.createElement(I.a,{src:t,alt:r,chefSizes:[400,624,800,976],sizes:"(min-width: 1280px) 800px, (min-width: 900px) 624px, (min-width: 600px) 976px, (min-width: 400px) 624px, 400px",width:624}))},K=function(e){var t=e.item.imageData,r=t.caption,n=t.isLead;return r?o.a.createElement(D,{caption:r,isLead:n},o.a.createElement(F,t)):o.a.createElement(F,t)};K.propTypes={item:n.PropTypes.shape({imageData:n.PropTypes.shape({iChefHref:n.PropTypes.string,altText:n.PropTypes.string,caption:n.PropTypes.string,ratio:n.PropTypes.number,isLead:n.PropTypes.bool})}).isRequired},F.propTypes={iChefHref:n.PropTypes.string.isRequired,altText:n.PropTypes.string.isRequired,caption:n.PropTypes.string,ratio:n.PropTypes.number.isRequired,isLead:n.PropTypes.bool},F.defaultProps={caption:null,isLead:!1};var V=K,W=function(e){return e&&e.text?e.text:""},Q=function(e,t){return Array.isArray(e)?e.filter((function(e){return e.name===t}))[0]:null},G=function(e,t,r,n){var i,a="";try{e.children.length&&(a=e.children.map((function(e){if("list"===(i=e.name))return function(e,t){var r=e.attributes[0].value,n=e.children.map((function(e,r){var n="";if("comment"===e.children[0].name){var i=e.children[1].name,a=v.link;n=o.a.createElement(a,{item:e.children[1],isUk:t,isMetaItem:"itemMeta"===i})}else n=e.children[0].text;return o.a.createElement("li",{key:r},n)}));return"unordered"===r?o.a.createElement("ul",null,n):o.a.createElement("ol",null,n)}(e,r);if("image"===i)return function(e,t){var r=t.filter((function(t){return t.id===e}))[0];if(r){var n=r.altText,i=r.iChefHref;return o.a.createElement(V,{item:{imageData:{iChefHref:i,altText:n}}})}return o.a.createElement("noscript",null)}(e.attributes[0].value,t);if("paragraph"===i&&e.children.length)return e.children.reduce((function(e,t){if(t.children.length||t.text){var n=t.name;if(v[n]||"itemMeta"===n){var i="itemMeta"===n?v.link:v[n];e.push(o.a.createElement(i,{item:t,isUk:r,isMetaItem:"itemMeta"===n}))}"text"===n&&e.push(W(t))}return e}),[]);var a="paragraph"===i?"Malformed paragraph on path ".concat(n):"Unknown cellType on path ".concat(n,": ").concat(i);throw new Error(a)})))}catch(e){k.a.error(e.message)}return{text:a}},$=function(e){var t=e.item.children,r=e.media,n=e.isUk,i=e.path,a="header"===t[0].children[0].name,s=[];a&&(s=[{cells:t[0].children.map((function(e){var t=Q(e.children,"paragraph"),r=t&&function(e){var t=!1;return{headerText:e.children&&e.children.map((function(e){var r=e.name,n=v[r];return n?(t=!0,o.a.createElement(n,{item:e})):"text"===r&&W(e)||""})),isMixedStyle:t}}(t)||{headerText:"",isMixedStyle:!1},n=r.headerText,i=r.isMixedStyle,a=Q(e.attributes,"column-span"),s=i?"table__header--mixed":"table__header--bold";return{th:{text:n||"",colspan:a&&a.value||1,styles:s}}}))}]);var p=t.slice(a?1:0).map((function(e){return{cells:e.children.map((function(e){var t=G(e,r,n,i);return{td:{text:t.text,styles:t.styles}}}))}})),c=j.a.transitiveThenUpdate("bbc-morph-sport-tables"),u={headings:s,rows:p,styles:{table:"story-body__table"}};return o.a.createElement(c,u)};$.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array).isRequired}).isRequired,media:n.PropTypes.instanceOf(Array).isRequired,isUk:n.PropTypes.bool.isRequired,path:n.PropTypes.string.isRequired};var J=$;function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var Y=Object(n.createClass)({render:function(){var e=this.props,t=e.href,r=e.isApp,n=function(e){return e.replace("morph://","").split("/").reduce((function(e,t,r,n){return r%2||("view"===t?e[t]=n[r+1]:e.props[t]=n[r+1]),e}),{props:{}})}(t),i=n.view,a=n.props;if("bbc-morph-lx-ivote"===i)return o.a.createElement("noscript",null);"bbc-morph-sport-social-media-embed"===i&&(a.url=decodeURIComponent(a.url),a.nopal=!0);try{var s=j.a.transitiveThenUpdate(i);return s?o.a.createElement(s,X({},a,{isApp:r})):o.a.createElement("noscript",null)}catch(e){return o.a.createElement("noscript",null)}}});Y.propTypes={isApp:n.PropTypes.bool.isRequired,href:n.PropTypes.string.isRequired};var Z=Y,ee=r(1),te=Object(n.createClass)({render:function(){var e=this.props,t=e.href,r=e.featureToggles,n=e.isOppm,i=t.includes("riddle"),a=t.includes("idt2"),s=t.includes("newsspec_14641"),p=t.includes("oppm-body"),c=Object(ee.a)(r,"cps-story-hearken-include"),u=Object(ee.a)(r,"cps-story-match-stats-include");if(i){var l=t.match(/\d+/g)[0],f=j.a.transitiveThenUpdate("bbc-morph-newsround-riddle");return f?o.a.createElement(f,{riddleid:l}):o.a.createElement("noscript",null)}if(a){var m=t.split("/idt2/")[1],d=j.a.transitiveThenUpdate("bbc-morph-indepthtoolkit2");return d?o.a.createElement(d,{id:m}):o.a.createElement("noscript",null)}if(c&&s){var y=t.split("/newsspec_14641/")[1],h=j.a.transitiveThenUpdate("bbc-morph-hearken");return h?o.a.createElement(h,{queryString:y}):o.a.createElement("noscript",null)}if(n&&p&&u){var b=t.split("?match=")[1],g=j.a.transitiveThenUpdate("bbc-morph-sport-football-match-info-collection");return g?o.a.createElement(g,{event:b}):o.a.createElement("noscript",null)}return o.a.createElement("noscript",null)}});te.propTypes={href:n.PropTypes.string.isRequired};var re=te,ne=function(e){var t=e.featureToggles,r=e.item.children,n=e.isApp,i=e.isOppm,a=Object(ee.a)(t,"cps-story-morph-include"),s=Object(ee.a)(t,"cps-story-3rd-party-include"),p=function(e){return e.find((function(e){return"path"===e.name})).attributes.find((function(e){return"href"===e.name})).value}(r),c=p.includes("morph://");return a&&c?o.a.createElement("div",{className:"gs-u-mv+ story-body__includes"},o.a.createElement(Z,{href:p,isApp:n})):s?o.a.createElement("div",{className:i?"story-body__includes-oppm":"story-body__includes"},o.a.createElement(re,{href:p,featureToggles:t,isOppm:i})):o.a.createElement("noscript",null)};Z.propTypes={href:n.PropTypes.string.isRequired},re.propTypes={href:n.PropTypes.string.isRequired},ne.propTypes={item:n.PropTypes.shape({children:n.PropTypes.shape([])}).isRequired,isApp:n.PropTypes.bool.isRequired,featureToggles:n.PropTypes.shape([]).isRequired,isOppm:n.PropTypes.bool.isRequired};var oe=ne,ie=r(17),ae=function(e){var t=e.featureToggles,r=e.item.children;if(!Object(ee.a)(t,"cps-story-quote-box"))return o.a.createElement("noscript",null);var n=r.find((function(e){return"quote"===e.name})),i=n.children.find((function(e){return"quoteSource"===e.name})),a=i&&i.attributes[0]?i.attributes[0].value:"",s=i&&i.children[0]?i.children[0].text:"";return o.a.createElement("aside",{className:"include-box"},o.a.createElement("blockquote",{className:"sp-pull-quote"},o.a.createElement(se,{item:n}),o.a.createElement("footer",{className:"sp-pull-quote__cite gel-brevier"},o.a.createElement("cite",{className:"sp-pull-quote__cite-name gel-long-primer-bold"},s),o.a.createElement("span",{className:"sp-pull-quote__cite-profession gel-brevier"},a))))},se=function(e){var t=e.item.children.find((function(e){return"quoteText"===e.name}));if(!t)return o.a.createElement("noscript",null);var r=t.children[0].text;return o.a.createElement("div",null,o.a.createElement("div",{className:"sp-pull-quote__icon"},o.a.createElement(d.a,{iconName:"quote",iconOnly:!0})),o.a.createElement("div",{className:"sp-pull-quote__body"},o.a.createElement("em",{className:"gel-double-pica"},r)))};se.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array).isRequired}).isRequired},ae.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array).isRequired}).isRequired,featureToggles:n.PropTypes.instanceOf(Array).isRequired};var pe=ae,ce=function(e,t){var r=e.find((function(e){return e.name===t}));return r?r.value:""},ue=function(e){var t,r=e.media,n=e.item.attributes.find((function(e){return"id"===e.name})).value,i=(t=n,r.find((function(e){return e.id===t}))),a=i.altText,s=i.iChefHref;return o.a.createElement(I.a,{className:"qa-pull-out-image include-box__pullout_image",src:s,alt:a,sizes:"160px",chefSizes:[160,320],srcsetMode:"x",width:160})},le=function(e){var t=e.item,r=t.children,n=t.attributes,i={name:ce(n,"name"),title:ce(n,"title"),thumbnail:ce(r[0].attributes,"thumbnail")};return o.a.createElement(ie.a,{contributor:i,isPullOutBoxContributor:!0})},fe=function(e){var t=e.item,r=e.media;return o.a.createElement("div",{className:"qa-pull-out-table include-box__pullout_table"},o.a.createElement(J,{item:t,media:r}))},me=function(e){var t=e.title,r=e.hasContributor;return t?o.a.createElement("h2",{className:"pull-out-title-qa include-box__pullout_heading gel-great-primer-bold ".concat(r?"":"include-box__pullout_heading_no_contributor")},t):o.a.createElement("noscript",null)},de=function(e){var t=e.item;return o.a.createElement(se,{item:t})};me.propTypes={title:n.PropTypes.string,hasContributor:n.PropTypes.bool},me.defaultProps={title:"",hasContributor:!1},fe.propTypes={item:n.PropTypes.shape({}).isRequired,media:n.PropTypes.shape({}).isRequired},le.propTypes={item:n.PropTypes.shape({attributes:n.PropTypes.instanceOf(Array).isRequired,children:n.PropTypes.instanceOf(Array).isRequired}).isRequired},ue.propTypes={media:n.PropTypes.shape({altText:n.PropTypes.string,href:n.PropTypes.string}).isRequired,item:n.PropTypes.shape({attributes:n.PropTypes.instanceOf(Array)}).isRequired},de.propTypes={item:n.PropTypes.shape({}).isRequired};var ye={image:ue,list:O,paragraph:_,table:fe,byline:le,title:me,quote:de},he=function(e){var t=e.media,r=e.featureToggles,n=e.item,i=n.attributes,a=n.children;if(!Object(ee.a)(r,"cps-story-pull-outs"))return o.a.createElement("noscript",null);var s=i.find((function(e){return"title"===e.name})).value,p=ye.title,c=a.find((function(e){return"image"===e.name})),u=ye.image;return o.a.createElement("aside",{className:"include-box"},c?o.a.createElement(u,{media:t,item:c}):o.a.createElement("noscript",null),o.a.createElement("div",{className:"include-box__pullout"},o.a.createElement(p,{title:s,hasContributor:a.find((function(e){return"byline"===e.name}))}),a.filter((function(e){return"image"!==e.name})).map((function(e,r){var n=e.name,i=ye[n];return i?o.a.createElement(i,{pullOutList:"list"===n,key:"".concat(e.name,"-").concat(r),item:e,media:t}):o.a.createElement("noscript",null)}))))};he.propTypes={item:n.PropTypes.shape({attributes:n.PropTypes.instanceOf(Array).isRequired,children:n.PropTypes.instanceOf(Array).isRequired}).isRequired,media:n.PropTypes.instanceOf(Array).isRequired,featureToggles:n.PropTypes.instanceOf(Array).isRequired};var be={crosshead:a,heading:p,list:O,paragraph:_,subheading:A,table:J,include:oe,pullOut:he,quoteBox:pe},ge=r(58),ve=r.n(ge),Te=r(59),Pe=r.n(Te);function Ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(r),!0).forEach((function(t){Oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qe={position:"absolute",top:0,right:0,bottom:0,left:0,zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center"},Re={connected:xe({},qe),casting:xe(xe({},qe),{},{backgroundColor:"rgba(0, 0, 0, 0.7)"})},_e=o.a.createElement("svg",{width:"128",height:"128",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o.a.createElement("g",{fill:"none",fillRule:"evenodd"},o.a.createElement("path",{d:"M1 18v3h3a3 3 0 0 0-3-3zm0-4v2a5 5 0 0 1 5 5h2a7 7 0 0 0-7-7zm18-7H5v1.6C9 10 12 13 13.4 17H19V7zM1 10v2c5 0 9 4 9 9h2c0-6-5-11-11-11zm20-7H3a2 2 0 0 0-2 2v3h2V5h18v14h-7v2h7a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z",fill:"#fff"}),o.a.createElement("path",{d:"M0 0h24v24H0z"}))),we=function(e){var t=e.casting,r=e.connected,n=e.onClick;if(r){var i=t?"Open cast controls":"Cast";return o.a.createElement("div",{className:"qa-cast-overlay",role:"button",tabIndex:0,onClick:n,onKeyDown:n,style:t?Re.casting:Re.connected,"aria-label":i},t?_e:null)}return o.a.createElement("noscript",null)};we.propTypes={casting:n.PropTypes.bool.isRequired,connected:n.PropTypes.bool.isRequired,onClick:n.PropTypes.func.isRequired};var Ae=we,Se=r(28);function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ce(e){return(Ce="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)}function ke(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Le(e);if(t){var o=Le(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ue(this,r)}}function Ue(e,t){return!t||"object"!==Ce(t)&&"function"!=typeof t?Me(e):t}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var He=function(e,t,r){var n=e.title,o=e.guidance,i=e.live,a=e.vpid,s=e.iChefImage,p=e.advertisingAllowed,c=e.isUk,u=e.isApp,l={vpid:a},f=!c&&p&&Object(Se.a)(),m=function(){return{vpid:a,ichefUrl:s,guidance:o,live:i,title:n}};return{appName:"sport",appType:"responsive",autoplay:!1,playlistObject:{items:f?[{kind:"advert"},l]:[l],holdingImageURL:s},onPlayerLoaded:function(e){!function(e){f&&Object(Se.b)(e)}(e),function(e){if(u){var n=Pe()(e,m,t);r(n)}}(e)},product:"sport",responsive:!0,superResponsive:!0}},ze=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ne(e,t)}(a,e);var t,r,n,i=Ie(a);function a(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),De(Me(e=i.call(this)),"updateChromeCastState",(function(t){var r=t.castConnected,n=t.castCasting;return e.setState({castConnected:r,castCasting:n})})),De(Me(e),"updateSendToApp",(function(t){var r=t.cast;e.setState({cast:r})})),e.state={castConnected:!1,castCasting:!1,cast:void 0},e}return t=a,(r=[{key:"render",value:function(){var e=this.props,t=e.caption,r=e.isLead,n=this.state,i=n.castCasting,a=n.castConnected,s=n.cast;return o.a.createElement(B,{caption:t,isLead:r},o.a.createElement(ve.a,He(this.props,this.updateChromeCastState,this.updateSendToApp)),o.a.createElement(Ae,{casting:i,connected:a,onClick:s}))}}])&&ke(t.prototype,r),n&&ke(t,n),a}(n.Component),Be=function(e){var t=e.item.videoData,r=e.isUk,n=e.isApp,i=t.caption,a=t.isLead;return i?o.a.createElement(D,{caption:i,isLead:a,type:"video"},o.a.createElement(ze,je({},t,{isUk:r,isApp:n}))):o.a.createElement(ze,je({},t,{isUk:r,isApp:n}))};Be.propTypes={item:n.PropTypes.shape({videoData:n.PropTypes.shape({vpid:n.PropTypes.string,caption:n.PropTypes.string,isLead:n.PropTypes.bool})}).isRequired,isUk:n.PropTypes.bool.isRequired,isApp:n.PropTypes.bool.isRequired},ze.propTypes={caption:n.PropTypes.string,isLead:n.PropTypes.bool,vpid:n.PropTypes.string,iChefImage:n.PropTypes.string,isUk:n.PropTypes.bool.isRequired},ze.defaultProps={vpid:null,isLead:!1,caption:null,iChefImage:null};var Fe=Be,Ke=Object(n.createClass)({render:function(){var e=this.props,t=e.item.children,r=e.featureToggles;if(!Object(ee.a)(r,"cps-story-embeds"))return o.a.createElement("noscript",null);var n=t.find((function(e){return"href"===e.name})).children[0].text;try{var i=j.a.transitiveThenUpdate("bbc-morph-sport-social-media-embed");return i?o.a.createElement(i,{url:n,nopal:!0}):o.a.createElement("noscript",null)}catch(e){return o.a.createElement("noscript",null)}}});Ke.propTypes={item:n.PropTypes.shape({children:n.PropTypes.instanceOf(Array).isRequired}).isRequired,featureToggles:n.PropTypes.shape([]).isRequired};var Ve={image:V,video:Fe,embed:Ke},We=r(13),Qe=function(e){var t,r=e.bodyItems,n=e.media,i=e.isUk,a=e.isApp,s=e.featureToggles,p=e.paddingClass,c=e.allowAdvertising,u=e.isOppm,l=(t=0,function(e){var r="paragraph"===e;return r&&t<3&&(t+=1),r&&2===t});return o.a.createElement("div",{className:"qa-story-body story-body gel-pica gel-10/12@m gel-7/8@l gs-u-ml0@l".concat(p)},r.map((function(e,t){var r=e.name,p=be[r]||Ve[r];if(!p)return null;var f="".concat(r,"-").concat(t);return l(r)?o.a.createElement("div",{key:f},o.a.createElement(p,{item:e,media:n,isUk:i,isApp:a,featureToggles:s,isOppm:u}),o.a.createElement(We.a,{isUk:i,type:"body",allowAdvertising:c,featureToggles:s})):o.a.createElement(p,{key:f,item:e,media:n,isUk:i,isApp:a,featureToggles:s,isOppm:u})})))};Qe.propTypes={bodyItems:n.PropTypes.instanceOf(Array).isRequired,allowAdvertising:n.PropTypes.bool.isRequired,isUk:n.PropTypes.bool.isRequired,isApp:n.PropTypes.bool.isRequired,featureToggles:n.PropTypes.shape([]).isRequired,media:n.PropTypes.arrayOf(n.PropTypes.shape({id:n.PropTypes.string.isRequired,href:n.PropTypes.string.isRequired,iChefHref:n.PropTypes.string.isRequired,altText:n.PropTypes.string.isRequired})).isRequired,paddingClass:n.PropTypes.string.isRequired,isOppm:n.PropTypes.bool.isRequired};t.a=Qe},function(e,t,r){var n=r(68);e.exports=n},function(e,t,r){r(69);var n=r(27);e.exports=n("Array","find")},function(e,t,r){"use strict";var n=r(19),o=r(48).find,i=r(25),a=r(26),s=!0,p=a("find");"find"in[]&&Array(1).find((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!p},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,r){var n=r(4),o=r(14),i=r(6),a=r(22),s=r(38),p=r(72),c=p.get,u=p.enforce,l=String(String).split("String");(e.exports=function(e,t,r,s){var p=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),u(r).source=l.join("string"==typeof t?t:"")),e!==n?(p?!f&&e[t]&&(c=!0):delete e[t],c?e[t]=r:o(e,t,r)):c?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(e,t,r){var n,o,i,a=r(73),s=r(4),p=r(12),c=r(14),u=r(6),l=r(40),f=r(23),m=s.WeakMap;if(a){var d=new m,y=d.get,h=d.has,b=d.set;n=function(e,t){return b.call(d,e,t),t},o=function(e){return y.call(d,e)||{}},i=function(e){return h.call(d,e)}}else{var g=l("state");f[g]=!0,n=function(e,t){return c(e,g,t),t},o=function(e){return u(e,g)?e[g]:{}},i=function(e){return u(e,g)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!p(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){var n=r(4),o=r(38),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t){e.exports=!1},function(e,t,r){var n=r(6),o=r(76),i=r(30),a=r(15);e.exports=function(e,t){for(var r=o(t),s=a.f,p=i.f,c=0;c<r.length;c++){var u=r[c];n(e,u)||s(e,u,p(t,u))}}},function(e,t,r){var n=r(43),o=r(78),i=r(80),a=r(16);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},function(e,t,r){var n=r(4);e.exports=n},function(e,t,r){var n=r(44),o=r(24).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){var n=r(47),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(8),o=/#|\.prototype\./,i=function(e,t){var r=s[a(e)];return r==c||r!=p&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},p=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,r){var n=r(34);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(12),o=r(85),i=r(50)("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},function(e,t,r){var n=r(33);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(51);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){var n,o=r(16),i=r(88),a=r(24),s=r(23),p=r(90),c=r(37),u=r(40),l=u("IE_PROTO"),f=function(){},m=function(e){return"<script>"+e+"<\/script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;d=n?function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=c("iframe")).style.display="none",p.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};s[l]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f.prototype=o(e),r=new f,f.prototype=null,r[l]=e):r=d(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(7),o=r(15),i=r(16),a=r(89);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),s=n.length,p=0;s>p;)o.f(e,r=n[p++],t[r]);return e}},function(e,t,r){var n=r(44),o=r(24);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){var n=r(43);e.exports=n("document","documentElement")},function(e,t,r){var n=r(92);e.exports=n},function(e,t,r){r(93);var n=r(27);e.exports=n("Array","includes")},function(e,t,r){"use strict";var n=r(19),o=r(45).includes,i=r(25);n({target:"Array",proto:!0,forced:!r(26)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,r){var n=r(95);e.exports=n},function(e,t,r){r(96);var n=r(27);e.exports=n("Array","findIndex")},function(e,t,r){"use strict";var n=r(19),o=r(48).findIndex,i=r(25),a=r(26),s=!0,p=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!p},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,r){"use strict";r.r(t);r(67),r(91),r(94);var n=r(0),o=r.n(n),i=r(5),a=r(52),s=r.n(a),p=function(e,t){return'{\n content {\n multiPromos(uri: "'.concat(e,'", limit: 16, isStory: ').concat(t,") {\n items {\n altText\n headline\n href\n link\n live\n mediaType\n summary\n }\n sectionName\n }\n }\n}")},c=function(e,t,r){return'{\n content {\n article(uri: "'.concat(e,'", isStory: ').concat(r,') {\n allowAdvertising\n allowDateStamp\n allowHeadline\n allowRightHandSide\n assetId\n body(iChefLibrary: "onesport", isUk: ').concat(t,")\n comments\n commentsApiKey\n commentsCount\n contributor {\n name\n thumbnail\n title\n }\n dateTimeInfo {\n dateTime\n offScreenDateTime\n onScreenDateTime\n }\n headline\n media {\n altText\n href\n iChefHref\n id\n }\n pageType\n section {\n name\n path\n }\n }\n dynamicFeatureToggles {\n active\n name\n }\n }\n}")},u=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return'{\n content {\n topStories(product: "sport", isApp:'.concat(e,", limit: 4, isStory: ").concat(t,") {\n ...on Article {\n comments\n commentsCount \n contentType \n headline\n image {\n altText\n href\n }\n lastUpdated\n live\n mediaType\n overtypedHeadline\n section {\n name\n path\n }\n site {\n name\n urlIdentifier\n }\n type\n uri \n }\n ...on Link {\n contentType\n image {\n altText\n href\n }\n lastUpdated\n link\n live\n mediaType\n section {\n name\n path\n }\n title\n }\n }\n }\n}")},l=function(e,t){return'{\n content {\n oppmPromos(uri: "'.concat(e,'", isStory: ').concat(t,") {\n scores {\n date\n tournament\n }\n tables {\n date\n tournament\n }\n }\n }\n}\n")},f=function(e){return!e||!e.data||!e.data.content||null===e.data.content.article},m=r(53),d=r(2),y=r.n(d),h=r(18),b=r.n(h);function g(e){return(g="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)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=q(e);if(t){var o=q(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}(a,e);var t,r,n,i=E(a);function a(){var e;v(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return R(O(e=i.call.apply(i,[this].concat(r))),"getChildContext",(function(){return{promoType:e.props.promoType}})),e}return t=a,(r=[{key:"componentDidMount",value:function(){b.a.load()}},{key:"render",value:function(){var e=this.props.promo,t=e.href,r=e.altText,n=e.mediaType,i=e.link,a=e.headline,s=e.live,p=e.uri,c=e.lastUpdated,u=e.comments,l=e.commentsCount,f=e.sectionTag,m=n&&("video"===n.toLowerCase()||"audio"===n.toLowerCase()),d=m?n:null;return o.a.createElement(y.a.Promo,null,o.a.createElement(y.a.Image,{url:t,altText:r,width:240},n&&m&&o.a.createElement(y.a.MediaIndicator,{mediaType:n,iconSize:"small",ariaHidden:!0,isLive:s})),o.a.createElement(y.a.Body,null,o.a.createElement(y.a.Heading,{url:i,title:a,accessibilityHeading:d}),o.a.createElement("div",{className:"top-stories__meta"},o.a.createElement(y.a.Meta,{className:"gs-o-list-inline gs-o-list-inline--divided gel-brevier gs-u-mt-"},s&&o.a.createElement(y.a.LivePulse,null)||o.a.createElement(y.a.ItemStatus,{itemStatusDateTime:c}),f&&o.a.createElement(y.a.SectionTag,{sectionName:f.name,sectionUrl:f.path}),u&&null!==l&&o.a.createElement(y.a.CommentIcon,{assetUri:p,commentsCount:l})))))}}])&&T(t.prototype,r),n&&T(t,n),a}(n.Component);_.childContextTypes={promoType:n.PropTypes.string},_.propTypes={promo:n.PropTypes.shape({altText:n.PropTypes.string,headline:n.PropTypes.string.isRequired,href:n.PropTypes.string,link:n.PropTypes.string,mediaType:n.PropTypes.string,live:n.PropTypes.bool.isRequired,lastUpdated:n.PropTypes.string,uri:n.PropTypes.string,comments:n.PropTypes.bool,commentsCount:n.PropTypes.number,sectionTag:n.PropTypes.shape({name:n.PropTypes.string,path:n.PropTypes.string})}).isRequired,promoType:n.PropTypes.string.isRequired};var w=_;function A(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var j=function(e){var t=e.site,r=e.section;return t&&t.name&&t.urlIdentifier?{name:t.name,path:t.urlIdentifier}:r&&r.name&&r.path?{name:r.name,path:r.path}:null},C=function(e){var t=function(e,t){var r=e.findIndex((function(e){return e.uri===t||e.link===t}));return r>-1?[].concat(A(e.slice(0,r)),A(e.slice(r+1))):e.length>3?e.slice(0,-1):e}(e.data,e.path);return o.a.createElement("section",{className:"top-stories gs-u-mt+ gs-u-mb+@m gs-u-ph gs-u-pl-alt@xs gs-u-pl-alt+@m gs-u-pl-alt+@l"},o.a.createElement("h2",{className:"component__title gs-u-pl@xs gs-u-pl0@m"},"Top Stories"),o.a.createElement("ul",{className:"gel-layout gs-u-pl+"},t.map((function(e,t){var r,n,i,a={href:e.image.href,altText:e.image.altText||"",mediaType:(r=e,n=r.mediaType,i=r.contentType,n||"Video"!==i&&"Audio"!==i?n:i),link:e.uri||e.link,headline:e.overtypedHeadline||e.title,live:e.live,lastUpdated:e.lastUpdated,comments:e.comments,commentsCount:e.commentsCount,sectionTag:j(e),uri:e.uri};return o.a.createElement("li",{key:t,className:"qa-top-stories-list-item gel-1/1@xs gel-1/3@m gel-1/1@l gs-u-pb+ gs-u-pb0@m"},o.a.createElement(w,{promoType:"stackedToInline",promo:a}))}))))},k=C;C.propTypes={data:n.PropTypes.shape([]).isRequired,path:n.PropTypes.string.isRequired};var N=function(e){var t=e.path,r=e.isApp;return o.a.createElement(i.Query,{query:u(r,!0)},(function(e){if(f(e))return o.a.createElement("noscript",null);var r=e.data.content.topStories;return o.a.createElement(k,{data:r,path:t})}))},I=N;function U(e){return(U="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)}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F(e);if(t){var o=F(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return z(this,r)}}function z(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?B(e):t}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}N.propTypes={path:n.PropTypes.string.isRequired,isApp:n.PropTypes.bool.isRequired};var V=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(a,e);var t,r,n,i=H(a);function a(){var e;M(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return K(B(e=i.call.apply(i,[this].concat(r))),"getChildContext",(function(){return{promoType:e.props.promoType}})),e}return t=a,(r=[{key:"componentDidMount",value:function(){b.a.load()}},{key:"render",value:function(){var e=this.props.promo,t=e.href,r=e.altText,n=e.mediaType,i=e.link,a=e.headline,s=e.summary,p=e.live,c=n&&("video"===n.toLowerCase()||"audio"===n.toLowerCase()),u=c?n:null;return o.a.createElement(y.a.Promo,null,o.a.createElement(y.a.Image,{url:t,altText:r,width:480},n&&c&&o.a.createElement(y.a.MediaIndicator,{mediaType:n,iconSize:"small",ariaHidden:!0,isLive:p})),o.a.createElement(y.a.Body,null,o.a.createElement(y.a.Heading,{url:i,title:a,accessibilityHeading:u}),s&&o.a.createElement(y.a.Summary,{text:s})))}}])&&L(t.prototype,r),n&&L(t,n),a}(n.Component);V.childContextTypes={promoType:n.PropTypes.string},V.propTypes={promo:n.PropTypes.shape({altText:n.PropTypes.string,headline:n.PropTypes.string.isRequired,href:n.PropTypes.string,link:n.PropTypes.string,mediaType:n.PropTypes.string,summary:n.PropTypes.string,live:n.PropTypes.bool.isRequired}).isRequired,promoType:n.PropTypes.string.isRequired};var W=V;function Q(e){return(Q="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)}function G(e){return function(e){if(Array.isArray(e))return $(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return $(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function J(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=te(e);if(t){var o=te(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Z(this,r)}}function Z(e,t){return!t||"object"!==Q(t)&&"function"!=typeof t?ee(e):t}function ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function te(e){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ne=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}(a,e);var t,r,n,i=Y(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),re(ee(t=i.call(this,e)),"getClasses",(function(e){switch(e){case 1:return"gel-1/1";case 2:return"gel-1/2@xs";case 3:return"gel-1/2@xs gel-1/3@m";default:return"gel-1/2@xs gel-1/4@m"}})),re(ee(t),"buildPromo",(function(e,t){switch(e){case 1:return o.a.createElement(W,{promoType:"multiThumbInline",promo:t});default:return o.a.createElement(W,{promoType:"multiThumb",promo:t})}})),re(ee(t),"promoList",(function(e,r,n){var i=e.items,a=i,s=i.findIndex((function(e){return e.uri===r||e.link===r}));return s>-1&&(a=[].concat(G(i.slice(0,s)),G(i.slice(s+1)))),o.a.createElement("div",{className:"qa-multi-thumb-promo gs-u-ph gs-u-pl+"},e.sectionName&&o.a.createElement("h2",{className:"component__title gs-u-pl@m gs-u-pt+@xs gs-u-pt0@l",id:"multi-thumb-promo-".concat(n,"-title")},e.sectionName),o.a.createElement("ul",{className:"qa-multi-thumb-promo-list multi-thumb-promo__list gel-layout gs-u-pl-alt+@m gs-u-pl@l"},a.map((function(e){var r=e.uri||e.link;return o.a.createElement("li",{className:"qa-multi-thumb-promo-list-item multi-thumb-promo__item multi-thumb-promo--flex gel-layout__item gel-1/1@l gs-u-mb+ \n ".concat(t.getClasses(a.length)),key:r},t.buildPromo(a.length,e))}))))})),t.promoList=t.promoList.bind(ee(t)),t}return t=a,(r=[{key:"render",value:function(){var e=this,t=this.props,r=t.data,n=t.path,i=r.length;return 0===i?o.a.createElement("noscript",null):o.a.createElement("div",null,r.map((function(t,r){var a=r+1===i?"gs-u-mt++@l":"gs-u-mv++@l",s=t.sectionName?"gs-u-pt+@l":"gs-u-pt++@l";return o.a.createElement("section",{id:"multi-thumb-promo-".concat(r),className:"box-promo ".concat(s," ").concat(a," multi-promo__centre"),key:r},e.promoList(t,n,r))})))}}])&&J(t.prototype,r),n&&J(t,n),a}(n.Component),oe=ne;ne.propTypes={data:n.PropTypes.arrayOf(n.PropTypes.shape({items:n.PropTypes.shape({altText:n.PropTypes.string,headline:n.PropTypes.string.isRequired,href:n.PropTypes.href,link:n.PropTypes.uri,mediaType:n.PropTypes.string,summary:n.PropTypes.string}),sectionName:n.PropTypes.string})).isRequired,path:n.PropTypes.string.isRequired};var ie=function(e){var t=e.path;return o.a.createElement(i.Query,{query:p(t,!0)},(function(e){if(f(e))return o.a.createElement("noscript",null);var r=e.data.content.multiPromos;return o.a.createElement(oe,{data:r,path:t})}))};ie.propTypes={path:n.PropTypes.string.isRequired};var ae=ie,se=r(13),pe=r(3),ce=r.n(pe),ue=function(e){var t=e.isApp,r=e.scores;if(!r)return o.a.createElement("noscript",null);var n=ce.a.transitiveThenUpdate("bbc-morph-sport-football-scores-oppm"),i=r.date,a=r.tournament,s="".concat(i.slice(0,4),"-").concat(i.slice(4,6),"-").concat(i.slice(6,8));return o.a.createElement("section",{className:"oppm-promos__section"},o.a.createElement("div",{className:"oppm-promos__scores"},o.a.createElement(n,{isApp:t,date:s,tournament:a})))};ue.propTypes={isApp:n.PropTypes.bool.isRequired,scores:n.PropTypes.shape({date:n.PropTypes.string,tournament:n.PropTypes.string}).isRequired};var le=ue,fe=function(e){var t=e.isApp,r=e.tables;if(!r)return o.a.createElement("noscript",null);var n=ce.a.transitiveThenUpdate("bbc-morph-sport-football-table-oppm"),i=r.date,a=r.tournament;return o.a.createElement("section",{className:"oppm-promos__section"},o.a.createElement("div",{className:"oppm-promos__table"},o.a.createElement(n,{isApp:t,date:i,tournament:a})))};fe.propTypes={isApp:n.PropTypes.bool.isRequired,tables:n.PropTypes.shape({date:n.PropTypes.string,tournament:n.PropTypes.string}).isRequired};var me=fe,de=function(e){var t=e.isOppm,r=e.isApp,n=e.path;return t?o.a.createElement(i.Query,{query:l(n,!0)},(function(e){if(f(e)||!e.data.content.oppmPromos)return o.a.createElement("noscript",null);var t=e.data.content.oppmPromos,n=t.scores,i=t.tables;return n||i?o.a.createElement("div",null,o.a.createElement(le,{scores:n,isApp:r}),o.a.createElement(me,{tables:i,isApp:r})):o.a.createElement("noscript",null)})):o.a.createElement("noscript",null)};de.propTypes={isOppm:n.PropTypes.bool.isRequired,isApp:n.PropTypes.bool.isRequired,path:n.PropTypes.string.isRequired};var ye=de,he=function(e){var t=e.path,r=e.isUk,n=e.isApp,i=e.allowRightHandSide,a=e.allowAdvertising,s=e.featureToggles,p=e.isOppm;return i?o.a.createElement("div",{className:"gel-layout__item gel-1/3@l layout__secondary-col--spaced"},o.a.createElement(ye,{path:t,isOppm:p,isApp:n}),o.a.createElement(I,{path:t,isUk:r,isApp:n}),o.a.createElement(se.a,{type:"rightHandSideBetween",isUk:r,featureToggles:s,allowAdvertising:a}),o.a.createElement(ae,{path:t}),o.a.createElement(se.a,{type:"rightHandSideBottom",isUk:r,featureToggles:s,allowAdvertising:a})):o.a.createElement("noscript",null)};he.propTypes={allowRightHandSide:n.PropTypes.bool.isRequired,allowAdvertising:n.PropTypes.string.isRequired,featureToggles:n.PropTypes.shape([]).isRequired,path:n.PropTypes.string.isRequired,isUk:n.PropTypes.bool.isRequired,isApp:n.PropTypes.bool.isRequired,isOppm:n.PropTypes.bool.isRequired};var be=he,ge=function(e){var t=e.path,r=e.isUk,n=e.isApp,a=e.env,p=function(e){return"true"===e},u=p(r),l=p(n);return o.a.createElement(i.Query,{query:c(t,u,!0)},(function(e){if(f(e))return s.a.throw(404,"article query returned null"),o.a.createElement("noscript",null);var r=e.data.content,n=r.article,i=r.article,p=i.allowRightHandSide,c=i.allowAdvertising,d=i.pageType,y=r.dynamicFeatureToggles,h=p?"":" gel-layout--center";return o.a.createElement("div",{className:"gel-wrap"},o.a.createElement("div",{className:"gel-layout".concat(h)},o.a.createElement("div",{className:"gel-layout__item gel-2/3@l"},o.a.createElement(m.a,{isOppm:"oppm"===d,article:n,isUk:u,isApp:l,env:a,featureToggles:y,path:t})),o.a.createElement(be,{isOppm:"oppm"===d,path:t,isUk:u,isApp:l,allowRightHandSide:p,allowAdvertising:c,featureToggles:y})))}))};ge.propTypes={path:n.PropTypes.string.isRequired,isUk:n.PropTypes.string.isRequired,isApp:n.PropTypes.string.isRequired,env:n.PropTypes.string.isRequired};var ve=ge;Morph.modules["bbc-morph-cps-story@2.19.38"]=ve}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-promo-body@6.0.0"]={"bbc-morph-classnames":"1.0.2","bbc-morph-ws-typography-info":"1.0.6","morph-require":"5.2.1",react:"0.14.7"},function(o){function r(e){if(p[e])return p[e].exports;var t=p[e]={exports:{},id:e,loaded:!1};return o[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}var p={};return r.m=o,r.c=p,r.p="",r(0)}([function(o,r,p){Morph.modules["bbc-morph-gs-promo-body@6.0.0/ltr"]=p(1)},function(o,r){o.exports={}}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=1)}([function(e,r){e.exports={}},function(e,r,t){"use strict";t.r(r);var n=t(0),o=t.n(n);Morph.modules["bbc-morph-gs-promo-image@8.0.1/ltr"]=o.a}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gs-promo@6.0.0"]={"bbc-morph-classnames":"1.0.2",react:"0.14.7","bbc-morph-ws-typography-info":"1.0.6","morph-require":"5.2.1"},function(r){function o(e){if(p[e])return p[e].exports;var t=p[e]={exports:{},id:e,loaded:!1};return r[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}var p={};return o.m=r,o.c=p,o.p="",o(0)}([function(r,o,p){Morph.modules["bbc-morph-gs-promo@6.0.0/ltr"]=p(1)},function(r,o){r.exports={}}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));Morph.modules["bbc-morph-gel-icons@5.0.5/gel-icon-external-link"]=r.default},function(e,t,n){"use strict";var r=n(2);e.exports=function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},r.createElement("title",null,"external-link"),r.createElement("path",{d:"M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0H12z"}))}},function(e,t){e.exports=React}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-grandstand@5.4.3"]={"morph-require":"5.2.1"},function(r){function o(t){if(n[t])return n[t].exports;var e=n[t]={exports:{},id:t,loaded:!1};return r[t].call(e.exports,e,e.exports,o),e.loaded=!0,e.exports}var n={};return o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-grandstand@5.4.3/latin"]=n(1)},function(r,o){r.exports={}}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-graphql/query/%7Bcontent%7Barticle(uri%3A%22%2Fsport%2Fwales%2F53312725%22%2CisStory%3Atrue)%7BallowAdvertising%2CallowDateStamp%2CallowHeadline%2CallowRightHandSide%2CassetId%2Cbody(iChefLibrary%3A%22onesport%22%2CisUk%3Afalse)%2Ccomments%2CcommentsApiKey%2CcommentsCount%2Ccontributor%7Bname%2Cthumbnail%2Ctitle%7DdateTimeInfo%7BdateTime%2CoffScreenDateTime%2ConScreenDateTime%7Dheadline%2Cmedia%7BaltText%2Chref%2CiChefHref%2Cid%7DpageType%2Csection%7Bname%2Cpath%7D%7DdynamicFeatureToggles%7Bactive%2Cname%7D%7D%7D/token/905d57a81ad8ad9adb6e2470d688e344616c35da9a19310050139bd334332934/version/2.3.65', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"content":{"article":{"allowAdvertising":"true","allowDateStamp":true,"allowHeadline":true,"allowRightHandSide":true,"assetId":"53312725","body":"[{\"name\":\"image\",\"children\":[],\"attributes\":[{\"name\":\"id\",\"value\":\"113257128\"}],\"imageData\":{\"height\":351,\"width\":624,\"href\":\"http:\/\/c.files.bbci.co.uk\/140FF\/production\/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg\",\"originCode\":\"cpsprodpb\",\"caption\":\"Sports clubs in Wales are hoping for brighter days ahead\",\"altText\":\"Cefn Coed v Gilfach Goch rugby\",\"positionHint\":\"full-width\",\"copyrightHolder\":\"Huw Evans agency\",\"allowSyndication\":false,\"ratio\":56.25,\"iChefHref\":\"https:\/\/ichef.bbci.co.uk\/onesport\/cps\/{width}\/cpsprodpb\/140FF\/production\/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg\",\"isLead\":true}},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"Sport Wales has launched a £4m fund for grassroots sports clubs and a further £4.5m to for bodies including the nation's rugby union and football governing bodies.\"}],\"attributes\":[{\"name\":\"role\",\"value\":\"introduction\"}]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"The money is intended to help those who receive it overcome the financial effects of the coronavirus pandemic.\"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"The umbrella body hopes the 'Be Active Wales Fund' can boost community sports and help them restart safely. \"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"Welsh Government funds and \\\"repurposed\\\" National Lottery cash are being used.\"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"Clubs can apply for grants of between £300 and £50,000 under the 'Be Active Wales Fund'.\"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"The £4m is in addition to more than £500,000 of emergency funds \"},{\"name\":\"comment\",\"children\":[],\"attributes\":[]},{\"name\":\"link\",\"children\":[{\"name\":\"caption\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"already set aside\"}],\"attributes\":[]},{\"name\":\"url\",\"children\":[],\"attributes\":[{\"name\":\"platform\",\"value\":\"highweb\"},{\"name\":\"href\",\"value\":\"https:\/\/www.bbc.co.uk\/sport\/wales\/52936814\"}]}],\"attributes\":[]},{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\" for sports clubs and organisations to help stave off financial hardship.\"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"In a statement Sport Wales said: \\\"Grassroots sports clubs and organisations at risk of folding because of the Covid-19 crisis may need funding to help pay rent, utility costs, insurances or any fixed costs they may have for facility or equipment hire. \"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"\\\"Whereas some sports, such as golf and tennis, have begun to restart their activities... others like football and rugby are awaiting the green light to resume. \\\"\"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"Sport Wales chief executive Sarah Powell added: \\\"Grassroots sport has been hit incredibly hard. Thankfully emergency funding has already saved a huge number of clubs and we're pleased to be able to launch \"},{\"name\":\"comment\",\"children\":[],\"attributes\":[]},{\"name\":\"link\",\"children\":[{\"name\":\"caption\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"this new fund,\"}],\"attributes\":[]},{\"name\":\"url\",\"children\":[],\"attributes\":[{\"name\":\"platform\",\"value\":\"highweb\"},{\"name\":\"href\",\"value\":\"https:\/\/www.sport.wales\/media-centre\/latest-news\/07-07-2020-4m-lifeline-fund-launched-to-save-and-rebuild-community-sport\/\"}]}],\"attributes\":[]},{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\" which will provide even more support at a time when it is so badly needed.\\\"\"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"The Welsh Rugby Union and Football Association of Wales join Welsh Athletics, Welsh Netball, local authorities and organisations such as Urdd Street Games in having a £4.5m fund to call on.\"}],\"attributes\":[]},{\"name\":\"paragraph\",\"children\":[{\"name\":\"text\",\"children\":[],\"attributes\":[],\"text\":\"Leisure Trusts who operate not-for-profit facilities can also benefit from that £4.5m.\"}],\"attributes\":[]}]","comments":false,"commentsApiKey":"4522f93d-061d-4724-9ad7-2182f61796af","commentsCount":0,"contributor":null,"dateTimeInfo":{"dateTime":"2020-07-07T05:23:29+00:00","offScreenDateTime":"7 July 2020","onScreenDateTime":"7 July 2020"},"headline":"Sport Wales launches £4m grassroots support fund, plus £4.5m for other bodies","media":[{"altText":"line","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/c.files.bbci.co.uk\/0933\/production\/_94655320_line976.jpg","iChefHref":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/ichef.bbci.co.uk\/live-experience\/cps\/{width}\/cpsprodpb\/0933\/production\/_94655320_line976.jpg","id":"94655320"},{"altText":"Cefn Coed v Gilfach Goch rugby","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/c.files.bbci.co.uk\/140FF\/production\/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg","iChefHref":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/ichef.bbci.co.uk\/live-experience\/cps\/{width}\/cpsprodpb\/140FF\/production\/_113257128_cdf_191019_ge_cefn_coed_v_gilfach_goch_099.jpg","id":"113257128"}],"pageType":"article","section":{"name":"Wales","path":"\/sport\/wales"}},"dynamicFeatureToggles":[{"active":true,"name":"cps-story-pull-outs"},{"active":true,"name":"cps-story-match-stats-include"},{"active":true,"name":"cps-story-oppm-promos"},{"active":true,"name":"cps-story-quote-box"},{"active":true,"name":"football-new-scores"},{"active":true,"name":"football-assists"},{"active":true,"name":"cps-story-multi-thumb-promos"},{"active":true,"name":"cps-story-embeds"},{"active":true,"name":"cps-story-3rd-party-include"},{"active":true,"name":"cps-story-hearken-include"},{"active":true,"name":"cps-story-morph-include"},{"active":true,"name":"cps-story-body-adverts"},{"active":true,"name":"cps-story-comments"},{"active":true,"name":"reith-font"},{"active":true,"name":"graphql-ldp-core-followable-sport"},{"active":true,"name":"graphql-linked-data"},{"active":true,"name":"maps-mpv-endpoint"},{"active":false,"name":"geolocationRedirects"},{"active":false,"name":"app-bridge-debug"},{"active":true,"name":"optimizely-enabled"},{"active":true,"name":"ati-analytics-live-bucket"},{"active":true,"name":"uasServiceCalls"},{"active":true,"name":"versioned-mysport"},{"active":true,"name":"nitro-territory-filtering"},{"active":true,"name":"new-nitro-endpoint"},{"active":false,"name":"filtered-scores"},{"active":true,"name":"story-page-maps-video-experience"},{"active":true,"name":"versioned-football-components"},{"active":true,"name":"versioned-cricket-components"},{"active":true,"name":"football-table-competitions"},{"active":true,"name":"football-table-teams"},{"active":false,"name":"morph-scores"},{"active":false,"name":"smp-delay-embed"},{"active":true,"name":"oppm-responsive"},{"active":false,"name":"layout-preference"},{"active":true,"name":"byline-image"},{"active":true,"name":"beta-override"},{"active":false,"name":"mvt-enabled"},{"active":false,"name":"lx-push"},{"active":true,"name":"lazyload-srcset"},{"active":false,"name":"lx-lineups"},{"active":false,"name":"lx-matchstats"},{"active":false,"name":"adverts-async"},{"active":false,"name":"windows-phone-av-wall"},{"active":true,"name":"app-event-reminders"},{"active":false,"name":"olympics-mini-medals"},{"active":true,"name":"olympics-mini-event-schedule"},{"active":true,"name":"lx-supporting-media"},{"active":true,"name":"lx-mini-guide-display"},{"active":true,"name":"versioned-football-oppm-components"},{"active":false,"name":"lx-srcset-images"},{"active":false,"name":"lx-delayed-images"},{"active":true,"name":"around-the-web"},{"active":false,"name":"lx-new-session-image"},{"active":false,"name":"lx-sticky-keypoints"},{"active":true,"name":"lx-ivote"},{"active":true,"name":"lx-tabs"},{"active":true,"name":"lx-third-column"},{"active":true,"name":"lx-coverage-info"},{"active":false,"name":"story-page-amp-allow-visual-journalism-include"},{"active":false,"name":"story-page-amp-allow-morph-include"},{"active":false,"name":"story-page-amp-allow-other-include"},{"active":true,"name":"story-page-amp-all-enabled"},{"active":true,"name":"smallprox"},{"active":true,"name":"mdot-disabled"},{"active":true,"name":"mdot-disabled-app"},{"active":false,"name":"stld"},{"active":false,"name":"stld-app"},{"active":true,"name":"https-enabled"},{"active":false,"name":"https-enabled-app"},{"active":false,"name":"football-survey-banner"},{"active":true,"name":"super-8s-qualifiers"},{"active":true,"name":"sp2"},{"active":false,"name":"alpha"},{"active":false,"name":"alpha-homepage"},{"active":false,"name":"alpha-football-index"},{"active":true,"name":"alpha-tennis"},{"active":true,"name":"alpha-golf"},{"active":true,"name":"mapLazyLoad"},{"active":true,"name":"orbit"},{"active":false,"name":"chartbeat-enabled"},{"active":false,"name":"surface-errors-in-sbl-response"},{"active":false,"name":"american-sports-sbl"},{"active":true,"name":"ice-hockey-basketball-results-fixtures-sbl"},{"active":true,"name":"american-football-results-fixtures-sbl"},{"active":true,"name":"alpha-formula1"},{"active":true,"name":"alpha-darts"},{"active":true,"name":"alpha-snooker"},{"active":true,"name":"alpha-cycling"},{"active":false,"name":"netballShowElapsedTime"},{"active":true,"name":"americanFootballShowElapsedTime"},{"active":true,"name":"alpha-athletics"},{"active":true,"name":"alpha-american-football-standings"},{"active":true,"name":"alpha-ice-hockey-standings"},{"active":true,"name":"alpha-basketball-standings"},{"active":true,"name":"alpha-formula1-drivers-wc-standings"},{"active":true,"name":"alpha-formula1-constructors-wc-standings"},{"active":false,"name":"alpha-world-sports-calendar"},{"active":false,"name":"alpha-winter-sports-calendar"},{"active":false,"name":"alpha-motorsport-calendar"}]}}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-graphql/query/%7Bcontent%7BmultiPromos(uri%3A%22%2Fsport%2Fwales%2F53312725%22%2Climit%3A16%2CisStory%3Atrue)%7Bitems%7BaltText%2Cheadline%2Chref%2Clink%2Clive%2CmediaType%2Csummary%7DsectionName%7D%7D%7D/token/f4041e761d31d7ac34b2218dfcee85915c8e5fd2637724e52188e8ccfbfe4b15/version/2.3.65', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"content":{"multiPromos":[{"items":[{"altText":"Sports equipment","headline":"How anyone can get involved in just about any sport","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/c.files.bbci.co.uk\/14E5F\/production\/_96699558_guidescomposite2.jpg","link":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/www.bbc.co.uk\/sport\/get-inspired\/25416779","live":false,"mediaType":"text","summary":""},{"altText":"Image of two boys under water with \"Like us on Facebook\" in words","headline":"Share your story on Facebook","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/news.bbcimg.co.uk\/media\/images\/79460000\/jpg\/_79460689_get-inspired-promos_624-facebook.jpg","link":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/www.facebook.com\/BBCGetInspired","live":false,"mediaType":"text","summary":null},{"altText":"#GetInspired words on a picture of runner's legs","headline":"Join the conversation at @bbcgetinspired","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/news.bbcimg.co.uk\/media\/images\/77524000\/jpg\/_77524730_143810851getinspired.jpg","link":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/twitter.com\/bbcgetinspired","live":false,"mediaType":"text","summary":null},{"altText":"graphic with image of Andy & Judy Murray jumping with a group of kids + words \"Want to know more?\"","headline":"What is Get Inspired?","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/news.bbcimg.co.uk\/media\/images\/79460000\/jpg\/_79460171_get-inspired-promos_624-know-more.jpg","link":"https:\/\/web.archive.org\/web\/20200912182407\/https:\/\/www.bbc.co.uk\/sport\/get-inspired\/27246581","live":false,"mediaType":"no-content-type-set","summary":" "}],"sectionName":null}]}}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-graphql/query/%7Bcontent%7BtopStories(product%3A%22sport%22%2CisApp%3Afalse%2Climit%3A4%2CisStory%3Atrue)%7B...on%2CArticle%7Bcomments%2CcommentsCount%2CcontentType%2Cheadline%2Cimage%7BaltText%2Chref%7DlastUpdated%2Clive%2CmediaType%2CovertypedHeadline%2Csection%7Bname%2Cpath%7Dsite%7Bname%2CurlIdentifier%7Dtype%2Curi%7D...on%2CLink%7BcontentType%2Cimage%7BaltText%2Chref%7DlastUpdated%2Clink%2Clive%2CmediaType%2Csection%7Bname%2Cpath%7Dtitle%7D%7D%7D%7D/token/90a05a6eb2ddcb79ca3de39d15b29ba7316f4e8538159bc77bf7fae584ead10b/version/2.3.65', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"content":{"topStories":[{"comments":false,"commentsCount":0,"contentType":"","headline":"Premier League returns - four games starting with Fulham v Arsenal","image":{"altText":"Fulham","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/c.files.bbci.co.uk\/2821\/production\/_114337201_ful_getty.jpg"},"lastUpdated":"2020-09-11T14:13:50+00:00","live":true,"mediaType":"","overtypedHeadline":"Premier League returns - four games starting with Fulham v Arsenal","section":{"name":"Football","path":"\/sport\/football"},"site":null,"type":"LIV","uri":"\/sport\/live\/football\/53869621"},{"comments":false,"commentsCount":0,"contentType":"","headline":"Bottas tops final practice for Tuscan Grand Prix","image":{"altText":"Valtteri Bottas","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/c.files.bbci.co.uk\/B3F9\/production\/_114337064_bot.jpg"},"lastUpdated":"2020-09-11T17:45:03+00:00","live":true,"mediaType":"","overtypedHeadline":"Bottas tops final practice for Tuscan Grand Prix","section":{"name":"Formula 1","path":"\/sport\/formula1"},"site":null,"type":"LIV","uri":"\/sport\/live\/formula1\/53367228"},{"comments":false,"commentsCount":0,"contentType":"","headline":"EFL: Wycombe making Championship debut, Brentford away at Blues","image":{"altText":"Birmingham City mural","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/c.files.bbci.co.uk\/66A1\/production\/_114337262_mural.jpg"},"lastUpdated":"2020-09-10T09:54:46+00:00","live":true,"mediaType":"","overtypedHeadline":"EFL: Wycombe making Championship debut, Brentford away at Blues","section":{"name":"Football","path":"\/sport\/football"},"site":null,"type":"LIV","uri":"\/sport\/live\/football\/53936132"},{"comments":false,"commentsCount":0,"contentType":"","headline":"Signings could open up title race - Shearer","image":{"altText":"Shearer column pic","href":"https:\/\/web.archive.org\/web\/20200912182407\/http:\/\/c.files.bbci.co.uk\/C363\/production\/_111691005_shearer.png"},"lastUpdated":"2020-09-12T06:02:09+00:00","live":false,"mediaType":"","overtypedHeadline":"Signings could open up title race - Shearer","section":{"name":"Football","path":"\/sport\/football"},"site":null,"type":"STY","uri":"\/sport\/football\/54110514"}]}}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-cps-story","env":"live","isApp":"false","isUk":"false","path":"\/sport\/wales\/53312725","version":"2.19.38","_mrrVersion":"2.0.18"},'u15854135262708935'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u15854135262708935 */</script> </body> </html><!-- FILE ARCHIVED ON 18:24:07 Sep 12, 2020 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 20:41:19 Nov 25, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 2.071 exclusion.robots: 0.028 exclusion.robots.policy: 0.017 esindex: 0.011 cdx.remote: 94.141 LoadShardBlock: 105.056 (3) PetaboxLoader3.datanode: 152.189 (4) load_resource: 259.806 PetaboxLoader3.resolve: 153.557 -->

Pages: 1 2 3 4 5 6 7 8 9 10