CINXE.COM

Where are your photos going? - Safer Internet Day 2019 - Own It - BBC

<!DOCTYPE html> <html lang="en" id="ng-app" class="no-js b-header--white--black b-footer--transparent--dark-grey b-reith-sans-font"> <head prefix="og: http://ogp.me/ns#"><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_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="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://www.bbc.com/ownit/its-personal/where-are-your-photos-going?collection=safer-internet-day-2019","20190205044446","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1549341886"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <link rel="schema.DCTERMS" href="https://purl.org/dc/terms/"> <script type="text/javascript"> window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({'type': 'holdEvents'}); </script> <script src="https://web.archive.org/web/20190205044446js_/https://cdn.optimizely.com/public/4621041136/s/childrens_prod.js"></script> <title>Where are your photos going? - Safer Internet Day 2019 - Own It - BBC</title> <meta name="DCTERMS.title" content="Where are your photos going? - Safer Internet Day 2019 - Own It - BBC"/> <meta name="description" content="It's Safer Internet Day 2019! Millions of photos will be shared today and every day online - but do we think about where our images might actually go? "/> <meta name="DCTERMS.description" content="It's Safer Internet Day 2019! Millions of photos will be shared today and every day online - but do we think about where our images might actually go? "/> <meta property="og:title" content="Where are your photos going?"/> <meta property="og:description" content="It's Safer Internet Day 2019! Millions of photos will be shared today and every day online - but do we think about where our images might actually go? "/> <meta property="og:image" content="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/stay-safe/journeycc.jpg"/> <meta property="og:url" content="https://web.archive.org/web/20190205044446/http://www.bbc.co.uk/ownit/its-personal/where-are-your-photos-going"/> <meta property="fb:pages" content="194575130577797"/> <meta property="fb:pages" content="7397061762"/> <meta property="fb:pages" content="7833211321"/> <meta property="fb:pages" content="129044383774217"/> <meta property="fb:pages" content="401538510458"/> <meta property="fb:pages" content="8251776107"/> <meta property="fb:pages" content="273726292719943"/> <meta property="fb:pages" content="107909022566650"/> <meta property="fb:pages" content="21750735380"/> <meta property="fb:pages" content="1477945425811579"/> <meta property="fb:pages" content="944295152308991"/> <meta property="fb:pages" content="154344434967"/> <meta property="fb:pages" content="8244244903"/> <meta property="fb:pages" content="512423982152360"/> <meta property="fb:pages" content="156060587793370"/> <meta property="fb:pages" content="215504865453262"/> <meta property="fb:pages" content="260967092113"/> <meta property="fb:pages" content="1392506827668140"/> <meta property="fb:pages" content="128645453843827"/> <meta property="fb:pages" content="7519460786"/> <meta property="fb:pages" content="1143803202301544"/> <meta property="fb:pages" content="1470145583204829"/> <meta property="fb:pages" content="470911516262605"/> <meta property="fb:pages" content="413132078795966"/> <meta property="fb:pages" content="118883634811868"/> <meta property="fb:pages" content="130593816777"/> <meta property="fb:pages" content="228735667216"/> <meta property="fb:pages" content="80758950658"/> <meta property="fb:pages" content="260212261199"/> <meta property="fb:pages" content="294662213128"/> <meta property="fb:pages" content="1086451581439054"/> <meta property="fb:pages" content="283348121682053"/> <meta property="fb:pages" content="295830058648"/> <meta property="fb:pages" content="239931389545417"/> <meta property="fb:pages" content="304314573046"/> <meta property="fb:pages" content="310719525611571"/> <meta property="fb:pages" content="647687225371774"/> <meta property="fb:pages" content="1159932557403143"/> <meta property="fb:pages" content="286567251709437"/> <meta property="fb:pages" content="1731770190373618"/> <meta property="fb:pages" content="125309456546"/> <meta property="fb:pages" content="742734325867560"/> <meta property="fb:pages" content="168895963122035"/> <meta property="fb:pages" content="292291897588734"/> <meta property="fb:pages" content="658551547588605"/> <meta property="fb:pages" content="156400551056385"/> <meta property="fb:pages" content="185246968166196"/> <meta property="fb:pages" content="1411916919051820"/> <meta property="fb:pages" content="958681370814419"/> <meta property="fb:pages" content="317278538359186"/> <meta property="fb:pages" content="8585725981"/> <meta property="fb:pages" content="1436581493296609"/> <meta property="fb:pages" content="163571453661989"/> <meta property="fb:pages" content="751471531641341"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="google-site-verification" content="OcYZwpRP6B606x7ebhSghFqabGc4HRHBMbobF9cv-FU"/> <meta name="DCTERMS.created" content="2019-01-29T01:00:00.000Z"/> <meta name="DCTERMS.modified" content="2019-02-04T12:56:45.661Z"/> <link rel="canonical" href="https://web.archive.org/web/20190205044446/https://www.bbc.com/ownit/its-personal/where-are-your-photos-going"/> <script type="text/javascript"> var _sf_startpt = (new Date()).getTime() </script> <link rel="copyright" href="https://web.archive.org/web/20190205044446/http://www.bbc.co.uk/terms/" title="Terms of Use"/> <link href="/web/20190205044446im_/https://www.bbc.com/ownit/assets/images/favicons/apple-touch-icon.png" rel="apple-touch-icon"/> <link href="/web/20190205044446im_/https://www.bbc.com/ownit/assets/images/favicons/favicon.ico" rel="icon" type="image/x-icon"/> <link href="/web/20190205044446im_/https://www.bbc.com/ownit/assets/images/favicons/favicon.ico" rel="shortcut icon" type="image/x-icon"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20190205044446cs_/https://static.bbci.co.uk/gelstyles/0.11.0/style/core.css"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20190205044446cs_/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/stylesheets/stay-safe.min.css"/> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/stylesheets/stay-safe.ie8.min.css"/> <![endif]--> <link rel="stylesheet" type="text/css" href="/web/20190205044446cs_/https://www.bbc.com/ownit/stylesheets/immersive/section/1539114942/c9e7ab2/its-personal.css"/> <script type="text/javascript"> var allForwardSlashes = /\//g; var anythingNotAWordOrFullStop = /[^\w^\.]/g; var allMultipleUnderscores = /_+/g; var fullStopAtEnd = /\.$/; var pageDescriptor = window.location.pathname.substring(1) .replace(allForwardSlashes, '.') .replace(anythingNotAWordOrFullStop, '_') .replace(allMultipleUnderscores, '_') .replace(fullStopAtEnd, ''); window.istats_countername = pageDescriptor.toLowerCase() + '.page'; </script> <!-- Nav Env: live --> <!-- Analytics Web Module: 0.0.1-227.124cdf2 --> <!-- NavID Web Module: 0.2.0-26.cd5363e --> <!-- Searchbox Web Module: 1.0.0-19.f0f6837 --> <!-- Promo Web Module: 2.0.0-83.1a62ce3 --> <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/20190205044446cs_/https://nav.files.bbci.co.uk/orbit/2.0.0-484.dce9fee/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/2.0.0-484.dce9fee/css/orb-ie-ltr.min.css"> <![endif]--><script type="text/javascript">/*<![CDATA[*/ window.orb = { lang: 'en', bbcBaseUrl: 'https://web.archive.org/web/20190205044446/https://www.bbc.co.uk', bbcUrlPrefix: 'https://web.archive.org/web/20190205044446/https://www.', staticHost: 'https://web.archive.org/web/20190205044446/https://nav.files.bbci.co.uk/orbit/2.0.0-484.dce9fee', figUrl: 'https://web.archive.org/web/20190205044446/https://fig.bbc.co.uk/frameworks/fig/2/fig.js', partialCookieOvenUrl: 'https://web.archive.org/web/20190205044446/https://cookie-oven.api.bbc' }; document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js'; window.orb.worldwideNavlinks = ''; /*]]>*/</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);}()); (function() { var language = 'en'; language = 'en'; var istatsLabels = {name: 'ownit.its_personal.where_are_your_photos_going.page' || undefined}; istatsLabels['app_name'] = 'stay-safe'; istatsLabels['app_type'] = 'responsive'; var additionalPageProperties = {}; 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() { var pathName = window.location.pathname .replace(/\/$/, "") .replace(/^\//, "") .replace(/\//g, '.'); return pathName + '.page'; } 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); } }); }); }, 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('' || generateCountername()); }, getDestination: function() { return Promise.resolve('own_it' || null); }, getProducer: function() { return Promise.resolve('bbc' || null); }, getSite: function() { return Promise.resolve('' || null); }, getSection: function() { return Promise.resolve('' || null); }, getContentType: function() { return Promise.resolve('' || null); }, getContentId: function() { return Promise.resolve('' || null); }, getEdition: function() { return Promise.resolve('' || null); }, getAdditionalProperties: function() { return Promise.resolve(additionalPageProperties); } }; var country; var sanitiseCountry = function(country) { return country ? country.replace(/ /g, '') : undefined; } window.bbcuser = { getHashedId: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return idcta.getCookieInstance().getHidFromCookie(); }); }, getCountry: function() { if (country) { return new Promise(function(resolve, reject) { resolve(sanitiseCountry(country)); }) } else { return window.bbcpage.loadModule(['orb/fig']) .then(function(orbFig) { return new Promise(function(resolve, reject) { orbFig.load(function (fig) { if (fig.geo.isUK()) { resolve('GB'); } else if (fig.geo.isEU()) { resolve('EU'); } else { resolve(undefined); } }, function () { reject('Error determining country. Timeout?'); }); }); }); } }, isUKCombined: function(inputCountry) { return window.bbcpage.loadModule(['orb/bbcuser']) .then(function(service) { return new Promise(function(resolve, reject) { if (inputCountry) { resolve(service.isUKCombined(sanitiseCountry(inputCountry))); } else { window.bbcuser.getCountry().then(function(fetchedCountry){ resolve(service.isUKCombined(fetchedCountry)); }) } }); }); }, isEU: function(inputCountry) { return window.bbcpage.loadModule(['orb/bbcuser']) .then(function(service) { return new Promise(function(resolve, reject) { if (inputCountry) { resolve(service.isEU(sanitiseCountry(inputCountry))); } else { window.bbcuser.getCountry().then(function(fetchedCountry){ resolve(service.isEU(fetchedCountry)); }) } }); }); }, 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/20190205044446js_/https://nav.files.bbci.co.uk/orbit/2.0.0-484.dce9fee/js/require.min.js"></script> <script src="https://web.archive.org/web/20190205044446js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-227.124cdf2/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">define('orb/cookies', function() { return window.bbccookies; });</script> <script src="https://web.archive.org/web/20190205044446js_/https://nav.files.bbci.co.uk/orbit/2.0.0-484.dce9fee/js/api.min.js"></script><script type="text/javascript">window.bbcFlagpoles_istats="ON",require.config({paths:{"istats-1":"https://web.archive.org/web/20190205044446/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-227.124cdf2/istats/istats-1"}}),require(["istats-1","orb/cookies"],function(t,a){if(a.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/20190205044446/https://sa.bbc.co.uk/bbc/bbc/s":"//web.archive.org/web/20190205044446/https://sa.bbc.co.uk/bbc/"+o[1]+"/s":"//web.archive.org/web/20190205044446/https://sa.bbc.co.uk/bbc/test/s";t.addCollector({name:"default",url:e,separator:"&"});var s="ownit.its_personal.where_are_your_photos_going.page";t.setCountername(s),window.istats_countername&&t.setCountername(window.istats_countername),t.addLabels("ml_name=webmodule&ml_version=0.0.1-227.124cdf2&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=cbbc&language=en&app_name=stay-safe&app_type=responsive")}var o});</script><link rel="stylesheet" href="https://web.archive.org/web/20190205044446cs_/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.10.0/style/id-cta.css"><!--[if IE 8]><link href="https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.10.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/20190205044446/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&context=cbbc&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/20190205044446/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.10.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/20190205044446/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20190205044446/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.10.0/modules/idcta-v2/dist/idcta-1.min';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><script type="text/javascript">// Globally available search context window.SEARCHBOX={"variant":"cbbc","locale":"en","navSearchboxStaticPrefix":"https://web.archive.org/web/20190205044446/https://nav.files.bbci.co.uk/searchbox/1.0.0-19.f0f6837","searchboxAppStaticPrefix":"https://web.archive.org/web/20190205044446/https://nav.files.bbci.co.uk/searchbox/1.0.0-19.f0f6837/drawer","searchFormHtml":"<div tabindex=\"-1\" data-reactroot=\"\" data-reactid=\"1\" data-react-checksum=\"729995048\"><div data-reactid=\"2\"><section class=\"se-searchbox-panel\" data-reactid=\"3\"><div class=\"se-g-wrap\" data-reactid=\"4\"><div class=\"se-g-layout\" data-reactid=\"5\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\" data-reactid=\"6\">search</div><div class=\"se-g-layout__item se-searchbox\" data-reactid=\"7\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\" data-reactid=\"8\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\" data-reactid=\"9\"><span class=\"se-sr-only\" data-reactid=\"10\">Search Term</span><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxlength=\"512\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\" data-reactid=\"11\"/></label><input type=\"hidden\" name=\"scope\" value=\"\" data-reactid=\"12\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-reactid=\"13\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-reactid=\"14\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\" data-reactid=\"15\"><section class=\"se-g-wrap\" data-reactid=\"16\"></section></div></div></div>","searchScopePlaceholder":"<input type=\"hidden\" name=\"scope\" id=\"orb-search-scope\" value=\"cbbc\">","searchScopeParam":"?scope=cbbc","searchScopeTemplate":"cbbc","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""}; window.SEARCHBOX.suppress = false; window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://web.archive.org/web/20190205044446cs_/https://nav.files.bbci.co.uk/searchbox/1.0.0-19.f0f6837/css/main.css"><!--[if IE 8]> <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/1.0.0-19.f0f6837/script/html5shiv.min.js"></script> <script type="text/javascript">window['searchboxIEVersion'] = 8;</script> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/1.0.0-19.f0f6837/css/ie8.css"> <![endif]--><!--[if IE 9]> <script type="text/javascript">window['searchboxIEVersion'] = 9;</script> <![endif]--><script type="text/javascript">require.config({ "paths": { "orb/async/_footerpromo": 'https://web.archive.org/web/20190205044446/https://nav.files.bbci.co.uk/navpromo/2.0.0-83.1a62ce3/js/async/_footerpromo' } });</script><!-- BBCDOTCOM head --><script type="text/javascript">/*<![CDATA[*/ var _sf_startpt = (new Date()).getTime(); /*]]>*/</script><style type="text/css">.bbccom_display_none{display:none;}</style><script type="text/javascript">/*<![CDATA[*/ var bbcdotcomConfig, googletag = googletag || {}; googletag.cmd = googletag.cmd || [], bbcdotcomScripts = []; var bbcdotcom = false; (function(){ if(typeof require !== 'undefined') { require({ paths:{ "bbcdotcom":"https://web.archive.org/web/20190205044446/https://static.bbc.co.uk/bbcdotcom/1.97.0/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() {}, setVersion: function () {}, setJsPrefix: function() {}, setSwfPrefix: function() {}, setCssPrefix: function() {}, setConfig: function() {}, getAssetPrefix: function() {}, getJsPrefix: function () {}, getSwfPrefix: function () {}, getCssPrefix: function () {}, isOptimizelyEnabled: 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/20190205044446/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/20190205044446/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/20190205044446/https://static.bbc.co.uk/bbcdotcom/1.97.0/"; 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/20190205044446/https://static.bbc.co.uk/bbcdotcom/1.97.0/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20190205044446/https://static.bbc.co.uk/bbcdotcom/1.97.0/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/20190205044446/https://secure-us.imrworldwide.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190205044446/https://me-cdn.effectivemeasure.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190205044446/https://ssc.api.bbc.com/">'); } if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190205044446/https://www.googletagservices.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190205044446/https://bbc.gscontxt.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190205044446/https://tags.crwdcntrl.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190205044446/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(){ 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\/20190205044446\/https:\/\/www.bbc.com\/privacy\/cookies\/international\/","advertisementText":"Advertisement","analyticsEnabled":true,"sherlockEnabled":false,"appName":"stay-safe","assetPrefix":"https:\/\/web.archive.org\/web\/20190205044446\/https:\/\/static.bbc.co.uk\/bbcdotcom\/1.97.0\/","customAdParams":[],"customStatsParams":[],"headline":"","id":"","inAssociationWithText":"in association with","keywords":"","language":"","orbTransitional":false,"lotameWSEnabled":false,"optimizelyEnabled":true,"palEnv":"live","productName":"stay-safe","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\/20190205044446\/https:\/\/static.bbc.co.uk","staticVersion":"1.97.0","staticPrefix":"https:\/\/web.archive.org\/web\/20190205044446\/https:\/\/static.bbc.co.uk\/bbcdotcom\/1.97.0","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/20190205044446/https://static.bbc.co.uk/bbcdotcom/1.97.0/"); bbcdotcom.config.setVersion("1.97.0"); 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">var initOptimizely = (function(isEnabled){ if(!isEnabled) return; var logger = window.bbcdotcom.Logger('bbcdotcom:head:optimizely'); /* Allow Optimizely in these paths */ var allowPaths = ['/', '/wwhp']; /* Only run on optimizely on homepage */ if (bbcdotcom.utils && allowPaths.indexOf(window.location.pathname) !== -1 && window.bbccookies && bbccookies.readPolicy('performance') ){ /* set correct OptimizelyURL for prod or sandbox */ var optimizelyURL = "https://web.archive.org/web/20190205044446/https://cdn.optimizely.com/public/4621041136/s/bbccom_sandbox.js"; if(window.location.hostname === 'www.bbc.com') { optimizelyURL = "https://web.archive.org/web/20190205044446/https://cdn.optimizely.com/public/4621041136/s/bbccom_prod.js"; } /* Set cookie to 1 year */ window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({ "type": "cookieExpiration", "cookieExpirationDays": 365 }); document.write('<script type="text/javascript" src="'+optimizelyURL+'">\x3C/script>'); } })( bbcdotcom.config.isOptimizelyEnabled() );</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/20190205044446/https://bbc.gscontxt.net/?url='+encodeURIComponent(gsurl)}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats == 1 && bbcdotcom.config && 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/20190205044446/https://tags.crwdcntrl.net/c/'+clientId+'/cc.js?ns='+clientId; lotameAudienceUrl = 'https://web.archive.org/web/20190205044446/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[*/ /** * 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() ) { (function () { bbcdotcomScripts.push({src:'https://web.archive.org/web/20190205044446/https://www.googletagservices.com/tag/js/gpt.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /* Load Lotame, Grapeshot and GPT without blocking rendering but executing in order */ if ( bbcdotcomScripts && bbcdotcomScripts.length > 0 ) { (function () { 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" async="true">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats == 1 && bbcdotcom.config && bbcdotcom.config.isLotameEnabled && bbcdotcom.config.isLotameEnabled() && bbcdotcom.lotame){ (function () { bbcdotcom.lotame.callback(); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script><script type="text/javascript">require.config({paths:{reverb:"https://web.archive.org/web/20190205044446/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-0.3.1"}});</script><script type="text/javascript">/*<![CDATA[*/ bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { require(['istats-1', 'orb/fig'], function (istats, orbFig) { istats.addLabels({ 'bbc_mc': bbccookies.analyticsPolicyString() }); var domesticBlqV = istats._getLabels().blq_v; var worldwideBlqV = istats._getLabels().blq_v + '-ww'; function setBlqVLabel(fig) { if (fig.geo.isUK()) { istats.addLabels({'blq_v': domesticBlqV}); } else { istats.addLabels({'blq_v': worldwideBlqV}); } } // Guess with synchronous API first (might be cached and the async version might be too slow) setBlqVLabel(orbFig); orbFig.load(function (fig) { setBlqVLabel(fig); }); }); }); /*]]>*/</script> <script> require.config({ paths: { 'optimizely-dax': ['https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/stats/optimizely-dax-2.0.2'] } }); require(['istats-1', 'optimizely-dax'], function (istats, optimizelyDax) { window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({'type': 'sendEvents'}); optimizelyDax.init(istats); }); </script> <script type="text/javascript"> require(['orb/fig'], function(orbFig) { orbFig.load(function(fig) { if (!fig.geo.isUK()) { window.location = "/ownit/restricted"; } }); }); </script> <script type="text/javascript" src="https://web.archive.org/web/20190205044446js_/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/modernizr.js"></script> <script> define('modernizr', [], Modernizr); </script> <script type="text/javascript" src="https://web.archive.org/web/20190205044446js_/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/matchMedia.js"></script> <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>.reactions-styleguide__section{background-color:#fff;margin-bottom:32px}@media (min-width: 37.5em){.reactions-styleguide__section{padding:16px}}.reactions-styleguide__heading{background-color:#FFD201;margin-left:-16px;margin-right:-16px;padding:16px}.reactions-styleguide__heading:first-of-type{margin-top:-16px}.reactions-styleguide__heading,.reactions-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}#reactions-list li{list-style:none}.reactions__standalone .content-item-description{*zoom:1}.reactions__standalone .content-item-description:before,.reactions__standalone .content-item-description:after{content:" ";display:table}.reactions__standalone .content-item-description:after{clear:both}.reactions__standalone{max-width:864px}.reactions__standalone::before{position:relative;content:"";display:block;width:100%;background-color:black;padding-top:56.25%;z-index:999}.reactions__standalone .content-item-description{color:palette("text-dark");padding:16px 8px}@media (min-width: 37.5em){.reactions__standalone .content-item-description{padding:16px}}.reactions__standalone .reactions-container{width:calc(100% + 16px);margin-top:-16px;margin-right:-16px;margin-bottom:16px;margin-left:-8px}.content-item--riddle-content .reactions__standalone .reactions-container{margin-top:0}@media (min-width: 37.5em){.reactions__standalone .reactions-container{width:calc(100% + 32px);margin-left:-16px}}.reactions__standalone .content-item-description .reactions-cta{float:right;padding-left:16px;padding-right:4px}@media (min-width: 25em){.reactions__standalone .content-item-description .reactions-cta{padding-right:8px}}@media (min-width: 37.5em){.reactions__standalone .content-item-description .reactions-cta{padding-right:16px}}.reactions__standalone .content-item-description .reactions-cta--open{margin-top:0}.reactions__standalone .content-item-description .reactions-tray__reactions{z-index:999}.reactions-module{pointer-events:none;position:relative}.reactions .reactions-tray{margin-top:-36px;position:relative;z-index:999;pointer-events:none}.reactions .reactions-tray::before{display:block;height:20px;content:''}.reactions .reactions-tray__reactions-container{display:block;position:relative;padding:0 3px;max-height:0;height:auto;transition:max-height 300ms 120ms;background-color:#FDF6FF}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (prefers-reduced-motion: reduce){.reactions .reactions-tray__reactions-container{transition:none;max-height:0}}.reactions .reactions-tray__reactions-container:after{content:"";position:absolute;width:100%;height:5px;left:0;background:linear-gradient(rgba(43,31,90,0), rgba(43,31,90,0.2));bottom:0;visibility:hidden;transition:visibility 1ms 300ms}.reactions .reactions-tray__reactions-container li{padding-bottom:0;visibility:hidden;transition:visibility 0ms linear 300ms}.reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;color:#333;opacity:0;padding-bottom:16px;text-align:center;text-transform:uppercase;transition:opacity 300ms,visibility 0s linear 200ms;visibility:hidden}.reactions .reactions-tray__reactions-container--open{display:block;max-height:124px;pointer-events:all;transition:max-height 300ms}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container--open{max-height:154px}}.reactions .reactions-tray__reactions-container--open:after{visibility:visible;transition:visibility 1ms}.reactions .reactions-tray__reactions-container--open li{visibility:visible;transition:visibility 0ms linear 0ms}.reactions .reactions-tray__reactions-container--open .reactions-tray__reactive-prompt{visibility:visible;opacity:1}.reactions .reactions-cta{border:0;position:relative;overflow:visible;cursor:pointer;background-color:transparent;margin:8px 0;pointer-events:auto;z-index:999}.reactions .reactions-cta:hover .cta-cbbc-icon,.reactions .reactions-cta:hover .cta-cbeebies-icon{animation-play-state:paused}@media (min-width: 37.5em){.reactions .reactions-cta:hover .cta-cbbc-icon svg,.reactions .reactions-cta:hover .cta-cbeebies-icon svg{transition:all 500ms ease;transform:scale(1.1)}}.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbbc-icon,.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbeebies-icon{display:block;animation-name:wiggle;animation-duration:7s;animation-delay:5s;animation-iteration-count:3}.reactions .cta-icon svg{width:54px}@keyframes wiggle{0%{transform:scale(1) rotate(0deg)}10%{transform:scale(1.05) rotate(0deg)}11%{transform:scale(1.05) rotate(-5deg)}13%{transform:scale(1.05) rotate(5deg)}15%{transform:scale(1.05) rotate(-5deg)}17%{transform:scale(1.05) rotate(5deg)}19%{transform:scale(1.05) rotate(-5deg)}20%{transform:scale(1.05) rotate(0deg)}30%{transform:scale(1) rotate(0deg)}}.reactions .reactions-cta-image{display:-webkit-flex;display:-ms-flexbox;display:flex;align-items:center;-ms-flex-align:center;font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:bold;color:#2B1F5A;position:relative}.reactions .reactions-count-container{position:absolute;top:58%;left:-90%;height:25px;line-height:25px;width:80px;text-align:right;vertical-align:middle}.reactions .reactions-cta--open .cta-arrow-icon{transform:rotate(180deg)}.reactions .reaction-button{transition:opacity 200ms ease-in-out;opacity:0;outline:none;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (hover: hover), (-ms-high-contrast: none){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}}@media (hover: hover) and (min-width: 37.5em), (-ms-high-contrast: none) and (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}@-moz-document url-prefix(){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}@media (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}}.reactions .reaction-button:focus .reaction-focus-line{background-color:#2B1F5A}.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-12px}}.reactions .reaction-button.reaction-button--selected .reaction-icon svg{transform:rotate(20deg);transform-origin:center center;height:56px;width:56px;top:-8px;left:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon svg{height:84px;width:84px;top:-12px;left:-12px}}.reactions .animation-playing .reaction-button--selected{position:relative;z-index:1020}.reactions .animation-playing .reaction-button--selected .reaction-icon svg{z-index:1030;height:104px;width:104px;top:-32px;left:-32px}@media (min-width: 37.5em){.reactions .animation-playing .reaction-button--selected .reaction-icon svg{height:156px;width:156px;top:-48px;left:-48px}}.reactions .reaction-button--show{transition:opacity 43ms cubic-bezier(0, 0.94, 0.46, 0.85) 80ms;opacity:1}@media (prefers-reduced-motion: reduce){.reactions .reaction-button{transition:none}}.reactions .reaction-icon{display:block;position:relative;height:40px;width:40px;margin:4px auto;top:0}@media (min-width: 37.5em){.reactions .reaction-icon{height:60px;width:60px;margin-bottom:8px;margin-top:0}}.reactions .reaction-icon svg{position:absolute;top:0;left:0;height:40px;width:40px;transition:width 43ms ease-out,height 43ms ease-out,transform 43ms ease-out,top 43ms ease-out,left 43ms ease-out}@media (min-width: 37.5em){.reactions .reaction-icon svg{height:60px;width:60px}}.reactions .reaction-label,.reactions .reaction-count{display:block;position:relative;color:#2B1F5A}.reactions .reaction-label{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-weight:bold}@media (min-width: 37.5em){.reactions .reaction-label{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold}}.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-size:11px;padding-bottom:3px}@media (min-width: 25em){.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase}}.reactions .reaction-focus-line{width:12px;height:3px;margin:0 auto;position:relative}.reactions .gel-icon{position:relative}.reactions .reactions-cookie-warning{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FFD201;text-align:center}.reactions .reactions-cookie-warning__inner{display:inline-block}.reactions .reactions-cookie-warning__icon{width:60px;height:50px;float:right;position:relative;overflow:hidden}.reactions .reactions-cookie-warning__icon svg{transform:rotate(15deg);position:absolute;top:-7.5px;left:0}.reactions .reactions-cookie-warning__text{text-align:left;padding:16px;-webkit-text-size-adjust:100%}@media (min-width: 37.5em){.reactions .reactions-cookie-warning__text{padding-right:60px;padding-left:60px}}.reactions .reactions-cookie-warning__link{color:#000;text-decoration:none;font-weight:bold;white-space:nowrap}.reactions .reactions-cookie-warning__link:hover{text-decoration:underline}.reactions .reactions-sprite-animation-wrapper{position:fixed;width:100%;height:100%;top:0;left:0;overflow:hidden;z-index:1000}.reactions .reactions-sprite-animation{position:absolute;overflow:hidden;pointer-events:none;width:150vw;height:150vh;margin-left:-75vw;margin-top:-67.5vh}.reactions .reactions-sprite-animation svg{width:100%;height:100%;max-height:100%;position:relative}.reactions .reactions-sprite__layer{visibility:hidden}.reactions .reactions-sprite-animation__slide--1 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--10{visibility:visible}.reactions .reactions-list{display:flex;display:-webkit-flex;display:-ms-flexbox;margin-bottom:10px;width:100%;justify-content:space-between;-ms-flex-pack:space-between;-webkit-justify-content:space-between}@media (min-width: 25em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (min-width: 37.5em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center;margin:0 auto 10px;padding:8px 0 0}}.reactions .reactions-list li{flex-direction:row;padding:0 2px}@media (min-width: 25em){.reactions .reactions-list li{padding:0 4px}}@media (min-width: 37.5em){.reactions .reactions-list li{padding:0 5px}}.reactions .reactions-error-message{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FD3726;text-align:center;color:#fff}.reactions .reactions-error-message__inner{display:inline-block}.reactions .reactions-error-message__text{text-align:left;padding:16px}@media (min-width: 37.5em){.reactions .reactions-error-message__text{padding-right:60px;padding-left:60px}} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-childrens-reactions/1.3.4"]=true; Morph.styleSrc.push("<style>.reactions-styleguide__section{background-color:#fff;margin-bottom:32px}@media (min-width: 37.5em){.reactions-styleguide__section{padding:16px}}.reactions-styleguide__heading{background-color:#FFD201;margin-left:-16px;margin-right:-16px;padding:16px}.reactions-styleguide__heading:first-of-type{margin-top:-16px}.reactions-styleguide__heading,.reactions-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){.reactions-styleguide__heading,.reactions-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .reactions-styleguide__heading,.no-touch .reactions-styleguide__subheading{font-size:20px;font-size:1.25rem}}#reactions-list li{list-style:none}.reactions__standalone .content-item-description{*zoom:1}.reactions__standalone .content-item-description:before,.reactions__standalone .content-item-description:after{content:\" \";display:table}.reactions__standalone .content-item-description:after{clear:both}.reactions__standalone{max-width:864px}.reactions__standalone::before{position:relative;content:\"\";display:block;width:100%;background-color:black;padding-top:56.25%;z-index:999}.reactions__standalone .content-item-description{color:palette(\"text-dark\");padding:16px 8px}@media (min-width: 37.5em){.reactions__standalone .content-item-description{padding:16px}}.reactions__standalone .reactions-container{width:calc(100% + 16px);margin-top:-16px;margin-right:-16px;margin-bottom:16px;margin-left:-8px}.content-item--riddle-content .reactions__standalone .reactions-container{margin-top:0}@media (min-width: 37.5em){.reactions__standalone .reactions-container{width:calc(100% + 32px);margin-left:-16px}}.reactions__standalone .content-item-description .reactions-cta{float:right;padding-left:16px;padding-right:4px}@media (min-width: 25em){.reactions__standalone .content-item-description .reactions-cta{padding-right:8px}}@media (min-width: 37.5em){.reactions__standalone .content-item-description .reactions-cta{padding-right:16px}}.reactions__standalone .content-item-description .reactions-cta--open{margin-top:0}.reactions__standalone .content-item-description .reactions-tray__reactions{z-index:999}.reactions-module{pointer-events:none;position:relative}.reactions .reactions-tray{margin-top:-36px;position:relative;z-index:999;pointer-events:none}.reactions .reactions-tray::before{display:block;height:20px;content:''}.reactions .reactions-tray__reactions-container{display:block;position:relative;padding:0 3px;max-height:0;height:auto;transition:max-height 300ms 120ms;background-color:#FDF6FF}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (prefers-reduced-motion: reduce){.reactions .reactions-tray__reactions-container{transition:none;max-height:0}}.reactions .reactions-tray__reactions-container:after{content:\"\";position:absolute;width:100%;height:5px;left:0;background:linear-gradient(rgba(43,31,90,0), rgba(43,31,90,0.2));bottom:0;visibility:hidden;transition:visibility 1ms 300ms}.reactions .reactions-tray__reactions-container li{padding-bottom:0;visibility:hidden;transition:visibility 0ms linear 300ms}.reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;color:#333;opacity:0;padding-bottom:16px;text-align:center;text-transform:uppercase;transition:opacity 300ms,visibility 0s linear 200ms;visibility:hidden}@media (min-width: 37.5em){.reactions .reactions-tray__reactive-prompt{font-size:13px;font-size:.8125rem}.no-touch .reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem}}.reactions .reactions-tray__reactions-container--open{display:block;max-height:124px;pointer-events:all;transition:max-height 300ms}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container--open{max-height:154px}}.reactions .reactions-tray__reactions-container--open:after{visibility:visible;transition:visibility 1ms}.reactions .reactions-tray__reactions-container--open li{visibility:visible;transition:visibility 0ms linear 0ms}.reactions .reactions-tray__reactions-container--open .reactions-tray__reactive-prompt{visibility:visible;opacity:1}.reactions .reactions-cta{border:0;position:relative;overflow:visible;cursor:pointer;background-color:transparent;margin:8px 0;pointer-events:auto;z-index:999}.reactions .reactions-cta:hover .cta-cbbc-icon,.reactions .reactions-cta:hover .cta-cbeebies-icon{animation-play-state:paused}@media (min-width: 37.5em){.reactions .reactions-cta:hover .cta-cbbc-icon svg,.reactions .reactions-cta:hover .cta-cbeebies-icon svg{transition:all 500ms ease;transform:scale(1.1)}}.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbbc-icon,.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbeebies-icon{display:block;animation-name:wiggle;animation-duration:7s;animation-delay:5s;animation-iteration-count:3}.reactions .cta-icon svg{width:54px}@keyframes wiggle{0%{transform:scale(1) rotate(0deg)}10%{transform:scale(1.05) rotate(0deg)}11%{transform:scale(1.05) rotate(-5deg)}13%{transform:scale(1.05) rotate(5deg)}15%{transform:scale(1.05) rotate(-5deg)}17%{transform:scale(1.05) rotate(5deg)}19%{transform:scale(1.05) rotate(-5deg)}20%{transform:scale(1.05) rotate(0deg)}30%{transform:scale(1) rotate(0deg)}}.reactions .reactions-cta-image{display:-webkit-flex;display:-ms-flexbox;display:flex;align-items:center;-ms-flex-align:center;font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:bold;color:#2B1F5A;position:relative}@media (min-width: 37.5em){.reactions .reactions-cta-image{line-height:20px;line-height:1.25rem}.no-touch .reactions .reactions-cta-image{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.reactions .reactions-count-container{position:absolute;top:58%;left:-90%;height:25px;line-height:25px;width:80px;text-align:right;vertical-align:middle}.reactions .reactions-cta--open .cta-arrow-icon{transform:rotate(180deg)}.reactions .reaction-button{transition:opacity 200ms ease-in-out;opacity:0;outline:none;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (hover: hover), (-ms-high-contrast: none){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}}@media (hover: hover) and (min-width: 37.5em), (-ms-high-contrast: none) and (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}@-moz-document url-prefix(){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}@media (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}}.reactions .reaction-button:focus .reaction-focus-line{background-color:#2B1F5A}.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-12px}}.reactions .reaction-button.reaction-button--selected .reaction-icon svg{transform:rotate(20deg);transform-origin:center center;height:56px;width:56px;top:-8px;left:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon svg{height:84px;width:84px;top:-12px;left:-12px}}.reactions .animation-playing .reaction-button--selected{position:relative;z-index:1020}.reactions .animation-playing .reaction-button--selected .reaction-icon svg{z-index:1030;height:104px;width:104px;top:-32px;left:-32px}@media (min-width: 37.5em){.reactions .animation-playing .reaction-button--selected .reaction-icon svg{height:156px;width:156px;top:-48px;left:-48px}}.reactions .reaction-button--show{transition:opacity 43ms cubic-bezier(0, 0.94, 0.46, 0.85) 80ms;opacity:1}@media (prefers-reduced-motion: reduce){.reactions .reaction-button{transition:none}}.reactions .reaction-icon{display:block;position:relative;height:40px;width:40px;margin:4px auto;top:0}@media (min-width: 37.5em){.reactions .reaction-icon{height:60px;width:60px;margin-bottom:8px;margin-top:0}}.reactions .reaction-icon svg{position:absolute;top:0;left:0;height:40px;width:40px;transition:width 43ms ease-out,height 43ms ease-out,transform 43ms ease-out,top 43ms ease-out,left 43ms ease-out}@media (min-width: 37.5em){.reactions .reaction-icon svg{height:60px;width:60px}}.reactions .reaction-label,.reactions .reaction-count{display:block;position:relative;color:#2B1F5A}.reactions .reaction-label{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-weight:bold}@media (min-width: 37.5em){.reactions .reaction-label{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-label{font-size:12px;font-size:.75rem}}@media (min-width: 37.5em){.reactions .reaction-label{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold}}@media (min-width: 37.5em) and (min-width: 20em){.reactions .reaction-label{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em) and (min-width: 37.5em){.no-touch .reactions .reaction-label{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-size:11px;padding-bottom:3px}@media (min-width: 37.5em){.reactions .reaction-count{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-count{font-size:12px;font-size:.75rem}}@media (min-width: 25em){.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase}}@media (min-width: 25em) and (min-width: 37.5em){.reactions .reaction-count{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-count{font-size:12px;font-size:.75rem}}.reactions .reaction-focus-line{width:12px;height:3px;margin:0 auto;position:relative}.reactions .gel-icon{position:relative}.reactions .reactions-cookie-warning{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FFD201;text-align:center}@media (min-width: 20em){.reactions .reactions-cookie-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .reactions .reactions-cookie-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reactions-cookie-warning__inner{display:inline-block}.reactions .reactions-cookie-warning__icon{width:60px;height:50px;float:right;position:relative;overflow:hidden}.reactions .reactions-cookie-warning__icon svg{transform:rotate(15deg);position:absolute;top:-7.5px;left:0}.reactions .reactions-cookie-warning__text{text-align:left;padding:16px;-webkit-text-size-adjust:100%}@media (min-width: 37.5em){.reactions .reactions-cookie-warning__text{padding-right:60px;padding-left:60px}}.reactions .reactions-cookie-warning__link{color:#000;text-decoration:none;font-weight:bold;white-space:nowrap}.reactions .reactions-cookie-warning__link:hover{text-decoration:underline}.reactions .reactions-sprite-animation-wrapper{position:fixed;width:100%;height:100%;top:0;left:0;overflow:hidden;z-index:1000}.reactions .reactions-sprite-animation{position:absolute;overflow:hidden;pointer-events:none;width:150vw;height:150vh;margin-left:-75vw;margin-top:-67.5vh}.reactions .reactions-sprite-animation svg{width:100%;height:100%;max-height:100%;position:relative}.reactions .reactions-sprite__layer{visibility:hidden}.reactions .reactions-sprite-animation__slide--1 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--10{visibility:visible}.reactions .reactions-list{display:flex;display:-webkit-flex;display:-ms-flexbox;margin-bottom:10px;width:100%;justify-content:space-between;-ms-flex-pack:space-between;-webkit-justify-content:space-between}@media (min-width: 25em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (min-width: 37.5em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center;margin:0 auto 10px;padding:8px 0 0}}.reactions .reactions-list li{flex-direction:row;padding:0 2px}@media (min-width: 25em){.reactions .reactions-list li{padding:0 4px}}@media (min-width: 37.5em){.reactions .reactions-list li{padding:0 5px}}.reactions .reactions-error-message{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FD3726;text-align:center;color:#fff}@media (min-width: 20em){.reactions .reactions-error-message{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .reactions .reactions-error-message{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reactions-error-message__inner{display:inline-block}.reactions .reactions-error-message__text{text-align:left;padding:16px}@media (min-width: 37.5em){.reactions .reactions-error-message__text{padding-right:60px;padding-left:60px}}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-reactions{list-style:none;margin:0;padding:0}.gs-c-reaction{border:0;padding:0;margin:0;background:none;min-height:44px;cursor:pointer} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-reactions/4.2.0"]=true; Morph.styleSrc.push("<style>.gs-c-reactions{list-style:none;margin:0;padding:0}.gs-c-reaction{border:0;padding:0;margin:0;background:none;min-height:44px;cursor:pointer}\n</style>"); }</script> <script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/2.2.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 type="text/javascript">Morph.initStyles(); /* u39014483941718936 */</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.comments-styleguide__section{background-color:#fff;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{background-color:#ededed;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 a{background-color:#006def;color:#fff;display:inline-block;padding:8px}.comments-styleguide .comments__idcta-msg,.comments-styleguide .comments__idcta-btn{margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments .comment__hidden-text{left:-9999px;position:absolute;top:-9999px}.comments .comments-no-js-message{background-color:#e4134f;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments .comments-no-js-message a{color:#fff}.comments .comments--no-js .comments__more-comments-button{display:none !important}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;background-color:#fff;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments a{color:#222;font-weight:bold;text-decoration:none}.comments b{font-weight:bold}.comments em{font-style:italic}.comments .comments__header{background-color:#ededed;padding:16px 8px}@media (min-width: 37.5em){.comments .comments__header{padding:16px}}.comments .comments-moderation__rules-msg--signed-out{margin-bottom:16px}.comments .comments__alert{margin-left:-16px;margin-right:-16px}.comments .comments__title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;margin-bottom:8px}@media (min-width: 20em){.comments .comments__title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width: 37.5em){.comments .comments__title{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.no-touch .comments .comments__title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.comments .comments__message{font-style:italic;margin-bottom:8px}.comments .comments__message--empty-forum{padding-bottom:8px;padding-top:8px}.comments .comments__input{padding-bottom:8px}.comments .comments__input-area{margin-bottom:8px}.comments .comments__submit-button{margin-bottom:8px}.comments .comments__text-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#fff;color:#767676;padding-bottom:8px;padding-right:8px;padding-top:8px;text-align:right}@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}}.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{background-color:#ededed;padding:8px 8px 24px}@media (min-width: 37.5em){.comments .comments__footer{padding:16px 16px 32px}}.comments .comments__footer.comments__footer--no-comments{padding:8px}.comments .comments__footer.comments__footer--no-comments.comments__footer--closed-forum{padding-bottom:0}.comments .comments__footer.comments__footer--closed-forum{padding-bottom:16px}.comments .comments__more-comments-button{margin-bottom:16px;width:100%}@media (min-width: 37.5em){.comments .comments__more-comments-button{width:auto}}.comments .comments__show-new-comments-container{position:-webkit-sticky;position:sticky;top:-2px;z-index:1}.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__item{border-bottom:1px solid #b2b2b2}.comments .comments-list__item:last-child{border-bottom:0}.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-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-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:bold;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 .comments-input-box{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;background-color:#fff;border:0;color:#222;display:block;font-family:inherit;padding:8px;resize:none;width:100%}.comments .comments-list__item .comment{padding:16px 8px}@media (min-width: 37.5em){.comments .comments-list__item .comment{padding:16px}}.comments .comments-list__item .comments-list__item{border-left:3px solid #666;margin:0 8px 8px}@media (min-width: 37.5em){.comments .comments-list__item .comments-list__item{margin:0 16px 16px}}.comments .comment__title{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:block}@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__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:#767676}@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__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}@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--notable,.comments .comment--distress{background-color:#ededed}.comments .comment__body{margin-top:16px}.comments .comment__footer{display:-webkit-flex;display:flex;margin-top:16px}.comments .comment__footer--medium-tap-size{margin-bottom:-6px}.comments .comment__text{overflow-wrap:break-word;word-wrap:break-word}.comments .comment__ratings{margin-left:auto}.comments .comments-error-message{background-color:#e4134f;color:#fff;margin-bottom:16px;padding:16px}.comments .comments-success-message{background-color:#4a1;color:#fff;margin-bottom:16px;padding:16px}.comments .comment-rating{white-space:nowrap}.comments .comment-rating__loading-icon{display:inline-block;fill:#222;margin-right:8px}.comments .comment-rating__loading-icon svg{height:16px;vertical-align:text-bottom;width:16px}@media (min-width: 37.5em){.comments .comment-rating__loading-icon svg{vertical-align:text-top}}.comments .comment-rating__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-size:inherit;color:#222;line-height:32px;padding:0 0 0 8px}.comments .comment-rating__button:disabled{color:#767676}.comments .comment-rating__button:disabled .comment-rating__button-icon{fill:#767676}.comments .comment-rating__button:hover:not(:disabled),.comments .comment-rating__button:focus:not(:disabled){color:#bb4d1d;cursor:pointer}.comments .comment-rating__button:hover:not(:disabled) .comment-rating__button-icon,.comments .comment-rating__button:focus:not(:disabled) .comment-rating__button-icon{fill:#bb4d1d}.comments .comment-rating__button--posted{color:#bb4d1d}.comments .comment-rating__button--posted:hover:not(:disabled){cursor:default}.comments .comment-rating__button--posted .comment-rating__button-icon{fill:#bb4d1d}.comments .comment-rating__button-number{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;vertical-align:text-bottom}@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:100%;margin-right:8px}.comments .comment-rating__button-icon svg{height:16px;vertical-align:text-bottom;width:16px}.b-reith-sans-loaded .comments .comment-rating__button-icon svg{vertical-align:middle}@media (min-width: 37.5em){.comments .comment-rating__button-icon svg{vertical-align:text-top}.b-reith-sans-loaded .comments .comment-rating__button-icon svg{vertical-align:middle}}.comments .comments-tabs-container{background-color:#ededed}.comments .comments-tabs__tab-title{background-color:#fff;display:inline-block;padding:8px}@media (min-width: 37.5em){.comments .comments-tabs__tab-title{padding:16px}}.comments .comments-tabs__content{background-color:#fff}@media (min-width: 37.5em){.comments .action-links--forum-links{text-align:right}}.comments .action-links__item{display:block;vertical-align:sub}@media (min-width: 25em){.comments .action-links__item{display:inline-block}}.comments .action-links__item--with-separator{padding-right:16px}.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 .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-loading{display:-webkit-flex;display:flex;align-items:center;padding:16px 0}.comments .comments-loading__text{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__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 .alert-icon{fill:#515151;padding-right:4px;vertical-align:middle}.comments .username{font-weight:bold}.comments .posted-date{font-style:italic} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-comments-view/1.69.0"]=true; Morph.styleSrc.push("<style>.comments-styleguide__section{background-color:#fff;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{background-color:#ededed;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 a{background-color:#006def;color:#fff;display:inline-block;padding:8px}.comments-styleguide .comments__idcta-msg,.comments-styleguide .comments__idcta-btn{margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments .comment__hidden-text{left:-9999px;position:absolute;top:-9999px}.comments .comments-no-js-message{background-color:#e4134f;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments .comments-no-js-message a{color:#fff}.comments .comments--no-js .comments__more-comments-button{display:none !important}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;background-color:#fff;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments a{color:#222;font-weight:bold;text-decoration:none}.comments b{font-weight:bold}.comments em{font-style:italic}.comments .comments__header{background-color:#ededed;padding:16px 8px}@media (min-width: 37.5em){.comments .comments__header{padding:16px}}.comments .comments-moderation__rules-msg--signed-out{margin-bottom:16px}.comments .comments__alert{margin-left:-16px;margin-right:-16px}.comments .comments__title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;margin-bottom:8px}@media (min-width: 20em){.comments .comments__title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width: 37.5em){.comments .comments__title{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.no-touch .comments .comments__title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.comments .comments__message{font-style:italic;margin-bottom:8px}.comments .comments__message--empty-forum{padding-bottom:8px;padding-top:8px}.comments .comments__input{padding-bottom:8px}.comments .comments__input-area{margin-bottom:8px}.comments .comments__submit-button{margin-bottom:8px}.comments .comments__text-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#fff;color:#767676;padding-bottom:8px;padding-right:8px;padding-top:8px;text-align:right}@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}}.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{background-color:#ededed;padding:8px 8px 24px}@media (min-width: 37.5em){.comments .comments__footer{padding:16px 16px 32px}}.comments .comments__footer.comments__footer--no-comments{padding:8px}.comments .comments__footer.comments__footer--no-comments.comments__footer--closed-forum{padding-bottom:0}.comments .comments__footer.comments__footer--closed-forum{padding-bottom:16px}.comments .comments__more-comments-button{margin-bottom:16px;width:100%}@media (min-width: 37.5em){.comments .comments__more-comments-button{width:auto}}.comments .comments__show-new-comments-container{position:-webkit-sticky;position:sticky;top:-2px;z-index:1}.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__item{border-bottom:1px solid #b2b2b2}.comments .comments-list__item:last-child{border-bottom:0}.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-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-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:bold;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 .comments-input-box{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;background-color:#fff;border:0;color:#222;display:block;font-family:inherit;padding:8px;resize:none;width:100%}.comments .comments-list__item .comment{padding:16px 8px}@media (min-width: 37.5em){.comments .comments-list__item .comment{padding:16px}}.comments .comments-list__item .comments-list__item{border-left:3px solid #666;margin:0 8px 8px}@media (min-width: 37.5em){.comments .comments-list__item .comments-list__item{margin:0 16px 16px}}.comments .comment__title{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:block}@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__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:#767676}@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__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}@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--notable,.comments .comment--distress{background-color:#ededed}.comments .comment__body{margin-top:16px}.comments .comment__footer{display:-webkit-flex;display:flex;margin-top:16px}.comments .comment__footer--medium-tap-size{margin-bottom:-6px}.comments .comment__text{overflow-wrap:break-word;word-wrap:break-word}.comments .comment__ratings{margin-left:auto}.comments .comments-error-message{background-color:#e4134f;color:#fff;margin-bottom:16px;padding:16px}.comments .comments-success-message{background-color:#4a1;color:#fff;margin-bottom:16px;padding:16px}.comments .comment-rating{white-space:nowrap}.comments .comment-rating__loading-icon{display:inline-block;fill:#222;margin-right:8px}.comments .comment-rating__loading-icon svg{height:16px;vertical-align:text-bottom;width:16px}@media (min-width: 37.5em){.comments .comment-rating__loading-icon svg{vertical-align:text-top}}.comments .comment-rating__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-size:inherit;color:#222;line-height:32px;padding:0 0 0 8px}.comments .comment-rating__button:disabled{color:#767676}.comments .comment-rating__button:disabled .comment-rating__button-icon{fill:#767676}.comments .comment-rating__button:hover:not(:disabled),.comments .comment-rating__button:focus:not(:disabled){color:#bb4d1d;cursor:pointer}.comments .comment-rating__button:hover:not(:disabled) .comment-rating__button-icon,.comments .comment-rating__button:focus:not(:disabled) .comment-rating__button-icon{fill:#bb4d1d}.comments .comment-rating__button--posted{color:#bb4d1d}.comments .comment-rating__button--posted:hover:not(:disabled){cursor:default}.comments .comment-rating__button--posted .comment-rating__button-icon{fill:#bb4d1d}.comments .comment-rating__button-number{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;vertical-align:text-bottom}@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:100%;margin-right:8px}.comments .comment-rating__button-icon svg{height:16px;vertical-align:text-bottom;width:16px}.b-reith-sans-loaded .comments .comment-rating__button-icon svg{vertical-align:middle}@media (min-width: 37.5em){.comments .comment-rating__button-icon svg{vertical-align:text-top}.b-reith-sans-loaded .comments .comment-rating__button-icon svg{vertical-align:middle}}.comments .comments-tabs-container{background-color:#ededed}.comments .comments-tabs__tab-title{background-color:#fff;display:inline-block;padding:8px}@media (min-width: 37.5em){.comments .comments-tabs__tab-title{padding:16px}}.comments .comments-tabs__content{background-color:#fff}@media (min-width: 37.5em){.comments .action-links--forum-links{text-align:right}}.comments .action-links__item{display:block;vertical-align:sub}@media (min-width: 25em){.comments .action-links__item{display:inline-block}}.comments .action-links__item--with-separator{padding-right:16px}.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 .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-loading{display:-webkit-flex;display:flex;align-items:center;padding:16px 0}.comments .comments-loading__text{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__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 .alert-icon{fill:#515151;padding-right:4px;vertical-align:middle}.comments .username{font-weight:bold}.comments .posted-date{font-style:italic}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u9454513287637383 */</script> <script type="text/javascript" id="js-require-config"> define('local/utils/config', function () { "use strict"; var currentTLD = function () { var hostname = window.location.hostname; if (hostname.indexOf('bbc.com') > -1) { return 'com'; } return 'co.uk'; }(); return { 'appName': 'stay-safe', 'env': 'live', 'uasKey': 'ocivkho3fups2', 'uasEnv': 'live', 'uasUrl': '', 'uasDomainSuffix': currentTLD, 'currentTLD': currentTLD, 'comscoreSiteOverride': '', 'comscoreTestServiceUrl': '', 'oneTooltipPerPageEnabled': 'true', 'analyticsReclassificationEnabled': true, 'breakpointConfig': [ { minWidth: 0, name: 'extra-small' }, { minWidth: 400, name: 'small' }, { minWidth: 600, name: 'medium' }, { minWidth: 768, name: 'medium-wide' }, { minWidth: 1008, name: 'wide' }, { minWidth: 1280, name: 'extra-wide' } ] }; }); </script> <script> define('childrens-mandolin', function () { "use strict"; var ROLLING_PERIOD_DAYS = 30; var Mandolin = function (id, segments, opts) { var now = new Date().getTime(), storedItem, DEFAULT_START = now, DEFAULT_RATE = 1, COOKIE_NAME = 'ckpf_childrens_mandolin'; opts = opts || {}; this._id = id; this._segmentSet = segments; this._store = new Mandolin.Storage(COOKIE_NAME); this._opts = opts; this._rate = (opts.rate !== undefined) ? +opts.rate : DEFAULT_RATE; this._startTs = (opts.start !== undefined) ? new Date(opts.start).getTime() : new Date(DEFAULT_START).getTime(); this._endTs = (opts.end !== undefined) ? new Date(opts.end).getTime() : daysFromNow(ROLLING_PERIOD_DAYS); this._signupEndTs = (opts.signupEnd !== undefined) ? new Date(opts.signupEnd).getTime() : this._endTs; this._segment = null; // initially // Check for invalid options if (typeof id !== 'string') { throw new Error('Invalid Argument: id must be defined and be a string'); } if (Object.prototype.toString.call(segments) !== '[object Array]') { throw new Error('Invalid Argument: Segments are required.'); } if (opts.rate !== undefined && (opts.rate < 0 || opts.rate > 1)) { throw new Error('Invalid Argument: Rate must be between 0 and 1.'); } if (this._startTs > this._endTs) { throw new Error('Invalid Argument: end date must occur after start date.'); } if (!(this._startTs < this._signupEndTs && this._signupEndTs <= this._endTs)) { throw new Error('Invalid Argument: SignupEnd must be between start and end date'); } // Clear out expired items from Storage before looking for stashed segment data removeExpired.call(this, now); // Load segment override from cookie and validate segment if set. var overrides = window.bbccookies.get().match(/ckns_mandolin_setSegments=([^;]+)/); if (overrides !== null) { eval('overrides = ' + decodeURIComponent(RegExp.$1) + ';'); if(overrides[this._id] && this._segmentSet.indexOf(overrides[this._id]) == -1){ throw new Error('Invalid Override: overridden segment should exist in segments array'); } } if (overrides !== null && overrides[this._id]){ this._segment = overrides[this._id]; } else if ((storedItem = this._store.getItem(this._id))) { this._segment = storedItem.segment; } else if (this._startTs <= now && now < this._signupEndTs && now <= this._endTs && this._store.isEnabled() === true) { this._segment = pick(segments, this._rate); if (opts.end === undefined) { this._store.setItem(this._id, {segment: this._segment}); } else { this._store.setItem(this._id, {segment: this._segment, end: this._endTs}); } log.call(this, 'mandolin_segment'); } // order matters: do this after the segment has been populated log.call(this, 'mandolin_view'); }; Mandolin.prototype.getSegment = function () { return this._segment; }; function log(actionType, params) { var that = this; require(['istats-1'], function (istats) { istats.log(actionType, that._id + ':' + that._segment, params ? params : {}); }); } function removeExpired(expires) { var items = this._store.getItems(), expiresInt = +expires; for (var key in items) { if (items[key].end !== undefined && +items[key].end < expiresInt) { this._store.removeItem(key); } } } function getLastExpirationDate(data) { var winner = 0, rollingExpire = daysFromNow(ROLLING_PERIOD_DAYS); for (var key in data) { if (data[key].end === undefined && rollingExpire > winner) { winner = rollingExpire; } else if (+data[key].end > winner) { winner = +data[key].end; } } return (winner) ? new Date(winner) : new Date(rollingExpire) ; } Mandolin.prototype.log = function (params) { log.call(this, 'mandolin_log', params); }; Mandolin.prototype.convert = function (params) { log.call(this, 'mandolin_convert', params); this.convert = function () {}; }; function daysFromNow(n) { var endDate; endDate = new Date().getTime() + (n * 60 * 60 * 24) * 1000; return endDate; } function pick(segments, rate) { var picked, min = 0, max = segments.length - 1; if (typeof rate === 'number' && Math.random() > rate) { return null; } do { picked = Math.floor(Math.random() * (max - min + 1)) + min; } while (picked > max); return segments[picked]; } Mandolin.Storage = function (name) { validateCookieName(name); this._cookieName = name; this._isEnabled = (bbccookies.isAllowed(this._cookieName) === true && bbccookies.cookiesEnabled() === true); }; Mandolin.Storage.prototype.setItem = function (key, value) { var storeData = this.getItems(); storeData[key] = value; this.save(storeData); return value; }; Mandolin.Storage.prototype.isEnabled = function () { return this._isEnabled; }; Mandolin.Storage.prototype.getItem = function (key) { var storeData = this.getItems(); return storeData[key]; }; Mandolin.Storage.prototype.removeItem = function (key) { var storeData = this.getItems(); delete storeData[key]; this.save(storeData); }; Mandolin.Storage.prototype.getItems = function () { return deserialise(this.readCookie(this._cookieName) || ''); }; Mandolin.Storage.prototype.save = function (data) { //TODO: Is this mixing concerns to have Storage aware of item expiry? window.bbccookies.set( this._cookieName + '=' + encodeURIComponent(serialise(data)) + '; ' + 'path=/;' + 'expires=' + getLastExpirationDate(data).toUTCString() + ';' ); }; Mandolin.Storage.prototype.readCookie = function (name) { var nameEq = name + '=', ca = window.bbccookies.get().split('; '), i, c; validateCookieName(name); for (i = 0; i < ca.length; i++) { c = ca[i]; if (c.indexOf(nameEq) === 0) { return decodeURIComponent(c.substring(nameEq.length, c.length)); } } return null; }; function serialise(o) { var str = ''; for (var p in o) { if (o.hasOwnProperty(p)) { str += '"' + p + '"' + ':' + (typeof o[p] === 'object' ? (o[p] === null? 'null' : '{' + serialise(o[p])+ '}') : '"' + o[p].toString() + '"') + ','; } } return str.replace(/,\}/g, '}').replace(/,$/g, ''); } function deserialise(str) { var o; str = '{' + str + '}'; if ( !validateSerialisation(str) ) { throw 'Invalid input provided for deserialisation.'; } eval('o = ' + str); return o; } var validateSerialisation = (function () { var OBJECT_TOKEN = '<Object>', ESCAPED_CHAR = '"\\n\\r\\u2028\\u2029\\u000A\\u000D\\u005C', ALLOWED_CHAR = '([^' + ESCAPED_CHAR + ']|\\\\[' + ESCAPED_CHAR + '])', KEY = '"' + ALLOWED_CHAR + '+"', VALUE = '(null|"' + ALLOWED_CHAR + '*"|' + OBJECT_TOKEN + ')', KEY_VALUE = KEY + ':' + VALUE, KEY_VALUE_SEQUENCE = '(' + KEY_VALUE + ',)*' + KEY_VALUE, OBJECT_LITERAL = '({}|{' + KEY_VALUE_SEQUENCE + '})', objectPattern = new RegExp(OBJECT_LITERAL, 'g'); return function(str) { if (str.indexOf(OBJECT_TOKEN) !== -1) return false; while (str.match(objectPattern)) { str = str.replace(objectPattern, OBJECT_TOKEN); } return str === OBJECT_TOKEN; } })(); function validateCookieName(name) { if ( name.match(/ ,;/) ) { throw 'Illegal name provided, must be valid in browser cookie.'; } } return Mandolin; }); </script> <script type="text/javascript" id="js-require-setup"> require({ paths: { 'childrens': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts', 'cbeebies': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/cbeebies', 'cbbc': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/cbbc', 'jquery': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/jquery', 'jquery-1': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/jquery/jquery', 'jquery-1.9': 'https://web.archive.org/web/20190205044446/https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1', 'lib': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries', 'bump-3': 'https://web.archive.org/web/20190205044446/https://emp.bbci.co.uk/emp/bump-3/bump-3', 'bump-4': 'https://web.archive.org/web/20190205044446/https://emp.bbci.co.uk/emp/bump-4/bump-4', 'embed': 'https://web.archive.org/web/20190205044446/https://play.bbc.co.uk/play/sdk/embed/v1/latest', 'lib/Imager': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/Imager.min', 'TweenMax': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/gsap/TweenMax.min', 'TimelineMax': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/gsap/TweenMax.min', 'echo-11.2.2': 'https://web.archive.org/web/20190205044446/https://mybbc-analytics.files.bbci.co.uk/echo-client-js/echo-11.2.2.min', 'lib/riddle': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/riddle/embed-3.20.min', 'lib/minpubsub': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/minpubsub.min', 'uasclient': 'https://web.archive.org/web/20190205044446/https://static.bbci.co.uk/uasclient/0.1.40/modules/uasclient', 'activity-button': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/activity-button', 'activity-button/activity-button': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/personalisation/personalisation.min', 'reads': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/reads', 'reads/reads': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/personalisation/personalisation.min', 'reads-carousel': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/reads-carousel', 'reads-carousel/reads-carousel': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/personalisation/personalisation.min', 'angular': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/angular', 'angular/app': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/angular/app.min', 'stats': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/stats', 'stats/riddle-events': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/stats/riddle-events.min', 'stats/stats': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/stats/stats.min', 'confetti': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/confetti', 'confetti/confetti': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/confetti/confetti.min', 'follows-panel': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/follows-panel', 'follows-panel/childrens-follows-panel': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/personalisation/personalisation.min', 'personalisation': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/personalisation', 'domReady': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/libraries/require/domReady.min', 'relay-1': 'https://web.archive.org/web/20190205044446/https://static.bbci.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1', 'jssignals-1': 'https://web.archive.org/web/20190205044446/https://static.bbci.co.uk/frameworks/jssignals/0.3.6/modules/jssignals-1', 'vote-wrapper': 'https://web.archive.org/web/20190205044446/https://account-wrapper.files.bbci.co.uk/vote-wrapper.min', 'event-stream': 'https://web.archive.org/web/20190205044446/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/javascripts/event-stream/event-stream.min' }, shim: { 'angular/angular': { exports: 'angular' }, 'TweenMax': { exports: 'TweenMax' }, 'TimelineMax': { exports: 'TimelineMax' } } }); require({ map: { '*': { 'idcta/idcta-1': 'idcta-v2/idcta-1' } } }); requirejs.onError = function (err) { // if a version of echojs fails to load (i.e. blocked for privacy reasons) // replace our echo_client with a dummy implementation so existing code // continues to work as expected function isEchoJsLibrary(moduleName) { return moduleName.indexOf('echo-') === 0; } if ( err.requireType === 'scripterror' && err.requireModules && err.requireModules.find(isEchoJsLibrary) ) { requirejs.undef('stats/echo_client'); define('stats/echo_client', [], function () { return { countername : function() {}, viewEvent : function() {}, userActionEvent : function() {} } }); // re-evaluate all dependencies on echo_client which will pick up the dummy version requirejs(['stats/echo_client'], function () {}); } }; require(['local/utils/config'], function (config) { }); require(["istats-1"], function (istats) { if (istats.setSite !== undefined) { istats.setSite('stay-safe'); } istats.addLabels({ "page_type" : "content", "children_curation" : "safer-internet-day-2019", "children_show" : "none", "children_index" : "its-personal", "children_topic" : "none", "children_collection" : "safer-internet-day-2019", "children_oj_campaign" : "stay-safe.its-personal.sam_and_mark_share_digital_dads_dos_and_donts.page-stay-safe.its-personal.youtube_stars_digital_consent.page-stay-safe.its-personal.terms_and_conditions_quiz.page", "children_primary_content" : "pid-p06z2k9c", "children_comments" : "true", "children_uploader" : "false" }); }); </script> <script> require(['childrens-mandolin'], function (Mandolin) { //cleanup collection-position test var storage = new Mandolin.Storage('ckpf_childrens_mandolin'); var experimentName = 'childrens_collection_position'; if (storage.getItem(experimentName)) { storage.removeItem(experimentName); } }); </script> <script type="text/javascript"> define('local/utils/experiments', ['childrens-mandolin'], function (Mandolin) { "use strict"; function setupMandolin(experiment, variants, config) { var mandolin = new Mandolin(experiment, variants, config); return mandolin.getSegment(); } function addClasses(wrapper, experiment, variant) { var experimentPrefix = " experiment-"; var experimentClass = experimentPrefix + experiment; wrapper.className += experimentClass + experimentClass + "--" + variant; } function addAttribute(wrapper, experiment, variant) { if (!wrapper.hasAttribute("data-active-experiment")) { var att = document.createAttribute("data-active-experiment"); att.value = experiment + ":" + variant; wrapper.setAttributeNode(att); } } return { setup: function(experiment, variants, config) { var variant = setupMandolin(experiment, variants, config); var wrapper = document.querySelector(".childrens-wrapper"); if (variant) { addClasses(wrapper, experiment, variant); } addAttribute(wrapper, experiment, variant); return variant; } } }); </script> </head> <body class="b-pw-1280"> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20190205044446im_/https://sa.bbc.co.uk/bbc/bbc/s?name=ownit.its_personal.where_are_your_photos_going.page&amp;ml_name=webmodule&amp;ml_version=-1&amp;blq_e=orbit&amp;blq_r=orbit&amp;blq_s=orbit&amp;blq_v=cbbc&amp;language=en&amp;app_name=stay-safe&amp;app_type=responsive&amp;blq_js_enabled=0" 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.isActive('ads')) { 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.isActive('ads')) { 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.isActive('ads')) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isActive('analytics')) { 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/20190205044446/https://www.bbc.co.uk/">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#main-content">Skip to content</a></li><li><a id="orb-accessibility-help" href="/web/20190205044446/https://www.bbc.com/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"><a id="idcta-link" href="https://web.archive.org/web/20190205044446/https://account.bbc.com/account?context=cbbc&amp;ptrt=https://www.bbc.com/ownit/its-personal/where-are-your-photos-going"><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></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-cbbc"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.com/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/iplayer/guide/cbbc">CBBC on TV</a></li><li class="orb-nav-cbbchelp orb-d"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/cbbc/curations/cbbc-help">CBBC Help</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/20190205044446/https://search.bbc.co.uk/search?scope=cbbc" title="Search the BBC">Search</a><form class="b-f" id="orb-search-form" role="search" method="get" action="https://web.archive.org/web/20190205044446/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" id="orb-search-scope" value="cbbc"><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" 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="unsupported-browser-banner-wrapper"> <!--[if lt IE 10]> <div class="unsupported-browser-banner" role="complementary"> <div class="unsupported-browser-banner__window"> <div class="grid__container"> <div class="grid__item"> <img class="unsupported-browser-banner__icon" aria-hidden="true" alt="" src="https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/c9e7ab2/images/icons/ie-caution-icon.png"/> <span class="unsupported-browser-banner__text">To get the best experience from Own It, you need to upgrade your browser to the latest version.</span> </div> </div> </div> </div> <![endif]--> </div> <script> // Show unsupported browser banner for IE10 (function () { if (/*@cc_on!@*/false && document.documentMode === 10) { var bannerWrapper = document.getElementById('unsupported-browser-banner-wrapper'); var currentNode = bannerWrapper.firstChild; var startTagLength = '<!--[if lt IE 10]>'.length; var endTagLength = '<![endif]-->'.length; // Retrieve comment node inside the bannerWrapper; first child is whitespace while (currentNode) { if (currentNode.nodeType === bannerWrapper.COMMENT_NODE) { // Remove the IE tag comments and insert HTML into bannerWrapper bannerWrapper.innerHTML = currentNode.nodeValue.trim().slice(startTagLength, -endTagLength); } currentNode = currentNode.nextSibling; } } })(); </script> <div class="childrens-wrapper childrens-wrapper--stay-safe childrens-wrapper--content-item childrens-wrapper--its-personal childrens-wrapper--background feature-flag feature-flag--search-bar feature-flag--new-vote-styling feature-flag--episode-prominence-on-brand-pages feature-flag--reactions feature-flag--reith-font feature-flag--new-comments-theme" data-stats-page-type="content" data-stats-children-curation="safer-internet-day-2019" data-stats-children-show="none" data-stats-children-index="its-personal" data-stats-children-topic="none" data-stats-children-collection="safer-internet-day-2019" data-stats-children-oj-campaign="stay-safe.its-personal.sam_and_mark_share_digital_dads_dos_and_donts.page-stay-safe.its-personal.youtube_stars_digital_consent.page-stay-safe.its-personal.terms_and_conditions_quiz.page" data-stats-children-page-intention="false" data-stats-children-primary-content="pid-p06z2k9c" data-stats-children-comments="true" data-stats-children-uploader="false"> <script> require(['jquery-1', 'stats/stats', 'domReady!'], function ($, stats, domReady) { stats.init($('.childrens-wrapper'), window.location.pathname); }); </script> <span class="childrens-wrapper__cover"></span> <div class="menu-container "> <div class="menu-placeholder"></div> <nav id="menu" role="navigation" class="menu menu--closed"> <div class="menu__window window window--extra-wide "> <div class="menu__bar"> <a class="menu__product" href="/web/20190205044446/https://www.bbc.com/ownit" data-stats-interaction="navigation" data-stats-interaction-variant="home_logo"> <svg viewbox="0 0 160 32" version="1.1" id="small-menu-logo" class="logo logo--ownit menu__logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" enable-background="new 0 0 160 32" xml:space="preserve" preserveaspectratio="xMaxYMin meet" width="160px" height="32px" style="-webkit-transform-style: preserve-3d"> <defs></defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="own-it" fill="#353E8F"> <path d="M15.7762411,12.56844 C13.9075406,12.56844 12.3926627,14.10476 12.3926627,15.99992 C12.3926627,17.89524 13.9075406,19.43156 15.7762411,19.43156 C17.6449415,19.43156 19.1598194,17.89524 19.1598194,15.99992 C19.1598194,14.10476 17.6449415,12.56844 15.7762411,12.56844 L15.7762411,12.56844 Z M62.7190765,0.67744 L67.1885756,12.52576 L62.6643722,24.4748 L55.8760359,24.4748 L60.4429141,12.52576 L55.973415,0.67744 L48.6299903,0.67744 L53.0994894,12.52576 L48.5753649,24.4748 L41.787068,24.4748 L46.3539068,12.52576 L41.8843682,0.67744 L34.540983,0.67744 L39.0104821,12.52576 L34.4863576,24.4748 L36.9863459,31.14292 L67.306385,31.14292 L74.5319215,12.52576 L70.0624223,0.67744 L62.7190765,0.67744 Z M120.862992,31.22808 L127.630188,31.22808 L127.630188,0.77208 L120.862992,0.77208 L120.862992,31.22808 Z M24.5552284,16.00004 C24.5552284,10.97516 20.7742456,6.78792 15.7762411,6.78792 C10.7782365,6.78792 6.99725369,10.97516 6.99725369,16.00004 C6.99725369,21.02484 10.7782365,25.2122 15.7762411,25.2122 C20.7742456,25.2122 24.5552284,21.02484 24.5552284,16.00004 L24.5552284,16.00004 Z M15.7762411,32 C7.08406268,32 0,24.81532 0,16.00004 C0,7.18456 7.08406268,0 15.7762411,0 C24.4684589,0 31.5524821,7.18456 31.5524821,16.00004 C31.5524821,24.81532 24.4684589,32 15.7762411,32 Z M98.0990026,15.78596 L79.2027259,0.4288 L79.2027259,31.14292 L85.9514243,31.14292 L85.9514243,14.93032 L98.0990026,24.81184 L98.0990026,31.14292 L104.847662,31.14292 L104.847662,0.77108 L98.0990026,0.77108 L98.0990026,15.78596 Z M160,0.77204 L160,11.02408 L153.232488,11.02408 L153.232488,7.54952 L149.383668,7.54952 L149.383668,31.22808 L142.616471,31.22808 L142.616471,7.54952 L138.809576,7.54952 L138.809576,11.02408 L132.04238,11.02408 L132.04238,0.77204 L160,0.77204 Z" id="Own-It-Logo"></path> </g> </g> </svg> Home </a> <button id="menu-toggle" class="menu__toggle" data-stats-interaction="navigation" data-stats-interaction-action="button" data-stats-interaction-variant="open"> <span id="menu-toggle-title" class="menu__toggle-title">Menu</span> <i aria-hidden="true" class="menu__toggle-icon"></i> </button> </div> <div class="menu__contents"> <div class="menu__list"> <ul class="menu__list-inner"> <li class="menu__item menu__item--home"> <a class="menu__link" href="/web/20190205044446/https://www.bbc.com/ownit" data-stats-interaction="navigation" data-stats-interaction-variant="home"> <span class="menu__link-icon"> <svg viewbox="0 0 160 32" version="1.1" id="large-menu-logo" class="logo logo--ownit menu__logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" enable-background="new 0 0 160 32" xml:space="preserve" preserveaspectratio="xMaxYMin meet" width="160px" height="32px" style="-webkit-transform-style: preserve-3d"> <defs></defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="own-it" fill="#353E8F"> <path d="M15.7762411,12.56844 C13.9075406,12.56844 12.3926627,14.10476 12.3926627,15.99992 C12.3926627,17.89524 13.9075406,19.43156 15.7762411,19.43156 C17.6449415,19.43156 19.1598194,17.89524 19.1598194,15.99992 C19.1598194,14.10476 17.6449415,12.56844 15.7762411,12.56844 L15.7762411,12.56844 Z M62.7190765,0.67744 L67.1885756,12.52576 L62.6643722,24.4748 L55.8760359,24.4748 L60.4429141,12.52576 L55.973415,0.67744 L48.6299903,0.67744 L53.0994894,12.52576 L48.5753649,24.4748 L41.787068,24.4748 L46.3539068,12.52576 L41.8843682,0.67744 L34.540983,0.67744 L39.0104821,12.52576 L34.4863576,24.4748 L36.9863459,31.14292 L67.306385,31.14292 L74.5319215,12.52576 L70.0624223,0.67744 L62.7190765,0.67744 Z M120.862992,31.22808 L127.630188,31.22808 L127.630188,0.77208 L120.862992,0.77208 L120.862992,31.22808 Z M24.5552284,16.00004 C24.5552284,10.97516 20.7742456,6.78792 15.7762411,6.78792 C10.7782365,6.78792 6.99725369,10.97516 6.99725369,16.00004 C6.99725369,21.02484 10.7782365,25.2122 15.7762411,25.2122 C20.7742456,25.2122 24.5552284,21.02484 24.5552284,16.00004 L24.5552284,16.00004 Z M15.7762411,32 C7.08406268,32 0,24.81532 0,16.00004 C0,7.18456 7.08406268,0 15.7762411,0 C24.4684589,0 31.5524821,7.18456 31.5524821,16.00004 C31.5524821,24.81532 24.4684589,32 15.7762411,32 Z M98.0990026,15.78596 L79.2027259,0.4288 L79.2027259,31.14292 L85.9514243,31.14292 L85.9514243,14.93032 L98.0990026,24.81184 L98.0990026,31.14292 L104.847662,31.14292 L104.847662,0.77108 L98.0990026,0.77108 L98.0990026,15.78596 Z M160,0.77204 L160,11.02408 L153.232488,11.02408 L153.232488,7.54952 L149.383668,7.54952 L149.383668,31.22808 L142.616471,31.22808 L142.616471,7.54952 L138.809576,7.54952 L138.809576,11.02408 L132.04238,11.02408 L132.04238,0.77204 L160,0.77204 Z" id="Own-It-Logo"></path> </g> </g> </svg> </span><span class="menu__link-label">Home</span> </a> </li><!-- --><li class="menu__item menu__item--the-basics"> <a class="menu__link" href="/web/20190205044446/https://www.bbc.com/ownit/the-basics" data-stats-interaction="navigation" data-stats-interaction-variant="the-basics"> <span class="menu__link-icon"></span><span class="menu__link-label">The Basics</span> </a> </li><li class="menu__item menu__item--take-control"> <a class="menu__link" href="/web/20190205044446/https://www.bbc.com/ownit/take-control" data-stats-interaction="navigation" data-stats-interaction-variant="take-control"> <span class="menu__link-icon"></span><span class="menu__link-label">Take Control</span> </a> </li><li class="menu__item menu__item--its-personal menu__item--current"> <a class="menu__link" href="/web/20190205044446/https://www.bbc.com/ownit/its-personal" data-stats-interaction="navigation" data-stats-interaction-variant="its-personal"> <span class="menu__link-icon"></span><span class="menu__link-label">It&#x27;s Personal</span> </a> </li><li class="menu__item menu__item--dont-panic"> <a class="menu__link" href="/web/20190205044446/https://www.bbc.com/ownit/dont-panic" data-stats-interaction="navigation" data-stats-interaction-variant="dont-panic"> <span class="menu__link-icon"></span><span class="menu__link-label">Don&#x27;t Panic</span> </a> </li><li class="menu__item menu__item--about-us"> <a class="menu__link" href="/web/20190205044446/https://www.bbc.com/ownit/about-us" data-stats-interaction="navigation" data-stats-interaction-variant="about-us"> <span class="menu__link-icon"></span><span class="menu__link-label">About Us</span> </a> </li> </ul> <div class="menu__search-bar menu__search-bar--open"> <form id="search-bar-in-menu" class="search-bar" role="search" action="//web.archive.org/web/20190205044446/https://search.bbc.co.uk/search" method="get" accept-charset="utf-8"> <label for="search-bar-input-in-menu" class="search-bar__label vh">Start your search here...</label> <input type="hidden" name="scope" value="cbbc"> <div class="search-bar__input-area"> <input id="search-bar-input-in-menu" class="search-bar__input" type="text" name="q" placeholder="Start your search here..."> <button class="search-bar__clear" aria-label="Clear Search" type="button" data-stats-interaction="search_bar" data-stats-interaction-variant="clear" data-stats-interaction-action="button"> <i class="search-bar__clear-icon gelicon gelicon--no" aria-hidden="true"></i> </button> </div> <button aria-label="Search" class="search-bar__button"> <div class="search-bar__button-inner"> <span class="search-bar__button-image"></span> </div> </button> </form> <script> require(['jquery-1', 'local/utils/config'], function ($, config) { function clearSearchOnClick() { var $searchBar = $('#search-bar-in-menu'); var $searchInput = $('#search-bar-input-in-menu'); var $clearButton = $searchBar.find('.search-bar__clear'); $clearButton.on('click', function () { $searchInput.val("").focus(); $clearButton.hide(); }); function hideOrShowClearButton() { var isEmpty = $searchInput.val() === ""; isEmpty ? $clearButton.hide() : $clearButton.show(); } hideOrShowClearButton(); $searchInput.on('keyup keypress blur change', hideOrShowClearButton); } function setNextPageIstatsLabelsOnFormSubmit() { var $searchForm = $('#search-bar-in-menu'); function canSetPerformanceCookies() { return config.analyticsReclassificationEnabled || (window.bbccookies && window.bbccookies.cookiesEnabled() && window.bbccookies.readPolicy('performance')); } function setNextPageIstatsCookie(labels, domain) { var encodedLabels = $.map(labels, function(value, key) { return encodeURIComponent(key) + '=' + encodeURIComponent(value); }); var encodedLabelString = encodeURIComponent(encodedLabels.join('&')); document.cookie = 'sa_labels=' + encodedLabelString + '; domain=' + domain + '; path=/'; } var $searchButton = $searchForm.find('.search-bar__button'); function searchButtonIsActive() { return document.activeElement === $searchButton[0]; } $searchForm.submit(function () { if (canSetPerformanceCookies()) { var pageType = $(this).closest('[data-stats-page-type]').attr('data-stats-page-type'); var submitType = searchButtonIsActive() ? 'button' : 'submit'; var labels = { 'intlink_from_url': window.location.href, 'intlink_ts': new Date().getTime(), 'intlink_id': 'childrens-local-search-' + submitType, 'link_location': 'childrens-local-search-' + pageType }; setNextPageIstatsCookie(labels, "bbc." + config.currentTLD); } }); } clearSearchOnClick(); setNextPageIstatsLabelsOnFormSubmit(); }); </script> </div> <div class="menu__close-on-focus" tabindex="0"></div> </div> </div> </div> </nav> <div class="menu__search-bar menu__search-bar--below-menu"> <form id="search-bar-below-menu" class="search-bar" role="search" action="//web.archive.org/web/20190205044446/https://search.bbc.co.uk/search" method="get" accept-charset="utf-8"> <label for="search-bar-input-below-menu" class="search-bar__label vh">Start your search here...</label> <input type="hidden" name="scope" value="cbbc"> <div class="search-bar__input-area"> <input id="search-bar-input-below-menu" class="search-bar__input" type="text" name="q" placeholder="Start your search here..."> <button class="search-bar__clear" aria-label="Clear Search" type="button" data-stats-interaction="search_bar" data-stats-interaction-variant="clear" data-stats-interaction-action="button"> <i class="search-bar__clear-icon gelicon gelicon--no" aria-hidden="true"></i> </button> </div> <button aria-label="Search" class="search-bar__button"> <div class="search-bar__button-inner"> <span class="search-bar__button-image"></span> </div> </button> </form> <script> require(['jquery-1', 'local/utils/config'], function ($, config) { function clearSearchOnClick() { var $searchBar = $('#search-bar-below-menu'); var $searchInput = $('#search-bar-input-below-menu'); var $clearButton = $searchBar.find('.search-bar__clear'); $clearButton.on('click', function () { $searchInput.val("").focus(); $clearButton.hide(); }); function hideOrShowClearButton() { var isEmpty = $searchInput.val() === ""; isEmpty ? $clearButton.hide() : $clearButton.show(); } hideOrShowClearButton(); $searchInput.on('keyup keypress blur change', hideOrShowClearButton); } function setNextPageIstatsLabelsOnFormSubmit() { var $searchForm = $('#search-bar-below-menu'); function canSetPerformanceCookies() { return config.analyticsReclassificationEnabled || (window.bbccookies && window.bbccookies.cookiesEnabled() && window.bbccookies.readPolicy('performance')); } function setNextPageIstatsCookie(labels, domain) { var encodedLabels = $.map(labels, function(value, key) { return encodeURIComponent(key) + '=' + encodeURIComponent(value); }); var encodedLabelString = encodeURIComponent(encodedLabels.join('&')); document.cookie = 'sa_labels=' + encodedLabelString + '; domain=' + domain + '; path=/'; } var $searchButton = $searchForm.find('.search-bar__button'); function searchButtonIsActive() { return document.activeElement === $searchButton[0]; } $searchForm.submit(function () { if (canSetPerformanceCookies()) { var pageType = $(this).closest('[data-stats-page-type]').attr('data-stats-page-type'); var submitType = searchButtonIsActive() ? 'button' : 'submit'; var labels = { 'intlink_from_url': window.location.href, 'intlink_ts': new Date().getTime(), 'intlink_id': 'childrens-local-search-' + submitType, 'link_location': 'childrens-local-search-' + pageType }; setNextPageIstatsCookie(labels, "bbc." + config.currentTLD); } }); } clearSearchOnClick(); setNextPageIstatsLabelsOnFormSubmit(); }); </script> </div> </div> <script> (function () { 'use strict'; var button = document.getElementById('menu-toggle'); var buttonTitle = document.getElementById('menu-toggle-title'); var menu = document.getElementById('menu'); var menuOverlay = document.querySelector('.menu__contents'); var menuOpen = false; function addEvent(name, el, fn) { if (el.addEventListener) el.addEventListener(name, fn, false); else if (el.attachEvent) el.attachEvent('on' + name, fn); } function removeClass(el, name) { el.className = el.className.replace(new RegExp('(?:^|\\s)' + name + '(?!\\S)'), ''); } function setText(el, text) { if (el.textContent) { el.textContent = text; } else { el.innerText = text; } } function toggleMenuOpenAndClose(e) { e.preventDefault(); menuOpen = !menuOpen; if (menuOpen) { removeClass(menu, 'menu--closed'); menu.className += ' menu--open'; setText(buttonTitle, 'Close'); setTimeout(function () { button.setAttribute('data-stats-interaction-variant', 'close'); }, 10); } else { removeClass(menu, 'menu--open'); menu.className += ' menu--closed'; setText(buttonTitle, 'Menu'); setTimeout(function () { button.setAttribute('data-stats-interaction-variant', 'open'); }, 10); } } function findElements(selector) { var elements = document.querySelectorAll(selector); return Array.prototype.slice.call(elements); } var searchBars = findElements('.search-bar__input'); function searchInputCopyText(e) { var text = e.target.value; searchBars.forEach(function(searchBar) { searchBar.value = text; if ("createEvent" in document) { var evt = document.createEvent("HTMLEvents"); evt.initEvent("change", false, true); searchBar.dispatchEvent(evt); } }) } addEvent('click', button, toggleMenuOpenAndClose); if (menuOverlay) { addEvent('click', menuOverlay, function (e) { var clickedOnEmptySpace = e.target === menuOverlay; if (clickedOnEmptySpace) { toggleMenuOpenAndClose(e); } }); } var hiddenElementAfterSearchInMenu = document.querySelector('.menu__close-on-focus'); addEvent('focus', hiddenElementAfterSearchInMenu, function (e) { var menuToggle = document.querySelector('.menu__toggle'); toggleMenuOpenAndClose(e); menuToggle.focus(); }); searchBars.forEach(function(searchBar) { addEvent('blur', searchBar, searchInputCopyText); }); })(); </script> <script> (function () { var menu = document.getElementById('menu'); var childrensWrapper = document.querySelector('.childrens-wrapper'); var anchorOffsetClass = 'childrens-wrapper--anchor-offset'; function currentVerticalScroll() { return document.documentElement.scrollTop || document.body.scrollTop; } function setupMenuStickyness() { var stuckClass = 'menu--stuck'; function stickingPoint() { return childrensWrapper.offsetTop; } function hasScrolledPastStickingPoint() { return currentVerticalScroll() >= stickingPoint(); } function calculateMainContentHeight() { var viewportWidth = document.documentElement.clientWidth; var mediumBreakpoint = 600; var maxContentHeight = 468; var contentHeight; if (viewportWidth < mediumBreakpoint) { contentHeight = Math.floor(viewportWidth / 16 * 9); } else { contentHeight = Math.floor((viewportWidth - 64) / 16 * 9); } return contentHeight > maxContentHeight ? maxContentHeight : contentHeight; } function hasEnoughSpaceForMainContent() { var viewportHeight = document.documentElement.clientHeight; var menuHeight = menu.offsetHeight; return viewportHeight > (menuHeight + calculateMainContentHeight()); } function stickElement(elem) { elem.classList.add(stuckClass); } function unstickElement(elem) { elem.classList.remove(stuckClass); } function applyAnchorOffsets() { childrensWrapper.classList.add(anchorOffsetClass); } function unapplyAnchorOffsets() { childrensWrapper.classList.remove(anchorOffsetClass); } function stickOrUnstickMenu() { var menuIsStuck = menu.classList.contains(stuckClass); var menuIsOpen = menu.classList.contains('menu--open'); var isSpaceForStickyNav = (hasEnoughSpaceForMainContent() || menuIsOpen); //If the menu is open then assume there is enough space for sticky nav if (hasScrolledPastStickingPoint() && isSpaceForStickyNav) { if (!menuIsStuck && !menuIsOpen) { stickElement(menu); } } else { if (menuIsStuck) { unstickElement(menu); } } } function applyOrUnapplyAnchorOffsets() { if (hasEnoughSpaceForMainContent()) { applyAnchorOffsets(); } else { unapplyAnchorOffsets(); } } function throttleAndDebounce(fn) { var blockFunctionCall = false; return function () { if (blockFunctionCall) return; var self = this; blockFunctionCall = true; function run() { fn.apply(self); } run(); setTimeout(function () { blockFunctionCall = false; run(); }, 16); }; } window.addEventListener('resize', throttleAndDebounce(applyOrUnapplyAnchorOffsets), false); window.addEventListener('resize', throttleAndDebounce(stickOrUnstickMenu), false); window.addEventListener('scroll', throttleAndDebounce(stickOrUnstickMenu), false); window.addEventListener('touchmove', throttleAndDebounce(stickOrUnstickMenu), false); document.addEventListener('DOMContentLoaded', stickOrUnstickMenu, false); applyOrUnapplyAnchorOffsets(); } setupMenuStickyness(); })(); </script> <div class="content-page content-page--has-sidebar" role="main"> <span class="vh" id="main-content">Where are your photos going?</span> <div class="content-page__columns-wrapper"> <div class="content-page__columns"><!-- --><div class="content-page__column content-page__column--main"> <section class="content-page__section content-page__section--content-item content-item content-item--clip content-item--its-personal"> <div class="content-item__frame"> <section class="content-item__section content-item__primary-content content-item__primary-content--clip" itemtype="http://www.schema.org/VideoObject" itemscope> <meta itemprop="name" content="Where are your photos going?"/> <meta itemprop="description" content="It's Safer Internet Day 2019! Millions of photos will be shared today and every day online - but do we think about where our images might actually go? "/> <meta itemprop="typicalAgeRange" content="0-12"/> <meta itemprop="datePublished" content="2019-01-29T01:00:00.000Z"/> <meta itemprop="url" content="https://web.archive.org/web/20190205044446/http://www.bbc.co.uk/ownit/its-personal/where-are-your-photos-going"/> <meta itemprop="isFamilyFriendly" content="true"/> <meta itemprop="image" content="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/stay-safe/journeycc.jpg"/> <meta itemprop="thumbnailUrl" content="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/stay-safe/journeycc.jpg"/> <div class="content-item__section-content"> <div id="player-54219" class="smp-embed content-item__embed content-item__embed--smp-embed"> <div class="smp-embed__placeholder"></div> </div> <noscript> <div class="content-item__js-not-available js-not-available"> <h2 class="js-not-available__title">Oops you can't see this activity!</h2> <p class="js-not-available__text">To enjoy the Own It website at its best you will need to have JavaScript turned on.</p> <p class="js-not-available__text">For more help please visit the <a href="/web/20190205044446/https://www.bbc.com/ownit/about-us/web-help-javascript" class="js-not-available__link">Own It FAQ <span class="gel-icon gelicon--next"></span></a></p> </div> </noscript> <script type="text/javascript"> require(['childrens/smp-embed'], function(smpEmbed) { var settings = { "superResponsive" : true, "appName" : "stay-safe", "appType" : "responsive", "ui" : { "cta" : { "mode" : "duration" }, "controls" : { "availableOnMediaEnded" : false }, "disableReithFonts" : false, "useFontSalt" : true }, "playlistObject" : { "title" : "Where are your photos going?", "summary" : "Millions of photos are shared everyday online but where do they actually go?", "liveRewind" : false, "supportLiveRewindOnMobile" : false, "simulcast" : false, "holdingImageURL" : "//web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/images/ic/$recipe/p06z9bfr.jpg", "items" : [ { "kind" : "programme", "live" : false, "versionID" : "p06z9b7q", "vpid" : "p06z9b7q", "duration" : 88 } ] }, "statsObject" : { "clipPID" : "p06z2k9c", "deviceId" : "", "sessionLabels" : { "children_content" : "pid-p06z2k9c" } } }; var intentionId = "pid-p06z2k9c"; smpEmbed.embed('#player-54219', settings, intentionId); }); </script> </div> </section> <div class="content-item__section content-item__section--information"> <div class="content-item__section-content"> <div class="content-item-description"> <div class="reactions-container"><div id="u39014483941718936"><div class="reactions" data-reactid=".m5eoqwcy68" data-react-checksum="2070149683"><div data-reactid=".m5eoqwcy68.0"><div data-reactid=".m5eoqwcy68.0.0"><div class="reactions-module" data-reactid=".m5eoqwcy68.0.0.0"><div class="reactions-sprite-animation-wrapper" data-reactid=".m5eoqwcy68.0.0.0.0"><div class="reactions-sprite-animation reactions-sprite-animation__slide--0" style="left:0;top:0;" data-reactid=".m5eoqwcy68.0.0.0.0.0"><noscript data-reactid=".m5eoqwcy68.0.0.0.0.0.0"></noscript></div></div><div class="reactions-tray" data-reactid=".m5eoqwcy68.0.0.0.1"><div class="reactions-tray__reactions-container reactions-tray__reactions-container--no-animation" data-reactid=".m5eoqwcy68.0.0.0.1.0"><ul class="gs-c-reactions" data-reactid=".m5eoqwcy68.0.0.0.1.0.0"><div class="reactions-list" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0"><li data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--loved-childrens-reactions-urn:bbc:pips::pid:p06z2k9c reaction-count-text--loved-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0.0"><span class="gel-icon reaction-icon reaction-icon-loved" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0.0.0.0"><path d="M13.54 49.73A31.54 31.54 0 0 1 6 30c0-2.08-.06-10.46 6.55-16.17a14.48 14.48 0 0 1 9.1-3.46c7.39 0 11.7 3.42 14.34 8.12 2.64-4.69 7-8.13 14.34-8.12a14.48 14.48 0 0 1 9.1 3.46C66.06 19.54 66 27.93 66 30a31.54 31.54 0 0 1-7.54 19.73C51.28 58.48 36 61.63 36 61.63s-15.28-3.15-22.46-11.9z" fill="#e63f23" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0.0.0.0.0"></path><path d="M17.06 16.8C14.9 18.15 14 20.51 15 22.08s3.56 1.75 5.73.4 3.11-3.71 2.11-5.28-3.61-1.75-5.78-.4z" fill="#ee7966" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0.0.0.0.1"></path></svg></span><span id="reaction-label-text--loved-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-label" aria-label="Reaction type Love," data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0.0.1">Love</span><span id="reaction-count-text--loved-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-count" aria-label="Total number of Loves 1" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0.0.2">1</span><div class="reaction-focus-line" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$0.0.3"></div></button></li><li data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--lol-childrens-reactions-urn:bbc:pips::pid:p06z2k9c reaction-count-text--lol-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0"><span class="gel-icon reaction-icon reaction-icon-lol" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.0.0"><circle cx="35.91" cy="35.72" r="30" fill="#ffd201" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.0.0.0"></circle><path d="M69.12 34c-2.48-1.34-13.33-1.34-13.33-1.34s6 9.07 8.52 10.41A5.07 5.07 0 0 0 71.18 41a5.15 5.15 0 0 0-2.06-7zM2.86 34a5.15 5.15 0 0 0-2.07 7 5.07 5.07 0 0 0 6.87 2.12c2.48-1.34 8.52-10.41 8.52-10.41S5.34 32.67 2.86 34z" fill="#269dc8" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.0.0.1"></path><path d="M16.37 36.45a19.34 19.34 0 0 0 38.69.16z" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.0.0.2"></path><path d="M25.17 52.73a11.33 11.33 0 0 1 21 .08" fill="#a75916" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.0.0.3"></path><path d="M35.66 45.78a11.35 11.35 0 0 0-10.52 7 19.44 19.44 0 0 0 10.47 3.12 19 19 0 0 0 10.5-3.06 11.21 11.21 0 0 0-10.45-7.06z" fill="#e63f23" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.0.0.4"></path><path d="M51.25 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0 1.18 1.18 0 0 1-1.06 1.71zM32 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0A1.18 1.18 0 0 1 32 30.46z" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.0.0.5"></path></svg></span><span id="reaction-label-text--lol-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-label" aria-label="Reaction type LOL," data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.1">LOL</span><span id="reaction-count-text--lol-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-count" aria-label="Total number of LOLs 2" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.2">2</span><div class="reaction-focus-line" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$1.0.3"></div></button></li><li data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--applause-childrens-reactions-urn:bbc:pips::pid:p06z2k9c reaction-count-text--applause-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0"><span class="gel-icon reaction-icon reaction-icon-applause" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0.0.0"><path d="M52.43 11.33l4.12-7.71a1.09 1.09 0 0 1 1.87 1.09l-4.12 7.71a1.09 1.09 0 0 1-1.87-1.09M43.75 3a1 1 0 0 1 1.79.25l1.23 5.28a1 1 0 0 1-1.89.47l-1.23-5.27a1 1 0 0 1 .1-.74M15.59 11.1l-.7-8.71a1.09 1.09 0 0 1 2.17-.09l.7 8.71a1.09 1.09 0 0 1-2.17.09M3.78 8.77A1 1 0 0 1 5.41 8l3.89 3.79A1 1 0 1 1 8 13.23L4.09 9.45a1 1 0 0 1-.31-.68" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0.0.0.0"></path><path d="M57.24 56.4c5-7.08 4.75-10.71 2.84-16.46-.37-1.12-.91-2.56-1.4-3.67a96 96 0 0 0-5.2-10.15l-3.54-7.32a4 4 0 0 0-4-2.23 3.72 3.72 0 0 0-2.6 1.36 4.29 4.29 0 0 0-.49 4.61l4 8.31L24 15.42a4 4 0 0 0-5.52 1l-.05.06c-1.55 2.09-.06 4.44.18 4.74l-4.06-2.74-.42-.28a4 4 0 0 0-5.56 1 3.86 3.86 0 0 0-.1 4.12 4.1 4.1 0 0 0 1.25 1.35L13 27.54c-1.84-1.24-4.92-1.62-6.38.54A3.86 3.86 0 0 0 7.8 33.5l5.65 4.66c-1.9-1.29-4.4-1.34-5.6.7a3.79 3.79 0 0 0 1.28 5s18.1 13.05 23.78 16.56c6.15 3.8 8.78 4.25 13.83 3.69 4.27-.47 7-2.71 10.5-7.72" fill="#9f8214" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0.0.0.1"></path><path d="M64.75 41.35c-.34-1.13-.83-2.57-1.29-3.68-1.46-3.59-8.23-17.6-8.23-17.6a4 4 0 0 0-3.92-2.32 3.72 3.72 0 0 0-2.79 1.49 4.29 4.29 0 0 0-.44 4.39l3.27 7.23a.33.33 0 0 1-.49.4L29.57 16a4 4 0 0 0-5.51.86l-.06.06a2.53 2.53 0 0 0-.65 2 2.13 2.13 0 0 0 1 1.67l.48.37L39.64 32a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11L22.64 20.63l-2.55-1.81-.34-.25a4.06 4.06 0 0 0-5.68.88 3.45 3.45 0 0 0-.16 3.79 17.84 17.84 0 0 0 2.3 2.17l2.1 1.59 18.37 13.18a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.3-.1L17.21 27.41a4 4 0 0 0-2.55-.72 3.49 3.49 0 0 0-2.72 1.45 3.83 3.83 0 0 0 1 5.42l5 3.7 14.18 10.12a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11l-14-10-.25-.19-.54-.37c-1.93-.94-3.73-.74-4.73 1s.38 4 1.1 4.51c0 0 18.53 14.21 24.09 17.86 6 3.95 8.62 4.45 13.64 4 4.25-.36 7-2.51 10.65-7.39 5.13-6.88 5.01-10.5 3.26-16.26z" fill="#ffd201" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0.0.0.2"></path></svg></span><span id="reaction-label-text--applause-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-label" aria-label="Reaction type Applause," data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0.1">Applause</span><span id="reaction-count-text--applause-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-count" aria-label="Total number of Applauses 4" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0.2">4</span><div class="reaction-focus-line" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$2.0.3"></div></button></li><li data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--inspired-childrens-reactions-urn:bbc:pips::pid:p06z2k9c reaction-count-text--inspired-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0"><span class="gel-icon reaction-icon reaction-icon-inspired" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0.0.0"><circle cx="36" cy="36" r="30" fill="#ffd201" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0.0.0.0"></circle><path d="M35.9 14.3a.82.82 0 0 1-.82-.82V9.7a.82.82 0 0 1 1.65 0v3.78a.82.82 0 0 1-.83.82zM61.42 36.51h-3.78a.82.82 0 0 1 0-1.65h3.78a.82.82 0 1 1 0 1.65zM14.16 36.51h-3.78a.82.82 0 1 1 0-1.65h3.78a.82.82 0 0 1 0 1.65zM51.28 20.67a.82.82 0 0 1-.58-1.4l2.67-2.67a.82.82 0 0 1 1.16 1.16l-2.67 2.67a.82.82 0 0 1-.58.24zM20.53 20.67a.82.82 0 0 1-.58-.24l-2.67-2.67a.82.82 0 1 1 1.16-1.16l2.67 2.67a.82.82 0 0 1-.58 1.4zM44 15.87a.82.82 0 0 1-.76-1.13l1.41-3.5a.82.82 0 0 1 1.53.61l-1.41 3.5a.82.82 0 0 1-.77.52zM59.57 46a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 1 1 .62-1.53l3.5 1.41a.82.82 0 0 1-.31 1.59zM15.74 28.39a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 0 1 .61-1.53L16 26.8a.82.82 0 0 1-.31 1.59zM55.91 28a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 0 1 .64 1.51l-3.48 1.48a.82.82 0 0 1-.32.07zM12.43 46.51a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 1 1 .63 1.55l-3.48 1.48a.82.82 0 0 1-.31.03zM27.39 16a.82.82 0 0 1-.76-.5l-1.48-3.48a.82.82 0 0 1 1.51-.64l1.48 3.48a.82.82 0 0 1-.75 1.14zM29.39 48.81c0-2.53-1.63-4.9-3.47-6.63a13.68 13.68 0 0 1 3.68-22.52c9.92-4.66 20.67 2.71 20.67 12.41a13.83 13.83 0 0 1-5.79 11.26 5 5 0 0 0-2.1 4.1v1.39a17 17 0 0 1-5.83 1.34 23.78 23.78 0 0 1-7.16-1.35z" fill="#fff" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0.0.0.1"></path><path d="M29.42 48.71v4.8a8.05 8.05 0 0 0 2.33 1.09l.07.18a4.09 4.09 0 1 0 8.17 0v-.06a2.42 2.42 0 0 0 .11-.29 21.91 21.91 0 0 0 2.3-.79v-5.13s-4.92 3.49-12.98.2z" fill="#d3145b" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0.0.0.2"></path></svg></span><span id="reaction-label-text--inspired-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-label" aria-label="Reaction type Got It!," data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0.1">Got It!</span><span id="reaction-count-text--inspired-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-count" aria-label="Total number of Got Its 1" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0.2">1</span><div class="reaction-focus-line" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$3.0.3"></div></button></li><li data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--omd-childrens-reactions-urn:bbc:pips::pid:p06z2k9c reaction-count-text--omd-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0"><span class="gel-icon reaction-icon reaction-icon-omd" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0.0"><circle cx="36" cy="36" r="30" transform="rotate(-5.1 35.96834013 36.0247667)" fill="#ffd201" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0.0.0"></circle><circle cx="25.69" cy="31.15" r="7.9" fill="#fff" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0.0.1"></circle><ellipse cx="25.73" cy="31.35" rx="3.85" ry="4.57" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0.0.2"></ellipse><circle cx="46.31" cy="31.15" r="7.9" fill="#fff" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0.0.3"></circle><ellipse cx="46.26" cy="31.35" rx="3.85" ry="4.57" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0.0.4"></ellipse><path d="M42.41 49.4c0 4.42-3 8-6.74 8s-6.74-3.58-6.74-8v-.65c.28-4.11 3.18-7.35 6.72-7.35 3.75-.01 6.76 3.6 6.76 8z" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0.0.5"></path><path d="M13.65 28c.4-6.28 7-10.64 13-9.33-5.31 2.14-10.01 4.14-13 9.33zM58.35 28c-.4-6.28-7-10.64-13-9.33 5.31 2.14 10.01 4.14 13 9.33z" fill="#9f8214" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.0.0.6"></path></svg></span><span id="reaction-label-text--omd-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-label" aria-label="Reaction type OMD," data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.1">OMD</span><span id="reaction-count-text--omd-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-count" aria-label="Total number of OMDs 1" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.2">1</span><div class="reaction-focus-line" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$4.0.3"></div></button></li><li data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--sad-childrens-reactions-urn:bbc:pips::pid:p06z2k9c reaction-count-text--sad-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0"><span class="gel-icon reaction-icon reaction-icon-sad" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0.0.0"><circle cx="36" cy="36" r="30" transform="rotate(-5.1 35.96834013 36.0247667)" fill="#ffd201" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0.0.0.0"></circle><path d="M15 40.42c1.16-2.66 8.18-5.59 8.18-5.59s2.59 7.17 1.42 9.79a5.26 5.26 0 0 1-9.6-4.2z" fill="#269dc8" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0.0.0.1"></path><path d="M25.81 53.82a1 1 0 0 1-.81-1.55A14.14 14.14 0 0 1 36.35 46a14.1 14.1 0 0 1 11.16 6A1 1 0 1 1 46 53.2a12 12 0 0 0-9.65-5.2 12.22 12.22 0 0 0-9.76 5.44 1 1 0 0 1-.78.38zM26.26 36A6.91 6.91 0 0 1 20 32.2a1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 26.26 36zM45.36 36a6.91 6.91 0 0 1-6.21-3.84 1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 45.36 36z" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0.0.0.2"></path></svg></span><span id="reaction-label-text--sad-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-label" aria-label="Reaction type Sad," data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0.1">Sad</span><span id="reaction-count-text--sad-childrens-reactions-urn:bbc:pips::pid:p06z2k9c" class="reaction-count" aria-label="Total number of Sads 1" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0.2">1</span><div class="reaction-focus-line" data-reactid=".m5eoqwcy68.0.0.0.1.0.0.0.$5.0.3"></div></button></li></div></ul><div class="reactions-tray__reactive-prompt" data-reactid=".m5eoqwcy68.0.0.0.1.0.1">Press and hold for more...</div></div></div><button class="reactions-cta" aria-pressed="false" aria-label="Reactions. Show Reactions. Total number of reactions: 10" data-reactid=".m5eoqwcy68.0.0.0.4"><div class="reactions-cta-image" data-reactid=".m5eoqwcy68.0.0.0.4.0"><span data-reactid=".m5eoqwcy68.0.0.0.4.0.0"><span class="cta-icon cta-cbbc-icon" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0"><svg viewbox="0 0 76 68" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0"><path d="M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z" fill="#e63f23" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.0"></path><path d="M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z" fill="#ee7966" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.1"></path><circle cx="20" cy="25" r="19.94" transform="rotate(-85 20.002 25.004)" fill="#efc203" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.2"></circle><path d="M6.3 17.19v-.07c.06-.24.12-.47.2-.71s.19-.45.3-.68.25-.43.39-.64a7 7 0 0 1 .47-.59 6.28 6.28 0 0 1 .54-.5 6.16 6.16 0 0 1 .59-.47 6.55 6.55 0 0 1 .64-.41 7.57 7.57 0 0 1 1.39-.61 6.4 6.4 0 0 1 .73-.2 6 6 0 0 1 .74-.13 6 6 0 0 1 .71-.08 6 6 0 0 1 .74 0c.25 0 .49 0 .73.09s.48.09.72.16.47.15.69.24c-.24 0-.48.08-.72.11l-.7.11c-.23 0-.46.08-.68.12s-.45.1-.67.14-.44.11-.65.16-.43.12-.64.19-.42.14-.63.22a6.37 6.37 0 0 0-.61.25 6.39 6.39 0 0 0-.59.28c-.2.09-.38.21-.58.31s-.37.24-.56.35-.36.26-.54.38-.34.28-.53.42-.34.3-.51.46-.32.33-.5.49-.31.35-.49.53zM35.55 22.4v-.07c-.1-.23-.19-.45-.28-.66s-.19-.43-.3-.63-.2-.41-.32-.6-.22-.39-.35-.57-.24-.37-.38-.55-.25-.36-.41-.52-.27-.34-.43-.49a6.39 6.39 0 0 0-.46-.47 6.37 6.37 0 0 0-.49-.44c-.17-.14-.33-.29-.51-.42s-.35-.28-.53-.4-.36-.27-.56-.38-.38-.25-.58-.37-.39-.25-.6-.35l-.62-.35c-.21-.11-.42-.22-.64-.35h.73c.24 0 .48.06.73.1s.48.11.72.17a7.6 7.6 0 0 1 1.38.55 6 6 0 0 1 .65.37 6.4 6.4 0 0 1 .62.44A7.57 7.57 0 0 1 34 17.46a6.55 6.55 0 0 1 .46.6 6.16 6.16 0 0 1 .39.65 6.28 6.28 0 0 1 .32.69 7 7 0 0 1 .24.72c.06.24.1.49.15.73s0 .5.05.74 0 .49-.06.74z" fill="#9f8214" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.3"></path><circle cx="13.71" cy="20.6" r="5.25" transform="rotate(-79.9 13.71 20.605)" fill="#fff" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.4"></circle><ellipse cx="13.71" cy="20.74" rx="3.04" ry="2.56" transform="rotate(-79.9 13.711 20.738)" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.5"></ellipse><circle cx="27.2" cy="23.01" r="5.25" transform="rotate(-79.9 27.2 23.006)" fill="#fff" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.6"></circle><ellipse cx="27.15" cy="23.13" rx="3.04" ry="2.56" transform="rotate(-79.9 27.15 23.127)" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.7"></ellipse><path d="M22.52 34.49c-.51 2.89-2.91 4.88-5.34 4.45s-4-3.13-3.48-6q0-.22.09-.42c.66-2.66 2.94-4.44 5.25-4s3.96 3.08 3.48 5.97z" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.8"></path><circle cx="42.08" cy="45.87" r="22.16" transform="rotate(-81.9 42.082 45.87)" fill="#ffd201" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.9"></circle><path data-name="<Path>" d="M66.62 48.07a3.8 3.8 0 0 1-4.5 6.13c-1.7-1.24-5.22-8.51-5.22-8.51s8.02 1.14 9.72 2.38zM18.06 41.1a3.79 3.79 0 1 0 2.54 7.15c2-.71 7.44-6.67 7.44-6.67s-8.04-1.19-9.98-.48z" fill="#269dc8" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.a"></path><path d="M27.82 44.39a14.18 14.18 0 0 0 28.07 4.11z" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.b"></path><path d="M32.53 57.11a8.31 8.31 0 0 1 15.21 2.22" fill="#a75916" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.c"></path><path d="M40.86 53.15a8.32 8.32 0 0 0-8.36 4 14.25 14.25 0 0 0 7.27 3.36 13.92 13.92 0 0 0 7.94-1.14 8.22 8.22 0 0 0-6.85-6.22z" fill="#e63f23" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.d"></path><path d="M53.76 43.64a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13zM39.76 41.65a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13z" fill="#2b2b2b" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.0.0.e"></path></svg></span><span class="reactions-count-container" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.1"><span class="reactions-count-container__count-text" data-reactid=".m5eoqwcy68.0.0.0.4.0.0.1.0">10</span></span></span><div class="cta-arrow-icon" data-reactid=".m5eoqwcy68.0.0.0.4.0.1"><svg height="15" width="20" viewbox="0 0 20 15" data-reactid=".m5eoqwcy68.0.0.0.4.0.1.0"><path fill="#db63d9" d="M18.5 4.7l-2.8-2.9L10 7.5 4.3 1.8 1.5 4.7l8.5 8.5z" data-reactid=".m5eoqwcy68.0.0.0.4.0.1.0.0"></path></svg></div></div></button></div></div></div></div></div></div> <div class="button-list-container button-list-container--above-description"> <ul class="button-list"><!-- --><li class="button-list__item content-item__comment-cta"> <div class=" button button--comment-count button--immersive "><!-- --><a class="button__link" href="#comments" data-stats-interaction="comments" data-stats-interaction-variant="button" data-stats-interaction-action="button"><!-- --><span class="button__inner"> <i class="button__icon-pre gelicon gelicon--comments" aria-hidden="true"></i> <span class="button__text">View comments</span> </span><!-- --></a><!-- --><!-- --></div> </li><!-- --></ul> </div> <div class="content-item-description__text-container"> <h1 class="content-item-description__heading"><span class="vh"></span>Where are your photos going?</h1> <p class="content-item-description__description">It&#x27;s Safer Internet Day 2019! Millions of photos will be shared today and every day online - but do we think about where our images might actually go? </p> </div> </div> <div class="button-list-container button-list-container--below-description"> <ul class="button-list"><!-- --><li class="button-list__item content-item__comment-cta"> <div class=" button button--comment-count button--immersive "><!-- --><a class="button__link" href="#comments" data-stats-interaction="comments" data-stats-interaction-variant="button" data-stats-interaction-action="button"><!-- --><span class="button__inner"> <i class="button__icon-pre gelicon gelicon--comments" aria-hidden="true"></i> <span class="button__text">View comments</span> </span><!-- --></a><!-- --><!-- --></div> </li><!-- --></ul> </div> </div> </div> <article class="content-item__section content-item__section--article article "> <div class="article__section "> <div class="article__body-text"> <p>If your photos are public, they can end up just about anywhere in the world!</p> <p>Strangers may be able to see where you are, what you've been doing and (if they choose) take your photo and use it without your permission.</p> <p>Find out more about <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/team-own-it-terms-and-conditions">what you do and don't consent to here.&nbsp;</a></p> </div> </div> </article> <div class="content-item__section content-item__section--collection-oj"> <div class="content-item__section-content"> <div data-carousel class="carousel carousel--with-title carousel--carousel-at-mobile " data-carousel-at-mobile="true" data-carousel-changes-in-place="false" data-carousel-disable-selected-item="true"> <div class="carousel__title-container"> <a class="carousel__title-link" href="/web/20190205044446/https://www.bbc.com/ownit/curations/safer-internet-day-2019" data-stats-interaction="collection" data-stats-interaction-variant="text_link"> <h3 class="carousel__title" aria-label="Safer Internet Day 2019 collection">Safer Internet Day 2019</h3> </a> </div> <div class="carousel__controls"> <div class="carousel__button carousel__button--prev button button--prev button--immersive "><!-- --><a class="button__link"><!-- --><span class="button__inner"> <span class="vh">previous items</span> <i class="gelicon gelicon--previous" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div><div class="carousel__button carousel__button--next button button--next button--immersive "><!-- --><a class="button__link"><!-- --><span class="button__inner"> <span class="vh">next items</span> <i class="gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> <div class="carousel__curtain carousel__curtain--right"></div> <div class="carousel__window"><!-- --><div class="carousel__panel"> <ul class="carousel__list"><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/max-and-harvey-social-media-rules?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="0" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sid_maxandharvey_socialrules1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sid_maxandharvey_socialrules1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Max and Harvey's social media rules for parents"> Max and Harvey&#x27;s social media rule<span class="w320-hide w600-hide">s for pare</span>... </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item carousel__item--selected"> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/where-are-your-photos-going?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card-disabled" data-stats-interaction-position="1" data-stats-interaction-action="button" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/journeycc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/journeycc.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Where are your photos going?"> Where are your photos going? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/digital-footprint-quiz?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="2" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/3rd_result.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/3rd_result.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quiz: What does the internet know about you?"> Quiz: What does the internet know about you? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/aj-pritchard-check-your-selfie?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="3" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sid_aj_checkyourselfie1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sid_aj_checkyourselfie1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="AJ - check your selfie!"> AJ - check your selfie! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/nikki-lilly-having-a-positive-impact?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="4" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sid_nikkililly_positiveimpact1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sid_nikkililly_positiveimpact1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Nikki Lilly - Having a positive impact"> Nikki Lilly - Having a positive impact </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/katie-and-hackers-backstage-banter-fails?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="5" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/saferinternetday_katiehacker_phones1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/saferinternetday_katiehacker_phones1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Katie and Hacker's backstage banter fails"> Katie and Hacker&#x27;s backstage banter fails </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/scottie-dogs-stolen-video?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="6" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sid_scotties_catastrophe1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sid_scotties_catastrophe1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Will and Ainslie's online CATastrophe!"> Will and Ainslie&#x27;s online CATastrophe! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/do-you-have-a-sharent-quiz?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="7" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/spotasharentcc.png"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/spotasharentcc.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quiz: Do you have a sharent in your life?"> Quiz: Do you have a sharent in your life? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/youtube-stars-digital-consent?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="8" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/SAFFRON.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/SAFFRON.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="YouTube stars talk digital consent"> YouTube stars talk digital consent </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/team-own-it-terms-and-conditions?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="9" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/ts&amp;cs_cc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/ts&amp;cs_cc.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Ts and Cs life hacks"> Ts and Cs life hacks </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/oti-mabuse-the-trouble-with-sharing?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="10" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/oti.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/oti.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Oti Mabuse - the trouble with sharing"> Oti Mabuse - the trouble with sharing </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/what-is-your-digital-footprint?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="11" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/digitalfootprintcc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/digitalfootprintcc.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Digital footprint: what is it and why should you care?"> Digital footprint: what is it and <span class="w320-hide w600-hide">why should</span>... </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/terms-and-conditions-quiz?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="12" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/t_and_c_cc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/t_and_c_cc.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quiz: Ts and Cs – True or False?"> Quiz: Ts and Cs – True or False? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/aj-social-media-fails?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="13" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sid_aj_interview1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sid_aj_interview1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="AJ's biggest social media FAILS!"> AJ&#x27;s biggest social media FAILS! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/who-owns-what-on-the-internet?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="14" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/whoownstheinternetcc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/whoownstheinternetcc.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="5 times internet rules got REALLY confusing"> 5 times internet rules got REALLY confusing </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/what-is-digital-consent?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="15" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/whatisconsentcc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/whatisconsentcc.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="What is digital consent?"> What is digital consent? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/kane-tackles-hate-in-online-gaming?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="16" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/Kane_GAMING_CC.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/Kane_GAMING_CC.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Kane tackles hate in online gaming"> Kane tackles hate in online gaming </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/sam-and-mark-share-digital-dads-dos-and-donts?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="17" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sammark.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sammark.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Sam and Mark - Dads' digital dos and don'ts"> Sam and Mark - Dads&#x27; digital dos and don&#x27;ts </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/totally-ok-or-no-way?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="18" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/isitok_cc2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/isitok_cc2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quiz: Totally OK or no way?"> Quiz: Totally OK or no way? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/nick-vlogging-and-anxiety?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="19" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/nickanxietycc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/nickanxietycc.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Vlogging and anxiety"> Vlogging and anxiety </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/what-is-your-data?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="20" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/newwhatisdata.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/newwhatisdata.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="What is your data?"> What is your data? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/peter-andre-parents-and-social-media?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="21" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/pete.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/pete.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Peter Andre - parents and social media"> Peter Andre - parents and social media </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/mandeville-sisters-stolen-images?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="22" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/mandevillesstolenimagecc.Still001.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/mandevillesstolenimagecc.Still001.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="&quot;Someone posted my image on an inappropriate website!&quot;"> &quot;Someone posted my image on an ina<span class="w320-hide w600-hide">ppropriate</span>... </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/8-ways-to-spot-a-sharent?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="23" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sharenting_content_card.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sharenting_content_card.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="8 ways to spot a 'Sharent' "> 8 ways to spot a &#x27;Sharent&#x27; </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --></ul> </div><!-- --></div> </div> </div> </div> </div> </section> <script> require(['jquery-1'], function ($) { var cover = $('.childrens-wrapper__cover'); var secondContentItemSection = $('.content-item__section').eq(1); function updateCoverHeight() { var height = secondContentItemSection.offset().top - cover.offset().top; if (height > 250) { cover.height(height); } } if (cover.length && secondContentItemSection.length) { updateCoverHeight(); var timer = null; $(window).on('orientationchange', updateCoverHeight); $(window).resize(function () { if (timer) { clearTimeout(timer); } timer = setTimeout(updateCoverHeight, 150); }); } var menuToggleButton = $('.menu__toggle'); menuToggleButton.click(function () { window.setTimeout(updateCoverHeight, 100); }); }); </script> <section class="onward-journeys content-page__section content-page__section--content-cards"> <div class="onward-journey__cards"> <ul class="content-list"> <li class="content-list__item" data-follows-panel-item data-resource-id=""> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/sam-and-mark-share-digital-dads-dos-and-donts" class="content-card content-card--its-personal content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="0" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/sammark.jpg" data-alt="Sam and Mark - Dads' digital dos and don'ts"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/sammark.jpg" alt="Sam and Mark - Dads' digital dos and don'ts"/> </noscript> </span> </div> <div class="content-card__flag flag flag--auto-new flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text">NEW!</span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Sam and Mark - Dads' digital dos and don'ts"> Sam and Mark - Dads&#x27; digital dos and don&#x27;ts </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --><li class="content-card__count content-card__count--comments content-card__comments-count-wrapper"> <i class="gelicon gelicon--comments content-card__count-icon content-card__comments-icon" aria-hidden="true"></i> </li><!-- --><li class="content-card__count-divider" aria-hidden="true">&#124;</li><!-- --><li class="content-card__count content-card__count--reactions"> <i class="gelicon gelicon--smiley content-card__count-icon" aria-hidden="true"></i> <span class="content-card__reaction-count"> <span class="content-card__count-description">Number of Loves, LOLs and other reactions </span> <span class="content-card__count-number">0</span> </span> </li><!-- --></ul> </div> </div> </a> </li><li class="content-list__item" data-follows-panel-item data-resource-id=""> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/youtube-stars-digital-consent" class="content-card content-card--its-personal content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="1" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/SAFFRON.jpg" data-alt="YouTube stars talk digital consent"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/SAFFRON.jpg" alt="YouTube stars talk digital consent"/> </noscript> </span> </div> <div class="content-card__flag flag flag--auto-new flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text">NEW!</span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="YouTube stars talk digital consent"> YouTube stars talk digital consent </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --><li class="content-card__count content-card__count--comments content-card__comments-count-wrapper"> <i class="gelicon gelicon--comments content-card__count-icon content-card__comments-icon" aria-hidden="true"></i> </li><!-- --><li class="content-card__count-divider" aria-hidden="true">&#124;</li><!-- --><li class="content-card__count content-card__count--reactions"> <i class="gelicon gelicon--smiley content-card__count-icon" aria-hidden="true"></i> <span class="content-card__reaction-count"> <span class="content-card__count-description">Number of Loves, LOLs and other reactions </span> <span class="content-card__count-number">0</span> </span> </li><!-- --></ul> </div> </div> </a> </li><li class="content-list__item" data-follows-panel-item data-resource-id=""> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/terms-and-conditions-quiz" class="content-card content-card--its-personal content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="2" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/t_and_c_cc.jpg" data-alt="Quiz: Ts and Cs – True or False?"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/t_and_c_cc.jpg" alt="Quiz: Ts and Cs – True or False?"/> </noscript> </span> </div> <div class="content-card__flag flag flag--manual flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text">Play now</span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quiz: Ts and Cs – True or False?"> Quiz: Ts and Cs – True or False? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --><li class="content-card__count content-card__count--comments content-card__comments-count-wrapper"> <i class="gelicon gelicon--comments content-card__count-icon content-card__comments-icon" aria-hidden="true"></i> </li><!-- --><li class="content-card__count-divider" aria-hidden="true">&#124;</li><!-- --><li class="content-card__count content-card__count--reactions"> <i class="gelicon gelicon--smiley content-card__count-icon" aria-hidden="true"></i> <span class="content-card__reaction-count"> <span class="content-card__count-description">Number of Loves, LOLs and other reactions </span> <span class="content-card__count-number">3</span> </span> </li><!-- --></ul> </div> </div> </a> </li> </ul> </div> </section> <script> require(['jquery-1', 'stats/stats', 'domReady!'], function ($, stats, domReady) { stats.recordEvent({ action_name: 'web_oj', action_type: 'view' }, $('.childrens-wrapper'), window.location.pathname); }); </script> <div class="content-page__section content-page__section--comments"> <span class="anchor" id="comments"></span> <div id="comments-embed-container" class="content-item__comments"><div id="u9454513287637383"><div class="comments--loading comments--no-js" data-reactid=".6ve0ok2680" data-react-checksum="2003238530"><div class="comments" data-reactid=".6ve0ok2680.0"><div class="comments__header" data-reactid=".6ve0ok2680.0.0"><h3 class="comments__title" data-reactid=".6ve0ok2680.0.0.0">Comments</h3><noscript data-reactid=".6ve0ok2680.0.0.1"><div class="comments-no-js-message"> To use comments you will need to have JavaScript enabled. </div></noscript><p class="comments__message comments__message--closed-forum" data-reactid=".6ve0ok2680.0.0.2">This entry is now closed for comments.</p></div><span data-reactid=".6ve0ok2680.0.1"></span><div class="comments__footer comments__footer--no-comments comments__footer--closed-forum" data-reactid=".6ve0ok2680.0.3"></div></div></div></div></div> </div> </div><!-- --><div class="content-page__column content-page__column--side"> <div class="collection-list"> <div class="collection-list__title-container"> <a class="collection-list__title-link" href="/web/20190205044446/https://www.bbc.com/ownit/curations/safer-internet-day-2019" data-stats-interaction="collection" data-stats-interaction-variant="text_link"> <h3 class="collection-list__title" aria-label="Safer Internet Day 2019 collection">Safer Internet Day 2019</h3> </a> </div> <ul class="collection-list__items"> <li class="collection-list__item"> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/digital-footprint-quiz?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="0" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/3rd_result.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/3rd_result.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quiz: What does the internet know about you?"> Quiz: What does the internet know about you? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/aj-pritchard-check-your-selfie?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="1" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sid_aj_checkyourselfie1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sid_aj_checkyourselfie1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="AJ - check your selfie!"> AJ - check your selfie! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/nikki-lilly-having-a-positive-impact?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="2" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/sid_nikkililly_positiveimpact1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/sid_nikkililly_positiveimpact1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Nikki Lilly - Having a positive impact"> Nikki Lilly - Having a positive impact </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20190205044446/https://www.bbc.com/ownit/its-personal/katie-and-hackers-backstage-banter-fails?collection=safer-internet-day-2019" class="content-card content-card--its-personal content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="3" data-stats-internal-link-location="safer-internet-day-2019" data-site-section="its-personal"> <div class="content-card__image-wrapper "> <div class="content-card__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20190205044446/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/saferinternetday_katiehacker_phones1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20190205044446im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/saferinternetday_katiehacker_phones1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--its-personal"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Katie and Hacker's backstage banter fails"> Katie and Hacker&#x27;s backstage banter fails </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li> </ul> <div class="collection-list__button button button--immersive "><!-- --><a class="button__link" href="/web/20190205044446/https://www.bbc.com/ownit/curations/safer-internet-day-2019" data-stats-interaction="collection" data-stats-interaction-variant="button"><!-- --><span class="button__inner"> <span class="button__text">View collection</span> <i class="collection-list__chevron button__icon-pre gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </div> </div> </div> </div> <div class="cf"></div> </div> <div id="heart-button-isite-tooltip"> <div class="tooltip heart-button__tooltip" data-active-tooltip=""> <span class="tooltip__pointer"></span> <div class="tooltip__inner"> <div class="tooltip__content tooltip__content--upsell"> <p class="tooltip__subtitle"> Love this? Sign in to let us know. </p> <div class="tooltip__idcta"> <p class="id4-cta"> <span class="id4-cta-size-medium id4-cta-color-blue id4-cta-medium-blue"> <a href="" class="id4-cta-signin id4-cta-button">Sign in</a> <span class="id4-cta-with"> with your BBC iD,</span> or <a href="" class="id4-cta-register">Register</a> </span> <script> require(['jquery-1', 'idcta-v2/id-config'], function ($, idConfig) { $('.id4-cta-signin').each(function () { if (idConfig && idConfig.signin_url) { this.href = idConfig.signin_url; } }); $('.id4-cta-register').each(function () { if (idConfig && idConfig.register_url) { this.href = idConfig.register_url; } }); }); </script> </p> </div> </div> <div class="tooltip__content tooltip__content--error"> <p class="tooltip__title"> <span class="add-to__icons add-to__s"> <i aria-hidden="true" class="gelicon gelicon--alert add-to__gelicon add-to__icon"></i> </span>Something&#39;s gone wrong </p> <p class="tooltip__body tooltip__try-again">Please try again later</p> </div> <button href="#" class="tooltip__close add-to__tab" title="Close" aria-label="Close Tooltip"> <span class="tooltip__close-icon"> <i aria-hidden="true" class="gelicon gelicon--no"></i> </span> </button> </div> </div> </div> <script type="text/javascript"> require(['lib/Imager', 'lib/minpubsub'], function (Imager, pubsub) { Imager.transforms.pixelRatio = function (value) { return value; }; var availableWidths = [80, 160, 240, 320, 400, 480, 560, 640, 720, 800, 880, 960]; var imagerDefault = new Imager('.delayed-image-load', { availableWidths: availableWidths, availablePixelRatios: [1, 1.5], loadHidden: false }); var imagerPng = new Imager('.delayed-png-image-load', { availableWidths: availableWidths, availablePixelRatios: [1], loadHidden: false }); var imagerGif = new Imager('.delayed-gif-image-load', { availableWidths: availableWidths, availablePixelRatios: [1, 1.5], lazyload: true, loadHidden: false }); pubsub.subscribe('/showMore/updateImages', function () { imagerDefault.add('.delayed-image-load'); imagerPng.add('.delayed-png-image-load'); }); pubsub.subscribe('/imager/addPngImages', function (selector) { imagerPng.add(selector); }); pubsub.subscribe('/imager/addImages', function (selector) { imagerDefault.add(selector); }); }); require(['childrens/singlePlayingVideo'], function (singlePlayingVideo) { setTimeout(singlePlayingVideo.setup, 2000); }); require(['stats/riddle-events'], function (riddleEvents) { riddleEvents.init(); }); require(['angular/app'], function () {}); </script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-feature-detection-helper@1.0.1"]={},function(r){function e(t){if(o[t])return o[t].exports;var n=o[t]={exports:{},id:t,loaded:!1};return r[t].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var o={};return e.m=r,e.c=o,e.p="",e(0)}([function(r,e,o){Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.1"]=o(1)},function(r,e){"use strict";var o=function(){return"localStorage"in window},t=function(){var r="bbc-storage";try{return window.localStorage.setItem(r,r),window.localStorage.removeItem(r),!0}catch(r){return!1}};r.exports.browserSupportsLocalStorage=function(){return o()&&t()}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-helper@1.0.0"]={"bbc-morph-local-storage-feature-detection-helper":"1.0.1"},function(e){function o(t){if(r[t])return r[t].exports;var l=r[t]={exports:{},id:t,loaded:!1};return e[t].call(l.exports,l,l.exports,o),l.loaded=!0,l.exports}var r={};return o.m=e,o.c=r,o.p="",o(0)}([function(e,o,r){Morph.modules["bbc-morph-local-storage-helper@1.0.0"]=r(1)},function(e,o,r){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}var l=r(2),a=t(l),n=function(e){return a.default.browserSupportsLocalStorage()?window.localStorage.getItem(e):null},c=function(e,o){a.default.browserSupportsLocalStorage()&&window.localStorage.setItem(e,o)},u=function(e){a.default.browserSupportsLocalStorage()&&window.localStorage.removeItem(e)};e.exports={setItem:c,getItem:n,removeItem:u}},function(e,o){e.exports=Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.1"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-classnames@1.0.1"]={classnames:"2.2.5"},function(r){function e(o){if(n[o])return n[o].exports;var s=n[o]={exports:{},id:o,loaded:!1};return r[o].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var n={};return e.m=r,e.c=n,e.p="",e(0)}([function(r,e,n){Morph.modules["bbc-morph-classnames@1.0.1"]=n(1)},function(r,e,n){var o=n(2);r.exports=o},function(r,e,n){var o,s;!function(){"use strict";function n(){for(var r=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var s=typeof o;if("string"===s||"number"===s)r.push(o);else if(Array.isArray(o))r.push(n.apply(null,o));else if("object"===s)for(var a in o)t.call(o,a)&&o[a]&&r.push(a)}}return r.join(" ")}var t={}.hasOwnProperty;"undefined"!=typeof r&&r.exports?r.exports=n:(o=[],s=function(){return n}.apply(e,o),!(void 0!==s&&(r.exports=s)))}()}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@2.2.0"]={"bbc-morph-classnames":"1.0.1","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(t){if(n[t])return n[t].exports;var i=n[t]={exports:{},id:t,loaded:!1};return e[t].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var n={};return r.m=e,r.c=n,r.p="",r(0)}([function(e,r,n){Morph.modules["bbc-morph-gel-icons@2.2.0"]=n(1)},function(e,r,n){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=n(2),o=t(i),s=n(3),a=t(s),l=n(4),u=t(l),c=o.default.createClass({displayName:"GEL__Icon",propTypes:{iconName:o.default.PropTypes.string,additionalClassNames:o.default.PropTypes.string},render:function(){var e=(0,u.default)("gel-icon","gel-icon--"+this.props.iconName,this.props.additionalClassNames),r=a.default.selfTransitiveThenUpdate("gel-icon-"+this.props.iconName,this);return o.default.createElement("div",{className:e},r?o.default.createElement(r,null):null)}});c.ensureIcon=function(e){"undefined"==typeof window&&a.default.selfTransitive("gel-icon-"+e,null)},r.default=c,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@2.2.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@2.2.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@2.2.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@2.2.0",e,r,!0)}}},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.1"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.1"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,o,n){return e||"reaction-"+n+"-text--"+t+"-"+o};t.default=n,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function s(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"!==(void 0===t?"undefined":a(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 "+(void 0===t?"undefined":a(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)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p=o(0),l=n(p),f=o(11),d=n(f),y=o(2),h=n(y),b=function(e){function t(o){s(this,t);var n=i(this,e.call(this,o));return n.state={count:o.count},n}return u(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;if(e.count!==this.props.count){var o=function(){return t.setState({count:e.count})};if(this.props.randomUpdateOffset>0){var n=Math.random()*this.props.randomUpdateOffset;clearTimeout(this.timeoutId),this.timeoutId=setTimeout(o,n)}else o()}},t.prototype.render=function(){var e=this.props,t=e.formatter,o=e.className,n=e.id,s=r(e,["formatter","className","id"]);return l.default.createElement("span",c({id:(0,h.default)(n,this.context.type,this.context.uniqueId,"count"),className:o},s),(0,d.default)(this.state.count+this.props.countOffset,t))},t}(l.default.Component);b.displayName="ReactionCount",b.propTypes={count:p.PropTypes.number,countOffset:p.PropTypes.number,className:p.PropTypes.string,id:p.PropTypes.string,formatter:p.PropTypes.string,randomUpdateOffset:p.PropTypes.number},b.defaultProps={count:0,countOffset:0,className:"",id:"",formatter:null,randomUpdateOffset:0},b.contextTypes={uniqueId:p.PropTypes.string,type:p.PropTypes.string},t.default=b,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i=o(1),u=n(i),a=o(0),c=n(a),p=o(2),l=n(p),f=function(e,t){var o=e.children,n=e.className,i=e.id,a=e.hidden,p=r(e,["children","className","id","hidden"]);return c.default.createElement("span",s({id:(0,l.default)(i,t.type,t.uniqueId,"label"),className:(0,u.default)(n,{"gs-u-vh":a})},p),o)};f.displayName="ReactionLabel",f.propTypes={children:a.PropTypes.node,className:a.PropTypes.string,id:a.PropTypes.string,hidden:a.PropTypes.bool},f.defaultProps={children:null,className:"",id:"",hidden:!1},f.contextTypes={uniqueId:a.PropTypes.string,type:a.PropTypes.string},t.default=f,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i=o(1),u=n(i),a=o(0),c=n(a),p=function(e){var t=e.children,o=e.className,n=r(e,["children","className"]);return c.default.createElement("span",s({className:(0,u.default)("gel-icon",o)},n),t)};p.displayName="ReactionIcon",p.propTypes={children:a.PropTypes.node,className:a.PropTypes.string},p.defaultProps={children:null,className:""},t.default=p,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=o(15),i=n(s),u=o(0),a=n(u),c=o(5),p=n(c),l=function(e,t){var o=function(o){var n=o.children,s=o.active,u=o.gelIconClassName,c=r(o,["children","active","gelIconClassName"]);return i.default.ensureIcon(s?t:e),a.default.createElement(p.default,c,a.default.createElement(i.default,{additionalClassNames:u,iconName:s?e:t}),n)};return o.displayName="ThumbReactionIcon",o.propTypes={children:u.PropTypes.node,active:u.PropTypes.bool.isRequired,gelIconClassName:u.PropTypes.string},o.defaultProps={children:null,gelIconClassName:null},o};t.default=l,e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(8),r=o.n(n);Morph.modules["bbc-morph-reactions@4.2.0"]=r.a},function(e,t,o){"use strict";e.exports=o(9)},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DislikeReactionIcon=t.LikeReactionIcon=t.ReactionLabel=t.ReactionIcon=t.ReactionCount=t.Reactions=t.Reaction=void 0;var r=o(10),s=n(r),i=o(12),u=n(i),a=o(3),c=n(a),p=o(5),l=n(p),f=o(4),d=n(f),y=o(14),h=n(y),b=o(16),m=n(b);t.Reaction=s.default,t.Reactions=u.default,t.ReactionCount=c.default,t.ReactionIcon=l.default,t.ReactionLabel=d.default,t.LikeReactionIcon=h.default,t.DislikeReactionIcon=m.default,t.default={Reaction:s.default,Reactions:u.default,ReactionCount:c.default,ReactionIcon:l.default,ReactionLabel:d.default,LikeReactionIcon:h.default,DislikeReactionIcon:m.default}},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(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"!==(void 0===t?"undefined":u(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 "+(void 0===t?"undefined":u(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)}var 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};Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c=o(1),p=n(c),l=o(0),f=n(l),d=o(3),y=n(d),h=o(4),b=n(h),m=o(2),v=n(m),P=function(e,t,o,n){return function(r){t&&t(o),e&&e(r,o,n)}},O=function e(t,o,n){var r=[];return f.default.Children.forEach(t,function(t){t.type===b.default&&r.push((0,v.default)(t.props.id,o,n,"label")),t.type===y.default&&r.push((0,v.default)(t.props.id,o,n,"count")),r=[].concat(r,e(t.props&&t.props.children,o,n))}),r},T=function(e){function t(){return r(this,t),s(this,e.apply(this,arguments))}return i(t,e),t.prototype.getChildContext=function(){return{type:this.props.type}},t.prototype.render=function(){return f.default.createElement("li",a({},this.props.liProps,{className:this.props.liProps.className}),f.default.createElement("button",a({},this.props.buttonProps,{"aria-pressed":this.props.type===this.context.active,"aria-labelledby":O(this.props.children,this.props.type,this.context.uniqueId).join(" "),className:(0,p.default)("gs-c-reaction",this.props.buttonProps.className),onClick:P(this.props.onClick,this.context.updateActive,this.props.type,this.context.active)}),this.props.children))},t}(f.default.Component);T.displayName="Reaction",T.propTypes={children:l.PropTypes.node,onClick:l.PropTypes.func,liProps:l.PropTypes.objectOf(l.PropTypes.any),buttonProps:l.PropTypes.objectOf(l.PropTypes.any),type:l.PropTypes.string},T.defaultProps={children:null,onClick:null,liProps:{},buttonProps:{},type:null},T.contextTypes={active:l.PropTypes.string,updateActive:l.PropTypes.func,uniqueId:l.PropTypes.string},T.childContextTypes={type:l.PropTypes.string},t.default=T,e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(e){var t=""+e;return e>=1e4?((e/1e3).toFixed(1)+"K").replace(".0",""):e>=1e3?t[0]+","+t[1]+t[2]+t[3]:t}},r=function(e,t){var o=n[t];return o?o(e):""+e};t.default=r,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function s(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"!==(void 0===t?"undefined":a(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 "+(void 0===t?"undefined":a(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)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p=o(13),l=n(p),f=o(0),d=n(f),y=function(e){function t(o){s(this,t);var n=i(this,e.call(this,o)),r=o.active;return n.props.store&&n.props.uniqueId&&"undefined"!=typeof window&&(r=n.props.store.getItem("reactions-"+n.props.uniqueId)),n.state={active:r},n.updateActive=n.updateActive.bind(n),n}return u(t,e),t.prototype.getChildContext=function(){return{active:this.state.active,updateActive:this.updateActive,uniqueId:this.props.uniqueId}},t.prototype.updateActive=function(e){var t=this.state.active===e?null:e;if(this.setState({active:t}),this.props.store&&this.props.uniqueId){var o="reactions-"+this.props.uniqueId;t?this.props.store.setItem(o,t):this.props.store.removeItem(o)}},t.prototype.render=function(){var e=this.props,t=e.children,o=r(e,["children"]),n=t?t(this.state.active):[];return d.default.createElement("ul",c({className:"gs-c-reactions"},o),n)},t}(d.default.Component);y.displayName="Reactions",y.propTypes={active:f.PropTypes.string,children:f.PropTypes.func,uniqueId:f.PropTypes.string,store:f.PropTypes.shape({getItem:f.PropTypes.func,setItem:f.PropTypes.func,removeItem:f.PropTypes.func})},y.defaultProps={active:null,children:null,uniqueId:null,store:l.default},y.childContextTypes={active:f.PropTypes.string,updateActive:f.PropTypes.func,uniqueId:f.PropTypes.string},t.default=y,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-local-storage-helper@1.0.0"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(6),r=function(e){return e&&e.__esModule?e:{default:e}}(n),s=(0,r.default)("thumbs-up-selected-state","thumbs-up-deselected-state");t.default=s,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-gel-icons@2.2.0"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(6),r=function(e){return e&&e.__esModule?e:{default:e}}(n),s=(0,r.default)("thumbs-down-selected-state","thumbs-down-deselected-state");t.default=s,e.exports=t.default}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-helper@1.0.1"]={"bbc-morph-local-storage-feature-detection-helper":"1.0.1"},function(e){function o(t){if(r[t])return r[t].exports;var l=r[t]={exports:{},id:t,loaded:!1};return e[t].call(l.exports,l,l.exports,o),l.loaded=!0,l.exports}var r={};return o.m=e,o.c=r,o.p="",o(0)}([function(e,o,r){Morph.modules["bbc-morph-local-storage-helper@1.0.1"]=r(1)},function(e,o,r){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}var l=r(2),a=t(l),n=function(e){return a.default.browserSupportsLocalStorage()?window.localStorage.getItem(e):null},c=function(e,o){a.default.browserSupportsLocalStorage()&&window.localStorage.setItem(e,o)},u=function(e){a.default.browserSupportsLocalStorage()&&window.localStorage.removeItem(e)};e.exports={setItem:c,getItem:n,removeItem:u}},function(e,o){e.exports=Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.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-childrens-reactions@1.3.4"]={"babel-runtime":"6.26.0","bbc-morph-childrens-reactions-data":"0.5.0","bbc-morph-classnames":"1.0.2","bbc-morph-id-availability-data":"1.0.0","bbc-morph-local-storage-helper":"1.0.1","bbc-morph-reactions":"4.2.0","@bbc/counting-service-client-library":"2.2.1","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","morph-container":"2.1.16","morph-require":"5.2.1",react:"0.14.7",requirejs:"2.3.6","sass-mq":"4.0.2","whatwg-fetch":"2.0.4"},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-childrens-reactions@1.3.4"]=r(1)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.urn,r=e.standalone,n=e.idAvailability,o=Boolean(r),i=(0,a.default)({urn:t,data:"bbc-morph-childrens-reactions-data"},o?{standalone:r}:{}),s=n?{availabilityOverride:n}:{};return{reactionsData:{uri:i,requireSuccess:!1,updates:!1},idAvailabilityData:{uri:(0,a.default)({data:"bbc-morph-id-availability-data"},s),requireSuccess:!0,updates:!1}}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(2),a=n(i),s=r(41),u=n(s),c=r(42),l=n(c);t.default=u.default.create(l.default,{data:function(e){return e.styleguide?{}:o(e)}}),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(3),i=n(o);t.default=i.default||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}},function(e,t,r){e.exports={default:r(4),__esModule:!0}},function(e,t,r){r(5),e.exports=r(8).Object.assign},function(e,t,r){var n=r(6);n(n.S+n.F,"Object",{assign:r(22)})},function(e,t,r){var n=r(7),o=r(8),i=r(9),a=r(11),s=r(21),u="prototype",c=function(e,t,r){var l,f,d,p=e&c.F,h=e&c.G,y=e&c.S,v=e&c.P,m=e&c.B,b=e&c.W,E=h?o:o[t]||(o[t]={}),_=E[u],g=h?n:y?n[t]:(n[t]||{})[u];h&&(r=t);for(l in r)f=!p&&g&&void 0!==g[l],f&&s(E,l)||(d=f?g[l]:r[l],E[l]=h&&"function"!=typeof g[l]?r[l]:m&&f?i(d,n):b&&g[l]==d?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[u]=e[u],t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((E.virtual||(E.virtual={}))[l]=d,e&c.R&&_&&!_[l]&&a(_,l,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(10);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){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){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){var n=r(12),o=r(20);e.exports=r(16)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(13),o=r(15),i=r(19),a=Object.defineProperty;t.f=r(16)?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),o)try{return a(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(14);e.exports=function(e){if(!n(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,r){e.exports=!r(16)&&!r(17)(function(){return 7!=Object.defineProperty(r(18)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){e.exports=!r(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,r){var n=r(14),o=r(7).document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,r){var n=r(14);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){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){"use strict";var n=r(23),o=r(38),i=r(39),a=r(40),s=r(26),u=Object.assign;e.exports=!u||r(17)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=u({},e)[r]||Object.keys(u({},t)).join("")!=n})?function(e,t){for(var r=a(e),u=arguments.length,c=1,l=o.f,f=i.f;u>c;)for(var d,p=s(arguments[c++]),h=l?n(p).concat(l(p)):n(p),y=h.length,v=0;y>v;)f.call(p,d=h[v++])&&(r[d]=p[d]);return r}:u},function(e,t,r){var n=r(24),o=r(37);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){var n=r(21),o=r(25),i=r(29)(!1),a=r(33)("IE_PROTO");e.exports=function(e,t){var r,s=o(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~i(c,r)||c.push(r));return c}},function(e,t,r){var n=r(26),o=r(28);e.exports=function(e){return n(o(e))}},function(e,t,r){var n=r(27);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},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(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(25),o=r(30),i=r(32);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=o(u.length),l=i(a,c);if(e&&r!=r){for(;c>l;)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(31),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(31),o=Math.max,i=Math.min;e.exports=function(e,t){return e=n(e),e<0?o(e+t,0):i(e,t)}},function(e,t,r){var n=r(34)("keys"),o=r(36);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,r){var n=r(8),o=r(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:n.version,mode:r(35)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).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,r){var n=r(28);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-childrens-reactions@1.3.4",e,t)}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(43),i=n(o),a=r(48),s=n(a),u=r(80),c=n(u),l=r(81),f=n(l),d=r(82),p=n(d),h=r(86),y=n(h);r(94);var v=r(95),m=n(v),b=r(96),E=n(b),_=r(100),g=n(_),T=r(154),S=n(T),P=r(119),w=n(P),R=r(114),x=function(e){function t(e){(0,c.default)(this,t);var r=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return r.props=e,r}return(0,y.default)(t,e),(0,p.default)(t,null,[{key:"countsForUrn",value:function(e,t){return t.body&&t.body.countsData[e]?t.body.countsData[e]:{}}},{key:"mapCounts",value:function(e,t){var r="cbeebies"===e?R.CBEEBIES_LABELS:R.CBBC_LABELS;return r.map(function(e){var r=R.LABEL_TO_KEY[e];return{label:e,count:"object"===("undefined"==typeof t?"undefined":(0,s.default)(t))&&r in t?t[r]:0}})}},{key:"totalCountsForUrn",value:function(e,t){return t.body&&t.body.countsTotals[e]?t.body.countsTotals[e]:0}}]),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,r=e.standalone,n=e.urn,o=e.reactionsData,i=e.product,a=e.resourceType,s=e.styleguide,u=e.pageContext,c=Boolean(r),l=t.countsForUrn(n,o),f=t.mapCounts(i,l),d=t.totalCountsForUrn(n,o),p=t.getEnv(o),h=decodeURIComponent(this.props.resourceTitle),y=decodeURIComponent(this.props.url),v=n.toString().replace("urn:bbc:","").replace("urn:riddle:",""),b="urn:bbc:"+i+":"+a+":"+v,_=!!this.props.forcedError&&new Error(this.props.forcedError),T=Boolean(this.props.acceptanceTestMode);return m.default.createElement("div",{className:"reactions"},s?m.default.createElement(g.default,{product:i}):m.default.createElement(S.default,{enableStandaloneMode:c,countingServiceClientLibrary:E.default,ReactionsModule:w.default,product:i,reactionsCounts:f,reactionsCountTotal:d,urn:n,resourceTitle:h,resourceType:a,url:y,globalId:b,env:p,isIdAvailable:this.props.idAvailabilityData.body.isAvailable,error:_,enableAcceptanceTestMode:T,pageContext:u}))}}],[{key:"getEnv",value:function(e){if(e.body&&"string"==typeof e.body.env){var t=e.body.env;if("int"===t||"test"===t||"stage"===t||"live"===t)return t}return"live"}}]),t}(v.Component);x.displayName="ReactionsBootstrap",x.propTypes={styleguide:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),standalone:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),product:v.PropTypes.string.isRequired,resourceType:v.PropTypes.string.isRequired,urn:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),resourceTitle:v.PropTypes.string.isRequired,url:v.PropTypes.string.isRequired,reactionsData:v.PropTypes.oneOfType([v.PropTypes.shape({body:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.object]),meta:v.PropTypes.object}),v.PropTypes.string]),idAvailabilityData:v.PropTypes.shape({body:v.PropTypes.shape({isAvailable:v.PropTypes.bool})}).isRequired,forcedError:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),acceptanceTestMode:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),pageContext:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool])},x.defaultProps={styleguide:!1,standalone:!1,urn:!1,reactionsData:{},forcedError:!1,idAvailabilityData:{body:{isAvailable:!0}},acceptanceTestMode:!1,pageContext:!1},t.default=x,e.exports=t.default},function(e,t,r){e.exports={default:r(44),__esModule:!0}},function(e,t,r){r(45),e.exports=r(8).Object.getPrototypeOf},function(e,t,r){var n=r(40),o=r(46);r(47)("getPrototypeOf",function(){return function(e){return o(n(e))}})},function(e,t,r){var n=r(21),o=r(40),i=r(33)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){var n=r(6),o=r(8),i=r(17);e.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*i(function(){r(1)}),"Object",a)}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(49),i=n(o),a=r(67),s=n(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,r){e.exports={default:r(50),__esModule:!0}},function(e,t,r){r(51),r(62),e.exports=r(66).f("iterator")},function(e,t,r){"use strict";var n=r(52)(!0);r(53)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){var n=r(31),o=r(28);e.exports=function(e){return function(t,r){var i,a,s=String(o(t)),u=n(r),c=s.length;return u<0||u>=c?e?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(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,r){"use strict";var n=r(35),o=r(6),i=r(54),a=r(11),s=r(55),u=r(56),c=r(60),l=r(46),f=r(61)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",y="values",v=function(){return this};e.exports=function(e,t,r,m,b,E,_){u(r,t,m);var g,T,S,P=function(e){if(!d&&e in O)return O[e];switch(e){case h:return function(){return new r(this,e)};case y:return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",R=b==y,x=!1,O=e.prototype,A=O[f]||O[p]||b&&O[b],M=A||P(b),C=b?R?P("entries"):M:void 0,L="Array"==t?O.entries||A:A;if(L&&(S=l(L.call(new e)),S!==Object.prototype&&S.next&&(c(S,w,!0),n||"function"==typeof S[f]||a(S,f,v))),R&&A&&A.name!==y&&(x=!0,M=function(){return A.call(this)}),n&&!_||!d&&!x&&O[f]||a(O,f,M),s[t]=M,s[w]=v,b)if(g={values:R?M:P(y),keys:E?M:P(h),entries:C},_)for(T in g)T in O||i(O,T,g[T]);else o(o.P+o.F*(d||x),t,g);return g}},function(e,t,r){e.exports=r(11)},function(e,t){e.exports={}},function(e,t,r){"use strict";var n=r(57),o=r(20),i=r(60),a={};r(11)(a,r(61)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:o(1,r)}),i(e,t+" Iterator")}},function(e,t,r){var n=r(13),o=r(58),i=r(37),a=r(33)("IE_PROTO"),s=function(){},u="prototype",c=function(){var e,t=r(18)("iframe"),n=i.length,o="<",a=">";for(t.style.display="none",r(59).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),c=e.F;n--;)delete c[u][i[n]];return c()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[u]=n(e),r=new s,s[u]=null,r[a]=e):r=c(),void 0===t?r:o(r,t)}},function(e,t,r){var n=r(12),o=r(13),i=r(23);e.exports=r(16)?Object.defineProperties:function(e,t){o(e);for(var r,a=i(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(7).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(12).f,o=r(21),i=r(61)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,r){var n=r(34)("wks"),o=r(36),i=r(7).Symbol,a="function"==typeof i,s=e.exports=function(e){return n[e]||(n[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=n},function(e,t,r){r(63);for(var n=r(7),o=r(11),i=r(55),a=r(61)("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 c=s[u],l=n[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,r){"use strict";var n=r(64),o=r(65),i=r(55),a=r(25);e.exports=r(53)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,r):"values"==t?o(0,e[r]):o(0,[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){t.f=r(61)},function(e,t,r){e.exports={default:r(68),__esModule:!0}},function(e,t,r){r(69),r(77),r(78),r(79),e.exports=r(8).Symbol},function(e,t,r){"use strict";var n=r(7),o=r(21),i=r(16),a=r(6),s=r(54),u=r(70).KEY,c=r(17),l=r(34),f=r(60),d=r(36),p=r(61),h=r(66),y=r(71),v=r(72),m=r(73),b=r(13),E=r(14),_=r(25),g=r(19),T=r(20),S=r(57),P=r(74),w=r(76),R=r(12),x=r(23),O=w.f,A=R.f,M=P.f,C=n.Symbol,L=n.JSON,I=L&&L.stringify,k="prototype",N=p("_hidden"),j=p("toPrimitive"),B={}.propertyIsEnumerable,U=l("symbol-registry"),D=l("symbols"),F=l("op-symbols"),q=Object[k],z="function"==typeof C,H=n.QObject,K=!H||!H[k]||!H[k].findChild,W=i&&c(function(){return 7!=S(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=O(q,t);n&&delete q[t],A(e,t,r),n&&e!==q&&A(q,t,n)}:A,V=function(e){var t=D[e]=S(C[k]);return t._k=e,t},Y=z&&"symbol"==typeof C.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof C},G=function(e,t,r){return e===q&&G(F,t,r),b(e),t=g(t,!0),b(r),o(D,t)?(r.enumerable?(o(e,N)&&e[N][t]&&(e[N][t]=!1),r=S(r,{enumerable:T(0,!1)})):(o(e,N)||A(e,N,T(1,{})),e[N][t]=!0),W(e,t,r)):A(e,t,r)},J=function(e,t){b(e);for(var r,n=v(t=_(t)),o=0,i=n.length;i>o;)G(e,r=n[o++],t[r]);return e},X=function(e,t){return void 0===t?S(e):J(S(e),t)},$=function(e){var t=B.call(this,e=g(e,!0));return!(this===q&&o(D,e)&&!o(F,e))&&(!(t||!o(this,e)||!o(D,e)||o(this,N)&&this[N][e])||t)},Q=function(e,t){if(e=_(e),t=g(t,!0),e!==q||!o(D,t)||o(F,t)){var r=O(e,t);return!r||!o(D,t)||o(e,N)&&e[N][t]||(r.enumerable=!0),r}},Z=function(e){for(var t,r=M(_(e)),n=[],i=0;r.length>i;)o(D,t=r[i++])||t==N||t==u||n.push(t);return n},ee=function(e){for(var t,r=e===q,n=M(r?F:_(e)),i=[],a=0;n.length>a;)!o(D,t=n[a++])||r&&!o(q,t)||i.push(D[t]);return i};z||(C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(r){this===q&&t.call(F,r),o(this,N)&&o(this[N],e)&&(this[N][e]=!1),W(this,e,T(1,r))};return i&&K&&W(q,e,{configurable:!0,set:t}),V(e)},s(C[k],"toString",function(){return this._k}),w.f=Q,R.f=G,r(75).f=P.f=Z,r(39).f=$,r(38).f=ee,i&&!r(35)&&s(q,"propertyIsEnumerable",$,!0),h.f=function(e){return V(p(e))}),a(a.G+a.W+a.F*!z,{Symbol:C});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)p(te[re++]);for(var ne=x(p.store),oe=0;ne.length>oe;)y(ne[oe++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(U,e+="")?U[e]:U[e]=C(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!z,"Object",{create:X,defineProperty:G,defineProperties:J,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),L&&a(a.S+a.F*(!z||c(function(){var e=C();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(E(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!Y(t))return t}),n[1]=t,I.apply(L,n)}}),C[k][j]||r(11)(C[k],j,C[k].valueOf),f(C,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},function(e,t,r){var n=r(36)("meta"),o=r(14),i=r(21),a=r(12).f,s=0,u=Object.isExtensible||function(){return!0},c=!r(17)(function(){return u(Object.preventExtensions({}))}),l=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,n)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[n].i},d=function(e,t){if(!i(e,n)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[n].w},p=function(e){return c&&h.NEED&&u(e)&&!i(e,n)&&l(e),e},h=e.exports={KEY:n,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,r){var n=r(7),o=r(8),i=r(35),a=r(66),s=r(12).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,r){var n=r(23),o=r(38),i=r(39);e.exports=function(e){var t=n(e),r=o.f;if(r)for(var a,s=r(e),u=i.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,r){var n=r(27);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(25),o=r(75).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(n(e))}},function(e,t,r){var n=r(24),o=r(37).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){var n=r(39),o=r(20),i=r(25),a=r(19),s=r(21),u=r(15),c=Object.getOwnPropertyDescriptor;t.f=r(16)?c:function(e,t){if(e=i(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return o(!n.f.call(e,t),e[t])}},function(e,t){},function(e,t,r){r(71)("asyncIterator")},function(e,t,r){r(71)("observable")},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,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(48),i=n(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,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(83),i=n(o);t.default=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),(0,i.default)(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}()},function(e,t,r){e.exports={default:r(84),__esModule:!0}},function(e,t,r){r(85);var n=r(8).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},function(e,t,r){var n=r(6);n(n.S+n.F*!r(16),"Object",{defineProperty:r(12).f})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(87),i=n(o),a=r(91),s=n(a),u=r(48),c=n(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,c.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,r){e.exports={default:r(88),__esModule:!0}},function(e,t,r){r(89),e.exports=r(8).Object.setPrototypeOf},function(e,t,r){var n=r(6);n(n.S,"Object",{setPrototypeOf:r(90).set})},function(e,t,r){var n=r(14),o=r(13),i=function(e,t){if(o(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(9)(Function.call,r(76).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return i(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:i}},function(e,t,r){e.exports={default:r(92),__esModule:!0}},function(e,t,r){r(93);var n=r(8).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(6);n(n.S,"Object",{create:r(57)})},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 r(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return m.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,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function s(e){var t=new FileReader,r=a(t);return t.readAsArrayBuffer(e),r}function u(e){var t=new FileReader,r=a(t);return t.readAsText(e),r}function c(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function l(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(m.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(m.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(m.arrayBuffer&&m.blob&&E(e))this._bodyArrayBuffer=l(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!_(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=l(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):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.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(c(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e){var t=e.toUpperCase();return g.indexOf(t)>-1?t:e}function p(e,t){t=t||{};var r=t.body;if(e instanceof p){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,r||null==e._bodyInit||(r=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=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,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 h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function y(e){var t=new o,r=e.replace(/\r?\n[\t ]+/g," ");return r.split(/\r?\n/).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}}),t}function v(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 m={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(m.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],E=function(e){return e&&DataView.prototype.isPrototypeOf(e)},_=ArrayBuffer.isView||function(e){return e&&b.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,n){e=t(e),n=r(n);var o=this.map[e];this.map[e]=o?o+","+n:n},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,n){this.map[t(e)]=r(n)},o.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),n(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),n(e)},m.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},f.call(p.prototype),f.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];v.redirect=function(e,t){if(T.indexOf(t)===-1)throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=p,e.Response=v,e.fetch=function(e,t){return new Promise(function(r,n){var o=new p(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:y(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;r(new v(t,e))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(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&&m.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){e.exports=React},function(e,t,r){e.exports={postToUAS:r(97),deleteFromUAS:r(99)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(98),o=function(e,t,r,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;if((0,n.activityTypeIsValid)(e)&&(0,n.dataContainsAllRequiredKeys)(t)&&(0,n.apiKeyIsValid)(r)&&(0,n.envIsValid)(o)&&(0,n.domainExtIsValid)(i)){var u=(0,n.selectUASEndpoint)(o,i,e,a),c=s?(0,n.getUrlWithPreviousAction)(u,s):u,l=(0,n.buildHeaders)(u,r),f=JSON.stringify(t),d=(0,n.buildRequest)(c,l,f,"POST"),p=a?"include":"omit",h={credentials:p};return fetch(d,h)}};t.default=o,e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return"plays"===e||"reactions"===e},n=function(e){return Boolean(e.resourceDomain&&e.resourceType&&e.resourceId&&e.action&&e.actionContext)},o=function(e){return"string"==typeof e&&/^[a-z0-9]{13,}$/i.test(e)},i=function(e){return"string"==typeof e&&("int"===e||"test"===e||"stage"===e||"live"===e)},a=function(e){return".co.uk"===e||".com"===e},s={int:"int.",test:"test.",stage:"stage.",live:""},u=function(e,t,r,n){var o=s[e],i=n?"":"nsi.";return"https://"+i+"activity."+o+"api.bbc"+t+"/my/"+r; },c=function(e,t){return e+"?previousAction="+t},l=function(e,t){var r=new Headers({Host:e,"Content-Type":"application/json","X-API-Key":t});return r},f=function(e,t,r,n){return new Request(e,{method:n,headers:t,body:r})};t.default={buildRequest:f,buildHeaders:l,selectUASEndpoint:u,domainExtIsValid:a,envIsValid:i,apiKeyIsValid:o,dataContainsAllRequiredKeys:n,activityTypeIsValid:r,getUrlWithPreviousAction:c},e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(98),o=function(e,t,r){var n=e+"/"+t;return r?n+"?previousAction="+r:n},i=function(e,t,r,i,a,s,u){var c=(0,n.selectUASEndpoint)(r,i,e,s),l=o(c,a,u),f=(0,n.buildHeaders)(c,t),d=(0,n.buildRequest)(l,f,null,"DELETE"),p=s?"include":"omit",h={credentials:p};return fetch(d,h)},a=function(e,t,r,o,a){var s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,c=void 0;return c=(0,n.activityTypeIsValid)(e)&&(0,n.apiKeyIsValid)(t)&&(0,n.envIsValid)(r)&&(0,n.domainExtIsValid)(o)?i(e,t,r,o,a,s,u):Promise.reject("Invalid parameters")};t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(101),s=n(a),u=r(102),c=r(103),l=n(c),f=r(109),d=n(f),p=r(118),h=n(p),y=r(111),v=n(y),m=r(114),b=r(119),E=n(b),_=r(154),g=n(_),T=r(147),S=n(T),P=r(148),w=r(156),R=n(w),x=function(){},O={postToUas:x,deleteFromUas:x},A="styleguide:urn",M="styleguide:resourceTitle",C="styleguide:url",L="styleguide:globalId",I="game",k=function(e){var t=e.children;return i.default.createElement("h3",{className:"reactions-styleguide__heading"},t)};k.displayName="SectionHeading",k.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]).isRequired};var N=function(e){var t=e.children;return i.default.createElement("h4",{className:"reactions-styleguide__subheading"},t)};N.displayName="SubHeading",N.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]).isRequired};var j=function(e){var t=e.id,r=e.heading,n=e.children,o=e.className;return i.default.createElement("section",{id:t,className:(0,s.default)("reactions-styleguide__section",o)},i.default.createElement(k,null,r),n)};j.displayName="Section",j.propTypes={id:o.PropTypes.string.isRequired,heading:o.PropTypes.string.isRequired,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string},j.defaultProps={children:i.default.createElement("noscript",null),className:""};var B={cbbc:[{count:1e4,label:m.LOVE},{count:123,label:m.LOL},{count:5347890,label:m.APPLAUSE},{count:0,label:m.GOTIT},{count:39,label:m.OMD},{count:834,label:m.SAD}],cbeebies:[{count:1e4,label:m.LOVE},{count:5347890,label:m.FUNNY},{count:0,label:m.CLAP},{count:123,label:m.GOTIT},{count:39,label:m.WOW},{count:834,label:m.SAD}],get"stay-safe"(){return this.cbbc}},U=5358886,D=function(e){return i.default.createElement("div",{className:"reactions-styleguide"},i.default.createElement(j,{heading:"Overview Cluster (CTA)",id:"overview-cluster"},i.default.createElement(N,null,"Open Without Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!0,count:0,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Closed Without Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!1,count:0,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Open With Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!0,count:555,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Closed With Count - not clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!1,count:U,product:e.product,hasBeenClicked:!1})),i.default.createElement(j,{heading:"Reaction Tray",id:"reaction-tray"},i.default.createElement(d.default,{showReactions:!0,product:e.product,reactionsCounts:B[e.product],reactionButtonPressStart:x,reactionButtonPressEnd:x,reactionButtonClick:x,selectedReaction:"Love",updateSelectedReaction:x})),i.default.createElement(j,{heading:"Cookie Disabled Banner",id:"cookie-warning-banner"},i.default.createElement(h.default,null)),i.default.createElement(j,{heading:"Error Message Banner",id:"error-message-banner"},i.default.createElement(S.default,null)),i.default.createElement(j,{heading:"Individual Reactions",id:"reactions-list"},B[e.product].map(function(t,r){return i.default.createElement("div",{key:r},i.default.createElement(N,null,t.label),i.default.createElement(u.Reactions,{uniqueId:"1"},function(){return i.default.createElement(v.default,{product:e.product,label:t.label,count:t.count,clickHandler:x,showReactions:!0,reactionButtonPressStart:x,reactionButtonPressEnd:x,reactionButtonClick:x})}))})),i.default.createElement(j,{heading:"Reactions Module",id:"reactions-module"},i.default.createElement(N,null,"With Cookies banner"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],showCookieBanner:!0,env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I}),i.default.createElement(N,null,"With error message after reaction is clicked"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,error:new Error(P.ErrorTypes.UAS_FAILURE),countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I}),i.default.createElement(N,null,"Without Cookies banner"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I})))};D.propTypes={product:o.PropTypes.string.isRequired},t.default=D,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t){e.exports=Morph.modules["bbc-morph-reactions@4.2.0"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(101),s=n(a),u=r(104),c=n(u),l=function(e){var t=e.count>0?". Total number of reactions: "+e.count:"",r=e.isOpen?"Reactions. Hide Reactions":"Reactions. Show Reactions"+t;return i.default.createElement("button",{className:(0,s.default)("reactions-cta",{"reactions-cta--open":e.isOpen,"reactions-cta--clicked":e.hasBeenClicked}),"aria-pressed":e.isOpen,"aria-label":r,onClick:function(){e.onClick()}},i.default.createElement(c.default,e))};l.displayName="Cta",l.propTypes={onClick:o.PropTypes.func.isRequired,isOpen:o.PropTypes.bool.isRequired,count:o.PropTypes.number.isRequired,product:o.PropTypes.string.isRequired,hasBeenClicked:o.PropTypes.bool.isRequired},t.default=l,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(105),s=n(a),u=r(106),c=n(u),l=r(107),f=n(l),d=r(108),p=n(d),h=function(e){var t={cbeebies:c.default,cbbc:s.default,get"stay-safe"(){return this.cbbc}},r=t[e.product];return i.default.createElement("div",{className:"reactions-cta-image"},i.default.createElement("span",null,i.default.createElement(r,null),e.count>0&&i.default.createElement(p.default,{count:e.count})),i.default.createElement(f.default,null))};h.displayName="CtaImage",h.propTypes={count:o.PropTypes.number.isRequired,product:o.PropTypes.string.isRequired},t.default=h,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaCbbcWithoutCount",s=function(){return i.default.createElement("span",{className:"cta-icon cta-cbbc-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 68"},i.default.createElement("path",{d:"M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z",fill:"#e63f23",fillRule:"evenodd"}),i.default.createElement("path",{d:"M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z",fill:"#ee7966"}),i.default.createElement("circle",{cx:"20",cy:"25",r:"19.94",transform:"rotate(-85 20.002 25.004)",fill:"#efc203"}),i.default.createElement("path",{d:"M6.3 17.19v-.07c.06-.24.12-.47.2-.71s.19-.45.3-.68.25-.43.39-.64a7 7 0 0 1 .47-.59 6.28 6.28 0 0 1 .54-.5 6.16 6.16 0 0 1 .59-.47 6.55 6.55 0 0 1 .64-.41 7.57 7.57 0 0 1 1.39-.61 6.4 6.4 0 0 1 .73-.2 6 6 0 0 1 .74-.13 6 6 0 0 1 .71-.08 6 6 0 0 1 .74 0c.25 0 .49 0 .73.09s.48.09.72.16.47.15.69.24c-.24 0-.48.08-.72.11l-.7.11c-.23 0-.46.08-.68.12s-.45.1-.67.14-.44.11-.65.16-.43.12-.64.19-.42.14-.63.22a6.37 6.37 0 0 0-.61.25 6.39 6.39 0 0 0-.59.28c-.2.09-.38.21-.58.31s-.37.24-.56.35-.36.26-.54.38-.34.28-.53.42-.34.3-.51.46-.32.33-.5.49-.31.35-.49.53zM35.55 22.4v-.07c-.1-.23-.19-.45-.28-.66s-.19-.43-.3-.63-.2-.41-.32-.6-.22-.39-.35-.57-.24-.37-.38-.55-.25-.36-.41-.52-.27-.34-.43-.49a6.39 6.39 0 0 0-.46-.47 6.37 6.37 0 0 0-.49-.44c-.17-.14-.33-.29-.51-.42s-.35-.28-.53-.4-.36-.27-.56-.38-.38-.25-.58-.37-.39-.25-.6-.35l-.62-.35c-.21-.11-.42-.22-.64-.35h.73c.24 0 .48.06.73.1s.48.11.72.17a7.6 7.6 0 0 1 1.38.55 6 6 0 0 1 .65.37 6.4 6.4 0 0 1 .62.44A7.57 7.57 0 0 1 34 17.46a6.55 6.55 0 0 1 .46.6 6.16 6.16 0 0 1 .39.65 6.28 6.28 0 0 1 .32.69 7 7 0 0 1 .24.72c.06.24.1.49.15.73s0 .5.05.74 0 .49-.06.74z",fill:"#9f8214"}),i.default.createElement("circle",{cx:"13.71",cy:"20.6",r:"5.25",transform:"rotate(-79.9 13.71 20.605)",fill:"#fff"}),i.default.createElement("ellipse",{cx:"13.71",cy:"20.74",rx:"3.04",ry:"2.56",transform:"rotate(-79.9 13.711 20.738)",fill:"#2b2b2b"}),i.default.createElement("circle",{cx:"27.2",cy:"23.01",r:"5.25",transform:"rotate(-79.9 27.2 23.006)",fill:"#fff"}),i.default.createElement("ellipse",{cx:"27.15",cy:"23.13",rx:"3.04",ry:"2.56",transform:"rotate(-79.9 27.15 23.127)",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M22.52 34.49c-.51 2.89-2.91 4.88-5.34 4.45s-4-3.13-3.48-6q0-.22.09-.42c.66-2.66 2.94-4.44 5.25-4s3.96 3.08 3.48 5.97z",fill:"#2b2b2b"}),i.default.createElement("circle",{cx:"42.08",cy:"45.87",r:"22.16",transform:"rotate(-81.9 42.082 45.87)",fill:"#ffd201"}),i.default.createElement("path",{"data-name":"<Path>",d:"M66.62 48.07a3.8 3.8 0 0 1-4.5 6.13c-1.7-1.24-5.22-8.51-5.22-8.51s8.02 1.14 9.72 2.38zM18.06 41.1a3.79 3.79 0 1 0 2.54 7.15c2-.71 7.44-6.67 7.44-6.67s-8.04-1.19-9.98-.48z",fill:"#269dc8"}),i.default.createElement("path",{d:"M27.82 44.39a14.18 14.18 0 0 0 28.07 4.11z",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M32.53 57.11a8.31 8.31 0 0 1 15.21 2.22",fill:"#a75916"}),i.default.createElement("path",{d:"M40.86 53.15a8.32 8.32 0 0 0-8.36 4 14.25 14.25 0 0 0 7.27 3.36 13.92 13.92 0 0 0 7.94-1.14 8.22 8.22 0 0 0-6.85-6.22z",fill:"#e63f23"}),i.default.createElement("path",{d:"M53.76 43.64a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13zM39.76 41.65a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13z",fill:"#2b2b2b"})))};s.displayName=a,t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaCbeebiesWithoutCount",s=function(){return i.default.createElement("span",{className:"cta-icon cta-cbeebies-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 68"},i.default.createElement("defs",null,i.default.createElement("clipPath",{id:"a"},i.default.createElement("path",{d:"M16.26 38.31a9.6 9.6 0 0 1-6.72-11.8 19.21 19.21 0 0 1 10-.22l.42.11a19.21 19.21 0 0 1 8.57 5.24 9.6 9.6 0 0 1-11.74 6.82z",fill:"#2b2b2b"}))),i.default.createElement("circle",{cx:"20.16",cy:"25.01",r:"19.9",transform:"rotate(-80 20.16 25.01)",fill:"#efc203"}),i.default.createElement("ellipse",{cx:"14.75",cy:"18.89",rx:"3.3",ry:"2.55",transform:"rotate(-74.9 14.757 18.895)",fill:"#2b2b2b"}),i.default.createElement("ellipse",{cx:"27.9",cy:"22.44",rx:"3.3",ry:"2.55",transform:"rotate(-74.9 27.908 22.442)",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M7.46 14.93v-.07c.08-.23.16-.46.26-.69s.23-.43.36-.65.29-.41.45-.6a7 7 0 0 1 .52-.55 6.27 6.27 0 0 1 .58-.48 6.15 6.15 0 0 1 .63-.42 6.54 6.54 0 0 1 .67-.35 7.55 7.55 0 0 1 1.43-.48 6.38 6.38 0 0 1 .74-.13 6 6 0 0 1 .75-.06 6 6 0 0 1 .75 0 6 6 0 0 1 .74.08c.24.05.49.08.72.15s.47.13.7.22.45.19.67.3h-.72l-.7.05c-.23 0-.46 0-.69.06s-.45.06-.68.08-.44.07-.66.11-.44.09-.65.13-.43.1-.64.16a6.35 6.35 0 0 0-.63.19 6.38 6.38 0 0 0-.62.23c-.21.07-.4.17-.6.26s-.39.2-.59.3-.38.23-.57.33-.37.25-.56.37-.36.27-.54.41L8 14.4c-.17.16-.34.32-.53.48zM36.09 22.66v-.07c-.08-.23-.15-.46-.22-.68s-.15-.44-.24-.65-.17-.42-.27-.63-.19-.41-.3-.6-.2-.39-.33-.58-.22-.38-.36-.55-.24-.36-.39-.53a6.38 6.38 0 0 0-.42-.51 6.35 6.35 0 0 0-.45-.48c-.15-.16-.3-.32-.47-.46s-.32-.3-.5-.44-.34-.3-.52-.43-.35-.29-.54-.41-.37-.28-.56-.4l-.58-.4c-.2-.13-.4-.26-.6-.4.24 0 .49 0 .73.07s.48.11.72.16.46.16.7.23a7.58 7.58 0 0 1 1.33.67 6 6 0 0 1 .62.43 6.38 6.38 0 0 1 .57.49 7.55 7.55 0 0 1 1 1.14 6.54 6.54 0 0 1 .41.64 6.15 6.15 0 0 1 .33.68 6.27 6.27 0 0 1 .26.71 7 7 0 0 1 .17.73c0 .25.06.5.08.74s0 .5 0 .74-.07.49-.12.73z",fill:"#9f8214"}),i.default.createElement("path",{d:"M16.26 38.31a9.6 9.6 0 0 1-6.72-11.8 19.21 19.21 0 0 1 10-.22l.42.11a19.21 19.21 0 0 1 8.57 5.24 9.6 9.6 0 0 1-11.74 6.82z",fill:"#2b2b2b"}),i.default.createElement("g",{clipPath:"url(#a)"},i.default.createElement("ellipse",{cx:"16.36",cy:"39.1",rx:"4.41",ry:"5.64",transform:"rotate(-74.9 16.361 39.1)",fill:"#e63f23"})),i.default.createElement("path",{d:"M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z",fill:"#e63f23",fillRule:"evenodd"}),i.default.createElement("path",{d:"M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z",fill:"#ee7966"}),i.default.createElement("circle",{cx:"42.08",cy:"45.81",r:"22.09",transform:"matrix(.17 -.98 .98 .17 -10.35 79.3)",fill:"#ffd201"}),i.default.createElement("path",{d:"M55.66 49a14.07 14.07 0 0 1-27.69-5",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M32.21 56.72a8.24 8.24 0 0 1 15 2.7",fill:"#a75916"}),i.default.createElement("path",{d:"M40.6 53.07a8.26 8.26 0 0 0-8.42 3.68 14.13 14.13 0 0 0 7.1 3.57 13.8 13.8 0 0 0 7.91-.87 8.15 8.15 0 0 0-6.59-6.38z",fill:"#e63f23"}),i.default.createElement("path",{d:"M53.22 43.65l-7.29-4.21a.94.94 0 0 1 .31-1.73l8.26-1.39a.7.7 0 0 1 .27 1.38l-6 1.37 5.13 3.43a.67.67 0 0 1-.71 1.15zM33.35 32.47l7.29 4.21a.94.94 0 0 1-.31 1.73l-8.27 1.39a.7.7 0 0 1-.27-1.38l6-1.37-5.13-3.43a.67.67 0 0 1 .71-1.15z",fill:"#2b2b2b"})))};s.displayName=a,t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaArrow",s=function(e){return i.default.createElement("div",{className:"cta-arrow-icon"},i.default.createElement("svg",{height:e.height,width:e.width,viewBox:"0 0 20 15"},i.default.createElement("path",{fill:"#db63d9",d:"M18.5 4.7l-2.8-2.9L10 7.5 4.3 1.8 1.5 4.7l8.5 8.5z"})))};s.displayName=a,s.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},s.defaultProps={height:15,width:20},t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=function(e){return i.default.createElement("span",{className:"reactions-count-container"},i.default.createElement("span",{className:"reactions-count-container__count-text"},e.count))};a.displayName="CtaCount",a.propTypes={count:o.PropTypes.number.isRequired},t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=n(o),a=r(43),s=n(a),u=r(80),c=n(u),l=r(82),f=n(l),d=r(81),p=n(d),h=r(86),y=n(h),v=r(95),m=n(v),b=r(101),E=n(b),_=r(102),g=r(110),T=n(g),S=r(116),P=function(e){function t(e){(0,c.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return r.props=e,r.state={shouldDisableAnimation:!0},r}return(0,y.default)(t,e),(0,f.default)(t,[{key:"componentWillReceiveProps",value:function(e){this.props.showReactions!==e.showReactions&&this.setState({shouldDisableAnimation:!1})}},{key:"render",value:function(){var e=this,t=(0,S.getUniqueId)(this.props.urn);return m.default.createElement("div",{className:(0,E.default)("reactions-tray",{"animation-playing":this.props.isAnimationPlaying,"reactions-tray--open":this.props.isOpen})},m.default.createElement("div",{className:(0,E.default)("reactions-tray__reactions-container",{"reactions-tray__reactions-container--open":this.props.showReactions,"reactions-tray__reactions-container--no-animation":this.state.shouldDisableAnimation})},m.default.createElement(_.Reactions,{uniqueId:t,store:S.readOnlyLocalStorageHelper},function(t){var r=(0,i.default)({active:t},e.props);return m.default.createElement(T.default,r)}),m.default.createElement("div",{className:"reactions-tray__reactive-prompt"},"Press and hold for more...")))}}]),t}(v.Component);P.displayName="Tray",P.defaultProps={showReactions:!1,urn:!1,isAnimationPlaying:!1,isOpen:!1},P.propTypes={showReactions:v.PropTypes.bool,product:v.PropTypes.string.isRequired,reactionsCounts:v.PropTypes.arrayOf(v.PropTypes.shape({label:v.PropTypes.string,count:v.PropTypes.number})).isRequired,urn:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),isAnimationPlaying:v.PropTypes.bool,isOpen:v.PropTypes.bool},t.default=P,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=n(o),a=r(43),s=n(a),u=r(80),c=n(u),l=r(82),f=n(l),d=r(81),p=n(d),h=r(86),y=n(h),v=r(95),m=n(v),b=r(111),E=n(b),_=r(114),g=function(e){function t(e){(0,c.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return r.props=e,r.firstButtonRef=null,r}return(0,y.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){var e=(0,_.keyToLabel)(this.props.active,this.props.product),t=e!==this.props.selectedReaction;t&&this.props.updateSelectedReaction(e)}},{key:"componentDidUpdate",value:function(e){var t=e.showReactions===!1&&this.props.showReactions===!0;t&&this.firstButtonRef&&this.firstButtonRef.focus()}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"reactions-list"},this.props.reactionsCounts.map(function(t,r){var n=(0,i.default)({},e.props,t),o={ref:function(t){0===r&&(e.firstButtonRef=t)}};return m.default.createElement(E.default,(0,i.default)({},n,{key:r,buttonProps:o}))}))}}]),t}(v.Component);g.displayName="ReactionsList",g.defaultProps={active:null,selectedReaction:null},g.propTypes={selectedReaction:v.PropTypes.string,active:v.PropTypes.string,updateSelectedReaction:v.PropTypes.func.isRequired,reactionsCounts:v.PropTypes.arrayOf(v.PropTypes.shape({label:v.PropTypes.string,count:v.PropTypes.number})).isRequired,showReactions:v.PropTypes.bool.isRequired,product:v.PropTypes.string.isRequired},t.default=g,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(112),i=n(o),a=r(2),s=n(a),u=r(95),c=n(u),l=r(102),f=r(101),d=n(f),p=r(113),h=n(p),y=r(115),v=n(y),m=r(114),b=function(e){var t,r=e.product,n=e.label,o=e.count,a=e.showReactions,u=e.buttonProps,f=void 0===u?{}:u,p=e.reactionButtonPressStart,y=e.reactionButtonPressEnd,b=e.selectedReaction,E="cbeebies"===r?v.default:h.default,_=E[""+n],g=n.replace("!",""),T="reaction-button--show",S=(0,s.default)({},f,{onMouseDown:function(){return p(n)},onTouchStart:function(){return p(n)},onKeyDown:function(e){e.keyCode!==m.ENTER_KEY&&e.keyCode!==m.SPACE_KEY||e.repeat||p(n)},onKeyUp:function(e){e.keyCode!==m.ENTER_KEY&&e.keyCode!==m.SPACE_KEY||y(n)},onMouseUp:function(){return y(n)},onMouseLeave:function(){return y(n)},onTouchEnd:function(){return y(n)},className:(0,d.default)("reaction-button",(t={},(0,i.default)(t,T,a),(0,i.default)(t,"reaction-button--selected",b===n),t))}),P="reaction-icon reaction-icon-"+m.LABEL_TO_KEY[n];return c.default.createElement(l.Reaction,{key:n,type:m.LABEL_TO_KEY[n],buttonProps:S},c.default.createElement(l.ReactionIcon,{className:P},c.default.createElement(_,null)),c.default.createElement(l.ReactionLabel,{className:"reaction-label","aria-label":"Reaction type "+n+","},n),c.default.createElement(l.ReactionCount,{className:"reaction-count",count:o,"aria-label":"Total number of "+g+"s "+o}),c.default.createElement("div",{className:"reaction-focus-line"}))};b.propTypes={product:u.PropTypes.string.isRequired,label:u.PropTypes.string.isRequired,count:u.PropTypes.number.isRequired,showReactions:u.PropTypes.bool.isRequired,buttonProps:u.PropTypes.shape({class:u.PropTypes.string,arialabel:u.PropTypes.string}),reactionButtonPressStart:u.PropTypes.func.isRequired,reactionButtonPressEnd:u.PropTypes.func.isRequired,selectedReaction:u.PropTypes.string},b.defaultProps={buttonProps:{class:null,arialabel:null},selectedReaction:null},t.default=b,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(83),i=n(o);t.default=function(e,t,r){return t in e?(0,i.default)(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o,i=r(112),a=n(i),s=r(95),u=n(s),c=r(114),l=function(){return u.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 72 72"},u.default.createElement("path",{d:"M13.54 49.73A31.54 31.54 0 0 1 6 30c0-2.08-.06-10.46 6.55-16.17a14.48 14.48 0 0 1 9.1-3.46c7.39 0 11.7 3.42 14.34 8.12 2.64-4.69 7-8.13 14.34-8.12a14.48 14.48 0 0 1 9.1 3.46C66.06 19.54 66 27.93 66 30a31.54 31.54 0 0 1-7.54 19.73C51.28 58.48 36 61.63 36 61.63s-15.28-3.15-22.46-11.9z",fill:"#e63f23",fillRule:"evenodd"}),u.default.createElement("path",{d:"M17.06 16.8C14.9 18.15 14 20.51 15 22.08s3.56 1.75 5.73.4 3.11-3.71 2.11-5.28-3.61-1.75-5.78-.4z",fill:"#ee7966"}))},f=function(){return u.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"35.91",cy:"35.72",r:"30",fill:"#ffd201"}),u.default.createElement("path",{d:"M69.12 34c-2.48-1.34-13.33-1.34-13.33-1.34s6 9.07 8.52 10.41A5.07 5.07 0 0 0 71.18 41a5.15 5.15 0 0 0-2.06-7zM2.86 34a5.15 5.15 0 0 0-2.07 7 5.07 5.07 0 0 0 6.87 2.12c2.48-1.34 8.52-10.41 8.52-10.41S5.34 32.67 2.86 34z",fill:"#269dc8"}),u.default.createElement("path",{d:"M16.37 36.45a19.34 19.34 0 0 0 38.69.16z",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M25.17 52.73a11.33 11.33 0 0 1 21 .08",fill:"#a75916"}),u.default.createElement("path",{d:"M35.66 45.78a11.35 11.35 0 0 0-10.52 7 19.44 19.44 0 0 0 10.47 3.12 19 19 0 0 0 10.5-3.06 11.21 11.21 0 0 0-10.45-7.06z",fill:"#e63f23"}),u.default.createElement("path",{d:"M51.25 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0 1.18 1.18 0 0 1-1.06 1.71zM32 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0A1.18 1.18 0 0 1 32 30.46z",fill:"#2b2b2b"}))},d=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("path",{d:"M52.43 11.33l4.12-7.71a1.09 1.09 0 0 1 1.87 1.09l-4.12 7.71a1.09 1.09 0 0 1-1.87-1.09M43.75 3a1 1 0 0 1 1.79.25l1.23 5.28a1 1 0 0 1-1.89.47l-1.23-5.27a1 1 0 0 1 .1-.74M15.59 11.1l-.7-8.71a1.09 1.09 0 0 1 2.17-.09l.7 8.71a1.09 1.09 0 0 1-2.17.09M3.78 8.77A1 1 0 0 1 5.41 8l3.89 3.79A1 1 0 1 1 8 13.23L4.09 9.45a1 1 0 0 1-.31-.68",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M57.24 56.4c5-7.08 4.75-10.71 2.84-16.46-.37-1.12-.91-2.56-1.4-3.67a96 96 0 0 0-5.2-10.15l-3.54-7.32a4 4 0 0 0-4-2.23 3.72 3.72 0 0 0-2.6 1.36 4.29 4.29 0 0 0-.49 4.61l4 8.31L24 15.42a4 4 0 0 0-5.52 1l-.05.06c-1.55 2.09-.06 4.44.18 4.74l-4.06-2.74-.42-.28a4 4 0 0 0-5.56 1 3.86 3.86 0 0 0-.1 4.12 4.1 4.1 0 0 0 1.25 1.35L13 27.54c-1.84-1.24-4.92-1.62-6.38.54A3.86 3.86 0 0 0 7.8 33.5l5.65 4.66c-1.9-1.29-4.4-1.34-5.6.7a3.79 3.79 0 0 0 1.28 5s18.1 13.05 23.78 16.56c6.15 3.8 8.78 4.25 13.83 3.69 4.27-.47 7-2.71 10.5-7.72",fill:"#9f8214"}),u.default.createElement("path",{d:"M64.75 41.35c-.34-1.13-.83-2.57-1.29-3.68-1.46-3.59-8.23-17.6-8.23-17.6a4 4 0 0 0-3.92-2.32 3.72 3.72 0 0 0-2.79 1.49 4.29 4.29 0 0 0-.44 4.39l3.27 7.23a.33.33 0 0 1-.49.4L29.57 16a4 4 0 0 0-5.51.86l-.06.06a2.53 2.53 0 0 0-.65 2 2.13 2.13 0 0 0 1 1.67l.48.37L39.64 32a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11L22.64 20.63l-2.55-1.81-.34-.25a4.06 4.06 0 0 0-5.68.88 3.45 3.45 0 0 0-.16 3.79 17.84 17.84 0 0 0 2.3 2.17l2.1 1.59 18.37 13.18a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.3-.1L17.21 27.41a4 4 0 0 0-2.55-.72 3.49 3.49 0 0 0-2.72 1.45 3.83 3.83 0 0 0 1 5.42l5 3.7 14.18 10.12a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11l-14-10-.25-.19-.54-.37c-1.93-.94-3.73-.74-4.73 1s.38 4 1.1 4.51c0 0 18.53 14.21 24.09 17.86 6 3.95 8.62 4.45 13.64 4 4.25-.36 7-2.51 10.65-7.39 5.13-6.88 5.01-10.5 3.26-16.26z",fill:"#ffd201"}))},p=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",fill:"#ffd201"}),u.default.createElement("path",{d:"M35.9 14.3a.82.82 0 0 1-.82-.82V9.7a.82.82 0 0 1 1.65 0v3.78a.82.82 0 0 1-.83.82zM61.42 36.51h-3.78a.82.82 0 0 1 0-1.65h3.78a.82.82 0 1 1 0 1.65zM14.16 36.51h-3.78a.82.82 0 1 1 0-1.65h3.78a.82.82 0 0 1 0 1.65zM51.28 20.67a.82.82 0 0 1-.58-1.4l2.67-2.67a.82.82 0 0 1 1.16 1.16l-2.67 2.67a.82.82 0 0 1-.58.24zM20.53 20.67a.82.82 0 0 1-.58-.24l-2.67-2.67a.82.82 0 1 1 1.16-1.16l2.67 2.67a.82.82 0 0 1-.58 1.4zM44 15.87a.82.82 0 0 1-.76-1.13l1.41-3.5a.82.82 0 0 1 1.53.61l-1.41 3.5a.82.82 0 0 1-.77.52zM59.57 46a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 1 1 .62-1.53l3.5 1.41a.82.82 0 0 1-.31 1.59zM15.74 28.39a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 0 1 .61-1.53L16 26.8a.82.82 0 0 1-.31 1.59zM55.91 28a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 0 1 .64 1.51l-3.48 1.48a.82.82 0 0 1-.32.07zM12.43 46.51a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 1 1 .63 1.55l-3.48 1.48a.82.82 0 0 1-.31.03zM27.39 16a.82.82 0 0 1-.76-.5l-1.48-3.48a.82.82 0 0 1 1.51-.64l1.48 3.48a.82.82 0 0 1-.75 1.14zM29.39 48.81c0-2.53-1.63-4.9-3.47-6.63a13.68 13.68 0 0 1 3.68-22.52c9.92-4.66 20.67 2.71 20.67 12.41a13.83 13.83 0 0 1-5.79 11.26 5 5 0 0 0-2.1 4.1v1.39a17 17 0 0 1-5.83 1.34 23.78 23.78 0 0 1-7.16-1.35z",fill:"#fff"}),u.default.createElement("path",{d:"M29.42 48.71v4.8a8.05 8.05 0 0 0 2.33 1.09l.07.18a4.09 4.09 0 1 0 8.17 0v-.06a2.42 2.42 0 0 0 .11-.29 21.91 21.91 0 0 0 2.3-.79v-5.13s-4.92 3.49-12.98.2z",fill:"#d3145b"}))},h=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",transform:"rotate(-5.1 35.96834013 36.0247667)",fill:"#ffd201"}),u.default.createElement("circle",{cx:"25.69",cy:"31.15",r:"7.9",fill:"#fff"}),u.default.createElement("ellipse",{cx:"25.73",cy:"31.35",rx:"3.85",ry:"4.57",fill:"#2b2b2b"}),u.default.createElement("circle",{cx:"46.31",cy:"31.15",r:"7.9",fill:"#fff"}),u.default.createElement("ellipse",{cx:"46.26",cy:"31.35",rx:"3.85",ry:"4.57",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M42.41 49.4c0 4.42-3 8-6.74 8s-6.74-3.58-6.74-8v-.65c.28-4.11 3.18-7.35 6.72-7.35 3.75-.01 6.76 3.6 6.76 8z",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M13.65 28c.4-6.28 7-10.64 13-9.33-5.31 2.14-10.01 4.14-13 9.33zM58.35 28c-.4-6.28-7-10.64-13-9.33 5.31 2.14 10.01 4.14 13 9.33z",fill:"#9f8214"}))},y=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",transform:"rotate(-5.1 35.96834013 36.0247667)",fill:"#ffd201"}),u.default.createElement("path",{d:"M15 40.42c1.16-2.66 8.18-5.59 8.18-5.59s2.59 7.17 1.42 9.79a5.26 5.26 0 0 1-9.6-4.2z",fill:"#269dc8"}),u.default.createElement("path",{d:"M25.81 53.82a1 1 0 0 1-.81-1.55A14.14 14.14 0 0 1 36.35 46a14.1 14.1 0 0 1 11.16 6A1 1 0 1 1 46 53.2a12 12 0 0 0-9.65-5.2 12.22 12.22 0 0 0-9.76 5.44 1 1 0 0 1-.78.38zM26.26 36A6.91 6.91 0 0 1 20 32.2a1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 26.26 36zM45.36 36a6.91 6.91 0 0 1-6.21-3.84 1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 45.36 36z",fill:"#2b2b2b"}))};t.default=(o={},(0,a.default)(o,c.LOVE,l),(0,a.default)(o,c.LOL,f),(0,a.default)(o,c.APPLAUSE,d),(0,a.default)(o,c.GOTIT,p),(0,a.default)(o,c.OMD,h),(0,a.default)(o,c.SAD,y),o),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r="cbeebies"===t?_:g,n=r.reduce(function(e,t){return(0,s.default)({},e,(0,c.default)({},T[t],t))},{});return n[e]}Object.defineProperty(t,"__esModule",{value:!0}),t.KEY_TO_UAS_CONTEXT=t.LABEL_TO_KEY=t.CBBC_LABELS=t.CBEEBIES_LABELS=t.SPACE_KEY=t.ENTER_KEY=t.SPRITE_REVERSE_EFFECT_DELAY=t.SPRITE_EFFECT_DELAY=t.SPRITE_SLIDE_NUMBER_DEFAULT=t.SPRITE_SLIDE_DECREMENT_INTERVAL=t.SPRITE_SLIDE_INCREMENT_INTERVAL=t.SPRITE_TOTAL_SLIDES=t.NO_REACTION=t.CLAP=t.WOW=t.FUNNY=t.SAD=t.OMD=t.GOTIT=t.APPLAUSE=t.LOL=t.LOVE=void 0;var i,a=r(2),s=n(a),u=r(112),c=n(u);t.keyToLabel=o;var l=t.LOVE="Love",f=t.LOL="LOL",d=t.APPLAUSE="Applause",p=t.GOTIT="Got It!",h=t.OMD="OMD",y=t.SAD="Sad",v=t.FUNNY="Funny",m=t.WOW="Wow",b=t.CLAP="Clap",E=(t.NO_REACTION="No Content",t.SPRITE_TOTAL_SLIDES=10,t.SPRITE_SLIDE_INCREMENT_INTERVAL=100),_=(t.SPRITE_SLIDE_DECREMENT_INTERVAL=E/2,t.SPRITE_SLIDE_NUMBER_DEFAULT=0,t.SPRITE_EFFECT_DELAY=300,t.SPRITE_REVERSE_EFFECT_DELAY=1e3,t.ENTER_KEY=13,t.SPACE_KEY=32,t.CBEEBIES_LABELS=[l,v,b,p,m,y]),g=t.CBBC_LABELS=[l,f,d,p,h,y],T=t.LABEL_TO_KEY=(i={},(0,c.default)(i,d,"applause"),(0,c.default)(i,b,"applause"),(0,c.default)(i,v,"lol"),(0,c.default)(i,p,"inspired"),(0,c.default)(i,l,"loved"),(0,c.default)(i,f,"lol"),(0,c.default)(i,h,"omd"),(0,c.default)(i,y,"sad"),(0,c.default)(i,m,"omd"),i);t.KEY_TO_UAS_CONTEXT={applause:"emotion-inspired",lol:"emotion-funny",inspired:"emotion-inspired",loved:"emotion-positive",omd:"emotion-shocked",sad:"emotion-sad"}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(112),s=o(a),u=r(95),c=o(u),l=r(114),f=r(113),d=n(f),p=function(){return c.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},c.default.createElement("path",{d:"M33.34 6.12A30 30 0 1 1 6.12 38.66 30 30 0 0 1 33.34 6.12", fill:"#ffd201"}),c.default.createElement("path",{d:"M55.14 37.21a19.14 19.14 0 1 1-38.29-.16",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M25.56 53.17a11.22 11.22 0 0 1 20.75.07",fill:"#a75916"}),c.default.createElement("path",{d:"M35.95 46.29a11.24 11.24 0 0 0-10.41 6.91 19.23 19.23 0 0 0 10.36 3.11 18.78 18.78 0 0 0 10.39-3 11.1 11.1 0 0 0-10.34-7",fill:"#e63f23"}),c.default.createElement("path",{d:"M21.36 20.41l10.76 3.91a1.27 1.27 0 0 1 0 2.4l-10.75 3.81a1 1 0 0 1-.69-1.78l7.7-3.25-7.69-3.39a.92.92 0 0 1 .68-1.7M51.32 22.11l-7.7 3.38 7.71 3.25a1 1 0 0 1-.69 1.78l-10.74-3.8a1.27 1.27 0 0 1 0-2.4l10.76-3.91a.92.92 0 0 1 .68 1.7",fill:"#2b2b2b"}))},h=function(){return c.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},c.default.createElement("circle",{cx:"35.91",cy:"35.72",r:"30",fill:"#ffd201"}),c.default.createElement("ellipse",{cx:"25.73",cy:"29.22",rx:"3.85",ry:"4.98",fill:"#2b2b2b"}),c.default.createElement("ellipse",{cx:"46.27",cy:"29.22",rx:"3.85",ry:"4.98",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M13.57 26.32v-.1c0-.37.06-.73.11-1.1s.17-.72.27-1.08.26-.71.41-1a10.55 10.55 0 0 1 .54-1 9.46 9.46 0 0 1 .65-.93 9.27 9.27 0 0 1 .75-.86 9.86 9.86 0 0 1 .84-.77A11.39 11.39 0 0 1 19 18.14a9.62 9.62 0 0 1 1-.49 9 9 0 0 1 1.06-.38 11.43 11.43 0 0 1 2.19-.45c.37 0 .74-.07 1.11-.07s.74 0 1.11.05.73.1 1.09.18c-.35.14-.69.25-1 .35l-1 .35c-.33.1-.66.24-1 .36s-.64.26-1 .39-.62.28-.93.42-.6.3-.9.45-.58.32-.87.49a9.58 9.58 0 0 0-.84.53 9.62 9.62 0 0 0-.81.57c-.28.18-.51.41-.77.62s-.48.45-.74.66-.46.48-.7.71-.44.51-.67.76-.42.54-.63.81-.39.57-.6.86-.37.6-.59.91zM58.27 26.32v-.1c-.21-.31-.4-.61-.59-.91s-.4-.58-.6-.86-.41-.55-.63-.81-.43-.52-.67-.76-.45-.49-.7-.71-.47-.47-.74-.66-.5-.43-.77-.62a9.61 9.61 0 0 0-.81-.57 9.58 9.58 0 0 0-.84-.53c-.28-.17-.57-.34-.87-.49s-.59-.32-.9-.45-.61-.3-.93-.42-.63-.28-1-.39-.64-.26-1-.36l-1-.35c-.34-.11-.69-.22-1-.35.36-.08.72-.13 1.09-.18s.73 0 1.11-.05.74 0 1.11.07a11.43 11.43 0 0 1 2.19.45 9 9 0 0 1 1.06.38 9.62 9.62 0 0 1 1 .49 11.39 11.39 0 0 1 1.89 1.27 9.86 9.86 0 0 1 .84.77 9.28 9.28 0 0 1 .75.86A9.45 9.45 0 0 1 57 22a10.54 10.54 0 0 1 .54 1c.16.34.28.7.41 1s.19.73.27 1.08.09.74.11 1.1z",fill:"#9f8214"}),c.default.createElement("path",{d:"M35.55 56.89a14.47 14.47 0 0 1-14.42-14.53 29 29 0 0 1 14.54-4.26h.66a29 29 0 0 1 14.54 4.26 14.47 14.47 0 0 1-14.42 14.53z",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M28.43 55a14.31 14.31 0 0 0 7.11 2h.91a14.31 14.31 0 0 0 7.11-2A9 9 0 0 0 36 51.41 9 9 0 0 0 28.43 55z",fill:"#e63f23"}))};t.default=(i={},(0,s.default)(i,l.LOVE,d[l.LOVE]),(0,s.default)(i,l.FUNNY,p),(0,s.default)(i,l.CLAP,d[l.APPLAUSE]),(0,s.default)(i,l.GOTIT,d[l.GOTIT]),(0,s.default)(i,l.WOW,h),(0,s.default)(i,l.SAD,d[l.SAD]),i),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(117),i=n(o),a=function(){},s=function(e){return"childrens-reactions-"+e},u=function(e){return"reactions-"+s(e)};t.default={localStorageHelper:i.default,readOnlyLocalStorageHelper:{getItem:i.default.getItem,setItem:a,removeItem:a},getUniqueId:s,getLocalStorageKey:u},e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-local-storage-helper@1.0.1"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(114),s=r(113),u=n(s),c=function(){var e=u.default[a.SAD];return i.default.createElement("div",{className:"reactions-cookie-warning"},i.default.createElement("div",{className:"reactions-cookie-warning__inner"},i.default.createElement("div",{className:"reactions-cookie-warning__icon"},i.default.createElement(e,null)),i.default.createElement("div",{className:"reactions-cookie-warning__text"},i.default.createElement("span",null,"To make your reaction count, you’ll need to ask your parent/guardian to enable cookies. See our "),i.default.createElement("a",{className:"reactions-cookie-warning__link",href:"/usingthebbc/cookies/"},"cookies policy"),i.default.createElement("span",null," for more information"))))};c.displayName="CookieWarning",c.propTypes={},t.default=c,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(43),c=n(u),l=r(80),f=n(l),d=r(81),p=n(d),h=r(82),y=n(h),v=r(86),m=n(v),b=r(95),E=n(b),_=r(101),g=n(_),T=r(109),S=n(T),P=r(103),w=n(P),R=r(118),x=n(R),O=r(146),A=n(O),M=r(114),C=r(147),L=n(C),I=r(148),k=r(116),N=r(153),j=n(N),B=function(){return E.default.createElement("noscript",null)};B.displayName="NoopComponent";var U=function(e){function t(e){(0,f.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,c.default)(t)).call(this,e));return r.state={showReactions:!1,hasCtaBeenClicked:!1,SpriteTagName:B,startSpriteAnimation:!1,endSpriteAnimation:!1,selectedReaction:null,prevSelectedReaction:null,currentCounts:e.reactionsCounts,hasReactionButtonPressStarted:!1,errorMessage:!1,endSlideNumber:M.SPRITE_SLIDE_NUMBER_DEFAULT,windowDimensions:{width:0,height:0}},r.renderElement=null,r.moduleElement=null,r.ctaClickHandler=r.ctaClickHandler.bind(r),r.reactionButtonPressStartHandler=r.reactionButtonPressStartHandler.bind(r),r.reactionButtonPressEndHandler=r.reactionButtonPressEndHandler.bind(r),r.updateSelectedReaction=r.updateSelectedReaction.bind(r),r.updateWindowDimensions=r.updateWindowDimensions.bind(r),r.handleChange=r.handleChange.bind(r),r}return(0,m.default)(t,e),(0,y.default)(t,null,[{key:"calculateReactionCounts",value:function(e,r,n){return n.map(function(n){return t.calculateCountForReaction(n.label,n.count,r,e)})}},{key:"calculateCountForReaction",value:function(e,t,r,n){var o=Math.max(t+(r===e?1:0)+(n===e?-1:0),0);return{label:e,count:o}}},{key:"calculateCountsTotal",value:function(e,t,r){return Math.max(r+(e&&!t?1:0)+(!e&&t?-1:0),0)}}]),(0,y.default)(t,[{key:"componentDidMount",value:function(){this.moduleElement=this.renderElement,this.updateWindowDimensions(),window.addEventListener("resize",this.updateWindowDimensions),this.props.spriteService.fetchSprites()}},{key:"componentWillReceiveProps",value:function(e){if(e.uasSelectedReaction){var t=e.uasSelectedReaction===M.NO_REACTION?null:e.uasSelectedReaction;this.setState({selectedReaction:t,initialSelectedReaction:t})}}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateWindowDimensions)}},{key:"getAnimationPosition",value:function(){var e={x:0,y:0},t=this.state.selectedReaction?this.state.selectedReaction:this.state.prevSelectedReaction,r=M.LABEL_TO_KEY[t];if(r&&this.moduleElement){var n=this.moduleElement.querySelector(".reaction-icon-"+r);if(n){var o=n.getBoundingClientRect(),i=this.moduleElement.getBoundingClientRect();e.x=o.left+Math.floor(o.width/2),e.y=i.top}}return e}},{key:"handleError",value:function(e,r){var n=(0,I.getStandardisedErrorType)(e);this.props.istatsService.logError(n);var o=t.calculateReactionCounts(this.state.initialSelectedReaction,r,this.props.reactionsCounts);this.setState({errorMessage:n,selectedReaction:r,currentCounts:o})}},{key:"handleChange",value:function(e){this.setState({endSlideNumber:e})}},{key:"updateWindowDimensions",value:function(){this.setState({width:window.innerWidth,height:window.innerHeight})}},{key:"isWindowLandscape",value:function(){return this.state.width>this.state.height}},{key:"ctaClickHandler",value:function(){var e=this;this.setState(function(t){var r={showReactions:!t.showReactions,hasCtaBeenClicked:!0},n=t.showReactions?j.default.CtaClose:j.default.CtaOpen;return e.props.istatsService.logCtaEvent(n),r})}},{key:"reactionButtonPressStartHandler",value:function(e){var r=this.isWindowLandscape();this.setState(function(n,o){var i={};if(!n.hasReactionButtonPressStarted&&!n.shouldThrottleEventHandling){var a=t.calculateReactionCounts(n.initialSelectedReaction,e,o.reactionsCounts),s=n.selectedReaction,u=s!==e;i={currentCounts:a,prevSelectedReaction:s,hasReactionButtonPressStarted:!0,startSpriteAnimation:u,endSpriteAnimation:!1,SpriteTagName:o.spriteService.getSprite(e,r),selectedReaction:e,errorMessage:!1}}return i})}},{key:"reactionButtonPressEndHandler",value:function(e){var r=this,n=!this.state.shouldThrottleEventHandling,o=!1;e===this.state.selectedReaction&&this.setState(function(e,n){var i={};if(e.hasReactionButtonPressStarted){var a=e.errorMessage||e.selectedReaction!==e.prevSelectedReaction,s=a?e.selectedReaction:null,u=t.calculateReactionCounts(e.initialSelectedReaction,s,n.reactionsCounts);i={startSpriteAnimation:!1,endSpriteAnimation:!0,selectedReaction:s,currentCounts:u,hasReactionButtonPressStarted:!1,shouldThrottleEventHandling:!0},setTimeout(function(){return r.setState({shouldThrottleEventHandling:!1})},500),o=!0}return i},function(){if(o&&n){var e=r.state.selectedReaction,t=r.state.prevSelectedReaction;r.recordOrDeleteReaction(e,t)}})}},{key:"recordOrDeleteReaction",value:function(e,t){e?this.recordReaction(e,t):this.deleteReaction(t)}},{key:"recordReaction",value:function(){function e(e,r){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t,r){var n,o,a,s,u,c,l,f,d,p,h=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props.countingServiceClientLibrary.postToUAS,o=M.LABEL_TO_KEY[t],a=(0,k.getLocalStorageKey)(this.props.urn),e.prev=3,e.next=6,this.props.uasConfigService.configureUAS({clickedReaction:o,urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,product:this.props.product,env:this.props.env,signedInState:this.props.isSignedIn,isIdAvailable:this.props.isIdAvailable,idctaService:this.props.idctaService,error:this.props.error,endSlideNumber:this.state.endSlideNumber});case 6:s=e.sent,u=s.UASdata,c=s.apiKey,l=s.env,f=s.domain,d=s.isSignedIn,p=r?M.LABEL_TO_KEY[r]:null,n("reactions",u,c,l,f,d,p).then(function(e){if(!e.ok)throw new Error(I.ErrorTypes.UAS_FAILURE);k.localStorageHelper.setItem(a,o),h.props.istatsService.logSelection(o,h.state.endSlideNumber,p,h.props.pageContext)}).catch(function(e){h.handleError(e,h.state.prevSelectedReaction)}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(3),this.handleError(e.t0,this.state.prevSelectedReaction);case 19:case"end":return e.stop()}},e,this,[[3,16]])}));return e}()},{key:"deleteReaction",value:function(){function e(e){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t){var r,n,o,a,s,u,c,l,f,d=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props.countingServiceClientLibrary.deleteFromUAS,n=this.props.globalId,o=M.LABEL_TO_KEY[t],a=(0,k.getLocalStorageKey)(this.props.urn),e.prev=4,e.next=7,this.props.uasConfigService.configureUAS({clickedReaction:M.LABEL_TO_KEY[t],urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,product:this.props.product,env:this.props.env,signedInState:this.props.isSignedIn,isIdAvailable:this.props.isIdAvailable,idctaService:this.props.idctaService,error:this.props.error});case 7:s=e.sent,u=s.apiKey,c=s.env,l=s.domain,f=s.isSignedIn,r("reactions",u,c,l,n,f,o).then(function(e){if(!e.ok)throw new Error(I.ErrorTypes.UAS_FAILURE);k.localStorageHelper.removeItem(a),d.props.istatsService.logDeselection(o,d.props.pageContext)}).catch(function(e){d.handleError(e,d.state.prevSelectedReaction)}),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),this.handleError(e.t0,this.state.prevSelectedReaction);case 18:case"end":return e.stop()}},e,this,[[4,15]])}));return e}()},{key:"updateSelectedReaction",value:function(e){this.props.uasSelectedReaction||this.state.errorMessage||this.props.error||this.setState({selectedReaction:e,initialSelectedReaction:e})}},{key:"render",value:function(){var e=this,r=(0,g.default)("reactions-module",{"landscape-animation":this.isWindowLandscape()}),n=t.calculateCountsTotal(this.state.selectedReaction,this.state.initialSelectedReaction,this.props.reactionsCountTotal);return E.default.createElement("div",{ref:function(t){e.renderElement=t},className:r},E.default.createElement(A.default,{showAnimation:this.state.startSpriteAnimation,endAnimation:this.state.endSpriteAnimation,onSlideNumberChange:this.handleChange,animationPosition:this.getAnimationPosition()},E.default.createElement(this.state.SpriteTagName,null)),E.default.createElement(S.default,{showReactions:this.state.showReactions,product:this.props.product,reactionButtonPressStart:this.reactionButtonPressStartHandler,reactionButtonPressEnd:this.reactionButtonPressEndHandler,reactionsCounts:this.state.currentCounts,selectedReaction:this.state.selectedReaction,urn:this.props.urn,updateSelectedReaction:this.updateSelectedReaction,isAnimationPlaying:this.state.startSpriteAnimation,isOpen:this.state.showReactions}),this.props.showCookieBanner&&this.state.showReactions&&E.default.createElement(x.default,null),this.state.errorMessage&&this.state.showReactions&&E.default.createElement(L.default,{errorType:this.state.errorMessage}),E.default.createElement(w.default,{onClick:this.ctaClickHandler,isOpen:this.state.showReactions,count:n,product:this.props.product,hasBeenClicked:this.state.hasCtaBeenClicked}))}}]),t}(b.Component);U.displayName="ReactionsModule",U.propTypes={product:b.PropTypes.string.isRequired,showCookieBanner:b.PropTypes.bool.isRequired,error:b.PropTypes.oneOfType([b.PropTypes.shape({Error:b.PropTypes.string}),b.PropTypes.bool]),reactionsCounts:b.PropTypes.arrayOf(b.PropTypes.object).isRequired,reactionsCountTotal:b.PropTypes.number.isRequired,countingServiceClientLibrary:b.PropTypes.shape({postToUAS:b.PropTypes.func.isRequired,deleteFromUAS:b.PropTypes.func.isRequired}).isRequired,urn:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool]),globalId:b.PropTypes.string.isRequired,env:b.PropTypes.string.isRequired,isSignedIn:b.PropTypes.bool.isRequired,isIdAvailable:b.PropTypes.bool.isRequired,uasSelectedReaction:b.PropTypes.string,resourceTitle:b.PropTypes.string.isRequired,resourceType:b.PropTypes.string.isRequired,url:b.PropTypes.string.isRequired,idctaService:b.PropTypes.shape({refreshToken:b.PropTypes.func,isCurrentUserSignedIn:b.PropTypes.func}).isRequired,uasConfigService:b.PropTypes.shape({configureUAS:b.PropTypes.func,getMyReaction:b.PropTypes.func}).isRequired,istatsService:b.PropTypes.shape({logSelection:b.PropTypes.func,logDeselection:b.PropTypes.func,logCtaEvent:b.PropTypes.func,logError:b.PropTypes.func}).isRequired,spriteService:b.PropTypes.shape({fetchSprites:b.PropTypes.func,getSprite:b.PropTypes.func}).isRequired,pageContext:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool])},U.defaultProps={showCookieBanner:!1,error:!1,reactionsData:{},urn:!1,isSignedIn:!1,isIdAvailable:!1,uasSelectedReaction:null,resourceTitle:"resourceTitle",url:"url",pageContext:!1},t.default=U,e.exports=t.default},function(e,t,r){e.exports=r(121)},function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(122),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function r(e,t,r,n){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(n||[]);return a._invoke=c(e,r,s),a}function n(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}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(r,o,i,a){var s=n(e[r],e,o);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&b.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function r(e,r){function n(){return new Promise(function(n,o){t(e,r,n,o)})}return o=o?o.then(n,n):n()}var o;this._invoke=r}function c(e,t,r){var o=w;return function(i,a){if(o===x)throw new Error("Generator is already running");if(o===O){if("throw"===i)throw a;return y()}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var u=l(s,r);if(u){if(u===A)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===w)throw o=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=x;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?O:R,c.arg===A)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=O,r.method="throw",r.arg=c.arg)}}}function l(e,t){var r=e.iterator[t.method];if(r===v){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=v,l(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var o=n(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,A;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=v),t.delegate=null,A):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function f(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 d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[_];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(b.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=v,t.done=!0,t};return n.next=n}}return{next:y}}function y(){return{value:v,done:!0}}var v,m=Object.prototype,b=m.hasOwnProperty,E="function"==typeof Symbol?Symbol:{},_=E.iterator||"@@iterator",g=E.asyncIterator||"@@asyncIterator",T=E.toStringTag||"@@toStringTag",S="object"==typeof e,P=t.regeneratorRuntime;if(P)return void(S&&(e.exports=P));P=t.regeneratorRuntime=S?e.exports:{},P.wrap=r;var w="suspendedStart",R="suspendedYield",x="executing",O="completed",A={},M={};M[_]=function(){return this};var C=Object.getPrototypeOf,L=C&&C(C(h([])));L&&L!==m&&b.call(L,_)&&(M=L);var I=a.prototype=o.prototype=Object.create(M);i.prototype=I.constructor=a,a.constructor=i,a[T]=i.displayName="GeneratorFunction",P.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},P.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,T in e||(e[T]="GeneratorFunction")),e.prototype=Object.create(I),e},P.awrap=function(e){return{__await:e}},s(u.prototype),u.prototype[g]=function(){return this},P.AsyncIterator=u,P.async=function(e,t,n,o){var i=new u(r(e,t,n,o));return P.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(I),I[T]="Generator",I[_]=function(){return this},I.toString=function(){return"[object Generator]"},P.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},P.values=h,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(d),!e)for(var t in this)"t"===t.charAt(0)&&b.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},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,n){return i.type="throw",i.arg=e,r.next=t,n&&(r.method="next",r.arg=v),!!n}if(this.done)throw e;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=b.call(o,"catchLoc"),s=b.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 r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&b.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;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,A):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),A},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),d(r),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;d(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:h(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=v),A}}}(function(){return this}()||Function("return this")())},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(124),i=n(o);t.default=function(e){return function(){var t=e.apply(this,arguments);return new i.default(function(e,r){function n(o,a){try{var s=t[o](a),u=s.value}catch(e){return void r(e)}return s.done?void e(u):i.default.resolve(u).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}},function(e,t,r){e.exports={default:r(125),__esModule:!0}},function(e,t,r){r(77),r(51),r(62),r(126),r(144),r(145),e.exports=r(8).Promise},function(e,t,r){"use strict";var n,o,i,a,s=r(35),u=r(7),c=r(9),l=r(127),f=r(6),d=r(14),p=r(10),h=r(128),y=r(129),v=r(133),m=r(134).set,b=r(136)(),E=r(137),_=r(138),g=r(139),T=r(140),S="Promise",P=u.TypeError,w=u.process,R=w&&w.versions,x=R&&R.v8||"",O=u[S],A="process"==l(w),M=function(){},C=o=E.f,L=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[r(61)("species")]=function(e){e(M,M)};return(A||"function"==typeof PromiseRejectionEvent)&&e.then(M)instanceof t&&0!==x.indexOf("6.6")&&g.indexOf("Chrome/66")===-1}catch(e){}}(),I=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},k=function(e,t){if(!e._n){e._n=!0;var r=e._c;b(function(){for(var n=e._v,o=1==e._s,i=0,a=function(t){var r,i,a,s=o?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{s?(o||(2==e._h&&B(e),e._h=1),s===!0?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),a=!0)),r===t.promise?c(P("Promise-chain cycle")):(i=I(r))?i.call(r,u,c):u(r)):c(n)}catch(e){l&&!a&&l.exit(),c(e)}};r.length>i;)a(r[i++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){m.call(u,function(){var t,r,n,o=e._v,i=j(e);if(i&&(t=_(function(){A?w.emit("unhandledRejection",o,e):(r=u.onunhandledrejection)?r({promise:e,reason:o}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=A||j(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(e){m.call(u,function(){var t;A?w.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},U=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()),k(t,!0))},D=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw P("Promise can't be resolved itself");(t=I(e))?b(function(){var n={_w:r,_d:!1};try{t.call(e,c(D,n,1),c(U,n,1))}catch(e){U.call(n,e)}}):(r._v=e,r._s=1,k(r,!1))}catch(e){U.call({_w:r,_d:!1},e)}}};L||(O=function(e){h(this,O,S,"_h"),p(e),n.call(this);try{e(c(D,this,1),c(U,this,1))}catch(e){U.call(this,e)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(141)(O.prototype,{then:function(e,t){var r=C(v(this,O));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=A?w.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&k(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n;this.promise=e,this.resolve=c(D,e,1),this.reject=c(U,e,1)},E.f=C=function(e){return e===O||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!L,{Promise:O}),r(60)(O,S),r(142)(S),a=r(8)[S],f(f.S+f.F*!L,S,{reject:function(e){var t=C(this),r=t.reject;return r(e),t.promise}}),f(f.S+f.F*(s||!L),S,{resolve:function(e){return T(s&&this===a?O:this,e)}}),f(f.S+f.F*!(L&&r(143)(function(e){O.all(e).catch(M)})),S,{all:function(e){var t=this,r=C(t),n=r.resolve,o=r.reject,i=_(function(){var r=[],i=0,a=1;y(e,!1,function(e){var s=i++,u=!1;r.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,r[s]=e,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(e){var t=this,r=C(t),n=r.reject,o=_(function(){y(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},function(e,t,r){var n=r(27),o=r(61)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),o))?r:i?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(9),o=r(130),i=r(131),a=r(13),s=r(30),u=r(132),c={},l={},t=e.exports=function(e,t,r,f,d){var p,h,y,v,m=d?function(){return e}:u(e),b=n(r,f,t?2:1),E=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(p=s(e.length);p>E;E++)if(v=t?b(a(h=e[E])[0],h[1]):b(e[E]),v===c||v===l)return v}else for(y=m.call(e);!(h=y.next()).done;)if(v=o(y,b,h.value,t),v===c||v===l)return v};t.BREAK=c,t.RETURN=l},function(e,t,r){var n=r(13);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},function(e,t,r){var n=r(55),o=r(61)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||i[o]===e)}},function(e,t,r){var n=r(127),o=r(61)("iterator"),i=r(55);e.exports=r(8).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(13),o=r(10),i=r(61)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[i])?t:o(r)}},function(e,t,r){var n,o,i,a=r(9),s=r(135),u=r(59),c=r(18),l=r(7),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,y=l.Dispatch,v=0,m={},b="onreadystatechange",E=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},_=function(e){E.call(e.data)};d&&p||(d=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return m[++v]=function(){s("function"==typeof e?e:Function(e),t)},n(v),v},p=function(e){delete m[e]},"process"==r(27)(f)?n=function(e){f.nextTick(a(E,e,1))}:y&&y.now?n=function(e){y.now(a(E,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=_,n=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",_,!1)):n=b in c("script")?function(e){u.appendChild(c("script"))[b]=function(){u.removeChild(this),E.call(e)}}:function(e){setTimeout(a(E,e,1),0)}),e.exports={set:d,clear:p}},function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){var n=r(7),o=r(134).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,u="process"==r(27)(a);e.exports=function(){var e,t,r,c=function(){var n,o;for(u&&(n=a.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(u)r=function(){a.nextTick(c)};else if(!i||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);r=function(){l.then(c)}}else r=function(){o.call(n,c)};else{var f=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),r=function(){d.data=f=!f}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},function(e,t,r){"use strict";function n(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=o(t),this.reject=o(r)}var o=r(10);e.exports.f=function(e){return new n(e)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){var n=r(7),o=n.navigator;e.exports=o&&o.userAgent||""},function(e,t,r){var n=r(13),o=r(14),i=r(137);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},function(e,t,r){var n=r(11);e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}},function(e,t,r){"use strict";var n=r(7),o=r(8),i=r(12),a=r(16),s=r(61)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(61)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},e(i)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(6),o=r(8),i=r(7),a=r(133),s=r(140);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(6),o=r(137),i=r(138);n(n.S,"Promise",{try:function(e){var t=o.f(this),r=i(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(43),i=n(o),a=r(80),s=n(a),u=r(82),c=n(u),l=r(81),f=n(l),d=r(86),p=n(d),h=r(95),y=n(h),v=r(114),m=function(e){function t(e){(0,s.default)(this,t);var r=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return r.props=e,r.handleChange=r.handleChange.bind(r),r.state={slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT},r}return(0,p.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;clearInterval(this.startAnimationInterval),clearTimeout(this.startAnimationTimeout);var r=this.props.showAnimation===!1&&e.showAnimation===!0,n=this.props.endAnimation===!1&&e.endAnimation===!0,o=this.props.children.type.displayName!==e.children.type.displayName;o&&this.setState({slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT}),r?(this.setState({slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT}),clearInterval(this.stopAnimationinterval),clearTimeout(this.stopAnimationTimeout),this.startAnimationTimeout=setTimeout(function(){t.startAnimationInterval=setInterval(t.incrementSlides.bind(t),v.SPRITE_SLIDE_INCREMENT_INTERVAL)},v.SPRITE_EFFECT_DELAY)):n&&(this.stopAnimationTimeout=setTimeout(function(){t.stopAnimationinterval=setInterval(t.decrementSlides.bind(t),v.SPRITE_SLIDE_DECREMENT_INTERVAL)},v.SPRITE_REVERSE_EFFECT_DELAY),this.handleChange(this.state.slideNumber))}},{key:"handleChange",value:function(e){this.props.onSlideNumberChange(e)}},{key:"decrementSlides",value:function(){ this.state.slideNumber-1>=0?this.setState({slideNumber:this.state.slideNumber-1}):clearInterval(this.stopAnimationinterval)}},{key:"incrementSlides",value:function(){var e=Math.min(this.state.slideNumber+1,v.SPRITE_TOTAL_SLIDES);this.setState({slideNumber:e>v.SPRITE_TOTAL_SLIDES?v.SPRITE_TOTAL_SLIDES:e})}},{key:"render",value:function(){var e=this.props.animationPosition.x,t=this.props.animationPosition.y,r="reactions-sprite-animation-wrapper",n="reactions-sprite-animation reactions-sprite-animation__slide--"+this.state.slideNumber;return y.default.createElement("div",{className:r},y.default.createElement("div",{className:n,style:{left:e,top:t}},this.props.children))}}]),t}(h.Component);m.propTypes={showAnimation:h.PropTypes.bool.isRequired,children:h.PropTypes.element.isRequired,endAnimation:h.PropTypes.bool,onSlideNumberChange:h.PropTypes.func.isRequired,animationPosition:h.PropTypes.shape({x:h.PropTypes.number,y:h.PropTypes.number}).isRequired},m.defaultProps={endAnimation:!1},t.default=m,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(148),s=function(e){return i.default.createElement("div",{className:"reactions-error-message"},i.default.createElement("div",{className:"reactions-error-message__inner"},i.default.createElement("div",{role:"alert",className:"reactions-error-message__text"},(0,a.getMessageForError)(e.errorType))))};s.displayName="ErrorMessage",s.defaultProps={errorType:"ERR_MSG_OTHER"},s.propTypes={errorType:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.bool]).isRequired},t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageForError=t.getStandardisedErrorType=t.ErrorTypes=void 0;var o=r(149),i=n(o),a=t.ErrorTypes={UAS_FAILURE:"uasFailure",TOKEN_REFRESH_FAILURE:"tokenRefreshFailure",OTHER_ERROR:"otherError"};t.getStandardisedErrorType=function(e){var t=(0,i.default)(a).indexOf(e.message)>-1;return t?e.message:a.OTHER_ERROR},t.getMessageForError=function(e){switch(e){case a.UAS_FAILURE:return"Sorry, there was a problem recording your reaction. Please try again.";case a.TOKEN_REFRESH_FAILURE:return"Sorry, there was a problem. Please refresh the page and try again.";case a.OTHER_ERROR:default:return"Sorry, there was a problem. Please try again."}}},function(e,t,r){e.exports={default:r(150),__esModule:!0}},function(e,t,r){r(151),e.exports=r(8).Object.values},function(e,t,r){var n=r(6),o=r(152)(!1);n(n.S,"Object",{values:function(e){return o(e)}})},function(e,t,r){var n=r(23),o=r(25),i=r(39).f;e.exports=function(e){return function(t){for(var r,a=o(t),s=n(a),u=s.length,c=0,l=[];u>c;)i.call(a,r=s[c++])&&l.push(e?[r,a[r]]:a[r]);return l}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={CtaOpen:"cta_open",CtaClose:"cta_close"};t.default=r,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(43),c=n(u),l=r(80),f=n(l),d=r(82),p=n(d),h=r(81),y=n(h),v=r(86),m=n(v),b=r(95),E=n(b),_=r(155),g=n(_),T=r(119),S=n(T),P=r(156),w=n(P),R=r(157),x=n(R),O=r(158),A=n(O),M=r(159),C=n(M),L=r(161),I=n(L),k=r(162),N=n(k),j=r(163),B=n(j),U=r(164),D=n(U),F=r(148),q=r(114),z=function(e){function t(e){(0,f.default)(this,t);var r=(0,y.default)(this,(t.__proto__||(0,c.default)(t)).call(this,e));return r.props=e,r.state={isSignedIn:!1,error:!1,uasSelectedReaction:null},r}return(0,m.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){function e(){return r.apply(this,arguments)}var r=(0,s.default)(i.default.mark(function e(){var r,n,o,a,s,u,c,l,f,d,p=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.getIdctaService(w.default,this.props.enableAcceptanceTestMode,this.props.enableStandaloneMode,this.props.error),e.next=3,r.isCurrentUserSignedIn(this.props.error).catch(function(){p.setState({error:new Error(F.ErrorTypes.TOKEN_REFRESH_FAILURE)})});case 3:if(n=e.sent,o="undefined"!=typeof n&&n,this.setState({isSignedIn:o}),!o){e.next=21;break}return a=this.props,s=a.resourceType,u=a.urn,c=a.env,l=a.product,e.next=10,w.default.refreshToken();case 10:return e.prev=10,e.next=13,C.default.getMyReaction(c,l,s,u,this.props.enableAcceptanceTestMode);case 13:f=e.sent,d=f===q.NO_REACTION?q.NO_REACTION:(0,q.keyToLabel)(f,l),this.setState({isSignedIn:o,error:!1,uasSelectedReaction:d}),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),this.setState({isSignedIn:o,error:new Error(F.ErrorTypes.UAS_FAILURE)});case 21:case"end":return e.stop()}},e,this,[[10,18]])}));return e}()},{key:"render",value:function(){var e=this.props.enableStandaloneMode,r=this.props.error||this.state.error,n=t.getCountingServiceClient(this.props.countingServiceClientLibrary,e,r),o=E.default.createElement(S.default,{countingServiceClientLibrary:n,env:this.props.env,urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,globalId:this.props.globalId,idctaService:t.getIdctaService(w.default,this.props.enableAcceptanceTestMode,e,r),isIdAvailable:this.props.isIdAvailable,isSignedIn:this.state.isSignedIn,product:this.props.product,reactionsCounts:this.props.reactionsCounts,reactionsCountTotal:this.props.reactionsCountTotal,error:r,uasSelectedReaction:this.state.uasSelectedReaction,uasConfigService:t.getUasConfigService(C.default,e,r),istatsService:t.getIstatsService(N.default,e),spriteService:D.default,pageContext:this.props.pageContext});return E.default.createElement("div",null,this.props.enableStandaloneMode?E.default.createElement("div",{className:"reactions__standalone"},E.default.createElement("div",{className:"content-item-description"},E.default.createElement("div",{className:"reactions-container"},o))):E.default.createElement("div",null,o))}}],[{key:"getCountingServiceClient",value:function(e,t,r){return t?g.default.getClient(r):e}},{key:"getIdctaService",value:function(e,t,r,n){return!t&&r?n?x.default:A.default:e}},{key:"getUasConfigService",value:function(e,t,r){return t?(0,I.default)(r):e}},{key:"getIstatsService",value:function(e,t){return t?B.default:e}}]),t}(b.Component);z.propTypes={enableStandaloneMode:b.PropTypes.bool.isRequired,countingServiceClientLibrary:b.PropTypes.shape({postToUAS:b.PropTypes.func.isRequired,deleteFromUAS:b.PropTypes.func.isRequired}).isRequired,error:b.PropTypes.oneOfType([b.PropTypes.shape({Error:b.PropTypes.string}),b.PropTypes.bool]),env:b.PropTypes.string.isRequired,urn:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool]).isRequired,resourceTitle:b.PropTypes.string.isRequired,resourceType:b.PropTypes.string.isRequired,url:b.PropTypes.string.isRequired,globalId:b.PropTypes.string.isRequired,isIdAvailable:b.PropTypes.bool.isRequired,product:b.PropTypes.string.isRequired,reactionsCounts:b.PropTypes.arrayOf(b.PropTypes.object).isRequired,reactionsCountTotal:b.PropTypes.number.isRequired,enableAcceptanceTestMode:b.PropTypes.bool,pageContext:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool])},z.defaultProps={error:!1,enableAcceptanceTestMode:!1,pageContext:!1},t.default=z,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return u.default.resolve({ok:!0})}function i(e){return function(){throw e}}function a(e){return e.message===c.ErrorTypes.UAS_FAILURE?i(e):o}Object.defineProperty(t,"__esModule",{value:!0});var s=r(124),u=n(s),c=r(148);t.default={getClient:function(e){return{postToUAS:a(e),deleteFromUAS:a(e)}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(124),c=n(u),l=function(){return new c.default(function(e,t){requirejs(["idcta-v2/idcta-1"],e,t)})};t.default={refreshToken:function(){var e=this;return(0,s.default)(i.default.mark(function t(){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:return r=e.sent,e.abrupt("return",r.initiateTokenRefresh());case 4:case"end":return e.stop()}},t,e)}))()},isCurrentUserSignedIn:function(){var e=this;return(0,s.default)(i.default.mark(function t(){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:return r=e.sent,e.abrupt("return",r.hasCookie());case 4:case"end":return e.stop()}},t,e)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(124),s=n(a),u=r(123),c=n(u),l=r(148),f=r(158),d=n(f);t.default={refreshToken:function(e){if(e.message===l.ErrorTypes.TOKEN_REFRESH_FAILURE)throw e;return d.default.refreshToken()},isCurrentUserSignedIn:function(e){var t=this;return(0,c.default)(i.default.mark(function r(){return i.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.message!==l.ErrorTypes.TOKEN_REFRESH_FAILURE){t.next=2;break}return t.abrupt("return",s.default.reject(e));case 2:return t.abrupt("return",s.default.resolve(!0));case 3:case"end":return t.stop()}},r,t)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(124),c=n(u);t.default={refreshToken:function(){return c.default.resolve(!0)},isCurrentUserSignedIn:function(){var e=this;return(0,s.default)(i.default.mark(function t(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.default.resolve(!0));case 1:case"end":return e.stop()}},t,e)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(114),c=r(160),l=r(148),f=function(e){if(e&&"undefined"!=typeof e){if("live"===e)return"ocivkho3fups2";if("int"===e||"test"===e)return"8d6f5s2dqp0pc"}throw Error(l.ErrorTypes.API_KEY_ERROR)},d=function(){var e=window.document&&window.document.domain||"";return e.indexOf(".com")>-1?".com":".co.uk"},p=function(e){return u.KEY_TO_UAS_CONTEXT[e]},h=function(e){return"ownit"===e?"stay-safe":e},y=function(e,t,r){var n=r.replace("urn:bbc:","");return"urn:bbc:"+e+":"+t+":"+n},v=function(e,t,r,n,o){var i="live"===e?"":e+".",a=y(t,r,n);return o?"https://web.archive.org/web/20190205044446/http://localhost:3000/wiremock/session/"+Morph.sessionId+"/uas/myreaction/"+a:"https://web.archive.org/web/20190205044446/https://activity."+i+"api."+c.bbcTldSuffix+"/my/reactions/"+a},m=function(){var e=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(204!==t.status){e.next=2;break}return e.abrupt("return",u.NO_REACTION);case 2:return e.next=4,t.json();case 4:return r=e.sent,e.abrupt("return",r.action);case 6:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=(0,s.default)(i.default.mark(function e(t){var r,n,o,a,s,u=t.clickedReaction,c=t.urn,y=t.resourceTitle,v=t.resourceType,m=t.url,b=t.product,E=t.env,_=t.signedInState,g=t.isIdAvailable,T=t.idctaService,S=t.error,P=t.endSlideNumber;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!_||!g){e.next=3;break}return e.next=3,T.refreshToken(S).catch(function(){throw new Error(l.ErrorTypes.TOKEN_REFRESH_FAILURE)});case 3:return r=void 0,P&&(r={reactLevel:u+"_"+P}),n={resourceDomain:h(b),resourceType:v,resourceId:c,resourceTitle:y,url:m,action:u,actionContext:p(u),metadata:r},o=f(E),a=d(),e.next=10,T.isCurrentUserSignedIn(S).catch(function(){throw new Error(l.ErrorTypes.TOKEN_REFRESH_FAILURE)});case 10:return s=e.sent,e.abrupt("return",{UASdata:n,apiKey:o,env:E,domain:a,isSignedIn:s});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=(0,s.default)(i.default.mark(function e(t,r,n,o,a){var s,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=v(t,h(r),n,o,a),e.next=3,fetch(s,{credentials:"include",headers:{"x-api-key":f(t),Accept:"application/json"}});case 3:return u=e.sent,e.abrupt("return",m(u));case 5:case"end":return e.stop()}},e,void 0)}));return function(t,r,n,o,i){return e.apply(this,arguments)}}();t.default={configureUAS:b,getMyReaction:E},e.exports=t.default},function(e,t){"use strict";function r(){return"undefined"==typeof document?"":document.location.href}Object.defineProperty(t,"__esModule",{value:!0});var n="https://web.archive.org/web/20190205044446/http://localhost:3000",o=t.bbcTldSuffix=r().indexOf("bbc.com")!==-1?"bbc.com":"bbc.co.uk";t.getBBCDomain=function(e){switch(e){case"acc":return n;case"live":return"https://www."+o;default:return"https://www."+e+"."+o}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(124),i=n(o),a=function(e){return function(){throw e}},s=function(){return i.default.resolve(!0)},u=function(){},c=function(e){return e?a(e):s},l=function(e){return{configureUAS:c(e),getMyReaction:u}};t.default=l,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return new c.default(function(e){requirejs(["istats-1"],function(t){e(t)})})}function i(e){o().then(function(t){t.log(d,f,(0,s.default)({},l,e))})}Object.defineProperty(t,"__esModule",{value:!0});var a=r(2),s=n(a),u=r(124),c=n(u),l={page_type:"content",children_interaction_type:"reactions"},f="web_button",d="click";t.default={logSelection:function(e,t,r,n){i({children_interaction_variant:e+"_"+t,children_interaction_location:n}),r&&this.logDeselection(r,n)},logDeselection:function(e,t){i({children_interaction_variant:e+"_deselect",children_interaction_location:t})},logCtaEvent:function(e){i({children_interaction_variant:""+e})},logError:function(e){i({children_interaction_variant:"error_"+e})}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return s.default.resolve(u)}function i(){o().then(function(e){e.log()})}Object.defineProperty(t,"__esModule",{value:!0});var a=r(124),s=n(a),u={log:function(){}};t.default={logSelection:function(e,t,r){i(),r&&this.logDeselection(r)},logDeselection:function(){i()},logCtaEvent:function(){i()},logError:function(){i()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){a.default&&a.default.selfTransitive&&a.default.selfTransitive("assets",function(e){s=e})}Object.defineProperty(t,"__esModule",{value:!0});var i=r(165),a=n(i),s={},u=function(e,t){return t?s.landscape[e]:s.portrait[e]};t.default={fetchSprites:o,getSprite:u},e.exports=t.default},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-childrens-reactions@1.3.4",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-childrens-reactions@1.3.4",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-childrens-reactions@1.3.4",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-childrens-reactions@1.3.4",e,t,!0)}}}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-id-availability-data/version/1.0.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"isAvailable":true}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-childrens-reactions-data/urn/urn%3Abbc%3Apips%3A%3Apid%3Ap06z2k9c/version/0.5.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"countsData":{"urn:bbc:pips::pid:p06z2k9c":{"applause":4,"inspired":1,"loved":1,"lol":2,"omd":1,"sad":1}},"countsTotals":{"urn:bbc:pips::pid:p06z2k9c":10},"env":"live"}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-childrens-reactions","product":"stay-safe","resourceType":"clip","urn":"urn:bbc:pips::pid:p06z2k9c","resourceTitle":"Where+are+your+photos+going?","url":"https:\/\/web.archive.org\/web\/20190205044446\/https:\/\/www.bbc.com\/ownit\/its-personal\/where-are-your-photos-going","pageContext":"primary_content","version":"1.3.4","_mrrVersion":"2.0.12"},'u39014483941718936'); });</script> <script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20190205044446/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20190205044446/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20190205044446/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20190205044446/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20190205044446/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20190205044446/https://push.api.bbci.co.uk/public/client' }, 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(); } /* u39014483941718936 */</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@1.69.0"]={"babel-runtime":"6.26.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"1.31.0","bbc-morph-id-availability-data":"1.0.0","bbc-morph-moment-without-locales":"1.0.0","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","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@1.69.0"]=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(46),l=r(u),c=n(47),d=r(c),f=n(51),m=r(f),p=n(84),h=r(p),y=n(92),v=r(y),g=n(93),_=r(g);n(94);var b=n(95),T=n(110),w=n(242),C=n(244),M=r(C),P=n(237),E=n(177),S=function(e){function t(){return(0,l.default)(this,t),(0,m.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){return this.props.styleguide?v.default.createElement(w.StyleGuideModule,this.props):v.default.createElement(T.CommentsBootstrap,this.props)}}]),t}(y.Component);S.displayName="ComponentSelector",S.propTypes={styleguide:y.PropTypes.string,commentsData:y.PropTypes.object},t.default=_.default.create(S,{dataParams:{commentsDataUri:null,nextIndexToLoadFrom:null},data:function(e,t){if(e.styleguide)return{};var n=(0,E.setupFeatureToggles)(e.toggleOverrides).isFeatureEnabled(E.FeaturesToggles.liveUpdate),r=parseInt(e.pageSize,10)||P.PAGE_SIZE,o=r*P.INITIAL_PAGE_SIZE_MULTIPLIER,a=(0,i.default)({},(0,b.pick)(e,["staticComments","staticForum","staticCommentProps","forumId","apiKey"]),{pageSize:o,data:"bbc-morph-comments-data"}),s=(0,i.default)({},t,{commentsDataUri:a,pageSize:r,shouldLiveUpdate:n}),u=e.idAvailability?{availabilityOverride:e.idAvailability}:{};return{commentsData:{uri:a,requireSuccess:!0,updates:!1},commentsAggregator:{aggregator:M.default,props:s,requireSuccess:!1},idAvailabilityData:{uri:(0,i.default)({data:"bbc-morph-id-availability-data"},u),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,f,m=e&l.F,p=e&l.G,h=e&l.S,y=e&l.P,v=e&l.B,g=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=!m&&T&&void 0!==T[c],d&&s(_,c)||(f=d?T[c]:n[c],_[c]=p&&"function"!=typeof T[c]?n[c]:v&&d?i(f,r):g&&T[c]==f?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}(f):y&&"function"==typeof f?i(Function.call,f):f,y&&((_.virtual||(_.virtual={}))[c]=f,e&l.R&&b&&!b[c]&&a(b,c,f)))};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.5.7"};"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(23),o=n(38),i=n(39),a=n(40),s=n(26),u=Object.assign;e.exports=!u||n(17)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=a(e),u=arguments.length,l=1,c=o.f,d=i.f;u>l;)for(var f,m=s(arguments[l++]),p=c?r(m).concat(c(m)):r(m),h=p.length,y=0;h>y;)d.call(m,f=p[y++])&&(n[f]=m[f]);return n}:u},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:"© 2018 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).Object.getPrototypeOf},function(e,t,n){var r=n(40),o=n(44);n(45)("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(48),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(49),__esModule:!0}},function(e,t,n){n(50);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(52),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(53),i=r(o),a=n(71),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(54),__esModule:!0}},function(e,t,n){n(55),n(66),e.exports=n(70).f("iterator")},function(e,t,n){"use strict";var r=n(56)(!0);n(57)(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(58),a=n(11),s=n(59),u=n(60),l=n(64),c=n(44),d=n(65)("iterator"),f=!([].keys&&"next"in[].keys()),m="@@iterator",p="keys",h="values",y=function(){return this};e.exports=function(e,t,n,v,g,_,b){u(n,t,v);var T,w,C,M=function(e){if(!f&&e in O)return O[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)}},P=t+" Iterator",E=g==h,S=!1,O=e.prototype,k=O[d]||O[m]||g&&O[g],x=k||M(g),D=g?E?M("entries"):x:void 0,A="Array"==t?O.entries||k:k;if(A&&(C=c(A.call(new e)),C!==Object.prototype&&C.next&&(l(C,P,!0),r||"function"==typeof C[d]||a(C,d,y))),E&&k&&k.name!==h&&(S=!0,x=function(){return k.call(this)}),r&&!b||!f&&!S&&O[d]||a(O,d,x),s[t]=x,s[P]=y,g)if(T={values:E?x:M(h),keys:_?x:M(p),entries:D},b)for(w in T)w in O||i(O,w,T[w]);else o(o.P+o.F*(f||S),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(61),o=n(20),i=n(64),a={};n(11)(a,n(65)("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(62),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(63).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(65)("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(67);for(var r=n(7),o=n(11),i=n(59),a=n(65)("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(68),o=n(69),i=n(59),a=n(25);e.exports=n(57)(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(65)},function(e,t,n){e.exports={default:n(72),__esModule:!0}},function(e,t,n){n(73),n(81),n(82),n(83),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(58),u=n(74).KEY,l=n(17),c=n(34),d=n(64),f=n(36),m=n(65),p=n(70),h=n(75),y=n(76),v=n(77),g=n(13),_=n(14),b=n(25),T=n(19),w=n(20),C=n(61),M=n(78),P=n(80),E=n(12),S=n(23),O=P.f,k=E.f,x=M.f,D=r.Symbol,A=r.JSON,I=A&&A.stringify,N="prototype",L=m("_hidden"),j=m("toPrimitive"),R={}.propertyIsEnumerable,F=c("symbol-registry"),U=c("symbols"),Y=c("op-symbols"),W=Object[N],q="function"==typeof D,z=r.QObject,B=!z||!z[N]||!z[N].findChild,H=i&&l(function(){return 7!=C(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(W,t);r&&delete W[t],k(e,t,n),r&&e!==W&&k(W,t,r)}:k,V=function(e){var t=U[e]=C(D[N]);return t._k=e,t},G=q&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},K=function(e,t,n){return e===W&&K(Y,t,n),g(e),t=T(t,!0),g(n),o(U,t)?(n.enumerable?(o(e,L)&&e[L][t]&&(e[L][t]=!1),n=C(n,{enumerable:w(0,!1)})):(o(e,L)||k(e,L,w(1,{})),e[L][t]=!0),H(e,t,n)):k(e,t,n)},$=function(e,t){g(e);for(var n,r=y(t=b(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},Z=function(e,t){return void 0===t?C(e):$(C(e),t)},J=function(e){var t=R.call(this,e=T(e,!0));return!(this===W&&o(U,e)&&!o(Y,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,L)&&this[L][e])||t)},Q=function(e,t){if(e=b(e),t=T(t,!0),e!==W||!o(U,t)||o(Y,t)){var n=O(e,t);return!n||!o(U,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=x(b(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==L||t==u||r.push(t);return r},ee=function(e){for(var t,n=e===W,r=x(n?Y:b(e)),i=[],a=0;r.length>a;)!o(U,t=r[a++])||n&&!o(W,t)||i.push(U[t]);return i};q||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===W&&t.call(Y,n),o(this,L)&&o(this[L],e)&&(this[L][e]=!1),H(this,e,w(1,n))};return i&&B&&H(W,e,{configurable:!0,set:t}),V(e)},s(D[N],"toString",function(){return this._k}),P.f=Q,E.f=K,n(79).f=M.f=X,n(39).f=J,n(38).f=ee,i&&!n(35)&&s(W,"propertyIsEnumerable",J,!0),p.f=function(e){return V(m(e))}),a(a.G+a.W+a.F*!q,{Symbol:D});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)m(te[ne++]);for(var re=S(m.store),oe=0;re.length>oe;)h(re[oe++]);a(a.S+a.F*!q,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=D(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),a(a.S+a.F*!q,"Object",{create:Z,defineProperty:K,defineProperties:$,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:ee}),A&&a(a.S+a.F*(!q||l(function(){var e=D();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(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)&&!G(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,I.apply(A,r)}}),D[N][j]||n(11)(D[N],j,D[N].valueOf),d(D,"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},f=function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},m=function(e){return l&&p.NEED&&u(e)&&!i(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:m}},function(e,t,n){var r=n(7),o=n(8),i=n(35),a=n(70),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(79).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(75)("asyncIterator")},function(e,t,n){n(75)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(85),i=r(o),a=n(89),s=r(a),u=n(52),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(86),__esModule:!0}},function(e,t,n){n(87),e.exports=n(8).Object.setPrototypeOf},function(e,t,n){var r=n(6);r(r.S,"Object",{setPrototypeOf:n(88).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(80).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(90),__esModule:!0}},function(e,t,n){n(91);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(61)})},function(e,t){e.exports=React},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-comments-view@1.69.0",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 v.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(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&_(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.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):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.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)},v.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return T.indexOf(t)>-1?t:e}function m(e,t){t=t||{};var n=t.body;if(e instanceof m){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=f(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 v={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(v.arrayBuffer)var g=["[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&&g.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)},v.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var T=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},d.call(m.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 w=[301,302,303,307,308];y.redirect=function(e,t){if(w.indexOf(t)===-1)throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=m,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,r){var o=new m(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&&v.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(96),i=r(o),a=n(97),s=r(a),u=n(103),l=r(u),c=n(109),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=N(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=N(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 L(e)||d(e)||!!(I&&e&&e[I])}function c(e){if("string"==typeof e||g(e))return e;var t=e+"";return"0"==t&&1/e==-_?"-0":t}function d(e){return m(e)&&k.call(e,"callee")&&(!A.call(e,"callee")||x.call(e)==T)}function f(e){return null!=e&&h(e.length)&&!p(e)}function m(e){return v(e)&&f(e)}function p(e){var t=y(e)?x.call(e):"";return t==w||t==C}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 v(e){return!!e&&"object"==typeof e}function g(e){return"symbol"==typeof e||v(e)&&x.call(e)==M}var _=1/0,b=9007199254740991,T="[object Arguments]",w="[object Function]",C="[object GeneratorFunction]",M="[object Symbol]",P="object"==typeof t&&t&&t.Object===Object&&t,E="object"==typeof self&&self&&self.Object===Object&&self,S=P||E||Function("return this")(),O=Object.prototype,k=O.hasOwnProperty,x=O.toString,D=S.Symbol,A=O.propertyIsEnumerable,I=D?D.isConcatSpreadable:void 0,N=Math.max,L=Array.isArray,j=u(function(e,t){return null==e?{}:a(e,r(i(t,1),c))});e.exports=j}).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 m(Object(e))}function u(e){return f(Object(e))}function l(e,t){return null==e?{}:i(e,c(t))}var c=n(98),d=n(102),f=Object.getOwnPropertySymbols,m=Object.getPrototypeOf;f||(u=function(){return[]});var p=f?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 f(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}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 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 It.call(t,e)?t[e]:void 0}function v(e){var t=this.__data__;return Gt?void 0!==t[e]:It.call(t,e)}function g(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=Y(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ut.call(t,n,1),!0}function w(e){var t=this.__data__,n=Y(t,e);return n<0?void 0:t[n][1]}function C(e){return Y(this.__data__,e)>-1}function M(e,t){var n=this.__data__,r=Y(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function P(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 E(){this.__data__={hash:new m,map:new(zt||_),string:new m}}function S(e){return oe(this,e).delete(e)}function O(e){return oe(this,e).get(e)}function k(e){return oe(this,e).has(e)}function x(e,t){return oe(this,e).set(e,t),this}function D(e){var t=-1,n=e?e.length:0;for(this.__data__=new P;++t<n;)this.add(e[t])}function A(e){return this.__data__.set(e,Fe),this}function I(e){return this.__data__.has(e)}function N(e){this.__data__=new _(e)}function L(){this.__data__=new _}function j(e){return this.__data__.delete(e)}function R(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==Re&&(n=this.__data__=new P(n.__data__)),n.set(e,t),this}function Y(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}function W(e,t){t=fe(t,e)?[t]:X(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ve(t[n++])];return n&&n==r?e:void 0}function q(e,t){return It.call(e,t)||"object"==typeof e&&t in e&&null===se(e)}function z(e,t){return t in Object(e)}function B(e,t,n,r,o){return e===t||(null==e||null==t||!Pe(e)&&!Ee(t)?e!==e&&t!==t:H(e,t,B,n,r,o))}function H(e,t,n,r,o,i){var a=nn(e),s=nn(t),u=Be,c=Be;a||(u=ue(e),u=u==ze?Qe:u),s||(c=ue(t),c=c==ze?Qe:c);var d=u==Qe&&!l(e),f=c==Qe&&!l(t),m=u==c;if(m&&!d)return i||(i=new N),a||xe(e)?te(e,t,n,r,o,i):ne(e,t,u,n,r,o,i);if(!(o&Ye)){var p=d&&It.call(e,"__wrapped__"),h=f&&It.call(t,"__wrapped__");if(p||h){var y=p?e.value():e,v=h?t.value():t;return i||(i=new N),n(y,v,r,o,i)}}return!!m&&(i||(i=new N),re(e,t,n,r,o,i))}function V(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 N;if(r)var f=r(l,c,u,e,t,d);if(!(void 0===f?B(c,l,r,Ue|Ye,d):f))return!1}}return!0}function G(e){return"function"==typeof e?e:null==e?Ne:"object"==typeof e?nn(e)?Z(e[0],e[1]):$(e):Le(e)}function K(e){return Wt(Object(e))}function $(e){var t=ie(e);return 1==t.length&&t[0][2]?ye(t[0][0],t[0][1]):function(n){return n===e||V(n,e,t)}}function Z(e,t){return fe(e)&&he(t)?ye(ve(e),t):function(n){var r=De(n,e);return void 0===r&&r===t?Ae(n,e):B(t,r,void 0,Ue|Ye)}}function J(e){return function(t){return null==t?void 0:t[e]}}function Q(e){return function(t){return W(t,e)}}function X(e){return nn(e)?e:je(e)}function ee(e){return function(t){var n=ue(t);return n==Ze?c(t):n==tt?f(t):s(t,e(t))}}function te(e,t,n,r,o,a){var s=o&Ye,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,f=!0,m=o&Ue?new D: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;f=!1;break}if(m){if(!i(t,function(e,t){if(!m.has(t)&&(p===e||n(p,e,r,o,a)))return m.add(t)})){f=!1;break}}else if(p!==h&&!n(p,h,r,o,a)){f=!1;break}}return a.delete(e),f}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 Rt(e),new Rt(t)));case He:case Ve: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 Ze:var s=c;case tt:var u=i&Ye;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&Ye,s=Ie(e),u=s.length,l=Ie(t),c=l.length;if(u!=c&&!a)return!1;for(var d=u;d--;){var f=s[d];if(!(a?f in t:q(t,f)))return!1}var m=i.get(e);if(m)return m==t;var p=!0;i.set(e,t);for(var h=a;++d<u;){f=s[d];var y=e[f],v=t[f];if(r)var g=a?r(v,y,f,t,e,i):r(y,v,f,e,t,i);if(!(void 0===g?y===v||n(y,v,r,o,i):g)){p=!1;break}h||(h="constructor"==f)}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 me(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 Se(n)?n:void 0}function se(e){return Yt(Object(e))}function ue(e){return Nt.call(e)}function le(e,t,n){t=fe(t,e)?[t]:X(t);for(var r,o=-1,i=t.length;++o<i;){var a=ve(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&&Me(i)&&de(a,i)&&(nn(e)||Oe(e)||be(e))}function ce(e){var t=e?e.length:void 0;return Me(t)&&(nn(e)||Oe(e)||be(e))?a(t,String):null}function de(e,t){return t=null==t?qe:t,!!t&&("number"==typeof e||bt.test(e))&&e>-1&&e%1==0&&e<t}function fe(e,t){if(nn(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ke(e))||(vt.test(e)||!yt.test(e)||null!=t&&e in Object(t))}function me(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||Dt;return e===n}function he(e){return e===e&&!Pe(e)}function ye(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function ve(e){if("string"==typeof e||ke(e))return e;var t=e+"";return"0"==t&&1/e==-We?"-0":t}function ge(e){if(null!=e){try{return At.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 we(e)&&It.call(e,"callee")&&(!Ft.call(e,"callee")||Nt.call(e)==ze)}function Te(e){return null!=e&&Me(tn(e))&&!Ce(e)}function we(e){return Ee(e)&&Te(e)}function Ce(e){var t=Pe(e)?Nt.call(e):"";return t==Ke||t==$e}function Me(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=qe}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=Ce(e)||l(e)?Lt:_t;return t.test(ge(e))}function Oe(e){return"string"==typeof e||!nn(e)&&Ee(e)&&Nt.call(e)==nt}function ke(e){return"symbol"==typeof e||Ee(e)&&Nt.call(e)==rt}function xe(e){return Ee(e)&&Me(e.length)&&!!Tt[Nt.call(e)]}function De(e,t,n){var r=null==e?void 0:W(e,t);return void 0===r?n:r}function Ae(e,t){return null!=e&&le(e,t,z)}function Ie(e){var t=pe(e);if(!t&&!Te(e))return K(e);var n=ce(e),r=!!n,o=n||[],i=o.length;for(var a in e)!q(e,a)||r&&("length"==a||de(a,i))||t&&"constructor"==a||o.push(a);return o}function Ne(e){return e}function Le(e){return fe(e)?J(ve(e)):Q(e)}var je=n(100),Re=200,Fe="__lodash_hash_undefined__",Ue=1,Ye=2,We=1/0,qe=9007199254740991,ze="[object Arguments]",Be="[object Array]",He="[object Boolean]",Ve="[object Date]",Ge="[object Error]",Ke="[object Function]",$e="[object GeneratorFunction]",Ze="[object Map]",Je="[object Number]",Qe="[object Object]",Xe="[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]",ft="[object Uint8Array]",mt="[object Uint8ClampedArray]",pt="[object Uint16Array]",ht="[object Uint32Array]",yt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vt=/^\w*$/,gt=/[\\^$.*+?()[\]{}|]/g,_t=/^\[object .+?Constructor\]$/,bt=/^(?:0|[1-9]\d*)$/,Tt={};Tt[st]=Tt[ut]=Tt[lt]=Tt[ct]=Tt[dt]=Tt[ft]=Tt[mt]=Tt[pt]=Tt[ht]=!0,Tt[ze]=Tt[Be]=Tt[it]=Tt[He]=Tt[at]=Tt[Ve]=Tt[Ge]=Tt[Ke]=Tt[Ze]=Tt[Je]=Tt[Qe]=Tt[et]=Tt[tt]=Tt[nt]=Tt[ot]=!1;var wt={function:!0,object:!0},Ct=wt[typeof t]&&t&&!t.nodeType?t:void 0,Mt=wt[typeof e]&&e&&!e.nodeType?e:void 0,Pt=u(Ct&&Mt&&"object"==typeof r&&r),Et=u(wt[typeof self]&&self),St=u(wt[typeof window]&&window),Ot=u(wt[typeof this]&&this),kt=Pt||St!==(Ot&&Ot.window)&&St||Et||Ot||Function("return this")(),xt=Array.prototype,Dt=Object.prototype,At=Function.prototype.toString,It=Dt.hasOwnProperty,Nt=Dt.toString,Lt=RegExp("^"+At.call(It).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jt=kt.Symbol,Rt=kt.Uint8Array,Ft=Dt.propertyIsEnumerable,Ut=xt.splice,Yt=Object.getPrototypeOf,Wt=Object.keys,qt=ae(kt,"DataView"),zt=ae(kt,"Map"),Bt=ae(kt,"Promise"),Ht=ae(kt,"Set"),Vt=ae(kt,"WeakMap"),Gt=ae(Object,"create"),Kt=ge(qt),$t=ge(zt),Zt=ge(Bt),Jt=ge(Ht),Qt=ge(Vt),Xt=jt?jt.prototype:void 0,en=Xt?Xt.valueOf:void 0;m.prototype.clear=p,m.prototype.delete=h,m.prototype.get=y,m.prototype.has=v,m.prototype.set=g,_.prototype.clear=b,_.prototype.delete=T,_.prototype.get=w,_.prototype.has=C,_.prototype.set=M,P.prototype.clear=E,P.prototype.delete=S,P.prototype.get=O,P.prototype.has=k,P.prototype.set=x,D.prototype.add=D.prototype.push=A,D.prototype.has=I,N.prototype.clear=L,N.prototype.delete=j,N.prototype.get=R,N.prototype.has=F,N.prototype.set=U;var tn=J("length");(qt&&ue(new qt(new ArrayBuffer(1)))!=at||zt&&ue(new zt)!=Ze||Bt&&ue(Bt.resolve())!=Xe||Ht&&ue(new Ht)!=tt||Vt&&ue(new Vt)!=ot)&&(ue=function(e){var t=Nt.call(e),n=t==Qe?e.constructor:void 0,r=n?ge(n):void 0;if(r)switch(r){case Kt:return at;case $t:return Ze;case Zt:return Xe;case Jt:return tt;case Qt:return ot}return t});var nn=Array.isArray,rn=ee(Ie);e.exports=G}).call(t,n(99)(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===R?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?R:t,this}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 m(){this.__data__=[]}function p(e){var t=this.__data__,n=M(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=M(t,e);return n<0?void 0:t[n][1]}function y(e){return M(this.__data__,e)>-1}function v(e,t){var n=this.__data__,r=M(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 _(){this.__data__={hash:new a,map:new(ie||f),string:new a}}function b(e){return P(this,e).delete(e)}function T(e){return P(this,e).get(e)}function w(e){return P(this,e).has(e)}function C(e,t){return P(this,e).set(e,t),this}function M(e,t){for(var n=e.length;n--;)if(x(e[n][0],t))return n;return-1}function P(e,t){var n=e.__data__;return S(t)?n["string"==typeof t?"string":"hash"]:n.map}function E(e,t){var n=e[t];return I(n)?n:void 0}function S(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function O(e){if(null!=e){try{return ee.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function k(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(j);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(k.Cache||g),n}function x(e,t){return e===t||e!==e&&t!==t}function D(e){var t=A(e)?ne.call(e):"";return t==F||t==U}function A(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function I(e){if(!A(e))return!1;var t=D(e)||i(e)?re:z;return t.test(O(e))}function N(e){return null==e?"":L(e)}var L=n(101),j="Expected a function",R="__lodash_hash_undefined__",F="[object Function]",U="[object GeneratorFunction]",Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,W=/[\\^$.*+?()[\]{}|]/g,q=/\\(\\)?/g,z=/^\[object .+?Constructor\]$/,B={function:!0,object:!0},H=B[typeof t]&&t&&!t.nodeType?t:void 0,V=B[typeof e]&&e&&!e.nodeType?e:void 0,G=o(H&&V&&"object"==typeof r&&r),K=o(B[typeof self]&&self),$=o(B[typeof window]&&window),Z=o(B[typeof this]&&this),J=G||$!==(Z&&Z.window)&&$||K||Z||Function("return this")(),Q=Array.prototype,X=Object.prototype,ee=Function.prototype.toString,te=X.hasOwnProperty,ne=X.toString,re=RegExp("^"+ee.call(te).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),oe=Q.splice,ie=E(J,"Map"),ae=E(Object,"create");a.prototype.clear=s,a.prototype.delete=u,a.prototype.get=l,a.prototype.has=c,a.prototype.set=d,f.prototype.clear=m,f.prototype.delete=p,f.prototype.get=h,f.prototype.has=y,f.prototype.set=v,g.prototype.clear=_,g.prototype.delete=b,g.prototype.get=T,g.prototype.has=w,g.prototype.set=C;var se=k(function(e){var t=[];return N(e).replace(Y,function(e,n,r,o){t.push(r?o.replace(q,"$1"):n||e)}),t});k.Cache=g,e.exports=se}).call(t,n(99)(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)&&g.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,f=r(c&&d&&"object"==typeof n&&n),m=r(l[typeof self]&&self),p=r(l[typeof window]&&window),h=r(l[typeof this]&&this),y=f||p!==(h&&h.window)&&p||m||h||Function("return this")(),v=Object.prototype,g=v.toString,_=y.Symbol,b=_?_.prototype:void 0,T=b?b.toString:void 0;e.exports=o}).call(t,n(99)(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=P(e)||u(e)?n(e.length,String):[],o=r.length,a=!!o;for(var s in e)!t&&!w.call(e,s)||a&&("length"==s||i(s,o))||r.push(s);return r}function o(e){if(!m(e))return s(e);var t=a(e),n=[];for(var r in e)("constructor"!=r||!t&&w.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)&&w.call(e,"callee")&&(!M.call(e,"callee")||C.call(e)==v)}function l(e){return null!=e&&f(e.length)&&!d(e)}function c(e){return p(e)&&l(e)}function d(e){var t=m(e)?C.call(e):"";return t==g||t==_}function f(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function m(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,v="[object Arguments]",g="[object Function]",_="[object GeneratorFunction]",b=/^(?:0|[1-9]\d*)$/,T=Object.prototype,w=T.hasOwnProperty,C=T.toString,M=T.propertyIsEnumerable,P=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 f(){this.__data__=[]}function m(e){var t=this.__data__,n=D(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=D(t,e);return n<0?void 0:t[n][1]}function h(e){return D(this.__data__,e)>-1}function y(e,t){var n=this.__data__,r=D(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 g(){this.__data__={hash:new i,map:new(Ve||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 w(e,t){return F(this,e).set(e,t),this}function C(e){this.__data__=new d(e)}function M(){this.__data__=new d}function P(e){return this.__data__.delete(e)}function E(e){return this.__data__.get(e)}function S(e){return this.__data__.has(e)}function O(e,t){var n=this.__data__;return n instanceof d&&n.__data__.length==ae&&(n=this.__data__=new v(n.__data__)),n.set(e,t),this}function k(e,t,n){(void 0===n||B(e[t],n))&&("number"!=typeof t||void 0!==n||t in e)||(e[t]=n)}function x(e,t,n){var r=e[t];We.call(e,t)&&B(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function D(e,t){for(var n=e.length;n--;)if(B(e[n][0],t))return n;return-1}function A(e,t,n,o,i){if(e!==t){if(!$e(t)&&!X(t))var a=re(t);r(a||t,function(r,s){if(a&&(s=r,r=t[s]),Z(r))i||(i=new C),I(e,t,s,n,A,o,i);else{var u=o?o(e[s],r,s+"",e,t,i):void 0;void 0===u&&(u=r),k(e,s,u)}})}}function I(e,t,n,r,o,i,a){var s=e[n],u=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;d&&(c=u,$e(u)||X(u)?$e(s)?c=s:G(s)?c=L(s):(d=!1,c=te(u,!0)):ne(u)||H(u)?H(s)?c=ee(s):!Z(s)||r&&K(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),k(e,n,c)}function N(e){return function(t){return null==t?void 0:t[e]}}function L(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function j(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];x(n,a,s)}return n}function R(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 q(t)?n["string"==typeof t?"string":"hash"]:n.map}function U(e,t){var n=e[t];return Q(n)?n:void 0}function Y(e,t){return t=null==t?ue:t,!!t&&("number"==typeof e||je.test(e))&&e>-1&&e%1==0&&e<t}function W(e,t,n){if(!Z(n))return!1;var r=typeof t;return!!("number"==r?V(n)&&Y(t,n.length):"string"==r&&t in n)&&B(n[t],e)}function q(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function z(e){if(null!=e){try{return Ye.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function B(e,t){return e===t||e!==e&&t!==t}function H(e){return G(e)&&We.call(e,"callee")&&(!Be.call(e,"callee")||qe.call(e)==le)}function V(e){return null!=e&&$(Ke(e))&&!K(e)}function G(e){return J(e)&&V(e)}function K(e){var t=Z(e)?qe.call(e):"";return t==pe||t==he}function $(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ue}function Z(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function J(e){return!!e&&"object"==typeof e}function Q(e){if(!Z(e))return!1;var t=K(e)||o(e)?ze:Le;return t.test(z(e))}function X(e){return J(e)&&$(e.length)&&!!Re[qe.call(e)]}function ee(e){return j(e,re(e))}var te=n(104),ne=n(105),re=n(106),oe=n(107),ie=n(108),ae=200,se="__lodash_hash_undefined__",ue=9007199254740991,le="[object Arguments]",ce="[object Array]",de="[object Boolean]",fe="[object Date]",me="[object Error]",pe="[object Function]",he="[object GeneratorFunction]",ye="[object Map]",ve="[object Number]",ge="[object Object]",_e="[object RegExp]",be="[object Set]",Te="[object String]",we="[object WeakMap]",Ce="[object ArrayBuffer]",Me="[object DataView]",Pe="[object Float32Array]",Ee="[object Float64Array]",Se="[object Int8Array]",Oe="[object Int16Array]",ke="[object Int32Array]",xe="[object Uint8Array]",De="[object Uint8ClampedArray]",Ae="[object Uint16Array]",Ie="[object Uint32Array]",Ne=/[\\^$.*+?()[\]{}|]/g,Le=/^\[object .+?Constructor\]$/,je=/^(?:0|[1-9]\d*)$/,Re={};Re[Pe]=Re[Ee]=Re[Se]=Re[Oe]=Re[ke]=Re[xe]=Re[De]=Re[Ae]=Re[Ie]=!0,Re[le]=Re[ce]=Re[Ce]=Re[de]=Re[Me]=Re[fe]=Re[me]=Re[pe]=Re[ye]=Re[ve]=Re[ge]=Re[_e]=Re[be]=Re[Te]=Re[we]=!1;var Fe=Array.prototype,Ue=Object.prototype,Ye=Function.prototype.toString,We=Ue.hasOwnProperty,qe=Ue.toString,ze=RegExp("^"+Ye.call(We).replace(Ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=Ue.propertyIsEnumerable,He=Fe.splice,Ve=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=f,d.prototype.delete=m,d.prototype.get=p,d.prototype.has=h,d.prototype.set=y,v.prototype.clear=g,v.prototype.delete=_,v.prototype.get=b,v.prototype.has=T,v.prototype.set=w,C.prototype.clear=M,C.prototype.delete=P,C.prototype.get=E,C.prototype.has=S,C.prototype.set=O;var Ke=N("length"),$e=Array.isArray,Ze=R(function(e,t,n){A(e,t,n)});e.exports=Ze},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 f(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}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 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===xe?void 0:n}return wt.call(t,e)?t[e]:void 0}function v(e){var t=this.__data__;return Ut?void 0!==t[e]:wt.call(t,e)}function g(e,t){var n=this.__data__;return n[e]=Ut&&void 0===t?xe: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():Dt.call(t,n,1),!0}function w(e){var t=this.__data__,n=F(t,e);return n<0?void 0:t[n][1]}function C(e){return F(this.__data__,e)>-1}function M(e,t){var n=this.__data__,r=F(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function P(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 E(){this.__data__={hash:new m,map:new(Lt||_),string:new m}}function S(e){return oe(this,e).delete(e)}function O(e){return oe(this,e).get(e)}function k(e){return oe(this,e).has(e)}function x(e,t){return oe(this,e).set(e,t),this}function D(e){this.__data__=new _(e)}function A(){this.__data__=new _}function I(e){return this.__data__.delete(e)}function N(e){return this.__data__.get(e)}function L(e){return this.__data__.has(e)}function j(e,t){var n=this.__data__;return n instanceof _&&n.__data__.length==ke&&(n=this.__data__=new P(n.__data__)),n.set(e,t),this}function R(e,t,n){var r=e[t];wt.call(e,t)&&ve(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function F(e,t){for(var n=e.length;n--;)if(ve(e[n][0],t))return n;return-1}function U(e,t){return e&&te(t,Se(t),e)}function Y(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(!Ce(e))return e;var l=Kt(e);if(l){if(u=le(e),!t)return ee(e,u)}else{var d=ue(e),f=d==Re||d==Fe;if($t(e))return V(e,t);if(d==We||d==Ae||f&&!a){if(c(e))return a?e:{};if(u=ce(f?{}:e),!t)return ne(e,U(u,e))}else{if(!lt[d])return a?e:{};u=de(e,d,Y,t)}}s||(s=new D);var m=s.get(e);if(m)return m;if(s.set(e,u),!l)var p=n?re(e):Se(e);return i(p||e,function(o,i){p&&(i=o,o=e[i]),R(u,i,Y(o,t,n,r,i,e,s))}),u}function W(e){return Ce(e)?kt(e):{}}function q(e,t,n){var r=t(e);return Kt(e)?r:a(r,n(e))}function z(e,t){return wt.call(e,t)||"object"==typeof e&&t in e&&null===ae(e)}function B(e){return It(Object(e))}function H(e){return function(t){return null==t?void 0:t[e]}}function V(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 St(t).set(new St(e)),t}function K(e,t){var n=t?G(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function $(e,t,n){var o=t?n(d(e),!0):d(e);return s(o,r,new e.constructor)}function Z(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(f(e),!0):f(e);return s(r,o,new e.constructor)}function Q(e){return Vt?Object(Vt.call(e)):{}}function X(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];R(n,a,s)}return n}function ne(e,t){return te(e,se(e),t)}function re(e){return q(e,Se,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 Pe(n)?n:void 0}function ae(e){return At(Object(e))}function se(e){return Ot(Object(e))}function ue(e){return Ct.call(e)}function le(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&wt.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 Ke:return G(e);case Ne:case Le:return new o(+e);case $e:return K(e,r);case Ze:case Je:case Qe:case Xe:case et:case tt:case nt:case rt:case ot:return X(e,r);case Ue:return $(e,r,n);case Ye:case He:return new o(e);case ze:return Z(e);case Be:return J(e,r,n);case Ve:return Q(e)}}function fe(e){var t=e?e.length:void 0;return we(t)&&(Kt(e)||Ee(e)||ge(e))?u(t,String):null}function me(e,t){return t=null==t?De: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 ve(e,t){return e===t||e!==e&&t!==t}function ge(e){return be(e)&&wt.call(e,"callee")&&(!xt.call(e,"callee")||Ct.call(e)==Ae)}function _e(e){return null!=e&&we(Gt(e))&&!Te(e)}function be(e){return Me(e)&&_e(e)}function Te(e){var t=Ce(e)?Ct.call(e):"";return t==Re||t==Fe}function we(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=De}function Ce(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Me(e){return!!e&&"object"==typeof e}function Pe(e){if(!Ce(e))return!1;var t=Te(e)||c(e)?Mt:st;return t.test(ye(e))}function Ee(e){return"string"==typeof e||!Kt(e)&&Me(e)&&Ct.call(e)==He}function Se(e){var t=he(e);if(!t&&!_e(e))return B(e);var n=fe(e),r=!!n,o=n||[],i=o.length;for(var a in e)!z(e,a)||r&&("length"==a||me(a,i))||t&&"constructor"==a||o.push(a);return o}function Oe(e){return function(){return e}}var ke=200,xe="__lodash_hash_undefined__",De=9007199254740991,Ae="[object Arguments]",Ie="[object Array]",Ne="[object Boolean]",Le="[object Date]",je="[object Error]",Re="[object Function]",Fe="[object GeneratorFunction]",Ue="[object Map]",Ye="[object Number]",We="[object Object]",qe="[object Promise]",ze="[object RegExp]",Be="[object Set]",He="[object String]",Ve="[object Symbol]",Ge="[object WeakMap]",Ke="[object ArrayBuffer]",$e="[object DataView]",Ze="[object Float32Array]",Je="[object Float64Array]",Qe="[object Int8Array]",Xe="[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[Ae]=lt[Ie]=lt[Ke]=lt[$e]=lt[Ne]=lt[Le]=lt[Ze]=lt[Je]=lt[Qe]=lt[Xe]=lt[et]=lt[Ue]=lt[Ye]=lt[We]=lt[ze]=lt[Be]=lt[He]=lt[Ve]=lt[tt]=lt[nt]=lt[rt]=lt[ot]=!0,lt[je]=lt[Re]=lt[Ge]=!1;var ct={function:!0,object:!0},dt=ct[typeof t]&&t&&!t.nodeType?t:void 0,ft=ct[typeof e]&&e&&!e.nodeType?e:void 0,mt=ft&&ft.exports===dt?dt:void 0,pt=l(dt&&ft&&"object"==typeof n&&n),ht=l(ct[typeof self]&&self),yt=l(ct[typeof window]&&window),vt=l(ct[typeof this]&&this),gt=pt||yt!==(vt&&vt.window)&&yt||ht||vt||Function("return this")(),_t=Array.prototype,bt=Object.prototype,Tt=Function.prototype.toString,wt=bt.hasOwnProperty,Ct=bt.toString,Mt=RegExp("^"+Tt.call(wt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pt=mt?gt.Buffer:void 0,Et=gt.Symbol,St=gt.Uint8Array,Ot=Object.getOwnPropertySymbols,kt=Object.create,xt=bt.propertyIsEnumerable,Dt=_t.splice,At=Object.getPrototypeOf,It=Object.keys,Nt=ie(gt,"DataView"),Lt=ie(gt,"Map"),jt=ie(gt,"Promise"),Rt=ie(gt,"Set"),Ft=ie(gt,"WeakMap"),Ut=ie(Object,"create"),Yt=ye(Nt),Wt=ye(Lt),qt=ye(jt),zt=ye(Rt),Bt=ye(Ft),Ht=Et?Et.prototype:void 0,Vt=Ht?Ht.valueOf:void 0;m.prototype.clear=p,m.prototype.delete=h,m.prototype.get=y,m.prototype.has=v,m.prototype.set=g,_.prototype.clear=b,_.prototype.delete=T,_.prototype.get=w,_.prototype.has=C,_.prototype.set=M,P.prototype.clear=E,P.prototype.delete=S,P.prototype.get=O,P.prototype.has=k,P.prototype.set=x,D.prototype.clear=A,D.prototype.delete=I,D.prototype.get=N,D.prototype.has=L,D.prototype.set=j;var Gt=H("length");Ot||(se=function(){return[]}),(Nt&&ue(new Nt(new ArrayBuffer(1)))!=$e||Lt&&ue(new Lt)!=Ue||jt&&ue(jt.resolve())!=qe||Rt&&ue(new Rt)!=Be||Ft&&ue(new Ft)!=Ge)&&(ue=function(e){var t=Ct.call(e),n=t==We?e.constructor:void 0,r=n?ye(n):void 0;if(r)switch(r){case Yt:return $e;case Wt:return Ue;case qt:return qe;case zt:return Be;case Bt:return Ge}return t});var Kt=Array.isArray,$t=Pt?function(e){return e instanceof Pt}:Oe(!1);e.exports=Y}).call(t,n(99)(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)||f.call(e)!=a||n(e))return!1;var t=m(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),f=u.toString,m=r(Object.getPrototypeOf,Object);e.exports=i},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=P(e)||u(e)?n(e.length,String):[],o=r.length,a=!!o;for(var s in e)!t&&!w.call(e,s)||a&&("length"==s||i(s,o))||r.push(s); return r}function o(e){if(!m(e))return s(e);var t=a(e),n=[];for(var r in e)("constructor"!=r||!t&&w.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)&&w.call(e,"callee")&&(!M.call(e,"callee")||C.call(e)==v)}function l(e){return null!=e&&f(e.length)&&!d(e)}function c(e){return p(e)&&l(e)}function d(e){var t=m(e)?C.call(e):"";return t==g||t==_}function f(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function m(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,v="[object Arguments]",g="[object Function]",_="[object GeneratorFunction]",b=/^(?:0|[1-9]\d*)$/,T=Object.prototype,w=T.hasOwnProperty,C=T.toString,M=T.propertyIsEnumerable,P=Array.isArray;e.exports=h},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=C(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=C(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)&&w.call(e)==h}function u(e){if(!e)return 0===e?e:0;if(e=c(e),e===f||e===-f){var t=e<0?-1:1;return t*m}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=g.test(e);return n||_.test(e)?b(e.slice(2),n?2:8):v.test(e)?p:+e}var d="Expected a function",f=1/0,m=1.7976931348623157e308,p=NaN,h="[object Symbol]",y=/^\s+|\s+$/g,v=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,_=/^0o[0-7]+$/i,b=parseInt,T=Object.prototype,w=T.toString,C=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(99)(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,M=t,g=e.apply(r,n)}function i(e){return M=e,_=setTimeout(c,t),P?r(e):g}function a(e){var n=e-b,r=e-M,o=t-n;return E?w(o,v-r):o}function l(e){var n=e-b,r=e-M;return void 0===b||n>=t||n<0||E&&r>=v}function c(){var e=C();return l(e)?d(e):void(_=setTimeout(c,a(e)))}function d(e){return _=void 0,S&&h?r(e):(h=y=void 0,g)}function f(){void 0!==_&&clearTimeout(_),M=0,h=b=y=_=void 0}function m(){return void 0===_?g:d(C())}function p(){var e=C(),n=l(e);if(h=arguments,y=this,b=e,n){if(void 0===_)return i(b);if(E)return _=setTimeout(c,t),r(b)}return void 0===_&&(_=setTimeout(c,t)),g}var h,y,v,g,_,b,M=0,P=!1,E=!1,S=!0;if("function"!=typeof e)throw new TypeError(u);return t=s(t)||0,o(n)&&(P=!!n.leading,E="maxWait"in n,v=E?T(s(n.maxWait)||0,t):v,S="trailing"in n?!!n.trailing:S),p.cancel=f,p.flush=m,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=m.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):f.test(e)?l:+e}var u="Expected a function",l=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,y="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,g=y||v||Function("return this")(),_=Object.prototype,b=_.toString,T=Math.max,w=Math.min,C=function(){return g.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(111),i=r(o),a=n(2),s=r(a),u=n(114),l=r(u),c=n(41),d=r(c),f=n(46),m=r(f),p=n(47),h=r(p),y=n(51),v=r(y),g=n(84),_=r(g);n(94);var b=n(137),T=r(b),w=n(92),C=r(w),M=n(138),P=r(M),E=n(139),S=n(148),O=n(172),k=n(235),x=n(169),D=n(191),A=r(D),I=n(192),N=n(173),L=r(N),j=n(220),R=n(176),F=n(237),U=n(238),Y=r(U),W=n(240),q=r(W),z=n(177),B=function(e){function t(e){(0,m.default)(this,t);var n=(0,v.default)(this,(t.__proto__||(0,d.default)(t)).call(this,e));n.state={idctaData:{},errorMessage:null,personalisationDetails:{enabled:!1},isPageLoading:!0,noJS:!0},(0,O.setEnv)(e.commentsData.body.env),(0,k.addModeSupport)({mode:e.mode,component:n});var r=T.default.selfTransitiveThenUpdate("messages-default",n);return n.messagesServiceInstance=Y.default.use(r),n.featureToggles=(0,z.setupFeatureToggles)(e.toggleOverrides),n}return(0,_.default)(t,e),(0,h.default)(t,[{key:"isForumClosed",value:function(){return this.props.commentsData.body.isClosed}},{key:"isForumOpen",value:function(){return!this.isForumClosed()}},{key:"setErrorMessage",value:function(e){var t=(0,j.getMessageKeyForError)(e),n=this.messagesServiceInstance.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(R.ErrorTypes.IDCTA_FAILED)}},{key:"hasIdctaCss",value:function(){return Array.isArray(this.state.idctaCss)&&this.state.idctaCss.length>0}},{key:"shouldUseCloudIdcta",value:function(){return this.featureToggles.isFeatureEnabled(z.FeaturesToggles.useCloudIdcta)}},{key:"fetchIdctaInfo",value:function(){var e=this,t=this.props,n=t.idctaEnv,r=t.signInContext,o=this.props.commentsData.body.idcta.policy,i=this.isIdAvailable(),a=this.shouldUseCloudIdcta();return L.default.getIdctaInfo({idctaEnv:n,policy:o,signInContext:r,shouldCallIdcta:i,useCloudIdcta:a}).then(function(t){return e.setState({idctaData:t,personalisationDetails:{enabled:e.isIdAvailable()}})}).catch(function(){return e.onIdctaError()})}},{key:"setupModeAndStylesOnBrowser",value:function(){var e=this,t=this.shouldUseCloudIdcta();return(0,k.addModeSupportOnBrowser)(this.props,t).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,l.default)(i.default.mark(function e(){var t,n,r,o,a,u,l;return i.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,a=this.shouldUseCloudIdcta(),e.next=5,q.default.getPersonalisationDetails({apiKey:n,forumData:o,forumId:r},a);case 5:u=e.sent,l=(0,s.default)({},this.state.personalisationDetails,u),this.setState({personalisationDetails:l});case 8:case"end":return e.stop()}},e,this)}));return e}()},{key:"initialiseIStats",value:function(){A.default.initialiseCommonLabels({service:"morph-comments-view",forum_uid:this.props.forumId})}},{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=(0,l.default)(i.default.mark(function e(){var t,n,r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({noJS:!1}),A.default.logLoadEvent(I.ISTATS_ACTIONS.CommentsLoad,{ns_type:"hidden"}),e.next=4,this.setupModeAndStylesOnBrowser();case 4:return this.initialiseIStats(),e.next=7,this.fetchIdctaInfo();case 7:if(t=this.state.idctaData,n=t&&t.signedIn===!0,r=Boolean(t.policyCheck)===!1,!n){e.next=18;break}if(!(0,x.not)(this.isIdAvailable())){e.next=15;break}this.setErrorMessage(R.ErrorTypes.ID_UNAVAILABLE),e.next=18;break;case 15:if(!r){e.next=18;break}return e.next=18,this.fetchPersonalisationDetails();case 18:this.setPageLoadingComplete();case 19:case"end":return e.stop()}},e,this)}));return e}()},{key:"getChildContext",value:function(){return{formatMessage:this.messagesServiceInstance.formatMessage,apiKey:this.props.apiKey,forumId:this.props.forumId,isFeatureEnabled:this.featureToggles.isFeatureEnabled}}},{key:"render",value:function(){var e=this.props.commentsAggregator.body,t=e.forumData,n=e.loadedComments,r=this.props.setDataParams,o=parseInt(this.props.pageSize,10)||F.PAGE_SIZE;return C.default.createElement("div",{className:(0,P.default)({"comments--loading":this.state.isPageLoading,"comments--no-js":this.state.noJS})},C.default.createElement(E.CommentsModule,{requestToLoadMoreComments:r,forumData:t,loadedComments:n,idctaData:this.state.idctaData,personalisationDetails:this.state.personalisationDetails,errorMessage:this.state.errorMessage,pageSize:o}),this.hasIdctaCss()&&C.default.createElement(S.Stylesheets,{stylesheets:this.state.idctaCss}))}}]),t}(w.Component);B.displayName="CommentsBootstrap",B.propTypes={styleguide:w.PropTypes.string,idctaEnv:w.PropTypes.string,signInContext:w.PropTypes.string,mode:w.PropTypes.string,commentsData:w.PropTypes.object.isRequired,commentsAggregator:w.PropTypes.object.isRequired,idAvailabilityData:w.PropTypes.object.isRequired,forumId:w.PropTypes.string.isRequired,setDataParams:w.PropTypes.func.isRequired,apiKey:w.PropTypes.string.isRequired,pageSize:w.PropTypes.string,toggleOverrides:w.PropTypes.string},B.defaultProps={mode:k.MODE_STANDALONE},B.childContextTypes={formatMessage:w.PropTypes.func.isRequired,apiKey:w.PropTypes.string.isRequired,forumId:w.PropTypes.string.isRequired,isFeatureEnabled:w.PropTypes.func.isRequired},t.CommentsBootstrap=B},function(e,t,n){e.exports=n(112)},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(113),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 m(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&&g.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=P;return function(i,a){if(o===S)throw new Error("Generator is already running");if(o===O){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===k)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===P)throw o=O,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=S;var l=r(e,t,n);if("normal"===l.type){if(o=n.done?O:E,l.arg===k)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=O,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 k;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return k}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,k;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,k):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,k)}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 f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function m(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(g.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,v=Object.prototype,g=v.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",T=_.asyncIterator||"@@asyncIterator",w=_.toStringTag||"@@toStringTag",C="object"==typeof e,M=t.regeneratorRuntime;if(M)return void(C&&(e.exports=M));M=t.regeneratorRuntime=C?e.exports:{},M.wrap=n;var P="suspendedStart",E="suspendedYield",S="executing",O="completed",k={},x={};x[b]=function(){return this};var D=Object.getPrototypeOf,A=D&&D(D(p([])));A&&A!==v&&g.call(A,b)&&(x=A);var I=a.prototype=o.prototype=Object.create(x);i.prototype=I.constructor=a,a.constructor=i,a[w]=i.displayName="GeneratorFunction",M.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},M.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(I),e},M.awrap=function(e){return{__await:e}},s(u.prototype),u.prototype[T]=function(){return this},M.AsyncIterator=u,M.async=function(e,t,r,o){var i=new u(n(e,t,r,o));return M.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(I),I[w]="Generator",I[b]=function(){return this},I.toString=function(){return"[object Generator]"},M.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}},M.values=p,m.prototype={constructor:m,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(f),!e)for(var t in this)"t"===t.charAt(0)&&g.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=g.call(o,"catchLoc"),s=g.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&&g.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,k):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),k},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),f(n),k}},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;f(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),k}}}(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(115),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(116),__esModule:!0}},function(e,t,n){n(81),n(55),n(66),n(117),n(135),n(136),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(118),d=n(6),f=n(14),m=n(10),p=n(119),h=n(120),y=n(124),v=n(125).set,g=n(127)(),_=n(128),b=n(129),T=n(130),w=n(131),C="Promise",M=u.TypeError,P=u.process,E=P&&P.versions,S=E&&E.v8||"",O=u[C],k="process"==c(P),x=function(){},D=o=_.f,A=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[n(65)("species")]=function(e){e(x,x)};return(k||"function"==typeof PromiseRejectionEvent)&&e.then(x)instanceof t&&0!==S.indexOf("6.6")&&T.indexOf("Chrome/66")===-1}catch(e){}}(),I=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},N=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(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&&R(e),e._h=1),s===!0?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?l(M("Promise-chain cycle")):(i=I(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&&L(e)})}},L=function(e){v.call(u,function(){var t,n,r,o=e._v,i=j(e);if(i&&(t=b(function(){k?P.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=k||j(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(e){v.call(u,function(){var t;k?P.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()),N(t,!0))},U=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw M("Promise can't be resolved itself");(t=I(e))?g(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,N(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};A||(O=function(e){p(this,O,C,"_h"),m(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(132)(O.prototype,{then:function(e,t){var n=D(y(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=k?P.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(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=D=function(e){return e===O||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!A,{Promise:O}),n(64)(O,C),n(133)(C),a=n(8)[C],d(d.S+d.F*!A,C,{reject:function(e){var t=D(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!A),C,{resolve:function(e){return w(s&&this===a?O:this,e)}}),d(d.S+d.F*!(A&&n(134)(function(e){O.all(e).catch(x)})),C,{all:function(e){var t=this,n=D(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=D(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(65)("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(121),i=n(122),a=n(13),s=n(30),u=n(123),l={},c={},t=e.exports=function(e,t,n,d,f){var m,p,h,y,v=f?function(){return e}:u(e),g=r(n,d,t?2:1),_=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(i(v)){for(m=s(e.length);m>_;_++)if(y=t?g(a(p=e[_])[0],p[1]):g(e[_]),y===l||y===c)return y}else for(h=v.call(e);!(p=h.next()).done;)if(y=o(h,g,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(59),o=n(65)("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(118),o=n(65)("iterator"),i=n(59);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(65)("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(126),u=n(63),l=n(18),c=n(7),d=c.process,f=c.setImmediate,m=c.clearImmediate,p=c.MessageChannel,h=c.Dispatch,y=0,v={},g="onreadystatechange",_=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){_.call(e.data)};f&&m||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++y]=function(){s("function"==typeof e?e:Function(e),t)},r(y),y},m=function(e){delete v[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=g in l("script")?function(e){u.appendChild(l("script"))[g]=function(){u.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),e.exports={set:f,clear:m}},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(125).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,f=document.createTextNode("");new i(l).observe(f,{characterData:!0}),n=function(){f.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(128);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(65)("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(65)("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(124),s=n(131);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(128),i=n(129);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={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@1.69.0",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@1.69.0",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@1.69.0",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@1.69.0",e,t,!0)}}},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(140),i=r(o),a=n(143),s=r(a),u=n(41),l=r(u),c=n(46),d=r(c),f=n(47),m=r(f),p=n(51),h=r(p),y=n(84),v=r(y),g=n(92),_=r(g),b=n(138),T=r(b),w=n(147),C=n(148),M=n(231),P=n(187),E=n(232),S=n(217),O=n(191),k=r(O),x=n(192),D=n(169),A=n(220),I=n(176),N=n(178),L=r(N),j=n(222),R=r(j),F=void 0,U={slowMessageTimeInSeconds:5,errorMessageTimeInSeconds:36},Y=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.state={visibleComments:[],hiddenNewlyPostedComments:[],totalCommentsCountIncludingNewComments:n.getForumData().totalCommentsCount,isWaitingForMoreCommentsToLoad:!1,hasFailedToLoadMoreComments:!1,hasForumClosedRecently:!1},n.loadMoreComments=n.loadMoreComments.bind(n),n.startLoadingMoreCommentsTimer=n.startLoadingMoreCommentsTimer.bind(n),n.stopLoadingMoreCommentsTimer=n.stopLoadingMoreCommentsTimer.bind(n),n.displayNewlyPostedComments=n.displayNewlyPostedComments.bind(n),n}return(0,v.default)(t,e),(0,m.default)(t,[{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:"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:"showCommentsInput",value:function(){return this.isSignedIn()&&Boolean(this.getIdctaData().policyCheck)===!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:"hasMoreComments",value:function(){var e=this.getLoadedCommentsWithoutNewlyPosted().length,t=this.state.visibleComments,n=t[t.length-1];return e>0&&n.index>0}},{key:"getIndexOfLastLoadedComment",value:function(){var e=this.getLoadedComments();return e[e.length-1].index}},{key:"canShowNextPageOfComments",value:function(){var e=0===this.getIndexOfLastLoadedComment(),t=this.getLoadedCommentsWithoutNewlyPosted().length,n=this.state.visibleComments.length+this.getPageSize();return e||t>=n}},{key:"startLoadingMoreCommentsTimer",value:function(){var e=this;this.loadingMoreCommentsTimer=setTimeout(function(){k.default.logLoadEvent(x.ISTATS_ACTIONS.FailedToLoadMoreComments),e.setState({hasFailedToLoadMoreComments:!0,isWaitingForMoreCommentsToLoad:!1})},(0,D.secondsToMillis)(U.errorMessageTimeInSeconds))}},{key:"stopLoadingMoreCommentsTimer",value:function(){this.loadingMoreCommentsTimer&&clearTimeout(this.loadingMoreCommentsTimer)}},{key:"getLoadingMoreCommentsErrorMessage",value:function(){return this.context.formatMessage((0,A.getMessageKeyForError)(I.ErrorTypes.MORE_COMMENTS_FAILED))}},{key:"loadMoreComments",value:function(){k.default.logClickEvent(x.ISTATS_ACTIONS.ShowMoreComments),this.setState({hasFailedToLoadMoreComments:!1}),this.canShowNextPageOfComments()?this.showNextPageOfComments():(k.default.logLoadEvent(x.ISTATS_ACTIONS.LoadingMoreComments),this.setState({isWaitingForMoreCommentsToLoad:!0}),this.startLoadingMoreCommentsTimer()),this.getIndexOfLastLoadedComment()>0&&this.props.requestToLoadMoreComments({nextIndexToLoadFrom:this.getIndexOfLastLoadedComment()})}},{key:"showInitialPageOfComments",value:function(){var e=this.getPageSize(),t=this.getLoadedComments().slice(0,e);this.setState({visibleComments:t,isWaitingForMoreCommentsToLoad:!1}),this.stopLoadingMoreCommentsTimer()}},{key:"showNextPageOfComments",value:function(){var e=this.state.visibleComments.length+this.getPageSize(),t=this.getLoadedCommentsWithoutNewlyPosted().slice(0,e);this.setState({visibleComments:t,isWaitingForMoreCommentsToLoad:!1}),this.stopLoadingMoreCommentsTimer()}},{key:"getLoadedCommentsWithoutNewlyPosted",value:function(){var e=this.getLoadedComments();if(!this.state.visibleComments.length)return e;var t=this.state.visibleComments[0].index;return e.filter(function(e){return e.index<=t})}},{key:"getNewlyPostedComments",value:function(e){if(!this.state.visibleComments.length)return[];var t=this.state.visibleComments[0].index;return e.filter(function(e){return e.index>t})}},{key:"displayNewlyPostedComments",value:function(){k.default.logClickEvent(x.ISTATS_ACTIONS.ShowNewComments),this.setState(function(e){return{totalCommentsCountIncludingNewComments:e.totalCommentsCountIncludingNewComments+e.hiddenNewlyPostedComments.length}}),this.setState({hiddenNewlyPostedComments:[]}),this.showInitialPageOfComments()}},{key:"componentWillMount",value:function(){this.showInitialPageOfComments()}},{key:"componentWillReceiveProps",value:function(e){this.isForumOpen()&&e.forumData.isClosed===!0?this.setState({hasForumClosedRecently:!0 }):this.isForumClosed()&&e.forumData.isClosed===!1&&this.setState({hasForumClosedRecently:!1}),this.setState({hiddenNewlyPostedComments:this.getNewlyPostedComments(e.loadedComments)})}},{key:"componentDidUpdate",value:function(e,t){this.state.isWaitingForMoreCommentsToLoad&&this.canShowNextPageOfComments()&&this.showNextPageOfComments();var n=t.hiddenNewlyPostedComments.length>0,r=0===this.state.hiddenNewlyPostedComments.length;n&&r&&(0,w.scrollToElementTop)(this.commentsBodyAnchor)}},{key:"componentWillUnmount",value:function(){this.stopLoadingMoreCommentsTimer()}},{key:"hasForumClosedRecently",value:function(){return this.state.hasForumClosedRecently}},{key:"render",value:function(){var e=this,t=this.getForumData(),n=t.title,r=t.commentTextLimit,o=t.moderation,i=t.createForum,a=o.rulesPageUrl,s=o.status,u=this.isUserAnEditor()||0===r?F:r,l=(0,M.getForumLinks)(this.props.personalisationDetails);return _.default.createElement("div",{className:(0,T.default)("comments",{"comments--waiting":this.state.isWaitingForMoreCommentsToLoad})},_.default.createElement(C.CommentsHeader,null,_.default.createElement(C.CommentsTitle,null,n),_.default.createElement(C.NoJSMessage,null),this.isForumClosed()&&_.default.createElement("p",{className:"comments__message comments__message--closed-forum"},"This entry is now closed for comments."),this.isPersonalisationEnabled()&&_.default.createElement("div",{className:"comments__user-interactions-container"},this.isForumOpen()&&this.isSignedIn()&&_.default.createElement(P.IdctaSignedInMessage,{markup:this.getIdctaData().signedInMessage}),l.hasLinks&&_.default.createElement(M.ForumLinks,{forumLinks:l}),this.showCommentsInput()&&_.default.createElement(C.CommentsInput,{isDisabled:this.hasForumClosedRecently(),textLimit:u,moderationStatus:s,createForum:i}),this.isForumOpen()&&_.default.createElement("div",null,this.isSignedOut()&&this.hasNoComments()&&_.default.createElement("p",{className:"comments__message comments__message--empty-forum"},"Be the first to comment."),_.default.createElement("p",{className:(0,T.default)("comments-moderation__rules-msg",{"comments-moderation__rules-msg--signed-out":this.isSignedOut()})},"All comments are ",_.default.createElement("a",{className:"comments-moderation__rules-link",href:a},s)," and must follow the ",_.default.createElement("a",{className:"comments-moderation__rules-link1",href:a},"rules"),"."),this.isSignedOut()&&_.default.createElement(P.IdctaSignInButton,{markup:this.getIdctaData().signInButton}))),this.hasError()&&_.default.createElement(C.CommentsAlert,{type:S.AlertTypes.ERROR},this.getErrorMessage())),_.default.createElement(C.CommentsImpressionStat,null),this.hasComments()&&_.default.createElement(E.CommentsTabsContainer,null,_.default.createElement(E.CommentsTab,{title:"View all ("+this.state.totalCommentsCountIncludingNewComments+")"},_.default.createElement("div",{className:"comments-body-anchor",ref:function(t){return e.commentsBodyAnchor=t}}),_.default.createElement("div",{className:"comments__body"},_.default.createElement("div",{className:"comments__show-new-comments-container"},this.state.hiddenNewlyPostedComments.length>0&&_.default.createElement(C.ShowNewCommentsButton,{newCommentCount:this.state.hiddenNewlyPostedComments.length,onClick:this.displayNewlyPostedComments})),_.default.createElement(C.CommentsList,{comments:this.state.visibleComments,rulesPageUrl:a,isRatingEnabled:this.isRatingEnabled(),personalisationDetails:this.props.personalisationDetails,idctaData:this.props.idctaData})))),_.default.createElement(C.CommentsFooter,{className:(0,T.default)({"comments__footer--no-comments":(0,D.not)(this.hasComments()),"comments__footer--closed-forum":this.isForumClosed()})},this.state.hasFailedToLoadMoreComments&&_.default.createElement(C.CommentsAlert,{type:S.AlertTypes.ERROR},this.getLoadingMoreCommentsErrorMessage()),this.hasMoreComments()&&(0,D.not)(this.state.isWaitingForMoreCommentsToLoad)&&_.default.createElement(C.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:this.loadMoreComments,rel:"next"},"More comments"),this.state.isWaitingForMoreCommentsToLoad&&_.default.createElement(C.CommentsLoading,{slowMessageTimerInSeconds:U.slowMessageTimeInSeconds}),this.isForumOpen()&&this.isPersonalisationEnabled()&&this.hasComments()&&_.default.createElement("div",null,this.isSignedIn()&&_.default.createElement("div",null,_.default.createElement(P.IdctaSignedInMessage,{markup:this.getIdctaData().signedInMessage}),_.default.createElement("p",{className:"comments__add-comment-link"},_.default.createElement("a",{href:"#"+this.props.containerId},"Add your comment"))),this.isSignedOut()&&_.default.createElement(P.IdctaSignInButton,{markup:this.getIdctaData().signInButton}))))}}]),t}(g.Component);Y.displayName="CommentsModule",Y.defaultProps={containerId:"comments",errorMessage:null},Y.propTypes={idctaData:g.PropTypes.object,errorMessage:g.PropTypes.string,personalisationDetails:g.PropTypes.shape({enabled:g.PropTypes.bool.isRequired,userId:g.PropTypes.number,displayNameModerationStatus:g.PropTypes.oneOf((0,s.default)(L.default)),displayNameModerationMessage:g.PropTypes.string,displayNameModerationUrl:g.PropTypes.string,isEditor:g.PropTypes.bool,forumAdminLinks:g.PropTypes.shape({administerCommentsForum:g.PropTypes.shape({url:g.PropTypes.string.isRequired})})}),forumData:g.PropTypes.shape({title:g.PropTypes.string.isRequired,totalCommentsCount:g.PropTypes.number.isRequired,commentTextLimit:g.PropTypes.number.isRequired,moderation:g.PropTypes.shape({rulesPageUrl:g.PropTypes.string.isRequired,status:g.PropTypes.oneOf((0,i.default)(R.default)).isRquired}),createForum:g.PropTypes.bool.isRequired,isClosed:g.PropTypes.bool.isRequired}).isRequired,loadedComments:g.PropTypes.array.isRequired,containerId:g.PropTypes.string,requestToLoadMoreComments:g.PropTypes.func.isRequired,pageSize:g.PropTypes.number.isRequired},Y.contextTypes={formatMessage:g.PropTypes.func.isRequired},t.CommentsModule=Y},function(e,t,n){e.exports={default:n(141),__esModule:!0}},function(e,t,n){n(142),e.exports=n(8).Object.keys},function(e,t,n){var r=n(40),o=n(23);n(45)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){e.exports={default:n(144),__esModule:!0}},function(e,t,n){n(145),e.exports=n(8).Object.values},function(e,t,n){var r=n(6),o=n(146)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(23),o=n(25),i=n(39).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),u=s.length,l=0,c=[];u>l;)i.call(a,n=s[l++])&&c.push(e?[n,a[n]]:a[n]);return c}}},function(e,t){"use strict";function n(){return document.documentElement.clientWidth}function r(e){e&&e.scrollIntoView()}Object.defineProperty(t,"__esModule",{value:!0}),t.getViewportWidth=n,t.scrollToElementTop=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yText=t.ShowNewCommentsButton=t.CommentRatingContainer=t.NoJSMessage=t.Tooltip=t.TooltipLauncher=t.CommentsLoading=t.CommentsImpressionStat=t.PositiveCommentRating=t.CommentsAlert=t.CommentsFooter=t.CommentsTextLimit=t.IdctaSignedInMessage=t.IdctaSignInButton=t.CommentsList=t.Comment=t.CommentsInput=t.CommentsButton=t.PostedDate=t.Username=t.CommentsTitle=t.CommentsHeader=t.Stylesheets=void 0;var o=n(92),i=r(o),a=n(138),s=r(a),u=n(149),l=n(194),c=n(161),d=n(150),f=n(211),m=n(212),p=n(223),h=n(217),y=n(184),v=n(224),g=n(187),_=n(225),b=n(228),T=n(229),w=n(180),C=n(181),M=n(230),P=n(179),E=n(164),S=function(e){var t=e.children;return i.default.createElement("div",{className:"comments__header"},t)};S.displayName="CommentsHeader",S.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var O=function(e){var t=e.children;return i.default.createElement("h3",{className:"comments__title"},t)};O.displayName="CommentsTitle",O.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var k=function(e){var t=e.children,n=e.className;return i.default.createElement("div",{className:(0,s.default)("comments__footer",n)},t)};k.displayName="CommentsFooter",k.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string},t.Stylesheets=v.Stylesheets,t.CommentsHeader=S,t.CommentsTitle=O,t.Username=c.Username,t.PostedDate=d.PostedDate,t.CommentsButton=f.CommentsButton,t.CommentsInput=m.CommentsInput,t.Comment=u.Comment,t.CommentsList=l.CommentsList,t.IdctaSignInButton=g.IdctaSignInButton,t.IdctaSignedInMessage=g.IdctaSignedInMessage,t.CommentsTextLimit=p.CommentsTextLimit,t.CommentsFooter=k,t.CommentsAlert=h.CommentsAlert,t.PositiveCommentRating=y.PositiveCommentRating,t.CommentsImpressionStat=_.CommentsImpressionStat,t.CommentsLoading=T.CommentsLoading,t.TooltipLauncher=w.TooltipLauncher,t.Tooltip=C.Tooltip,t.NoJSMessage=M.NoJSMessage,t.CommentRatingContainer=P.CommentRatingContainer,t.ShowNewCommentsButton=b.ShowNewCommentsButton,t.A11yText=E.A11yText},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(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),f=n(84),m=r(f),p=n(92),h=r(p),y=n(138),v=r(y),g=n(150),_=n(161),b=n(162),T=n(165),w=r(T),C=n(178),M=r(C),P=n(179),E=n(177),S=n(193),O=t.CommentText=function(e){var t=e.commentText;return h.default.createElement("div",{className:"comment__text",dangerouslySetInnerHTML:{__html:t}})};O.displayName="CommentText",O.propTypes={commentText:p.PropTypes.string.isRequired};var k=t.Comment=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,m.default)(t,e),(0,l.default)(t,[{key:"getCommentTextToDisplay",value:function(e){switch(e.status){case w.default.FAIL:return this.context.formatMessage("removedComment",{rulesUrl:this.props.rulesPageUrl});case w.default.REFER:return this.context.formatMessage("referredComment",{rulesUrl:this.props.rulesPageUrl});case w.default.PASS:default:return e.text}}},{key:"render",value:function(){var e=this.props,t=e.commentData,n=e.personalisationDetails,r=n.commentAdminLinks,o=this.context.isFeatureEnabled,i=(0,b.getCommentLinks)({commentData:t,commentAdminLinks:r,isUserAnEditor:this.isUserAnEditor(),isFeatureEnabled:o});return h.default.createElement("div",{id:"comment-"+t.id,className:(0,v.default)("comment",{"comment--notable":t.author.isNotable,"comment--distress":t.isDistressMessage})},h.default.createElement("div",{className:"comment__header"},h.default.createElement("h4",{className:"comment__title"},this.isNotDistressMessage()&&h.default.createElement("span",null,h.default.createElement("span",{className:"comment__hidden-text"},"Comment number "),h.default.createElement("span",{className:"comment__index"},t.index+1,". ")),h.default.createElement("span",{className:"comment__hidden-text"},"Posted by "),h.default.createElement(_.Username,{className:"comment__username"},t.author.displayName)),this.shouldShowDisplayNameModerationWarning(t)&&h.default.createElement("a",{className:"comment__display-name-moderation-warning",href:n.displayNameModerationUrl},n.displayNameModerationMessage),h.default.createElement(g.PostedDate,{className:"comment__posted-date",timestamp:t.dateCreated})),h.default.createElement("div",{className:"comment__body"},h.default.createElement(O,{commentText:this.getCommentTextToDisplay(t)})),h.default.createElement(S.CommentFooter,null,i.hasLinks&&h.default.createElement(b.CommentLinks,{commentLinks:i,commentNumber:t.index+1,authorDisplayName:t.author.displayName}),this.canRateComment()&&h.default.createElement("div",{className:"comment__ratings"},h.default.createElement(P.CommentRatingContainer,{idctaData:this.props.idctaData,isRatingEnabled:this.props.isRatingEnabled,commentData:this.props.commentData}))))}},{key:"isNotDistressMessage",value:function(){return!this.props.commentData.isDistressMessage}},{key:"commentPassedModeration",value:function(){return this.props.commentData.status===w.default.PASS}},{key:"isNormalComment",value:function(){var e=!this.props.commentData.author.isNotable;return e&&this.isNotDistressMessage()}},{key:"canRateComment",value:function(){return this.isRatingsFeatureEnabled()&&this.commentPassedModeration()&&this.isNormalComment()}},{key:"isUserAnEditor",value:function(){var e=this.props.personalisationDetails;return e.isEditor===!0}},{key:"shouldShowDisplayNameModerationWarning",value:function(e){var t=this.props.personalisationDetails;return t.displayNameModerationStatus===M.default.FAILED_OR_AWAITING&&t.userId===e.author.userId}},{key:"isRatingsFeatureEnabled",value:function(){return this.context.isFeatureEnabled(E.FeaturesToggles.ratings)}}]),t}(p.Component);k.displayName="Comment",k.propTypes={commentData:p.PropTypes.shape({index:p.PropTypes.number,id:p.PropTypes.number,actions:p.PropTypes.shape({reportUrl:p.PropTypes.string.isRequired}),isDistressMessage:p.PropTypes.bool.isRequired,author:p.PropTypes.shape({userId:p.PropTypes.number.isRequired,displayName:p.PropTypes.string.isRequired,isNotable:p.PropTypes.bool.isRequired}).isRequired,dateCreated:p.PropTypes.string.isRequired,text:p.PropTypes.string.isRequired,rating:p.PropTypes.shape({positive:p.PropTypes.number.isRequired}),status:p.PropTypes.oneOf([w.default.FAIL,w.default.PASS,w.default.REFER,w.default.UNKNOWN])}).isRequired,rulesPageUrl:p.PropTypes.string.isRequired,isRatingEnabled:p.PropTypes.bool,personalisationDetails:p.PropTypes.shape({userId: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},k.defaultProps={personalisationDetails:{}},k.contextTypes={formatMessage:p.PropTypes.func.isRequired,isFeatureEnabled: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.PostedDate=void 0;var o=n(151),i=r(o),a=n(41),s=r(a),u=n(46),l=r(u),c=n(47),d=r(c),f=n(51),m=r(f),p=n(84),h=r(p),y=n(92),v=r(y),g=n(138),_=r(g),b=n(158),T=n(160),w=r(T),C=t.PostedDate=function(e){function t(){return(0,l.default)(this,t),(0,m.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,d.default)(t,[{key:"parseTime",value:function(e){var t=(0,b.moment)(e,b.moment.ISO_8601).tz(w.default.defaultTimezone),n=t.format(w.default.postedDateFormat);return[t,n]}},{key:"relativeTime",value:function(e,t){var n=(0,b.moment)();return e.isAfter(n.subtract(1,"minute"))?["",w.default.text.justNow]:e.isAfter(n.startOf("day"))?["",e.fromNow()]:["on",t]}},{key:"render",value:function(){var e=this.parseTime(this.props.timestamp),t=(0,i.default)(e,2),n=t[0],r=t[1],o=this.relativeTime(n,r),a=(0,i.default)(o,2),s=a[0],u=a[1],l=s?s+" "+u:u;return v.default.createElement("div",{"data-time":r,className:(0,_.default)("posted-date",this.props.className),"aria-label":l},u)}}]),t}(y.Component);C.displayName="PostedDate",C.propTypes={timestamp:y.PropTypes.string.isRequired,className:y.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(152),i=r(o),a=n(155),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(153),__esModule:!0}},function(e,t,n){n(66),n(55),e.exports=n(154)},function(e,t,n){var r=n(118),o=n(65)("iterator"),i=n(59);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(156),__esModule:!0}},function(e,t,n){n(66),n(55),e.exports=n(157)},function(e,t,n){var r=n(13),o=n(123);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,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(159),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 f(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 m(e,t){var n,o;for(r(t),n=0;n<t.length;n++)o=t[n],N[o]=N[o]||{},N[o][e]=!0}function p(e){var t,n,r,o=e.length,i={},a=[];for(t=0;t<o;t++){r=N[e[t].offset]||{};for(n in r)r.hasOwnProperty(n)&&(i[n]=!0)}for(t in i)i.hasOwnProperty(t)&&a.push(I[t]);return a}function h(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=I[v(e)];if(t)return t;P("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(f),u.length>0?u[0].zone.name:void 0}function y(e){return k&&!e||(k=h()),k}function v(e){return(e||"").toLowerCase().replace(/\//g,"_")}function g(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=v(n),D[o]=e[t],I[o]=n,m(o,r[2].split(" "))}function _(e,t){e=v(e);var n,r=D[e];return r instanceof s?r:"string"==typeof r?(r=new s(r),D[e]=r,r):A[e]&&t!==_&&(n=_(A[e],_))?(r=D[e]=new s,r._set(n),r.name=I[e],r):null}function b(){var e,t=[];for(e in I)I.hasOwnProperty(e)&&(D[e]||D[A[e]])&&I[e]&&t.push(I[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=v(n[0]),o=v(n[1]),A[r]=o,I[r]=n[0],A[o]=r,I[o]=n[1]}function w(e){g(e.zones),T(e.links),E.dataVersion=e.version}function C(e){return C.didShowError||(C.didShowError=!0,P("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!_(e)}function M(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function P(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function E(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)&&M(i)&&i.add(o.parse(i),"minutes"),i.tz(r),i}function S(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function O(e){return function(){return this._z=null,e.apply(this,arguments)}}var k,x="0.5.14",D={},A={},I={},N={},L=e.version.split("."),j=+L[0],R=+L[1];(j<2||2===j&&R<6)&&P("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&&E.moveAmbiguousForward?t=n:t>r&&E.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 P("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++},E.version=x,E.dataVersion="",E._zones=D,E._links=A,E._names=I,E.add=g,E.link=T,E.load=w,E.zone=_,E.zoneExists=C,E.guess=y,E.names=b,E.Zone=s,E.unpack=a,E.unpackBase60=n,E.needsOffset=M,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1;var F=e.fn;e.tz=E,e.defaultZone=null,e.updateOffset=function(t,n){var r,o=e.defaultZone;void 0===t._z&&(o&&M(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):P("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=S(F.zoneName),F.zoneAbbr=S(F.zoneAbbr),F.utc=O(F.utc),e.tz.setDefault=function(t){return(j<2||2===j&&R<9)&&P("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 Or.apply(null,arguments)}function n(e){Or=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 f(e,t,n,r){return Pt(e,t,n,r,!0).utc()}function m(){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=m()),e._pf}function h(e){if(null==e._isValid){var t=p(e),n=kr.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=f(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}function v(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),xr.length>0)for(n=0;n<xr.length;n++)r=xr[n],o=t[r],a(o)||(e[r]=o);return e}function g(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Dr===!1&&(Dr=!0,t.updateOffset(this),Dr=!1)}function _(e){return e instanceof g||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 w(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 C(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(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)}C(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function P(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Ar[e]||(C(n),Ar[e]=!0)}function E(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){var t,n;for(n in e)t=e[n],E(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 O(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 k(e){null!=e&&this.set(e)}function x(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return E(r)?r.call(t,n):r}function D(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 A(){return this._invalidDate}function I(e){return this._ordinal.replace("%d",e)}function N(e,t,n,r){var o=this._relativeTime[n];return E(o)?o(e,t,n,r):o.replace(/%d/i,e)}function L(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}function j(e,t){var n=e.toLowerCase();Yr[n]=Yr[n+"s"]=Yr[t]=e}function R(e){return"string"==typeof e?Yr[e]||Yr[e.toLowerCase()]:void 0}function F(e){var t,n,r={};for(n in e)c(e,n)&&(t=R(n),t&&(r[t]=e[n]));return r}function U(e,t){Wr[e]=t}function Y(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 q(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 z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,r=e.match(qr);for(t=0,n=r.length;t<n;t++)Hr[r[t]]?r[t]=Hr[r[t]]:r[t]=z(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=E(r[o])?r[o].call(t,e):r[o];return i}}function H(e,t){return e.isValid()?(t=V(t,e.localeData()),Br[t]=Br[t]||B(t),Br[t](e)):e.localeData().invalidDate()}function V(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(zr.lastIndex=0;r>=0&&zr.test(e);)e=e.replace(zr,n),zr.lastIndex=0,r-=1;return e}function G(e,t,n){lo[e]=E(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return c(lo,e)?lo[e](t._strict,t._locale):new RegExp($(e))}function $(e){return Z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,o){return t||n||r||o}))}function Z(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 X(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=R(e),E(this[e])?this[e]():this}function se(e,t){if("object"==typeof e){e=F(e);for(var n=Y(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=R(e),E(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||Co).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[Co.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function fe(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=f([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 me(e,t,n){var r,o,i;if(this._monthsParseExact)return fe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([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 ve(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Eo),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ge(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=So),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=f([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]=Z(r[t]),o[t]=Z(o[t]);for(t=0;t<24;t++)i[t]=Z(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 we(e,t,n){var r=7+t-n,o=(7+Te(e,0,r).getUTCDay()-t)%7;return-o+r-1}function Ce(e,t,n,r,o){var i,a,s=(7+n-r)%7,u=we(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 Me(e,t,n){var r,o,i=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?(o=e.year()-1,r=a+Pe(o,t,n)):a>Pe(e.year(),t,n)?(r=a-Pe(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Pe(e,t,n){var r=we(e,t,n),o=we(e+1,t,n);return(ee(e)-r+o)/7}function Ee(e){return Me(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Oe(){return this._week.doy}function ke(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function xe(e){var t=Me(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function De(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ae(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ie(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 Ne(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Le(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function je(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=f([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 Re(e,t,n){var r,o,i;if(this._weekdaysParseExact)return je.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([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=De(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 Ye(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ae(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")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ao),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qe(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Io),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=No),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Be(){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=f([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]=Z(s[t]),u[t]=Z(u[t]),l[t]=Z(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 Ve(){return this.hours()||24}function Ge(e,t){q(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}function $e(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(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=Xe(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(o,n,!0)>=t-1)break;t--}i++}return null}function Xe(t){var n=null;if(!Uo[t]&&"undefined"!=typeof e&&e&&e.exports)try{n=Lo._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&&(Lo=n)),Lo._abbr}function tt(e,t){if(null!==t){var n=Fo;if(t.abbr=e,null!=Uo[e])P("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 Yo[t.parentLocale]||(Yo[t.parentLocale]=[]),Yo[t.parentLocale].push({name:e,config:t}),null;n=Uo[t.parentLocale]._config}return Uo[e]=new k(O(n,t)),Yo[e]&&Yo[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=Xe(e),null!=r&&(o=r._config),t=O(o,t),n=new k(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 Lo;if(!r(e)){if(t=Xe(e))return t;e=[e]}return Qe(e)}function ot(){return Ir(Uo)}function it(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[mo]<0||n[mo]>11?mo:n[po]<1||n[po]>le(n[fo],n[mo])?po:n[ho]<0||n[ho]>24||24===n[ho]&&(0!==n[yo]||0!==n[vo]||0!==n[go])?ho:n[yo]<0||n[yo]>59?yo:n[vo]<0||n[vo]>59?vo:n[go]<0||n[go]>999?go:-1,p(e)._overflowDayOfYear&&(t<fo||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[mo]&&lt(e),null!=e._dayOfYear&&(i=at(e._a[fo],r[fo]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Te(i,0,e._dayOfYear),e._a[mo]=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[vo]&&0===e._a[go]&&(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[fo],Me(Et(),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=Me(Et(),i,a);n=at(t.gg,e._a[fo],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>Pe(n,i,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Ce(n,r,o,i,a),e._a[fo]=s.year,e._dayOfYear=s.dayOfYear)}function ct(e){var t,n,r,o,i,a,s=e._i,u=Wo.exec(s)||qo.exec(s);if(u){for(p(e).iso=!0,t=0,n=Bo.length;t<n;t++)if(Bo[t][1].exec(u[1])){o=Bo[t][0],r=Bo[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(!zo.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),gt(e)}else e._isValid=!1}function dt(e,t,n,r,o,i){var a=[ft(e),Po.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function ft(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function mt(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function pt(e,t,n){if(e){var r=xo.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 Ko[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(mt(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 vt(e){var n=Vo.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 gt(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=V(e._f,e._locale).match(qr)||[],n=0;n<o.length;n++)i=o[n],r=(s.match(K(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),X(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=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],gt(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 wt(e){var t=new g(it(Ct(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ct(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 g(it(t)):(u(t)?e._d=t:r(n)?bt(e):n?gt(e):Mt(e),h(e)||(e._d=null),e))}function Mt(e){var n=e._i;a(n)?e._d=new Date(t.now()):u(n)?e._d=new Date(n.valueOf()):"string"==typeof n?vt(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 Pt(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,wt(u)}function Et(e,t,n,r){return Pt(e,t,n,r,!1)}function St(e,t){var n,o;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}function Ot(){var e=[].slice.call(arguments,0);return St("isBefore",e)}function kt(){var e=[].slice.call(arguments,0);return St("isAfter",e)}function xt(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 Dt(){return this._isValid}function At(){return Jt(NaN)}function It(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=xt(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 Nt(e){return e instanceof It}function Lt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function jt(e,t){q(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 Rt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match(Xo)||["-",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():Et(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),t.updateOffset(r,!1),r):Et(e).local()}function Ut(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Yt(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=Rt(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 qt(e){return this.utcOffset(0,e)}function zt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ut(this),"m")),this}function Bt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Rt(io,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ht(e){return!!this.isValid()&&(e=e?Et(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Vt(){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(v(e,this),e=Ct(e),e._a){var t=e._isUTC?f(e._a):Et(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Kt(){return!!this.isValid()&&!this._isUTC}function $t(){return!!this.isValid()&&this._isUTC}function Zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Jt(e,t){var n,r,o,i=e,a=null;return Nt(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[vo])*n,ms:T(Lt(1e3*a[go]))*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(Et(i.from),Et(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new It(i),Nt(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 Xt(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=Xt(e,t):(n=Xt(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)||(P(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=Lt(n._days),s=Lt(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||Et(),o=Ft(r,this).startOf("day"),i=t.calendarFormat(this,o)||"sameElse",a=n&&(E(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,Et(r)))}function an(){return new g(this)}function sn(e,t){var n=_(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&(t=R(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:Et(e);return!(!this.isValid()||!n.isValid())&&(t=R(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:Et(e);return!(!this.isValid()||!r.isValid())&&(t=R(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 fn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function mn(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=R(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"):E(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 vn(){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 gn(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()||Et(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bn(e){return this.from(Et(),e)}function Tn(e,t){return this.isValid()&&(_(e)&&e.isValid()||Et(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.to(Et(),e)}function Cn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function Mn(){return this._locale}function Pn(e){switch(e=R(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 En(e){return e=R(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Sn(){return this._d.valueOf()-6e4*(this._offset||0)}function On(){return Math.floor(this.valueOf()/1e3)}function kn(){return new Date(this.valueOf())}function xn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){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 An(){return this.isValid()?this.toISOString():null}function In(){return h(this)}function Nn(){return d({},p(this))}function Ln(){return p(this).overflow}function jn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Rn(e,t){q(0,[e,e.length],0,t)}function Fn(e){return qn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Un(e){return qn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yn(){return Pe(this.year(),1,4)}function Wn(){var e=this.localeData()._week;return Pe(this.year(),e.dow,e.doy)}function qn(e,t,n,r,o){var i;return null==e?Me(this,r,o).year:(i=Pe(e,r,o),t>i&&(t=i),zn.call(this,e,t,n,r,o))}function zn(e,t,n,r,o){var i=Ce(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 Bn(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 Vn(e,t){t[go]=T(1e3*("0."+e))}function Gn(){return this._isUTC?"UTC":""}function Kn(){return this._isUTC?"Coordinated Universal Time":""}function $n(e){return Et(1e3*e)}function Zn(){return Et.apply(null,arguments).parseZone()}function Jn(e){return e}function Qn(e,t,n,r){var o=rt(),i=f().set(r,t);return o[n](i,e)}function Xn(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 Xn(e,t,"months")}function nr(e,t){return Xn(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=fi(this._milliseconds),this._days=fi(this._days),this._months=fi(this._months),e.milliseconds=fi(e.milliseconds),e.seconds=fi(e.seconds),e.minutes=fi(e.minutes),e.hours=fi(e.hours),e.months=fi(e.months),e.years=fi(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(mr(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(fr(a)),s+=o,a-=cr(mr(o)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function fr(e){return 4800*e/146097}function mr(e){return 146097*e/4800}function pr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=R(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+fr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(mr(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 vr(){return Jt(this)}function gr(e){return e=R(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 wr(e,t,n){var r=Jt(e).abs(),o=Oi(r.as("s")),i=Oi(r.as("m")),a=Oi(r.as("h")),s=Oi(r.as("d")),u=Oi(r.as("M")),l=Oi(r.as("y")),c=o<=ki.ss&&["s",o]||o<ki.s&&["ss",o]||i<=1&&["m"]||i<ki.m&&["mm",i]||a<=1&&["h"]||a<ki.h&&["hh",a]||s<=1&&["d"]||s<ki.d&&["dd",s]||u<=1&&["M"]||u<ki.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,Tr.apply(null,c)}function Cr(e){return void 0===e?Oi:"function"==typeof e&&(Oi=e,!0)}function Mr(e,t){return void 0!==ki[e]&&(void 0===t?ki[e]:(ki[e]=t,"s"===e&&(ki.ss=t-1),!0))}function Pr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=wr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Er(e){return(e>0)-(e<0)||+e}function Sr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=xi(this._milliseconds)/1e3,o=xi(this._days),i=xi(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+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var m=f<0?"-":"",p=Er(this._months)!==Er(f)?"-":"",h=Er(this._days)!==Er(f)?"-":"",y=Er(this._milliseconds)!==Er(f)?"-":"";return m+"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 Or,kr;kr=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 xr=t.momentProperties=[],Dr=!1,Ar={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Ir;Ir=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Nr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Lr={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"},jr="Invalid date",Rr="%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"},Yr={},Wr={},qr=/(\[[^\[]*\])|(\\)?([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,zr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Br={},Hr={},Vr=/\d/,Gr=/\d\d/,Kr=/\d{3}/,$r=/\d{4}/,Zr=/[+-]?\d{6}/,Jr=/\d\d?/,Qr=/\d\d\d\d?/,Xr=/\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={},fo=0,mo=1,po=2,ho=3,yo=4,vo=5,go=6,_o=7,bo=8; q("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),q(0,["YY",2],0,function(){return this.year()%100}),q(0,["YYYY",4],0,"year"),q(0,["YYYYY",5],0,"year"),q(0,["YYYYYY",6,!0],0,"year"),j("year","y"),U("year",1),G("Y",oo),G("YY",Jr,Gr),G("YYYY",to,$r),G("YYYYY",no,Zr),G("YYYYYY",no,Zr),J(["YYYYY","YYYYYY"],fo),J("YYYY",function(e,n){n[fo]=2===e.length?t.parseTwoDigitYear(e):T(e)}),J("YY",function(e,n){n[fo]=t.parseTwoDigitYear(e)}),J("Y",function(e,t){t[fo]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return T(e)+(T(e)>68?1900:2e3)};var To,wo=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},q("M",["MM",2],"Mo",function(){return this.month()+1}),q("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),q("MMMM",0,0,function(e){return this.localeData().months(this,e)}),j("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[mo]=T(e)-1}),J(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[mo]=o:p(n).invalidMonth=e});var Co=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Mo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Po="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Eo=uo,So=uo;q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("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 Oo={dow:0,doy:6};q("d",0,"do","day"),q("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),q("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),q("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("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 ko="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),xo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Do="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ao=uo,Io=uo,No=uo;q("H",["HH",2],0,"hour"),q("h",["hh",2],0,He),q("k",["kk",2],0,Ve),q("hmm",0,0,function(){return""+He.apply(this)+W(this.minutes(),2)}),q("hmmss",0,0,function(){return""+He.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),Ge("a",!0),Ge("A",!1),j("hour","h"),U("hour",13),G("a",Ke),G("A",Ke),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",Xr),G("Hmm",Qr),G("Hmmss",Xr),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[vo]=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[vo]=T(e.substr(o))});var Lo,jo=/[ap]\.?m?\.?/i,Ro=re("Hours",!0),Fo={calendar:Nr,longDateFormat:Lr,invalidDate:jr,ordinal:Rr,dayOfMonthOrdinalParse:Fr,relativeTime:Ur,months:Mo,monthsShort:Po,week:Oo,weekdays:ko,weekdaysMin:Do,weekdaysShort:xo,meridiemParse:jo},Uo={},Yo={},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)?)?$/,qo=/^\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)?)?$/,zo=/Z|[+-]\d\d(?::?\d\d)?/,Bo=[["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/]],Vo=/^\/?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}))$/,Ko={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=M("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 $o=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Zo=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.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"];jt("Z",":"),jt("ZZ",""),G("Z",ao),G("ZZ",ao),J(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Rt(ao,e)});var Xo=/([\+\-]|\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=It.prototype,Jt.invalid=At;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=M("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)});q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Rn("gggg","weekYear"),Rn("ggggg","weekYear"),Rn("GGGG","isoWeekYear"),Rn("GGGGG","isoWeekYear"),j("weekYear","gg"),j("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,$r),G("gggg",to,$r),G("GGGGG",no,Zr),G("ggggg",no,Zr),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)}),q("Q",0,"Qo","quarter"),j("quarter","Q"),U("quarter",7),G("Q",Vr),J("Q",function(e,t){t[mo]=3*(T(e)-1)}),q("D",["DD",2],"Do","date"),j("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);q("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),U("dayOfYear",4),G("DDD",eo),G("DDDD",Kr),J(["DDD","DDDD"],function(e,t,n){n._dayOfYear=T(e)}),q("m",["mm",2],0,"minute"),j("minute","m"),U("minute",14),G("m",Jr),G("mm",Jr,Gr),J(["m","mm"],yo);var ai=re("Minutes",!1);q("s",["ss",2],0,"second"),j("second","s"),U("second",15),G("s",Jr),G("ss",Jr,Gr),J(["s","ss"],vo);var si=re("Seconds",!1);q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),U("millisecond",16),G("S",eo,Vr),G("SS",eo,Gr),G("SSS",eo,Kr);var ui;for(ui="SSSS";ui.length<=9;ui+="S")G(ui,ro);for(ui="S";ui.length<=9;ui+="S")J(ui,Vn);var li=re("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var ci=g.prototype;ci.add=ni,ci.calendar=on,ci.clone=an,ci.diff=mn,ci.endOf=En,ci.format=gn,ci.from=_n,ci.fromNow=bn,ci.to=Tn,ci.toNow=wn,ci.get=ae,ci.invalidAt=Ln,ci.isAfter=sn,ci.isBefore=un,ci.isBetween=ln,ci.isSame=cn,ci.isSameOrAfter=dn,ci.isSameOrBefore=fn,ci.isValid=In,ci.lang=oi,ci.locale=Cn,ci.localeData=Mn,ci.max=Zo,ci.min=$o,ci.parsingFlags=Nn,ci.set=se,ci.startOf=Pn,ci.subtract=ri,ci.toArray=xn,ci.toObject=Dn,ci.toDate=kn,ci.toISOString=yn,ci.inspect=vn,ci.toJSON=An,ci.toString=hn,ci.unix=On,ci.valueOf=Sn,ci.creationData=jn,ci.year=wo,ci.isLeapYear=ne,ci.weekYear=Fn,ci.isoWeekYear=Un,ci.quarter=ci.quarters=Bn,ci.month=he,ci.daysInMonth=ye,ci.week=ci.weeks=ke,ci.isoWeek=ci.isoWeeks=xe,ci.weeksInYear=Wn,ci.isoWeeksInYear=Yn,ci.date=ii,ci.day=ci.days=Fe,ci.weekday=Ue,ci.isoWeekday=Ye,ci.dayOfYear=Hn,ci.hour=ci.hours=Ro,ci.minute=ci.minutes=ai,ci.second=ci.seconds=si,ci.millisecond=ci.milliseconds=li,ci.utcOffset=Yt,ci.utc=qt,ci.local=zt,ci.parseZone=Bt,ci.hasAlignedHourOffset=Ht,ci.isDST=Vt,ci.isLocal=Kt,ci.isUtcOffset=$t,ci.isUtc=Zt,ci.isUTC=Zt,ci.zoneAbbr=Gn,ci.zoneName=Kn,ci.dates=M("dates accessor is deprecated. Use date instead.",ii),ci.months=M("months accessor is deprecated. Use month instead",he),ci.years=M("years accessor is deprecated. Use year instead",wo),ci.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),ci.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gt);var di=k.prototype;di.calendar=x,di.longDateFormat=D,di.invalidDate=A,di.ordinal=I,di.preparse=Jn,di.postformat=Jn,di.relativeTime=N,di.pastFuture=L,di.set=S,di.months=ce,di.monthsShort=de,di.monthsParse=me,di.monthsRegex=ge,di.monthsShortRegex=ve,di.week=Ee,di.firstDayOfYear=Oe,di.firstDayOfWeek=Se,di.weekdays=Ie,di.weekdaysMin=Le,di.weekdaysShort=Ne,di.weekdaysParse=Re,di.weekdaysRegex=We,di.weekdaysShortRegex=qe,di.weekdaysMinRegex=ze,di.isPM=$e,di.meridiem=Ze,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=M("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=M("moment.langData is deprecated. Use moment.localeData instead.",rt);var fi=Math.abs,mi=yr("ms"),pi=yr("s"),hi=yr("m"),yi=yr("h"),vi=yr("d"),gi=yr("w"),_i=yr("M"),bi=yr("y"),Ti=_r("milliseconds"),wi=_r("seconds"),Ci=_r("minutes"),Mi=_r("hours"),Pi=_r("days"),Ei=_r("months"),Si=_r("years"),Oi=Math.round,ki={ss:44,s:45,m:45,h:22,d:26,M:11},xi=Math.abs,Di=It.prototype;return Di.isValid=Dt,Di.abs=ar,Di.add=ur,Di.subtract=lr,Di.as=pr,Di.asMilliseconds=mi,Di.asSeconds=pi,Di.asMinutes=hi,Di.asHours=yi,Di.asDays=vi,Di.asWeeks=gi,Di.asMonths=_i,Di.asYears=bi,Di.valueOf=hr,Di._bubble=dr,Di.clone=vr,Di.get=gr,Di.milliseconds=Ti,Di.seconds=wi,Di.minutes=Ci,Di.hours=Mi,Di.days=Pi,Di.weeks=br,Di.months=Ei,Di.years=Si,Di.humanize=Pr,Di.toISOString=Sr,Di.toString=Sr,Di.toJSON=Sr,Di.locale=Cn,Di.localeData=Mn,Di.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Sr),Di.lang=oi,q("X",0,0,"unix"),q("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(Et),t.fn=ci,t.min=Ot,t.max=kt,t.now=Jo,t.utc=f,t.unix=$n,t.months=tr,t.isDate=u,t.locale=et,t.invalid=y,t.duration=Jt,t.isMoment=_,t.weekdays=rr,t.parseZone=Zn,t.localeData=rt,t.isDuration=Nt,t.monthsShort=nr,t.weekdaysMin=ir,t.defineLocale=tt,t.updateLocale=nt,t.locales=ot,t.weekdaysShort=or,t.normalizeUnits=R,t.relativeTimeRounding=Cr,t.relativeTimeThreshold=Mr,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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultTimezone:"Europe/London",postedDateFormat:"D MMM YYYY H:mm",text:{justNow:"Just now"}},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.Username=void 0;var o=n(92),i=r(o),a=n(138),s=r(a),u=t.Username=function(e){var t=e.children,n=e.className;return i.default.createElement("span",{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.CommentLinks=t.getCommentLinks=void 0;var o=n(140),i=r(o),a=n(2),s=r(a),u=n(92),l=r(u),c=n(163),d=n(164),f=n(165),m=r(f),p=n(166),h=n(169),y=n(177),v=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===m.default.PASS,c=(0,h.not)(t.author.isNotable),d=l&&(c||a),f=u(y.FeaturesToggles.makeTopPick)&&r.makeTopPick&&d,v={};return(0,h.not)(t.isDistressMessage)&&(d&&(v.reportCommentUrl=r.report?(0,p.formatCommentLinkUrlTemplate)(r.report.url,t):t.actions.reportUrl),r.viewModerationHistory&&(v.viewModerationHistoryUrl=(0,p.formatCommentLinkUrlTemplate)(r.viewModerationHistory.url,t)),f&&(v.makeTopPickUrl=(0,p.formatCommentLinkUrlTemplate)(r.makeTopPick.url,t)),r.memberDetails&&(v.memberDetailsUrl=(0,p.formatCommentLinkUrlTemplate)(r.memberDetails.url,t))),(0,s.default)({hasLinks:(0,i.default)(v).length>0},v)},g=function(e){var t=e.commentNumber,n=e.commentLinks,r=e.authorDisplayName,o=n.reportCommentUrl,i=n.viewModerationHistoryUrl,a=n.makeTopPickUrl,s=n.memberDetailsUrl;return l.default.createElement(c.ActionLinks,{className:"action-links--comment-links"},o&&l.default.createElement(c.ActionLink,{href:o,className:"action-link--report"},"Report",l.default.createElement(d.A11yText,null," comment number "+t)),i&&l.default.createElement(c.ActionLink,{href:i,className:"action-link--viewModerationHistory"},"View Moderation History",l.default.createElement(d.A11yText,null," for comment number "+t)),a&&l.default.createElement(c.ActionLink,{href:a,className:"action-link--makeTopPick"},"Make ",l.default.createElement(d.A11yText,null,"comment number "+t+" "),"Top Pick"),s&&l.default.createElement(c.ActionLink,{href:s,className:"action-link--memberDetails"},l.default.createElement(d.A11yText,null,"View "),"Member Details",l.default.createElement(d.A11yText,null," for "+r)))};g.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},g.defaultProps={commentLinks:{}},t.getCommentLinks=v,t.CommentLinks=g},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(92),i=r(o),a=n(138),s=r(a),u=t.ActionLink=function(e){var t=e.href,n=e.className,r=e.children;return i.default.createElement("a",{className:(0,s.default)("action-link",n),href:t},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])};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=t<r.length-1;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(92),i=r(o),a=t.A11yText=function(e){var t=e.children;return i.default.createElement("span",{className:"comment__hidden-text"},t)};a.displayName="A11yText",a.propTypes={children:o.PropTypes.string.isRequired}},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(111),i=r(o),a=n(114),s=r(a),u=n(167),l=r(u),c=n(170),d=r(c),f=n(172),m=n(173),p=n(171);t.default={getAdminLinks:function(e){var t=this,n=e.apiKey,r=e.forumId,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,s.default)(i.default.mark(function e(){var a;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,m.refreshToken)(o);case 2:return e.next=4,l.default.get(d.default.getAdminLinksUrl({env:(0,f.getEnv)(),forumId:r}),{headers:{"x-api-key":n}});case 4:return a=e.sent,e.abrupt("return",{forumAdminLinks:a.forumLinks,commentAdminLinks:a.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}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(111),i=r(o),a=n(114),s=r(a),u=function(){var e=(0,s.default)(i.default.mark(function e(t,n,r){var o,a,s,u,f,m,p,h,y;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,f=void 0===u?d:u,m=r.requiresSuccess,p=void 0!==m&&m,e.next=3,(0,l.timeBoxedPromise)(f,fetch(n,{method:t,headers:a,body:s,credentials:"include"}));case 3:return h=e.sent,e.next=6,h.json();case 6:if(y=e.sent,!p||!(0,c.not)(h.ok)){e.next=9;break}throw y;case 9:return e.abrupt("return",y);case 10:case"end":return e.stop()}},e,this)}));return function(t,n,r){return e.apply(this,arguments)}}(),l=n(168),c=n(169),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(115),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};t.not=n,t.noop=r,t.secondsToMillis=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return(0,l.getClientLocation)().indexOf("bbc.com")!==-1?"bbc.com":"bbc.co.uk"}function i(e){var t=o();switch(e){case"acc":return c;case"live":return"https://www."+t;default:return"https://www."+e+"."+t}}function a(e,t){var n=o();switch(t){case"acc":return c;case"live":return"https://"+e+".api."+n;default:return"https://"+e+"."+t+".api."+n}}Object.defineProperty(t,"__esModule",{value:!0});var s=n(140),u=r(s),l=n(171),c="https://web.archive.org/web/20190205044446/http://localhost:3000";t.default={getIdctaInitUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=(0,u.default)(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&"),o=r?"?"+r:"",s=n?a("idcta",e):i(e);return s+"/idcta/init"+o},getCommentsForumUrl:function(e,t){return a("comments",e)+"/v1/forum/"+t},getModeratedUserUrl:function(e){return a("moderateduser",e)+"/v1/user"},getAdminLinksUrl:function(e){var t=e.env,n=e.forumId;return a("moderation",t)+"/v1/adminlinks/"+n},getRatingsUrl:function(e,t){return a("ratings",e)+"/v1/neroratings/comment/"+t}},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 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=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=t?"authorised":"false",s=i?"context":"pathway",u=o?(0,_defineProperty3.default)({},s,o):{},l=_urlUtils2.default.getIdctaInitUrl(n,(0,_extends3.default)({policy:r,renderMode:a,purpose:IDCTA_PURPOSE,ptrt:_utils2.default.getClientLocation()},u),i);return _clientSideFetch2.default.get(l,IDCTA_TIMEOUT).then(function(e){return{isSignedIn:t,idctaInfo:e}})}function setupIdcta(env){var useCloudIdcta=arguments.length>1&&void 0!==arguments[1]&&arguments[1],idctaInitUrl=_urlUtils2.default.getIdctaInitUrl(env,{},useCloudIdcta);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,n){return getIdctaInfoForComments(e,t,n).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(e){return getIdcta(e).then(function(e){var t=e.hasCookie;return t()})}Object.defineProperty(exports,"__esModule",{value:!0});var _regenerator=__webpack_require__(111),_regenerator2=_interopRequireDefault(_regenerator),_asyncToGenerator2=__webpack_require__(114),_asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2),_extends2=__webpack_require__(2),_extends3=_interopRequireDefault(_extends2),_defineProperty2=__webpack_require__(174),_defineProperty3=_interopRequireDefault(_defineProperty2),_promise=__webpack_require__(115),_promise2=_interopRequireDefault(_promise),_urlUtils=__webpack_require__(170),_urlUtils2=_interopRequireDefault(_urlUtils),_utils=__webpack_require__(171),_utils2=_interopRequireDefault(_utils),_idctaBuilder=__webpack_require__(175),_idctaBuilder2=_interopRequireDefault(_idctaBuilder),_helpers=__webpack_require__(169),_clientSideFetch=__webpack_require__(167),_clientSideFetch2=_interopRequireDefault(_clientSideFetch),_errorTypes=__webpack_require__(176),extractFunctionFromScriptBlock=function(e){return e.replace(/<script[^>]*>/gi,"").replace(/<\/script>/gi,"")},getIdcta=function(e){return new _promise2.default(function(t,n){var r=e?"-v2":"";requirejs(["idcta"+r+"/idcta-1"],t,n)})},IDCTA_PURPOSE="use comments",IDCTA_TIMEOUT=1e4;exports.default={setupIdctaLibrary:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return setupIdcta(e,t)},refreshToken:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return getIdcta(e).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.shouldCallIdcta,a=void 0===i||i,s=e.useCloudIdcta,u=void 0!==s&&s;return(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var i,s;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,isCurrentUserSignedIn(u);case 2:if(i=e.sent,s={policy:r,env:n,context:o},!(0,_helpers.not)(a)){e.next=6;break}return e.abrupt("return",_idctaBuilder2.default.new().signedIn(i).build());case 6:if(!i){e.next=9;break}return e.next=9,t.refreshToken(u);case 9:return e.abrupt("return",buildIdctaInfo(s,i,u));case 10:case"end":return e.stop()}},e,t)}))()}},module.exports=exports.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(48),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,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"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=m(e),n=(0,a.default)(f).reduce(function(e,n){var r=f[n];return e[r]=t[r]||c,e},{});return{isFeatureEnabled:function(e){return"acc"===(0,l.getEnv)()||n[e]===d}}}Object.defineProperty(t,"__esModule",{value:!0}),t.FeaturesToggles=void 0;var i=n(140),a=r(i),s=n(151),u=r(s);t.setupFeatureToggles=o;var l=n(172),c="off",d="on",f=t.FeaturesToggles={ratings:"ratings",makeTopPick:"makeTopPick",liveUpdate:"liveUpdate",useCloudIdcta:"useCloudIdcta"},m=function(){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,u.default)(n,2),o=r[0],i=r[1];e[o]=i.trim()}return e},{})}},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.CommentRatingContainer=void 0;var o=n(111),i=r(o),a=n(114),s=r(a),u=n(41),l=r(u),c=n(46),d=r(c),f=n(47),m=r(f),p=n(51),h=r(p),y=n(84),v=r(y),g=n(92),_=r(g),b=n(180),T=n(184),w=n(187),C=n(176),M=n(188),P=n(191),E=r(P),S=n(192),O=n(177),k="You must sign in to like comments.",x="Sorry, there was a problem",D="Please refresh your browser and try again.",A="Please try again later.",I=t.CommentRatingContainer=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)),r=n.props.idctaData.signedIn===!1;return n.state={hasError:!1,tooltipText:k,isSendingRating:!1,ratingValue:e.commentData.rating.positive,hasRatedComment:!1,shouldDisableHandleClick:r},n.ratingErrorHandler=n.ratingErrorHandler.bind(n),n.handleClick=n.handleClick.bind(n),n.tooltipCloseHandler=n.tooltipCloseHandler.bind(n),n}return(0,v.default)(t,e),(0,m.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"},this.state.tooltipBody):_.default.createElement(w.IdctaSignInButton,{markup:this.getIdctaData().signInButton});return _.default.createElement(b.TooltipLauncher,{tooltipSubtitle:this.state.tooltipText,isTooltipOpen:this.state.hasError,isTooltipAlert:this.state.hasError,tooltipBody:e,tooltipOnClose:this.tooltipCloseHandler},this.renderPositiveCommentRating())}return this.renderPositiveCommentRating()}},{key:"componentWillReceiveProps",value:function(e){var t=e.idctaData.signedIn===!1;this.setState({shouldDisableHandleClick:t})}},{key:"renderPositiveCommentRating",value:function(){var e=this.props,t=e.commentData,n=e.isRatingEnabled;return _.default.createElement(T.PositiveCommentRating,{commentIndex:t.index,isDisabled:!n,commentId:t.id,ratingErrorHandler:this.ratingErrorHandler,isSendingRating:this.state.isSendingRating,ratingValue:this.state.ratingValue,hasRatedComment:this.state.hasRatedComment,handleClick:this.handleClick})}},{key:"tooltipCloseHandler",value:function(){this.setState({hasError:!1})}},{key:"getIdctaData",value:function(){return this.props.idctaData}},{key:"isSignedOut",value:function(){return this.getIdctaData().signedIn===!1}},{key:"ratingErrorHandler",value:function(e){var t=e===C.ErrorTypes.TOKEN_REFRESH_FAILED?D:A;this.setState({tooltipText:x,tooltipBody:t,hasError:!0})}},{key:"handleClick",value:function(){function e(){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(){var t,n,r,o,a,s;return i.default.wrap(function(e){ for(;;)switch(e.prev=e.next){case 0:if(!this.state.shouldDisableHandleClick){e.next=2;break}return e.abrupt("return");case 2:return t=this.context.apiKey,n=this.props.commentData.id,this.setState({isSendingRating:!0,shouldDisableHandleClick:!0}),E.default.logClickEvent(S.ISTATS_ACTIONS.RatingComment),e.prev=6,r=this.context.isFeatureEnabled,o=r(O.FeaturesToggles.useCloudIdcta),e.next=11,(0,M.putRating)({apiKey:t,commentId:n},o);case 11:a=e.sent,s=a.ratingValue,this.setState({isSendingRating:!1,ratingValue:s,hasRatedComment:!0}),e.next=20;break;case 16:e.prev=16,e.t0=e.catch(6),this.setState({isSendingRating:!1,shouldDisableHandleClick:!1}),this.ratingErrorHandler(e.t0);case 20:case"end":return e.stop()}},e,this,[[6,16]])}));return e}()}]),t}(g.Component);I.displayName="CommentRatingContainer",I.propTypes={isRatingEnabled:g.PropTypes.bool,commentData:g.PropTypes.shape({index:g.PropTypes.number,id:g.PropTypes.number.isRequired,rating:g.PropTypes.shape({positive:g.PropTypes.number.isRequired})}).isRequired,idctaData:g.PropTypes.object.isRequired},I.defaultProps={isRatingEnabled:!0},I.contextTypes={apiKey:g.PropTypes.string.isRequired,isFeatureEnabled:g.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(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),f=n(84),m=r(f),p=n(92),h=r(p),y=n(181),v=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,m.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",{className:"tooltip-launcher__children",onClick:this.openTooltip},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);v.displayName="TooltipLauncher",v.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},v.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(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),f=n(84),m=r(f),p=n(92),h=r(p),y=n(182),v=r(y),g=n(183),_=r(g),b=n(95),T=n(147),w=n(138),C=r(w),M=5,P=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,m.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",{role:"alert",className:(0,C.default)("comment-tooltip__subtitle",{"comment-tooltip__subtitle--alert":i})},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(v.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)}},{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+M;this.setState({tooltipCssLeft:-t,tooltipPointCssLeft:t})}}}]),t}(p.Component);P.displayName="Tooltip",P.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},P.defaultProps={isAlert:!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(92),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});var o=n(92),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("span",{className:"alert-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:n,viewBox:"0 0 32 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},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.PositiveCommentRating=t.CommentRating=void 0;var o=n(2),i=r(o),a=n(92),s=r(a),u=n(138),l=r(u),c=n(185),d=r(c),f=n(186),m=r(f),p=t.CommentRating=function(e){var t=e.direction,n=e.Icon,r=e.commentIndex,o=e.isDisabled,i=e.isSendingRating,a=e.hasRatedComment,u=e.ratingValue,c=e.handleClick,d=a?"You have liked comment number "+(r+1):"Like comment number "+(r+1),f="Number of Likes for comment "+(r+1)+": "+u;return s.default.createElement("div",{className:"comment-rating"},i&&s.default.createElement("div",{className:"comment-rating__loading-icon"},s.default.createElement(m.default,null)),s.default.createElement("button",{className:(0,l.default)("comment-rating__button","comment-rating__button--"+t,{"comment-rating__button--posted":a}),disabled:o,"aria-label":d+". "+f,onClick:c},s.default.createElement("div",{className:"comment-rating__button-icon"},s.default.createElement(n,null)),s.default.createElement("div",{className:"comment-rating__button-number"},u)))};p.displayName="CommentRating",p.propTypes={direction:a.PropTypes.string.isRequired,Icon:a.PropTypes.func.isRequired,ratingValue:a.PropTypes.number.isRequired,commentIndex:a.PropTypes.number.isRequired,isDisabled:a.PropTypes.bool,commentId:a.PropTypes.number.isRequired,isSendingRating:a.PropTypes.bool.isRequired,hasRatedComment:a.PropTypes.bool,handleClick:a.PropTypes.func.isRequired};var h=t.PositiveCommentRating=function(e){return s.default.createElement(p,(0,i.default)({Icon:d.default,direction:"positive"},e))};h.displayName="PositiveCommentRating"},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(92),i=r(o),a=function(){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 32 32"},i.default.createElement("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm2.4 9.5h4v4h-4v-4zm-10 0h4v4h-4v-4zm7.6 18c-4.4 0-8-4-8-8h16c0 4-3.6 8-8 8z"}))};a.displayName="SmileyFace",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(92),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}),t.IdctaSignedInMessage=t.IdctaSignInButton=void 0;var o=n(92),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};var s=t.IdctaSignedInMessage=function(e){var t=e.markup;return i.default.createElement("div",{className:"comments__idcta-msg",dangerouslySetInnerHTML:{__html:t}})};s.displayName="IdctaSignedInMessage",s.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});var o=n(111),i=r(o),a=n(114),s=r(a),u=n(189),l=r(u),c=n(167),d=r(c),f=n(170),m=r(f),p=n(172),h=n(173),y=n(176),v=n(171),g={PROFANITY_FOUND_IN_TEXT:"PROFANITY_FOUND_IN_TEXT",FORUM_CLOSED:"FORUM_CLOSED",FORUM_READ_ONLY:"FORUM_READ_ONLY"};t.default={postComment:function(e){var t=e.apiKey,n=e.forumId,r=e.commentText,o=e.createForum,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,h.refreshToken)(i).then(function(){return d.default.post(m.default.getCommentsForumUrl((0,p.getEnv)(),n),{headers:{"content-type":"application/json","x-api-key":t,"x-client-ip-address":"127.0.0.1"},body:(0,l.default)({pageURL:(0,v.getClientLocation)(),pageTitle:(0,v.getPageTitle)(),text:r,createForum:o}),requiresSuccess:!0})}).catch(function(e){if(e===y.ErrorTypes.TOKEN_REFRESH_FAILED)throw y.ErrorTypes.TOKEN_REFRESH_FAILED;switch(e.errorCode){case g.PROFANITY_FOUND_IN_TEXT:throw y.ErrorTypes.PROFANITY_FOUND_IN_TEXT;case g.FORUM_CLOSED:case g.FORUM_READ_ONLY:throw y.ErrorTypes.POSTING_TO_CLOSED_FORUM;default:throw y.ErrorTypes.UNKNOWN_ERROR}})},putRating:function(e){var t=this,n=e.apiKey,r=e.commentId,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,s.default)(i.default.mark(function e(){var a;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.refreshToken)(o);case 2:return e.next=4,d.default.put(m.default.getRatingsUrl((0,p.getEnv)(),r),{headers:{"content-type":"application/json","x-api-key":n,Origin:(0,v.getClientLocation)()},body:(0,l.default)({rate:1}),requiresSuccess:!0});case 4:return a=e.sent,e.abrupt("return",{ratingValue:a.positiveRatingValue});case 6:case"end":return e.stop()}},e,t)}))()}},e.exports=t.default},function(e,t,n){e.exports={default:n(190),__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}}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(115),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={PostingComments:"comments_post_comment",ShowMoreComments:"comments_more_comments",ShowNewComments:"comments_new_comments",LoadingMoreComments:"comments_loading_comments",FailedToLoadMoreComments:"comments_loading_comments_error",CommentsInViewport:"comments_view",CommentsLoad:"comments_load",RatingComment:"comments_positive_vote"}},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(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),f=n(84),m=r(f),p=n(92),h=r(p),y=t.CommentFooter=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,m.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props.children,t=Array.isArray(e)?e:[e],n=t.filter(function(e){return Boolean(e)}).length>0;return n?h.default.createElement("div",{className:"comment__footer comment__footer--medium-tap-size"},e):h.default.createElement("noscript",null)}}]),t}(p.Component);y.displayName="CommentFooter",y.propTypes={children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node])}},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.rulesPageUrl,r=e.isRatingEnabled,o=e.personalisationDetails,i=e.idctaData,u="comment_"+t.id;return a.default.createElement("li",{className:"comments-list__item",key:u},a.default.createElement(s.Comment,{commentData:t,rulesPageUrl:n,isRatingEnabled:r,personalisationDetails:o,idctaData:i}),t.children&&a.default.createElement(l,{comments:t.children,rulesPageUrl:n,isRatingEnabled:r,personalisationDetails:o,idctaData:i}))}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsList=void 0;var i=n(92),a=r(i),s=n(149),u=n(195),l=t.CommentsList=function(e){var t=e.comments,n=e.rulesPageUrl,r=e.isRatingEnabled,i=e.personalisationDetails,s=e.idctaData;if(0===t.length)return a.default.createElement("noscript",null);var l=t.map(function(e){return o({commentData:e,rulesPageUrl:n,isRatingEnabled:r,personalisationDetails:i,idctaData:s})});return a.default.createElement("div",null,a.default.createElement("div",{className:"comments-list-anchor"}),a.default.createElement(u.CSSTransitionGroup,{component:"ul",className:"comments-list",transitionName:{enter:"comments-list__item--entering-list",enterActive:"comments-list__item--entered-list"},transitionEnterTimeout:2e3,transitionLeave:!1},l))};l.displayName="CommentsList",l.propTypes={comments:i.PropTypes.arrayOf(i.PropTypes.shape({id:i.PropTypes.number})).isRequired,rulesPageUrl:i.PropTypes.string,isRatingEnabled:i.PropTypes.bool.isRequired,personalisationDetails:i.PropTypes.object,idctaData:i.PropTypes.object},l.defaultProps={comments:[]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(196),i=r(o),a=n(197),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(92),l=r(u),c=n(197),d=r(c),f=n(202),m=r(f),p=n(210),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},v=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(m.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);v.displayName="CSSTransitionGroup",v.propTypes=h,v.defaultProps=y,t.default=v,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(199),c=o(l),d=n(92),f=o(d),m=n(200),p=o(m),h=n(201),y={component:f.default.PropTypes.any,childFactory:f.default.PropTypes.func,children:f.default.PropTypes.node},v={component:"span",childFactory:function(e){return e}},g=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(f.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,f.default.createElement(this.props.component,i,t)},t}(f.default.Component);g.displayName="TransitionGroup",g.propTypes=y,g.defaultProps=v,t.default=g,e.exports=t.default}).call(t,n(198))},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&&m&&(h=!1,m.length?p=m.concat(p):y=-1,p.length&&s())}function s(){if(!h){var e=o(a);h=!0;for(var t=p.length;t;){for(m=p,p=[];++y<t;)m&&m[y].run();y=-1,t=p.length}m=null,h=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,d,f=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 m,p=[],h=!1,y=-1;f.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)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=l,f.addListener=l,f.once=l,f.off=l,f.removeListener=l,f.removeAllListeners=l,f.emit=l,f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.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(198))},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(92)},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(203),c=r(l),d=n(205),f=r(d),m=n(206),p=r(m),h=n(208),y=n(92),v=r(y),g=n(209),_=n(210),b=[];h.transitionEnd&&b.push(h.transitionEnd),h.animationEnd&&b.push(h.animationEnd);var T={children:v.default.PropTypes.node,name:_.nameShape.isRequired,appear:v.default.PropTypes.bool,enter:v.default.PropTypes.bool,leave:v.default.PropTypes.bool,appearTimeout:v.default.PropTypes.number,enterTimeout:v.default.PropTypes.number,leaveTimeout:v.default.PropTypes.number},w=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,g.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,f.default)(r,o),(0,f.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,v.default.cloneElement(v.default.Children.only(this.props.children),e)},t}(v.default.Component);w.displayName="CSSTransitionGroupChild",w.propTypes=T,t.default=w,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){e.classList?e.classList.add(t):(0,a.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(204),a=r(i);e.exports=t.default},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}Object.defineProperty(t,"__esModule",{value:!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){return e&&e.__esModule?e:{default:e}}function o(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-f)),r=setTimeout(e,n);return f=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=n(207),a=r(i),s=["","webkit","moz","o","ms"],u="clearTimeout",l=o,c=void 0,d=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};a.default&&s.some(function(e){var t=d(e,"request");if(t in window)return u=d(e,"cancel"),l=function(e){return window[t](e)}});var f=(new Date).getTime();c=function(e){return l(e)},c.cancel=function(e){window[u]&&"function"==typeof window[u]&&window[u](e)},t.default=c,e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"==typeof window||!window.document||!window.document.createElement),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=document.createElement("div").style,t={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}},n=Object.keys(t),r=void 0,o=void 0,i="",a=0;a<n.length;a++){var s=n[a];if(s+"TransitionProperty"in e){i="-"+s.toLowerCase(),r=t[s]("TransitionEnd"),o=t[s]("AnimationEnd");break}}return!r&&"transitionProperty"in e&&(r="transitionend"),!o&&"animationName"in e&&(o="animationend"),e=null,{animationEnd:o,transitionEnd:r,prefix:i}}Object.defineProperty(t,"__esModule",{value:!0}),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=n(207),a=r(i),s="transform",u=void 0,l=void 0,c=void 0,d=void 0,f=void 0,m=void 0,p=void 0,h=void 0,y=void 0,v=void 0,g=void 0; if(a.default){var _=o();u=_.prefix,t.transitionEnd=l=_.transitionEnd,t.animationEnd=c=_.animationEnd,t.transform=s=u+"-"+s,t.transitionProperty=d=u+"-transition-property",t.transitionDuration=f=u+"-transition-duration",t.transitionDelay=p=u+"-transition-delay",t.transitionTiming=m=u+"-transition-timing-function",t.animationName=h=u+"-animation-name",t.animationDuration=y=u+"-animation-duration",t.animationTiming=v=u+"-animation-delay",t.animationDelay=g=u+"-animation-timing-function"}t.transform=s,t.transitionProperty=d,t.transitionTiming=m,t.transitionDelay=p,t.transitionDuration=f,t.transitionEnd=l,t.animationName=h,t.animationDuration=y,t.animationTiming=v,t.animationDelay=g,t.animationEnd=c,t.default={transform:s,end:l,property:d,timing:m,delay:p,duration:f}},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(92),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.CommentsButton=void 0;var o=n(2),i=r(o),a=n(92),s=r(a),u=n(138),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,f=e.isFullWidth,m={className:(0,l.default)("comments-button",n,{"comments-button--full-width":f}),disabled:r,onClick:u,"aria-label":d,rel:c};switch(a){case"button":return s.default.createElement("button",m,t);case"submit":return s.default.createElement("input",(0,i.default)({type:"submit",value:t},m));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.CommentsInput=void 0;var o=n(213),i=r(o),a=n(41),s=r(a),u=n(46),l=r(u),c=n(47),d=r(c),f=n(51),m=r(f),p=n(84),h=r(p),y=n(92),v=r(y),g=n(148),_=n(217),b=n(188),T=r(b),w=n(218),C=r(w),M=n(191),P=r(M),E=n(192),S=n(176),O=n(220),k=n(221),x=n(177),D=t.CommentsInput=function(e){function t(e){(0,l.default)(this,t);var n=(0,m.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},n.formOnSubmit=n.formOnSubmit.bind(n),n.inputBoxOnChange=n.inputBoxOnChange.bind(n),n}return(0,h.default)(t,e),(0,d.default)(t,[{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:"setCommentAlert",value:function(e,t){this.setState({commentAlert:{type:e,message:t}})}},{key:"inputBoxOnChange",value:function(e){var t=e.target.value,n=t.length;this.setState({inputText:t,inputLength:n,hasInputChanged:!0})}},{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.setState({inputText:"",hasInputChanged:!1})}},{key:"handlePostCommentErrors",value:function(e){var t=(0,O.getMessageKeyForError)(e),n=this.context.formatMessage(t);this.setCommentAlert(_.AlertTypes.ERROR,n)}},{key:"showPostSuccessMessage",value:function(){var e=(0,k.getPostCommentSuccessMessageKey)(this.props.moderationStatus),t=this.context.formatMessage(e);this.setCommentAlert(_.AlertTypes.SUCCESS,t)}},{key:"formOnSubmit",value:function(e){var t=this;if(e.preventDefault(),this.isInputBoxEmpty())this.handlePostCommentErrors(S.ErrorTypes.POSTING_EMPTY_COMMENTS_NOT_ALLOWED),this.commentsInput.focus();else{var n=this.context,r=n.apiKey,o=n.forumId,i=n.isFeatureEnabled,a=this.state.inputText,s=this.state.createForum,u=i(x.FeaturesToggles.useCloudIdcta);P.default.logClickEvent(E.ISTATS_ACTIONS.PostingComments),this.setState({isSubmittingComment:!0}),T.default.postComment({apiKey:r,forumId:o,commentText:a,createForum:s},u).then(function(){t.resetInputBox(),t.showPostSuccessMessage(),t.setState({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:"render",value:function(){var e=this;return v.default.createElement("div",null,this.state.commentAlert&&v.default.createElement(g.CommentsAlert,{type:this.state.commentAlert.type,role:"alert"},this.state.commentAlert.message),v.default.createElement("form",{onSubmit:this.formOnSubmit,className:"comments__input"},v.default.createElement("div",{className:"comments__input-area"},v.default.createElement(C.default,{className:"comments-input-box",useCacheForDOMMeasurements:!0,value:this.state.inputText,placeholder:"Add your comment…",minRows:2,maxRows:8,ref:function(t){return e.commentsInput=t},onChange:this.inputBoxOnChange}),this.hasTextLimit()&&this.state.hasInputChanged&&v.default.createElement(g.CommentsTextLimit,{remainingCharacters:this.getRemainingCharacters(),isTextOverLimit:this.isTextOverLimit()})),v.default.createElement(g.CommentsButton,{type:"submit",className:"comments__submit-button",isDisabled:this.isPostCommentButtonDisabled()},"Post comment")))}}]),t}(y.Component);D.displayName="CommentsInput",D.propTypes={textLimit:y.PropTypes.number,moderationStatus:y.PropTypes.string.isRequired,createForum:y.PropTypes.bool.isRequired,isDisabled:y.PropTypes.bool},D.contextTypes={formatMessage:y.PropTypes.func.isRequired,apiKey:y.PropTypes.string.isRequired,forumId:y.PropTypes.string.isRequired,isFeatureEnabled:y.PropTypes.func.isRequired}},function(e,t,n){e.exports={default:n(214),__esModule:!0}},function(e,t,n){n(215),e.exports=n(8).Number.isInteger},function(e,t,n){var r=n(6);r(r.S,"Number",{isInteger:n(216)})},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(92),i=r(o),a=n(138),s=r(a),u=t.AlertTypes={ERROR:"error",SUCCESS:"success"},l=t.CommentsAlert=function(e){var t=e.type,n=e.role,r=e.children;return i.default.createElement("div",{role:n,className:"comments__alert"},i.default.createElement("div",{className:(0,s.default)({"comments-error-message":t===u.ERROR,"comments-success-message":t===u.SUCCESS})},r))};l.displayName="CommentsAlert",l.propTypes={type:o.PropTypes.string.isRequired,role: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}}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}},f=n(92),m=r(f),p=n(219),h=r(p),y=function(){},v=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:m.default.PropTypes.string,onChange:m.default.PropTypes.func,onHeightChange:m.default.PropTypes.func,useCacheForDOMMeasurements:m.default.PropTypes.bool,rows:m.default.PropTypes.number,minRows:m.default.PropTypes.number,maxRows:m.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"),m.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}(m.default.Component);t.default=v,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 f=-(1/0),m=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&&(f=h*n,"border-box"===c&&(f=f+u+l),p=Math.max(f,p)),null!==i&&(m=h*i,"border-box"===c&&(m=m+u+l),p=Math.min(m,p))}return{height:p,minHeight:f,maxHeight:m}}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(176);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.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(222),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,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(92),i=r(o),a=n(138),s=r(a),u=t.CommentsTextLimit=function(e){var t=e.remainingCharacters,n=e.isTextOverLimit,r=n?"You've written "+-t+" too many characters!":"You have "+t+" characters remaining",o=(0,s.default)("comments__text-limit",{"comments__text-limit--over-limit":n});return i.default.createElement("div",{className:o},r)};u.displayName="CommentsTextLimit",u.propTypes={remainingCharacters:o.PropTypes.number.isRequired,isTextOverLimit:o.PropTypes.bool.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(92),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.CommentsImpressionStat=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),f=n(84),m=r(f),p=n(92),h=r(p),y=n(226),v=r(y),g=n(191),_=r(g),b=n(192),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,m.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(v.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(92),o=n(209),i=n(227),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}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShowNewCommentsButton=void 0;var o=n(92),i=r(o),a=n(148),s=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,{onClick:n,isFullWidth:!0,ariaLabel:s},o)};s.displayName="ShowNewCommentsButton",s.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(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),f=n(84),m=r(f),p=n(92),h=r(p),y=n(186),v=r(y),g=n(169),_=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,m.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})},(0,g.secondsToMillis)(this.props.slowMessageTimerInSeconds)))}},{key:"componentDidMount",value:function(){this.startSlowTimer()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.slowMessageTimer)}},{key:"render",value:function(){return h.default.createElement("div",{className:"comments-loading"},h.default.createElement("div",{className:"comments-loading__icon"},h.default.createElement(v.default,null)),h.default.createElement("div",{className:"comments-loading__text","aria-hidden":"true"},h.default.createElement("span",null,"Loading..."),this.state.showSlowMessage&&h.default.createElement("span",null," (sorry, this seems to be taking a while)")))}}]),t}(p.Component);_.displayName="CommentsLoading",_.propTypes={slowMessageTimerInSeconds:p.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.NoJSMessage=void 0;var o=n(92),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.ForumLinks=t.getForumLinks=void 0;var o=n(140),i=r(o),a=n(2),s=r(a),u=n(92),l=r(u),c=n(163),d=n(166),f=(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"))});f.displayName="ForumLinks",f.propTypes={forumLinks:u.PropTypes.shape({administerCommentsForumUrl:u.PropTypes.string.isRequired})},f.defaultProps={forumLinks:{}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsTab=t.CommentsTabsContainer=void 0;var r=n(233),o=n(234);t.CommentsTabsContainer=r.CommentsTabsContainer,t.CommentsTab=o.CommentsTab},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsTabsContainer=void 0;var o=n(92),i=r(o),a=n(234),s=function(e){return Array.isArray(e)?e:[e]},u=function(e,t){return i.default.createElement("li",{key:t,className:"comments-tabs__tab-title"},e.props.title)},l=t.CommentsTabsContainer=function(e){var t=e.children,n=s(t);return i.default.createElement("div",{className:"comments-tabs-container"},i.default.createElement("ul",{className:"tabs"},n.map(u)),i.default.createElement("div",{className:"comments-tabs__content"},n[0]))};l.displayName="CommentsTabsContainer",l.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(a.CommentsTab),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.CommentsTab=void 0;var o=n(92),i=r(o),a=t.CommentsTab=function(e){var t=e.children;return i.default.createElement("div",null,t)};a.displayName="CommentsTab",a.propTypes={title: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.addModeSupportOnBrowser=t.addModeSupport=t.MODE_STANDALONE=void 0;var o=n(151),i=r(o),a=n(115),s=r(a),u=n(137),l=r(u),c=n(236),d=r(c),f=n(173),m=r(f),p=t.MODE_STANDALONE="standalone",h=[p],y=function(e,t){return"acc"===e?s.default.resolve():m.default.setupIdctaLibrary(e,t)};t.addModeSupport=function(e){var t=e.component,n=e.mode;h.indexOf(n)!==-1&&l.default.selfTransitiveThenUpdate("modes-"+n,t)},t.addModeSupportOnBrowser=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.mode;return n===p?(document.title="Standalone Comment Morph View",s.default.all([y(e.idctaEnv,t),d.default.registerLibrary()]).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}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(189),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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={PAGE_SIZE:10,INITIAL_PAGE_SIZE_MULTIPLIER:4},e.exports=t.default},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{formatMessage:function(t,n){var r=e[t];if(r)return(0,o.formatString)(e[t],n);throw new Error('"'+t+'" does not exists')}}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(239);t.default={use:function(e){return r(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=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(140),a=r(i);t.formatString=o},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(111),s=r(a),u=n(114),l=r(u),c=function(){var e=(0,l.default)(s.default.mark(function e(t){var n=t.apiKey,r=t.forumId,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];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},o);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(241),f=r(d),m=n(166),p=r(m),h=n(178);t.default={getPersonalisationDetails:function(e){var t=this,n=e.apiKey,r=e.forumData,o=e.forumId,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,l.default)(s.default.mark(function e(){var u,l;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.default.getModeratedUserDetails(n,a);case 3:if(u=e.sent,!u.isEditor){e.next=10;break}return e.next=7,c({apiKey:n,forumId:o},a);case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0={};case 11:return l=e.t0,e.abrupt("return",(0,i.default)({userId:u.modUserId,displayNameModerationStatus:(0,h.toDisplayNameStatus)(u.displayNameStatus),isEditor:u.isEditor,displayNameModerationMessage:r.displayNameModerationMessage,displayNameModerationUrl:r.displayNameModerationUrl},l));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(167),i=r(o),a=n(170),s=r(a),u=n(172),l=n(173);t.default={getModeratedUserDetails:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,l.refreshToken)(t).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}}Object.defineProperty(t,"__esModule",{value:!0}),t.StyleGuideModule=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),f=n(84),m=r(f),p=n(138),h=r(p),y=n(92),v=r(y),g=n(158),_=n(243),b=r(_),T=n(218),w=r(T),C=n(148),M=n(163),P=n(217),E=n(232),S=n(235),O=n(165),k=r(O),x=n(222),D=r(x),A=function(){},I=function(e){var t=e.children;return v.default.createElement("h3",{className:"comments-styleguide__heading" },t)},N={signedIn:!1};I.displayName="SectionHeading",I.propTypes={children:y.PropTypes.oneOfType([y.PropTypes.arrayOf(y.PropTypes.node),y.PropTypes.node])};var L=function(e){var t=e.children;return v.default.createElement("h4",{className:"comments-styleguide__subheading"},t)};L.displayName="SubHeading",L.propTypes={children:y.PropTypes.oneOfType([y.PropTypes.arrayOf(y.PropTypes.node),y.PropTypes.node])};var j=function(e){var t=e.id,n=e.heading,r=e.children,o=e.className;return v.default.createElement("section",{id:t,className:(0,h.default)("comments-styleguide__section",o)},v.default.createElement(I,null,n),r)};j.displayName="Section",j.propTypes={id:y.PropTypes.string.isRequired,heading:y.PropTypes.string.isRequired,children:y.PropTypes.oneOfType([y.PropTypes.arrayOf(y.PropTypes.node),y.PropTypes.node]),className:y.PropTypes.string};var R=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(0,S.addModeSupport)({mode:e.mode,component:n}),n}return(0,m.default)(t,e),(0,l.default)(t,[{key:"typography",value:function(){return v.default.createElement(j,{heading:"Typography",id:"comments-typography"},v.default.createElement(L,null,"Title"),v.default.createElement(C.CommentsTitle,null,"Comments"),v.default.createElement(L,null,"Paragraph"),v.default.createElement("p",null,"Sample paragraph with some ",v.default.createElement("b",null,"bold text")," ",v.default.createElement("em",null,"emphasised, italic text")," and a ",v.default.createElement("a",{href:"#"},"Link"),"."),v.default.createElement(L,null,"Links"),v.default.createElement(M.ActionLink,{href:"#"},"Sample Link"),v.default.createElement(M.ActionLinks,null,v.default.createElement(M.ActionLink,{href:"#"},"Action link #1"),v.default.createElement(M.ActionLink,{href:"#"},"Action link #2")),v.default.createElement(L,null,"Comments Message"),v.default.createElement("p",{className:"comments__message"},"This entry is now closed for comments."))}},{key:"buttons",value:function(){return v.default.createElement(j,{heading:"Buttons",id:"comments-buttons"},v.default.createElement(L,null,"Active"),v.default.createElement(C.CommentsButton,null,"Post comment"),v.default.createElement(L,null,"Disabled"),v.default.createElement(C.CommentsButton,{isDisabled:!0},"Post comment"),v.default.createElement(L,null,"Submit Button"),v.default.createElement(C.CommentsButton,{type:"submit"},"Post comment"),v.default.createElement(L,null,"More Comments Button"),v.default.createElement(C.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:A},"More comments"),v.default.createElement(L,null,"Show New Comments Button"),v.default.createElement(C.ShowNewCommentsButton,{newCommentCount:2,onClick:A}))}},{key:"formElements",value:function(){return v.default.createElement(j,{heading:"Form Elements",id:"comments-form-elements"},v.default.createElement(L,null,"Expanding Text Area"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(w.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:2,maxRows:8})),v.default.createElement(L,null,"Comments Input"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(C.CommentsInput,{textLimit:270,moderationStatus:D.default.PRE_MODERATED,forumId:"dummy",createForum:!1})))}},{key:"header",value:function(){var e=b.default.getSignedOutResponse(),t=b.default.getSignedInResponse(),n=b.default.getSignedInResponseWithUnder16PolicyError();return v.default.createElement(j,{heading:"Header",id:"comments-header"},v.default.createElement(L,null,"Not Signed In"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(C.CommentsTitle,null,"Comments"),v.default.createElement("p",null,"All comments are ",v.default.createElement("a",{href:"#"},"pre-moderated")," and must follow the ",v.default.createElement("a",{href:"#"},"rules"),"."),v.default.createElement(C.IdctaSignInButton,{markup:e.signInButton})),v.default.createElement(L,null,"Signed In"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(C.CommentsTitle,null,"Comments"),v.default.createElement(C.IdctaSignedInMessage,{markup:t.signedInMessage}),v.default.createElement("p",null,"All comments are ",v.default.createElement("a",{href:"#"},"pre-moderated")," and must follow the ",v.default.createElement("a",{href:"#"},"rules"),".")),v.default.createElement(L,null,"Signed In With Policy Error"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(C.CommentsTitle,null,"Comments"),v.default.createElement(C.IdctaSignedInMessage,{markup:n.signedInMessage}),v.default.createElement("p",null,"All comments are ",v.default.createElement("a",{href:"#"},"pre-moderated")," and must follow the ",v.default.createElement("a",{href:"#"},"rules"),".")))}},{key:"footer",value:function(){var e=b.default.getSignedOutResponse(),t=b.default.getSignedInResponse();return v.default.createElement(j,{heading:"Footer",id:"comments-footer"},v.default.createElement(L,null,"Signed In With Comments"),v.default.createElement(C.CommentsFooter,null,v.default.createElement("div",null,v.default.createElement(C.IdctaSignedInMessage,{markup:t.signedInMessage}),v.default.createElement("a",{href:"#"},"Add your comment"))),v.default.createElement(L,null,"Not Signed In With Comments"),v.default.createElement(C.CommentsFooter,null,v.default.createElement("div",null,v.default.createElement(C.IdctaSignInButton,{markup:e.signInButton}))))}},{key:"tabs",value:function(){return v.default.createElement(j,{heading:"Tabs",id:"comments-tabs",className:"comments-styleguide__section--tabs"},v.default.createElement(E.CommentsTabsContainer,null,v.default.createElement(E.CommentsTab,{title:"My Simple Tab"},v.default.createElement("p",null,"Some lovely tab content"))))}},{key:"comment",value:function(){var e=(0,g.moment)(),t={reportUrl:"/#/"},n="/rulesPageUrl";return v.default.createElement(j,{heading:"Comment",id:"comments-comment"},v.default.createElement(L,null,"Username"),v.default.createElement(C.Username,null,"ApricotLaughingIguana"),v.default.createElement(L,null,"Date/Time"),v.default.createElement(C.PostedDate,{timestamp:e.subtract(10,"seconds").format()}),v.default.createElement(C.PostedDate,{timestamp:e.subtract(70,"seconds").format()}),v.default.createElement(C.PostedDate,{timestamp:e.subtract(3,"minutes").format()}),v.default.createElement(C.PostedDate,{timestamp:e.subtract(1,"hour").format()}),v.default.createElement(C.PostedDate,{timestamp:e.subtract(3,"hours").format()}),v.default.createElement(C.PostedDate,{timestamp:e.subtract(1,"day").format()}),v.default.createElement(L,null,"Single line comment"),v.default.createElement(C.Comment,{commentData:{index:0,id:0,isDistressMessage:!1,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a single line comment",status:k.default.PASS},rulesPageUrl:n,idctaData:N}),v.default.createElement(L,null,"Multi-line comment"),v.default.createElement(C.Comment,{commentData:{index:1,id:1,isDistressMessage:!1,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive: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:k.default.PASS},rulesPageUrl:n,idctaData:N}),v.default.createElement(L,null,"Nested Comment"),v.default.createElement(C.CommentsList,{comments:[{index:2,id:2,isDistressMessage:!1,author:{displayName:"ParentOfNestedComment",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is parent of nested comment",status:k.default.PASS,children:[{index:4,id:4,isDistressMessage:!1,author:{displayName:"NestedCommentUser",isNotable:!1,userId:101},dateCreated:"2016-07-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is the nested comment",status:k.default.PASS}]}],rulesPageUrl:n,isRatingEnabled:!0,idctaData:N}),v.default.createElement(L,null,"Notable user comment"),v.default.createElement(C.Comment,{commentData:{index:2,id:2,isDistressMessage:!1,author:{displayName:"HackerTDog",isNotable:!0,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,text:"This is a comment by a notable user.",status:k.default.PASS},rulesPageUrl:n,idctaData:N}),v.default.createElement(L,null,"Distress Message Comment"),v.default.createElement(C.Comment,{commentData:{index:2,id:2,isDistressMessage:!0,author:{displayName:"SomeOwner",isNotable:!1,userId:100},dateCreated:"2014-05-01T10:23:00+00:00",actions:t,text:"This is a comment a distress message",status:k.default.PASS},rulesPageUrl:n,isDistress:!0,idctaData:N}),v.default.createElement(L,null,"Comment with admin links"),v.default.createElement("p",null,'(this causes an React Warning/Error: "checksum was invalid" in the console that you can ignore)'),v.default.createElement("br",null),v.default.createElement(C.Comment,{commentData:{index:0,id:0,isDistressMessage:!1,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a comment with admin links",status:k.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:n,idctaData:N}))}},{key:"commentsList",value:function(){var e={reportUrl:"/#/"},t="/rulesPageUrl",n=function(t,n){var r=t.index,o=t.text,i=(0,g.moment)().subtract(3*(n-r),"minutes").format();return{index:r,isDistressMessage:!1,id:1233+r,key:1233+r,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:i,actions:e,text:o,rating:{positive:0},status:k.default.PASS}},r=3,o=[n({index:2,id:2,text:"This is a single line comment"},r),n({index:1,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({index:0,id:0,text:"&#x1f602;"},r)];return v.default.createElement(j,{heading:"Comments List",id:"comments-list"},v.default.createElement(L,null,"Standard List"),v.default.createElement(C.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,idctaData:N}),v.default.createElement(L,null,"New comments available"),v.default.createElement("div",null,v.default.createElement("div",{className:"comments__show-new-comments-container"},v.default.createElement(C.ShowNewCommentsButton,{newCommentCount:12,onClick:A})),v.default.createElement(C.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,idctaData:N})))}},{key:"alerts",value:function(){return v.default.createElement(j,{heading:"Alerts",id:"comments-alerts"},v.default.createElement(L,null,"Under Character Limit Message"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(C.CommentsTextLimit,{remainingCharacters:2,isTextOverLimit:!1})),v.default.createElement(L,null,"Over Character Limit Message"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(C.CommentsTextLimit,{remainingCharacters:-5,isTextOverLimit:!0})),v.default.createElement(L,null,"Error Message"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(C.CommentsAlert,{type:P.AlertTypes.ERROR},"Sorry, there was a problem. Please refresh your browser and try again.")),v.default.createElement(L,null,"Success Message"),v.default.createElement(C.CommentsHeader,null,v.default.createElement(C.CommentsAlert,{type:P.AlertTypes.SUCCESS},"Thanks, your comment has been posted.")),v.default.createElement(L,null,"Comments Loading"),v.default.createElement(C.CommentsLoading,null))}},{key:"ratings",value:function(){return v.default.createElement(j,{heading:"Ratings",id:"comments-ratings"},v.default.createElement(L,null,"Positive rating"),v.default.createElement("div",null,v.default.createElement(C.PositiveCommentRating,{ratingValue:9,commentIndex:0,commentId:0,shouldDisableHandleClick:!0})),v.default.createElement("div",null,v.default.createElement(C.PositiveCommentRating,{ratingValue:99,commentIndex:0,commentId:0,shouldDisableHandleClick:!0})),v.default.createElement("div",null,v.default.createElement(C.PositiveCommentRating,{ratingValue:999,commentIndex:0,commentId:0,shouldDisableHandleClick:!0})),v.default.createElement(L,null,"Disabled rating"),v.default.createElement(C.PositiveCommentRating,{ratingValue:9,commentIndex:0,commentId:0,isDisabled:!0,shouldDisableHandleClick:!0}))}},{key:"tooltip",value:function(){var e=b.default.getSignedOutResponse();return v.default.createElement(j,{heading:"Tooltip",id:"tool-tip"},v.default.createElement(L,null,"Tooltip"),v.default.createElement("div",{className:"comments-styleguide__tooltip"},v.default.createElement(C.Tooltip,{subtitle:"You must sign in to like comments.",handleClose:A},v.default.createElement(C.IdctaSignInButton,{markup:e.signInButton}))),v.default.createElement("br",null),v.default.createElement("br",null),v.default.createElement("br",null),v.default.createElement("br",null),v.default.createElement("br",null),v.default.createElement("br",null),v.default.createElement("br",null),v.default.createElement("br",null),v.default.createElement(L,null,"Tooltip Launcher"),v.default.createElement(C.TooltipLauncher,{tooltipSubtitle:"You must sign in to like comments.",isTooltipOpen:!1,tooltipBody:v.default.createElement(C.IdctaSignInButton,{markup:e.signInButton})},v.default.createElement(C.CommentsButton,null,"Click me to view Tooltip")))}},{key:"getChildContext",value:function(){return{formatMessage:A,isFeatureEnabled:function(){return!0},apiKey:"styleguide",forumId:"noForum"}}},{key:"render",value:function(){return v.default.createElement("div",{className:"comments-styleguide comments"},this.typography(),this.buttons(),this.alerts(),this.formElements(),this.header(),this.footer(),this.tabs(),this.comment(),this.commentsList(),this.tooltip(),this.ratings())}}]),t}(y.Component);R.displayName="StyleGuideModule",R.propTypes={mode:y.PropTypes.string},R.defaultProps={mode:S.MODE_STANDALONE},R.childContextTypes={formatMessage:y.PropTypes.func.isRequired,isFeatureEnabled:y.PropTypes.func.isRequired,apiKey:y.PropTypes.string.isRequired,forumId:y.PropTypes.string.isRequired},t.StyleGuideModule=R},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(175),i=r(o);t.default={getSignedOutResponse:function(){return i.default.new().signedIn(!1).withSignInButton('<span class="id5-cta__button"><a href="javascript:alert(\'Stubbed IDCTA\')">Sign in</a></span>').build()},getSignedInResponse:function(){return i.default.new().signedIn(!0).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).withSignedInMessage('<span class="id5-cta__policy-error">Sorry, it looks like you’re not the right age to comment.</span>').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(245),s=r(a),u=n(246),l=function(e){return null!==e};t.default=s.default.create({displayName:"CommentsAggregator",getInitialState:function(){return{commentsDataLatestRequestUri:null,commentsDataPaginationRequestUri:null,loadedComments:[],forumData:{},shouldLiveUpdate:!1}},listenerAdded:function(e){if(e.commentsDataUri){var t=(0,i.default)({},e.commentsDataUri);e.nextIndexToLoadFrom>0?(t.startIndex=e.nextIndexToLoadFrom,t.pageSize=e.pageSize,this.state.commentsDataPaginationRequestUri=t):this.state.commentsDataLatestRequestUri=t}this.state.shouldLiveUpdate=e.shouldLiveUpdate},getCommentsDataResponseIfAvailable:function(e){var t=this.getAvailablePayload(e);return t&&200===t.meta.responseCode?t.body:null},processLatestCommentsDataRequest:function(){if(this.state.commentsDataLatestRequestUri){var e=this.getCommentsDataResponseIfAvailable(this.state.commentsDataLatestRequestUri);return e&&(this.state.forumData=(0,u.getUpdatedForumData)(this.state.forumData,e),this.state.loadedComments=(0,u.prependNewComments)(this.state.loadedComments,e.comments)),{uri:this.state.commentsDataLatestRequestUri,requireSuccess:!0,updates:this.state.shouldLiveUpdate}}return null},processPaginatedCommentsDataRequest:function(){if(this.state.commentsDataPaginationRequestUri){var e=this.getCommentsDataResponseIfAvailable(this.state.commentsDataPaginationRequestUri);if(!e)return{uri:this.state.commentsDataPaginationRequestUri,requireSuccess:!0,updates:!1};this.state.loadedComments=(0,u.appendNewComments)(this.state.loadedComments,e.comments),this.state.commentsDataPaginationRequestUri=null}return null},data:function(){var e=this.processLatestCommentsDataRequest(),t=this.processPaginatedCommentsDataRequest();return[e,t].filter(l)},getPayload:function(){var e=this.state,t=e.forumData,n=e.loadedComments;return{meta:{responseCode:200},body:{forumData:t,loadedComments:n}}}}),e.exports=t.default},function(e,t){e.exports={create:function(e){return Morph.createAggregatorWithCaller("bbc-morph-comments-view@1.69.0",e)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,l.pickBy)(e,function(e,t){return(0,c.not)("comments"===t)})}function i(e,t){var n=t[0];return e.some(function(e){return e.index===n.index})}function a(e,t){var n=t[0];return n.index>e[0].index}Object.defineProperty(t,"__esModule",{value:!0}),t.appendNewComments=t.prependNewComments=t.getUpdatedForumData=void 0;var s=n(2),u=r(s),l=n(95),c=n(169);t.getUpdatedForumData=function(e,t){var n=o(t);return(0,u.default)({},n,e,{isClosed:n.isClosed})},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){var n=Array.isArray(t)&&t.length>0;if(n){if(0===e.length)return t.slice();if((0,c.not)(a(e,t))&&(0,c.not)(i(e,t)))return e.concat(t)}return e}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@1.69.0"]={"babel-runtime":"6.26.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"1.31.0","bbc-morph-id-availability-data":"1.0.0","bbc-morph-moment-without-locales":"1.0.0","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","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 o(t){if(r[t])return r[t].exports;var a=r[t]={exports:{},id:t,loaded:!1};return e[t].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}var r={};return o.m=e,o.c=r,o.p="",o(0)}([function(e,o,r){Morph.modules["bbc-morph-comments-view@1.69.0/messages-default"]=r(1)},function(e,o){e.exports={removedComment:'This comment was removed because it broke the rules. <a href="{{rulesUrl}}">Explain</a>',referredComment:'This comment is being double-checked by a moderator. <a href="{{rulesUrl}}">Explain</a>',genericError:"Sorry, there was a problem. Please try again later.",postingEmptyCommentNotAllowed:"You need to write your comment before you post it.",postCommentIdctaError:"Sorry, there was a problem. Please refresh your browser and try again.",postCommentSuccessDefault:"Thanks, your comment has been posted.",postCommentSuccessPremoderated:"Your comment will be checked by a moderator before it appears on the website. This can sometimes take a few hours.",profanityFoundInText:"A profanity has been found in the text. Please remove it to post your comment.",postingToClosedForumNotAllowed:"Sorry, this entry is now closed for comments."}}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-comments-data/apiKey/ab2c9ff4-f244-49bb-8feb-359d090a2fd2/forumId/ownit__where_are_your_photos_going/pageSize/40/version/1.31.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"title":"Comments","idcta":{"policy":"u16comment"},"moderation":{"rulesPageUrl":"\/social\/moderation\/house-rules","status":"pre-moderated"},"comments":[],"totalCommentsCount":0,"commentTextLimit":0,"env":"live","isClosed":true,"displayNameModerationMessage":"","displayNameModerationUrl":"\/cbbc\/findoutmore\/web-help-general-web-faqs#where-is-my-display-name","createForum":true}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-comments-view","apiKey":"ab2c9ff4-f244-49bb-8feb-359d090a2fd2","commentsTitle":"Join the conversation","containerId":"comments","forumId":"ownit__where_are_your_photos_going","idctaEnv":"live","mode":"embedded","signInContext":"cbbc","themeVariant":"childrens","toggleOverrides":"ratings:on,useCloudIdcta:on","version":"1.69.0","_mrrVersion":"2.0.12"},'u9454513287637383'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u9454513287637383 */</script> <script type="text/javascript"> var cookiePolicy = window.bbccookies.readPolicy(); if (true || cookiePolicy.performance) { var _sf_async_config = {"domain":"bbc.co.uk","region":"domestic","uid":50924,"sections":"childrens, stay-safe"}; _sf_async_config.path = window.location.pathname; (function () { function loadChartbeat() { window._sf_endpt = (new Date()).getTime(); var e = document.createElement("script"); e.setAttribute("language", "javascript"); e.setAttribute("type", "text/javascript"); e.setAttribute('src', "//web.archive.org/web/20190205044446/https://static.chartbeat.com/js/chartbeat.js"); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != "function") ? loadChartbeat : function () { oldonload(); loadChartbeat(); }; })(); } </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-cbbc"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.com/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/iplayer/guide/cbbc">CBBC on TV</a></li><li class="orb-nav-cbbchelp orb-d"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/cbbc/curations/cbbc-help">CBBC Help</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/20190205044446/https://advertising.bbcworldwide.com/">Advertise with us<'+'/a><'+'/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.com/usingthebbc/cookies/how-does-the-bbc-use-cookies-for-advertising/">Ad choices<'+'/a><'+'/li>';</script><div class="orb-footer-inner"><ul><li class="orb-footer-terms"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20190205044446/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright &copy; 2019 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/20190205044446/https://www.bbc.co.uk/help/web/links/" class="orb-hilight">Read about our approach to external linking.</a></span></small></div></div></footer></div><script id="orb-js-script" data-assetpath="https://nav.files.bbci.co.uk/orbit/2.0.0-484.dce9fee/" src="https://web.archive.org/web/20190205044446js_/https://nav.files.bbci.co.uk/orbit/2.0.0-484.dce9fee/js/orb.min.js"></script><script type="text/javascript">require(['orb/lib/_$'], function($) { $.ready(function() { initialiseFooter(); }); var scrollCheckTimer; var didScroll; var previousPosition = 0; var delta = 5; var PROMO_SHOW_BREAKPOINT = 1500; var pageLength = 0; 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) { require(['orb/cookies'], function (bbccookies) { var disabledByCookie = (parseInt(bbccookies.get('ckns_nav_promofail')) || 0) >= 3; if (!disabledByCookie) { require(['orb/fig'], function (orbFig) { orbFig.load(function (fig) { if (fig.geo.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/20190205044446/https://navpromo.api.bbci.co.uk', 'cbbc'); }); } 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">/*<![CDATA[*/ require(['orb/fig', 'orb/nav'], function(fig, nav) { fig.load(function(fig) { if (fig.geo.isUK()) { nav.loadJs('https://web.archive.org/web/20190205044446/https://nav.files.bbci.co.uk/orbit/2.0.0-484.dce9fee/js/edr.min.js'); } }); }); /*]]>*/</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">if (window.SEARCHBOX.suppress === false && window.SEARCHBOX.locale && /^en-?.*?/.test(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><!-- 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.analytics.page(); } /*]]>*/</script><noscript><img src="//web.archive.org/web/20190205044446im_/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.currencyProviders.write(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.postWrite(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats === 1 && bbcdotcom.utils && window.location.pathname === '/' && window.bbccookies && bbccookies.readPolicy('performance') ) { var wwhpEdition = bbcdotcom.utils.getMetaPropertyContent('wwhp-edition'); var _sf_async_config={}; /** CONFIGURATION START **/ _sf_async_config.uid = 50924; _sf_async_config.domain = "bbc.co.uk"; _sf_async_config.title = "Homepage"+(wwhpEdition !== '' ? ' - '+wwhpEdition : ''); _sf_async_config.sections = "Homepage"+(wwhpEdition !== '' ? ', Homepage - '+wwhpEdition : ''); _sf_async_config.region = wwhpEdition; _sf_async_config.path = "/"+(wwhpEdition !== '' ? '?'+wwhpEdition : ''); /** CONFIGURATION END **/ (function(){ function loadChartbeat() { window._sf_endpt=(new Date()).getTime(); var e = document.createElement("script"); e.setAttribute("language", "javascript"); e.setAttribute("type", "text/javascript"); e.setAttribute('src', '//web.archive.org/web/20190205044446/https://static.chartbeat.com/js/chartbeat.js'); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != "function") ? loadChartbeat : function() { oldonload(); loadChartbeat(); }; })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyLast = true; }()); /*]]>*/</script></div><!-- BBCDOTCOM all code in page --><script>"use strict";define("orb/cookies-adapter",["orb/cookies"],function(c){function e(e){return c._setPolicy("ads",e),c._setPolicy("personalisation",e),c._setPolicy("performance",e),c._setPolicy("necessary",e)}return{isOrbitEnvironment:function(){return"object"==typeof bbccookies&&"function"!=typeof bbccookies._getCookieName},set:function(e,n){var o=new Date;if(o.setYear(o.getFullYear()+1),this.isOrbitEnvironment())return c.set(e,n,{domain:c._getCurrentDomain(),path:"/",expires:o});var i=window.location.host.match(/(.bbc(?:\.co\.uk))(:\d+)?(\/.*)?$/i),t=e+"="+n+";domain="+(i&&".bbc.co.uk"===i[1]?".bbc.co.uk":".bbc.com")+";path=/;expires="+o.toUTCString()+";";return c.set(t)},get:function(e){return this.isOrbitEnvironment()?c.get(e):c.getCrumb(e)},copyPolicyCookiesCrossDomain:function(e){if(this.isOrbitEnvironment())return c.copyPolicyCookiesCrossDomain(e);e()},setDefaultCookiesSingleDomain:function(){return this.isOrbitEnvironment()?c.setDefaultCookiesSingleDomain():e(!1)},setDefaultCookiesCrossDomain:function(){return this.isOrbitEnvironment()?c.setDefaultCookiesCrossDomain():e(!1)},optInToAllCookiesCrossDomain:function(){if(this.isOrbitEnvironment()){return c.setCookiePolicyCrossDomain({ads:!0,personalisation:!0,performance:!0,necessary:!0})}return e(!0)},isCookiePolicySet:function(){return this.isOrbitEnvironment()?c.isCookiePolicySet():null!==this.get("ckns_policy")}}}),require(["orb/lib/_script","orb/cookies-adapter"],function(s,r){var a="ckns_privacy",b="ckns_explicit",l="1";function t(){var e=r.get(b);return null!==e&&e===l}function u(e,n){e.style.display="none",n.style.display="none"}function d(e,n){t()||(e.style.display="none",n.style.display="block",window.bbcpage.trackRegion(n,{linkLocation:"nav-banner-cookies"}),window.bbcuser.logEvent("view","nav-banner-cookies"))}function c(){var e=document.getElementById("bbcprivacy"),n=document.getElementById("bbccookies");document.getElementById("bbcprivacy-continue-button").addEventListener("click",function(){u(e,n),d(e,n),window.bbcuser.logEvent("click-cta","nav-banner-privacy")}),document.getElementById("bbccookies-continue-button").addEventListener("click",function(){u(e,n),window.bbcuser.logEvent("click-continue","nav-banner-cookies"),r.optInToAllCookiesCrossDomain(),r.set(b,l)});var o,i,t,c=document.getElementById("bbccookies-settings").getElementsByTagName("a")[0];c.addEventListener("click",(o=!1,function(e){o||(r.copyPolicyCookiesCrossDomain(function(){o=!0,c.click()}),r.set(b,l),e.preventDefault())})),null!==r.get(a)?d(e,n):(t=n,(i=e).style.display="block",t.style.display="none",window.bbcpage.trackRegion(i,{linkLocation:"nav-banner-privacy"}),window.bbcuser.logEvent("view","nav-banner-privacy"),r.set(a,"1"))}function k(e,c,r){var n,o,i="https://web.archive.org/web/20190205044446/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-227.124cdf2/cookie-banner//cookie-prompt/",t=i+(o="en","string"==typeof(n=e)&&2<=n.length&&(o=n.trim().substring(0,2).toLowerCase()),-1!==["en","cy","gd","ga"].indexOf(o)?o:"en")+".min.js";window.bbcpage.loadCSS("https://web.archive.org/web/20190205044446/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-227.124cdf2/cookie-banner//cookie-prompt/bbccookies.min.css").then(function(){s.jsonp(t,function(e){var n=e.replace(/<<bbcUrlPrefix>>/g,function(){if(window.orb.bbcUrlPrefix){var e=window.orb.bbcUrlPrefix+"bbc.com",n=window.location.host.match(/(bbc(?:\.co\.uk))(:\d+)?(\/.*)?$/i);return n&&"bbc.co.uk"===n[1]&&(e=e.replace("bbc.com","bbc.co.uk")),e}return""}());document.getElementById("cookiePrompt").innerHTML=n;for(var o=document.querySelectorAll("[data-region-filter]"),i=0;i<o.length;i++){var t=o[i];t.getAttribute("data-region-filter")!==r&&(t.style.display="none")}c()},{callbackName:"cookiePrompt"})})}Promise.all([window.bbcuser.isUKCombined(),window.bbcuser.isEU(),window.bbcpage.getLanguage()]).then(function(e){var n=e[0];if(e[1]||n){var o=null!==r.get(a);if(!(r.isCookiePolicySet()&&t()&&o)){t()||r.set(b,"0"),r.isCookiePolicySet()||r.setDefaultCookiesSingleDomain();var i=n?"gb":"eu";k(e[2],c,i)}}}).catch(function(){k("en",c,"gb")})});</script><script type="text/javascript">"use strict";require(["reverb"],function(t){var n={},o=function(e){return e&&t.setUserInfo(e.bbc_hid,"1"===e.bbc_identity),t.invoke({useAti:!0,atiOpts:n},function(){(window&&window.bbcpage?Promise.all([window.bbcpage.getName(),window.bbcpage.getDestination(),window.bbcpage.getProducer(),window.bbcpage.getSection(),window.bbcpage.getContentId(),window.bbcpage.getContentType(),window.bbcpage.getLanguage(),window.bbcpage.getAdditionalProperties()]).then(function(e){return{name:e[0],destination:e[1],producer:e[2],section:e[3],contentId:e[4],contentType:e[5],language:e[6],additionalProperties:e[7]}}):Promise.resolve(void 0)).then(function(e){e&&(t.setDestination(e.destination),e.producer&&t.setProducer(e.producer),t.trackPage(e))}).catch(function(e){console.log(e)})})};try{if(!require.s.contexts._.config.paths.idcta)return o();require(["idcta/idcta-1"],function(e){var t=e.getIStatsLabels();return o(t)},function(e){throw e})}catch(e){return console&&"function"==typeof console.log&&console.log("an exception occurred while adding idcta labels to Reverb, invoking Reverb without them",e),o()}});</script><script>require(["detectview","parseContentForEvent"],function(t,n){t(["[data-bbc-context]","[data-bbc-container]"],function(t){var e=new CustomEvent("bbc-event",{bubbles:!0,detail:n(t)});t.dispatchEvent(e)})}),require(["pseudoreverb"],function(t){document.addEventListener("bbc-event",t),document.addEventListener("bbc-click-event",t)}),require(["parseContentForEvent","getAtiTag","getParentWithSelector"],function(a,c,u){document.body.addEventListener("click",function(t){var e=c(),n=u(t.target,"[data-bbc-container]"),r=u(t.target,"a");if(n&&r&&e){var i=a(n);i.elem=r,i.originalEvent=t;var o=new CustomEvent("bbc-click-event",{bubbles:!0,detail:i});r.dispatchEvent(o)}})}),define("getParentWithSelector",function(){return Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),function t(e,n){return e.matches(n)?e:!!e.parentElement&&t(e.parentElement,n)}}),define("parseContentForEvent",["getParentWithSelector"],function(i){return function(t){return{container:t.getAttribute("data-bbc-container")||t.getAttribute("data-bbc-context"),title:(n=t,encodeURIComponent(n.getAttribute("data-bbc-title")||n.getAttribute("data-bbc-content-label")||n.innerText.split("\n")[0])),source:(e=t,e.getAttribute("data-bbc-source")||e.innerText.trim().split("\n").pop()),personalisation:function(t){var e=i(t,"[data-bbc-personalisation]");if(e)return JSON.parse(e.getAttribute("data-bbc-personalisation"));var n=i(t,"[data-stats]");if(!n)return{};var r=JSON.parse(n.getAttribute("data-stats"));return{SEG:r.hp_sgm_id+"::"+r.hp_sgm_user_score}}(t),metadata:{},result:function t(e){if(e.hasAttribute("href"))return encodeURIComponent(e.getAttribute("href"));for(var n=e.children,r=0;r<n.length;r++){var i=t(n[r]);if(null!==i)return i}return null}(t)};var e,n}}),define("getAtiTag",function(){var t;return function(){return!t&&window.ATInternet&&(t=new ATInternet.Tracker.Tag({site:"598274"})),t}}),define("pseudoreverb",["getAtiTag"],function(t){function c(t){return"["+t+"]"}return function(o){var a=t();Promise.all([bbcuser.getHashedId(),bbcpage.getName()]).then(function(t){var e,n=t[0],r=t[1];if(a){a.page.set({name:r,level2:"72"});var i={campaignId:c(o.detail.container),creation:c(o.detail.title),generalPlacement:c(r),detailedPlacement:c(n),variant:c((e=o.detail.personalisation,Object.keys(e).map(function(t){return t+"="+e[t]}).join("~"))),url:c(o.detail.result),advertiserId:c(o.detail.source)};"bbc-event"===o.type?(a.publisher.set({impression:i}),a.dispatch()):"bbc-click-event"===o.type&&a.publisher.send({click:i})}else console.log("Error while sending event to ATI; ATInternet object not initialised")})}}),define("detectview",["verge","throttle"],function(f,s){return function(t,i,e){var o=[],n=(e=e||{}).throttleWaitMs||250,a=e.elementViewedFraction||.5,c=e.elementViewedDurationMs||1e3,u=function(t){return-1<o.indexOf(t)},l=function(t,e){var n=f.rectangle(t),r=f.inY(t,n.height*e*-1);return f.inX(t,n.width*e*-1)&&r},d=function(t,e,n,r){l(t,e)&&setTimeout(function(){l(t,e)&&!u(t)&&(o.push(t),r(t))},n)},r=function(){t.forEach(function(t){for(var e=document.querySelectorAll(t),n=0;n<e.length;n++){var r=e[n];u(r)||d(r,a,c,i)}})};r=s(r,n),["scroll","resize","load"].forEach(function(t){window.addEventListener(t,r)}),r()}}),define("throttle",function(){return function(n,r,i){var o,a,c,u=null,l=0;i||(i={});var d=function(){l=!1===i.leading?0:Date.now(),u=null,c=n.apply(o,a),u||(o=a=null)};return function(){var t=Date.now();l||!1!==i.leading||(l=t);var e=r-(t-l);return o=this,a=arguments,e<=0||r<e?(u&&(clearTimeout(u),u=null),l=t,c=n.apply(o,a),u||(o=a=null)):u||!1===i.trailing||(u=setTimeout(d,e)),c}}}),define("verge",[],function(){var t={},n="undefined"!=typeof window&&window,e="undefined"!=typeof document&&document,r=e&&e.documentElement,i=n.matchMedia||n.msMatchMedia,o=i?function(t){return!!i.call(n,t).matches}:function(){return!1},a=t.viewportW=function(){var t=r.clientWidth,e=n.innerWidth;return t<e?e:t},c=t.viewportH=function(){var t=r.clientHeight,e=n.innerHeight;return t<e?e:t};function u(){return{width:a(),height:c()}}function l(t,e){return!(!(t=t&&!t.nodeType?t[0]:t)||1!==t.nodeType)&&(n=t.getBoundingClientRect(),r=+(r=e)||0,(i={}).width=(i.right=n.right+r)-(i.left=n.left-r),i.height=(i.bottom=n.bottom+r)-(i.top=n.top-r),i);var n,r,i}return t.mq=o,t.matchMedia=i?function(){return i.apply(n,arguments)}:function(){return{}},t.viewport=u,t.scrollX=function(){return n.pageXOffset||r.scrollLeft},t.scrollY=function(){return n.pageYOffset||r.scrollTop},t.rectangle=l,t.aspect=function(t){var e=(t=null==t?u():1===t.nodeType?l(t):t).height,n=t.width;return e="function"==typeof e?e.call(t):e,(n="function"==typeof n?n.call(t):n)/e},t.inX=function(t,e){var n=l(t,e);return!!n&&0<=n.right&&n.left<=a()},t.inY=function(t,e){var n=l(t,e);return!!n&&0<=n.bottom&&n.top<=c()},t.inViewport=function(t,e){var n=l(t,e);return!!n&&0<=n.bottom&&0<=n.right&&n.top<=c()&&n.left<=a()},t});</script> </body> </html> <!-- FILE ARCHIVED ON 04:44:46 Feb 05, 2019 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 02:26:23 Feb 26, 2025. 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: 0.701 exclusion.robots: 0.029 exclusion.robots.policy: 0.017 esindex: 0.015 cdx.remote: 7.707 LoadShardBlock: 399.979 (3) PetaboxLoader3.datanode: 412.767 (4) load_resource: 81.819 PetaboxLoader3.resolve: 36.466 -->

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