CINXE.COM

6 ways to cope with uncertainty and change - 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="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://www.bbc.com/ownit/take-control/cope-with-change-uncertainty?collection=coping-with-change","20210116223748","https://web.archive.org/","web","/_static/", "1610836668"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <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/20210116223748js_/https://cdn.optimizely.com/public/4621041136/s/childrens_prod.js"></script> <title>6 ways to cope with uncertainty and change - Own It - BBC</title> <meta name="DCTERMS.title" content="6 ways to cope with uncertainty and change - Own It - BBC"/> <meta name="description" content="It can feel like the world around us (and the rules) keep changing at the moment. Whether it’s new rules at school or local lockdowns in the news. This can leave us all feeling uncertain and worried at times, but it’s important to remember that you're never alone. "/> <meta name="DCTERMS.description" content="It can feel like the world around us (and the rules) keep changing at the moment. Whether it’s new rules at school or local lockdowns in the news. This can leave us all feeling uncertain and worried at times, but it’s important to remember that you're never alone. "/> <meta property="og:title" content="6 ways to cope with uncertainty and change"/> <meta property="og:description" content="It can feel like the world around us (and the rules) keep changing at the moment. Whether it’s new rules at school or local lockdowns in the news. This can leave us all feeling uncertain and worried at times, but it’s important to remember that you're never alone. "/> <meta property="og:image" content="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/stay-safe/copingwithchange.jpg"/> <meta property="og:url" content="https://web.archive.org/web/20210116223748/http://www.bbc.co.uk/ownit/take-control/cope-with-change-uncertainty"/> <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="DCTERMS.created" content="2020-09-11T11:20:00.000Z"/> <meta name="DCTERMS.modified" content="2021-01-05T14:50:24.213Z"/> <link rel="canonical" href="https://web.archive.org/web/20210116223748/https://www.bbc.com/ownit/take-control/cope-with-change-uncertainty"/> <script type="text/javascript"> var _sf_startpt = (new Date()).getTime() </script> <link rel="copyright" href="https://web.archive.org/web/20210116223748/http://www.bbc.co.uk/terms/" title="Terms of Use"/> <link href="/web/20210116223748im_/https://www.bbc.com/ownit/assets/images/favicons/apple-touch-icon.png" rel="apple-touch-icon"/> <link href="/web/20210116223748im_/https://www.bbc.com/ownit/assets/images/favicons/favicon.ico" rel="icon" type="image/x-icon"/> <link href="/web/20210116223748im_/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/20210116223748cs_/https://static.bbci.co.uk/gelstyles/0.11.0/style/core.css"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20210116223748cs_/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/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/7ddf7fa/stylesheets/stay-safe.ie8.min.css"/> <![endif]--> <link rel="stylesheet" type="text/css" href="/web/20210116223748cs_/https://www.bbc.com/ownit/stylesheets/immersive/section/1591629953/7ddf7fa/take-control.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> <script src="https://web.archive.org/web/20210116223748js_/https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/js/require.min.js"></script> <link rel="stylesheet" href="https://web.archive.org/web/20210116223748cs_/https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/css/orb-ltr.min.css"> <!-- Orbit: 3.0.0-1336.8d3528a8 --> <!-- Environment: live --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script> // nav-orbit-pollyfills // Promise polyfill from https://github.com/bramstein/promis (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} function r(a,b){if(a.a==p){if(b==a)throw new TypeError;a.a=1;a.b=b;v(a)}}function v(a){l(function(){if(a.a!=p)for(;a.f.length;){var b=a.f.shift(),c=b[0],d=b[1],e=b[2],b=b[3];try{0==a.a?"function"==typeof c?e(c.call(void 0,a.b)):e(a.b):1==a.a&&("function"==typeof d?e(d.call(void 0,a.b)):b(a.b))}catch(h){b(h)}}})}n.prototype.g=function(a){return this.c(void 0,a)};n.prototype.c=function(a,b){var c=this;return new n(function(d,e){c.f.push([a,b,d,e]);v(c)})}; function w(a){return new n(function(b,c){function d(c){return function(d){h[c]=d;e+=1;e==a.length&&b(h)}}var e=0,h=[];0==a.length&&b(h);for(var k=0;k<a.length;k+=1)u(a[k]).c(d(k),c)})}function x(a){return new n(function(b,c){for(var d=0;d<a.length;d+=1)u(a[d]).c(b,c)})};window.Promise||(window.Promise=n,window.Promise.resolve=u,window.Promise.reject=t,window.Promise.race=x,window.Promise.all=w,window.Promise.prototype.then=n.prototype.c,window.Promise.prototype["catch"]=n.prototype.g);}()); // Polyfill Event constructor for IE ref: https://jira.dev.bbc.co.uk/browse/ORBITEN-919 // see: https://stackoverflow.com/questions/26596123 (function () { if (typeof window.CustomEvent === "function") { return false; } function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: undefined }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.Event = CustomEvent; })(); //Element.prototype.matches polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; } //NodeList.forEach Polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill if (window.NodeList && !NodeList.prototype.forEach) { NodeList.prototype.forEach = Array.prototype.forEach; } // Object.assign polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill if (typeof Object.assign != 'function') { // Must be writable: true, enumerable: false, configurable: true Object.defineProperty(Object, "assign", { value: function assign(target, varArgs) { // .length of function is 2 'use strict'; if (target == null) { // TypeError if undefined or null throw new TypeError('Cannot convert undefined or null to object'); } var to = Object(target); for (var index = 1; index < arguments.length; index++) { var nextSource = arguments[index]; if (nextSource != null) { // Skip over if undefined or null for (var nextKey in nextSource) { // Avoid bugs when hasOwnProperty is shadowed if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) { to[nextKey] = nextSource[nextKey]; } } } } return to; }, writable: true, configurable: true }); } // window.fetch polyfill https://github.com/github/fetch/blob/v0.11.0/fetch.js - chosen for IE9 compatibility if(typeof window.fetch !== 'function') { (function(self){"use strict";if(self.fetch){return}function normalizeName(name){if(typeof name!=="string"){name=String(name)}if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)){throw new TypeError("Invalid character in header field name")}return name.toLowerCase()}function normalizeValue(value){if(typeof value!=="string"){value=String(value)}return value}function Headers(headers){this.map={};if(headers instanceof Headers){headers.forEach(function(value,name){this.append(name,value)},this)}else if(headers){Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var list=this.map[name];if(!list){list=[];this.map[name]=list}list.push(value)};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null};Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]};Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};function consumed(body){if(body.bodyUsed){return Promise.reject(new TypeError("Already read"))}body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader;reader.readAsArrayBuffer(blob);return fileReaderReady(reader)}function readBlobAsText(blob){var reader=new FileReader;reader.readAsText(blob);return fileReaderReady(reader)}var support={blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(typeof body==="string"){this._bodyText=body}else if(support.blob&&Blob.prototype.isPrototypeOf(body)){this._bodyBlob=body}else if(support.formData&&FormData.prototype.isPrototypeOf(body)){this._bodyFormData=body}else if(!body){this._bodyText=""}else if(support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(body)){}else{throw new Error("unsupported BodyInit type")}if(!this.headers.get("content-type")){if(typeof body==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}}};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){return this.blob().then(readBlobAsArrayBuffer)};this.text=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return readBlobAsText(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}}}else{this.text=function(){var rejected=consumed(this);return rejected?rejected:Promise.resolve(this._bodyText)}}if(support.formData){this.formData=function(){return this.text().then(decode)}}this.json=function(){return this.text().then(JSON.parse)};return this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed){throw new TypeError("Already read")}this.url=input.url;this.credentials=input.credentials;if(!options.headers){this.headers=new Headers(input.headers)}this.method=input.method;this.mode=input.mode;if(!body){body=input._bodyInit;input.bodyUsed=true}}else{this.url=input}this.credentials=options.credentials||this.credentials||"omit";if(options.headers||!this.headers){this.headers=new Headers(options.headers)}this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&body){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(body)}Request.prototype.clone=function(){return new Request(this)};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function headers(xhr){var head=new Headers;var pairs=xhr.getAllResponseHeaders().trim().split("\n");pairs.forEach(function(header){var split=header.trim().split(":");var key=split.shift().trim();var value=split.join(":").trim();head.append(key,value)});return head}Body.call(Request.prototype);function Response(bodyInit,options){if(!options){options={}}this.type="default";this.status=options.status;this.ok=this.status>=200&&this.status<300;this.statusText=options.statusText;this.headers=options.headers instanceof Headers?options.headers:new Headers(options.headers);this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1){throw new RangeError("Invalid status code")}return new Response(null,{status:status,headers:{location:url}})};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request;if(Request.prototype.isPrototypeOf(input)&&!init){request=input}else{request=new Request(input,init)}var xhr=new XMLHttpRequest;function responseURL(){if("responseURL"in xhr){return xhr.responseURL}if(/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())){return xhr.getResponseHeader("X-Request-URL")}return}xhr.onload=function(){var status=xhr.status===1223?204:xhr.status;if(status<100||status>599){reject(new TypeError("Network request failed"));return}var options={status:status,statusText:xhr.statusText,headers:headers(xhr),url:responseURL()};var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.open(request.method,request.url,true);if(request.credentials==="include"){xhr.withCredentials=true}if("responseType"in xhr&&support.blob){xhr.responseType="blob"}request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});xhr.send(typeof request._bodyInit==="undefined"?null:request._bodyInit)})};self.fetch.polyfill=true})(typeof self!=="undefined"?self:this); } if (typeof window.CustomEvent !== 'function') { function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: null }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.CustomEvent = CustomEvent; } </script> <script> window.orbitData = {}; var additionalPageProperties = {}; additionalPageProperties['custom_var_1'] = 'none'; additionalPageProperties['custom_var_2'] = 'true'; additionalPageProperties['custom_var_3'] = 'false'; additionalPageProperties['custom_var_4'] = 'coping-with-change'; additionalPageProperties['custom_var_5'] = 'bid-copingwithchange.jpg'; additionalPageProperties['custom_var_6'] = '2020-09-11T11:19:37.185Z'; additionalPageProperties['custom_var_7'] = '2021-01-05T14:50:24.213Z'; additionalPageProperties['custom_var_10'] = 'none'; additionalPageProperties['app_name'] = 'own-it'; window.orbitData.partialCookieOvenUrl = 'https://web.archive.org/web/20210116223748/https://cookie-oven.api.bbc'; window.orbitData.language = 'en'; window.orbitData.language = 'en'; window.orbitData.userProfileUrl = "https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/userprofile"; window.orbitData.modal = false; function generateCountername() { if (window.location.protocol === 'file:') { return 'local.file'; } var pathName = window.location.pathname .replace(/\/$/, "") .replace(/^\//, "") .replace(/\//g, '.'); return pathName + '.page'; } window.orbitData.page = { name: '' || generateCountername(), destination: 'own_it' || null, producer: 'bbc' || null, section: 'take-control' || null, site: '' || null, contentId: 'urn:bbc:isite2:5dbb3196-d0f0-439d-a166-139b8a6344f4' || null, contentType: 'article' || null, edition: '' || null, additionalProperties: additionalPageProperties }; window.orb = { worldwideNavlinks: '<li class="orb-nav-homedotcom"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/">Home</a></li><li class="orb-nav-newsdotcom"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/sport">Sport</a></li><li class="orb-nav-reeldotcom"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/reel">Reel</a></li><li class="orb-nav-worklife"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/worklife">Worklife</a></li><li class="orb-nav-traveldotcom"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/travel">Travel</a></li><li class="orb-nav-future"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/future">Future</a></li><li class="orb-nav-culture"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/culture">Culture</a></li><li class="orb-nav-music"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/culture/music">Music</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/schedules/p00fzl9m">TV</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/weather">Weather</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/sounds">Sounds</a></li>', } function updatePageData(newData) { window.orbitData.page = Object.assign(window.orbitData.page, newData); } document.addEventListener('bbc-page-reset', function(event) { if (event.detail && event.detail.page) { updatePageData(event.detail.page); } document.dispatchEvent(new Event('bbc-page-updated')); }); </script> <script type="text/javascript">!function(){var t={1391:function(t){var r={getName:function(){return Promise.resolve(window.orbitData.page.name)},getLanguage:function(){return Promise.resolve(window.orbitData.language)},getDestination:function(){return Promise.resolve(window.orbitData.page.destination)},getProducer:function(){return Promise.resolve(window.orbitData.page.producer)},getSection:function(){return Promise.resolve(window.orbitData.page.section)},getContentType:function(){return Promise.resolve(window.orbitData.page.contentType)},getContentId:function(){return Promise.resolve(window.orbitData.page.contentId)},getReferrer:function(){return Promise.resolve(window.orb&&null!==window.orb.referrer&&void 0!==window.orb.referrer?window.orb.referrer:document.referrer)},getAdditionalProperties:function(){return Promise.resolve(window.orbitData.page.additionalProperties)},loadCSS:function(t){return new Promise((function(r,e){var n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.onload=function(){r()},n.href=t,document.getElementsByTagName("head")[0].appendChild(n)}))},isModal:function(){return Promise.resolve(window.orbitData.modal)}};window.bbcpage=r,t.exports={bbcpage:r}},9135:function(t){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function n(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function o(t){var r="function"==typeof Map?new Map:void 0;return(o=function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,n)}function n(){return i(t,arguments,c(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,t)})(t)}function i(t,r,e){return(i=u()?Reflect.construct:function(t,r,e){var n=[null];n.push.apply(n,r);var o=new(Function.bind.apply(t,n));return e&&a(o,e.prototype),o}).apply(null,arguments)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function a(t,r){return(a=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var s=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&a(t,r)}(s,t);var r,o,i=(r=s,o=u(),function(){var t,e=c(r);if(o){var i=c(this).constructor;t=Reflect.construct(e,arguments,i)}else t=e.apply(this,arguments);return n(this,t)});function s(){return e(this,s),i.apply(this,arguments)}return s}(o(Error));function f(t){return new Promise((function(r,e){window.require(t,(function(){r.apply(this,arguments)}),(function(t){e(t)}))}))}var l,p=null;function h(){if(window.orbitData&&window.orbitData.user&&["X-Country","X-Ip_is_advertise_combined","X-Ip_is_uk_combined"].every((function(t){return!!window.orbitData.user[t]})))return Promise.resolve(window.orbitData.user);if(!p){var t=window.location.hostname.endsWith(".com")?"com":"co.uk";p=fetch("https://web.archive.org/web/20210116223748/https://www.bbc.".concat(t,"/userinfo")).then((function(t){return t.json()}))}return p}function d(t){if(t.status>=200&&t.status<300)return t;var r=new Error(t.statusText);throw r.response=t,r}function v(t){return t.json()}function y(){if(window.orbitData.user&&window.orbitData.user.ageBand)return Promise.resolve(window.orbitData.user);if(!l){if("undefined"==typeof XMLHttpRequest||!("withCredentials"in new XMLHttpRequest))return Promise.resolve(window.orbitData.user);l=f(["idcta-v2/idcta-1"]).then((function(t){return t.initiateTokenRefresh().then((function(){return window.fetch(window.orbitData.userProfileUrl,{credentials:"include"}).then(d).then(v).then((function(t){return void 0===window.orbitData.user?window.orbitData.user=t:Object.assign(window.orbitData.user,t),window.orbitData.user}))}))}))}return l}var g={getHashedId:function(){return f(["idcta-v2/idcta-1"]).then((function(t){return t.getCookieInstance().getHidFromCookie()}))},isSignedIn:function(){return f(["idcta-v2/idcta-1"]).then((function(t){return t&&t.getCookieInstance().hasCookie()}))},getCountry:function(){return h().then((function(t){return t["X-Country"]||"gb"}))},isUKCombined:function(){return h().then((function(t){if(!t["X-Ip_is_uk_combined"])throw new s("missing isUKCombined from userinfo response");return"yes"===t["X-Ip_is_uk_combined"].toLowerCase()}))},canSeeAdverts:function(){return h().then((function(t){if(!t["X-Ip_is_advertise_combined"])throw new s("missing canSeeAdverts from userinfo response");return"yes"===t["X-Ip_is_advertise_combined"].toLowerCase()}))},getAgeBand:function(){return h().then((function(t){return t["X-Age-Band"]?Promise.resolve(t["X-Age-Band"]):g.isSignedIn().then((function(r){if(r)return y().then((function(r){return t["X-Age-Band"]=r["X-Age-Band"],t["X-Age-Band"]||void 0})).catch((function(r){return t["X-Age-Band"]||void 0}))}))}))},allowsPerformanceCookies:function(){return f(["orb/cookies"]).then((function(t){return!!t.cookiesEnabled()&&!!t.readPolicy("performance")}))},allowsFunctionalCookies:function(){return f(["orb/cookies"]).then((function(t){return!!t.cookiesEnabled()&&!!t.readPolicy("personalisation")}))},getCookieValue:function(t){return f(["orb/cookies"]).then((function(r){return r.get(t)}))}};window.bbcuser=g,t.exports={bbcuser:g,BBCUserError:s}},7633:function(t,r,e){e(1539),e(8783),e(3948),e(8674),e(7922),e(7727);var n=e(857);t.exports=n.Promise},1111:function(t,r,e){e(4916),e(4953),e(8992),e(9841),e(7852),e(2023),e(4723),e(6373),e(6528),e(3112),e(2481),e(5306),e(4765),e(3123),e(3157),e(3210),e(5674),e(8702),e(8783),e(5218),e(4475),e(7929),e(915),e(9253),e(2125),e(8830),e(8734),e(9254),e(7268),e(7397),e(86),e(623);var n=e(857);t.exports=n.String},3099:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:function(t,r,e){var n=e(111);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:function(t,r,e){var n=e(5112),o=e(30),i=e(3070),u=n("unscopables"),a=Array.prototype;null==a[u]&&i.f(a,u,{configurable:!0,value:o(null)}),t.exports=function(t){a[u][t]=!0}},1530:function(t,r,e){"use strict";var n=e(8710).charAt;t.exports=function(t,r,e){return r+(e?n(t,r).length:1)}},5787:function(t){t.exports=function(t,r,e){if(!(t instanceof r))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return t}},9670:function(t,r,e){var n=e(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},1318:function(t,r,e){var n=e(5656),o=e(7466),i=e(1400),u=function(t){return function(r,e,u){var a,c=n(r),s=o(c.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},3411:function(t,r,e){var n=e(9670);t.exports=function(t,r,e,o){try{return o?r(n(e)[0],e[1]):r(e)}catch(r){var i=t.return;throw void 0!==i&&n(i.call(t)),r}}},7072:function(t,r,e){var n=e(5112)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},4326:function(t){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},648:function(t,r,e){var n=e(1694),o=e(4326),i=e(5112)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),i))?e:u?o(r):"Object"==(n=o(r))&&"function"==typeof r.callee?"Arguments":n}},9920:function(t,r,e){var n=e(6656),o=e(3887),i=e(1236),u=e(3070);t.exports=function(t,r){for(var e=o(r),a=u.f,c=i.f,s=0;s<e.length;s++){var f=e[s];n(t,f)||a(t,f,c(r,f))}}},4964:function(t,r,e){var n=e(5112)("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,"/./"[t](r)}catch(t){}}return!1}},8544:function(t,r,e){var n=e(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4230:function(t,r,e){var n=e(4488),o=/"/g;t.exports=function(t,r,e,i){var u=String(n(t)),a="<"+r;return""!==e&&(a+=" "+e+'="'+String(i).replace(o,"&quot;")+'"'),a+">"+u+"</"+r+">"}},4994:function(t,r,e){"use strict";var n=e(3383).IteratorPrototype,o=e(30),i=e(9114),u=e(8003),a=e(7497),c=function(){return this};t.exports=function(t,r,e){var s=r+" Iterator";return t.prototype=o(n,{next:i(1,e)}),u(t,s,!1,!0),a[s]=c,t}},8880:function(t,r,e){var n=e(9781),o=e(3070),i=e(9114);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},9114:function(t){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},654:function(t,r,e){"use strict";var n=e(2109),o=e(4994),i=e(9518),u=e(7674),a=e(8003),c=e(8880),s=e(1320),f=e(5112),l=e(1913),p=e(7497),h=e(3383),d=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g="keys",b="values",m="entries",w=function(){return this};t.exports=function(t,r,e,f,h,x,S){o(e,r,f);var E,_,O,T=function(t){if(t===h&&R)return R;if(!v&&t in A)return A[t];switch(t){case g:case b:case m:return function(){return new e(this,t)}}return function(){return new e(this)}},P=r+" Iterator",j=!1,A=t.prototype,I=A[y]||A["@@iterator"]||h&&A[h],R=!v&&I||T(h),L="Array"==r&&A.entries||I;if(L&&(E=i(L.call(new t)),d!==Object.prototype&&E.next&&(l||i(E)===d||(u?u(E,d):"function"!=typeof E[y]&&c(E,y,w)),a(E,P,!0,!0),l&&(p[P]=w))),h==b&&I&&I.name!==b&&(j=!0,R=function(){return I.call(this)}),l&&!S||A[y]===R||c(A,y,R),p[r]=R,h)if(_={values:T(b),keys:x?R:T(g),entries:T(m)},S)for(O in _)(v||j||!(O in A))&&s(A,O,_[O]);else n({target:r,proto:!0,forced:v||j},_);return _}},9781:function(t,r,e){var n=e(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,r,e){var n=e(7854),o=e(111),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},8324:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6833:function(t,r,e){var n=e(8113);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},8113:function(t,r,e){var n=e(5005);t.exports=n("navigator","userAgent")||""},7392:function(t,r,e){var n,o,i=e(7854),u=e(8113),a=i.process,c=a&&a.versions,s=c&&c.v8;s?o=(n=s.split("."))[0]+n[1]:u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,r,e){var n=e(7854),o=e(1236).f,i=e(8880),u=e(1320),a=e(3505),c=e(9920),s=e(4705);t.exports=function(t,r){var e,f,l,p,h,d=t.target,v=t.global,y=t.stat;if(e=v?n:y?n[d]||a(d,{}):(n[d]||{}).prototype)for(f in r){if(p=r[f],l=t.noTargetGet?(h=o(e,f))&&h.value:e[f],!s(v?f:d+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(e,f,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,r,e){"use strict";e(4916);var n=e(1320),o=e(7293),i=e(5112),u=e(2261),a=e(8880),c=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,r,e,l){var d=i(t),v=!o((function(){var r={};return r[d]=function(){return 7},7!=""[t](r)})),y=v&&!o((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[c]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return r=!0,null},e[d](""),!r}));if(!v||!y||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var g=/./[d],b=e(d,""[t],(function(t,r,e,n,o){return r.exec===u?v&&!o?{done:!0,value:g.call(r,e,n)}:{done:!0,value:t.call(e,r,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),m=b[0],w=b[1];n(String.prototype,t,m),n(RegExp.prototype,d,2==r?function(t,r){return w.call(t,this,r)}:function(t){return w.call(t,this)})}l&&a(RegExp.prototype[d],"sham",!0)}},9974:function(t,r,e){var n=e(3099);t.exports=function(t,r,e){if(n(t),void 0===r)return t;switch(e){case 0:return function(){return t.call(r)};case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}}},5005:function(t,r,e){var n=e(857),o=e(7854),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][r]||o[t]&&o[t][r]}},1246:function(t,r,e){var n=e(648),o=e(7497),i=e(5112)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},7854:function(t,r,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||Function("return this")()},6656:function(t){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},3501:function(t){t.exports={}},842:function(t,r,e){var n=e(7854);t.exports=function(t,r){var e=n.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,r))}},490:function(t,r,e){var n=e(5005);t.exports=n("document","documentElement")},4664:function(t,r,e){var n=e(9781),o=e(7293),i=e(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,r,e){var n=e(7293),o=e(4326),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},2788:function(t,r,e){var n=e(5465),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},9909:function(t,r,e){var n,o,i,u=e(8536),a=e(7854),c=e(111),s=e(8880),f=e(6656),l=e(6200),p=e(3501),h=a.WeakMap;if(u){var d=new h,v=d.get,y=d.has,g=d.set;n=function(t,r){return g.call(d,t,r),r},o=function(t){return v.call(d,t)||{}},i=function(t){return y.call(d,t)}}else{var b=l("state");p[b]=!0,n=function(t,r){return s(t,b,r),r},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!c(r)||(e=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},7659:function(t,r,e){var n=e(5112),o=e(7497),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},4705:function(t,r,e){var n=e(7293),o=/#|\.prototype\./,i=function(t,r){var e=a[u(t)];return e==s||e!=c&&("function"==typeof r?n(r):!!r)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:function(t){t.exports=!1},7850:function(t,r,e){var n=e(111),o=e(4326),i=e(5112)("match");t.exports=function(t){var r;return n(t)&&(void 0!==(r=t[i])?!!r:"RegExp"==o(t))}},408:function(t,r,e){var n=e(9670),o=e(7659),i=e(7466),u=e(9974),a=e(1246),c=e(3411),s=function(t,r){this.stopped=t,this.result=r};(t.exports=function(t,r,e,f,l){var p,h,d,v,y,g,b,m=u(r,e,f?2:1);if(l)p=t;else{if("function"!=typeof(h=a(t)))throw TypeError("Target is not iterable");if(o(h)){for(d=0,v=i(t.length);v>d;d++)if((y=f?m(n(b=t[d])[0],b[1]):m(t[d]))&&y instanceof s)return y;return new s(!1)}p=h.call(t)}for(g=p.next;!(b=g.call(p)).done;)if("object"==typeof(y=c(p,m,b.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},3383:function(t,r,e){"use strict";var n,o,i,u=e(9518),a=e(8880),c=e(6656),s=e(5112),f=e(1913),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),f||c(n,l)||a(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},7497:function(t){t.exports={}},5948:function(t,r,e){var n,o,i,u,a,c,s,f,l=e(7854),p=e(1236).f,h=e(4326),d=e(261).set,v=e(6833),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,b=l.Promise,m="process"==h(g),w=p(l,"queueMicrotask"),x=w&&w.value;x||(n=function(){var t,r;for(m&&(t=g.domain)&&t.exit();o;){r=o.fn,o=o.next;try{r()}catch(t){throw o?u():i=void 0,t}}i=void 0,t&&t.enter()},m?u=function(){g.nextTick(n)}:y&&!v?(a=!0,c=document.createTextNode(""),new y(n).observe(c,{characterData:!0}),u=function(){c.data=a=!a}):b&&b.resolve?(s=b.resolve(void 0),f=s.then,u=function(){f.call(s,n)}):u=function(){d.call(l,n)}),t.exports=x||function(t){var r={fn:t,next:void 0};i&&(i.next=r),o||(o=r,u()),i=r}},3366:function(t,r,e){var n=e(7854);t.exports=n.Promise},133:function(t,r,e){var n=e(7293);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},8536:function(t,r,e){var n=e(7854),o=e(2788),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},8523:function(t,r,e){"use strict";var n=e(3099),o=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n})),this.resolve=n(r),this.reject=n(e)};t.exports.f=function(t){return new o(t)}},3929:function(t,r,e){var n=e(7850);t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},30:function(t,r,e){var n,o=e(9670),i=e(6048),u=e(748),a=e(3501),c=e(490),s=e(317),f=e(6200),l=f("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"</"+"script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,r;d=n?function(t){t.write(h("")),t.close();var r=t.parentWindow.Object;return t=null,r}(n):((r=s("iframe")).style.display="none",c.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var e=u.length;e--;)delete d.prototype[u[e]];return d()};a[l]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=d(),void 0===r?e:i(e,r)}},6048:function(t,r,e){var n=e(9781),o=e(3070),i=e(9670),u=e(1956);t.exports=n?Object.defineProperties:function(t,r){i(t);for(var e,n=u(r),a=n.length,c=0;a>c;)o.f(t,e=n[c++],r[e]);return t}},3070:function(t,r,e){var n=e(9781),o=e(4664),i=e(9670),u=e(7593),a=Object.defineProperty;r.f=n?a:function(t,r,e){if(i(t),r=u(r,!0),i(e),o)try{return a(t,r,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},1236:function(t,r,e){var n=e(9781),o=e(5296),i=e(9114),u=e(5656),a=e(7593),c=e(6656),s=e(4664),f=Object.getOwnPropertyDescriptor;r.f=n?f:function(t,r){if(t=u(t),r=a(r,!0),s)try{return f(t,r)}catch(t){}if(c(t,r))return i(!o.f.call(t,r),t[r])}},8006:function(t,r,e){var n=e(6324),o=e(748).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:function(t,r){r.f=Object.getOwnPropertySymbols},9518:function(t,r,e){var n=e(6656),o=e(7908),i=e(6200),u=e(8544),a=i("IE_PROTO"),c=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},6324:function(t,r,e){var n=e(6656),o=e(5656),i=e(1318).indexOf,u=e(3501);t.exports=function(t,r){var e,a=o(t),c=0,s=[];for(e in a)!n(u,e)&&n(a,e)&&s.push(e);for(;r.length>c;)n(a,e=r[c++])&&(~i(s,e)||s.push(e));return s}},1956:function(t,r,e){var n=e(6324),o=e(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:function(t,r){"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},7674:function(t,r,e){var n=e(9670),o=e(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return n(e),o(i),r?t.call(e,i):e.__proto__=i,e}}():void 0)},288:function(t,r,e){"use strict";var n=e(1694),o=e(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},3887:function(t,r,e){var n=e(5005),o=e(8006),i=e(5181),u=e(9670);t.exports=n("Reflect","ownKeys")||function(t){var r=o.f(u(t)),e=i.f;return e?r.concat(e(t)):r}},857:function(t,r,e){var n=e(7854);t.exports=n},2534:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9478:function(t,r,e){var n=e(9670),o=e(111),i=e(8523);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise}},2248:function(t,r,e){var n=e(1320);t.exports=function(t,r,e){for(var o in r)n(t,o,r[o],e);return t}},1320:function(t,r,e){var n=e(7854),o=e(8880),i=e(6656),u=e(3505),a=e(2788),c=e(9909),s=c.get,f=c.enforce,l=String(String).split("String");(t.exports=function(t,r,e,a){var c=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof e&&("string"!=typeof r||i(e,"name")||o(e,"name",r),f(e).source=l.join("string"==typeof r?r:"")),t!==n?(c?!p&&t[r]&&(s=!0):delete t[r],s?t[r]=e:o(t,r,e)):s?t[r]=e:u(r,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||a(this)}))},7651:function(t,r,e){var n=e(4326),o=e(2261);t.exports=function(t,r){var e=t.exec;if("function"==typeof e){var i=e.call(t,r);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,r)}},2261:function(t,r,e){"use strict";var n,o,i=e(7066),u=e(2999),a=RegExp.prototype.exec,c=String.prototype.replace,s=a,f=(n=/a/,o=/b*/g,a.call(n,"a"),a.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),l=u.UNSUPPORTED_Y||u.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(s=function(t){var r,e,n,o,u=this,s=l&&u.sticky,h=i.call(u),d=u.source,v=0,y=t;return s&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),y=String(t).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==t[u.lastIndex-1])&&(d="(?: "+d+")",y=" "+y,v++),e=new RegExp("^(?:"+d+")",h)),p&&(e=new RegExp("^"+d+"$(?!\\s)",h)),f&&(r=u.lastIndex),n=a.call(s?e:u,y),s?n?(n.input=n.input.slice(v),n[0]=n[0].slice(v),n.index=u.lastIndex,u.lastIndex+=n[0].length):u.lastIndex=0:f&&n&&(u.lastIndex=u.global?n.index+n[0].length:r),p&&n&&n.length>1&&c.call(n[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=s},7066:function(t,r,e){"use strict";var n=e(9670);t.exports=function(){var t=n(this),r="";return t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.sticky&&(r+="y"),r}},2999:function(t,r,e){"use strict";var n=e(7293);function o(t,r){return RegExp(t,r)}r.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),r.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},4488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},6029:function(t){t.exports=Object.is||function(t,r){return t===r?0!==t||1/t==1/r:t!=t&&r!=r}},3505:function(t,r,e){var n=e(7854),o=e(8880);t.exports=function(t,r){try{o(n,t,r)}catch(e){n[t]=r}return r}},6340:function(t,r,e){"use strict";var n=e(5005),o=e(3070),i=e(5112),u=e(9781),a=i("species");t.exports=function(t){var r=n(t),e=o.f;u&&r&&!r[a]&&e(r,a,{configurable:!0,get:function(){return this}})}},8003:function(t,r,e){var n=e(3070).f,o=e(6656),i=e(5112)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},6200:function(t,r,e){var n=e(2309),o=e(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,r,e){var n=e(7854),o=e(3505),i="__core-js_shared__",u=n[i]||o(i,{});t.exports=u},2309:function(t,r,e){var n=e(1913),o=e(5465);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},6707:function(t,r,e){var n=e(9670),o=e(3099),i=e(5112)("species");t.exports=function(t,r){var e,u=n(t).constructor;return void 0===u||null==(e=n(u)[i])?r:o(e)}},3429:function(t,r,e){var n=e(7293);t.exports=function(t){return n((function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3}))}},8710:function(t,r,e){var n=e(9958),o=e(4488),i=function(t){return function(r,e){var i,u,a=String(o(r)),c=n(e),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},4986:function(t,r,e){var n=e(8113);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},6650:function(t,r,e){var n=e(7466),o=e(8415),i=e(4488),u=Math.ceil,a=function(t){return function(r,e,a){var c,s,f=String(i(r)),l=f.length,p=void 0===a?" ":String(a),h=n(e);return h<=l||""==p?f:(c=h-l,(s=o.call(p,u(c/p.length))).length>c&&(s=s.slice(0,c)),t?f+s:s+f)}};t.exports={start:a(!1),end:a(!0)}},8415:function(t,r,e){"use strict";var n=e(9958),o=e(4488);t.exports="".repeat||function(t){var r=String(o(this)),e="",i=n(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(r+=r))1&i&&(e+=r);return e}},6091:function(t,r,e){var n=e(7293),o=e(1361);t.exports=function(t){return n((function(){return!!o[t]()||"​…᠎"!="​…᠎"[t]()||o[t].name!==t}))}},3111:function(t,r,e){var n=e(4488),o="["+e(1361)+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),a=function(t){return function(r){var e=String(n(r));return 1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(u,"")),e}};t.exports={start:a(1),end:a(2),trim:a(3)}},261:function(t,r,e){var n,o,i,u=e(7854),a=e(7293),c=e(4326),s=e(9974),f=e(490),l=e(317),p=e(6833),h=u.location,d=u.setImmediate,v=u.clearImmediate,y=u.process,g=u.MessageChannel,b=u.Dispatch,m=0,w={},x="onreadystatechange",S=function(t){if(w.hasOwnProperty(t)){var r=w[t];delete w[t],r()}},E=function(t){return function(){S(t)}},_=function(t){S(t.data)},O=function(t){u.postMessage(t+"",h.protocol+"//"+h.host)};d&&v||(d=function(t){for(var r=[],e=1;arguments.length>e;)r.push(arguments[e++]);return w[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,r)},n(m),m},v=function(t){delete w[t]},"process"==c(y)?n=function(t){y.nextTick(E(t))}:b&&b.now?n=function(t){b.now(E(t))}:g&&!p?(i=(o=new g).port2,o.port1.onmessage=_,n=s(i.postMessage,i,1)):!u.addEventListener||"function"!=typeof postMessage||u.importScripts||a(O)||"file:"===h.protocol?n=x in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),S(t)}}:function(t){setTimeout(E(t),0)}:(n=O,u.addEventListener("message",_,!1))),t.exports={set:d,clear:v}},1400:function(t,r,e){var n=e(9958),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},5656:function(t,r,e){var n=e(8361),o=e(4488);t.exports=function(t){return n(o(t))}},9958:function(t){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},7466:function(t,r,e){var n=e(9958),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:function(t,r,e){var n=e(4488);t.exports=function(t){return Object(n(t))}},7593:function(t,r,e){var n=e(111);t.exports=function(t,r){if(!n(t))return t;var e,o;if(r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!n(o=e.call(t)))return o;if(!r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},1694:function(t,r,e){var n={};n[e(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},9711:function(t){var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},3307:function(t,r,e){var n=e(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,r,e){var n=e(7854),o=e(2309),i=e(6656),u=e(9711),a=e(133),c=e(3307),s=o("wks"),f=n.Symbol,l=c?f:f&&f.withoutSetter||u;t.exports=function(t){return i(s,t)||(a&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},1361:function(t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},6992:function(t,r,e){"use strict";var n=e(5656),o=e(1223),i=e(7497),u=e(9909),a=e(654),c="Array Iterator",s=u.set,f=u.getterFor(c);t.exports=a(Array,"Array",(function(t,r){s(this,{type:c,target:n(t),index:0,kind:r})}),(function(){var t=f(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:n,done:!1}:"values"==e?{value:r[n],done:!1}:{value:[n,r[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1539:function(t,r,e){var n=e(1694),o=e(1320),i=e(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},7922:function(t,r,e){"use strict";var n=e(2109),o=e(3099),i=e(8523),u=e(2534),a=e(408);n({target:"Promise",stat:!0},{allSettled:function(t){var r=this,e=i.f(r),n=e.resolve,c=e.reject,s=u((function(){var e=o(r.resolve),i=[],u=0,c=1;a(t,(function(t){var o=u++,a=!1;i.push(void 0),c++,e.call(r,t).then((function(t){a||(a=!0,i[o]={status:"fulfilled",value:t},--c||n(i))}),(function(t){a||(a=!0,i[o]={status:"rejected",reason:t},--c||n(i))}))})),--c||n(i)}));return s.error&&c(s.value),e.promise}})},7727:function(t,r,e){"use strict";var n=e(2109),o=e(1913),i=e(3366),u=e(7293),a=e(5005),c=e(6707),s=e(9478),f=e(1320);n({target:"Promise",proto:!0,real:!0,forced:!!i&&u((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var r=c(this,a("Promise")),e="function"==typeof t;return this.then(e?function(e){return s(r,t()).then((function(){return e}))}:t,e?function(e){return s(r,t()).then((function(){throw e}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||f(i.prototype,"finally",a("Promise").prototype.finally)},8674:function(t,r,e){"use strict";var n,o,i,u,a=e(2109),c=e(1913),s=e(7854),f=e(5005),l=e(3366),p=e(1320),h=e(2248),d=e(8003),v=e(6340),y=e(111),g=e(3099),b=e(5787),m=e(4326),w=e(2788),x=e(408),S=e(7072),E=e(6707),_=e(261).set,O=e(5948),T=e(9478),P=e(842),j=e(8523),A=e(2534),I=e(9909),R=e(4705),L=e(5112),k=e(7392),C=L("species"),D="Promise",B=I.get,U=I.set,F=I.getterFor(D),M=l,N=s.TypeError,G=s.document,X=s.process,H=f("fetch"),$=j.f,q=$,W="process"==m(X),V=!!(G&&G.createEvent&&s.dispatchEvent),z="unhandledrejection",K=R(D,(function(){if(!(w(M)!==String(M))){if(66===k)return!0;if(!W&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!M.prototype.finally)return!0;if(k>=51&&/native code/.test(M))return!1;var t=M.resolve(1),r=function(t){t((function(){}),(function(){}))};return(t.constructor={})[C]=r,!(t.then((function(){}))instanceof r)})),Y=K||!S((function(t){M.all(t).catch((function(){}))})),J=function(t){var r;return!(!y(t)||"function"!=typeof(r=t.then))&&r},Q=function(t,r,e){if(!r.notified){r.notified=!0;var n=r.reactions;O((function(){for(var o=r.value,i=1==r.state,u=0;n.length>u;){var a,c,s,f=n[u++],l=i?f.ok:f.fail,p=f.resolve,h=f.reject,d=f.domain;try{l?(i||(2===r.rejection&&et(t,r),r.rejection=1),!0===l?a=o:(d&&d.enter(),a=l(o),d&&(d.exit(),s=!0)),a===f.promise?h(N("Promise-chain cycle")):(c=J(a))?c.call(a,p,h):p(a)):h(o)}catch(t){d&&!s&&d.exit(),h(t)}}r.reactions=[],r.notified=!1,e&&!r.rejection&&tt(t,r)}))}},Z=function(t,r,e){var n,o;V?((n=G.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:r,reason:e},(o=s["on"+t])?o(n):t===z&&P("Unhandled promise rejection",e)},tt=function(t,r){_.call(s,(function(){var e,n=r.value;if(rt(r)&&(e=A((function(){W?X.emit("unhandledRejection",n,t):Z(z,t,n)})),r.rejection=W||rt(r)?2:1,e.error))throw e.value}))},rt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,r){_.call(s,(function(){W?X.emit("rejectionHandled",t):Z("rejectionhandled",t,r.value)}))},nt=function(t,r,e,n){return function(o){t(r,e,o,n)}},ot=function(t,r,e,n){r.done||(r.done=!0,n&&(r=n),r.value=e,r.state=2,Q(t,r,!0))},it=function(t,r,e,n){if(!r.done){r.done=!0,n&&(r=n);try{if(t===e)throw N("Promise can't be resolved itself");var o=J(e);o?O((function(){var n={done:!1};try{o.call(e,nt(it,t,n,r),nt(ot,t,n,r))}catch(e){ot(t,n,e,r)}})):(r.value=e,r.state=1,Q(t,r,!1))}catch(e){ot(t,{done:!1},e,r)}}};K&&(M=function(t){b(this,M,D),g(t),n.call(this);var r=B(this);try{t(nt(it,this,r),nt(ot,this,r))}catch(t){ot(this,r,t)}},(n=function(t){U(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(M.prototype,{then:function(t,r){var e=F(this),n=$(E(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof r&&r,n.domain=W?X.domain:void 0,e.parent=!0,e.reactions.push(n),0!=e.state&&Q(this,e,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,r=B(t);this.promise=t,this.resolve=nt(it,t,r),this.reject=nt(ot,t,r)},j.f=$=function(t){return t===M||t===i?new o(t):q(t)},c||"function"!=typeof l||(u=l.prototype.then,p(l.prototype,"then",(function(t,r){var e=this;return new M((function(t,r){u.call(e,t,r)})).then(t,r)}),{unsafe:!0}),"function"==typeof H&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return T(M,H.apply(s,arguments))}}))),a({global:!0,wrap:!0,forced:K},{Promise:M}),d(M,D,!1,!0),v(D),i=f(D),a({target:D,stat:!0,forced:K},{reject:function(t){var r=$(this);return r.reject.call(void 0,t),r.promise}}),a({target:D,stat:!0,forced:c||K},{resolve:function(t){return T(c&&this===i?M:this,t)}}),a({target:D,stat:!0,forced:Y},{all:function(t){var r=this,e=$(r),n=e.resolve,o=e.reject,i=A((function(){var e=g(r.resolve),i=[],u=0,a=1;x(t,(function(t){var c=u++,s=!1;i.push(void 0),a++,e.call(r,t).then((function(t){s||(s=!0,i[c]=t,--a||n(i))}),o)})),--a||n(i)}));return i.error&&o(i.value),e.promise},race:function(t){var r=this,e=$(r),n=e.reject,o=A((function(){var o=g(r.resolve);x(t,(function(t){o.call(r,t).then(e.resolve,n)}))}));return o.error&&n(o.value),e.promise}})},4916:function(t,r,e){"use strict";var n=e(2109),o=e(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5218:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},4475:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("big")},{big:function(){return o(this,"big","","")}})},7929:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("blink")},{blink:function(){return o(this,"blink","","")}})},915:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("bold")},{bold:function(){return o(this,"b","","")}})},9841:function(t,r,e){"use strict";var n=e(2109),o=e(8710).codeAt;n({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},7852:function(t,r,e){"use strict";var n,o=e(2109),i=e(1236).f,u=e(7466),a=e(3929),c=e(4488),s=e(4964),f=e(1913),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!!(f||h||(n=i(String.prototype,"endsWith"),!n||n.writable))&&!h},{endsWith:function(t){var r=String(c(this));a(t);var e=arguments.length>1?arguments[1]:void 0,n=u(r.length),o=void 0===e?n:p(u(e),n),i=String(t);return l?l.call(r,i,o):r.slice(o-i.length,o)===i}})},9253:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("fixed")},{fixed:function(){return o(this,"tt","","")}})},2125:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},8830:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},4953:function(t,r,e){var n=e(2109),o=e(1400),i=String.fromCharCode,u=String.fromCodePoint;n({target:"String",stat:!0,forced:!!u&&1!=u.length},{fromCodePoint:function(t){for(var r,e=[],n=arguments.length,u=0;n>u;){if(r=+arguments[u++],o(r,1114111)!==r)throw RangeError(r+" is not a valid code point");e.push(r<65536?i(r):i(55296+((r-=65536)>>10),r%1024+56320))}return e.join("")}})},2023:function(t,r,e){"use strict";var n=e(2109),o=e(3929),i=e(4488);n({target:"String",proto:!0,forced:!e(4964)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},8734:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("italics")},{italics:function(){return o(this,"i","","")}})},8783:function(t,r,e){"use strict";var n=e(8710).charAt,o=e(9909),i=e(654),u="String Iterator",a=o.set,c=o.getterFor(u);i(String,"String",(function(t){a(this,{type:u,string:String(t),index:0})}),(function(){var t,r=c(this),e=r.string,o=r.index;return o>=e.length?{value:void 0,done:!0}:(t=n(e,o),r.index+=t.length,{value:t,done:!1})}))},9254:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("link")},{link:function(t){return o(this,"a","href",t)}})},6373:function(t,r,e){"use strict";var n=e(2109),o=e(4994),i=e(4488),u=e(7466),a=e(3099),c=e(9670),s=e(4326),f=e(7850),l=e(7066),p=e(8880),h=e(7293),d=e(5112),v=e(6707),y=e(1530),g=e(9909),b=e(1913),m=d("matchAll"),w="RegExp String",x="RegExp String Iterator",S=g.set,E=g.getterFor(x),_=RegExp.prototype,O=_.exec,T="".matchAll,P=!!T&&!h((function(){"a".matchAll(/./)})),j=o((function(t,r,e,n){S(this,{type:x,regexp:t,string:r,global:e,unicode:n,done:!1})}),w,(function(){var t=E(this);if(t.done)return{value:void 0,done:!0};var r=t.regexp,e=t.string,n=function(t,r){var e,n=t.exec;if("function"==typeof n){if("object"!=typeof(e=n.call(t,r)))throw TypeError("Incorrect exec result");return e}return O.call(t,r)}(r,e);return null===n?{value:void 0,done:t.done=!0}:t.global?(""==String(n[0])&&(r.lastIndex=y(e,u(r.lastIndex),t.unicode)),{value:n,done:!1}):(t.done=!0,{value:n,done:!1})})),A=function(t){var r,e,n,o,i,a,s=c(this),f=String(t);return r=v(s,RegExp),void 0===(e=s.flags)&&s instanceof RegExp&&!("flags"in _)&&(e=l.call(s)),n=void 0===e?"":String(e),o=new r(r===RegExp?s.source:s,n),i=!!~n.indexOf("g"),a=!!~n.indexOf("u"),o.lastIndex=u(s.lastIndex),new j(o,f,i,a)};n({target:"String",proto:!0,forced:P},{matchAll:function(t){var r,e,n,o=i(this);if(null!=t){if(f(t)&&!~String(i("flags"in _?t.flags:l.call(t))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(P)return T.apply(o,arguments);if(void 0===(e=t[m])&&b&&"RegExp"==s(t)&&(e=A),null!=e)return a(e).call(t,o)}else if(P)return T.apply(o,arguments);return r=String(o),n=new RegExp(t,"g"),b?A.call(n,r):n[m](r)}}),b||m in _||p(_,m,A)},4723:function(t,r,e){"use strict";var n=e(7007),o=e(9670),i=e(7466),u=e(4488),a=e(1530),c=e(7651);n("match",1,(function(t,r,e){return[function(r){var e=u(this),n=null==r?void 0:r[t];return void 0!==n?n.call(r,e):new RegExp(r)[t](String(e))},function(t){var n=e(r,t,this);if(n.done)return n.value;var u=o(t),s=String(this);if(!u.global)return c(u,s);var f=u.unicode;u.lastIndex=0;for(var l,p=[],h=0;null!==(l=c(u,s));){var d=String(l[0]);p[h]=d,""===d&&(u.lastIndex=a(s,i(u.lastIndex),f)),h++}return 0===h?null:p}]}))},6528:function(t,r,e){"use strict";var n=e(2109),o=e(6650).end;n({target:"String",proto:!0,forced:e(4986)},{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},3112:function(t,r,e){"use strict";var n=e(2109),o=e(6650).start;n({target:"String",proto:!0,forced:e(4986)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},8992:function(t,r,e){var n=e(2109),o=e(5656),i=e(7466);n({target:"String",stat:!0},{raw:function(t){for(var r=o(t.raw),e=i(r.length),n=arguments.length,u=[],a=0;e>a;)u.push(String(r[a++])),a<n&&u.push(String(arguments[a]));return u.join("")}})},2481:function(t,r,e){e(2109)({target:"String",proto:!0},{repeat:e(8415)})},5306:function(t,r,e){"use strict";var n=e(7007),o=e(9670),i=e(7908),u=e(7466),a=e(9958),c=e(4488),s=e(1530),f=e(7651),l=Math.max,p=Math.min,h=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,r,e,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,b=y?"$":"$0";return[function(e,n){var o=c(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,n){if(!y&&g||"string"==typeof n&&-1===n.indexOf(b)){var i=e(r,t,this,n);if(i.done)return i.value}var c=o(t),h=String(this),d="function"==typeof n;d||(n=String(n));var v=c.global;if(v){var w=c.unicode;c.lastIndex=0}for(var x=[];;){var S=f(c,h);if(null===S)break;if(x.push(S),!v)break;""===String(S[0])&&(c.lastIndex=s(h,u(c.lastIndex),w))}for(var E,_="",O=0,T=0;T<x.length;T++){S=x[T];for(var P=String(S[0]),j=l(p(a(S.index),h.length),0),A=[],I=1;I<S.length;I++)A.push(void 0===(E=S[I])?E:String(E));var R=S.groups;if(d){var L=[P].concat(A,j,h);void 0!==R&&L.push(R);var k=String(n.apply(void 0,L))}else k=m(P,h,j,A,R,n);j>=O&&(_+=h.slice(O,j)+k,O=j+P.length)}return _+h.slice(O)}];function m(t,e,n,o,u,a){var c=n+t.length,s=o.length,f=v;return void 0!==u&&(u=i(u),f=d),r.call(a,f,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(c);case"<":a=u[i.slice(1,-1)];break;default:var f=+i;if(0===f)return r;if(f>s){var l=h(f/10);return 0===l?r:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):r}a=o[f-1]}return void 0===a?"":a}))}}))},4765:function(t,r,e){"use strict";var n=e(7007),o=e(9670),i=e(4488),u=e(6029),a=e(7651);n("search",1,(function(t,r,e){return[function(r){var e=i(this),n=null==r?void 0:r[t];return void 0!==n?n.call(r,e):new RegExp(r)[t](String(e))},function(t){var n=e(r,t,this);if(n.done)return n.value;var i=o(t),c=String(this),s=i.lastIndex;u(s,0)||(i.lastIndex=0);var f=a(i,c);return u(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},7268:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("small")},{small:function(){return o(this,"small","","")}})},3123:function(t,r,e){"use strict";var n=e(7007),o=e(7850),i=e(9670),u=e(4488),a=e(6707),c=e(1530),s=e(7466),f=e(7651),l=e(2261),p=e(7293),h=[].push,d=Math.min,v=4294967295,y=!p((function(){return!RegExp(v,"y")}));n("split",2,(function(t,r,e){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var n=String(u(this)),i=void 0===e?v:e>>>0;if(0===i)return[];if(void 0===t)return[n];if(!o(t))return r.call(n,t,i);for(var a,c,s,f=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,y=new RegExp(t.source,p+"g");(a=l.call(y,n))&&!((c=y.lastIndex)>d&&(f.push(n.slice(d,a.index)),a.length>1&&a.index<n.length&&h.apply(f,a.slice(1)),s=a[0].length,d=c,f.length>=i));)y.lastIndex===a.index&&y.lastIndex++;return d===n.length?!s&&y.test("")||f.push(""):f.push(n.slice(d)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:r.call(this,t,e)}:r,[function(r,e){var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e)},function(t,o){var u=e(n,t,this,o,n!==r);if(u.done)return u.value;var l=i(t),p=String(this),h=a(l,RegExp),g=l.unicode,b=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(y?"y":"g"),m=new h(y?l:"^(?:"+l.source+")",b),w=void 0===o?v:o>>>0;if(0===w)return[];if(0===p.length)return null===f(m,p)?[p]:[];for(var x=0,S=0,E=[];S<p.length;){m.lastIndex=y?S:0;var _,O=f(m,y?p:p.slice(S));if(null===O||(_=d(s(m.lastIndex+(y?0:S)),p.length))===x)S=c(p,S,g);else{if(E.push(p.slice(x,S)),E.length===w)return E;for(var T=1;T<=O.length-1;T++)if(E.push(O[T]),E.length===w)return E;S=x=_}}return E.push(p.slice(x)),E}]}),!y)},3157:function(t,r,e){"use strict";var n,o=e(2109),i=e(1236).f,u=e(7466),a=e(3929),c=e(4488),s=e(4964),f=e(1913),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!!(f||h||(n=i(String.prototype,"startsWith"),!n||n.writable))&&!h},{startsWith:function(t){var r=String(c(this));a(t);var e=u(p(arguments.length>1?arguments[1]:void 0,r.length)),n=String(t);return l?l.call(r,n,e):r.slice(e,e+n.length)===n}})},7397:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("strike")},{strike:function(){return o(this,"strike","","")}})},86:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("sub")},{sub:function(){return o(this,"sub","","")}})},623:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("sup")},{sup:function(){return o(this,"sup","","")}})},8702:function(t,r,e){"use strict";var n=e(2109),o=e(3111).end,i=e(6091)("trimEnd"),u=i?function(){return o(this)}:"".trimEnd;n({target:"String",proto:!0,forced:i},{trimEnd:u,trimRight:u})},5674:function(t,r,e){"use strict";var n=e(2109),o=e(3111).start,i=e(6091)("trimStart"),u=i?function(){return o(this)}:"".trimStart;n({target:"String",proto:!0,forced:i},{trimStart:u,trimLeft:u})},3210:function(t,r,e){"use strict";var n=e(2109),o=e(3111).trim;n({target:"String",proto:!0,forced:e(6091)("trim")},{trim:function(){return o(this)}})},3948:function(t,r,e){var n=e(7854),o=e(8324),i=e(6992),u=e(8880),a=e(5112),c=a("iterator"),s=a("toStringTag"),f=i.values;for(var l in o){var p=n[l],h=p&&p.prototype;if(h){if(h[c]!==f)try{u(h,c,f)}catch(t){h[c]=f}if(h[s]||u(h,s,l),o[l])for(var d in i)if(h[d]!==i[d])try{u(h,d,i[d])}catch(t){h[d]=i[d]}}}},1150:function(t,r,e){var n=e(7633);t.exports=n},9712:function(t,r,e){var n=e(1111);t.exports=n},5666:function(t){var r=function(t){"use strict";var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function c(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{c({},"")}catch(t){c=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,i=Object.create(o.prototype),u=new j(n||[]);return i._invoke=function(t,r,e){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return I()}for(e.method=o,e.arg=i;;){var u=e.delegate;if(u){var a=O(u,e);if(a){if(a===v)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===l)throw n=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=h;var c=f(t,r,e);if("normal"===c.type){if(n=e.done?d:p,c.arg===v)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n=d,e.method="throw",e.arg=c.arg)}}}(t,e,u),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",v={};function y(){}function g(){}function b(){}var m={};m[i]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(A([])));x&&x!==e&&n.call(x,i)&&(m=x);var S=b.prototype=y.prototype=Object.create(m);function E(t){["next","throw","return"].forEach((function(r){c(t,r,(function(t){return this._invoke(r,t)}))}))}function _(t,r){function e(o,i,u,a){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?r.resolve(l.__await).then((function(t){e("next",t,u,a)}),(function(t){e("throw",t,u,a)})):r.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return e("throw",t,u,a)}))}a(c.arg)}var o;this._invoke=function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}}function O(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,O(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function T(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function P(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,u=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return u.next=u}}return{next:I}}function I(){return{value:r,done:!0}}return g.prototype=S.constructor=b,b.constructor=g,g.displayName=c(b,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,a,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},E(_.prototype),_.prototype[u]=function(){return this},t.AsyncIterator=_,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var u=new _(s(r,e,n,o),i);return t.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},E(S),c(S,a,"Generator"),S[i]=function(){return this},S.toString=function(){return"[object Generator]"},t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return a.type="throw",a.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),s=n.call(u,"finallyLoc");if(c&&s){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=r,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(u)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;P(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},7147:function(t,r,e){"use strict";var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n&&n,o="URLSearchParams"in n,i="Symbol"in n&&"iterator"in Symbol,u="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in n,c="ArrayBuffer"in n;if(c)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(t){return t&&s.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function p(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var r={next:function(){var r=t.shift();return{done:void 0===r,value:r}}};return i&&(r[Symbol.iterator]=function(){return r}),r}function d(t){this.map={},t instanceof d?t.forEach((function(t,r){this.append(r,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(r){this.append(r,t[r])}),this)}function v(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function y(t){return new Promise((function(r,e){t.onload=function(){r(t.result)},t.onerror=function(){e(t.error)}}))}function g(t){var r=new FileReader,e=y(r);return r.readAsArrayBuffer(t),e}function b(t){if(t.slice)return t.slice(0);var r=new Uint8Array(t.byteLength);return r.set(new Uint8Array(t)),r.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var r;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:u&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():c&&u&&((r=t)&&DataView.prototype.isPrototypeOf(r))?(this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(t)||f(t))?this._bodyArrayBuffer=b(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},u&&(this.blob=function(){var t=v(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=v(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(g)}),this.text=function(){var t,r,e,n=v(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,r=new FileReader,e=y(r),r.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var r=new Uint8Array(t),e=new Array(r.length),n=0;n<r.length;n++)e[n]=String.fromCharCode(r[n]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(S)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(t,r){t=l(t),r=p(r);var e=this.map[t];this.map[t]=e?e+", "+r:r},d.prototype.delete=function(t){delete this.map[l(t)]},d.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},d.prototype.set=function(t,r){this.map[l(t)]=p(r)},d.prototype.forEach=function(t,r){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(r,this.map[e],e,this)},d.prototype.keys=function(){var t=[];return this.forEach((function(r,e){t.push(e)})),h(t)},d.prototype.values=function(){var t=[];return this.forEach((function(r){t.push(r)})),h(t)},d.prototype.entries=function(){var t=[];return this.forEach((function(r,e){t.push([e,r])})),h(t)},i&&(d.prototype[Symbol.iterator]=d.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function x(t,r){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var e,n,o=(r=r||{}).body;if(t instanceof x){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,r.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=r.credentials||this.credentials||"same-origin",!r.headers&&this.headers||(this.headers=new d(r.headers)),this.method=(e=r.method||this.method||"GET",n=e.toUpperCase(),w.indexOf(n)>-1?n:e),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==r.cache&&"no-cache"!==r.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function S(t){var r=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),n=e.shift().replace(/\+/g," "),o=e.join("=").replace(/\+/g," ");r.append(decodeURIComponent(n),decodeURIComponent(o))}})),r}function E(t,r){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');r||(r={}),this.type="default",this.status=void 0===r.status?200:r.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in r?r.statusText:"",this.headers=new d(r.headers),this.url=r.url||"",this._initBody(t)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},m.call(x.prototype),m.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},E.error=function(){var t=new E(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];E.redirect=function(t,r){if(-1===_.indexOf(r))throw new RangeError("Invalid status code");return new E(null,{status:r,headers:{location:t}})};var O=n.DOMException;try{new O}catch(t){(O=function(t,r){this.message=t,this.name=r;var e=Error(t);this.stack=e.stack}).prototype=Object.create(Error.prototype),O.prototype.constructor=O}function T(t,r){return new Promise((function(e,o){var i=new x(t,r);if(i.signal&&i.signal.aborted)return o(new O("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var t,r,n={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",r=new d,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),n=e.shift().trim();if(n){var o=e.join(":").trim();r.append(n,o)}})),r)};n.url="responseURL"in a?a.responseURL:n.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout((function(){e(new E(o,n))}),0)},a.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){o(new O("Aborted","AbortError"))}),0)},a.open(i.method,function(t){try{return""===t&&n.location.href?n.location.href:t}catch(r){return t}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(u?a.responseType="blob":c&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!r||"object"!=typeof r.headers||r.headers instanceof d?i.headers.forEach((function(t,r){a.setRequestHeader(r,t)})):Object.getOwnPropertyNames(r.headers).forEach((function(t){a.setRequestHeader(t,p(r.headers[t]))})),i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){4===a.readyState&&i.signal.removeEventListener("abort",s)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}T.polyfill=!0,n.fetch||(n.fetch=T,n.Headers=d,n.Request=x,n.Response=E)}},r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e(5666),e(1150),e(9712),e(7147),e(1391),e(9135)}();</script> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_Rg.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_Rg.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_It.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_It.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_Bd.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_Bd.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_BdIt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_BdIt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_Lt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_Lt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_LtIt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_LtIt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_ExBd.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_ExBd.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_ExBdIt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_ExBdIt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_Md.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_Md.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_MdIt.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_MdIt.woff2" as="font" type="font/woff2" crossorigin> <link rel="stylesheet" href="https://web.archive.org/web/20210116223748cs_/https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/css/orb-ltr.min.css"> <script src="https://web.archive.org/web/20210116223748js_/https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/js/api-forge-free.min.js"></script> <!-- navid Web Module: 0.2.0-45.c81e15f --> <!-- searchbox Web Module: 3.0.0-218.84208de --> <!-- navpromo Web Module: 3.0.0-180.408d858 --> <!-- cookiebanner Web Module: 0.0.2-562.3a038b3 --> <!-- useractivityhelper Web Module: 1.0.0-115.0fa8462 --> <!-- reverb Web Module: 1.6.1 --> <link rel="stylesheet" href="https://web.archive.org/web/20210116223748cs_/https://static.files.bbci.co.uk/account/id-cta/1.53.14/style/id-cta.css"/><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.53.14/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/20210116223748/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/20210116223748/https://static.files.bbci.co.uk/account/id-cta/1.53.14/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/20210116223748/https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/account/id-cta/1.53.14/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = 'https://web.archive.org/web/20210116223748/https://cdn.optimizely.com/public/4621041136/s/idcta_live';const idctaShim = {deps: ['idcta-v2/idcta-1'],};require({shim: {'idcta-v2/statusbar': idctaShim,'idcta-v2/id-config': idctaShim},map: {'*': {'idcta/idcta-1': 'idcta-v2/idcta-1','idcta': 'idcta-v2',}},paths: map});window.idctaBaseUrl = ENDPOINT_URL;define('idcta/config', ['idcta-v2/config'], function(data) {return data;});define('idcta/translations', ['idcta-v2/translations'], function(data) {return data;});})();</script> <script type="text/javascript"> // Globally available search context window.SEARCHBOX={"variant":"cbbc","locale":"en","feature":"akamai-idcta","navSearchboxStaticPrefix":"https://web.archive.org/web/20210116223748/https://nav.files.bbci.co.uk/searchbox/5bd951f6aac2ac491095aed2c248e936/","searchboxAppStaticPrefix":"https://web.archive.org/web/20210116223748/https://nav.files.bbci.co.uk/searchbox/5bd951f6aac2ac491095aed2c248e936/drawer","searchFormHtml":"<div tabindex=\"-1\"><div><section class=\"se-searchbox-panel\"><div class=\"se-g-wrap\"><div class=\"se-g-layout\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\">search</div><div class=\"se-g-layout__item se-searchbox\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\"><span class=\"se-sr-only\">Search Term</span><div><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxLength=\"100\" autoComplete=\"off\" autoCorrect=\"off\" autoCapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\"/></div></label><input type=\"hidden\" name=\"scope\" value=\"\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"search-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::1&quot;}\" data-bbc-personalisation=\"{&quot;QRY&quot;:&quot;&quot;}\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"clear-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::2&quot;}\" data-bbc-personalisation=\"{&quot;QRY&quot;:&quot;&quot;}\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\"><section class=\"se-g-wrap\"></section></div></div></div>","searchScopePlaceholder":"<input type=\"hidden\" name=\"scope\" id=\"orb-search-scope\" value=\"cbbc\">","searchScopeParam":"?scope=cbbc","searchScopeTemplate":"cbbc","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""}; window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0]; </script> <link rel="stylesheet" href="https://web.archive.org/web/20210116223748cs_/https://nav.files.bbci.co.uk/searchbox/5bd951f6aac2ac491095aed2c248e936/css/main.css"> <!--[if IE 8]> <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/5bd951f6aac2ac491095aed2c248e936/script/html5shiv.min.js"></script> <script type="text/javascript">window['searchboxIEVersion'] = 8;</script> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/5bd951f6aac2ac491095aed2c248e936/css/ie8.css"> <![endif]--> <!--[if IE 9]> <script type="text/javascript">window['searchboxIEVersion'] = 9;</script> <![endif]--> <script src="https://web.archive.org/web/20210116223748js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-562.3a038b3/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">if (window.define !== undefined) { define('orb/cookies', function() { return window.bbccookies; }); }</script> <script type="text/javascript">window.__detectview={clickManagementEnabled:false};</script> <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://web.archive.org/web/20210116223748/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.22.0",window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,n){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=n}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var n=function(r,d){window.__reverb.__reverbLoadedPromise.then(function(e){if(r&&r.detail){var n=r.detail.label,t=r.detail.type,i=r.detail.elem,o=r.detail.originalEvent;r.detail.isClick&&(d=r.detail.isClick),e.userActionEvent(t,n,r.detail,i,o,d)}},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){n(e,!1)}),document.addEventListener("bbc-user-click",function(e){n(e,!0)}),document.addEventListener("bbc-page-updated",function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})})}();</script><script type="text/javascript" src="https://web.archive.org/web/20210116223748js_/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.6.1.js" async></script> <script> require.config({ paths: { 'optimizely-ati': ['https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/stats/optimizely-ati'] } }); require(['optimizely-ati'], function (optimizelyATI) { window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({'type': 'sendEvents'}); optimizelyATI.init(); }); </script> <script type="text/javascript"> if(window.bbcuser && window.bbcuser.isUKCombined) { window.bbcuser.isUKCombined().then(function (isUK) { if (!isUK) { window.location = "/ownit/restricted"; } }).catch(function(error) { console.error(error) }) } </script> <script type="text/javascript" src="https://web.archive.org/web/20210116223748js_/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/modernizr.js"></script> <script> define('modernizr', [], Modernizr); </script> <script type="text/javascript" src="https://web.archive.org/web/20210116223748js_/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/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>.heart-icon{fill:#e63f23} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-comments-view/3.66.3/icons-childrens"]=true; Morph.styleSrc.push("<style>.heart-icon{fill:#e63f23}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.comments-styleguide__section{background-color:#ededed;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{margin-bottom:32px;padding:16px}.comments-styleguide__heading{background-color:#fdd92e;margin-left:-16px;margin-right:-16px;padding:16px}.comments-styleguide__heading:first-of-type{margin-top:-16px}.comments-styleguide__heading,.comments-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.comments-styleguide__heading,.comments-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .comments-styleguide__heading,.no-touch .comments-styleguide__subheading{font-size:20px;font-size:1.25rem}}.comments-styleguide .comments__idcta-btn .id5-cta__button{font-size:18px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin{background-color:#006def;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 32 32%27 fill=%27white%27%3E%3Ctitle%3Esign-in%3C/title%3E%3Cpath d=%27M9.8,17.3A6.2,6.2,0,1,1,16,23.4a6.2,6.2,0,0,1-6.2-6.2M22.2,26l2.4,4.9A16,16,0,1,0,0,17.3,16.3,16.3,0,0,0,7.4,30.9L9.9,26Z%27/%3E%3C/svg%3E%0A");background-position:8px center;background-repeat:no-repeat;color:#fff;display:inline-block;padding:8px;padding-left:32px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin:hover{background-color:#005bc8}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register{padding-bottom:4px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register:hover{border-bottom:1px solid #005bc8;color:#005bc8}.comments-styleguide .comments__idcta-msg{display:inline-block;margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments-styleguide__white-background{background-color:#fff;border:1px dotted #000;margin-top:4px;padding:16px}.comments .comment__hidden-text{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.comments-no-js-message{background-color:#e4134f;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments-no-js-message a{color:#fff}.comments--no-js .comments__comments-sort,.comments--no-js .comments__more-comments-button,.comments--no-js .comment__reply-button{display:none !important}.comments .alert-icon{fill:#000;padding-right:2px}.comments .to-top-icon{fill:#222}.comments .more-icon-vertical{height:0;padding-bottom:100%;position:relative;width:100%}.comments .more-icon-vertical svg{height:100%;left:0;position:absolute;top:0;width:100%}.comments .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-total{margin-top:16px}.comments .comments-sort{display:-webkit-flex;display:flex;align-items:center}.comments .comments-sort .comments-sort__label{font-weight:bold;padding-right:10px}.comments .comments-sort .comments-sort__dropdown{display:-webkit-flex;display:flex;align-items:center;color:#222;flex-direction:row}.comments .comments-sort .comments-sort__dropdown .comments-sort__select{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;background:inherit;border:1px solid #222;border-radius:0;color:inherit;cursor:inherit;font:inherit;padding:2px 8px;padding-right:28px;text-decoration:inherit}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:hover{cursor:pointer}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:focus{cursor:pointer;outline:3px solid #006def;outline-offset:0}.comments .comments-sort .comments-sort__dropdown .comments-sort__select::-ms-expand{display:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:-moz-focusring{color:transparent;text-shadow:0 0 0 #222}.comments .comments-sort .comments-sort__dropdown .comments-sort__select option{color:#222;font:inherit;font-weight:normal}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:hover,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:focus{border-color:#b2b2b2;color:#b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:-moz-focusring{color:transparent;text-shadow:0 0 0 #b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon{display:flex;margin-left:-24px;margin-right:8px;pointer-events:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .down-arrow{fill:#222;height:14px;width:14px}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .loading-spinner{fill:#006def;width:14px}.comments .comments-button{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:500;padding:8px;text-align:center}.comments .comments-button[disabled]{background-color:#dbdbdb;color:#222;font-weight:normal}.comments .comments-button:hover:enabled{background-color:#005bc8}.comments .comments-button--full-width{width:100%}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments .comments__back-to-top-link{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#222;font-weight:normal}.comments .comments__back-to-top-link .to-top-icon{margin-left:4px}.comments .comments__back-to-top-link:hover{text-decoration:underline}.comments a{color:#006def;font-weight:bold;text-decoration:none}.comments b{font-weight:bold}.comments em{font-style:italic}.comments .comments__header{background-color:#fff;border-radius:4px;margin-bottom:24px;padding:16px 8px}@media (min-width: 37.5em){.comments .comments__header{padding:16px}}.comments .comments__header .comments-error-message{background-color:#e4134f;color:#fff}.comments .comments__header .comments__heading-wrapper{margin-bottom:16px}.comments .comments__header .comments__heading-module-title{color:#525252;font-size:1.1em;font-weight:bold;line-height:20px;margin-bottom:8px}.comments .comments__header .comments__heading-title{color:#000;font-size:1.4em;font-weight:bold;padding-right:40px}.comments .comments__header .comments__signin--prompt{font-size:1.1em}.comments .comments__header .comments__idcta-msg{font-size:1.2em}.comments .comments__header .comments__heading-title-text{line-height:1.2em;padding:2px 6px 6px 0}.comments .comments__header .comments__message--user-ineligible{font-size:1.1em;line-height:1.4em;margin-bottom:8px}.comments .comments-moderation__rules-msg{margin-top:8px}.comments .comments-moderation__rules-msg :link,.comments .comments-moderation__rules-msg :visited{color:#000}.comments .comments-moderation__rules-msg :link:hover,.comments .comments-moderation__rules-msg :link:focus,.comments .comments-moderation__rules-msg :visited:hover,.comments .comments-moderation__rules-msg :visited:focus{text-decoration:underline}.comments .comments__signin--prompt{margin-bottom:16px}.comments .comments__message{font-style:italic;margin-bottom:8px}.comments .comments__message--closed-forum{font-style:normal}.comments .comments__input{padding-bottom:8px}.comments .comments__input-area{margin-bottom:16px}@media only screen and (min-width: 480px){.comments .comments__input-area{border:1px solid #5a5a5a;border-radius:2px}}.comments .comments__cancel-link{background-color:transparent;border:0;color:#000;cursor:pointer;font-family:inherit;font-size:1em;font-weight:bold;margin-left:16px}.comments .comments__submit-button{margin-bottom:8px}.comments .comments__display-name{color:#000;font-weight:bold;overflow-wrap:break-word;word-wrap:break-word}.comments .comments__display-name:hover,.comments .comments__display-name:focus{text-decoration:underline}.comments .comments__text-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:transparent;color:#666}@media (min-width: 20em){.comments .comments__text-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}@media only screen and (max-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;padding-bottom:8px;padding-right:2px;padding-top:13px}}@media only screen and (min-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;margin-right:18px;margin-top:-24px;position:relative}}.comments .comments__text-limit--over-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;color:#e4134f}@media (min-width: 20em){.comments .comments__text-limit--over-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit--over-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comments__footer{padding:8px 8px 24px;text-align:center}@media (min-width: 37.5em){.comments .comments__footer{padding:16px 16px 32px}}.comments .comments__footer.comments__footer--no-comments{padding:0}@media (min-width: 37.5em){.comments .comments__footer.comments__footer--no-comments{padding-bottom:8px}}.comments .comments__more-comments-button{margin-bottom:44px}.comments .comments__show-new-comments-container{position:-webkit-sticky;position:sticky;top:-2px;z-index:10}.comments .comments-snc-button{background-color:#fff;color:#006def}.comments .comments-snc-button[disabled]{color:#006def}.comments .comments-snc-button:hover:enabled{background-color:#006def;color:#fff}.comments .comments-snc-button:active:enabled{background-color:#005bc8;color:#fff}.comments .comments-snc-button--full-width{width:100%}.comments .gel-icon--refresh{height:16px;margin-right:8px;margin-top:3px;vertical-align:text-top;width:16px}.comments .comments__comments-total-and-sort-area{display:-webkit-flex;display:flex;align-items:center;border-top:1px solid #222;margin-top:16px}.comments .comments__comments-total{flex-grow:1}.comments .comments__comments-sort{padding-top:16px}.comments .comments--border{border:1px solid #e5e5e5}.comments .comments--shadow{box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2)}.comments .comments__idcta-btn .id4-cta,.comments .comments__idcta-msg .id4-cta{padding:0 !important}.comments .comments__idcta-msg{margin-bottom:16px}.comments .comments__idcta-msg .id5-cta.id4-cta-size-medium{line-height:inherit}.comments .comments-list{margin-top:24px}.comments .comments-list__item{padding-bottom:24px}.comments .comments-list__item--entering-list{-webkit-transform:translateZ(0);opacity:0;transition:opacity 2s}.comments .comments-list__item--entering-list.comments-list__item--entered-list{opacity:1}.comments :not(.comments-list__item--entering-list) ~ .comments-list__item--entering-list{opacity:1;transition:none}.comments .comments-body-anchor{display:block;height:0;position:relative;top:0;visibility:hidden}.comments .comments-input-box{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-overflow-y:auto;-webkit-transition:height .5s ease-in-out, min-height .5s ease-in-out;background-color:#fff;color:#222;display:block;font-family:inherit;min-height:1.25em;overflow-y:auto;resize:none;transition:height .5s ease-in-out, min-height .5s ease-in-out;transition-delay:.2s;width:100%}.comments .comments-input-box--has-input{min-height:62px}.mozart-iframe-height-target .comments .comments-input-box{-webkit-transition:none;transition:none}@media only screen and (min-width: 480px){.comments .comments-input-box{border:0;padding-bottom:10px;padding-left:10px;padding-right:85px;padding-top:10px}}@media only screen and (max-width: 480px){.comments .comments-input-box{border:1px solid #5a5a5a;border-radius:2px;padding:8px}}.comments .comments-input-box:focus{-webkit-appearance:none;box-shadow:0 0 0 3px #006def;min-height:62px;outline:none}.comments .comment{background-color:#fff;border:1px solid #e5e5e5;border-radius:4px 4px 4px 0;box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2);padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment{padding:16px}}.comments .comment::before{background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(0 4px 1px rgba(0,0,0,0.02))}.comments .comment::after{background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(0 2px 0 rgba(0,0,0,0.06))}.comments .comment--distress{background-color:#ededed;margin-top:10px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment--has-footer{padding-bottom:16px}.comments .comment--by-current-user{border-radius:4px 4px 0}.comments .comment--by-current-user::before{background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(-4px 4px 1px rgba(0,0,0,0.02));left:auto;right:-7px;transform:scale(-1, 1)}.comments .comment--by-current-user::after{background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(-2px 2px 1px rgba(0,0,0,0.06));left:auto;right:-7px;transform:scale(-1, 1)}@supports (-ms-ime-align: auto){@media (min-width: 768px){.comments .comment--by-current-user::before{right:-8px}.comments .comment--by-current-user::after{right:-8px}}}.comments .comment__content{background-color:inherit}.comments .comment__avatar{background-color:inherit}.comments .comment__avatar+.comment__username-and-posted-date{background-color:inherit;padding-left:8px}.comments .comment__username-and-posted-date{width:100%}.comments .comment__title-wrapper{max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments .comment__username:hover{cursor:default}.comments .comment__header{display:-webkit-flex;display:flex;align-items:center;background-color:inherit}.comments .comment__title{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:grid;word-break:break-all;word-wrap:break-word}@media (min-width: 37.5em){.comments .comment__title{line-height:20px;line-height:1.25rem}.no-touch .comments .comment__title{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment__user-description{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#666;display:block}@media (min-width: 20em){.comments .comment__user-description{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__user-description{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__posted-date{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#666}@media (min-width: 20em){.comments .comment__posted-date{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__posted-date{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__body{margin-top:8px}.comments .comment__footer{margin-top:8px}.comments .comment__toolbar{display:-webkit-flex;display:flex;flex-direction:column-reverse}.comments .comment__toolbar-section{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;min-height:32px}.comments .comment__toolbar-section--right{justify-content:flex-end;margin-left:auto;position:relative;top:8px}.comments .comment__text{overflow-wrap:break-word;word-wrap:break-word}.comments .comment__text a{font-weight:normal}.comments .comment__text a:hover,.comments .comment__text a:focus{text-decoration:underline}.comments .comment__display-name-moderation-warning{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;display:block;font-weight:normal;text-decoration:underline}@media (min-width: 20em){.comments .comment__display-name-moderation-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__display-name-moderation-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__links-toggle{-webkit-appearance:none;background-color:transparent;border:0;border-radius:0;height:32px;margin-right:-8px;padding:0 6px;width:24px;z-index:1}.comments .comment__links-toggle .more-icon-vertical{vertical-align:middle}.comments .comment__links-toggle:hover .more-icon-vertical{fill:#006def}@media (hover: none){.comments .comment__links-toggle:not(.comment__links-toggle--enabled):hover .more-icon-vertical{fill:inherit}}.comments .comment__links-toggle--enabled .more-icon-vertical{fill:#006def}.comments .comment__action-tray{margin-top:8px;text-align:right}@media (min-width: 37.5em){.comments .comment__action-tray{margin-top:16px}}.comments .comment__action-tray .action-links{border-top:1px solid #5a5a5a;padding:12px 0}.comments .comment__action-tray .action-links:last-child{padding-bottom:0}.comments .comments-error-message{color:#222;font-weight:bold;margin-bottom:16px;padding:16px}.comments .comments-success-message{background-color:#ededed;color:#222;margin-bottom:16px;overflow:hidden;padding:8px}.comments .comments-success-message .comments-success-message-icon{float:left;height:20px;margin:1px 8px 8px 0;width:20px}.comments .comments-success-message .comments-success-message-icon .tick-icon{fill:#008a0b;margin-top:3px}.comments .comments-success-message .comments-success-message-text{margin-top:2px;overflow:hidden}.comments .comment-rating{white-space:nowrap}.comments .comment-rating__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#222;padding:0}.comments .comment-rating__button:disabled .comment-rating__button-icon svg{fill:#666}.comments .comment-rating__button .comment-rating__button-icon .fill{opacity:0;transition:opacity 300ms}.comments .comment-rating__button .loading-spinner,.comments .comment-rating__button .fill{fill:#2866f6}.comments .comment-rating__button:hover:not(:disabled),.comments .comment-rating__button:focus:not(:disabled){cursor:pointer}.comments .comment-rating__button:hover:not(:disabled) .comment-rating__button-icon .fill,.comments .comment-rating__button:focus:not(:disabled) .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button--number-placement-right{padding-right:4px}.comments .comment-rating__button--number-placement-left{padding-left:4px}@keyframes shrink{from{transform:scale(1.2)}to{transform:scale(1)}}.comments .comment-rating__button--posted:hover:not(:disabled){cursor:default}.comments .comment-rating__button--posted .comment-rating__button-icon{animation:shrink 300ms ease-in-out;transform:scale(1);will-change:transform}.comments .comment-rating__button--posted .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button-number{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px !important}@media (min-width: 37.5em){.comments .comment-rating__button-number{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-rating__button-number{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-rating__button-icon{display:inline-block;fill:#222;height:32px;margin:0 4px;position:relative;vertical-align:top;width:16px}.comments .comment-rating__button-icon svg{height:16px;left:0;margin-top:-8px;position:absolute;top:50%;width:16px}@media (min-width: 37.5em){.comments .action-links--forum-links{text-align:right}}.comments .action-links__item{display:block}@media (min-width: 25em){.comments .action-links__item{display:inline-block}}.comments .action-links__item--with-separator{padding-left:16px}.comments .action-links__item--with-separator::before{color:#aeaeae;content:'|';left:-8px;position:relative;top:0}.comments .action-link{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px}@media (min-width: 37.5em){.comments .action-link{line-height:20px;line-height:1.25rem}.no-touch .comments .action-link{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .action-link:hover{text-decoration:none}.comments .action-link:hover .action-link__text{text-decoration:underline}.comments .action-link .alert-icon{fill:#006def}.comments .action-link__icon{display:inline-block;margin-right:4px}.comments .comments-loading{align-items:stretch;display:-webkit-inline-flex;display:inline-flex;margin-bottom:44px;padding:16px 0}.comments .comments-loading__text{color:#222;font-weight:bold;margin-left:8px}.comments .comments-loading__icon{line-height:10px}.comments .comment-tooltip{display:block;position:absolute;top:16px;width:304px}@media (min-width: 37.5em){.comments .comment-tooltip{width:320px}}.comments .comment-tooltip .alert-icon{fill:#515151;padding-right:4px;vertical-align:middle}.comments .comment-tooltip__pointer{display:inline-block;height:0;left:0;line-height:0;margin-left:5px;margin-top:-2px;pointer-events:none;position:relative;top:0;vertical-align:top;width:24px;z-index:81}.comments .comment-tooltip__pointer::after,.comments .comment-tooltip__pointer::before{border-color:transparent transparent #fff;border-style:solid;border-width:11px;content:'';left:0;position:absolute;top:0}.comments .comment-tooltip__pointer::before{border-color:transparent transparent #a9a9a9;border-width:12px;top:-1px}.comments .comment-tooltip__pointer::after{left:1px;top:2px}.comments .comment-tooltip__inner{background-color:#fff;border:1px solid #a9a9a9;box-shadow:1px 1px 5px rgba(50,50,50,0.1);clear:both;color:#515151;cursor:default;left:0;position:relative;top:0;z-index:80}.comments .comment-tooltip__subtitle{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin:0;padding:16px 32px 16px 16px}@media (min-width: 20em){.comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment-tooltip__subtitle{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment-tooltip__subtitle--alert{padding-bottom:8px}.comments .comment-tooltip__body{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;padding:0 16px 16px 16px}@media (min-width: 37.5em){.comments .comment-tooltip__body{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-tooltip__body{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-tooltip__body .comments__idcta-btn{margin-bottom:0}.comments .comment-tooltip__close{background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;z-index:81}.comments .comment-tooltip__close:hover,.comments .comment-tooltip__close:active,.comments .comment-tooltip__close:focus{background-color:transparent;line-height:4px;text-decoration:none}.comments .comment-tooltip__close:hover .comment-tooltip__close-icon,.comments .comment-tooltip__close:active .comment-tooltip__close-icon,.comments .comment-tooltip__close:focus .comment-tooltip__close-icon{background-color:#ebebeb}.comments .comment-tooltip__close-icon{display:block;margin:8px;padding:4px}.comments .tooltip-launcher{position:relative}.comments .tooltip-launcher__children{display:inline-block}.comments .comment--distress{background-color:#f5f5f5;margin-top:10px;padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment__distress-message-username{background-color:#28215b;color:#fff;display:inline-block;font-weight:bold;height:24px;line-height:24px;padding:0 10px 0 32px}.comments .comment__distress-message-product-flag{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;left:-6px;margin-bottom:8px;position:absolute;top:8px}@media (min-width: 20em){.comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment__distress-message-product-flag{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment__distress-message-product-flag::after{border-left:6px solid transparent;border-top:6px solid;content:'';height:0;left:0;position:absolute;top:24px;width:0}.comments .comment__product-flag-comment::after,.comments .comment__product-flag-reply::after{border-left:0;border-right:6px solid transparent;left:auto;right:-1px;top:31px}.comments .comment__product-flag-comment{left:auto;right:-6px;top:-2px}.comments .comment__product-flag-reply{left:auto;right:-18px;top:0}@media (min-width: 37.5em){.comments .comment__product-flag-reply{right:-22px}}.comments .comment__distress-message-logo{align-items:center;display:flex;height:24px;justify-content:center;left:0;padding:3px;position:absolute;width:24px;z-index:10}.comments .comment__product-logo{height:32px;left:auto;right:-1px;top:-1px;width:32px}.comments .comment__product-logo svg{height:24px;width:24px}.comments .comment__product-flag-default .comment__distress-message-logo,.comments .comment__product-flag-sport .comment__distress-message-logo,.comments .comment__product-flag-news .comment__distress-message-logo{background-color:#12294b;height:18px;padding:0;width:44px}.comments .comment__product-flag-default .comment__distress-message-logo svg,.comments .comment__product-flag-sport .comment__distress-message-logo svg,.comments .comment__product-flag-news .comment__distress-message-logo svg{fill-rule:evenodd;height:100%;width:100%}.comments .comment__product-flag-default::after,.comments .comment__product-flag-sport::after,.comments .comment__product-flag-news::after{border-top-color:#000;top:17px}.comments .comment__product-flag-sport .comment__distress-message-logo{background-color:#ffd130}.comments .comment__product-flag-sport::after{border-top-color:#e4bc2d}.comments .comment__product-flag-news .comment__distress-message-logo{background-color:#b70000}.comments .comment__product-flag-news::after{border-top-color:#8a1d1d}.comments .comment__reply-button{margin-top:6px;position:absolute;z-index:5}.comments .comments-list__item-reply{padding-bottom:0}.comments .comments-list__item-reply::before{border-top:1px solid #5a5a5a;content:'';display:block;margin:12px;margin-right:0}@media (min-width: 37.5em){.comments .comments-list__item-reply::before{margin-bottom:16px;margin-left:16px;margin-top:16px}}.comments .comments-list__item-reply:first-child::before{display:none}.comments .comment--reply{border:0;box-shadow:none;padding-bottom:0;padding-right:0;padding-top:0}.comments .comment--reply::before,.comments .comment--reply::after{content:none}@media (max-width: 480px){.comments .reply-input{padding-bottom:12px}}@media (max-width: 480px){.comments .reply-input-buttons-wrapper{padding-top:36px}}.comments .reply-separator{border-bottom:1px solid #5a5a5a;margin-bottom:12px;margin-top:12px}@media (min-width: 37.5em){.comments .reply-separator{margin-bottom:16px;margin-top:16px}}.comments .replies-separator{border-top:1px solid #5a5a5a;margin-top:12px;padding-top:12px}@media (min-width: 37.5em){.comments .replies-separator{margin-top:16px;padding-top:16px}}.comments .replies-list-reply-open{margin-top:0}.comments .replies{border-left:2px solid #006def}.comments .reply-input-hidden{display:none}.comments .reply{border-left:2px solid #006def;margin-top:12px;padding-left:12px}@media (min-width: 37.5em){.comments .reply{padding-left:16px}}.comments .reply .reply__signin{background-color:#f5f5f5;padding:16px}.comments .reply .reply__signin .reply__signin--prompt{padding-bottom:12px;padding-top:4px}.comments .reply .reply__signedin{background-color:#f5f5f5;padding:0 8px}.comments .reply .reply__signedin a{color:#006def;font-weight:normal}.comments .reply .reply__signedin a:hover{text-decoration:underline}.comments .reply .reply__signedin .reply__signedin-ineligible{padding:0 8px}.comments .reply .reply__signedin .reply__signedin-ineligible span{font-size:.8em !important}.comments .reply .reply__signedin .reply__signedin-ineligible span a{font-weight:bold}.comments .reply .reply__signedin .reply__signedin-eligible{padding:12px 8px 0}.comments .reply .reply__signedin .reply__signedin-eligible .reply__signedin-eligible-header{font-weight:bold;padding-bottom:16px;padding-top:6px;word-break:break-all;word-wrap:break-word}.comments .reply .comments-success-message{background-color:transparent;border-top:1px solid #5a5a5a;padding:0;padding-top:16px}.comments .reply .comments-error-message{background-color:#e4134f;color:#fff}.comments .reply-to-reply{border-left:0;padding-left:0}.comments .reply-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;line-height:32px;padding-left:0}.comments .reply-button .reply-button__text{font-weight:bold}.comments .reply-button .reply-button__icon{margin-right:6px;position:relative;top:2px}.comments .reply-button .reply-button__icon .reply-button__icon-gel{height:13px;width:13px}.comments .reply-button:hover,.comments .reply-button:focus{color:#005bc8}.comments .reply-button:hover .reply-button__text,.comments .reply-button:focus .reply-button__text{text-decoration:underline}.comments .reply-snippet{margin:12px 0}@media (min-width: 37.5em){.comments .reply-snippet{margin:16px 0}}.comments .reply-snippet .reply-snippet-button{background:none;border:0;font:inherit;max-width:50%;text-align:left}@media (min-width: 37.5em){.comments .reply-snippet .reply-snippet-button{max-width:33%}}.comments .reply-snippet .reply-snippet__control{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;align-items:center;display:flex;line-height:18px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__control{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__control{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--prelink{color:#666;font-style:italic;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 37.5em){.comments .reply-snippet .reply-snippet__control .reply-snippet__control--prelink{max-width:33%}}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--prelink .reply-snippet__control--prelink-text:hover{cursor:default}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--link{display:-webkit-flex;display:flex;color:#006def;cursor:pointer;font-weight:bold;padding-left:5px}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--link .reply-snippet__control--msg-short{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments .reply-snippet .reply-snippet__show-content{background-color:#f5f5f5;line-height:24px;margin-top:8px;padding:16px 12px;width:100%}.comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;font-size:15px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-more-replies{border-top:1px solid #5a5a5a;margin-top:16px;padding-top:12px}.comments .reply-more-replies .reply-more-replies__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;align-items:center;color:#006def;cursor:pointer;display:flex;padding-left:0}.comments .reply-more-replies .reply-more-replies__button .loading-spinner,.comments .reply-more-replies .reply-more-replies__button .fill{fill:#006def}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__text{font-weight:bold;margin-right:4px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon{position:relative;top:1px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel{height:13px;stroke:#006def;stroke-width:1px;width:13px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel-spin{height:14px;margin-right:0;margin-top:0;width:14px}.comments .reply-more-replies .reply-more-replies__button:hover,.comments .reply-more-replies .reply-more-replies__button:focus{color:#005bc8}.comments .reply-more-replies .reply-more-replies__button:hover .reply-more-replies__text,.comments .reply-more-replies .reply-more-replies__button:focus .reply-more-replies__text{text-decoration:underline}.comments .comments-sort-error{display:-webkit-flex;display:flex;background-color:#fff;margin-bottom:8px;padding:8px}@media (min-width: 37.5em){.comments .comments-sort-error{padding:16px}}.comments .comments-sort-error .comments-sort-error__icon svg{fill:#e4134f;height:20px;width:20px}.comments .comments-sort-error .comments-sort-error__message{padding-left:4px}@media (min-width: 37.5em){.comments .comments-sort-error .comments-sort-error__message{padding-left:8px}}.comments .contributor-avatar{background-color:inherit;display:flex}.comments .contributor-avatar .contributor-avatar__letter{align-items:center;background:#949494;border-radius:25px;color:#fff;display:flex;font-size:24px;font-weight:500;height:48px;justify-content:center;line-height:normal;vertical-align:middle;width:48px}.comments .contributor-avatar .contributor-avatar__letter--current{background:#006def}.comments .contributor-avatar .contributor-avatar__image{background-color:inherit;height:48px;position:absolute;width:48px;z-index:5}.comments .collapsible-panel .collapsible-panel__title{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:inherit;cursor:pointer;margin:-5px;padding:5px}.comments .collapsible-panel .collapsible-panel__title:hover,.comments .collapsible-panel .collapsible-panel__title:focus{text-decoration:underline}.comments .collapsible-panel .collapsible-panel__title--disabled{cursor:initial}.comments .collapsible-panel .collapsible-panel__title--disabled:hover,.comments .collapsible-panel .collapsible-panel__title--disabled:focus{text-decoration:none}.comments .collapsible-panel .collapsible-panel__content{border-top:1px solid #5a5a5a;margin-top:12px;padding-top:12px}@media (min-width: 37.5em){.comments .collapsible-panel .collapsible-panel__content{margin-top:16px;padding-top:16px}}.comments .collapsible-panel .collapsible-panel__content-no-separator{border-top:0;margin-top:0}.comments .username{font-weight:bold}.view-comments-button-wrapper{display:block}.view-comments-button-wrapper-hidden{display:none}.view-comments-button-wrapped-component{display:block}.view-comments-button-wrapped-component-hidden{display:none}.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{left:8px;position:relative}@media (min-width: 25em){.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{margin-bottom:24px}}.comments-theme-variant--childrens .comments__header .comments__heading-module-title{background-color:#d31c70;box-shadow:1px 1px 0 0 rgba(0,0,0,0.5);color:#fff;display:inline-block;font-size:.9em;left:-5px;margin-bottom:0;padding:2px 6px;position:relative;z-index:2}.comments-theme-variant--childrens .comments__header .comments__heading-title{color:#fff;font-weight:800;position:relative;white-space:pre-wrap;z-index:1}.comments-theme-variant--childrens .comments__header .comments__heading-title-text{background-color:#28215b;box-shadow:-5px 0 0 0 #28215b;line-height:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__heading-title-text{font-size:1.2em}}.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.5em}}.comments-theme-variant--childrens .comments__more-comments-button{border-bottom:4px #005b87 solid;border-radius:4px;border-top:0;padding:12px 16px}.comments-theme-variant--childrens .comments__more-comments-button:hover,.comments-theme-variant--childrens .comments__more-comments-button:active{border-bottom-width:2px;margin-top:2px;text-decoration:underline}.comments-theme-variant--childrens .comment{border-radius:8px 8px 8px 0}.comments-theme-variant--childrens .comment--by-current-user{border-radius:8px 8px 0}.comments-theme-variant--childrens .comment-rating__button .loading-spinner,.comments-theme-variant--childrens .comment-rating__button .fill{fill:#e63f23}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message{display:-webkit-flex;display:flex;-moz-align-items:center;-ms-align-items:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}}.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{float:none;margin:0 8px 8px 0;min-height:40px;min-width:40px}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{-moz-align-self:flex-start;-ms-align-self:flex-start;-webkit-align-self:flex-start;align-self:flex-start;margin-bottom:0}}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-text{display:-webkit-flex;display:flex;margin-top:0}}.comments-theme-variant--childrens:not(.comments__product--default) .comment--distress{padding-top:40px}.comments-theme-variant--childrens .comment__product-flag-default:not(.comment__notable-flag),.comments-theme-variant--childrens .comment__product-flag-default:not(.comment__notable-flag) .comment__distress-message-logo{display:none}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-username{background-color:#1a3f8c}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-logo{background-color:#153371}.comments-theme-variant--childrens .comment__product-flag-cbbc::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-username{background-color:#ffe514;color:#222}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-logo{background-color:#f1d911}.comments-theme-variant--childrens .comment__product-flag-cbeebies::after{border-top-color:#ccb80d}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-username{background-color:#1a3f8c;color:transparent;min-width:90px;padding:0 0 0 32px}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo{background-color:#153371;display:block;padding:0}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo svg{fill-rule:evenodd;height:100%;left:5px;position:relative}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__product-logo svg{left:0;width:32px}.comments-theme-variant--childrens .comment__product-flag-ownit::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-username{background-color:#431588;color:#fff}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo{background-color:#551bab}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo svg{fill-rule:evenodd}.comments-theme-variant--childrens .comment__product-flag-newsround::after{border-top-color:#431588}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-username{background-color:#7a31e5;color:#fff;font-size:15px}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-logo{background-color:#7a31e5;padding:0}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-logo svg{height:100%;width:100%}.comments-theme-variant--childrens .comment__product-flag-nightfall::after{border-top-color:#b079ff}.view-comments-button--hidden{display:none}.view-comments-button-container{margin-bottom:24px}@media (min-width: 37.5em){.view-comments-button-container{margin-bottom:32px}}.view-comments-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#ededed;color:#000;cursor:pointer;font-size:16px;font-weight:bold;outline-offset:4px;padding:4px 8px;position:relative}.view-comments-button:hover,.view-comments-button:focus{background-color:#dbdbdb}.view-comments-button::before{bottom:-7px;content:'';left:0;min-height:44px;min-width:44px;position:absolute;right:0;top:-7px}.view-comments-button__icon{margin-right:8px;position:relative;top:1px}.view-comments-button__icon .view-comments__icon-gel{height:13px;width:13px}.view-comments-button__count{border-left:1px solid #000;margin-left:8px;padding-left:8px}.js-focus-visible :focus:not(.focus-visible){outline:none} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-comments-view/3.66.3"]=true; Morph.styleSrc.push("<style>.comments-styleguide__section{background-color:#ededed;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{margin-bottom:32px;padding:16px}.comments-styleguide__heading{background-color:#fdd92e;margin-left:-16px;margin-right:-16px;padding:16px}.comments-styleguide__heading:first-of-type{margin-top:-16px}.comments-styleguide__heading,.comments-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.comments-styleguide__heading,.comments-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .comments-styleguide__heading,.no-touch .comments-styleguide__subheading{font-size:20px;font-size:1.25rem}}.comments-styleguide .comments__idcta-btn .id5-cta__button{font-size:18px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin{background-color:#006def;background-image:url(\"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 32 32%27 fill=%27white%27%3E%3Ctitle%3Esign-in%3C/title%3E%3Cpath d=%27M9.8,17.3A6.2,6.2,0,1,1,16,23.4a6.2,6.2,0,0,1-6.2-6.2M22.2,26l2.4,4.9A16,16,0,1,0,0,17.3,16.3,16.3,0,0,0,7.4,30.9L9.9,26Z%27/%3E%3C/svg%3E%0A\");background-position:8px center;background-repeat:no-repeat;color:#fff;display:inline-block;padding:8px;padding-left:32px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin:hover{background-color:#005bc8}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register{padding-bottom:4px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register:hover{border-bottom:1px solid #005bc8;color:#005bc8}.comments-styleguide .comments__idcta-msg{display:inline-block;margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments-styleguide__white-background{background-color:#fff;border:1px dotted #000;margin-top:4px;padding:16px}.comments .comment__hidden-text{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.comments-no-js-message{background-color:#e4134f;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments-no-js-message a{color:#fff}.comments--no-js .comments__comments-sort,.comments--no-js .comments__more-comments-button,.comments--no-js .comment__reply-button{display:none !important}.comments .alert-icon{fill:#000;padding-right:2px}.comments .to-top-icon{fill:#222}.comments .more-icon-vertical{height:0;padding-bottom:100%;position:relative;width:100%}.comments .more-icon-vertical svg{height:100%;left:0;position:absolute;top:0;width:100%}.comments .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-total{margin-top:16px}.comments .comments-sort{display:-webkit-flex;display:flex;align-items:center}.comments .comments-sort .comments-sort__label{font-weight:bold;padding-right:10px}.comments .comments-sort .comments-sort__dropdown{display:-webkit-flex;display:flex;align-items:center;color:#222;flex-direction:row}.comments .comments-sort .comments-sort__dropdown .comments-sort__select{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;background:inherit;border:1px solid #222;border-radius:0;color:inherit;cursor:inherit;font:inherit;padding:2px 8px;padding-right:28px;text-decoration:inherit}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:hover{cursor:pointer}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:focus{cursor:pointer;outline:3px solid #006def;outline-offset:0}.comments .comments-sort .comments-sort__dropdown .comments-sort__select::-ms-expand{display:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:-moz-focusring{color:transparent;text-shadow:0 0 0 #222}.comments .comments-sort .comments-sort__dropdown .comments-sort__select option{color:#222;font:inherit;font-weight:normal}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:hover,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:focus{border-color:#b2b2b2;color:#b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:-moz-focusring{color:transparent;text-shadow:0 0 0 #b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon{display:flex;margin-left:-24px;margin-right:8px;pointer-events:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .down-arrow{fill:#222;height:14px;width:14px}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .loading-spinner{fill:#006def;width:14px}.comments .comments-button{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:500;padding:8px;text-align:center}.comments .comments-button[disabled]{background-color:#dbdbdb;color:#222;font-weight:normal}.comments .comments-button:hover:enabled{background-color:#005bc8}.comments .comments-button--full-width{width:100%}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments .comments__back-to-top-link{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#222;font-weight:normal}.comments .comments__back-to-top-link .to-top-icon{margin-left:4px}.comments .comments__back-to-top-link:hover{text-decoration:underline}.comments a{color:#006def;font-weight:bold;text-decoration:none}.comments b{font-weight:bold}.comments em{font-style:italic}.comments .comments__header{background-color:#fff;border-radius:4px;margin-bottom:24px;padding:16px 8px}@media (min-width: 37.5em){.comments .comments__header{padding:16px}}.comments .comments__header .comments-error-message{background-color:#e4134f;color:#fff}.comments .comments__header .comments__heading-wrapper{margin-bottom:16px}.comments .comments__header .comments__heading-module-title{color:#525252;font-size:1.1em;font-weight:bold;line-height:20px;margin-bottom:8px}.comments .comments__header .comments__heading-title{color:#000;font-size:1.4em;font-weight:bold;padding-right:40px}.comments .comments__header .comments__signin--prompt{font-size:1.1em}.comments .comments__header .comments__idcta-msg{font-size:1.2em}.comments .comments__header .comments__heading-title-text{line-height:1.2em;padding:2px 6px 6px 0}.comments .comments__header .comments__message--user-ineligible{font-size:1.1em;line-height:1.4em;margin-bottom:8px}.comments .comments-moderation__rules-msg{margin-top:8px}.comments .comments-moderation__rules-msg :link,.comments .comments-moderation__rules-msg :visited{color:#000}.comments .comments-moderation__rules-msg :link:hover,.comments .comments-moderation__rules-msg :link:focus,.comments .comments-moderation__rules-msg :visited:hover,.comments .comments-moderation__rules-msg :visited:focus{text-decoration:underline}.comments .comments__signin--prompt{margin-bottom:16px}.comments .comments__message{font-style:italic;margin-bottom:8px}.comments .comments__message--closed-forum{font-style:normal}.comments .comments__input{padding-bottom:8px}.comments .comments__input-area{margin-bottom:16px}@media only screen and (min-width: 480px){.comments .comments__input-area{border:1px solid #5a5a5a;border-radius:2px}}.comments .comments__cancel-link{background-color:transparent;border:0;color:#000;cursor:pointer;font-family:inherit;font-size:1em;font-weight:bold;margin-left:16px}.comments .comments__submit-button{margin-bottom:8px}.comments .comments__display-name{color:#000;font-weight:bold;overflow-wrap:break-word;word-wrap:break-word}.comments .comments__display-name:hover,.comments .comments__display-name:focus{text-decoration:underline}.comments .comments__text-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:transparent;color:#666}@media (min-width: 20em){.comments .comments__text-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}@media only screen and (max-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;padding-bottom:8px;padding-right:2px;padding-top:13px}}@media only screen and (min-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;margin-right:18px;margin-top:-24px;position:relative}}.comments .comments__text-limit--over-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;color:#e4134f}@media (min-width: 20em){.comments .comments__text-limit--over-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit--over-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comments__footer{padding:8px 8px 24px;text-align:center}@media (min-width: 37.5em){.comments .comments__footer{padding:16px 16px 32px}}.comments .comments__footer.comments__footer--no-comments{padding:0}@media (min-width: 37.5em){.comments .comments__footer.comments__footer--no-comments{padding-bottom:8px}}.comments .comments__more-comments-button{margin-bottom:44px}.comments .comments__show-new-comments-container{position:-webkit-sticky;position:sticky;top:-2px;z-index:10}.comments .comments-snc-button{background-color:#fff;color:#006def}.comments .comments-snc-button[disabled]{color:#006def}.comments .comments-snc-button:hover:enabled{background-color:#006def;color:#fff}.comments .comments-snc-button:active:enabled{background-color:#005bc8;color:#fff}.comments .comments-snc-button--full-width{width:100%}.comments .gel-icon--refresh{height:16px;margin-right:8px;margin-top:3px;vertical-align:text-top;width:16px}.comments .comments__comments-total-and-sort-area{display:-webkit-flex;display:flex;align-items:center;border-top:1px solid #222;margin-top:16px}.comments .comments__comments-total{flex-grow:1}.comments .comments__comments-sort{padding-top:16px}.comments .comments--border{border:1px solid #e5e5e5}.comments .comments--shadow{box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2)}.comments .comments__idcta-btn .id4-cta,.comments .comments__idcta-msg .id4-cta{padding:0 !important}.comments .comments__idcta-msg{margin-bottom:16px}.comments .comments__idcta-msg .id5-cta.id4-cta-size-medium{line-height:inherit}.comments .comments-list{margin-top:24px}.comments .comments-list__item{padding-bottom:24px}.comments .comments-list__item--entering-list{-webkit-transform:translateZ(0);opacity:0;transition:opacity 2s}.comments .comments-list__item--entering-list.comments-list__item--entered-list{opacity:1}.comments :not(.comments-list__item--entering-list) ~ .comments-list__item--entering-list{opacity:1;transition:none}.comments .comments-body-anchor{display:block;height:0;position:relative;top:0;visibility:hidden}.comments .comments-input-box{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-overflow-y:auto;-webkit-transition:height .5s ease-in-out, min-height .5s ease-in-out;background-color:#fff;color:#222;display:block;font-family:inherit;min-height:1.25em;overflow-y:auto;resize:none;transition:height .5s ease-in-out, min-height .5s ease-in-out;transition-delay:.2s;width:100%}.comments .comments-input-box--has-input{min-height:62px}.mozart-iframe-height-target .comments .comments-input-box{-webkit-transition:none;transition:none}@media only screen and (min-width: 480px){.comments .comments-input-box{border:0;padding-bottom:10px;padding-left:10px;padding-right:85px;padding-top:10px}}@media only screen and (max-width: 480px){.comments .comments-input-box{border:1px solid #5a5a5a;border-radius:2px;padding:8px}}.comments .comments-input-box:focus{-webkit-appearance:none;box-shadow:0 0 0 3px #006def;min-height:62px;outline:none}.comments .comment{background-color:#fff;border:1px solid #e5e5e5;border-radius:4px 4px 4px 0;box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2);padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment{padding:16px}}.comments .comment::before{background-image:url(\"data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(0 4px 1px rgba(0,0,0,0.02))}.comments .comment::after{background-image:url(\"data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(0 2px 0 rgba(0,0,0,0.06))}.comments .comment--distress{background-color:#ededed;margin-top:10px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment--has-footer{padding-bottom:16px}.comments .comment--by-current-user{border-radius:4px 4px 0}.comments .comment--by-current-user::before{background-image:url(\"data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(-4px 4px 1px rgba(0,0,0,0.02));left:auto;right:-7px;transform:scale(-1, 1)}.comments .comment--by-current-user::after{background-image:url(\"data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.52941%2C11.46701a15.96209%2C19.23373%200%200%200%205.42928%2C-10.46733l16.83077%2C0c-7.87246%2C7.03274%20-15.74492%2C10.46733%20-22.26005%2C10.46733l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23e5e5e5%22%2F%3E%3Cpath%20d%3D%22m2.42579%2C10.38631a13.3634%2C17.60092%200%200%200%204.54539%2C-9.57874l14.09066%2C0c-6.5908%2C6.43573%20-13.1816%2C9.57874%20-18.63605%2C9.57874l0.00001%2C0l-0.00001%2C0z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;bottom:-11px;content:'';height:12px;left:-7px;position:absolute;width:23px;filter:drop-shadow(-2px 2px 1px rgba(0,0,0,0.06));left:auto;right:-7px;transform:scale(-1, 1)}@supports (-ms-ime-align: auto){@media (min-width: 768px){.comments .comment--by-current-user::before{right:-8px}.comments .comment--by-current-user::after{right:-8px}}}.comments .comment__content{background-color:inherit}.comments .comment__avatar{background-color:inherit}.comments .comment__avatar+.comment__username-and-posted-date{background-color:inherit;padding-left:8px}.comments .comment__username-and-posted-date{width:100%}.comments .comment__title-wrapper{max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments .comment__username:hover{cursor:default}.comments .comment__header{display:-webkit-flex;display:flex;align-items:center;background-color:inherit}.comments .comment__title{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:grid;word-break:break-all;word-wrap:break-word}@media (min-width: 37.5em){.comments .comment__title{line-height:20px;line-height:1.25rem}.no-touch .comments .comment__title{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment__user-description{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#666;display:block}@media (min-width: 20em){.comments .comment__user-description{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__user-description{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__posted-date{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#666}@media (min-width: 20em){.comments .comment__posted-date{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__posted-date{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__body{margin-top:8px}.comments .comment__footer{margin-top:8px}.comments .comment__toolbar{display:-webkit-flex;display:flex;flex-direction:column-reverse}.comments .comment__toolbar-section{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;min-height:32px}.comments .comment__toolbar-section--right{justify-content:flex-end;margin-left:auto;position:relative;top:8px}.comments .comment__text{overflow-wrap:break-word;word-wrap:break-word}.comments .comment__text a{font-weight:normal}.comments .comment__text a:hover,.comments .comment__text a:focus{text-decoration:underline}.comments .comment__display-name-moderation-warning{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;display:block;font-weight:normal;text-decoration:underline}@media (min-width: 20em){.comments .comment__display-name-moderation-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__display-name-moderation-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__links-toggle{-webkit-appearance:none;background-color:transparent;border:0;border-radius:0;height:32px;margin-right:-8px;padding:0 6px;width:24px;z-index:1}.comments .comment__links-toggle .more-icon-vertical{vertical-align:middle}.comments .comment__links-toggle:hover .more-icon-vertical{fill:#006def}@media (hover: none){.comments .comment__links-toggle:not(.comment__links-toggle--enabled):hover .more-icon-vertical{fill:inherit}}.comments .comment__links-toggle--enabled .more-icon-vertical{fill:#006def}.comments .comment__action-tray{margin-top:8px;text-align:right}@media (min-width: 37.5em){.comments .comment__action-tray{margin-top:16px}}.comments .comment__action-tray .action-links{border-top:1px solid #5a5a5a;padding:12px 0}.comments .comment__action-tray .action-links:last-child{padding-bottom:0}.comments .comments-error-message{color:#222;font-weight:bold;margin-bottom:16px;padding:16px}.comments .comments-success-message{background-color:#ededed;color:#222;margin-bottom:16px;overflow:hidden;padding:8px}.comments .comments-success-message .comments-success-message-icon{float:left;height:20px;margin:1px 8px 8px 0;width:20px}.comments .comments-success-message .comments-success-message-icon .tick-icon{fill:#008a0b;margin-top:3px}.comments .comments-success-message .comments-success-message-text{margin-top:2px;overflow:hidden}.comments .comment-rating{white-space:nowrap}.comments .comment-rating__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#222;padding:0}.comments .comment-rating__button:disabled .comment-rating__button-icon svg{fill:#666}.comments .comment-rating__button .comment-rating__button-icon .fill{opacity:0;transition:opacity 300ms}.comments .comment-rating__button .loading-spinner,.comments .comment-rating__button .fill{fill:#2866f6}.comments .comment-rating__button:hover:not(:disabled),.comments .comment-rating__button:focus:not(:disabled){cursor:pointer}.comments .comment-rating__button:hover:not(:disabled) .comment-rating__button-icon .fill,.comments .comment-rating__button:focus:not(:disabled) .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button--number-placement-right{padding-right:4px}.comments .comment-rating__button--number-placement-left{padding-left:4px}@keyframes shrink{from{transform:scale(1.2)}to{transform:scale(1)}}.comments .comment-rating__button--posted:hover:not(:disabled){cursor:default}.comments .comment-rating__button--posted .comment-rating__button-icon{animation:shrink 300ms ease-in-out;transform:scale(1);will-change:transform}.comments .comment-rating__button--posted .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button-number{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px !important}@media (min-width: 37.5em){.comments .comment-rating__button-number{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-rating__button-number{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-rating__button-icon{display:inline-block;fill:#222;height:32px;margin:0 4px;position:relative;vertical-align:top;width:16px}.comments .comment-rating__button-icon svg{height:16px;left:0;margin-top:-8px;position:absolute;top:50%;width:16px}@media (min-width: 37.5em){.comments .action-links--forum-links{text-align:right}}.comments .action-links__item{display:block}@media (min-width: 25em){.comments .action-links__item{display:inline-block}}.comments .action-links__item--with-separator{padding-left:16px}.comments .action-links__item--with-separator::before{color:#aeaeae;content:'|';left:-8px;position:relative;top:0}.comments .action-link{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px}@media (min-width: 37.5em){.comments .action-link{line-height:20px;line-height:1.25rem}.no-touch .comments .action-link{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .action-link:hover{text-decoration:none}.comments .action-link:hover .action-link__text{text-decoration:underline}.comments .action-link .alert-icon{fill:#006def}.comments .action-link__icon{display:inline-block;margin-right:4px}.comments .comments-loading{align-items:stretch;display:-webkit-inline-flex;display:inline-flex;margin-bottom:44px;padding:16px 0}.comments .comments-loading__text{color:#222;font-weight:bold;margin-left:8px}.comments .comments-loading__icon{line-height:10px}.comments .comment-tooltip{display:block;position:absolute;top:16px;width:304px}@media (min-width: 37.5em){.comments .comment-tooltip{width:320px}}.comments .comment-tooltip .alert-icon{fill:#515151;padding-right:4px;vertical-align:middle}.comments .comment-tooltip__pointer{display:inline-block;height:0;left:0;line-height:0;margin-left:5px;margin-top:-2px;pointer-events:none;position:relative;top:0;vertical-align:top;width:24px;z-index:81}.comments .comment-tooltip__pointer::after,.comments .comment-tooltip__pointer::before{border-color:transparent transparent #fff;border-style:solid;border-width:11px;content:'';left:0;position:absolute;top:0}.comments .comment-tooltip__pointer::before{border-color:transparent transparent #a9a9a9;border-width:12px;top:-1px}.comments .comment-tooltip__pointer::after{left:1px;top:2px}.comments .comment-tooltip__inner{background-color:#fff;border:1px solid #a9a9a9;box-shadow:1px 1px 5px rgba(50,50,50,0.1);clear:both;color:#515151;cursor:default;left:0;position:relative;top:0;z-index:80}.comments .comment-tooltip__subtitle{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin:0;padding:16px 32px 16px 16px}@media (min-width: 20em){.comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment-tooltip__subtitle{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment-tooltip__subtitle--alert{padding-bottom:8px}.comments .comment-tooltip__body{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;padding:0 16px 16px 16px}@media (min-width: 37.5em){.comments .comment-tooltip__body{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-tooltip__body{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-tooltip__body .comments__idcta-btn{margin-bottom:0}.comments .comment-tooltip__close{background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;z-index:81}.comments .comment-tooltip__close:hover,.comments .comment-tooltip__close:active,.comments .comment-tooltip__close:focus{background-color:transparent;line-height:4px;text-decoration:none}.comments .comment-tooltip__close:hover .comment-tooltip__close-icon,.comments .comment-tooltip__close:active .comment-tooltip__close-icon,.comments .comment-tooltip__close:focus .comment-tooltip__close-icon{background-color:#ebebeb}.comments .comment-tooltip__close-icon{display:block;margin:8px;padding:4px}.comments .tooltip-launcher{position:relative}.comments .tooltip-launcher__children{display:inline-block}.comments .comment--distress{background-color:#f5f5f5;margin-top:10px;padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment__distress-message-username{background-color:#28215b;color:#fff;display:inline-block;font-weight:bold;height:24px;line-height:24px;padding:0 10px 0 32px}.comments .comment__distress-message-product-flag{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;left:-6px;margin-bottom:8px;position:absolute;top:8px}@media (min-width: 20em){.comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment__distress-message-product-flag{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment__distress-message-product-flag::after{border-left:6px solid transparent;border-top:6px solid;content:'';height:0;left:0;position:absolute;top:24px;width:0}.comments .comment__product-flag-comment::after,.comments .comment__product-flag-reply::after{border-left:0;border-right:6px solid transparent;left:auto;right:-1px;top:31px}.comments .comment__product-flag-comment{left:auto;right:-6px;top:-2px}.comments .comment__product-flag-reply{left:auto;right:-18px;top:0}@media (min-width: 37.5em){.comments .comment__product-flag-reply{right:-22px}}.comments .comment__distress-message-logo{align-items:center;display:flex;height:24px;justify-content:center;left:0;padding:3px;position:absolute;width:24px;z-index:10}.comments .comment__product-logo{height:32px;left:auto;right:-1px;top:-1px;width:32px}.comments .comment__product-logo svg{height:24px;width:24px}.comments .comment__product-flag-default .comment__distress-message-logo,.comments .comment__product-flag-sport .comment__distress-message-logo,.comments .comment__product-flag-news .comment__distress-message-logo{background-color:#12294b;height:18px;padding:0;width:44px}.comments .comment__product-flag-default .comment__distress-message-logo svg,.comments .comment__product-flag-sport .comment__distress-message-logo svg,.comments .comment__product-flag-news .comment__distress-message-logo svg{fill-rule:evenodd;height:100%;width:100%}.comments .comment__product-flag-default::after,.comments .comment__product-flag-sport::after,.comments .comment__product-flag-news::after{border-top-color:#000;top:17px}.comments .comment__product-flag-sport .comment__distress-message-logo{background-color:#ffd130}.comments .comment__product-flag-sport::after{border-top-color:#e4bc2d}.comments .comment__product-flag-news .comment__distress-message-logo{background-color:#b70000}.comments .comment__product-flag-news::after{border-top-color:#8a1d1d}.comments .comment__reply-button{margin-top:6px;position:absolute;z-index:5}.comments .comments-list__item-reply{padding-bottom:0}.comments .comments-list__item-reply::before{border-top:1px solid #5a5a5a;content:'';display:block;margin:12px;margin-right:0}@media (min-width: 37.5em){.comments .comments-list__item-reply::before{margin-bottom:16px;margin-left:16px;margin-top:16px}}.comments .comments-list__item-reply:first-child::before{display:none}.comments .comment--reply{border:0;box-shadow:none;padding-bottom:0;padding-right:0;padding-top:0}.comments .comment--reply::before,.comments .comment--reply::after{content:none}@media (max-width: 480px){.comments .reply-input{padding-bottom:12px}}@media (max-width: 480px){.comments .reply-input-buttons-wrapper{padding-top:36px}}.comments .reply-separator{border-bottom:1px solid #5a5a5a;margin-bottom:12px;margin-top:12px}@media (min-width: 37.5em){.comments .reply-separator{margin-bottom:16px;margin-top:16px}}.comments .replies-separator{border-top:1px solid #5a5a5a;margin-top:12px;padding-top:12px}@media (min-width: 37.5em){.comments .replies-separator{margin-top:16px;padding-top:16px}}.comments .replies-list-reply-open{margin-top:0}.comments .replies{border-left:2px solid #006def}.comments .reply-input-hidden{display:none}.comments .reply{border-left:2px solid #006def;margin-top:12px;padding-left:12px}@media (min-width: 37.5em){.comments .reply{padding-left:16px}}.comments .reply .reply__signin{background-color:#f5f5f5;padding:16px}.comments .reply .reply__signin .reply__signin--prompt{padding-bottom:12px;padding-top:4px}.comments .reply .reply__signedin{background-color:#f5f5f5;padding:0 8px}.comments .reply .reply__signedin a{color:#006def;font-weight:normal}.comments .reply .reply__signedin a:hover{text-decoration:underline}.comments .reply .reply__signedin .reply__signedin-ineligible{padding:0 8px}.comments .reply .reply__signedin .reply__signedin-ineligible span{font-size:.8em !important}.comments .reply .reply__signedin .reply__signedin-ineligible span a{font-weight:bold}.comments .reply .reply__signedin .reply__signedin-eligible{padding:12px 8px 0}.comments .reply .reply__signedin .reply__signedin-eligible .reply__signedin-eligible-header{font-weight:bold;padding-bottom:16px;padding-top:6px;word-break:break-all;word-wrap:break-word}.comments .reply .comments-success-message{background-color:transparent;border-top:1px solid #5a5a5a;padding:0;padding-top:16px}.comments .reply .comments-error-message{background-color:#e4134f;color:#fff}.comments .reply-to-reply{border-left:0;padding-left:0}.comments .reply-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;line-height:32px;padding-left:0}.comments .reply-button .reply-button__text{font-weight:bold}.comments .reply-button .reply-button__icon{margin-right:6px;position:relative;top:2px}.comments .reply-button .reply-button__icon .reply-button__icon-gel{height:13px;width:13px}.comments .reply-button:hover,.comments .reply-button:focus{color:#005bc8}.comments .reply-button:hover .reply-button__text,.comments .reply-button:focus .reply-button__text{text-decoration:underline}.comments .reply-snippet{margin:12px 0}@media (min-width: 37.5em){.comments .reply-snippet{margin:16px 0}}.comments .reply-snippet .reply-snippet-button{background:none;border:0;font:inherit;max-width:50%;text-align:left}@media (min-width: 37.5em){.comments .reply-snippet .reply-snippet-button{max-width:33%}}.comments .reply-snippet .reply-snippet__control{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;align-items:center;display:flex;line-height:18px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__control{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__control{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--prelink{color:#666;font-style:italic;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 37.5em){.comments .reply-snippet .reply-snippet__control .reply-snippet__control--prelink{max-width:33%}}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--prelink .reply-snippet__control--prelink-text:hover{cursor:default}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--link{display:-webkit-flex;display:flex;color:#006def;cursor:pointer;font-weight:bold;padding-left:5px}.comments .reply-snippet .reply-snippet__control .reply-snippet__control--link .reply-snippet__control--msg-short{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments .reply-snippet .reply-snippet__show-content{background-color:#f5f5f5;line-height:24px;margin-top:8px;padding:16px 12px;width:100%}.comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;font-size:15px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__show-content .reply-snippet__show-content--name{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-more-replies{border-top:1px solid #5a5a5a;margin-top:16px;padding-top:12px}.comments .reply-more-replies .reply-more-replies__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;align-items:center;color:#006def;cursor:pointer;display:flex;padding-left:0}.comments .reply-more-replies .reply-more-replies__button .loading-spinner,.comments .reply-more-replies .reply-more-replies__button .fill{fill:#006def}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__text{font-weight:bold;margin-right:4px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon{position:relative;top:1px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel{height:13px;stroke:#006def;stroke-width:1px;width:13px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel-spin{height:14px;margin-right:0;margin-top:0;width:14px}.comments .reply-more-replies .reply-more-replies__button:hover,.comments .reply-more-replies .reply-more-replies__button:focus{color:#005bc8}.comments .reply-more-replies .reply-more-replies__button:hover .reply-more-replies__text,.comments .reply-more-replies .reply-more-replies__button:focus .reply-more-replies__text{text-decoration:underline}.comments .comments-sort-error{display:-webkit-flex;display:flex;background-color:#fff;margin-bottom:8px;padding:8px}@media (min-width: 37.5em){.comments .comments-sort-error{padding:16px}}.comments .comments-sort-error .comments-sort-error__icon svg{fill:#e4134f;height:20px;width:20px}.comments .comments-sort-error .comments-sort-error__message{padding-left:4px}@media (min-width: 37.5em){.comments .comments-sort-error .comments-sort-error__message{padding-left:8px}}.comments .contributor-avatar{background-color:inherit;display:flex}.comments .contributor-avatar .contributor-avatar__letter{align-items:center;background:#949494;border-radius:25px;color:#fff;display:flex;font-size:24px;font-weight:500;height:48px;justify-content:center;line-height:normal;vertical-align:middle;width:48px}.comments .contributor-avatar .contributor-avatar__letter--current{background:#006def}.comments .contributor-avatar .contributor-avatar__image{background-color:inherit;height:48px;position:absolute;width:48px;z-index:5}.comments .collapsible-panel .collapsible-panel__title{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:inherit;cursor:pointer;margin:-5px;padding:5px}.comments .collapsible-panel .collapsible-panel__title:hover,.comments .collapsible-panel .collapsible-panel__title:focus{text-decoration:underline}.comments .collapsible-panel .collapsible-panel__title--disabled{cursor:initial}.comments .collapsible-panel .collapsible-panel__title--disabled:hover,.comments .collapsible-panel .collapsible-panel__title--disabled:focus{text-decoration:none}.comments .collapsible-panel .collapsible-panel__content{border-top:1px solid #5a5a5a;margin-top:12px;padding-top:12px}@media (min-width: 37.5em){.comments .collapsible-panel .collapsible-panel__content{margin-top:16px;padding-top:16px}}.comments .collapsible-panel .collapsible-panel__content-no-separator{border-top:0;margin-top:0}.comments .username{font-weight:bold}.view-comments-button-wrapper{display:block}.view-comments-button-wrapper-hidden{display:none}.view-comments-button-wrapped-component{display:block}.view-comments-button-wrapped-component-hidden{display:none}.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{left:8px;position:relative}@media (min-width: 25em){.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{margin-bottom:24px}}.comments-theme-variant--childrens .comments__header .comments__heading-module-title{background-color:#d31c70;box-shadow:1px 1px 0 0 rgba(0,0,0,0.5);color:#fff;display:inline-block;font-size:.9em;left:-5px;margin-bottom:0;padding:2px 6px;position:relative;z-index:2}.comments-theme-variant--childrens .comments__header .comments__heading-title{color:#fff;font-weight:800;position:relative;white-space:pre-wrap;z-index:1}.comments-theme-variant--childrens .comments__header .comments__heading-title-text{background-color:#28215b;box-shadow:-5px 0 0 0 #28215b;line-height:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__heading-title-text{font-size:1.2em}}.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.5em}}.comments-theme-variant--childrens .comments__more-comments-button{border-bottom:4px #005b87 solid;border-radius:4px;border-top:0;padding:12px 16px}.comments-theme-variant--childrens .comments__more-comments-button:hover,.comments-theme-variant--childrens .comments__more-comments-button:active{border-bottom-width:2px;margin-top:2px;text-decoration:underline}.comments-theme-variant--childrens .comment{border-radius:8px 8px 8px 0}.comments-theme-variant--childrens .comment--by-current-user{border-radius:8px 8px 0}.comments-theme-variant--childrens .comment-rating__button .loading-spinner,.comments-theme-variant--childrens .comment-rating__button .fill{fill:#e63f23}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message{display:-webkit-flex;display:flex;-moz-align-items:center;-ms-align-items:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}}.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{float:none;margin:0 8px 8px 0;min-height:40px;min-width:40px}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{-moz-align-self:flex-start;-ms-align-self:flex-start;-webkit-align-self:flex-start;align-self:flex-start;margin-bottom:0}}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-text{display:-webkit-flex;display:flex;margin-top:0}}.comments-theme-variant--childrens:not(.comments__product--default) .comment--distress{padding-top:40px}.comments-theme-variant--childrens .comment__product-flag-default:not(.comment__notable-flag),.comments-theme-variant--childrens .comment__product-flag-default:not(.comment__notable-flag) .comment__distress-message-logo{display:none}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-username{background-color:#1a3f8c}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-logo{background-color:#153371}.comments-theme-variant--childrens .comment__product-flag-cbbc::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-username{background-color:#ffe514;color:#222}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-logo{background-color:#f1d911}.comments-theme-variant--childrens .comment__product-flag-cbeebies::after{border-top-color:#ccb80d}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-username{background-color:#1a3f8c;color:transparent;min-width:90px;padding:0 0 0 32px}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo{background-color:#153371;display:block;padding:0}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo svg{fill-rule:evenodd;height:100%;left:5px;position:relative}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__product-logo svg{left:0;width:32px}.comments-theme-variant--childrens .comment__product-flag-ownit::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-username{background-color:#431588;color:#fff}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo{background-color:#551bab}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo svg{fill-rule:evenodd}.comments-theme-variant--childrens .comment__product-flag-newsround::after{border-top-color:#431588}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-username{background-color:#7a31e5;color:#fff;font-size:15px}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-logo{background-color:#7a31e5;padding:0}.comments-theme-variant--childrens .comment__product-flag-nightfall .comment__distress-message-logo svg{height:100%;width:100%}.comments-theme-variant--childrens .comment__product-flag-nightfall::after{border-top-color:#b079ff}.view-comments-button--hidden{display:none}.view-comments-button-container{margin-bottom:24px}@media (min-width: 37.5em){.view-comments-button-container{margin-bottom:32px}}.view-comments-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#ededed;color:#000;cursor:pointer;font-size:16px;font-weight:bold;outline-offset:4px;padding:4px 8px;position:relative}.view-comments-button:hover,.view-comments-button:focus{background-color:#dbdbdb}.view-comments-button::before{bottom:-7px;content:'';left:0;min-height:44px;min-width:44px;position:absolute;right:0;top:-7px}.view-comments-button__icon{margin-right:8px;position:relative;top:1px}.view-comments-button__icon .view-comments__icon-gel{height:13px;width:13px}.view-comments-button__count{border-left:1px solid #000;margin-left:8px;padding-left:8px}.js-focus-visible :focus:not(.focus-visible){outline:none}\n</style>"); }</script> <script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/4.0.0"]=true; Morph.styleSrc.push("<style>.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes gel-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u9478920504302819 */</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/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts', 'cbeebies': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/cbeebies', 'cbbc': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/cbbc', 'jquery': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/jquery', 'jquery-1': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/jquery/jquery', 'jquery-1.9': 'https://web.archive.org/web/20210116223748/https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1', 'lib': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries', 'bump-3': 'https://web.archive.org/web/20210116223748/https://emp.bbci.co.uk/emp/bump-3/bump-3', 'bump-4': 'https://web.archive.org/web/20210116223748/https://emp.bbci.co.uk/emp/bump-4/bump-4', 'embed': 'https://web.archive.org/web/20210116223748/https://play.bbc.co.uk/play/sdk/embed/v1/latest', 'lib/Imager': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/Imager.min', 'TweenMax': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/gsap/TweenMax.min', 'TimelineMax': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/gsap/TweenMax.min', 'echo-11.2.2': 'https://web.archive.org/web/20210116223748/https://mybbc-analytics.files.bbci.co.uk/echo-client-js/echo-11.2.2.min', 'lib/riddle': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/riddle/embed-3.3.min', 'lib/minpubsub': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/minpubsub.min', 'uasclient': 'https://web.archive.org/web/20210116223748/https://static.bbci.co.uk/uasclient/0.1.40/modules/uasclient', 'activity-button': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/activity-button', 'activity-button/activity-button': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/personalisation/personalisation.min', 'reads': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/reads', 'reads/reads': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/personalisation/personalisation.min', 'reads-carousel': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/reads-carousel', 'reads-carousel/reads-carousel': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/personalisation/personalisation.min', 'angular': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/angular', 'angular/app': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/angular/app.min', 'stats': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/stats', 'stats/riddle-events': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/stats/riddle-events.min', 'stats/stats': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/stats/stats.min', 'confetti': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/confetti', 'confetti/confetti': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/confetti/confetti.min', 'follows-panel': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/follows-panel', 'follows-panel/childrens-follows-panel': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/personalisation/personalisation.min', 'personalisation': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/personalisation', 'domReady': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/libraries/require/domReady.min', 'relay-1': 'https://web.archive.org/web/20210116223748/https://static.bbci.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1', 'jssignals-1': 'https://web.archive.org/web/20210116223748/https://static.bbci.co.uk/frameworks/jssignals/0.3.6/modules/jssignals-1', 'vote-wrapper': 'https://web.archive.org/web/20210116223748/https://account-wrapper.files.bbci.co.uk/vote-wrapper.min', 'event-stream': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/event-stream/event-stream.min', 'riddle/auto-scroll': 'https://web.archive.org/web/20210116223748/https://childrens-web.files.bbci.co.uk/stay-safe/www/assets/7ddf7fa/javascripts/riddle/auto-scroll.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 () {}); } }; define('istats-1', function() { return { log: function() {}, track: function() {}, setSite: function() {}, addLabels: function() {}, getCountername: 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" : "coping-with-change", "children_show" : "none", "children_index" : "take-control", "children_topic" : "none", "children_collection" : "coping-with-change", "children_oj_campaign" : "stay-safe.the-basics.the_christmas_countdown_rhys_stephenson.page-stay-safe.take-control.top_5_christmas_games.page-stay-safe.the-basics.the_christmas_countdown_scott_miller.page", "children_primary_content" : "bid-copingwithchange.jpg", "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"> <div id="cookiePrompt"></div> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20210116223748im_/https://a1.api.bbc.co.uk/hit.xiti?&amp;col=1&amp;from=p&amp;ptag=js&amp;s=598253&amp;p=take-control::unknown&amp;x1=[urn:bbc:isite2:5dbb3196-d0f0-439d-a166-139b8a6344f4]&amp;x2=[responsive]&amp;x3=[bbc_website]&amp;x4=[en]&amp;x7=[article]&amp;x8=[reverb-1.6.1-nojs]&amp;x11=[own_it]&amp;x12=[bbc]" height="1" width="1" alt=""></p></noscript> <header id="orb-banner" role="banner" aria-label="BBC"><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/20210116223748/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="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li></ul></div></section><div id="mybbc-wrapper" class="orb-nav-section orb-nav-id orb-nav-focus orb-nav-id-default"> <div id="idcta-statusbar" class="orb-nav-section orb-nav-focus" data-bbc-container="id-cta" data-bbc-event-type="click" data-bbc-ignore-views="1" data-bbc-metadata="{&quot;id-cta-type&quot;: &quot;statusbar-orb&quot;}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://web.archive.org/web/20210116223748/https://account.bbc.com/account?context=cbbc&amp;ptrt=https://www.bbc.com/ownit/take-control/cope-with-change-uncertainty"><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/20210116223748/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20210116223748/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/20210116223748/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/20210116223748/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/20210116223748/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" maxlength="100" name="q" placeholder="Search"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form> </div></div><div id="orb-panels"></div></div></header> <!-- Styling hook for shared modules only --> <div id="orb-modules"> <div id="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/7ddf7fa/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--take-control 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" data-stats-page-type="content" data-stats-children-curation="coping-with-change" data-stats-children-show="none" data-stats-children-index="take-control" data-stats-children-topic="none" data-stats-children-collection="coping-with-change" data-stats-children-oj-campaign="stay-safe.the-basics.the_christmas_countdown_rhys_stephenson.page-stay-safe.take-control.top_5_christmas_games.page-stay-safe.the-basics.the_christmas_countdown_scott_miller.page" data-stats-children-page-intention="false" data-stats-children-primary-content="bid-copingwithchange.jpg" 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/20210116223748/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/20210116223748/https://www.bbc.com/ownit" data-stats-interaction="navigation" data-stats-interaction-variant="home" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;home::1&quot;}" data-bbc-title="Home" data-bbc-source="ownit"> <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/20210116223748/https://www.bbc.com/ownit/the-basics" data-stats-interaction="navigation" data-stats-interaction-variant="the-basics" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;the-basics::2&quot;}" data-bbc-title="The Basics" data-bbc-source="ownit"> <span class="menu__link-icon"></span><span class="menu__link-label">The Basics</span> </a> </li><li class="menu__item menu__item--take-control menu__item--current"> <a class="menu__link" href="/web/20210116223748/https://www.bbc.com/ownit/take-control" data-stats-interaction="navigation" data-stats-interaction-variant="take-control" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;take-control::3&quot;}" data-bbc-title="Take Control" data-bbc-source="ownit"> <span class="menu__link-icon"></span><span class="menu__link-label">Take Control</span> </a> </li><li class="menu__item menu__item--its-personal"> <a class="menu__link" href="/web/20210116223748/https://www.bbc.com/ownit/its-personal" data-stats-interaction="navigation" data-stats-interaction-variant="its-personal" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;its-personal::4&quot;}" data-bbc-title="It's Personal" data-bbc-source="ownit"> <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/20210116223748/https://www.bbc.com/ownit/dont-panic" data-stats-interaction="navigation" data-stats-interaction-variant="dont-panic" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;dont-panic::5&quot;}" data-bbc-title="Don't Panic" data-bbc-source="ownit"> <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/20210116223748/https://www.bbc.com/ownit/about-us" data-stats-interaction="navigation" data-stats-interaction-variant="about-us" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;about-us::6&quot;}" data-bbc-title="About Us" data-bbc-source="ownit"> <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/20210116223748/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/20210116223748/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">6 ways to cope with uncertainty and change</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--bid content-item--take-control"> <div class="content-item__frame"> <section class="content-item__section content-item__primary-content content-item__primary-content--bid" itemtype="http://www.schema.org/MediaObject" itemscope> <meta itemprop="name" content="6 ways to cope with uncertainty and change"/> <meta itemprop="description" content="It can feel like the world around us (and the rules) keep changing at the moment. Whether it’s new rules at school or local lockdowns in the news. This can leave us all feeling uncertain and worried at times, but it’s important to remember that you're never alone. "/> <meta itemprop="typicalAgeRange" content="0-12"/> <meta itemprop="datePublished" content="2020-09-11T11:20:00.000Z"/> <meta itemprop="url" content="https://web.archive.org/web/20210116223748/http://www.bbc.co.uk/ownit/take-control/cope-with-change-uncertainty"/> <meta itemprop="isFamilyFriendly" content="true"/> <meta itemprop="image" content="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/stay-safe/copingwithchange.jpg"/> <meta itemprop="thumbnailUrl" content="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/stay-safe/copingwithchange.jpg"/> <div class="content-item__section-content"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/copingwithchange.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/copingwithchange.jpg" alt=""/> </noscript> </span> </div> </section> <div class="content-item__section content-item__section--information"> <div class="content-item__section-content"> <div class="content-item-description"> <div class="button-list-container button-list-container--above-description"> <ul class="button-list"><!-- --><li class="button-list__item content-item__heart-button"> <div class="heart-button"> <div class="button button--heart-button"> <button class="heart-button__button heart-button__button--stay-safe button__link" aria-pressed="false" aria-live="polite" aria-labelledby="heart-button__labels" data-heart-button-state="unselected" data-resource-id="urn:bbc:isite2:file_id:stay-safe:content-cope-with-change-uncertainty"> <span class="button__inner"> <span class="heart-button__icons heart-button__s"> <i aria-hidden="true" class="gelicon gelicon--love-outline heart-button__gelicon heart-button__icon heart-button__icon--unselected heart-button__icon--remove"></i> <i aria-hidden="true" class="gelicon gelicon--load heart-button__gelicon heart-button__icon heart-button__icon--in-progress"></i> <i aria-hidden="true" class="gelicon gelicon--love heart-button__gelicon heart-button__icon heart-button__icon--selected"></i> </span> <span class="heart-button__labels"> <span class="heart-button__label heart-button__s heart-button__label--add" role="presentation">Love</span> <span class="heart-button__label heart-button__s heart-button__label--added" role="presentation">Loved</span> <span class="heart-button__label heart-button__s heart-button__label--remove" role="presentation">Unlove</span> </span> </span> </button> <span class="heart-button__count"> <span class="button__add-on-container"> <span class="button__add-on ">2</span> </span> </span> </div> <div class="heart-button__tooltip"></div> <script> require(['activity-button/heart-button'], function (HeartButton) { HeartButton('urn:bbc:isite2:file_id:stay-safe:content-cope-with-change-uncertainty', 'isite'); }); </script> </div> </li><!-- --><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>6 ways to cope with uncertainty and change</h1> <p class="content-item-description__description">It can feel like the world around us (and the rules) keep changing at the moment. Whether it’s new rules at school or local lockdowns in the news. This can leave us all feeling uncertain and worried at times, but it’s important to remember that you&#x27;re never alone. </p> </div> </div> <div class="button-list-container button-list-container--below-description"> <ul class="button-list"><!-- --><li class="button-list__item content-item__heart-button"> <div class="heart-button"> <div class="button button--heart-button"> <button class="heart-button__button heart-button__button--stay-safe button__link" aria-pressed="false" aria-live="polite" aria-labelledby="heart-button__labels" data-heart-button-state="unselected" data-resource-id="urn:bbc:isite2:file_id:stay-safe:content-cope-with-change-uncertainty"> <span class="button__inner"> <span class="heart-button__icons heart-button__s"> <i aria-hidden="true" class="gelicon gelicon--love-outline heart-button__gelicon heart-button__icon heart-button__icon--unselected heart-button__icon--remove"></i> <i aria-hidden="true" class="gelicon gelicon--load heart-button__gelicon heart-button__icon heart-button__icon--in-progress"></i> <i aria-hidden="true" class="gelicon gelicon--love heart-button__gelicon heart-button__icon heart-button__icon--selected"></i> </span> <span class="heart-button__labels"> <span class="heart-button__label heart-button__s heart-button__label--add" role="presentation">Love</span> <span class="heart-button__label heart-button__s heart-button__label--added" role="presentation">Loved</span> <span class="heart-button__label heart-button__s heart-button__label--remove" role="presentation">Unlove</span> </span> </span> </button> <span class="heart-button__count"> <span class="button__add-on-container"> <span class="button__add-on ">2</span> </span> </span> </div> <div class="heart-button__tooltip"></div> <script> require(['activity-button/heart-button'], function (HeartButton) { HeartButton('urn:bbc:isite2:file_id:stay-safe:content-cope-with-change-uncertainty', 'isite'); }); </script> </div> </li><!-- --><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>Here are 6 simple ways you can protect yourself from anxiety during times of change:</p> </div> <div class="article__media-container media-container"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/hereandnow.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/hereandnow.jpg" alt=""/> </noscript> </span> </div> </div> <div class="article__section "> <h2 class="article__section-heading">1. Stay in the ‘here and now’</h2> <div class="article__body-text"> <p>Try to focus on just the day ahead of you rather than fixating on longer-term plans. <strong>Put down your phone</strong> and relax for a moment. Living purely in the moment is a skill that Tibetan monks, and people who meditate, practice because it helps them feel happy - you can just as easily do it as well!</p> <p>Just take one day at a time, and if you feel your mind drifting bring it back to focus on doing something mindful or creative, like making a <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/lockdown-scrapbook">creative scrapbook</a>.</p> </div> </div> <div class="article__section "> <h2 class="article__section-heading">2. Manage your expectations</h2> <div class="article__body-text"> <p>The current situation has taken away from most us the ability to make plans and stick to them. It's natural to want to make plans, and have things to look forward but, for now only, it's better to focus on things that are closer in time, like the next few days or weeks to avoid disappointment if activities we plan don't turn out to be exactly the way we imagined.</p> </div> </div> <div class="article__section "> <h2 class="article__section-heading">3. Find a routine</h2> <div class="article__body-text"> <p>To help you feel more in control of your life and less stressed about the changes around you, find your own little routine that can help you keep focus on the here and now. Routines give us a great sense of security, for example, you can control what time to play your <strong>favourite game</strong> to relax, or <strong>how long to spend online t</strong>alking with friends, and that can be something that happens every day at the same time with no interruptions. Here’s more on making a <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/structure-at-home">great daily routine</a>.&nbsp;</p> </div> <div class="article__media-container media-container"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/trigger.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/trigger.jpg" alt=""/> </noscript> </span> </div> </div> <div class="article__section "> <h2 class="article__section-heading">4. Avoid online ‘triggers’</h2> <div class="article__body-text"> <p>Don’t spend too much time online reading <strong>social media</strong> and following every news story. It can be hard to tell what is real or accurate, and everyone likes to share their opinions online. Unfollow accounts that stress you out to avoid feeling like the news is spiraling out of control.</p> <p>Try and stay focused on positive stories, and places or people that give a balanced views.</p> </div> <div class="article__media-container media-container"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-image-load" data-src="https://web.archive.org/web/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/Talktaktalk.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/Talktaktalk.jpg" alt=""/> </noscript> </span> </div> </div> <div class="article__section "> <h2 class="article__section-heading">5. Talk. Talk. Talk</h2> <div class="article__body-text"> <p>Whether over online messages, the phone, or in person - tell your family and friends how you are feeling because other people will most likely be feeling the same way and talking to people you trust will always help.*</p> </div> </div> <div class="article__section "> <h2 class="article__section-heading">6. Don’t borrow trouble</h2> <div class="article__body-text"> <p>*However! When talking to others about your worries and stresses try not to borrow their troubles. Some of your friends might have their own worries, or be feeling more negative than you do. None of us have magic powers to predict the future, so don't be too concerned by new worries other people may have, just be a good friend and send them over to <a href="/web/20210116223748/https://www.bbc.com/ownit">Own It</a>.</p> <p>Uncertainty will not be with us forever, but these clever tools and ways of thinking can be with you for life!</p> <p><strong><em>Advice from Dr George Kitsaras (CPscyhol), University of Manchester.</em></strong></p> <p>You can get more great advice, on the go, with the Own It app. Download from your <a href="https://web.archive.org/web/20210116223748/https://apps.apple.com/gb/app/bbc/id1444459647">Apple</a> or <a href="https://web.archive.org/web/20210116223748/https://play.google.com/store/apps/details?id=uk.co.bbc.ownit&amp;referrer=utm_source%3Dwebsite-ownit%26utm_campaign%3Dwebsite-ownit-nov-19">GooglePlay </a>app store. If you're under 13, ask your parent or guardian to download the app for you.</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/20210116223748/https://www.bbc.com/ownit/curations/coping-with-change" data-stats-interaction="collection" data-stats-interaction-variant="text_link"> <h3 class="carousel__title" aria-label="Coping with change and uncertainty collection">Coping with change and uncertainty</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 carousel__item--selected"> <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/cope-with-change-uncertainty?collection=coping-with-change" class="content-card content-card--take-control content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card-disabled" data-stats-interaction-position="0" data-stats-interaction-action="button" data-site-section="take-control"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/copingwithchange.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/copingwithchange.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--take-control"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="6 ways to cope with uncertainty and change"> 6 ways to cope with uncertainty and change </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20210116223748/https://www.bbc.com/ownit/dont-panic/news-making-you-feel-anxious?collection=coping-with-change" class="content-card content-card--dont-panic content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="1" data-stats-internal-link-location="coping-with-change" data-site-section="dont-panic"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/Anxious-2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/Anxious-2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--dont-panic"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Is the news making you feel anxious?"> Is the news making you feel anxious? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20210116223748/https://www.bbc.com/ownit/its-personal/how-to-reach-out?collection=coping-with-change" 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="coping-with-change" 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/20210116223748/https://ichef.bbci.co.uk/images/ic/{width}xn/p08r2dhb.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/images/ic/400xn/p08r2dhb.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="How to reach out to others when you're worried or sad"> How to reach out to others when yo<span class="w320-hide w600-hide">u&#x27;re worri</span>... </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/moment-of-crisis?collection=coping-with-change" class="content-card content-card--take-control content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="3" data-stats-internal-link-location="coping-with-change" data-site-section="take-control"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/momentofcrisis.jpg "></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/momentofcrisis.jpg " alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--take-control"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Moment of crisis"> Moment of crisis </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20210116223748/https://www.bbc.com/ownit/its-personal/5-things-to-do-when-you-feel-down?collection=coping-with-change" 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="coping-with-change" 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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/mentalhealthtipscc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/mentalhealthtipscc.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 things to do when you’re feeling down"> 5 things to do when you’re feeling down </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/how-to-know-if-your-friend-needs-help?collection=coping-with-change" class="content-card content-card--take-control content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="5" data-stats-internal-link-location="coping-with-change" data-site-section="take-control"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/does_your_friend_need_help_web.png"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/does_your_friend_need_help_web.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--take-control"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="How to tell if your friend needs help"> How to tell if your friend needs help </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/moment-of-relaxation?collection=coping-with-change" class="content-card content-card--take-control content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="6" data-stats-internal-link-location="coping-with-change" data-site-section="take-control"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/momentofrelaxations.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/momentofrelaxations.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--take-control"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Moment of relaxation"> Moment of relaxation </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20210116223748/https://www.bbc.com/ownit/the-basics/five-ways-to-wellbeing?collection=coping-with-change" class="content-card content-card--the-basics content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="7" data-stats-internal-link-location="coping-with-change" data-site-section="the-basics"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/cover-image-16.9.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/cover-image-16.9.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--the-basics"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="The five ways to look after your own wellbeing"> The five ways to look after your o<span class="w320-hide w600-hide">wn wellbei</span>... </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/moment-of-reflection?collection=coping-with-change" class="content-card content-card--take-control content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="8" data-stats-internal-link-location="coping-with-change" data-site-section="take-control"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/momentofreflection.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/momentofreflection.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--take-control"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Moment of reflection"> Moment of reflection </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/20210116223748/https://www.bbc.com/ownit/the-basics/the-christmas-countdown-rhys-stephenson" class="content-card content-card--the-basics content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="0" data-site-section="the-basics"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/Rhysweb.jpg" data-alt="The Own It Christmas Countdown: Rhys Stephenson"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/Rhysweb.jpg" alt="The Own It Christmas Countdown: Rhys Stephenson"/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--the-basics"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="The Own It Christmas Countdown: Rhys Stephenson"> The Own It Christmas Countdown: Rh<span class="w320-hide w600-hide">ys Stephen</span>... </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> <span class="content-card__comments-count"> <span class="content-card__count-description">Number of comments </span> <span class="content-card__count-number">1</span> </span> </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">8</span> </span> </li><!-- --></ul> </div> </div> </a> </li><li class="content-list__item" data-follows-panel-item data-resource-id=""> <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/top-5-christmas-games" class="content-card content-card--take-control content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="1" data-site-section="take-control"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/christmas_games_web.png" data-alt="Top 5 Christmas games…without the board"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/christmas_games_web.png" alt="Top 5 Christmas games…without the board"/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--take-control"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Top 5 Christmas games…without the board"> Top 5 Christmas games…without the board </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> <span class="content-card__comments-count"> <span class="content-card__count-description">Number of comments </span> <span class="content-card__count-number">3</span> </span> </li><!-- --><li class="content-card__count-divider" aria-hidden="true">&#124;</li><!-- --><li class="content-card__count content-card__count--loves"> <i class="gelicon gelicon--love-outline content-card__count-icon" aria-hidden="true"></i> <span class="content-card__love-count"> <span class="content-card__count-description">Number of loves </span> <span class="content-card__count-number">2</span> </span> </li><!-- --></ul> </div> </div> </a> </li><li class="content-list__item" data-follows-panel-item data-resource-id=""> <a href="/web/20210116223748/https://www.bbc.com/ownit/the-basics/the-christmas-countdown-scott-miller" class="content-card content-card--the-basics content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="2" data-site-section="the-basics"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/stay-safe/DrMillerweb.jpg" data-alt="The Own It Christmas Countdown: Dr Scott Miller"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/stay-safe/DrMillerweb.jpg" alt="The Own It Christmas Countdown: Dr Scott Miller"/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--the-basics"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="The Own It Christmas Countdown: Dr Scott Miller"> The Own It Christmas Countdown: Dr<span class="w320-hide w600-hide"> Scott Mil</span>... </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">14</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="u9478920504302819"><div class="comments-module-container comments--loading comments--no-js" data-reactid=".4xo8hldfpo" data-react-checksum="-831404824"><div class="comments comments-theme-variant--childrens comments__product--stay-safe" data-reactid=".4xo8hldfpo.0"><span data-reactid=".4xo8hldfpo.0.0"><div class="comments__header comments--border comments--shadow" data-reactid=".4xo8hldfpo.0.0.0"><div class="comments__heading-wrapper" id="comments" tabindex="-1" data-reactid=".4xo8hldfpo.0.0.0.0"><h4 class="comments__heading-module-title" data-reactid=".4xo8hldfpo.0.0.0.0.0">Your Comments</h4><h4 class="comments__heading-title" data-reactid=".4xo8hldfpo.0.0.0.0.1"><span class="comments__heading-title-text" data-reactid=".4xo8hldfpo.0.0.0.0.1.0">Join the conversation</span></h4></div><noscript data-reactid=".4xo8hldfpo.0.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=".4xo8hldfpo.0.0.0.2">These comments are now closed.</p><div class="comments__comments-total-and-sort-area" data-reactid=".4xo8hldfpo.0.0.0.5"><div class="comments__comments-total" data-reactid=".4xo8hldfpo.0.0.0.5.0"><div class="comments-total" data-reactid=".4xo8hldfpo.0.0.0.5.0.0"><span data-reactid=".4xo8hldfpo.0.0.0.5.0.0.0">0 comments</span></div></div></div></div></span><div class="comments__footer comments__footer--no-comments comments__footer--closed-forum" data-reactid=".4xo8hldfpo.0.3"><span class="comment__hidden-text" data-reactid=".4xo8hldfpo.0.3.4"><div class="comments__a11y-message comment__hidden-text" aria-live="assertive" aria-atomic="true" data-reactid=".4xo8hldfpo.0.3.4.0"></div></span><span class="comment__hidden-text" data-reactid=".4xo8hldfpo.0.3.5"><div class="comments__a11y-message comment__hidden-text" aria-live="polite" aria-atomic="true" data-reactid=".4xo8hldfpo.0.3.5.0"></div></span></div></div><span id="comments-view-version" aria-hidden="true" style="display:none !important;" data-reactid=".4xo8hldfpo.2">3.66.3</span></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/20210116223748/https://www.bbc.com/ownit/curations/coping-with-change" data-stats-interaction="collection" data-stats-interaction-variant="text_link"> <h3 class="collection-list__title" aria-label="Coping with change and uncertainty collection">Coping with change and uncertainty</h3> </a> </div> <ul class="collection-list__items"> <li class="collection-list__item"> <a href="/web/20210116223748/https://www.bbc.com/ownit/dont-panic/news-making-you-feel-anxious?collection=coping-with-change" class="content-card content-card--dont-panic content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="0" data-stats-internal-link-location="coping-with-change" data-site-section="dont-panic"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/Anxious-2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/Anxious-2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--dont-panic"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Is the news making you feel anxious?"> Is the news making you feel anxious? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20210116223748/https://www.bbc.com/ownit/its-personal/how-to-reach-out?collection=coping-with-change" 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="coping-with-change" 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/20210116223748/https://ichef.bbci.co.uk/images/ic/{width}xn/p08r2dhb.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/images/ic/400xn/p08r2dhb.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="How to reach out to others when you're worried or sad"> How to reach out to others when yo<span class="w320-hide w600-hide">u&#x27;re worri</span>... </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20210116223748/https://www.bbc.com/ownit/take-control/moment-of-crisis?collection=coping-with-change" class="content-card content-card--take-control content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="2" data-stats-internal-link-location="coping-with-change" data-site-section="take-control"> <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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/momentofcrisis.jpg "></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/momentofcrisis.jpg " alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--take-control"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Moment of crisis"> Moment of crisis </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20210116223748/https://www.bbc.com/ownit/its-personal/5-things-to-do-when-you-feel-down?collection=coping-with-change" 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="coping-with-change" 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/20210116223748/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/stay-safe/mentalhealthtipscc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20210116223748im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/stay-safe/mentalhealthtipscc.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 things to do when you’re feeling down"> 5 things to do when you’re feeling down </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/20210116223748/https://www.bbc.com/ownit/curations/coping-with-change" 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'], ($, idctaConfig) => { idctaConfig.getConfigAsync() .then((idConfig) => { $('.id4-cta-signin').each(function () { if (idConfig.signin_url) { this.href = idConfig.signin_url; } }); $('.id4-cta-register').each(function () { if (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-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-gel-icons@4.0.0"]={"bbc-morph-classnames":"1.0.2","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){Morph.modules["bbc-morph-gel-icons@4.0.0"]=t(1)},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=t(2),o=n(i),a=t(3),s=n(a),l=t(4),c=n(l),u=o.default.createClass({displayName:"GEL__Icon",propTypes:{iconName:o.default.PropTypes.string,additionalClassNames:o.default.PropTypes.string},render:function(){var e=(0,c.default)("gel-icon","gel-icon--"+this.props.iconName,this.props.additionalClassNames),r="";try{var t=s.default.selfTransitiveThenUpdate("gel-icon-"+this.props.iconName,this);r=t?o.default.createElement(t,null):o.default.createElement("noscript",null)}catch(e){r=o.default.createElement("noscript",null)}return o.default.createElement("div",{className:e},r)}});u.ensureIcon=function(e){"undefined"==typeof window&&s.default.selfTransitive("gel-icon-"+e,null)},r.default=u,e.exports=r.default},function(e,r){e.exports=React},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@4.0.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@4.0.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@4.0.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@4.0.0",e,r,!0)}}},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.66.3"]={"babel-runtime":"6.26.0","bbc-morph-ati-stats":"1.3.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.19.1","bbc-morph-gel-icons":"4.0.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","focus-visible":"5.2.0","gel-sass-tools":"1.3.0","gel-typography":"2.0.5","lodash.isequal":"4.5.0","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){Morph.modules["bbc-morph-comments-view@3.66.3"]=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=n(41),s=r(a),u=n(44),l=r(u),c=n(48),d=r(c),m=n(53),f=r(m),p=n(54),h=r(p),y=n(58),g=r(y),v=n(91),_=r(v),b=n(99),T=r(b),E=n(100),C=r(E);n(101);var P=n(102),S=n(116),w=n(442),O=n(444),x=r(O),M=n(160),R=n(441),I=n(266),N=function(e){function t(){return(0,f.default)(this,t),(0,g.default)(this,(t.__proto__||(0,d.default)(t)).apply(this,arguments))}return(0,_.default)(t,e),(0,h.default)(t,[{key:"render",value:function(){return this.props.styleguide?T.default.createElement(w.StyleGuideModule,this.props):T.default.createElement(S.CommentsBootstrap,this.props)}}]),t}(b.Component);N.displayName="ComponentSelector",N.propTypes={styleguide:b.PropTypes.string,commentsData:b.PropTypes.object,staticComments:b.PropTypes.string},t.default=C.default.create(N,{dataParams:{commentsDataUri:null,nextIndexToLoadFrom:null},data:function(e,t){if(e.styleguide)return{};var n=function(e,t){if(!e)return!1;var n=(0,R.parseToggleOverridesProp)(t);return!!n.hasOwnProperty("sort")&&n.sort===!1},r=function(e,t){if("true"===e.overrideConfig&&e.hasOwnProperty("pageSize")){var n=parseInt(e.pageSize,10);if((0,l.default)(n))return n}return t},o=n(e.overrideConfig,e.toggleOverrides),a=!1,u=r(e,I.PAGE_SIZE),c=I.REPLIES_PAGE_SIZE,d=(0,M.clamp)((0,s.default)(I.MAX_API_LIMIT_PAGE_SIZE/u),I.MIN_PAG_SIZE_MULTIPLIER,I.MAX_PAG_SIZE_MULTIPLIER),m=u*d,f=(0,i.default)({},(0,P.pick)(e,["staticComments","staticForum","staticCommentProps","forumId","apiKey","initialView"]),{pageSize:m,isSortToggleOverrideOff:o,data:"bbc-morph-comments-data"}),p=(0,i.default)({},(0,P.pick)(e,["forumId","apiKey"]),{pageSize:c,data:"bbc-morph-comments-data"}),h=(0,i.default)({},t,{commentsDataUri:f,repliesDataUri:p,initialPageSize:m,pageSize:u,shouldLiveUpdate:a}),y=e.idAvailability?{availabilityOverride:e.idAvailability}:{};return{commentsData:{uri:f,requireSuccess:!0,updates:!1},commentsAggregator:{aggregator:x.default,props:h,requireSuccess:!1},idAvailabilityData:{uri:(0,i.default)({data:"bbc-morph-id-availability-data"},y),requireSuccess:!0,updates:!1}}},displayName:"CommentsContainer"}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(3),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports={default:n(4),__esModule:!0}},function(e,t,n){n(5),e.exports=n(8).Object.assign},function(e,t,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(22)})},function(e,t,n){var r=n(7),o=n(8),i=n(9),a=n(11),s=n(21),u="prototype",l=function(e,t,n){var c,d,m,f=e&l.F,p=e&l.G,h=e&l.S,y=e&l.P,g=e&l.B,v=e&l.W,_=p?o:o[t]||(o[t]={}),b=_[u],T=p?r:h?r[t]:(r[t]||{})[u];p&&(n=t);for(c in n)d=!f&&T&&void 0!==T[c],d&&s(_,c)||(m=d?T[c]:n[c],_[c]=p&&"function"!=typeof T[c]?n[c]:g&&d?i(m,r):v&&T[c]==m?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(m):y&&"function"==typeof m?i(Function.call,m):m,y&&((_.virtual||(_.virtual={}))[c]=m,e&l.R&&b&&!b[c]&&a(b,c,m)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(12),o=n(20);e.exports=n(16)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(13),o=n(15),i=n(19),a=Object.defineProperty;t.f=n(16)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(14);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(16)&&!n(17)(function(){return 7!=Object.defineProperty(n(18)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(14),o=n(7).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(14);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=n(16),o=n(23),i=n(38),a=n(39),s=n(40),u=n(26),l=Object.assign;e.exports=!l||n(17)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=s(e),l=arguments.length,c=1,d=i.f,m=a.f;l>c;)for(var f,p=u(arguments[c++]),h=d?o(p).concat(d(p)):o(p),y=h.length,g=0;y>g;)f=h[g++],r&&!m.call(p,f)||(n[f]=p[f]);return n}:l},function(e,t,n){var r=n(24),o=n(37);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(21),o=n(25),i=n(29)(!1),a=n(33)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(26),o=n(28);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(27);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(25),o=n(30),i=n(32);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(31),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(31),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(34)("keys"),o=n(36);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(8),o=n(7),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(35)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(28);e.exports=function(e){return Object(r(e))}},function(e,t,n){e.exports={default:n(42),__esModule:!0}},function(e,t,n){n(43),e.exports=n(8).Math.trunc},function(e,t,n){var r=n(6);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){e.exports={default:n(45),__esModule:!0}},function(e,t,n){n(46),e.exports=n(8).Number.isInteger},function(e,t,n){var r=n(6);r(r.S,"Number",{isInteger:n(47)})},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){e.exports={default:n(49),__esModule:!0}},function(e,t,n){n(50),e.exports=n(8).Object.getPrototypeOf},function(e,t,n){var r=n(40),o=n(51);n(52)("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(55),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(56),__esModule:!0}},function(e,t,n){n(57);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(59),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(60),i=r(o),a=n(78),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(61),__esModule:!0}},function(e,t,n){n(62),n(73),e.exports=n(77).f("iterator")},function(e,t,n){"use strict";var r=n(63)(!0);n(64)(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(65),a=n(11),s=n(66),u=n(67),l=n(71),c=n(51),d=n(72)("iterator"),m=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",h="values",y=function(){return this};e.exports=function(e,t,n,g,v,_,b){u(n,t,g);var T,E,C,P=function(e){if(!m&&e in x)return x[e];switch(e){case p:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",w=v==h,O=!1,x=e.prototype,M=x[d]||x[f]||v&&x[v],R=M||P(v),I=v?w?P("entries"):R:void 0,N="Array"==t?x.entries||M:M;if(N&&(C=c(N.call(new e)),C!==Object.prototype&&C.next&&(l(C,S,!0),r||"function"==typeof C[d]||a(C,d,y))),w&&M&&M.name!==h&&(O=!0,R=function(){return M.call(this)}),r&&!b||!m&&!O&&x[d]||a(x,d,R),s[t]=R,s[S]=y,v)if(T={values:w?R:P(h),keys:_?R:P(p),entries:I},b)for(E in T)E in x||i(x,E,T[E]);else o(o.P+o.F*(m||O),t,T);return T}},function(e,t,n){e.exports=n(11)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(68),o=n(20),i=n(71),a={};n(11)(a,n(72)("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(69),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(70).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(72)("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(74);for(var r=n(7),o=n(11),i=n(66),a=n(72)("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(75),o=n(76),i=n(66),a=n(25);e.exports=n(64)(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(72)},function(e,t,n){e.exports={default:n(79),__esModule:!0}},function(e,t,n){n(80),n(88),n(89),n(90),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(65),u=n(81).KEY,l=n(17),c=n(34),d=n(71),m=n(36),f=n(72),p=n(77),h=n(82),y=n(83),g=n(84),v=n(13),_=n(14),b=n(40),T=n(25),E=n(19),C=n(20),P=n(68),S=n(85),w=n(87),O=n(38),x=n(12),M=n(23),R=w.f,I=x.f,N=S.f,k=r.Symbol,A=r.JSON,D=A&&A.stringify,L="prototype",j=f("_hidden"),F=f("toPrimitive"),U={}.propertyIsEnumerable,q=c("symbol-registry"),W=c("symbols"),B=c("op-symbols"),Y=Object[L],V="function"==typeof k&&!!O.f,H=r.QObject,z=!H||!H[L]||!H[L].findChild,G=i&&l(function(){return 7!=P(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=R(Y,t);r&&delete Y[t],I(e,t,n),r&&e!==Y&&I(Y,t,r)}:I,Z=function(e){var t=W[e]=P(k[L]);return t._k=e,t},K=V&&"symbol"==typeof k.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof k},X=function(e,t,n){return e===Y&&X(B,t,n),v(e),t=E(t,!0),v(n),o(W,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=P(n,{enumerable:C(0,!1)})):(o(e,j)||I(e,j,C(1,{})),e[j][t]=!0),G(e,t,n)):I(e,t,n)},J=function(e,t){v(e);for(var n,r=y(t=T(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?P(e):J(P(e),t)},$=function(e){var t=U.call(this,e=E(e,!0));return!(this===Y&&o(W,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(W,e)||o(this,j)&&this[j][e])||t)},ee=function(e,t){if(e=T(e),t=E(t,!0),e!==Y||!o(W,t)||o(B,t)){var n=R(e,t);return!n||!o(W,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},te=function(e){for(var t,n=N(T(e)),r=[],i=0;n.length>i;)o(W,t=n[i++])||t==j||t==u||r.push(t);return r},ne=function(e){for(var t,n=e===Y,r=N(n?B:T(e)),i=[],a=0;r.length>a;)!o(W,t=r[a++])||n&&!o(Y,t)||i.push(W[t]);return i};V||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var e=m(arguments.length>0?arguments[0]:void 0),t=function(n){this===Y&&t.call(B,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),G(this,e,C(1,n))};return i&&z&&G(Y,e,{configurable:!0,set:t}),Z(e)},s(k[L],"toString",function(){return this._k}),w.f=ee,x.f=X,n(86).f=S.f=te,n(39).f=$,O.f=ne,i&&!n(35)&&s(Y,"propertyIsEnumerable",$,!0),p.f=function(e){return Z(f(e))}),a(a.G+a.W+a.F*!V,{Symbol:k});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;re.length>oe;)f(re[oe++]);for(var ie=M(f.store),ae=0;ie.length>ae;)h(ie[ae++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return o(q,e+="")?q[e]:q[e]=k(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in q)if(q[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!V,"Object",{create:Q,defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=l(function(){O.f(1)});a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return O.f(b(e))}}),A&&a(a.S+a.F*(!V||l(function(){var e=k();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(_(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,D.apply(A,r)}}),k[L][F]||n(11)(k[L],F,k[L].valueOf),d(k,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(36)("meta"),o=n(14),i=n(21),a=n(12).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(17)(function(){return u(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},m=function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return l&&p.NEED&&u(e)&&!i(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:m,onFreeze:f}},function(e,t,n){var r=n(7),o=n(8),i=n(35),a=n(77),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(86).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(82)("asyncIterator")},function(e,t,n){n(82)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(92),i=r(o),a=n(96),s=r(a),u=n(59),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(93),__esModule:!0}},function(e,t,n){n(94),e.exports=n(8).Object.setPrototypeOf},function(e,t,n){var r=n(6);r(r.S,"Object",{setPrototypeOf:n(95).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(87).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(97),__esModule:!0}},function(e,t,n){n(98);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(68)})},function(e,t){e.exports=React},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-comments-view@3.66.3",e,t)}}},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return g.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function u(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function l(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(g.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(g.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(g.arrayBuffer&&g.blob&&_(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!g.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!b(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(l(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function m(e){var t=e.toUpperCase();return T.indexOf(t)>-1?t:e}function f(e,t){t=t||{};var n=t.body;if(e instanceof f){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=m(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function h(e){var t=new o,n=e.replace(/\r?\n[\t ]+/g," ");return n.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var g={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=function(e){return e&&DataView.prototype.isPrototypeOf(e)},b=ArrayBuffer.isView||function(e){return e&&v.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var T=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})},d.call(f.prototype),d.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];y.redirect=function(e,t){if(E.indexOf(t)===-1)throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=f,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,r){var o=new f(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:h(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new y(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&g.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.merge=t.pickBy=t.pick=void 0;var o=n(103),i=r(o),a=n(104),s=r(a),u=n(110),l=r(u),c=n(115),d=r(c);t.pick=i.default,t.pickBy=s.default,t.merge=l.default,t.throttle=d.default},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function o(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function i(e,t,n,r,a){var s=-1,u=e.length;for(n||(n=l),a||(a=[]);++s<u;){var c=e[s];t>0&&n(c)?t>1?i(c,t-1,n,r,a):o(a,c):r||(a[a.length]=c)}return a}function a(e,t){return e=Object(e),s(e,t,function(t,n){return n in e})}function s(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=e[a];n(s,a)&&(i[a]=s)}return i}function u(e,t){return t=A(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=A(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function l(e){return D(e)||d(e)||!!(k&&e&&e[k])}function c(e){if("string"==typeof e||v(e))return e;var t=e+"";return"0"==t&&1/e==-_?"-0":t}function d(e){return f(e)&&M.call(e,"callee")&&(!N.call(e,"callee")||R.call(e)==T)}function m(e){return null!=e&&h(e.length)&&!p(e)}function f(e){return g(e)&&m(e)}function p(e){var t=y(e)?R.call(e):"";return t==E||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 g(e){return!!e&&"object"==typeof e}function v(e){return"symbol"==typeof e||g(e)&&R.call(e)==P}var _=1/0,b=9007199254740991,T="[object Arguments]",E="[object Function]",C="[object GeneratorFunction]",P="[object Symbol]",S="object"==typeof t&&t&&t.Object===Object&&t,w="object"==typeof self&&self&&self.Object===Object&&self,O=S||w||Function("return this")(),x=Object.prototype,M=x.hasOwnProperty,R=x.toString,I=O.Symbol,N=x.propertyIsEnumerable,k=I?I.isConcatSpreadable:void 0,A=Math.max,D=Array.isArray,L=u(function(e,t){ return null==e?{}:a(e,r(i(t,1),c))});e.exports=L}).call(t,function(){return this}())},function(e,t,n){function r(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function o(e,t,n){var o=t(e);return h(e)?o:r(o,n(e))}function i(e,t){for(var n=-1,r=a(e),o=r.length,i={};++n<o;){var s=r[n],u=e[s];t(u,s)&&(i[s]=u)}return i}function a(e){return o(e,d,p)}function s(e){return f(Object(e))}function u(e){return m(Object(e))}function l(e,t){return null==e?{}:i(e,c(t))}var c=n(105),d=n(109),m=Object.getOwnPropertySymbols,f=Object.getPrototypeOf;m||(u=function(){return[]});var p=m?function(e){for(var t=[];e;)r(t,u(e)),e=s(e);return t}:u,h=Array.isArray;e.exports=l},function(e,t,n){(function(e,r){function o(e,t){for(var n=-1,r=e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function i(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function a(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function s(e,t){return o(t,function(t){return[t,e[t]]})}function u(e){return e&&e.Object===Object?e:null}function l(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function c(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function d(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function m(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(){this.__data__=Gt?Gt(null):{}}function h(e){return this.has(e)&&delete this.__data__[e]}function y(e){var t=this.__data__;if(Gt){var n=t[e];return n===Fe?void 0:n}return kt.call(t,e)?t[e]:void 0}function g(e){var t=this.__data__;return Gt?void 0!==t[e]:kt.call(t,e)}function v(e,t){var n=this.__data__;return n[e]=Gt&&void 0===t?Fe:t,this}function _(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function b(){this.__data__=[]}function T(e){var t=this.__data__,n=q(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ut.call(t,n,1),!0}function E(e){var t=this.__data__,n=q(t,e);return n<0?void 0:t[n][1]}function C(e){return q(this.__data__,e)>-1}function P(e,t){var n=this.__data__,r=q(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(){this.__data__={hash:new f,map:new(Yt||_),string:new f}}function O(e){return oe(this,e).delete(e)}function x(e){return oe(this,e).get(e)}function M(e){return oe(this,e).has(e)}function R(e,t){return oe(this,e).set(e,t),this}function I(e){var t=-1,n=e?e.length:0;for(this.__data__=new S;++t<n;)this.add(e[t])}function N(e){return this.__data__.set(e,Fe),this}function k(e){return this.__data__.has(e)}function A(e){this.__data__=new _(e)}function D(){this.__data__=new _}function L(e){return this.__data__.delete(e)}function j(e){return this.__data__.get(e)}function F(e){return this.__data__.has(e)}function U(e,t){var n=this.__data__;return n instanceof _&&n.__data__.length==je&&(n=this.__data__=new S(n.__data__)),n.set(e,t),this}function q(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}function W(e,t){t=me(t,e)?[t]:$(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ge(t[n++])];return n&&n==r?e:void 0}function B(e,t){return kt.call(e,t)||"object"==typeof e&&t in e&&null===se(e)}function Y(e,t){return t in Object(e)}function V(e,t,n,r,o){return e===t||(null==e||null==t||!Se(e)&&!we(t)?e!==e&&t!==t:H(e,t,V,n,r,o))}function H(e,t,n,r,o,i){var a=nn(e),s=nn(t),u=Ve,c=Ve;a||(u=ue(e),u=u==Ye?Qe:u),s||(c=ue(t),c=c==Ye?Qe:c);var d=u==Qe&&!l(e),m=c==Qe&&!l(t),f=u==c;if(f&&!d)return i||(i=new A),a||Re(e)?te(e,t,n,r,o,i):ne(e,t,u,n,r,o,i);if(!(o&qe)){var p=d&&kt.call(e,"__wrapped__"),h=m&&kt.call(t,"__wrapped__");if(p||h){var y=p?e.value():e,g=h?t.value():t;return i||(i=new A),n(y,g,r,o,i)}}return!!f&&(i||(i=new A),re(e,t,n,r,o,i))}function z(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var u=s[0],l=e[u],c=s[1];if(a&&s[2]){if(void 0===l&&!(u in e))return!1}else{var d=new A;if(r)var m=r(l,c,u,e,t,d);if(!(void 0===m?V(c,l,r,Ue|qe,d):m))return!1}}return!0}function G(e){return"function"==typeof e?e:null==e?Ae:"object"==typeof e?nn(e)?X(e[0],e[1]):K(e):De(e)}function Z(e){return Wt(Object(e))}function K(e){var t=ie(e);return 1==t.length&&t[0][2]?ye(t[0][0],t[0][1]):function(n){return n===e||z(n,e,t)}}function X(e,t){return me(e)&&he(t)?ye(ge(e),t):function(n){var r=Ie(n,e);return void 0===r&&r===t?Ne(n,e):V(t,r,void 0,Ue|qe)}}function J(e){return function(t){return null==t?void 0:t[e]}}function Q(e){return function(t){return W(t,e)}}function $(e){return nn(e)?e:Le(e)}function ee(e){return function(t){var n=ue(t);return n==Xe?c(t):n==tt?m(t):s(t,e(t))}}function te(e,t,n,r,o,a){var s=o&qe,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var c=a.get(e);if(c)return c==t;var d=-1,m=!0,f=o&Ue?new I:void 0;for(a.set(e,t);++d<u;){var p=e[d],h=t[d];if(r)var y=s?r(h,p,d,t,e,a):r(p,h,d,e,t,a);if(void 0!==y){if(y)continue;m=!1;break}if(f){if(!i(t,function(e,t){if(!f.has(t)&&(p===e||n(p,e,r,o,a)))return f.add(t)})){m=!1;break}}else if(p!==h&&!n(p,h,r,o,a)){m=!1;break}}return a.delete(e),m}function ne(e,t,n,r,o,i,a){switch(n){case at:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case it:return!(e.byteLength!=t.byteLength||!r(new jt(e),new jt(t)));case He:case ze:return+e==+t;case Ge:return e.name==t.name&&e.message==t.message;case Je:return e!=+e?t!=+t:e==+t;case et:case nt:return e==t+"";case Xe:var s=c;case tt:var u=i&qe;if(s||(s=d),e.size!=t.size&&!u)return!1;var l=a.get(e);return l?l==t:(i|=Ue,a.set(e,t),te(s(e),s(t),r,o,i,a));case rt:if(en)return en.call(e)==en.call(t)}return!1}function re(e,t,n,r,o,i){var a=o&qe,s=ke(e),u=s.length,l=ke(t),c=l.length;if(u!=c&&!a)return!1;for(var d=u;d--;){var m=s[d];if(!(a?m in t:B(t,m)))return!1}var f=i.get(e);if(f)return f==t;var p=!0;i.set(e,t);for(var h=a;++d<u;){m=s[d];var y=e[m],g=t[m];if(r)var v=a?r(g,y,m,t,e,i):r(y,g,m,e,t,i);if(!(void 0===v?y===g||n(y,g,r,o,i):v)){p=!1;break}h||(h="constructor"==m)}if(p&&!h){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b)&&(p=!1)}return i.delete(e),p}function oe(e,t){var n=e.__data__;return fe(t)?n["string"==typeof t?"string":"hash"]:n.map}function ie(e){for(var t=rn(e),n=t.length;n--;)t[n][2]=he(t[n][1]);return t}function ae(e,t){var n=e[t];return Oe(n)?n:void 0}function se(e){return qt(Object(e))}function ue(e){return At.call(e)}function le(e,t,n){t=me(t,e)?[t]:$(t);for(var r,o=-1,i=t.length;++o<i;){var a=ge(t[o]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var i=e?e.length:0;return!!i&&Pe(i)&&de(a,i)&&(nn(e)||xe(e)||be(e))}function ce(e){var t=e?e.length:void 0;return Pe(t)&&(nn(e)||xe(e)||be(e))?a(t,String):null}function de(e,t){return t=null==t?Be:t,!!t&&("number"==typeof e||bt.test(e))&&e>-1&&e%1==0&&e<t}function me(e,t){if(nn(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Me(e))||(gt.test(e)||!yt.test(e)||null!=t&&e in Object(t))}function fe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function pe(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||It;return e===n}function he(e){return e===e&&!Se(e)}function ye(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function ge(e){if("string"==typeof e||Me(e))return e;var t=e+"";return"0"==t&&1/e==-We?"-0":t}function ve(e){if(null!=e){try{return Nt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function _e(e,t){return e===t||e!==e&&t!==t}function be(e){return Ee(e)&&kt.call(e,"callee")&&(!Ft.call(e,"callee")||At.call(e)==Ye)}function Te(e){return null!=e&&Pe(tn(e))&&!Ce(e)}function Ee(e){return we(e)&&Te(e)}function Ce(e){var t=Se(e)?At.call(e):"";return t==Ze||t==Ke}function Pe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Be}function Se(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function we(e){return!!e&&"object"==typeof e}function Oe(e){if(!Se(e))return!1;var t=Ce(e)||l(e)?Dt:_t;return t.test(ve(e))}function xe(e){return"string"==typeof e||!nn(e)&&we(e)&&At.call(e)==nt}function Me(e){return"symbol"==typeof e||we(e)&&At.call(e)==rt}function Re(e){return we(e)&&Pe(e.length)&&!!Tt[At.call(e)]}function Ie(e,t,n){var r=null==e?void 0:W(e,t);return void 0===r?n:r}function Ne(e,t){return null!=e&&le(e,t,Y)}function ke(e){var t=pe(e);if(!t&&!Te(e))return Z(e);var n=ce(e),r=!!n,o=n||[],i=o.length;for(var a in e)!B(e,a)||r&&("length"==a||de(a,i))||t&&"constructor"==a||o.push(a);return o}function Ae(e){return e}function De(e){return me(e)?J(ge(e)):Q(e)}var Le=n(107),je=200,Fe="__lodash_hash_undefined__",Ue=1,qe=2,We=1/0,Be=9007199254740991,Ye="[object Arguments]",Ve="[object Array]",He="[object Boolean]",ze="[object Date]",Ge="[object Error]",Ze="[object Function]",Ke="[object GeneratorFunction]",Xe="[object Map]",Je="[object Number]",Qe="[object Object]",$e="[object Promise]",et="[object RegExp]",tt="[object Set]",nt="[object String]",rt="[object Symbol]",ot="[object WeakMap]",it="[object ArrayBuffer]",at="[object DataView]",st="[object Float32Array]",ut="[object Float64Array]",lt="[object Int8Array]",ct="[object Int16Array]",dt="[object Int32Array]",mt="[object Uint8Array]",ft="[object Uint8ClampedArray]",pt="[object Uint16Array]",ht="[object Uint32Array]",yt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gt=/^\w*$/,vt=/[\\^$.*+?()[\]{}|]/g,_t=/^\[object .+?Constructor\]$/,bt=/^(?:0|[1-9]\d*)$/,Tt={};Tt[st]=Tt[ut]=Tt[lt]=Tt[ct]=Tt[dt]=Tt[mt]=Tt[ft]=Tt[pt]=Tt[ht]=!0,Tt[Ye]=Tt[Ve]=Tt[it]=Tt[He]=Tt[at]=Tt[ze]=Tt[Ge]=Tt[Ze]=Tt[Xe]=Tt[Je]=Tt[Qe]=Tt[et]=Tt[tt]=Tt[nt]=Tt[ot]=!1;var Et={function:!0,object:!0},Ct=Et[typeof t]&&t&&!t.nodeType?t:void 0,Pt=Et[typeof e]&&e&&!e.nodeType?e:void 0,St=u(Ct&&Pt&&"object"==typeof r&&r),wt=u(Et[typeof self]&&self),Ot=u(Et[typeof window]&&window),xt=u(Et[typeof this]&&this),Mt=St||Ot!==(xt&&xt.window)&&Ot||wt||xt||Function("return this")(),Rt=Array.prototype,It=Object.prototype,Nt=Function.prototype.toString,kt=It.hasOwnProperty,At=It.toString,Dt=RegExp("^"+Nt.call(kt).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Lt=Mt.Symbol,jt=Mt.Uint8Array,Ft=It.propertyIsEnumerable,Ut=Rt.splice,qt=Object.getPrototypeOf,Wt=Object.keys,Bt=ae(Mt,"DataView"),Yt=ae(Mt,"Map"),Vt=ae(Mt,"Promise"),Ht=ae(Mt,"Set"),zt=ae(Mt,"WeakMap"),Gt=ae(Object,"create"),Zt=ve(Bt),Kt=ve(Yt),Xt=ve(Vt),Jt=ve(Ht),Qt=ve(zt),$t=Lt?Lt.prototype:void 0,en=$t?$t.valueOf:void 0;f.prototype.clear=p,f.prototype.delete=h,f.prototype.get=y,f.prototype.has=g,f.prototype.set=v,_.prototype.clear=b,_.prototype.delete=T,_.prototype.get=E,_.prototype.has=C,_.prototype.set=P,S.prototype.clear=w,S.prototype.delete=O,S.prototype.get=x,S.prototype.has=M,S.prototype.set=R,I.prototype.add=I.prototype.push=N,I.prototype.has=k,A.prototype.clear=D,A.prototype.delete=L,A.prototype.get=j,A.prototype.has=F,A.prototype.set=U;var tn=J("length");(Bt&&ue(new Bt(new ArrayBuffer(1)))!=at||Yt&&ue(new Yt)!=Xe||Vt&&ue(Vt.resolve())!=$e||Ht&&ue(new Ht)!=tt||zt&&ue(new zt)!=ot)&&(ue=function(e){var t=At.call(e),n=t==Qe?e.constructor:void 0,r=n?ve(n):void 0;if(r)switch(r){case Zt:return at;case Kt:return Xe;case Xt:return $e;case Jt:return tt;case Qt:return ot}return t});var nn=Array.isArray,rn=ee(ke);e.exports=G}).call(t,n(106)(e),function(){return this}())},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){(function(e,r){function o(e){return e&&e.Object===Object?e:null}function i(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function a(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function s(){this.__data__=ae?ae(null):{}}function u(e){return this.has(e)&&delete this.__data__[e]}function l(e){var t=this.__data__;if(ae){var n=t[e];return n===j?void 0:n}return te.call(t,e)?t[e]:void 0}function c(e){var t=this.__data__;return ae?void 0!==t[e]:te.call(t,e)}function d(e,t){var n=this.__data__;return n[e]=ae&&void 0===t?j:t,this}function m(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function f(){this.__data__=[]}function p(e){var t=this.__data__,n=P(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=P(t,e);return n<0?void 0:t[n][1]}function y(e){return P(this.__data__,e)>-1}function g(e,t){var n=this.__data__,r=P(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function v(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _(){this.__data__={hash:new a,map:new(ie||m),string:new a}}function b(e){return S(this,e).delete(e)}function T(e){return S(this,e).get(e)}function E(e){return S(this,e).has(e)}function C(e,t){return S(this,e).set(e,t),this}function P(e,t){for(var n=e.length;n--;)if(R(e[n][0],t))return n;return-1}function S(e,t){var n=e.__data__;return O(t)?n["string"==typeof t?"string":"hash"]:n.map}function w(e,t){var n=e[t];return k(n)?n:void 0}function O(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function x(e){if(null!=e){try{return ee.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function M(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(L);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(M.Cache||v),n}function R(e,t){return e===t||e!==e&&t!==t}function I(e){var t=N(e)?ne.call(e):"";return t==F||t==U}function N(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function k(e){if(!N(e))return!1;var t=I(e)||i(e)?re:Y;return t.test(x(e))}function A(e){return null==e?"":D(e)}var D=n(108),L="Expected a function",j="__lodash_hash_undefined__",F="[object Function]",U="[object GeneratorFunction]",q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,W=/[\\^$.*+?()[\]{}|]/g,B=/\\(\\)?/g,Y=/^\[object .+?Constructor\]$/,V={function:!0,object:!0},H=V[typeof t]&&t&&!t.nodeType?t:void 0,z=V[typeof e]&&e&&!e.nodeType?e:void 0,G=o(H&&z&&"object"==typeof r&&r),Z=o(V[typeof self]&&self),K=o(V[typeof window]&&window),X=o(V[typeof this]&&this),J=G||K!==(X&&X.window)&&K||Z||X||Function("return this")(),Q=Array.prototype,$=Object.prototype,ee=Function.prototype.toString,te=$.hasOwnProperty,ne=$.toString,re=RegExp("^"+ee.call(te).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),oe=Q.splice,ie=w(J,"Map"),ae=w(Object,"create");a.prototype.clear=s,a.prototype.delete=u,a.prototype.get=l,a.prototype.has=c,a.prototype.set=d,m.prototype.clear=f,m.prototype.delete=p,m.prototype.get=h,m.prototype.has=y,m.prototype.set=g,v.prototype.clear=_,v.prototype.delete=b,v.prototype.get=T,v.prototype.has=E,v.prototype.set=C;var se=M(function(e){var t=[];return A(e).replace(q,function(e,n,r,o){t.push(r?o.replace(B,"$1"):n||e)}),t});M.Cache=v,e.exports=se}).call(t,n(106)(e),function(){return this}())},function(e,t,n){(function(e,n){function r(e){return e&&e.Object===Object?e:null}function o(e){if("string"==typeof e)return e;if(a(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&v.call(e)==u}var s=1/0,u="[object Symbol]",l={function:!0,object:!0},c=l[typeof t]&&t&&!t.nodeType?t:void 0,d=l[typeof e]&&e&&!e.nodeType?e:void 0,m=r(c&&d&&"object"==typeof n&&n),f=r(l[typeof self]&&self),p=r(l[typeof window]&&window),h=r(l[typeof this]&&this),y=m||p!==(h&&h.window)&&p||f||h||Function("return this")(),g=Object.prototype,v=g.toString,_=y.Symbol,b=_?_.prototype:void 0,T=b?b.toString:void 0;e.exports=o}).call(t,n(106)(e),function(){return this}())},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function r(e,t){var r=S(e)||u(e)?n(e.length,String):[],o=r.length,a=!!o;for(var s in e)!t&&!E.call(e,s)||a&&("length"==s||i(s,o))||r.push(s);return r}function o(e){if(!f(e))return s(e);var t=a(e),n=[];for(var r in e)("constructor"!=r||!t&&E.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)&&E.call(e,"callee")&&(!P.call(e,"callee")||C.call(e)==g)}function l(e){return null!=e&&m(e.length)&&!d(e)}function c(e){return p(e)&&l(e)}function d(e){var t=f(e)?C.call(e):"";return t==v||t==_}function m(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){return!!e&&"object"==typeof e}function h(e){return l(e)?r(e,!0):o(e)}var y=9007199254740991,g="[object Arguments]",v="[object Function]",_="[object GeneratorFunction]",b=/^(?:0|[1-9]\d*)$/,T=Object.prototype,E=T.hasOwnProperty,C=T.toString,P=T.propertyIsEnumerable,S=Array.isArray;e.exports=h},function(e,t,n){function r(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function o(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function i(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function a(){this.__data__=Ge?Ge(null):{}}function s(e){return this.has(e)&&delete this.__data__[e]}function u(e){var t=this.__data__;if(Ge){var n=t[e];return n===se?void 0:n}return We.call(t,e)?t[e]:void 0}function l(e){var t=this.__data__;return Ge?void 0!==t[e]:We.call(t,e)}function c(e,t){var n=this.__data__;return n[e]=Ge&&void 0===t?se:t,this}function d(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(){this.__data__=[]}function f(e){var t=this.__data__,n=I(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=I(t,e);return n<0?void 0:t[n][1]}function h(e){return I(this.__data__,e)>-1}function y(e,t){var n=this.__data__,r=I(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function g(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function v(){this.__data__={hash:new i,map:new(ze||d),string:new i}}function _(e){return F(this,e).delete(e)}function b(e){return F(this,e).get(e)}function T(e){return F(this,e).has(e)}function E(e,t){return F(this,e).set(e,t),this}function C(e){this.__data__=new d(e)}function P(){this.__data__=new d}function S(e){return this.__data__.delete(e)}function w(e){return this.__data__.get(e)}function O(e){return this.__data__.has(e)}function x(e,t){var n=this.__data__;return n instanceof d&&n.__data__.length==ae&&(n=this.__data__=new g(n.__data__)),n.set(e,t),this}function M(e,t,n){(void 0===n||V(e[t],n))&&("number"!=typeof t||void 0!==n||t in e)||(e[t]=n)}function R(e,t,n){var r=e[t];We.call(e,t)&&V(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function I(e,t){for(var n=e.length;n--;)if(V(e[n][0],t))return n;return-1}function N(e,t,n,o,i){if(e!==t){if(!Ke(t)&&!$(t))var a=re(t);r(a||t,function(r,s){if(a&&(s=r,r=t[s]),X(r))i||(i=new C),k(e,t,s,n,N,o,i);else{var u=o?o(e[s],r,s+"",e,t,i):void 0;void 0===u&&(u=r),M(e,s,u)}})}}function k(e,t,n,r,o,i,a){var s=e[n],u=t[n],l=a.get(u);if(l)return void M(e,n,l);var c=i?i(s,u,n+"",e,t,a):void 0,d=void 0===c;d&&(c=u,Ke(u)||$(u)?Ke(s)?c=s:G(s)?c=D(s):(d=!1,c=te(u,!0)):ne(u)||H(u)?H(s)?c=ee(s):!X(s)||r&&Z(s)?(d=!1,c=te(u,!0)):c=s:d=!1),a.set(u,c),d&&o(c,u,r,i,a),a.delete(u),M(e,n,c)}function A(e){return function(t){return null==t?void 0:t[e]}}function D(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function L(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=r?r(n[a],e[a],a,n,e):e[a];R(n,a,s)}return n}function j(e){return oe(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&W(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function F(e,t){var n=e.__data__;return B(t)?n["string"==typeof t?"string":"hash"]:n.map}function U(e,t){var n=e[t];return Q(n)?n:void 0}function q(e,t){return t=null==t?ue:t,!!t&&("number"==typeof e||Le.test(e))&&e>-1&&e%1==0&&e<t}function W(e,t,n){if(!X(n))return!1;var r=typeof t;return!!("number"==r?z(n)&&q(t,n.length):"string"==r&&t in n)&&V(n[t],e)}function B(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Y(e){if(null!=e){try{return qe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function V(e,t){return e===t||e!==e&&t!==t}function H(e){return G(e)&&We.call(e,"callee")&&(!Ve.call(e,"callee")||Be.call(e)==le)}function z(e){return null!=e&&K(Ze(e))&&!Z(e)}function G(e){return J(e)&&z(e)}function Z(e){var t=X(e)?Be.call(e):"";return t==pe||t==he}function K(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ue}function X(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function J(e){return!!e&&"object"==typeof e}function Q(e){if(!X(e))return!1;var t=Z(e)||o(e)?Ye:De;return t.test(Y(e))}function $(e){return J(e)&&K(e.length)&&!!je[Be.call(e)]}function ee(e){return L(e,re(e))}var te=n(111),ne=n(112),re=n(109),oe=n(113),ie=n(114),ae=200,se="__lodash_hash_undefined__",ue=9007199254740991,le="[object Arguments]",ce="[object Array]",de="[object Boolean]",me="[object Date]",fe="[object Error]",pe="[object Function]",he="[object GeneratorFunction]",ye="[object Map]",ge="[object Number]",ve="[object Object]",_e="[object RegExp]",be="[object Set]",Te="[object String]",Ee="[object WeakMap]",Ce="[object ArrayBuffer]",Pe="[object DataView]",Se="[object Float32Array]",we="[object Float64Array]",Oe="[object Int8Array]",xe="[object Int16Array]",Me="[object Int32Array]",Re="[object Uint8Array]",Ie="[object Uint8ClampedArray]",Ne="[object Uint16Array]",ke="[object Uint32Array]",Ae=/[\\^$.*+?()[\]{}|]/g,De=/^\[object .+?Constructor\]$/,Le=/^(?:0|[1-9]\d*)$/,je={};je[Se]=je[we]=je[Oe]=je[xe]=je[Me]=je[Re]=je[Ie]=je[Ne]=je[ke]=!0,je[le]=je[ce]=je[Ce]=je[de]=je[Pe]=je[me]=je[fe]=je[pe]=je[ye]=je[ge]=je[ve]=je[_e]=je[be]=je[Te]=je[Ee]=!1;var Fe=Array.prototype,Ue=Object.prototype,qe=Function.prototype.toString,We=Ue.hasOwnProperty,Be=Ue.toString,Ye=RegExp("^"+qe.call(We).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=Ue.propertyIsEnumerable,He=Fe.splice,ze=U(ie,"Map"),Ge=U(Object,"create");i.prototype.clear=a,i.prototype.delete=s,i.prototype.get=u,i.prototype.has=l,i.prototype.set=c,d.prototype.clear=m,d.prototype.delete=f,d.prototype.get=p,d.prototype.has=h,d.prototype.set=y,g.prototype.clear=v,g.prototype.delete=_,g.prototype.get=b,g.prototype.has=T,g.prototype.set=E,C.prototype.clear=P,C.prototype.delete=S,C.prototype.get=w,C.prototype.has=O,C.prototype.set=x;var Ze=A("length"),Ke=Array.isArray,Xe=j(function(e,t,n){N(e,t,n)});e.exports=Xe},function(e,t,n){(function(e,n){function r(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function i(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function a(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function s(e,t,n,r){var o=-1,i=e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function u(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function l(e){return e&&e.Object===Object?e:null}function c(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function d(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function m(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(){this.__data__=Ut?Ut(null):{}}function h(e){return this.has(e)&&delete this.__data__[e]}function y(e){var t=this.__data__;if(Ut){var n=t[e];return n===Re?void 0:n}return Et.call(t,e)?t[e]:void 0}function g(e){var t=this.__data__;return Ut?void 0!==t[e]:Et.call(t,e)}function v(e,t){var n=this.__data__;return n[e]=Ut&&void 0===t?Re: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():It.call(t,n,1),!0}function E(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 P(e,t){var n=this.__data__,r=F(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(){this.__data__={hash:new f,map:new(Dt||_),string:new f}}function O(e){return oe(this,e).delete(e)}function x(e){return oe(this,e).get(e)}function M(e){return oe(this,e).has(e)}function R(e,t){return oe(this,e).set(e,t),this}function I(e){this.__data__=new _(e)}function N(){this.__data__=new _}function k(e){return this.__data__.delete(e)}function A(e){return this.__data__.get(e)}function D(e){return this.__data__.has(e)}function L(e,t){var n=this.__data__;return n instanceof _&&n.__data__.length==Me&&(n=this.__data__=new S(n.__data__)),n.set(e,t),this}function j(e,t,n){var r=e[t];Et.call(e,t)&&ge(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function F(e,t){for(var n=e.length;n--;)if(ge(e[n][0],t))return n;return-1}function U(e,t){return e&&te(t,Oe(t),e)}function q(e,t,n,r,o,a,s){var u;if(r&&(u=a?r(e,o,a,s):r(e)),void 0!==u)return u;if(!Ce(e))return e;var l=Zt(e);if(l){if(u=le(e),!t)return ee(e,u)}else{var d=ue(e),m=d==je||d==Fe;if(Kt(e))return z(e,t);if(d==We||d==Ne||m&&!a){if(c(e))return a?e:{};if(u=ce(m?{}:e),!t)return ne(e,U(u,e))}else{if(!lt[d])return a?e:{};u=de(e,d,q,t)}}s||(s=new I);var f=s.get(e);if(f)return f;if(s.set(e,u),!l)var p=n?re(e):Oe(e);return i(p||e,function(o,i){p&&(i=o,o=e[i]),j(u,i,q(o,t,n,r,i,e,s))}),u}function W(e){return Ce(e)?Mt(e):{}}function B(e,t,n){var r=t(e);return Zt(e)?r:a(r,n(e))}function Y(e,t){return Et.call(e,t)||"object"==typeof e&&t in e&&null===ae(e)}function V(e){return kt(Object(e))}function H(e){return function(t){return null==t?void 0:t[e]}}function z(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function G(e){var t=new e.constructor(e.byteLength);return new Ot(t).set(new Ot(e)),t}function Z(e,t){var n=t?G(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function K(e,t,n){var o=t?n(d(e),!0):d(e);return s(o,r,new e.constructor)}function X(e){var t=new e.constructor(e.source,at.exec(e));return t.lastIndex=e.lastIndex,t}function J(e,t,n){var r=t?n(m(e),!0):m(e);return s(r,o,new e.constructor)}function Q(e){return zt?Object(zt.call(e)):{}}function $(e,t){var n=t?G(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ee(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function te(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=r?r(n[a],e[a],a,n,e):e[a];j(n,a,s)}return n}function ne(e,t){return te(e,se(e),t)}function re(e){return B(e,Oe,se)}function oe(e,t){var n=e.__data__;return pe(t)?n["string"==typeof t?"string":"hash"]:n.map}function ie(e,t){var n=e[t];return Se(n)?n:void 0}function ae(e){return Nt(Object(e))}function se(e){return xt(Object(e))}function ue(e){return Ct.call(e)}function le(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&Et.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ce(e){return"function"!=typeof e.constructor||he(e)?{}:W(ae(e))}function de(e,t,n,r){var o=e.constructor;switch(t){case Ze:return G(e);case Ae:case De:return new o(+e);case Ke:return Z(e,r);case Xe:case Je:case Qe:case $e:case et:case tt:case nt:case rt:case ot:return $(e,r);case Ue:return K(e,r,n);case qe:case He:return new o(e);case Ye:return X(e);case Ve:return J(e,r,n);case ze:return Q(e)}}function me(e){var t=e?e.length:void 0;return Ee(t)&&(Zt(e)||we(e)||ve(e))?u(t,String):null}function fe(e,t){return t=null==t?Ie:t,!!t&&("number"==typeof e||ut.test(e))&&e>-1&&e%1==0&&e<t}function pe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function he(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||bt;return e===n}function ye(e){if(null!=e){try{return Tt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ge(e,t){return e===t||e!==e&&t!==t}function ve(e){return be(e)&&Et.call(e,"callee")&&(!Rt.call(e,"callee")||Ct.call(e)==Ne)}function _e(e){return null!=e&&Ee(Gt(e))&&!Te(e)}function be(e){return Pe(e)&&_e(e)}function Te(e){var t=Ce(e)?Ct.call(e):"";return t==je||t==Fe}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ie}function Ce(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Pe(e){return!!e&&"object"==typeof e}function Se(e){if(!Ce(e))return!1;var t=Te(e)||c(e)?Pt:st;return t.test(ye(e))}function we(e){return"string"==typeof e||!Zt(e)&&Pe(e)&&Ct.call(e)==He}function Oe(e){var t=he(e);if(!t&&!_e(e))return V(e);var n=me(e),r=!!n,o=n||[],i=o.length;for(var a in e)!Y(e,a)||r&&("length"==a||fe(a,i))||t&&"constructor"==a||o.push(a);return o}function xe(e){return function(){return e}}var Me=200,Re="__lodash_hash_undefined__",Ie=9007199254740991,Ne="[object Arguments]",ke="[object Array]",Ae="[object Boolean]",De="[object Date]",Le="[object Error]",je="[object Function]",Fe="[object GeneratorFunction]",Ue="[object Map]",qe="[object Number]",We="[object Object]",Be="[object Promise]",Ye="[object RegExp]",Ve="[object Set]",He="[object String]",ze="[object Symbol]",Ge="[object WeakMap]",Ze="[object ArrayBuffer]",Ke="[object DataView]",Xe="[object Float32Array]",Je="[object Float64Array]",Qe="[object Int8Array]",$e="[object Int16Array]",et="[object Int32Array]",tt="[object Uint8Array]",nt="[object Uint8ClampedArray]",rt="[object Uint16Array]",ot="[object Uint32Array]",it=/[\\^$.*+?()[\]{}|]/g,at=/\w*$/,st=/^\[object .+?Constructor\]$/,ut=/^(?:0|[1-9]\d*)$/,lt={};lt[Ne]=lt[ke]=lt[Ze]=lt[Ke]=lt[Ae]=lt[De]=lt[Xe]=lt[Je]=lt[Qe]=lt[$e]=lt[et]=lt[Ue]=lt[qe]=lt[We]=lt[Ye]=lt[Ve]=lt[He]=lt[ze]=lt[tt]=lt[nt]=lt[rt]=lt[ot]=!0,lt[Le]=lt[je]=lt[Ge]=!1;var ct={function:!0,object:!0},dt=ct[typeof t]&&t&&!t.nodeType?t:void 0,mt=ct[typeof e]&&e&&!e.nodeType?e:void 0,ft=mt&&mt.exports===dt?dt:void 0,pt=l(dt&&mt&&"object"==typeof n&&n),ht=l(ct[typeof self]&&self),yt=l(ct[typeof window]&&window),gt=l(ct[typeof this]&&this),vt=pt||yt!==(gt&&gt.window)&&yt||ht||gt||Function("return this")(),_t=Array.prototype,bt=Object.prototype,Tt=Function.prototype.toString,Et=bt.hasOwnProperty,Ct=bt.toString,Pt=RegExp("^"+Tt.call(Et).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),St=ft?vt.Buffer:void 0,wt=vt.Symbol,Ot=vt.Uint8Array,xt=Object.getOwnPropertySymbols,Mt=Object.create,Rt=bt.propertyIsEnumerable,It=_t.splice,Nt=Object.getPrototypeOf,kt=Object.keys,At=ie(vt,"DataView"),Dt=ie(vt,"Map"),Lt=ie(vt,"Promise"),jt=ie(vt,"Set"),Ft=ie(vt,"WeakMap"),Ut=ie(Object,"create"),qt=ye(At),Wt=ye(Dt),Bt=ye(Lt),Yt=ye(jt),Vt=ye(Ft),Ht=wt?wt.prototype:void 0,zt=Ht?Ht.valueOf:void 0;f.prototype.clear=p,f.prototype.delete=h,f.prototype.get=y,f.prototype.has=g,f.prototype.set=v,_.prototype.clear=b,_.prototype.delete=T,_.prototype.get=E,_.prototype.has=C,_.prototype.set=P,S.prototype.clear=w,S.prototype.delete=O,S.prototype.get=x,S.prototype.has=M,S.prototype.set=R,I.prototype.clear=N,I.prototype.delete=k,I.prototype.get=A,I.prototype.has=D,I.prototype.set=L;var Gt=H("length");xt||(se=function(){return[]}),(At&&ue(new At(new ArrayBuffer(1)))!=Ke||Dt&&ue(new Dt)!=Ue||Lt&&ue(Lt.resolve())!=Be||jt&&ue(new jt)!=Ve||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 qt:return Ke;case Wt:return Ue;case Bt:return Be;case Yt:return Ve;case Vt:return Ge}return t});var Zt=Array.isArray,Kt=St?function(e){return e instanceof St}:xe(!1);e.exports=q}).call(t,n(106)(e),function(){return this}())},function(e,t){function n(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function r(e,t){return function(n){return e(t(n))}}function o(e){return!!e&&"object"==typeof e}function i(e){if(!o(e)||m.call(e)!=a||n(e))return!1;var t=f(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==d}var a="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,d=l.call(Object),m=u.toString,f=r(Object.getPrototypeOf,Object);e.exports=i},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){return t=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)&&E.call(e)==h}function u(e){if(!e)return 0===e?e:0;if(e=c(e),e===m||e===-m){var t=e<0?-1:1;return t*f}return e===e?e:0}function l(e){var t=u(e),n=t%1;return t===t?n?t-n:t:0}function c(e){if("number"==typeof e)return e;if(s(e))return p;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(y,"");var n=v.test(e);return n||_.test(e)?b(e.slice(2),n?2:8):g.test(e)?p:+e}var d="Expected a function",m=1/0,f=1.7976931348623157e308,p=NaN,h="[object Symbol]",y=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,_=/^0o[0-7]+$/i,b=parseInt,T=Object.prototype,E=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(106)(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,P=t,v=e.apply(r,n)}function i(e){return P=e,_=setTimeout(c,t),S?r(e):v}function a(e){var n=e-b,r=e-P,o=t-n;return w?E(o,g-r):o}function l(e){var n=e-b,r=e-P;return void 0===b||n>=t||n<0||w&&r>=g}function c(){var e=C();return l(e)?d(e):void(_=setTimeout(c,a(e)))}function d(e){return _=void 0,O&&h?r(e):(h=y=void 0,v)}function m(){void 0!==_&&clearTimeout(_),P=0,h=b=y=_=void 0}function f(){return void 0===_?v: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(w)return _=setTimeout(c,t),r(b)}return void 0===_&&(_=setTimeout(c,t)),v}var h,y,g,v,_,b,P=0,S=!1,w=!1,O=!0;if("function"!=typeof e)throw new TypeError(u);return t=s(t)||0,o(n)&&(S=!!n.leading,w="maxWait"in n,g=w?T(s(n.maxWait)||0,t):g,O="trailing"in n?!!n.trailing:O),p.cancel=m,p.flush=f,p}function r(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(u);return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&b.call(e)==c}function s(e){if("number"==typeof e)return e;if(a(e))return l;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=f.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):m.test(e)?l:+e}var u="Expected a function",l=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,y="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,v=y||g||Function("return this")(),_=Object.prototype,b=_.toString,T=Math.max,E=Math.min,C=function(){return v.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsBootstrap=void 0;var o=n(117),i=r(o),a=n(44),s=r(a),u=n(121),l=r(u),c=n(2),d=r(c),m=n(124),f=r(m),p=n(48),h=r(p),y=n(53),g=r(y),v=n(54),_=r(v),b=n(58),T=r(b),E=n(91),C=r(E);n(147),n(101);var P=n(99),S=r(P),w=n(148),O=r(w),x=n(149),M=n(169),R=n(163),I=n(256),N=n(160),k=n(164),A=r(k),D=n(194),L=n(166),j=n(266),F=n(267),U=n(252),q=n(268),W=r(q),B=n(182),Y=n(270),V=r(Y),H=n(277),z=r(H),G=n(278),Z=n(440),K=n(441),X=n(234),J=r(X),Q=n(102),$=n(244),ee=r($),te=function(e){function t(e){(0,g.default)(this,t);var n=(0,T.default)(this,(t.__proto__||(0,h.default)(t)).call(this,e));n.state={idctaData:{},errorMessage:null,personalisationDetails:{enabled:!1},isPageLoading:!0,noJS:!0,displayName:"",under16:!1};var r=n.props.commentsAggregator.body.forumData;return(0,R.setEnv)(e.commentsData.body.env),(0,I.addModeSupport)({mode:e.mode,component:n}),n.config=(0,K.getConfig)({siteConfig:r.config,overrideProps:(0,Q.pick)(e,K.overridableProps),toggleOverrides:n.props.toggleOverrides,shouldOverrideConfig:"true"===n.props.overrideConfig}),n.featureToggles=(0,B.setupFeatureToggles)(n.config.featureToggles),n.theme=V.default.use({component:n,themeVariant:n.config.theme,product:n.config.subtheme}),n.commentsComponent=n.shouldShowViewCommentsButton()?(0,Z.withViewCommentsButton)(x.CommentsModule):x.CommentsModule,n}return(0,C.default)(t,e),(0,_.default)(t,[{key:"shouldShowViewCommentsButton",value:function(){return this.config.initialView===F.initialViewOptions.BUTTON}},{key:"setErrorMessage",value:function(e){var t=(0,D.getMessageKeyForError)(e),n=this.theme.formatMessage(t);this.setState({errorMessage:n})}},{key:"isIdAvailable",value:function(){return this.props.idAvailabilityData.body.isAvailable}},{key:"onIdctaError",value:function(){this.setState({personalisationDetails:{enabled:!1}}),this.setErrorMessage(L.ErrorTypes.IDCTA_FAILED)}},{key:"hasIdctaCss",value:function(){return Array.isArray(this.state.idctaCss)&&this.state.idctaCss.length>0}},{key:"fetchIdctaInfo",value:function(){var e=this,t=this.props,n=t.idctaEnv,r=t.signInContext,o=t.embeddingPageUri,i=this.props.commentsData.body.idcta.policy,a=this.isIdAvailable();return A.default.getIdctaInfo({idctaEnv:n,policy:i,signInContext:r,shouldCallIdcta:a,embeddingPageUri:o}).then(function(t){return e.setState({idctaData:t,personalisationDetails:{enabled:e.isIdAvailable()}})}).catch(function(){return e.onIdctaError()})}},{key:"fetchUserInfo",value:function(){var e=this;return A.default.getUserDetailsFromCookie().then(function(t){return e.setState({displayName:t.displayName?t.displayName:"",under16:t.ageBracket===z.default.under13||t.ageBracket===z.default.under16})}).catch(function(){return e.onIdctaError()})}},{key:"setupModeAndStylesOnBrowser",value:function(){var e=this;return(0,I.addModeSupportOnBrowser)(this.props).then(function(t){var n=t.idctaCss;n&&e.setState({idctaCss:n})})}},{key:"setPageLoadingComplete",value:function(){this.setState({isPageLoading:!1})}},{key:"fetchPersonalisationDetails",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(l.default.mark(function e(){var t,n,r,o,i,a;return l.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.apiKey,r=t.forumId,o=this.props.commentsData.body,e.next=4,W.default.getPersonalisationDetails({apiKey:n,forumData:o,forumId:r});case 4:i=e.sent,a=(0,d.default)({},this.state.personalisationDetails,i),this.setState({personalisationDetails:a});case 7:case"end":return e.stop()}},e,this)}));return e}()},{key:"shouldTriggerLiveUpdate",value:function(){var e=this.props.commentsAggregator.body.sortOrder;return e===ee.default.NewestFirst.name&&this.featureToggles.isFeatureEnabled(B.FeaturesToggles.liveUpdate)}},{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(l.default.mark(function e(){var t,n,r,o=this;return l.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.shouldTriggerLiveUpdate()&&(this.triggerLiveUpdateTimer=setTimeout(function(){o.props.setDataParams({parentCommentId:null,nextIndexToLoadFrom:null,requestType:J.default.newComments})},(0,N.secondsToMillis)(10))),this.setState({noJS:!1}),e.next=4,this.setupModeAndStylesOnBrowser();case 4:return e.next=6,this.fetchIdctaInfo();case 6:if(t=this.state.idctaData,n=t&&t.signedIn===!0,r=Boolean(t.policyCheck)===!1,!n){e.next=19;break}return e.next=12,this.fetchUserInfo();case 12:if(!(0,N.not)(this.isIdAvailable())){e.next=16;break}this.setErrorMessage(L.ErrorTypes.ID_UNAVAILABLE),e.next=19;break;case 16:if(!r){e.next=19;break}return e.next=19,this.fetchPersonalisationDetails();case 19:this.setPageLoadingComplete();case 20:case"end":return e.stop()}},e,this)}));return e}()},{key:"componentWillUnmount",value:function(){clearTimeout(this.triggerLiveUpdateTimer)}},{key:"getChildContext",value:function(){return{apiKey:this.props.apiKey,forumId:this.props.forumId,isFeatureEnabled:this.featureToggles.isFeatureEnabled,triggerAggregatorDataFetch:this.props.setDataParams,theme:this.theme,noJS:this.state.noJS}}},{key:"render",value:function(){var e=this.props.commentsAggregator.body,t=e.forumData,n=e.loadedComments,r=e.latestResponseType,o=e.sortOrder,i=e.fetchingSortedComments,a=e.canLoadMore,u=parseInt(this.config.pageSize,10),l=(0,s.default)(u)?u:j.PAGE_SIZE,c=j.REPLIES_PAGE_SIZE,d=this.props.version||"unknown",m=this.props.embeddingPageTitle&&this.props.embeddingPageUri;return S.default.createElement("div",{className:(0,O.default)("comments-module-container",{"mozart-iframe-height-target":m},{"comments--loading":this.state.isPageLoading,"comments--no-js":this.state.noJS})},S.default.createElement(G.CommentsStatsProvider,{forumData:t,themeVariant:this.config.theme},S.default.createElement(this.commentsComponent,{forumData:t,loadedComments:n,idctaData:this.state.idctaData,personalisationDetails:this.state.personalisationDetails,errorMessage:this.state.errorMessage,pageSize:l,repliesPageSize:c,commentsTitle:this.props.commentsTitle,displayName:this.state.displayName,forumId:this.props.forumId,latestResponseType:r,sortOrder:o,fetchingSortedComments:i,canLoadMore:a,isPageLoading:this.state.isPageLoading,embeddingPageUri:this.props.embeddingPageUri,embeddingPageTitle:this.props.embeddingPageTitle})),this.hasIdctaCss()&&S.default.createElement(M.Stylesheets,{stylesheets:this.state.idctaCss}),S.default.createElement("span",{id:"comments-view-version","aria-hidden":"true",style:{display:"none !important"}},d))}}]),t}(P.Component);te.displayName="CommentsBootstrap",te.propTypes={idctaEnv:P.PropTypes.string,signInContext:P.PropTypes.string,mode:P.PropTypes.string,commentsData:P.PropTypes.object.isRequired,commentsAggregator:P.PropTypes.object.isRequired,idAvailabilityData:P.PropTypes.object.isRequired,forumId:P.PropTypes.string.isRequired,setDataParams:P.PropTypes.func.isRequired,apiKey:P.PropTypes.string.isRequired,embeddingPageUri:P.PropTypes.string,embeddingPageTitle:P.PropTypes.string,toggleOverrides:P.PropTypes.string,commentsTitle:P.PropTypes.string,version:P.PropTypes.string,pageSize:P.PropTypes.string,theme:P.PropTypes.oneOf((0,i.default)(U.ThemeVariants)),product:P.PropTypes.oneOf((0,i.default)(U.Products)),initialView:P.PropTypes.oneOf((0,i.default)(F.initialViewOptions)),overrideConfig:P.PropTypes.string},te.defaultProps={mode:I.MODE_STANDALONE,theme:null,product:null,initialView:null,embeddingPageUri:null,embeddingPageTitle:null,toggleOverrides:null,overrideConfig:"false"},te.childContextTypes={noJS:P.PropTypes.bool.isRequired,apiKey:P.PropTypes.string.isRequired,forumId:P.PropTypes.string.isRequired,isFeatureEnabled:P.PropTypes.func.isRequired,triggerAggregatorDataFetch:P.PropTypes.func.isRequired,theme:P.PropTypes.shape({themeVariant:P.PropTypes.oneOf((0,i.default)(U.ThemeVariants)),product:P.PropTypes.oneOf((0,i.default)(U.Products)),formatMessage:P.PropTypes.func.isRequired,getIcon:P.PropTypes.func.isRequired,ratingsNumberPlacement:P.PropTypes.string.isRequired,productLabel:P.PropTypes.string.isRequired}).isRequired},t.CommentsBootstrap=te},function(e,t,n){e.exports={default:n(118),__esModule:!0}},function(e,t,n){n(119),e.exports=n(8).Object.values},function(e,t,n){var r=n(6),o=n(120)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(16),o=n(23),i=n(25),a=n(39).f;e.exports=function(e){return function(t){for(var n,s=i(t),u=o(s),l=u.length,c=0,d=[];l>c;)n=u[c++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){e.exports=n(122)},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(123),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new f(r||[]);return a._invoke=l(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){function t(n,o,i,a){var s=r(e[n],e,o);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&v.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(l).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function l(e,t,n){var o=S;return function(i,a){if(o===O)throw new Error("Generator is already running");if(o===x){if("throw"===i)throw a;return h()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=c(s,n);if(u){if(u===M)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===S)throw o=x,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=O;var l=r(e,t,n);if("normal"===l.type){if(o=n.done?x:w,l.arg===M)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=x,n.method="throw",n.arg=l.arg)}}}function c(e,t){var n=e.iterator[t.method];if(n===y){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=y,c(e,t),"throw"===t.method))return M;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return M}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,M;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=y),t.delegate=null,M):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,M)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function p(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=y,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:y,done:!0}}var y,g=Object.prototype,v=g.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",T=_.asyncIterator||"@@asyncIterator",E=_.toStringTag||"@@toStringTag",C="object"==typeof e,P=t.regeneratorRuntime;if(P)return void(C&&(e.exports=P));P=t.regeneratorRuntime=C?e.exports:{},P.wrap=n;var S="suspendedStart",w="suspendedYield",O="executing",x="completed",M={},R={};R[b]=function(){return this};var I=Object.getPrototypeOf,N=I&&I(I(p([])));N&&N!==g&&v.call(N,b)&&(R=N);var k=a.prototype=o.prototype=Object.create(R);i.prototype=k.constructor=a,a.constructor=i,a[E]=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,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(k),e},P.awrap=function(e){return{__await:e}},s(u.prototype),u.prototype[T]=function(){return this},P.AsyncIterator=u,P.async=function(e,t,r,o){var i=new u(n(e,t,r,o));return P.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(k),k[E]="Generator",k[b]=function(){return this},k.toString=function(){return"[object Generator]"},P.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}},P.values=p,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=y)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=y),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=v.call(o,"catchLoc"),s=v.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,M):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),M},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;m(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=y),M}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(125),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(126),__esModule:!0}},function(e,t,n){n(88),n(62),n(73),n(127),n(145),n(146),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(128),d=n(6),m=n(14),f=n(10),p=n(129),h=n(130),y=n(134),g=n(135).set,v=n(137)(),_=n(138),b=n(139),T=n(140),E=n(141),C="Promise",P=u.TypeError,S=u.process,w=S&&S.versions,O=w&&w.v8||"",x=u[C],M="process"==c(S),R=function(){},I=o=_.f,N=!!function(){try{var e=x.resolve(1),t=(e.constructor={})[n(72)("species")]=function(e){e(R,R)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(R)instanceof t&&0!==O.indexOf("6.6")&&T.indexOf("Chrome/66")===-1}catch(e){}}(),k=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,u=t.resolve,l=t.reject,c=t.domain;try{s?(o||(2==e._h&&j(e),e._h=1),s===!0?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?l(P("Promise-chain cycle")):(i=k(n))?i.call(n,u,l):u(n)):l(r)}catch(e){c&&!a&&c.exit(),l(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&D(e)})}},D=function(e){g.call(u,function(){var t,n,r,o=e._v,i=L(e);if(i&&(t=b(function(){M?S.emit("unhandledRejection",o,e):(n=u.onunhandledrejection)?n({promise:e,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=M||L(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;M?S.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},U=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw P("Promise can't be resolved itself");(t=k(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,l(U,r,1),l(F,r,1))}catch(e){F.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};N||(x=function(e){p(this,x,C,"_h"),f(e),r.call(this);try{e(l(U,this,1),l(F,this,1))}catch(e){F.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(142)(x.prototype,{then:function(e,t){var n=I(y(this,x));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=l(U,e,1),this.reject=l(F,e,1)},_.f=I=function(e){return e===x||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!N,{Promise:x}),n(71)(x,C),n(143)(C),a=n(8)[C],d(d.S+d.F*!N,C,{reject:function(e){var t=I(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!N),C,{resolve:function(e){return E(s&&this===a?x:this,e)}}),d(d.S+d.F*!(N&&n(144)(function(e){x.all(e).catch(R)})),C,{all:function(e){var t=this,n=I(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=I(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(72)("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(131),i=n(132),a=n(13),s=n(30),u=n(133),l={},c={},t=e.exports=function(e,t,n,d,m){var f,p,h,y,g=m?function(){return e}:u(e),v=r(n,d,t?2:1),_=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(f=s(e.length);f>_;_++)if(y=t?v(a(p=e[_])[0],p[1]):v(e[_]),y===l||y===c)return y}else for(h=g.call(e);!(p=h.next()).done;)if(y=o(h,v,p.value,t),y===l||y===c)return y};t.BREAK=l,t.RETURN=c},function(e,t,n){var r=n(13);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(66),o=n(72)("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(128),o=n(72)("iterator"),i=n(66);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(72)("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(136),u=n(70),l=n(18),c=n(7),d=c.process,m=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,h=c.Dispatch,y=0,g={},v="onreadystatechange",_=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){_.call(e.data)};m&&f||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++y]=function(){s("function"==typeof e?e:Function(e),t)},r(y),y},f=function(e){delete g[e]},"process"==n(27)(d)?r=function(e){d.nextTick(a(_,e,1))}:h&&h.now?r=function(e){h.now(a(_,e,1))}:p?(o=new p,i=o.port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r=v in l("script")?function(e){u.appendChild(l("script"))[v]=function(){u.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),e.exports={set:m,clear:f}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(7),o=n(135).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(27)(a);e.exports=function(){var e,t,n,l=function(){var r,o;for(u&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(l)}}else n=function(){o.call(r,l)};else{var d=!0,m=document.createTextNode("");new i(l).observe(m,{characterData:!0}),n=function(){m.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(10);e.exports.f=function(e){return new r(e)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(7),o=r.navigator;e.exports=o&&o.userAgent||""},function(e,t,n){var r=n(13),o=n(14),i=n(138);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(72)("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(72)("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(134),s=n(141);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(138),i=n(139);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,n){!function(e,t){t()}(this,function(){"use strict";function e(e){function t(e){return!!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList)}function n(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!y[t]||e.readOnly)||("TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable)}function r(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function o(e){e.hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added"))}function i(n){n.metaKey||n.altKey||n.ctrlKey||(t(e.activeElement)&&r(e.activeElement),f=!0)}function a(e){f=!1}function s(e){t(e.target)&&(f||n(e.target))&&r(e.target)}function u(e){t(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(p=!0,window.clearTimeout(h),h=window.setTimeout(function(){p=!1},100),o(e.target))}function l(e){"hidden"===document.visibilityState&&(p&&(f=!0),c())}function c(){document.addEventListener("mousemove",m),document.addEventListener("mousedown",m),document.addEventListener("mouseup",m),document.addEventListener("pointermove",m),document.addEventListener("pointerdown",m),document.addEventListener("pointerup",m),document.addEventListener("touchmove",m),document.addEventListener("touchstart",m),document.addEventListener("touchend",m)}function d(){document.removeEventListener("mousemove",m),document.removeEventListener("mousedown",m),document.removeEventListener("mouseup",m),document.removeEventListener("pointermove",m),document.removeEventListener("pointerdown",m),document.removeEventListener("pointerup",m),document.removeEventListener("touchmove",m),document.removeEventListener("touchstart",m),document.removeEventListener("touchend",m)}function m(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(f=!1,d())}var f=!0,p=!1,h=null,y={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};document.addEventListener("keydown",i,!0),document.addEventListener("mousedown",a,!0),document.addEventListener("pointerdown",a,!0),document.addEventListener("touchstart",a,!0),document.addEventListener("visibilitychange",l,!0),c(),e.addEventListener("focus",s,!0),e.addEventListener("blur",u,!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)})},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(150),i=r(o),a=n(2),s=r(a),u=n(153),l=r(u),c=n(117),d=r(c),m=n(48),f=r(m),p=n(53),h=r(p),y=n(54),g=r(y),v=n(58),_=r(v),b=n(91),T=r(b),E=n(99),C=r(E),P=n(148),S=r(P),w=n(154),O=n(155),x=n(169),M=n(243),R=n(248),I=n(189),N=n(191),k=n(160),A=n(194),D=n(166),L=n(208),j=r(L),F=n(196),U=r(F),q=n(249),W=n(250),B=n(251),Y=n(252),V=n(182),H=n(234),z=r(H),G=n(244),Z=r(G),K=n(246),X=n(253),J=r(X),Q=n(254),$=n(198),ee=n(255),te=n(197),ne=r(te),re=void 0,oe={ slowMessageTimeInSeconds:5,errorMessageTimeInSeconds:36},ie=6e4,ae=3e4,se=function(e){function t(e){(0,h.default)(this,t);var n=(0,_.default)(this,(t.__proto__||(0,f.default)(t)).call(this,e));return n.state={visibleComments:[],hiddenNewlyPostedComments:[],totalCommentsCount:n.getForumData().totalCommentsCount,isWaitingForMoreCommentsToLoad:!1,hasFailedToLoadMoreComments:!1,hasFailedToSortComments:!1,hasForumClosedRecently:!1,audibleAlertMessage:"",audiblePoliteMessage:"",focusOnCommentId:0,statsBackToTopClickedPage:0,scrollPositionMoreCommentsButton:{}},n.bindFunctions(["loadMoreComments","startLoadingMoreCommentsTimer","stopLoadingMoreCommentsTimer","startSortingCommentsTimer","stopSortingCommentsTimer","displayNewlyPostedComments","setA11yAlertText","postCommentHandler","handleSort","showPageOfComments","userHasPolicyError","handleSortError","backToTopOnClick","isNewSortResponse"]),n.sortingCommentsTimer=null,n}return(0,T.default)(t,e),(0,g.default)(t,[{key:"bindFunctions",value:function(e){var t=this;e.forEach(function(e){t[e]=t[e].bind(t)})}},{key:"postCommentHandler",value:function(e){var t=this.context.apiKey,n=this.props,r=n.forumId,o=n.embeddingPageUri,i=n.embeddingPageTitle,a=this.props.forumData,s=a.createForum,u=a.siteName,l={embeddingPageUri:o,embeddingPageTitle:i};return(0,O.postComment)({apiKey:t,siteName:u,forumId:r,commentText:e,createForum:s,embeddingPageOpts:l})}},{key:"getForumData",value:function(){return this.props.forumData}},{key:"getPageSize",value:function(){return this.props.pageSize}},{key:"isForumClosed",value:function(){return this.getForumData().isClosed}},{key:"isForumOpen",value:function(){return!this.isForumClosed()}},{key:"getLoadedComments",value:function(){return this.props.loadedComments}},{key:"hasComments",value:function(){return this.getLoadedComments().length>0}},{key:"hasNoComments",value:function(){return!this.hasComments()}},{key:"hasVisibleComments",value:function(){return this.state.visibleComments.length>0}},{key:"getIdctaData",value:function(){return this.props.idctaData}},{key:"isSignedIn",value:function(){return this.getIdctaData().signedIn===!0}},{key:"isSignedOut",value:function(){return this.getIdctaData().signedIn===!1}},{key:"isIFrameEmbedded",value:function(){return this.props.embeddingPageTitle&&this.props.embeddingPageUri}},{key:"userHasPolicyError",value:function(){return Boolean(this.getIdctaData().policyCheck)}},{key:"userCanComment",value:function(){return this.isSignedIn()&&this.userHasPolicyError()===!1&&(this.isForumOpen()||this.isUserAnEditor()||this.hasForumClosedRecently())}},{key:"getErrorMessage",value:function(){return this.props.errorMessage}},{key:"hasError",value:function(){return null!==this.getErrorMessage()}},{key:"isPersonalisationEnabled",value:function(){return this.props.personalisationDetails.enabled}},{key:"isUserAnEditor",value:function(){return this.props.personalisationDetails.isEditor===!0}},{key:"isRatingEnabled",value:function(){return this.isForumOpen()&&this.isPersonalisationEnabled()}},{key:"userCanPostToForum",value:function(){return this.isPersonalisationEnabled()&&(this.isForumOpen()||this.isUserAnEditor())}},{key:"hasMoreComments",value:function(){var e=this.getLoadedCommentsWithoutNewlyPosted(),t=this.state.visibleComments;return this.props.canLoadMore||e.length>t.length}},{key:"getCurrentPageNumber",value:function(){return Math.ceil(this.state.visibleComments.length/this.getPageSize())}},{key:"getNextIndexToLoadFrom",value:function(){var e=this.getLoadedComments(),t=Q.getNextIndexToLoadFromBySortOrder[this.props.sortOrder];return t(e)}},{key:"canShowNextPageOfComments",value:function(){var e=this.getLoadedCommentsWithoutNewlyPosted().length,t=this.state.visibleComments.length;return!this.props.canLoadMore||e>t}},{key:"startLoadingMoreCommentsTimer",value:function(){var e=this;this.loadingMoreCommentsTimer=setTimeout(function(){e.setState({hasFailedToLoadMoreComments:!0,isWaitingForMoreCommentsToLoad:!1}),e.setA11yAlertText(e.getLoadingMoreCommentsErrorMessage())},(0,k.secondsToMillis)(oe.errorMessageTimeInSeconds))}},{key:"stopLoadingMoreCommentsTimer",value:function(){this.loadingMoreCommentsTimer&&clearTimeout(this.loadingMoreCommentsTimer)}},{key:"handleSortError",value:function(){var e=this.context.theme.formatMessage("commentsSortError");(0,$.sendSortErrorStat)(this.context,Z.default[this.props.sortOrder].statsName),this.setState({hasFailedToSortComments:!0}),this.stopSortingCommentsTimer(),this.setA11yAlertText(e,J.default.POLITE)}},{key:"startSortingCommentsTimer",value:function(){this.sortingCommentsTimer=setTimeout(this.handleSortError,ae)}},{key:"stopSortingCommentsTimer",value:function(){this.sortingCommentsTimer&&(clearTimeout(this.sortingCommentsTimer),this.sortingCommentsTimer=null)}},{key:"getLoadingMoreCommentsErrorMessage",value:function(){return this.context.theme.formatMessage((0,A.getMessageKeyForError)(D.ErrorTypes.MORE_COMMENTS_FAILED))}},{key:"loadMoreComments",value:function(){var e=(0,w.getScrollPosition)();this.setState({hasFailedToLoadMoreComments:!1,scrollPositionMoreCommentsButton:e}),this.canShowNextPageOfComments()?this.showNextPageOfComments():(this.setState({isWaitingForMoreCommentsToLoad:!0}),this.startLoadingMoreCommentsTimer()),this.props.canLoadMore&&this.context.triggerAggregatorDataFetch({parentCommentId:null,nextIndexToLoadFrom:this.getNextIndexToLoadFrom(),requestType:z.default.moreComments})}},{key:"showInitialPageOfComments",value:function(){var e=this.getPageSize(),t=this.getLoadedComments();this.showPageOfComments(t,e)}},{key:"showPageOfComments",value:function(e,t){var n=t,r=e.slice(0,n);this.setState({visibleComments:r,isWaitingForMoreCommentsToLoad:!1}),this.stopLoadingMoreCommentsTimer()}},{key:"showNextPageOfComments",value:function(){var e=this.state.visibleComments.length,t=e+this.getPageSize(),n=this.getLoadedCommentsWithoutNewlyPosted().slice(0,t),r=n[e].id;this.setState({focusOnCommentId:r,visibleComments:n,isWaitingForMoreCommentsToLoad:!1}),this.stopLoadingMoreCommentsTimer()}},{key:"getLoadedCommentsWithoutNewlyPosted",value:function(){var e=this.getLoadedComments();if(this.props.sortOrder!==Z.default.NewestFirst.name)return e;var t=this.state.visibleComments.length?this.state.visibleComments[0].index:-1;return e.filter(function(e){return e.index<=t})}},{key:"getNewlyPostedComments",value:function(e){var t=this.state.visibleComments.length?this.state.visibleComments[0].index:-1;return e.filter(function(e){return e.index>t})}},{key:"displayNewlyPostedComments",value:function(){this.setState({totalCommentsCount:this.props.forumData.totalCommentsCount}),this.setState({hiddenNewlyPostedComments:[]}),this.showInitialPageOfComments()}},{key:"isNewSortResponse",value:function(e){return this.props.fetchingSortedComments&&!e.fetchingSortedComments&&e.latestResponseType===z.default.sort}},{key:"handleNewSortResponse",value:function(e){var t="commentsSort"+e.sortOrder,n=this.context.theme.formatMessage(t),r=this.context.theme.formatMessage("commentsSortSuccessful",{sortOrder:n});this.stopSortingCommentsTimer(),this.setA11yAlertText(r,J.default.POLITE),this.setState({hiddenNewlyPostedComments:[],totalCommentsCount:e.forumData.totalCommentsCount}),this.showPageOfComments(e.loadedComments,e.pageSize)}},{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.isNewSortResponse(e)&&this.handleNewSortResponse(e),e.latestResponseType===z.default.newComments&&this.props.sortOrder===Z.default.NewestFirst.name&&this.setState({hiddenNewlyPostedComments:this.getNewlyPostedComments(e.loadedComments)}),!e.isPageLoading&&this.props.isPageLoading&&this.handlePageLoaded()}},{key:"componentDidUpdate",value:function(e,t){this.props.autoFocusHeader&&!e.autoFocusHeader&&this.commentsHeaderElement&&(0,w.focusOnElement)(this.commentsHeaderElement),t.isWaitingForMoreCommentsToLoad&&this.canShowNextPageOfComments()&&this.showNextPageOfComments();var n=t.hiddenNewlyPostedComments.length>0,r=0===this.state.hiddenNewlyPostedComments.length,o=0===t.hiddenNewlyPostedComments.length,i=this.state.hiddenNewlyPostedComments.length>0;n&&r&&!this.isIFrameEmbedded()&&(0,w.scrollToElementTop)(this.commentsBodyAnchor),o&&i&&(0,$.sendMoreCommentsAvailableStat)(this.context,this.state.hiddenNewlyPostedComments.length)}},{key:"componentWillUnmount",value:function(){this.stopLoadingMoreCommentsTimer(),this.stopSortingCommentsTimer()}},{key:"handlePageLoaded",value:function(){var e={isSignedIn:this.isSignedIn(),policyCheck:this.getIdctaData().policyCheck},t=Z.default[this.props.sortOrder].statsName;(0,$.sendPageLoadedStat)(this.context,this.isForumOpen(),e,t)}},{key:"hasForumClosedRecently",value:function(){return this.state.hasForumClosedRecently}},{key:"getCommentsTitle",value:function(){return this.props.commentsTitle?this.props.commentsTitle:this.context.theme.formatMessage("defaultCommentsTitle",{})}},{key:"getModuleTitle",value:function(){return this.context.theme.formatMessage("moduleTitleText",{})}},{key:"setA11yAlertText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J.default.ALERT,n=(0,d.default)(J.default).indexOf(t)!==-1?"audible"+t+"Message":"audibleAlertMessage",r=this.state[n]===e?e+" ":e;this.setState((0,l.default)({},n,r))}},{key:"isSortingFeatureEnabled",value:function(){return this.context.isFeatureEnabled(V.FeaturesToggles.sort)}},{key:"getChildContext",value:function(){return{setA11yAlertText:this.setA11yAlertText}}},{key:"getCommentCountAndSortArea",value:function(){var e=this.context.WithStatsIncludeCommonLabels,t={ORD:Z.default[this.props.sortOrder].statsName},n=this.getForumData(),r=n.sortOrder,o=null;return this.isSortingFeatureEnabled()&&this.state.totalCommentsCount>0&&(o=C.default.createElement("div",{className:"comments__comments-sort"},C.default.createElement(e,{id:"stats-sort",labels:{label:"sort-order",metadata:t},fireOnView:!0,minimumTimeInView:1e3},C.default.createElement(M.CommentsSort,{defaultValue:r,sortCallback:this.handleSort,isLoading:this.isLoadingSortingComments()})))),o}},{key:"handleSort",value:function(e){var t="commentsSort"+e,n=this.context.theme.formatMessage(t),r=this.context.theme.formatMessage("commentsSortLoading",{sortOrder:n});this.setA11yAlertText(r,J.default.POLITE),this.setState({hasFailedToSortComments:!1,hasFailedToLoadMoreComments:!1}),this.startSortingCommentsTimer(),this.context.triggerAggregatorDataFetch({parentCommentId:null,sortOrder:e,requestType:z.default.sort}),(0,$.sendSortStat)(this.context,Z.default[e].statsName)}},{key:"isLoadingSortingComments",value:function(){return this.props.fetchingSortedComments&&(0,k.not)(this.state.hasFailedToSortComments)}},{key:"shouldShowNewCommentsButton",value:function(){return this.state.hiddenNewlyPostedComments.length>0&&this.props.sortOrder===Z.default.NewestFirst.name}},{key:"canShowCommentsBody",value:function(){return this.hasComments()&&(0,k.not)(this.state.hasFailedToSortComments)&&(0,k.not)(this.props.fetchingSortedComments)}},{key:"canShowMoreCommentsButton",value:function(){return this.hasMoreComments()&&(0,k.not)(this.state.isWaitingForMoreCommentsToLoad)&&(0,k.not)(this.state.hasFailedToSortComments)&&(0,k.not)(this.props.fetchingSortedComments)}},{key:"canShowBackToTopLink",value:function(){return this.hasVisibleComments()&&(0,k.not)(this.state.hasFailedToSortComments)&&(0,k.not)(this.props.fetchingSortedComments)}},{key:"isFooterNoComments",value:function(){return(0,k.not)(this.hasComments())||this.state.hasFailedToSortComments||this.props.fetchingSortedComments}},{key:"backToTopOnClick",value:function(e,t){this.setState({statsBackToTopClickedPage:t}),this.isIFrameEmbedded()?(e.preventDefault(),(0,w.postMessage)({commentsScrollToTop:!0},"*")):(0,w.scrollToHash)("comments"),(0,w.focusOnElement)(this.commentsHeaderElement)}},{key:"render",value:function(){var e=this,t=this.context,n=t.WithStatsIncludeCommonLabels,r=t.getInstanceId,o=this.getForumData(),i=o.title,a=o.commentTextLimit,u=o.moderation,l=o.createForum,c=u.rulesPageUrl,d=u.status,m=this.isUserAnEditor()||0===a?re:a,f=(0,R.getForumLinks)(this.props.personalisationDetails),p=this.context.theme.themeVariant,h=this.context.theme.product,y=this.getCommentCountAndSortArea(),g=this.getCurrentPageNumber(),v=(0,$.getACEStat)(this.isForumOpen(),this.isSignedIn(),this.getIdctaData().policyCheck),_=(0,s.default)({},v,{ORD:Z.default[this.props.sortOrder].statsName}),b={PAG:g+1,ORD:Z.default[this.props.sortOrder].statsName},T={NCC:this.state.hiddenNewlyPostedComments.length},E={PAG:g},P=this.context.theme.formatMessage("closedForum"),w=this.context.theme.formatMessage("backToTop"),O=r("comment-input"),M="stats-comments-input-"+O,k=this.isForumClosed();return C.default.createElement("div",{className:(0,S.default)("comments","comments-theme-variant--"+p,"comments__product--"+h,{"comments--waiting":this.state.isWaitingForMoreCommentsToLoad})},C.default.createElement(n,{id:"stats-module-viewed",labels:{label:"module-viewed",metadata:_},fireOnView:!0,minimumTimeInView:1e3},C.default.createElement(x.CommentsHeader,null,C.default.createElement("div",{className:"comments__heading-wrapper",ref:function(t){return e.commentsHeaderElement=t},id:"comments",tabIndex:"-1"},C.default.createElement(x.CommentsModuleTitle,null,this.getModuleTitle()),C.default.createElement(x.CommentsTitle,null,this.getCommentsTitle(i))),C.default.createElement(x.NoJSMessage,null),k&&C.default.createElement("p",{className:"comments__message comments__message--closed-forum"},P),this.isPersonalisationEnabled()&&C.default.createElement("div",{className:"comments__user-interactions-container"},this.userCanComment()&&C.default.createElement(x.IdctaSignedInMessage,{displayName:this.props.displayName}),this.isForumOpen()&&this.getIdctaData().policyCheck&&C.default.createElement(ee.CannotCommentMessage,{message:this.getIdctaData().signedInMessage}),f.hasLinks&&C.default.createElement(R.ForumLinks,{forumLinks:f}),this.userCanComment()&&C.default.createElement(n,{id:M,key:M,labels:{label:ne.default.commentInput,metadata:{TYP:"comment"}},fireOnView:!0,minimumTimeInView:0},C.default.createElement(x.CommentsInput,{isDisabled:this.hasForumClosedRecently(),textLimit:m,moderationStatus:d,createForum:l,postCommentHandler:this.postCommentHandler,instanceId:O})),this.isForumOpen()&&C.default.createElement("div",null,this.isSignedOut()&&C.default.createElement("div",null,C.default.createElement("p",{className:"comments__signin--prompt"},this.context.theme.formatMessage("signInPrompt",{})),C.default.createElement(I.IdctaSignInButton,{markup:this.getIdctaData().signInButton})),C.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:c,moderationStatus:d}))),this.hasError()&&C.default.createElement(x.CommentsAlert,{type:N.AlertTypes.ERROR},this.getErrorMessage()),C.default.createElement("div",{className:"comments__comments-total-and-sort-area"},C.default.createElement("div",{className:"comments__comments-total"},C.default.createElement(x.CommentsTotal,{totalCommentsCount:this.state.totalCommentsCount})),y))),this.state.hasFailedToSortComments&&C.default.createElement(K.CommentsSortError,null),this.canShowCommentsBody()&&C.default.createElement("div",null,C.default.createElement("div",{className:"comments-body-anchor",ref:function(t){return e.commentsBodyAnchor=t}}),C.default.createElement("div",{className:"comments__body"},C.default.createElement("div",{className:"comments__show-new-comments-container"},this.shouldShowNewCommentsButton()&&C.default.createElement(n,{id:"stats-new-comments-load",labels:{label:"new-comments-load",metadata:T},fireOnView:!0,fireOnClick:!0},C.default.createElement(x.ShowNewCommentsButton,{newCommentCount:this.state.hiddenNewlyPostedComments.length,onClick:this.displayNewlyPostedComments}))),C.default.createElement(x.CommentsList,{comments:this.state.visibleComments,rulesPageUrl:c,isRatingEnabled:this.isRatingEnabled(),userCanPostToForum:this.userCanPostToForum(),personalisationDetails:this.props.personalisationDetails,idctaData:this.props.idctaData,focusOnCommentId:this.state.focusOnCommentId,forumId:this.props.forumId,commentInputTextLimit:m,commentInputModerationStatus:d,repliesPageSize:this.props.repliesPageSize,isForumClosed:k,scrollPositionMoreCommentsButton:this.state.scrollPositionMoreCommentsButton}))),C.default.createElement(x.CommentsFooter,{className:(0,S.default)({"comments__footer--no-comments":this.isFooterNoComments(),"comments__footer--closed-forum":k})},this.state.hasFailedToLoadMoreComments&&C.default.createElement(n,{id:"stats-more-comments-error",labels:{label:"more-comments-error",metadata:b},fireOnView:!0,minimumTimeInView:0},C.default.createElement(x.CommentsAlert,{type:N.AlertTypes.ERROR},this.getLoadingMoreCommentsErrorMessage())),this.canShowMoreCommentsButton()&&C.default.createElement(n,{id:"stats-more-comments",key:"more-comments-"+g,labels:{label:"more-comments",metadata:b},fireOnView:!this.state.hasFailedToLoadMoreComments,fireOnClick:!0,minimumTimeInView:0},C.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:this.loadMoreComments,rel:"next"},"More comments")),this.state.isWaitingForMoreCommentsToLoad&&C.default.createElement(n,{id:"stats-more-comments-loading",labels:{label:"more-comments-loading",metadata:b},fireOnView:!0,minimumTimeInView:0},C.default.createElement(x.CommentsLoading,{slowMessageTimerInSeconds:oe.slowMessageTimeInSeconds})),this.canShowBackToTopLink()&&C.default.createElement("div",null,C.default.createElement(n,{id:"stats-back-to-top",key:"back-to-top-"+g,labels:{label:"back-to-top",metadata:E},fireOnClick:this.state.statsBackToTopClickedPage!==g,fireOnView:!0,minimumTimeInView:0},C.default.createElement("button",{className:"comments__back-to-top-link",onClick:function(t){return e.backToTopOnClick(t,g)}},w,C.default.createElement(q.ToTop,null)))),C.default.createElement(W.A11yAlertMessage,{timeout:ie,message:this.state.audibleAlertMessage}),C.default.createElement(B.A11yPoliteMessage,{timeout:ie,message:this.state.audiblePoliteMessage})))}}]),t}(E.Component);se.displayName="CommentsModule",se.defaultProps={errorMessage:null,commentsTitle:null,fetchingSortedComments:!1,isPageLoading:!1,displayedByViewCommentsButton:!1,embeddingPageUri:null,embeddingPageTitle:null},se.propTypes={autoFocusHeader:E.PropTypes.bool,idctaData:E.PropTypes.object,errorMessage:E.PropTypes.string,personalisationDetails:E.PropTypes.shape({enabled:E.PropTypes.bool.isRequired,userId:E.PropTypes.oneOfType([E.PropTypes.string,E.PropTypes.number]),displayNameModerationStatus:E.PropTypes.oneOf((0,d.default)(j.default)),displayNameModerationMessage:E.PropTypes.string,displayNameModerationUrl:E.PropTypes.string,isEditor:E.PropTypes.bool,forumAdminLinks:E.PropTypes.shape({administerCommentsForum:E.PropTypes.shape({url:E.PropTypes.string.isRequired})})}),forumData:E.PropTypes.shape({title:E.PropTypes.string.isRequired,siteName:E.PropTypes.string.isRequired,totalCommentsCount:E.PropTypes.number.isRequired,commentTextLimit:E.PropTypes.number.isRequired,moderation:E.PropTypes.shape({rulesPageUrl:E.PropTypes.string.isRequired,status:E.PropTypes.oneOf((0,d.default)(U.default)).isRequired}),createForum:E.PropTypes.bool.isRequired,isClosed:E.PropTypes.bool.isRequired}).isRequired,loadedComments:E.PropTypes.array.isRequired,latestResponseType:E.PropTypes.string.isRequired,sortOrder:E.PropTypes.oneOf((0,i.default)(Z.default)),fetchingSortedComments:E.PropTypes.bool,canLoadMore:E.PropTypes.bool,pageSize:E.PropTypes.number.isRequired,repliesPageSize:E.PropTypes.number.isRequired,commentsTitle:E.PropTypes.string,displayName:E.PropTypes.string.isRequired,forumId:E.PropTypes.string.isRequired,isPageLoading:E.PropTypes.bool,embeddingPageUri:E.PropTypes.string,embeddingPageTitle:E.PropTypes.string},se.contextTypes={isFeatureEnabled:E.PropTypes.func.isRequired,triggerAggregatorDataFetch:E.PropTypes.func.isRequired,apiKey:E.PropTypes.string.isRequired,theme:E.PropTypes.shape({formatMessage:E.PropTypes.func,themeVariant:E.PropTypes.oneOf((0,d.default)(Y.ThemeVariants)),product:E.PropTypes.oneOf((0,d.default)(Y.Products))}),WithStatsIncludeCommonLabels:E.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:E.PropTypes.func.isRequired,logClickEventWithCommonLabels:E.PropTypes.func.isRequired,getInstanceId:E.PropTypes.func.isRequired},se.childContextTypes={setA11yAlertText:E.PropTypes.func},t.CommentsModule=se},function(e,t,n){e.exports={default:n(151),__esModule:!0}},function(e,t,n){n(152),e.exports=n(8).Object.keys},function(e,t,n){var r=n(40),o=n(23);n(52)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(55),i=r(o);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){"use strict";function n(){return document.documentElement.clientWidth}function r(e){e&&e.scrollIntoView()}function o(e){var t=""+window.location,n=t.replace(/#[A-Za-z0-9_]*$/,"")+"#"+e;window.location=n}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e&&(e.focus({preventScroll:t}),t&&window.scrollBy(0,0))}function a(e){setTimeout(function(){window.scrollTo(e.posX,e.posY)},10)}function s(){var e={posX:"undefined",posY:"undefined"};return"undefined"!=typeof window.pageXOffset?(e.posX=window.pageXOffset,e.posY=window.pageYOffset):"undefined"!=typeof window.scrollX?(e.posX=window.scrollX,e.posY=window.scrollY):document.documentElement&&"undefined"!=typeof document.documentElement.scrollLeft?(e.posX=document.documentElement.scrollLeft,e.posY=document.documentElement.scrollTop):(e.posX=document.body.scrollLeft,e.posY=document.body.scrollTop),e}function u(e,t){window&&window.parent&&window.parent.postMessage(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.getViewportWidth=n,t.scrollToElementTop=r,t.scrollToHash=o,t.focusOnElement=i,t.scrollToPosition=a,t.getScrollPosition=s,t.postMessage=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(153),i=r(o),a=n(121),s=r(a),u=n(2),l=r(u),c=n(156),d=r(c),m=n(125),f=r(m),p=n(124),h=r(p),y=n(158),g=r(y),v=n(161),_=r(v),b=n(163),T=n(164),E=n(166),C=n(162),P=n(167),S=r(P),w=n(168),O={PROFANITY_FOUND_IN_TEXT:"PROFANITY_FOUND",FORUM_CLOSED:"RESOURCE_CLOSED",FORUM_READ_ONLY:"DISCUSSION_READ_ONLY",COMMENT_NOT_FOUND:"COMMENT_NOT_FOUND",REPLY_NOT_FOUND:"REPLY_NOT_FOUND",DISCUSSION_NOT_FOUND:"DISCUSSION_NOT_FOUND",VALIDATION_ERROR:"VALIDATION_ERROR",MISSING_API_KEY:"MISSING_API_KEY",UNAUTHORIZED:"UNAUTHORIZED",RESOURCE_CLOSED:"RESOURCE_CLOSED",DISCUSSION_READ_ONLY:"DISCUSSION_READ_ONLY",AUTHENTICATION_POLICY:"AUTHENTICATION_POLICY",ALREADY_REACTED:"ALREADY_REACTED"},x=function(e){return{headers:{"content-type":"application/json","x-api-key":e}}},M=function(e,t,n){return t?_.default.getReplyRatingsUrl((0,b.getEnv)(),n,t,e):_.default.getCommentRatingsUrl((0,b.getEnv)(),n,e)},R=function(e,t,n){return t?_.default.getReplyNegativeRatingsUrl((0,b.getEnv)(),n,t,e):_.default.getCommentNegativeRatingsUrl((0,b.getEnv)(),n,e)},I=function(e,t){try{var n=S.default[e],r=(0,w.buildResourceId)(n,t),o=n.resourceType;return{uasResourceId:r,uasResourceType:o}}catch(e){return{}}},N=function(){var e=(0,h.default)(s.default.mark(function e(t,n,r,o,i){var a,u,c,m,p,h;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=i.embeddingPageUri,u=i.embeddingPageTitle,t!==!1){e.next=3;break}return e.abrupt("return",f.default.resolve());case 3:return c=_.default.getDiscussionUrl((0,b.getEnv)()),m=I(r,o),p=a||(0,C.getClientLocation)(),h=u||(0,C.getPageTitle)(),e.abrupt("return",g.default.post(c,{headers:{"content-type":"application/json","x-api-key":n},body:(0,d.default)((0,l.default)({uid:o,title:h,parentUri:p},m))}).catch(function(e){return e&&e.errorCode===E.ErrorTypes.DISCUSSION_ALREADY_EXISTS?f.default.resolve():f.default.reject(e)}));case 8:case"end":return e.stop()}},e,void 0)}));return function(t,n,r,o,i){return e.apply(this,arguments)}}(),k=function(){var e=(0,h.default)(s.default.mark(function e(t){var n,r=t.apiKey,o=t.url,i=t.text;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={headers:{"content-type":"application/json","x-api-key":r},body:(0,d.default)({pageURL:(0,C.getClientLocation)(),pageTitle:(0,C.getPageTitle)(),text:i})},e.abrupt("return",g.default.post(o,n));case 2:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t;if(e===E.ErrorTypes.TOKEN_REFRESH_FAILED)throw E.ErrorTypes.TOKEN_REFRESH_FAILED;var n=(t={},(0,i.default)(t,O.PROFANITY_FOUND_IN_TEXT,E.ErrorTypes.PROFANITY_FOUND_IN_TEXT),(0,i.default)(t,O.FORUM_CLOSED,E.ErrorTypes.POSTING_TO_CLOSED_FORUM),(0,i.default)(t,O.FORUM_READ_ONLY,E.ErrorTypes.POSTING_TO_CLOSED_FORUM),(0,i.default)(t,O.COMMENT_NOT_FOUND,E.ErrorTypes.COMMENT_NOT_FOUND),(0,i.default)(t,O.REPLY_NOT_FOUND,E.ErrorTypes.REPLY_NOT_FOUND),(0,i.default)(t,O.DISCUSSION_NOT_FOUND,E.ErrorTypes.DISCUSSION_NOT_FOUND),t),r=n[e.errorCode];throw r?r:E.ErrorTypes.UNKNOWN_ERROR},D=function(e){return e.errorCode&&e.errorCode===O.ALREADY_REACTED},L=function(e){var t;if(e===E.ErrorTypes.TOKEN_REFRESH_FAILED)throw E.ErrorTypes.TOKEN_REFRESH_FAILED;if(!D(e)){var n=(t={},(0,i.default)(t,O.VALIDATION_ERROR,E.ErrorTypes.VALIDATION_ERROR),(0,i.default)(t,O.MISSING_API_KEY,E.ErrorTypes.MISSING_API_KEY),(0,i.default)(t,O.UNAUTHORIZED,E.ErrorTypes.UNAUTHORIZED),(0,i.default)(t,O.RESOURCE_CLOSED,E.ErrorTypes.RESOURCE_CLOSED),(0,i.default)(t,O.DISCUSSION_READ_ONLY,E.ErrorTypes.DISCUSSION_READ_ONLY),(0,i.default)(t,O.AUTHENTICATION_POLICY,E.ErrorTypes.AUTHENTICATION_POLICY),(0,i.default)(t,O.DISCUSSION_NOT_FOUND,E.ErrorTypes.DISCUSSION_NOT_FOUND),(0,i.default)(t,O.COMMENT_NOT_FOUND,E.ErrorTypes.COMMENT_NOT_FOUND),(0,i.default)(t,O.REPLY_NOT_FOUND,E.ErrorTypes.REPLY_NOT_FOUND),t),r=n[e.errorCode];throw r?r:e}},j=function(e,t,n){return n?_.default.getCommentsForumRepliesRepliesUrl((0,b.getEnv)(),e,n,t):_.default.getCommentsForumRepliesUrl((0,b.getEnv)(),e,t)};t.default={postRating:function(e,t,n){var r=this,o=t.id,i=t.commentId;return(0,h.default)(s.default.mark(function t(){var a;return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,T.refreshToken)();case 3:return a=M(o,i,n),t.next=6,g.default.post(a,x(e));case 6:t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),L(t.t0);case 11:case"end":return t.stop()}},t,r,[[0,8]])}))()},postNegativeRating:function(e,t,n){var r=this,o=t.id,i=t.commentId;return(0,h.default)(s.default.mark(function t(){var a;return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,T.refreshToken)();case 3:return a=R(o,i,n),t.next=6,g.default.post(a,x(e));case 6:t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),L(t.t0);case 11:case"end":return t.stop()}},t,r,[[0,8]])}))()},postComment:function(e){var t=this,n=e.apiKey,r=e.siteName,o=e.forumId,i=e.commentText,a=e.createForum,u=e.embeddingPageOpts;return(0,h.default)(s.default.mark(function e(){var l;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,T.refreshToken)();case 3:return e.next=5,N(a,n,r,o,u);case 5:return l=_.default.getCommentsForumUrl((0,b.getEnv)(),o),e.next=8,k({apiKey:n,url:l,text:i});case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),A(e.t0);case 13:case"end":return e.stop()}},e,t,[[0,10]])}))()},postReply:function(e){var t=this,n=e.apiKey,r=e.forumId,o=e.replyText,i=e.id,a=e.commentId;return(0,h.default)(s.default.mark(function e(){var u;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,T.refreshToken)();case 3:return u=j(r,i,a),e.next=6,k({apiKey:n,url:u,text:o});case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),A(e.t0);case 11:case"end":return e.stop()}},e,t,[[0,8]])}))()}},e.exports=t.default},function(e,t,n){e.exports={default:n(157),__esModule:!0}},function(e,t,n){var r=n(8),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(121),i=r(o),a=n(124),s=r(a),u=function(){var e=(0,s.default)(i.default.mark(function e(t,n,r){var o,a,s,u,m,f,p,h;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.headers,a=void 0===o?{}:o,s=r.body,u=r.timeout,m=void 0===u?d:u,e.next=3,(0,l.timeBoxedPromise)(m,fetch(n,{method:t,headers:a,body:s,credentials:"include"}));case 3:if(f=e.sent,p=f.headers.get("content-type"),h=null,!p||p.indexOf("application/json")===-1){e.next=10;break}return e.next=9,f.json();case 9:h=e.sent;case 10:if(!(0,c.not)(f.ok)){e.next=12;break}throw h;case 12:return e.abrupt("return",h);case 13:case"end":return e.stop()}},e,this)}));return function(t,n,r){return e.apply(this,arguments)}}(),l=n(159),c=n(160),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(125),i=r(o);t.default={timeBoxedPromise:function(e,t){var n=0,r=function(){return clearTimeout(n)},o=new i.default(function(t,r){n=setTimeout(function(){r("Timed out in "+e+" ms.")},e)});return i.default.race([t,o]).then(function(e){return r(),e})}},e.exports=t.default},function(e,t){"use strict";function n(e){return!e}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){},o=function(e){return 1e3*e},i=function(e,t,n){return Math.min(n,Math.max(t,e))};t.not=n,t.noop=r,t.secondsToMillis=o,t.clamp=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return(0,u.getClientLocation)().indexOf("bbc.com")!==-1?"bbc.com":"bbc.co.uk"}function i(e,t){var n=o();switch(t){case"acc":return l;case"live":return"https://"+e+".api."+n;default:return"https://"+e+"."+t+".api."+n}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(150),s=r(a),u=n(162),l="https://web.archive.org/web/20210116223748/http://localhost:3000";t.default={getIdctaInitUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.default)(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&"),r=n?"?"+n:"",o=i("idcta",e);return o+"/idcta/init"+r},getCommentsForumUrl:function(e,t){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments"},getCommentsForumRepliesUrl:function(e,t,n){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/replies"},getCommentsForumRepliesRepliesUrl:function(e,t,n,r){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/replies/"+r},getDiscussionUrl:function(e){return i("discussions",e)+"/receiver/api/discussions"},getModeratedUserUrl:function(e){return i("moderateduser",e)+"/v1/user"},getAdminLinksUrl:function(e){var t=e.env,n=e.forumId;return i("moderation",t)+"/v1/adminlinks/"+n},getCommentRatingsUrl:function(e,t,n){ return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/reactions"},getCommentNegativeRatingsUrl:function(e,t,n){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/reactions/down"},getReplyRatingsUrl:function(e,t,n,r){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/replies/"+r+"/reactions"},getReplyNegativeRatingsUrl:function(e,t,n,r){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/replies/"+r+"/reactions/down/"},getActivityHubUrl:function(e){switch(e){case"acc":return l;case"live":return"https://account.bbc.com/account/activity";default:return"https://account.test.bbc.com/account/activity"}}},e.exports=t.default},function(e,t){"use strict";function n(e){var t=document.querySelector("meta[property='"+e+"']");return t?t.getAttribute("content"):null}Object.defineProperty(t,"__esModule",{value:!0}),t.default={getPageTitle:function(){return"undefined"==typeof document?"":n("og:title")||document.title},getClientLocation:function(){return"undefined"==typeof document?"":document.location.href}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=null;t.default={setEnv:function(e){n=e},getEnv:function(){return n}},e.exports=t.default},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getIdctaInfoForComments(e,t){var n=e.env,r=e.policy,o=e.context,i=e.embeddingPageUri,a=t?"authorised":"false",s=o?(0,_defineProperty3.default)({},"context",o):{},u=i||_utils2.default.getClientLocation(),l=_urlUtils2.default.getIdctaInitUrl(n,(0,_extends3.default)({policy:r,renderMode:a,purpose:IDCTA_PURPOSE,ptrt:u},s));return _clientSideFetch2.default.get(l,IDCTA_TIMEOUT).then(function(e){return{isSignedIn:t,idctaInfo:e}})}function setupIdcta(env){var idctaInitUrl=_urlUtils2.default.getIdctaInitUrl(env,{});return _clientSideFetch2.default.get(idctaInitUrl,{timeout:IDCTA_TIMEOUT}).then(function(json){var functionToSetupIdctaLibs=extractFunctionFromScriptBlock(json.inlineHead);return eval(functionToSetupIdctaLibs),json.css})}function buildIdctaInfo(e,t){return getIdctaInfoForComments(e,t).then(function(e){var t=e.isSignedIn,n=e.idctaInfo,r=_idctaBuilder2.default.new().signedIn(t);return t?r.withSignedInMessage(n.html).withPolicyCheck(n.policyCheck):r.withSignInButton(n.html)}).then(function(e){return e.build()})}function isCurrentUserSignedIn(){return getIdcta().then(function(e){var t=e.hasCookie;return t()})}Object.defineProperty(exports,"__esModule",{value:!0});var _regenerator=__webpack_require__(121),_regenerator2=_interopRequireDefault(_regenerator),_asyncToGenerator2=__webpack_require__(124),_asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2),_extends2=__webpack_require__(2),_extends3=_interopRequireDefault(_extends2),_defineProperty2=__webpack_require__(153),_defineProperty3=_interopRequireDefault(_defineProperty2),_promise=__webpack_require__(125),_promise2=_interopRequireDefault(_promise),getUserDetailsFromCookie=function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t,n;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,getIdcta();case 2:return t=e.sent,n=t.getUserDetailsFromCookie(),e.abrupt("return",{ageBracket:n.ab,displayName:n.dn});case 5:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),_urlUtils=__webpack_require__(161),_urlUtils2=_interopRequireDefault(_urlUtils),_utils=__webpack_require__(162),_utils2=_interopRequireDefault(_utils),_idctaBuilder=__webpack_require__(165),_idctaBuilder2=_interopRequireDefault(_idctaBuilder),_helpers=__webpack_require__(160),_clientSideFetch=__webpack_require__(158),_clientSideFetch2=_interopRequireDefault(_clientSideFetch),_errorTypes=__webpack_require__(166),extractFunctionFromScriptBlock=function(e){return e.replace(/<script[^>]*>/gi,"").replace(/<\/script>/gi,"")},getIdcta=function(){return new _promise2.default(function(e,t){requirejs(["idcta-v2/idcta-1"],e,t)})},IDCTA_PURPOSE="",IDCTA_TIMEOUT=1e4;exports.default={setupIdctaLibrary:function(e){return setupIdcta(e)},refreshToken:function(){return getIdcta().then(function(e){var t=e.initiateTokenRefresh;return t()}).catch(function(){throw _errorTypes.ErrorTypes.TOKEN_REFRESH_FAILED})},getIdctaInfo:function(e){var t=this,n=e.idctaEnv,r=e.policy,o=e.signInContext,i=e.embeddingPageUri,a=e.shouldCallIdcta,s=void 0===a||a;return(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var a,u;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,isCurrentUserSignedIn();case 2:if(a=e.sent,u={policy:r,env:n,context:o,embeddingPageUri:i},!(0,_helpers.not)(s)){e.next=6;break}return e.abrupt("return",_idctaBuilder2.default.new().signedIn(a).build());case 6:if(!a){e.next=9;break}return e.next=9,t.refreshToken();case 9:return e.abrupt("return",buildIdctaInfo(u,a));case 10:case"end":return e.stop()}},e,t)}))()},getUserDetailsFromCookie:getUserDetailsFromCookie},module.exports=exports.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.default)({},t,n);return{signedIn:function(t){return e(r,{signedIn:t})},withSignInButton:function(t){return e(r,{signInButton:t})},withSignedInMessage:function(t){return e(r,{signedInMessage:t})},withPolicyCheck:function(t){return e(r,{policyCheck:t})},build:function(){return r}}};t.default={new:a},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ErrorTypes={IDCTA_FAILED:"idctaFailed",TOKEN_REFRESH_FAILED:"tokenRefreshFailed",POSTING_EMPTY_COMMENTS_NOT_ALLOWED:"postingEmptyCommentsNotAllowed",PROFANITY_FOUND_IN_TEXT:"profanityFoundInText",POSTING_TO_CLOSED_FORUM:"postingToClosedForum",MORE_COMMENTS_FAILED:"loadMoreCommentsFailed",ID_UNAVAILABLE:"idUnavailable",UNKNOWN_ERROR:"unknownError",RATING_COMMENT_FAILED:"ratingCommentFailed",DISCUSSION_ALREADY_EXISTS:"DISCUSSION_ALREADY_EXISTS",COMMENT_NOT_FOUND:"commentNotFound",REPLY_NOT_FOUND:"replyNotFound",DISCUSSION_NOT_FOUND:"discussionNotFound",VALIDATION_ERROR:"VALIDATION_ERROR",MISSING_API_KEY:"MISSING_API_KEY",UNAUTHORIZED:"UNAUTHORIZED",RESOURCE_CLOSED:"RESOURCE_CLOSED",DISCUSSION_READ_ONLY:"DISCUSSION_READ_ONLY",AUTHENTICATION_POLICY:"AUTHENTICATION_POLICY",USER_NOT_SIGNED_IN:"userNotSignIn",UAS_CANNOT_GET_CONTENT_ID:"uasCannotGetContentId",UAS_MISSING_FORUM_ID:"uasMissingForumId",UAS_INVALID_SITE_CONFIG:"uasInvalidSiteConfig"}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={cbbccomments:{urnStructure:"urn:bbc:isite2:file_id:cbbc:content-{id}",contentIdRegexp:/^__CBBC__comments__([a-zA-Z0-9_]+)$/,resourceType:"article"},ownit:{urnStructure:"urn:bbc:isite2:file_id:stay-safe:content-{id}",contentIdRegexp:/^ownit__([a-zA-Z0-9_]+)$/,resourceType:"article"},newsroundcommentsmodule:{urnStructure:"urn:bbc:cps::articleid:{id}",contentIdRegexp:/^__newsround__([0-9]+$)/,resourceType:"article"},sportcommentsmodule:{urnStructure:"urn:bbc:cps::articleid:{id}",contentIdRegexp:/^__CPS_([0-9]+$)/,resourceType:"article"},newscommentsmodule:{urnStructure:"urn:bbc:cps::articleid:{id}",contentIdRegexp:/^__CPS__([0-9]+)$/,resourceType:"article"},bbcthreecomments:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^__BBCTHREE__comments__article_([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})$/,resourceType:"article"},blogsreactive:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"},blogspremoderated:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"},blogspostmoderated:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"},blogstrictlycomedancing:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"},blogbbccymru:{urnStructure:"urn:bbc:isite2:guid::{id}",contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]{8}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{4}_[a-zA-Z0-9]{12})$/,resourceType:"article"}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(166),o=function(e,t){var n=e.contentIdRegexp,o=t.match(n);if(!o||2!==o.length)throw new Error(r.ErrorTypes.UAS_CANNOT_GET_CONTENT_ID);return o[1].replace(/_/g,"-")};t.default={buildResourceId:function(e,t){if(!e||!e.contentIdRegexp||!e.urnStructure)throw new Error(r.ErrorTypes.UAS_INVALID_SITE_CONFIG);if(!t||0===t.length)throw new Error(r.ErrorTypes.UAS_MISSING_FORUM_ID);var n=e.urnStructure,i=o(e,t),a=/\{id\}/;return n.replace(a,i)}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ContributorAvatar=t.ViewCommentsButton=t.CommentsSortError=t.CommentsSort=t.LoadRepliesButton=t.ReplySnippet=t.ReplyButton=t.A11yText=t.CommentsModerationMessage=t.ShowNewCommentsButton=t.CommentRatingContainer=t.NoJSMessage=t.Tooltip=t.TooltipLauncher=t.CommentsLoading=t.CommentRating=t.CommentsAlert=t.CommentsFooter=t.CommentsTextLimit=t.IdctaSignedInMessage=t.IdctaSignInButton=t.CommentsList=t.Comment=t.CommentsInput=t.CommentsButton=t.PostedDate=t.UserDescription=t.Username=t.CommentsTotal=t.CommentsModuleTitle=t.CommentsTitle=t.CommentsHeader=t.Stylesheets=void 0;var o=n(99),i=r(o),a=n(148),s=r(a),u=n(170),l=n(210),c=n(172),d=n(173),m=n(171),f=n(235),p=n(190),h=n(236),y=n(191),g=n(203),v=n(237),_=n(189),b=n(238),T=n(239),E=n(240),C=n(200),P=n(201),S=n(241),w=n(199),O=n(242),x=n(179),M=n(186),R=n(212),I=n(233),N=n(243),k=n(246),A=n(247),D=n(174),L=function(e){var t=e.children;return i.default.createElement("div",{className:"comments__header comments--border comments--shadow"},t)};L.displayName="CommentsHeader",L.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var j=function(e){var t=e.children;return i.default.createElement("h4",{className:"comments__heading-module-title"},t)};j.displayName="CommentsModuleTitle",j.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var F=function(e){var t=e.children;return i.default.createElement("h4",{className:"comments__heading-title"},i.default.createElement("span",{className:"comments__heading-title-text"},t))};F.displayName="CommentsTitle",F.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var U=function(e){var t=e.totalCommentsCount,n="comment"+(1===t?"":"s"),r=t+" "+n;return i.default.createElement("div",{className:"comments-total"},i.default.createElement("span",null,r))};U.displayName="CommentsTotal",U.propTypes={totalCommentsCount:o.PropTypes.number};var q=function(e){var t=e.children,n=e.className;return i.default.createElement("div",{className:(0,s.default)("comments__footer",n)},t)};q.displayName="CommentsFooter",q.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string},t.Stylesheets=v.Stylesheets,t.CommentsHeader=L,t.CommentsTitle=F,t.CommentsModuleTitle=j,t.CommentsTotal=U,t.Username=c.Username,t.UserDescription=d.UserDescription,t.PostedDate=m.PostedDate,t.CommentsButton=f.CommentsButton,t.CommentsInput=p.CommentsInput,t.Comment=u.Comment,t.CommentsList=l.CommentsList,t.IdctaSignInButton=_.IdctaSignInButton,t.IdctaSignedInMessage=b.IdctaSignedInMessage,t.CommentsTextLimit=h.CommentsTextLimit,t.CommentsFooter=q,t.CommentsAlert=y.CommentsAlert,t.CommentRating=g.CommentRating,t.CommentsLoading=E.CommentsLoading,t.TooltipLauncher=C.TooltipLauncher,t.Tooltip=P.Tooltip,t.NoJSMessage=S.NoJSMessage,t.CommentRatingContainer=w.CommentRatingContainer,t.ShowNewCommentsButton=T.ShowNewCommentsButton,t.CommentsModerationMessage=O.CommentsModerationMessage,t.A11yText=x.A11yText,t.ReplyButton=M.ReplyButton,t.ReplySnippet=R.ReplySnippet,t.LoadRepliesButton=I.LoadRepliesButton,t.CommentsSort=N.CommentsSort,t.CommentsSortError=k.CommentsSortError,t.ViewCommentsButton=A.ViewCommentsButton,t.ContributorAvatar=D.ContributorAvatar},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Comment=t.CommentText=void 0;var o=n(41),i=r(o),a=n(48),s=r(a),u=n(53),l=r(u),c=n(54),d=r(c),m=n(58),f=r(m),p=n(91),h=r(p),y=n(99),g=r(y),v=n(148),_=r(v),b=n(171),T=n(172),E=n(173),C=n(174),P=n(176),S=n(177),w=n(184),O=n(180),x=r(O),M=n(209),R=n(154),I=n(210),N=n(233),k=n(213),A=n(207),D=n(234),L=r(D),j=n(198),F=15e3,U=t.CommentText=function(e){var t=e.commentText;return g.default.createElement("div",{className:"comment__text",dangerouslySetInnerHTML:{__html:t}})};U.displayName="CommentText",U.propTypes={commentText:y.PropTypes.string.isRequired},U.default={commentText:""};var q=t.Comment=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.state={maxNumberOfRepliesVisible:1,shouldFocusMoreReplies:!1,requestCounter:1,scrollPositionLoadRepliesButton:{}},n.handleLoadReplies=n.handleLoadReplies.bind(n),n.setMaxNumberOfRepliesVisible=n.setMaxNumberOfRepliesVisible.bind(n),n.setLoadRepliesAllyMessage=n.setLoadRepliesAllyMessage.bind(n),n.newRepliesToShow=0,n}return(0,h.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.rulesPageUrl,r=t.idctaData,o=t.repliesPageSize,i=t.commentData,a=t.personalisationDetails,s=t.commentInputTextLimit,u=t.commentInputModerationStatus,l=t.isRatingEnabled,c=t.userCanPostToForum,d=t.forumId,m=t.isForumClosed,f=this.context.theme.formatMessage,p=a.commentAdminLinks,h=(0,A.isUserAnEditor)(a),y=this.context.isFeatureEnabled,v=(0,S.getCommentLinks)({commentData:i,commentAdminLinks:p,isUserAnEditor:h,isFeatureEnabled:y}),P=this.isCommentWithReplies(),O=(0,A.isRemovedComment)(i),x=(0,A.canRateComment)(i,y)||(0,A.canDownRateComment)(i,y)||(0,A.canReplyComment)(i,y,O)||v.hasLinks||P,R=h?i.index+1+". ":"",N=i.author.displayName,D=i.author.isNotable,L=i.author.description,j=i.author.avatarUrl,F=(0,k.parseTimestamp)(i.dateCreated),q=F.formattedTimestamp,W=F.time,B=(0,A.isAuthoredByCurrentUser)(a,i),Y="comment-title-label-"+i.id,V=this.getCommentTitleText(),H=g.default.createElement("div",{className:"comment__content"},g.default.createElement("div",{tabIndex:"-1",role:"heading","aria-level":"4","aria-labelledby":Y,ref:function(t){return e.commentElement=t},className:"comment__header"},!O&&g.default.createElement("div",{className:"comment__avatar"},g.default.createElement(C.ContributorAvatar,{displayName:N,isCurrentUser:B,avatarImageUrl:j})),g.default.createElement("div",{className:"comment__username-and-posted-date"},g.default.createElement("h4",{className:"comment__title"},g.default.createElement("div",{className:"comment__title-wrapper"},g.default.createElement("span",{"aria-hidden":"true",id:Y,className:"comment__hidden-text"},V),g.default.createElement("span",{"aria-hidden":"true"},R),g.default.createElement(T.Username,{className:"comment__username"},N))),(0,A.shouldShowDisplayNameModerationWarning)(a,i)&&g.default.createElement("a",{className:"comment__display-name-moderation-warning",href:a.displayNameModerationUrl},a.displayNameModerationMessage),L&&g.default.createElement(E.UserDescription,{className:"comment__user-description"},L),i.dateCreated&&g.default.createElement(b.PostedDate,{className:"comment__posted-date",time:W,formattedTime:q}))),g.default.createElement("div",{className:"comment__body"},g.default.createElement(U,{commentText:(0,A.getCommentTextToDisplay)(i,n,f)})),i.distressMessage&&g.default.createElement(M.CommentDistressText,{commentDistressText:i.distressMessage.text}),x&&g.default.createElement(w.CommentFooter,{commentData:i,commentLinks:v,commentInputTextLimit:s,commentInputModerationStatus:u,idctaData:r,isRatingEnabled:l,userCanPostToForum:c,forumId:d,isReply:!1}),P&&g.default.createElement("div",null,g.default.createElement("div",{className:"replies"},g.default.createElement(I.CommentsList,{forumId:d,isRepliesList:!0,comments:i.replies.slice(0,this.state.maxNumberOfRepliesVisible),rulesPageUrl:n,isRatingEnabled:l,userCanPostToForum:c,personalisationDetails:a,idctaData:r,commentInputTextLimit:s,commentInputModerationStatus:u,repliesPageSize:o,firstNewReplyId:i.firstNewReplyId,isParentCommentRemoved:O,scrollPositionLoadRepliesButton:this.state.scrollPositionLoadRepliesButton})),i.totalReplies>1&&this.getLoadRepliesButtonComponentWithStats(O,m)));return g.default.createElement("div",{id:"comment-"+i.id,"data-comment-index":i.index+1,className:(0,_.default)("comment",{"comment--notable":D,"comment--has-footer":x,"comment--by-current-user":B})},D&&this.context.theme.getComponent("notableCommentFlag"),this.isCollapsedRemovedComment()?this.getCollapsedRemovedComment(H):H)}},{key:"getCollapsedRemovedComment",value:function(e){var t=this,n=this.context.theme.formatMessage;return g.default.createElement(P.CollapsiblePanel,{title:n("removedCommentButton"),setCollapsiblePanelRef:function(e){return t.collapsedRemovedCommentElement=e}},e)}},{key:"getLoadRepliesButtonComponentWithStats",value:function(e,t){if(this.newRepliesToShow=this.props.commentData.totalReplies-this.state.maxNumberOfRepliesVisible,this.newRepliesToShow>0)return this.getLoadRepliesButtonComponentWithLoadStats();var n=!e&&!t;return n?this.getLoadRepliesButtonComponentWithCheckStats():null}},{key:"getLoadRepliesButtonComponentWithCheckStats",value:function(){var e=this.context.WithStatsIncludeCommonLabels;return g.default.createElement(e,{key:"more-replies-check-"+this.props.commentData.id,id:"stats-more-replies-check",labels:{label:"more-replies-check"},fireOnView:!0,fireOnClick:!0,minimumTimeInView:0},this.getLoadRepliesButtonComponent())}},{key:"getLoadRepliesButtonComponentWithLoadStats",value:function(){var e=this.context.WithStatsIncludeCommonLabels,t=(0,i.default)(this.state.maxNumberOfRepliesVisible/this.props.repliesPageSize+1),n={PAG:t,RSC:this.newRepliesToShow};return g.default.createElement(e,{key:"more-replies-load-"+this.props.commentData.id+"-"+t,id:"stats-more-replies-load",labels:{label:"more-replies-load",metadata:n},fireOnView:!0,fireOnClick:!0,minimumTimeInView:0},this.getLoadRepliesButtonComponent())}},{key:"getLoadRepliesButtonComponent",value:function(){var e=this;return g.default.createElement(N.LoadRepliesButton,{setMaxNumberOfRepliesVisible:this.setMaxNumberOfRepliesVisible,setLoadRepliesAllyMessage:this.setLoadRepliesAllyMessage,sendMoreRepliesLoadErrorStat:function(){return(0,j.sendMoreRepliesLoadErrorStat)(e.context)},sendMoreRepliesCheckErrorStat:function(){return(0,j.sendMoreRepliesCheckErrorStat)(e.context)},onClick:this.handleLoadReplies,newRepliesToShow:this.newRepliesToShow,checkingForReplies:this.props.commentData.checkingForReplies,requestTimeoutMs:F})}},{key:"isCommentWithReplies",value:function(){return(0,A.hasReplies)(this.props.commentData,this.context.isFeatureEnabled)}},{key:"isCollapsedRemovedComment",value:function(){return(0,A.isRemovedComment)(this.props.commentData)&&!this.isCommentWithReplies()}},{key:"componentDidMount",value:function(){if(this.props.focusOn){var e=this.isCollapsedRemovedComment()?this.collapsedRemovedCommentElement:this.commentElement,t=this.props.scrollPositionMoreCommentsButton,n=!0;this.setMoreCommentsAllyMessage(),(0,R.focusOnElement)(e,n),(0,R.scrollToPosition)(t)}}},{key:"requestReplies",value:function(e){this.context.triggerAggregatorDataFetch({parentCommentId:this.props.commentData.id,nextReplyIndexToLoadFrom:e,requestCounter:this.state.requestCounter,requestType:L.default.replies})}},{key:"setLoadRepliesAllyMessage",value:function(e){var t=this.context.theme.formatMessage;e?this.context.setA11yAlertText(t("moreRepliesDisplayed")):this.context.setA11yAlertText(t("newRepliesChecked"))}},{key:"setMoreCommentsAllyMessage",value:function(){var e=this.isCollapsedRemovedComment()?this.context.theme.formatMessage("removedCommentButtonA11y"):this.getCommentTitleText();this.context.setA11yAlertText(e)}},{key:"getCommentTitleText",value:function(){var e=this.props.commentData,t=this.context.theme.formatMessage,n=this.context.theme.productLabel,r=e.author.displayName,o=e.author.isNotable,i=e.author.description,a=o&&n?t("commentNotableHead",{displayName:r,productLabel:n}):t("commentHead",{displayName:r}),s=(0,k.parseTimestamp)(e.dateCreated),u=s.description,l=s.formattedTimestamp,c=u?", "+u+" "+l:", "+l,d=i?", "+i:"";return""+a+d+c}},{key:"setMaxNumberOfRepliesVisible",value:function(){var e=this.props.commentData.replies.length,t=this.props.repliesPageSize;this.setState(function(n){return{maxNumberOfRepliesVisible:Math.min(n.maxNumberOfRepliesVisible,e)+t}})}},{key:"handleLoadReplies",value:function(){var e=(0,R.getScrollPosition)(),t=this.props.commentData.replies.length;this.requestReplies(t),this.setState(function(t){return{requestCounter:t.requestCounter+1,scrollPositionLoadRepliesButton:e}})}}]),t}(y.Component);q.displayName="Comment",q.propTypes={repliesPageSize:y.PropTypes.number,commentData:y.PropTypes.shape({index:y.PropTypes.number,id:y.PropTypes.number,firstNewReplyId:y.PropTypes.number,actions:y.PropTypes.shape({reportUrl:y.PropTypes.string.isRequired}),checkingForReplies:y.PropTypes.bool,distressMessage:y.PropTypes.shape({text:y.PropTypes.string}),author:y.PropTypes.shape({userId:y.PropTypes.oneOfType([y.PropTypes.string,y.PropTypes.number]).isRequired,displayName:y.PropTypes.string.isRequired,isNotable:y.PropTypes.bool.isRequired,description:y.PropTypes.string,avatarUrl:y.PropTypes.string}).isRequired,dateCreated:y.PropTypes.string,text:y.PropTypes.string.isRequired,rating:y.PropTypes.oneOfType([y.PropTypes.shape({positive:y.PropTypes.number.isRequired}),y.PropTypes.shape({negative:y.PropTypes.number.isRequired})]),status:y.PropTypes.oneOf([x.default.FAIL,x.default.PASS,x.default.REFER,x.default.UNKNOWN]),replies:y.PropTypes.array,totalReplies:y.PropTypes.number}).isRequired,rulesPageUrl:y.PropTypes.string.isRequired,isRatingEnabled:y.PropTypes.bool,userCanPostToForum:y.PropTypes.bool,personalisationDetails:y.PropTypes.shape({userId:y.PropTypes.oneOfType([y.PropTypes.string,y.PropTypes.number]),displayNameModerationStatus:y.PropTypes.string,displayNameModerationMessage:y.PropTypes.string,displayNameModerationUrl:y.PropTypes.string,isEditor:y.PropTypes.bool,commentAdminLinks:y.PropTypes.shape({report:y.PropTypes.shape({url:y.PropTypes.string.isRequired}),viewModerationHistory:y.PropTypes.shape({url:y.PropTypes.string.isRequired}),makeTopPick:y.PropTypes.shape({url:y.PropTypes.string.isRequired}),memberDetails:y.PropTypes.shape({url:y.PropTypes.string.isRequired})})}),idctaData:y.PropTypes.object.isRequired,forumId:y.PropTypes.string.isRequired,focusOn:y.PropTypes.bool,commentInputTextLimit:y.PropTypes.number,commentInputModerationStatus:y.PropTypes.string,isForumClosed:y.PropTypes.bool,scrollPositionMoreCommentsButton:y.PropTypes.object},q.defaultProps={personalisationDetails:{},isAvatarEnabled:!1,isMoreIconIsOpen:!1,focusOn:!1,replies:[],repliesPageSize:10,firstNewReplyId:0},q.contextTypes={theme:y.PropTypes.shape({formatMessage:y.PropTypes.func,getComponent:y.PropTypes.func.isRequired,productLabel:y.PropTypes.string}),isFeatureEnabled:y.PropTypes.func.isRequired,setA11yAlertText:y.PropTypes.func.isRequired,triggerAggregatorDataFetch:y.PropTypes.func.isRequired,WithStatsIncludeCommonLabels:y.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:y.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PostedDate=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=t.PostedDate=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return h.default.createElement("div",{"data-time":this.props.time,className:(0,g.default)("posted-date",this.props.className)},h.default.createElement("span",{"aria-hidden":"true"},this.props.formattedTime))}}]),t}(p.Component);v.displayName="PostedDate",v.propTypes={time:p.PropTypes.string.isRequired,className:p.PropTypes.string,formattedTime:p.PropTypes.string.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Username=void 0;var o=n(99),i=r(o),a=n(148),s=r(a),u=t.Username=function(e){var t=e.children,n=e.className;return i.default.createElement("span",{"aria-hidden":"true",title:t,className:(0,s.default)("username",n)},t)};u.displayName="Username",u.propTypes={className:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.UserDescription=void 0;var o=n(99),i=r(o),a=n(148),s=r(a),u=t.UserDescription=function(e){var t=e.children,n=e.className;return i.default.createElement("span",{"aria-hidden":"true",className:(0,s.default)("userdescription",n)},t)};u.displayName="UserDescription",u.propTypes={className:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ContributorAvatar=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=n(175),_=/^((https?)(:\/\/|(\%3A%2F%2F)))|^data:image\//i,b=t.ContributorAvatar=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getAvatarLetter",value:function(e){var t=e.replace(/[^a-zA-Z0-9]/g,""),n=t.charAt(0).toUpperCase();return n||"U"}},{key:"handleAvatarImageError",value:function(e){e&&(e.target.onerror=null,e.target.src=v.noImageForAvatarError,e.target.style.backgroundColor="transparent")}},{key:"render",value:function(){var e=this,t=this.props,n=t.displayName,r=t.isCurrentUser,o=t.avatarImageUrl,i=(0,g.default)("contributor-avatar__letter",{"contributor-avatar__letter--current":r}),a=o&&o.match(_);return h.default.createElement("div",{className:"contributor-avatar","aria-hidden":"true"},a&&h.default.createElement("img",{className:"contributor-avatar__image",alt:"",src:o,onError:function(t){return e.handleAvatarImageError(t)}}),h.default.createElement("div",{className:i},this.getAvatarLetter(n)))}}]),t}(p.Component);b.displayName="ContributorAvatar",b.propTypes={displayName:p.PropTypes.string,isCurrentUser:p.PropTypes.bool,avatarImageUrl:p.PropTypes.string},b.defaultProps={displayName:"u",isCurrentUser:!1}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.exampleAvatarUrl96x96PngBase64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAsSwAALEsBpT2WqQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABZfSURBVHic5Z15nBXVlce/p+rtrzcaaHalRcElGqAbBFFAZTRGu0NUoqjRRBMnmcwniUaUaOL0TGaULcsni8ZPPmo0Juo4joK7okLUYJAGDBGBGFHAlsVu6H77e1V154/X9Ou3dPdb6jWY+X0+/YGqd+vcU+fce+655557SzhKsaBhSXVUc0wUU01SWCeKyERgHODv/hvS/S9ACDjY/W8I2K2U2iFo25Qu2z2WseOx1sWdR+I9BoIcaQYOY8EpLRVxn38GFvMUah4wBdBsrOJ9hNUoVptxc/UzW75/0EbaReOIKmD+5J/WWFriSwhXAWcA+iBVbSLqDSztIc1yPPbk5hsODVK9WRh0BbTQom1s8F8A1tUgzYBnsHnIQBTUKhF5YMqG8PMttFiDWfmgKaCFFm3TVP+FSlQLMHWw6i0Q74iwrLMi/Ic1a1qMwaiw7AqYO7fFUR3wfUXBYmBCueuzB/KeEpYEKkIPlFsRZVVA85SljehyN4rGctZTPsjbiPrWqg03v1G2GspBdMHMn9RG44l/E+RfsdeTORJQouQhzeCmJ/6yaL/dxG1XQFPD0vkg9wrU2k37CKNdiVz31IZFK+0kapsCkrbe/58KdbOddI8yKIX6hScaWfTYOy1xOwjaIqim6cvrxVCPIkyzg97RDgXrddO87MnN3/+gVFolK6B5ytJGNHkWGF4qrU8TFHQoSy56etOidaXQKWmAbJq6/Bw0eYX/Z8IHEKjVNPVS89RlnyuFTtEKaJ669GIR9SxQWQoDpUFhqlj3X+JIMOBHWNnUuGxhsQSKMkFNjcsWiuIhjoCLGTU6OBjbQSD+AVGjI03wDs2DxzGUCucYqlz1+JwjkMHxByxErly1YdEjhT5YMHcXTVl6rqbJM4C70GdLQSjRRlvwTYKJ3Xk/49KrGO49jaGeU9E1Vxm5AyAhympauXHxC4U8VJACmqatmCaWegVURWG8FQ/DivJRcC0d0W1F03BqfkZXzKLWc5KNnOVE2LJkXiEDc94KaJq+vF5MtR4YVhRrRSCY2M3OzucxrHDafY9LaJrt5KzJDupHC5aCRAI+2Gvx8lsJXlxnYOaIadZ6TuKYynMRKWvU+4BmmtPzdVHzUsD1Dfc490nnWqWYWRJrBeBAZDMfBV9DqZQkRw/TuO1aN6efpKP1w7lC2LbH4o77orzzvpn2W4VzHMcPmY+Uc/hSvOWOhc/MZ7KWV1MYM3r2T4BLS2YsT+wN/Zm24BuAAkAEbrzCzZ3f8DCuTkNyCF9zCE6PhrtCx1OhMXa0gy/Oc+P3a2z4a6KnR8StLhJWiGr3ceV7AWGM6XD4t3+8+sWBiw6ApqnLLhJhVT5lS4diT3AtB8Jv99zxeYR7b/MyaVx2ixUBpzcpdN3ZN3sbtxp8syXAgYOq596E6i9Q5R5vK/cZUAp18VOttzzZX6F+hXrBlDuGOzTHtsEKrLUF32BfeEPP9ZAq4bE7/NRmDvkCLq+Gp9qBlqcl2bLD5LIbu4jGkkrw6LWcWHslImX1pNsV2olPtd70SV8F+q3doTuXDpbwD0Q2pwl/9DCNVcuzha85hMphDnxD8hc+wKkTdb7/dW/PddTsoD26tVS2B8JQsO7sr0Cfr9DcuGyWKPUV21nKgWBiNx8FX+u5Hj9K47E7fPgzZhour0ZlnRPdVVyrveIiN8eNSw17+8OtKFQ/T5QOgWsvmrK8T+cl55vMndviQMmvGAS7HzcD7Ox8rsfbGVsnPPTvPrwZ8yZPlY6v1pFzAM4Xui589+pUL4iZhwjEPyieYH7QNE3dM3duiyPnj7luVnX5vwrqs+XlCyxl8H7n0xhWBIARtcKDt/vwZQjfV6PjqbTHd//8bBfHjE699v7wZlvoDoBTq4K+q3P9kKWABQv+W0fUovLzBLsDrxAxkqt8Q6uF+3/gpaaiVxMX8A3RcVXYF0bQNFj4+ZRtC8R3Eze7bKPfJxS35uoFWQqI/X3n5cAJ5eanM/Z3OqLvAuB0wM++62VkbYod0VxUTbwez8nPoJ/Qij7hNaTu+6CVHgVZ8Dk37h6dqsEYjAEmVAZ9CzJvZihAiYgsLjcnhhVhV9crPde3XePmlPoUK5p7BNXTHsE5+gbEdSwgoFeh1VyONu4+0Lw5qOaP2mqN82alekFH5F0o82AMIIoftNCSJvO0i+aGFZ9X8JlyM7KrazWGSsZ3FpzjpPksZ4pJZw3VU+5H9+UOnIl7EjL0WyXz0HR2qs641UUo8XHJNPPAya2NFef3vpHZA64pNwftkXfojL8PwKhhGt+9LN2+V5zYguat75eGVn1JyaZodqOLql7jzcHo30qily/EMtMG4x4FLGhYUg1cVM7KDSvc4++LwA+/6sLrTgnBWXsGrmHn9/V4CpoP8TWUxIvLCeefmVL+odh7DIYZQmT+/Mk/rTl82aOAuOiXA6UZ1wHwUfCPmCoGQNOZTmacku4U+I/7Zq8riw+3r2Tnu0+ASo9oQtIUZd3zTUdG3I429h60UcuQqgvpb7J/wVkpBSSsIKHE3sJeqDh4TIdxyeGLHgkopa4sZ63BxG46otuBpMt548J00+OsGINemWrVjz5wCzffnlzh+91vdjH7vO+klVdadepC86CN+BFSeV5aGak8H1V1MVbbd8AKZvE0c7ITv1cIRZItvzP+Pn7nqOJfMl8odRVwL3Q3j27zc0bZ6sNkV9eanutbrnJT5Uv39/1jz+XwxDt08O0e4QPcueLhHES7c2bFiTbmrizh95D2NaKN/jG5JvVuF5zVkOqFXbGdeb9TKRA484LTf14F3QqIicyhjJsj9oVaiZkdAJz1WQfzpqWbHneFjuZPOV+bN7yc9vu2v2V7KGIldxzJsG8j3v7HA/HNQKpyD2/nzkz1xIjRTtwM9EvLJjicRuwsSBnIs8tVU8IKsr87yunzCLd9JT3CpumSDDM4x/bc+3jvvrQyx44bmkVXxXYgrvFoNVfkxYfU5Lawc6Y70+JLXfEP86JXOtTZcFgBSs4pVzVtwdd7Uke+1uykbki6KfBU60kB9HIr6+rSl52/cW2GZ6QMVHQL1CwESfWmWOgD1rzwK7ra38niQzwngWNE1v1hNRqT6lOdfxCCc91Q5wBo3fb/1HJUEUp8TEd0B5AMMV95fvrA63ALLm93J1TRnvvTz2jC404KdsyoGi5dmDEAh/8EZgCtMpWUFg99wIxZF3DN9UuYNecS4pE9WfyIN/drzpqampQFErtRDMYuJfls86yllVpCZBJlCDsrFB8F13LYt/7eQjfOjFHGW91rLEikzI6n8kTWv/4ID9+3iLWvPofDPTKd9qFHEXc96D3uNPffu5yOg0lPpysQ4u0Nz2fxJHruhI5ZU1IKMK04wXhbXu9YIjQtok/UTMh2qG3Aweg2Qt1CPXeag1mnpUvf5ctYx41uSvu9uu50zjj32zi9Y9Puq8hGVOh1cPWOF1rcc1/6wN3efiCbKS33fsDppzlw9moLgcTgjANK1CQNy34FKGXycSiZm+RxCTdenhFOFvBUpk+QrMALMFB+pxVC7b09SaJX61dmiPaDobSidcNztPY+ws4+j9DQa1IYiOeffVcKLNQkTUSzXQH7I5t63LmvXuhk1NB0Ybt8Opojw+oZB7AOPtg3URXDarsRdTg1UXqHrn0cM6aq51rXhc9MzvYrVD9pjb3HgYhxoGfGXlYIkzQRNcZOmqaKsT/cCiSzGq4835leQARPRe7wgGq/C9X1VPb9+IdYu69Fhd9M3TN7bXQXnX9bnEpb+vVPr8Plz9iQqUxU9K998j1zcopPpSyC8exB3G6IYqxDKaoGLpo/9ob+jGElPZqvNbnwedJbusurZbf+w1AG1t4fIJ2Pg28GiAuiW1DBNZDpmXR7V4cxr+lW1h4/EY+3kpH1TdmkQ69D99JnLpw2yYHPI4SjSachEN9Dtbvsu2orHQIVdsUA42aAA+G/AFBTKVwy15lVpq/W3xsqsgkim/ovE98Jxn5w1CVviJvxJ/cdzlKd/9MvPYcOk09y8KdNyXEoUEAWdgmo1CwbN1jsj7SiSEYum8904sqQv9OjofWTwVYYLKxDj+dVUoXXo0J/HLDcjM+mBuKo0U7cKvtacaUmYEuquWFF6Yik1la/OCc7C8NdYW+4SR36LSrxUf+FzEOofS150Zs7Pb3FdMU+KI6x/FFZXIZTDnwSebsn5HDCOI1jR6aT1hyCw23zfM+KotpuALOPw06MfVh7rh9YSd045XgHo4an+O4svwLQFGQHyguEpQwORFIJtbMn52j9vvLkYKrYdswPv5T0ng7H/I39WB0PYH64ABXbnjctkfReEEzsxlJlPSoi4NAgoErM/zwU+3tPchXA6adkmBoRnHkqIBzWCIU0hg8v4MWNfVh7f5B/+X4wb6aLh59JzgEsZRCI7ypnKnvAlh7QHkmPPp40Pl3YDlcy7JwPXniuil//6sjtep052ZG2Tt0Z+3s5qwtoIpQ01CdTOlKTlrohgj/D93d68jc/72718uY6Py8+b+v0JG943MKMXia0M/5+2i4dmxHQlJL8Rqg+0BHZlpZhPKI2u6U7XPkPvp2dSWXd9cvh/OVtXymsFY1zTk+NA4YVJWzs66d08VDCHk0pK/9RKgcyMwlGD89u7ZKn+YHk/i6AREJo+eEo1q4Z2EuOxzXWrqlAWfZ4WWdMSXdHg4kyhSUU2zU0SlJA3Ep3AWtyebYFTLXrhqciorGYsOzOkfyoZRTvbPFgmCkBB4Mab63388ufD+fLC8fTusGPaPbM6ceP0Rlak3qPQLwkI9EnNGS7Q4ftpVg4w0yPGnYGs4Vgmarv+E8GTpgY49VX0ifnb67z8+Y6Pw6Hwu9XgKKzM+VpicDFl9h3CqUInHiczhsbk5IJJdpQWLbvrBQl27WY7t1GKSlhGXLd9kG2Oi0jf/Izzwz1uQnDMITOTi1N+ABz5gYYX2/L8T09qB+bqsNSiXJkS1iW19yhPffnb3cBW4ql4sjIVN6z38rSplHAORp1wxOcfW7+jpnfb3Hd9e35V5AnMseyuGn3wbvq7VVv3BJI1iLqlQFK9wlPr5UpAMNUfNSergIjWpiRu+7r7dTUZKcjZkLTYdHifdTW2j9b9WUkacZs3sQhyMuQygt6tVhCvhypfM+tSxeIZSrMRP5mqKbG5L+WtFFX13fXcToV37lhH9Omh/osUwpcGWNWwrLZBElS5hqAW6m1wMBNLgeqXdnT9HtXxkhkNPpEpLBeML4+xi/u3s2Cyw5m9YbjT4ix/McfMe+fypfF1hVK59fmVBUjrnteh+7k3MdaF3c2Ny59AyWzC6XkcQzB7xyZNh+IJ+DR1QmuOi/lT8dCJu5KvaBdjhUVFl+5tp2rr2ln1y43hw7qjBodZ8TI8h9qe7Aro8cqW1PXX+see3v5VZb8vlhqI3ynZ937+aMx2ntFmZQFiXBxrUjTkz1i8tTwoAgfYPO76fVkOhslQXjo8H97FOAW61Gg70XTflDtHo/fmZ48ZZjwzSVhzF4NJxowbG5I5cGevSYb3kk3ew7NtrBIVDOc/3v4okcByQ8cqOyUhDwxpmJ21rkL7+2xuPXuVMqhZUI0UNRQM6hYcV8U00xvKT5nnT3ElXqy93H5aRITkQeKpet3jmKEb3rW/ZfWG9x6T6xnbhALmAV5RION1evirHo1fXbvcdTi0bMztIuB0vS05Kc0BazcsOg5gb6TZwbASN80Kl1js+4/vy7Bd34WxeqWe6jDwLKOPiW8v9vkpmXZbm2dd4pdVWxt2BBMO1MuI7ghSim1pFjqIhr11U14Hdnd9fXNBgtuCxOIJkMT4Q5zUPbE5YvdH1t8+ZYAXRmxLK9jGLWek+2pRORHmR+IyIouuSfUPwIUvWdTFxfH18zH48he5dzZZnHut0L8ebuFEbcIHzKOCiVsfc/gSzd08fGBdC9NEwfHVJ5n05lC8p67/tjHMu9m5Yls3fqYmjjmvLBAc7FVaeKkxn0CocTHJDI2x1kKnnk9wY49Fmd8RkdMC6dHQ0o5BqUEPPlynH/5j2CW3y+iUV91QU6TWgyU4ntPvHx9VrZZTtV66o/9LVDSMSJOzccJQy7p86jIVzcYzPnnIE+sNWhvSxQUMbUDB7sU31sa5MYlwZ5dkr0xxj/bztTEjZ4J43+X64c+m938xqXTLSXrsOF03AORTbQF/9Rnike1X7j9eg/TTnUydlzOY3Vsg2EqHn8hzor7I7Qfyp4YimiMrZjDMO9pdlVpWZac2ddZov32++apy+5FuNYOLmJmJ7u6XiLYT5JUhU9YeL6LGQ1Ozmp04ihgKXPA+uPw9JoYdz0cZeee3HMRh+ZhfNUFVLqOsa1eUL9Z1XrL9X392u8bNjWsGCZY2wBbnGClLA5ENrM3tH7A/PvhQ4QLZrs5b5aT6ac5ilKGUvD2NoNn/xjnidXxnC3+MLyOYdRXX4Rbr+6zTBH4RNeNE59Yf2ufCxYDvlVzw/ILu2fItjVHw4qyL7yBA5HNqBzHEGSiwidMO9XB9FOdnDRB57ixGqPr9KxD+z45aLFzj8l7uyze2pJg3WaDfe39x58EjeG+KYyumInYu1VaKZEvDvTJk7yE2jR12U9EuMEevlKIm53sD2+mI7YV0yp8SbHCJ7hdgmGonGvRA6HGPYFR/ll4HEMKfnYgCKxY2XrzgCeP5TXijZLqW/ZJ5wy7jy526dWMrZzDqIqZtEe2cCDyl4KODwuGFcFwYYIXhCr3cYzwNZTtXAgF693R8G358ZMn5k++c7yl6+sp89cyQom9HIzu4FBsBwnLvtUul17JEPckhnpPwZ2xjGoz9iusaU+1Lt6VT+GC7Hr392JeYRC+mqFQRIwDBOK7CSX2EEy0FWSmNHHgddRR5TqGStcx+JwjB+NjDgEFc59qvXljvg8UzFHT1OXndH+6ZFA/4KCURczsJGZ2EDM7SVhhlDKwlImIhiZOXLofp1aFW6/Go9eW+1jiTMQVND3VevOAB3b3RlFNorlx+eUo9Xs+/V/JswuWKK5YufHmRwt9sCgBrtqw6BGUWgBEByz8j484IlcWI3wo0bfvNkdPgL1bXT89kKAo89JCvxuTRqFUFuZPXdFgifUsYNOa3acG+zSlXfjkxptaSyFSsg1/cuNNraLpjSj5U6m0PjVQvKV0mVmq8MGmY8q2t73YNWrSrAfdCYcCmc0/+sc8Y5GFT2y+zZaEVNsF1dy4tBkl92FTAO8owiei5NqVGxcVnTmSC7Yf1Le9bfX244ed8xvRxSvIND79vUGJkocSyvjC05sW939+QhEoq3DmT13RYGHd/Sn+zO1m0axvrXxrcdnGt7JOpJ7ceFOre8L4mQjXUcJC/+BD7VCKr7qPG99YTuHDIJqHFlq0TVP9FypRLcDUwaq3EAj8FWF5Z0X4D2vWtAxKEuoRsM9Kmhp//DmwrhFFM2U+rzoPRFBqpdL0B5/a8L3nQQY1O+CIDpALGpZUR0W/FKWuEjiTPNcnbICh4HURfudW1uPJvNgjg6PGQznvtOV+r5uZWMxTqHnAFOwdo95HWI1itWY6X+qdIHskcdQoIBPNs5ZWEmaSaNpEhXUiMAmljUVUBclTvmoOn3WkIChwCAiiJKg0tVuU2iFo20TJdstr7lj1xi2Dcih0ofg/Chj0h9J0t9UAAAAASUVORK5CYII=", t.noImageForAvatarError="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII="},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsiblePanel=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=t.CollapsiblePanel=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={buttonClicked:!1,expanded:!1},n.togglePanel=n.togglePanel.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"togglePanel",value:function(){this.setState(function(e){return{buttonClicked:!0,expanded:!e.expanded}})}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.setCollapsiblePanelRef,o=e.isReply,i=this.context,a=i.WithStatsIncludeCommonLabels,s=i.theme,u=i.noJS,l=s.formatMessage,c=l("showCollapsiblePanel",{title:t}),d=l("hideCollapsiblePanel",{title:t}),m={TYP:o?"reply":"comment"};return h.default.createElement("div",{className:"collapsible-panel"},h.default.createElement(a,{id:"stats-removed-comment",labels:{label:"removed-comment",metadata:m},fireOnView:!0,fireOnClick:!this.state.buttonClicked,minimumTimeInView:0},h.default.createElement("button",{className:(0,g.default)("collapsible-panel__title",{"collapsible-panel__title--disabled":u}),"aria-hidden":u?"true":"false",disabled:u,ref:r,onClick:this.togglePanel,"aria-label":this.state.expanded?d:c,"aria-expanded":this.state.expanded?"true":"false"},t)),this.state.expanded&&h.default.createElement("div",{className:(0,g.default)("collapsible-panel__content",{"collapsible-panel__content-no-separator":o})},n))}}]),t}(p.Component);v.displayName="CollapsiblePanel",v.propTypes={title:p.PropTypes.string.isRequired,children:p.PropTypes.node.isRequired,setCollapsiblePanelRef:p.PropTypes.func,isReply:p.PropTypes.bool},v.defaultProps={isReply:!1},v.contextTypes={noJS:p.PropTypes.bool.isRequired,WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired,theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentLinks=t.getCommentLinks=void 0;var o=n(150),i=r(o),a=n(2),s=r(a),u=n(99),l=r(u),c=n(178),d=n(179),m=n(180),f=r(m),p=n(181),h=n(160),y=n(182),g=n(183),v=r(g),_=function(e){var t=e.commentData,n=e.commentAdminLinks,r=void 0===n?{}:n,o=e.isUserAnEditor,a=void 0!==o&&o,u=e.isFeatureEnabled,l=t.status===f.default.PASS,c=(0,h.not)(t.author.isNotable),d=l&&(c||a),m=u(y.FeaturesToggles.makeTopPick)&&r.makeTopPick&&d,g={};return d&&(0,h.not)(t.distressMessage)&&(g.reportCommentUrl=r.report?(0,p.formatCommentLinkUrlTemplate)(r.report.url,t):t.actions.reportUrl),r.viewModerationHistory&&(g.viewModerationHistoryUrl=(0,p.formatCommentLinkUrlTemplate)(r.viewModerationHistory.url,t)),m&&(g.makeTopPickUrl=(0,p.formatCommentLinkUrlTemplate)(r.makeTopPick.url,t)),r.memberDetails&&(g.memberDetailsUrl=(0,p.formatCommentLinkUrlTemplate)(r.memberDetails.url,t)),(0,s.default)({hasLinks:(0,i.default)(g).length>0},g)},b=function(e){var t=e.commentNumber,n=e.commentLinks,r=e.authorDisplayName,o=n.reportCommentUrl,i=n.viewModerationHistoryUrl,a=n.makeTopPickUrl,s=n.memberDetailsUrl,u=i||a||s;return l.default.createElement("div",null,o&&l.default.createElement(c.ActionLinks,{className:"action-links--comment-links"},l.default.createElement(c.ActionLink,{href:o,icon:l.default.createElement(v.default,{height:13,width:13,alignBaseline:!0}),className:"action-link--report"},"Report this comment")),u&&l.default.createElement(c.ActionLinks,{className:"action-links--admin-links"},a&&l.default.createElement(c.ActionLink,{href:a,className:"action-link--makeTopPick"},"Make ",l.default.createElement(d.A11yText,{contents:"comment number "+t+" "}),"Editor's Pick"),i&&l.default.createElement(c.ActionLink,{href:i,className:"action-link--viewModerationHistory"},l.default.createElement(d.A11yText,{contents:"View "}),"Moderation History",l.default.createElement(d.A11yText,{contents:" for comment number "+t})),s&&l.default.createElement(c.ActionLink,{href:s,className:"action-link--memberDetails"},l.default.createElement(d.A11yText,{contents:"View "}),"Member Details",l.default.createElement(d.A11yText,{contents:" for "+r}))))};b.propTypes={commentLinks:u.PropTypes.shape({reportCommentUrl:u.PropTypes.string,viewModerationHistoryUrl:u.PropTypes.string,makeTopPickUrl:u.PropTypes.string,memberDetailsUrl:u.PropTypes.string}),commentNumber:u.PropTypes.number.isRequired,authorDisplayName:u.PropTypes.string.isRequired},b.defaultProps={commentLinks:{}},t.getCommentLinks=_,t.CommentLinks=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ActionLinks=t.ActionLink=void 0;var o=n(99),i=r(o),a=n(148),s=r(a),u=t.ActionLink=function(e){var t=e.href,n=e.className,r=e.children,o=e.icon,a=void 0===o?null:o;return i.default.createElement("a",{className:(0,s.default)("action-link",n),href:t},a&&i.default.createElement("span",{className:"action-link__icon","aria-hidden":"true"},a),i.default.createElement("span",{className:"action-link__text"},r))};u.displayName="ActionLink",u.propTypes={className:o.PropTypes.string,href:o.PropTypes.string.isRequired,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),icon:o.PropTypes.object};var l=t.ActionLinks=function(e){var t=e.children,n=e.className,r=Array.isArray(t)?t:[t];return 0===r.length?i.default.createElement("noscript",null):i.default.createElement("ul",{className:(0,s.default)("action-links",n)},r.filter(function(e){return Boolean(e)}).map(function(e,t){var n=0!==t;return i.default.createElement("li",{key:t,className:(0,s.default)("action-links__item",{"action-links__item--with-separator":n})},e)}))};l.displayName="ActionLinks",l.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yText=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=t.A11yText=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={showText:!0},n.messageTimeout=null,n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"componentDidUpdate",value:function(e){var t=this,n=!e||e.contents!==this.props.contents;this.props.timeout>0&&n&&(this.messageTimeout&&clearTimeout(this.messageTimeout),this.setState({showText:!0}),this.messageTimeout=setTimeout(function(){t.setState({showText:!1})},this.props.timeout))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.messageTimeout)}},{key:"getCurrentA11yContents",value:function(){return this.state.showText?this.props.contents:" "}},{key:"render",value:function(){return h.default.createElement("span",{className:"comment__hidden-text"},this.getCurrentA11yContents())}}]),t}(p.Component);y.displayName="A11yText",y.propTypes={contents:p.PropTypes.node.isRequired,timeout:p.PropTypes.number},y.defaultProps={timeout:0}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="pass",r="fail",o="refer",i="unknown";t.default={PASS:n,FAIL:r,REFER:o,UNKNOWN:i},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(121),i=r(o),a=n(124),s=r(a),u=n(158),l=r(u),c=n(161),d=r(c),m=n(163),f=n(164),p=n(162);t.default={getAdminLinks:function(e){var t=this,n=e.apiKey,r=e.forumId;return(0,s.default)(i.default.mark(function e(){var o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.refreshToken)();case 2:return e.next=4,l.default.get(d.default.getAdminLinksUrl({env:(0,m.getEnv)(),forumId:r}),{headers:{"x-api-key":n}});case 4:return o=e.sent,e.abrupt("return",{forumAdminLinks:o.forumLinks,commentAdminLinks:o.commentLinks});case 6:case"end":return e.stop()}},e,t)}))()},formatCommentLinkUrlTemplate:function(e,t){return e.replace("{commentId}",t.id).replace("{userId}",t.author.userId).replace("{pageUrl}",function(){return encodeURIComponent((0,p.getClientLocation)())})},formatForumAdminLinkUrlTemplate:function(e){return e.replace("{pageTitle}",function(){return encodeURIComponent((0,p.getPageTitle)())}).replace("{pageUrl}",function(){return encodeURIComponent((0,p.getClientLocation)())})}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,a.default)(u).reduce(function(t,n){var r=u[n];return t[r]=e&&Boolean(e[r]),t},{});return{isFeatureEnabled:function(e){return"acc"===(0,s.getEnv)()||t[e]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.FeaturesToggles=void 0;var i=n(150),a=r(i);t.setupFeatureToggles=o;var s=n(163),u=t.FeaturesToggles={downRatings:"downRatings",ratings:"ratings",makeTopPick:"makeTopPick",liveUpdate:"liveUpdate",replies:"replies",sort:"sort"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(99),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r,a=e.alignToBaseline,s=void 0!==a&&a;return i.default.createElement("span",{className:"alert-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:n,viewBox:"0 0 32 "+(s?30:32)},i.default.createElement("path",{d:"M16 2L0 30h32L16 2zm2 25h-4v-4h4v4zm-4-6V11h4v10h-4z"})))};a.displayName="Alert",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number,alignToBaseline:o.PropTypes.bool},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentFooter=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=n(154),_=n(180),b=r(_),T=n(185),E=r(T),C=n(186),P=n(188),S=n(199),w=n(177),O=n(206),x=r(O),M=n(155),R=n(207),I=n(197),N=r(I),k=t.CommentFooter=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isActionTrayOpen:n.props.isActionTrayOpen,isReplyTrayOpen:n.props.isReplyTrayOpen,shouldReplyTrayRender:!0,currentSelectedRatingType:""},n.toggleActionTray=n.toggleActionTray.bind(n),n.toggleReplyTray=n.toggleReplyTray.bind(n),n.replyButtonArea=n.replyButtonArea.bind(n),n.replyInputArea=n.replyInputArea.bind(n),n.commentLinksToggle=n.commentLinksToggle.bind(n),n.repliesSeparatorArea=n.repliesSeparatorArea.bind(n),n.setCurrentSelectedRatingType=n.setCurrentSelectedRatingType.bind(n),n.cancelInput=n.cancelInput.bind(n),n.getReplyInputStatId=n.getReplyInputStatId.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"setCurrentSelectedRatingType",value:function(e){this.setState(function(){return{currentSelectedRatingType:e}})}},{key:"toggleActionTray",value:function(){this.setState(function(e){return{isReplyTrayOpen:!1,isActionTrayOpen:!e.isActionTrayOpen}})}},{key:"cancelInput",value:function(){this.toggleReplyTray(!0)}},{key:"getReplyInputStatId",value:function(){return"reply-input-"+this.props.commentData.id}},{key:"toggleReplyTray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.replyButtonElement&&(0,v.focusOnElement)(this.replyButtonElement),this.state.isReplyTrayOpen&&this.context.canSendStat(this.getReplyInputStatId(),N.default.commentInput)&&this.context.setStatSent(this.getReplyInputStatId(),N.default.commentInput),this.setState(function(e){return{isActionTrayOpen:!1,isReplyTrayOpen:!e.isReplyTrayOpen,shouldReplyTrayRender:!0}}),e&&(this.setState(function(){return{shouldReplyTrayRender:!1}}),this.context.setA11yAlertText(this.context.theme.formatMessage("clearReplyMessage")))}},{key:"replyButtonArea",value:function(e,t,n,r){var o=this,i=null;return r&&t&&(i=h.default.createElement("div",{className:"comment__reply-button"},h.default.createElement(C.ReplyButton,{setReplyButtonRef:function(e){return o.replyButtonElement=e},onClick:function(){return o.toggleReplyTray(!1)},replyTo:e.author.displayName,isReplyTrayOpen:n}))),i}},{key:"getReplyInputWrapper",value:function(e,t,n,r,o,i,a,s){return h.default.createElement(P.ReplyInputWrapper,{isReplyTrayOpen:a,isCommentWithReplies:(0,R.hasReplies)(t,this.context.isFeatureEnabled),isReplyToReply:n,cancelInput:this.cancelInput,inputTextLimit:r,inputModerationStatus:o,replyTo:t.author.displayName,idctaData:i,signinPrompt:this.context.theme.formatMessage("signInPrompt",{}),commentData:t,forumId:e,instanceId:s})}},{key:"replyInputArea",value:function(e,t,n,r,o,i,a,s,u,l){var c=null,d=this.context.WithStatsIncludeCommonLabels,m=l&&n&&u,f=this.getReplyInputStatId(),p=this.context.canSendStat(f,N.default.commentInput)&&m&&s,y=this.context.getInstanceId(f),g="stats-comments-input-"+t.id+"-"+y,v=m?this.getReplyInputWrapper(e,t,r,o,i,a,s,y):h.default.createElement("div",null);return c=h.default.createElement("div",{id:"reply"},h.default.createElement(d,{id:g,key:g,labels:{label:N.default.commentInput,metadata:{TYP:"reply"}},fireOnView:p,minimumTimeInView:0},v))}},{key:"commentRatingContainer",value:function(e,t,n,r,o){return h.default.createElement("div",{className:"comment__ratings"},h.default.createElement(S.CommentRatingContainer,{idctaData:t,isReply:o,isRatingEnabled:n,commentData:e,ratingValue:e.rating.positive,forumId:r,postRatingFunction:M.postRating,ratingType:E.default.POSITIVE,iconType:"Upvote",isSelected:this.state.currentSelectedRatingType===E.default.POSITIVE,setCurrentSelectedRatingType:this.setCurrentSelectedRatingType}))}},{key:"commentDownRatingContainer",value:function(e,t,n,r,o){return h.default.createElement("div",{className:"comment__down-ratings"},h.default.createElement(S.CommentRatingContainer,{idctaData:t,isReply:o,isRatingEnabled:n,commentData:e,ratingValue:Math.abs(e.rating.negative),forumId:r,postRatingFunction:M.postNegativeRating,ratingType:E.default.NEGATIVE,iconType:"Downvote",isSelected:this.state.currentSelectedRatingType===E.default.NEGATIVE,setCurrentSelectedRatingType:this.setCurrentSelectedRatingType}))}},{key:"commentLinksToggle",value:function(e,t){var n=null;return e&&(n=h.default.createElement("button",{onClick:this.toggleActionTray,className:(0,g.default)("comment__links-toggle",{"comment__links-toggle--enabled":t}),"aria-label":t?"Hide comment links":"Show comment links","aria-expanded":t?"true":"false"},h.default.createElement(x.default,null))),n}},{key:"commentLinksArea",value:function(e,t,n,r){var o=null;return e&&t&&(o=h.default.createElement("div",{className:"comment__action-tray"},h.default.createElement(w.CommentLinks,{commentLinks:n,commentNumber:r.index+1,authorDisplayName:r.author.displayName}))),o}},{key:"repliesSeparatorArea",value:function(e){var t=null;return(0,R.hasReplies)(e,this.context.isFeatureEnabled)&&!this.state.isReplyTrayOpen&&(t=h.default.createElement("div",{className:"reply-separator"})),t}},{key:"render",value:function(){var e=this.props,t=e.commentData,n=e.commentLinks,r=e.isReply,o=e.commentInputTextLimit,i=e.commentInputModerationStatus,a=e.idctaData,s=e.isRatingEnabled,u=e.userCanPostToForum,l=e.forumId,c=e.isParentCommentRemoved,d=this.state,m=d.isActionTrayOpen,f=d.isReplyTrayOpen,p=d.shouldReplyTrayRender,y=(0,R.canReplyComment)(t,this.context.isFeatureEnabled,c),g=(0,R.canRateComment)(t,this.context.isFeatureEnabled),v=(0,R.canDownRateComment)(t,this.context.isFeatureEnabled),_=Boolean(n.hasLinks),b=y||g||v||_,T=h.default.createElement("div",null,b&&h.default.createElement("div",{className:"comment__footer"},this.replyButtonArea(t,y,f,u),h.default.createElement("div",{className:"comment__toolbar"},this.replyInputArea(l,t,y,r,o,i,a,f,p,u),h.default.createElement("div",{className:"comment__toolbar-section comment__toolbar-section--right"},g&&this.commentRatingContainer(t,a,s,l,r),v&&this.commentDownRatingContainer(t,a,s,l,r),this.commentLinksToggle(_,m))),this.commentLinksArea(_,m,n,t)),h.default.createElement("div",null,this.repliesSeparatorArea(t)));return T}}]),t}(p.Component);k.displayName="CommentFooter",k.propTypes={commentData:p.PropTypes.shape({index:p.PropTypes.number,id:p.PropTypes.number,actions:p.PropTypes.shape({reportUrl:p.PropTypes.string.isRequired}),children:p.PropTypes.arrayOf(p.PropTypes.shape({text:p.PropTypes.string,distressMessage:p.PropTypes.bool})),author:p.PropTypes.shape({userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]).isRequired,displayName:p.PropTypes.string.isRequired,isNotable:p.PropTypes.bool.isRequired}).isRequired,dateCreated:p.PropTypes.string,text:p.PropTypes.string.isRequired,rating:p.PropTypes.oneOfType([p.PropTypes.shape({positive:p.PropTypes.number.isRequired}),p.PropTypes.shape({negative:p.PropTypes.number.isRequired})]),status:p.PropTypes.oneOf([b.default.FAIL,b.default.PASS,b.default.REFER,b.default.UNKNOWN])}).isRequired,commentLinks:p.PropTypes.shape({reportCommentUrl:p.PropTypes.string,viewModerationHistoryUrl:p.PropTypes.string,makeTopPickUrl:p.PropTypes.string,memberDetailsUrl:p.PropTypes.string,hasLinks:p.PropTypes.Boolean}),isReply:p.PropTypes.bool,commentInputTextLimit:p.PropTypes.number,commentInputModerationStatus:p.PropTypes.string,idctaData:p.PropTypes.object.isRequired,isRatingEnabled:p.PropTypes.bool,userCanPostToForum:p.PropTypes.bool,forumId:p.PropTypes.string.isRequired,isReplyTrayOpen:p.PropTypes.bool,isActionTrayOpen:p.PropTypes.bool,isParentCommentRemoved:p.PropTypes.bool},k.defaultProps={isReplyTrayOpen:!1,isReply:!1},k.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func}),isFeatureEnabled:p.PropTypes.func.isRequired,setA11yAlertText:p.PropTypes.func.isRequired,WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired,canSendStat:p.PropTypes.func.isRequired,setStatSent:p.PropTypes.func.isRequired,getInstanceId:p.PropTypes.func.isRequired}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="positive",r="negative";t.default={POSITIVE:n,NEGATIVE:r},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplyButton=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=n(187),_=r(v),b=t.ReplyButton=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.onClick,r=e.replyTo,o=e.isReplyTrayOpen,i=e.setReplyButtonRef,a=r?this.context.theme.formatMessage("replyTo")+" "+r:""+this.context.theme.formatMessage("replyComment"),s=o?""+this.context.theme.formatMessage("closeReply"):a,u=o;return h.default.createElement("div",{className:"reply-button-wrapper"},h.default.createElement("button",{ref:i,className:(0,g.default)("reply-button",t),"aria-label":s,"aria-expanded":u,onClick:n},h.default.createElement("span",{className:"reply-button__icon"},h.default.createElement(_.default,{iconName:"comments",additionalClassNames:"reply-button__icon-gel"})),h.default.createElement("span",{className:"reply-button__text"},"Reply")))}}]),t}(p.Component);b.displayName="ReplyButton",b.propTypes={className:p.PropTypes.string,onClick:p.PropTypes.func,replyTo:p.PropTypes.string,isReplyTrayOpen:p.PropTypes.bool,setReplyButtonRef:p.PropTypes.func},b.defaultProps={isReplyTrayOpen:!1},b.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t){e.exports=Morph.modules["bbc-morph-gel-icons@4.0.0"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplyInputWrapper=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(189),g=n(190),v=n(148),_=r(v),b=n(155),T=t.ReplyInputWrapper=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.postCommentHandler=n.postCommentHandler.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getIdctaData",value:function(){return this.props.idctaData}},{key:"isSignedIn",value:function(){return this.getIdctaData().signedIn===!0}},{key:"isEligibleToComment",value:function(){return Boolean(this.getIdctaData().policyCheck)===!1}},{key:"postCommentHandler",value:function(e){var t=this.context.apiKey,n=this.props.commentData,r=n.id,o=n.commentId,i=this.props.forumId;return(0,b.postReply)({apiKey:t,forumId:i,replyText:e,id:r,commentId:o})}},{key:"render",value:function(){var e=this.props,t=e.isCommentWithReplies,n=e.isReplyToReply,r=e.signinPrompt,o=e.replyTo,i=e.cancelInput,a=e.inputTextLimit,s=e.inputModerationStatus,u=e.isReplyTrayOpen,l=e.commentData,c=e.instanceId,d=(0,_.default)("reply",{"reply-to-reply":n},{"reply-input-hidden":!u});return h.default.createElement("div",{className:d},!this.isSignedIn()&&h.default.createElement("div",{className:"reply__signin"},h.default.createElement("p",{className:"reply__signin--prompt"},r),h.default.createElement(y.IdctaSignInButton,{markup:this.getIdctaData().signInButton})),this.isSignedIn()&&h.default.createElement("div",{className:"reply__signedin"},!this.isEligibleToComment()&&h.default.createElement("div",{className:"reply__signedin-ineligible",dangerouslySetInnerHTML:{__html:""+this.getIdctaData().signedInMessage}}),this.isEligibleToComment()&&h.default.createElement("div",{className:"reply__signedin-eligible"},h.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to ",o),h.default.createElement(g.CommentsInput,{commentInputClass:"reply-input",buttonsWrapperClass:"reply-input-buttons-wrapper",cancelInput:i,isDisabled:!1,textLimit:a,moderationStatus:s,createForum:!1,postCommentHandler:this.postCommentHandler,isReply:!0,id:l.id,instanceId:c}))),t&&h.default.createElement("div",{className:"replies-separator"}))}}]),t}(p.Component);T.displayName="ReplyInputWrapper",T.propTypes={isReplyTrayOpen:p.PropTypes.bool,isCommentWithReplies:p.PropTypes.oneOfType([p.PropTypes.bool,p.PropTypes.array]),isReplyToReply:p.PropTypes.bool,idctaData:p.PropTypes.object,signinPrompt:p.PropTypes.string,replyTo:p.PropTypes.string,cancelInput:p.PropTypes.func,inputTextLimit:p.PropTypes.number,inputModerationStatus:p.PropTypes.string,commentData:p.PropTypes.object.isRequired,forumId:p.PropTypes.string.isRequired,instanceId:p.PropTypes.number},T.defaultProps={signinPrompt:"",idctaData:{signedIn:!1,policyCheck:!1},isReplyTrayOpen:!1,instanceId:1},T.contextTypes={apiKey:p.PropTypes.string.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.IdctaSignInButton=void 0;var o=n(99),i=r(o),a=t.IdctaSignInButton=function(e){var t=e.markup;return i.default.createElement("div",{className:"comments__idcta-btn",dangerouslySetInnerHTML:{__html:t}})};a.displayName="IdctaSignInButton",a.propTypes={markup:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsInput=void 0;var o=n(44),i=r(o),a=n(48),s=r(a),u=n(53),l=r(u),c=n(54),d=r(c),m=n(58),f=r(m),p=n(91),h=r(p),y=n(99),g=r(y),v=n(148),_=r(v),b=n(169),T=n(191),E=n(192),C=r(E),P=n(166),S=n(194),w=n(195),O=n(154),x=n(197),M=r(x),R=n(198),I=t.CommentsInput=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.state={inputText:"",inputLength:0,hasInputChanged:!1,isSubmittingComment:!1,commentAlert:null,createForum:e.createForum,remainingCharactersMessage:"",statIndex:0,isInputFocused:!1},n.formOnSubmit=n.formOnSubmit.bind(n),n.inputBoxOnChange=n.inputBoxOnChange.bind(n),n.cancelInput=n.cancelInput.bind(n),n.getRemainingCharactersMessage=n.getRemainingCharactersMessage.bind(n),n.getCommentType=n.getCommentType.bind(n),n.getStatId=n.getStatId.bind(n),n.focusHandler=n.focusHandler.bind(n),n}return(0,h.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){this.props.instanceId>1&&this.showPostSuccessMessage()}},{key:"isPostCommentButtonDisabled",value:function(){return this.props.isDisabled||this.state.isSubmittingComment||this.hasTextLimit()&&this.isTextOverLimit()}},{key:"isInputBoxEmpty",value:function(){return 0===this.state.inputText.trim().length}},{key:"focusHandler",value:function(){var e=this.state.isInputFocused;this.setState({isInputFocused:!e})}},{key:"getCommentType",value:function(){return this.props.isReply?"reply":"comment"}},{key:"setCommentAlert",value:function(e,t){this.setState({commentAlert:{type:e,message:t}})}},{key:"getRemainingCharactersMessage",value:function(e){var t=this.props.textLimit-e;if(e>this.props.textLimit){var n=e-this.props.textLimit;return this.context.theme.formatMessage("overCharacterLimitMessage",{excessCharacters:n})}return e<this.props.textLimit?this.context.theme.formatMessage("underCharacterLimitMessage",{remainingCharacters:t}):this.context.theme.formatMessage("atCharacterLimitMessage")}},{key:"inputBoxOnChange",value:function(e){var t=e.target.value,n=t.trim().length,r=this.getRemainingCharactersMessage(n);this.state.inputLength<=this.props.textLimit&&n>this.props.textLimit&&this.context.setA11yAlertText(r),this.state.inputLength>this.props.textLimit&&n<=this.props.textLimit&&this.context.setA11yAlertText(r),this.setState({inputText:t,inputLength:n,hasInputChanged:!0,remainingCharactersMessage:r}),this.context.canSendStat(this.getStatId(),M.default.commentCompose)&&((0,R.sendCommentComposeStat)(this.context,this.getCommentType()),this.context.setStatSent(this.getStatId(),M.default.commentCompose))}},{key:"isTextOverLimit",value:function(){return this.state.inputLength>this.props.textLimit}},{key:"getRemainingCharacters",value:function(){return this.props.textLimit-this.state.inputLength}},{key:"resetInputBox",value:function(){this.commentsInput&&(0,O.focusOnElement)(this.commentsInput),this.setState({inputText:"",inputLength:0,hasInputChanged:!1,remainingCharactersMessage:this.getRemainingCharactersMessage(0)})}},{key:"handlePostCommentErrors",value:function(e){var t=(0,S.getMessageKeyForError)(e),n=this.context.theme.formatMessage(t);if(this.context.canSendStat(this.getStatId(),M.default.commentPostError)){var r={commentType:this.getCommentType(),length:this.state.inputLength,errorType:e};(0,R.sendCommentPostErrorStat)(this.context,r),this.context.setStatSent(this.getStatId(),M.default.commentPostError)}this.setCommentAlert(T.AlertTypes.ERROR,n),this.context.setA11yAlertText(n)}},{key:"getSuccessIcon",value:function(e){return e===T.AlertTypes.SUCCESS?this.context.theme.getIcon("SuccessIcon"):null}},{key:"showPostSuccessMessage",value:function(){var e=(0,w.getPostCommentSuccessMessageKey)(this.props.moderationStatus),t=this.context.theme.formatMessage(e);this.setCommentAlert(T.AlertTypes.SUCCESS,t),this.context.setA11yAlertText(t)}},{key:"formOnSubmit",value:function(e){var t=this;e.preventDefault();var n=this.state.inputText;if(this.context.canSendStat(this.getStatId(),M.default.commentPost)&&(this.context.setStatSent(this.getStatId(),M.default.commentPost),(0,R.sendCommentPostStat)(this.context,this.getCommentType(),this.state.inputLength)),this.setState({isSubmittingComment:!0}),this.isInputBoxEmpty())this.handlePostCommentErrors(P.ErrorTypes.POSTING_EMPTY_COMMENTS_NOT_ALLOWED);else{var r=this.props.postCommentHandler;r(n).then(function(){t.resetInputBox(),t.showPostSuccessMessage(),t.context.clearStatsSent(t.getStatId()),t.setState(function(e){return{statIndex:e.statIndex+1,createForum:!1}})}).catch(function(e){t.handlePostCommentErrors(e)}).then(function(){t.setState({isSubmittingComment:!1})})}}},{key:"hasTextLimit",value:function(){return(0,i.default)(this.props.textLimit)}},{key:"postCommentButtonText",value:function(){return this.context.theme.formatMessage("postCommentButtonText")}},{key:"cancelInput",value:function(){this.context.setStatSent(this.getStatId(),M.default.commentInput),this.context.canSendStat(this.getStatId(),M.default.commentCancel)&&(this.context.setStatSent(this.getStatId(),M.default.commentCancel),(0,R.sendCommentCancelStat)(this.context,this.getCommentType(),this.state.inputLength)),this.props.cancelInput?this.props.cancelInput():(this.resetInputBox(),this.context.setA11yAlertText(this.context.theme.formatMessage("clearCommentMessage")))}},{key:"getStatId",value:function(){return this.props.isReply?"reply-input-"+this.props.id:"comment-input"}},{key:"render",value:function(){var e=this,t=this.state.hasInputChanged&&this.state.inputLength>0;return g.default.createElement("div",{className:this.props.commentInputClass},this.state.commentAlert&&g.default.createElement(b.CommentsAlert,{type:this.state.commentAlert.type,Icon:this.getSuccessIcon(this.state.commentAlert.type)},this.state.commentAlert.message),g.default.createElement("form",{onSubmit:this.formOnSubmit,className:"comments__input"},g.default.createElement("div",{className:"comments__input-area"},g.default.createElement(C.default,{className:(0,_.default)("comments-input-box",{"comments-input-box--focused":this.state.isInputFocused,"comments-input-box--has-input":t}),useCacheForDOMMeasurements:!0,value:this.state.inputText,placeholder:"Add your comment…",minRows:1,maxRows:8,onFocus:this.focusHandler,onBlur:this.focusHandler,onChange:this.inputBoxOnChange,ref:function(t){return e.commentsInput=t},"aria-label":this.state.remainingCharactersMessage}),this.hasTextLimit()&&this.state.hasInputChanged&&g.default.createElement(b.CommentsTextLimit,{remainingCharacters:this.getRemainingCharacters(),isTextOverLimit:this.isTextOverLimit(),textLimit:this.props.textLimit,inputText:this.state.inputText,remainingCharactersMessage:this.state.remainingCharactersMessage})),t&&g.default.createElement("div",{className:this.props.buttonsWrapperClass},g.default.createElement(b.CommentsButton,{type:"submit",className:"comments__submit-button",isDisabled:this.isPostCommentButtonDisabled()},this.postCommentButtonText()),g.default.createElement("button",{type:"button",className:"comments__cancel-link",onClick:this.cancelInput,"aria-label":this.context.theme.formatMessage("clearCommentButtonText")},"Cancel"))))}}]),t}(y.Component);I.displayName="CommentsInput",I.propTypes={commentInputClass:y.PropTypes.string,buttonsWrapperClass:y.PropTypes.string,textLimit:y.PropTypes.number,moderationStatus:y.PropTypes.string.isRequired,createForum:y.PropTypes.bool.isRequired,isDisabled:y.PropTypes.bool,cancelInput:y.PropTypes.func,postCommentHandler:y.PropTypes.func.isRequired,isReply:y.PropTypes.bool,id:y.PropTypes.oneOfType([y.PropTypes.number,y.PropTypes.bool]),instanceId:y.PropTypes.number},I.contextTypes={apiKey:y.PropTypes.string.isRequired,forumId:y.PropTypes.string.isRequired,isFeatureEnabled:y.PropTypes.func.isRequired,setA11yAlertText:y.PropTypes.func.isRequired,theme:y.PropTypes.shape({formatMessage:y.PropTypes.func.isRequired,getIcon:y.PropTypes.func.isRequired}).isRequired,logImpressionEventWithCommonLabels:y.PropTypes.func.isRequired,logClickEventWithCommonLabels:y.PropTypes.func.isRequired,canSendStat:y.PropTypes.func.isRequired,setStatSent:y.PropTypes.func.isRequired,clearStatsSent:y.PropTypes.func.isRequired},I.defaultProps={commentInputClass:"",buttonsWrapperClass:"",isReply:!1,id:!1,instanceId:1}},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(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=(t.AlertTypes={ ERROR:"error",SUCCESS:"success"},t.CommentsAlert=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.type,n=e.role,r=e.children,o=e.Icon;return h.default.createElement("div",{role:n,className:"comments__alert"},h.default.createElement("div",{className:"comments-"+t+"-message"},o&&h.default.createElement("div",{className:"comments-success-message-icon"},h.default.createElement(o,null)),h.default.createElement("div",{className:"comments-success-message-text"},r)))}}]),t}(p.Component));y.displayName="CommentsAlert",y.propTypes={type:p.PropTypes.string.isRequired,role:p.PropTypes.string,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),Icon:p.PropTypes.func}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return window.requestAnimationFrame?window.requestAnimationFrame(e):window.setTimeout(e,1)}function u(e){window.cancelAnimationFrame?window.cancelAnimationFrame(e):window.clearTimeout(e)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e,t,n){for(var r=!0;r;){var o=e,i=t,a=n;s=l=u=void 0,r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0!==s){if("value"in s)return s.value;var u=s.get;if(void 0===u)return;return u.call(a)}var l=Object.getPrototypeOf(o);if(null===l)return;e=l,t=i,n=a,r=!0}},m=n(99),f=r(m),p=n(193),h=r(p),y=function(){},g=function(e){function t(e){i(this,t),d(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={height:null,minHeight:-(1/0),maxHeight:1/0},this._onNextFrameActionId=null,this._rootDOMNode=null,this._onChange=this._onChange.bind(this),this._resizeComponent=this._resizeComponent.bind(this),this._onRootDOMNode=this._onRootDOMNode.bind(this)}return a(t,e),c(t,null,[{key:"propTypes",value:{value:f.default.PropTypes.string,onChange:f.default.PropTypes.func,onHeightChange:f.default.PropTypes.func,useCacheForDOMMeasurements:f.default.PropTypes.bool,rows:f.default.PropTypes.number,minRows:f.default.PropTypes.number,maxRows:f.default.PropTypes.number},enumerable:!0},{key:"defaultProps",value:{onChange:y,onHeightChange:y,useCacheForDOMMeasurements:!1},enumerable:!0}]),c(t,[{key:"render",value:function(){var e=this.props,t=e.valueLink,n=(e.onChange,o(e,["valueLink","onChange"]));n=l({},n),"object"==typeof t&&(n.value=this.props.valueLink.value),n.style=l({},n.style,{height:this.state.height});var r=Math.max(n.style.maxHeight?n.style.maxHeight:1/0,this.state.maxHeight);return r<this.state.height&&(n.style.overflow="hidden"),f.default.createElement("textarea",l({},n,{onChange:this._onChange,ref:this._onRootDOMNode}))}},{key:"componentDidMount",value:function(){this._resizeComponent(),window.addEventListener("resize",this._resizeComponent)}},{key:"componentWillReceiveProps",value:function(){this._clearNextFrame(),this._onNextFrameActionId=s(this._resizeComponent)}},{key:"componentDidUpdate",value:function(e,t){this.state.height!==t.height&&this.props.onHeightChange(this.state.height)}},{key:"componentWillUnmount",value:function(){this._clearNextFrame(),window.removeEventListener("resize",this._resizeComponent)}},{key:"_clearNextFrame",value:function(){this._onNextFrameActionId&&u(this._onNextFrameActionId)}},{key:"_onRootDOMNode",value:function(e){this._rootDOMNode=e}},{key:"_onChange",value:function(e){this._resizeComponent();var t=this.props,n=t.valueLink,r=t.onChange;n?n.requestChange(e.target.value):r(e)}},{key:"_resizeComponent",value:function(){var e=this.props.useCacheForDOMMeasurements;this.setState((0,h.default)(this._rootDOMNode,e,this.props.rows||this.props.minRows,this.props.maxRows))}},{key:"focus",value:function(){this._rootDOMNode.focus()}},{key:"blur",value:function(){this._rootDOMNode.blur()}},{key:"value",get:function(){return this._rootDOMNode.value},set:function(e){this._rootDOMNode.value=e}},{key:"selectionStart",get:function(){return this._rootDOMNode.selectionStart},set:function(e){this._rootDOMNode.selectionStart=e}},{key:"selectionEnd",get:function(){return this._rootDOMNode.selectionEnd},set:function(e){this._rootDOMNode.selectionEnd=e}}]),t}(f.default.Component);t.default=g,e.exports=t.default},function(e,t){"use strict";function n(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],i=arguments.length<=3||void 0===arguments[3]?null:arguments[3];s||(s=document.createElement("textarea"),document.body.appendChild(s));var a=r(e,t),u=a.paddingSize,l=a.borderSize,c=a.boxSizing,d=a.sizingStyle;s.setAttribute("style",d+";"+o),s.value=e.value||e.placeholder||"";var m=-(1/0),f=1/0,p=s.scrollHeight;if("border-box"===c?p+=l:"content-box"===c&&(p-=u),null!==n||null!==i){s.value="";var h=s.scrollHeight-u;null!==n&&(m=h*n,"border-box"===c&&(m=m+u+l),p=Math.max(m,p)),null!==i&&(f=h*i,"border-box"===c&&(f=f+u+l),p=Math.min(f,p))}return{height:p,minHeight:m,maxHeight:f}}function r(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&a[n])return a[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),s=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),u=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=i.map(function(e){return e+":"+r.getPropertyValue(e)}).join(";"),c={sizingStyle:l,paddingSize:s,borderSize:u,boxSizing:o};return t&&n&&(a[n]=c),c}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var o="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",i=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],a={},s=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageKeyForError=void 0;var r=n(166);t.getMessageKeyForError=function(e){switch(e){case r.ErrorTypes.TOKEN_REFRESH_FAILED:case r.ErrorTypes.IDCTA_FAILED:return"postCommentIdctaError";case r.ErrorTypes.POSTING_EMPTY_COMMENTS_NOT_ALLOWED:return"postingEmptyCommentNotAllowed";case r.ErrorTypes.PROFANITY_FOUND_IN_TEXT:return"profanityFoundInText";case r.ErrorTypes.POSTING_TO_CLOSED_FORUM:return"postingToClosedForumNotAllowed";case r.ErrorTypes.COMMENT_NOT_FOUND:case r.ErrorTypes.REPLY_NOT_FOUND:case r.ErrorTypes.DISCUSSION_NOT_FOUND:case r.ErrorTypes.MORE_COMMENTS_FAILED:case r.ErrorTypes.ID_UNAVAILABLE:case r.ErrorTypes.UNKNOWN_ERROR:default:return"genericError"}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(196),i=r(o);t.default={getPostCommentSuccessMessageKey:function(e){switch(e){case i.default.PRE_MODERATED:return"postCommentSuccessPremoderated";default:return"postCommentSuccessDefault"}}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="reactively-moderated",r="post-moderated",o="pre-moderated";t.default={REACTIVELY_MODERATED:n,POST_MODERATED:r,PRE_MODERATED:o},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={pageLoaded:"module-loaded",sort:"sort-order",sortError:"sort-order-error",moreRepliesLoadError:"more-replies-load-error",moreRepliesCheckError:"more-replies-check-error",moreCommentsAvailable:"new-comments-available",commentInput:"comment-input",commentCompose:"comment-compose",commentPost:"comment-post",commentCancel:"comment-cancel",commentPostError:"comment-post-error"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,w.default)(e?e:{}).reduce(function(e,t){return t},"none")}function i(e,t,n){var r=t?o(n):"notsignedin";return{ACE:e?r:"na"}}function a(e,t,n,r){var o=e.logImpressionEventWithCommonLabels,a=i(t,n.isSignedIn,n.policyCheck),s={label:"module-loaded",metadata:(0,E.default)({},a,{ORD:r})};o(s)}function s(e,t){var n=e.logClickEventWithCommonLabels,r={label:"sort-order",metadata:{ORD:t}};n(r)}function u(e,t){var n=e.logImpressionEventWithCommonLabels;n({label:"sort-order-error",metadata:{ORD:t}})}function l(e){var t=e.logImpressionEventWithCommonLabels,n={label:"more-replies-load-error"};t(n)}function c(e){var t=e.logImpressionEventWithCommonLabels,n={label:"more-replies-check-error"};t(n)}function d(e,t){var n=e.logImpressionEventWithCommonLabels,r={label:"new-comments-available",metadata:{NCC:t}};n(r)}function m(e,t){var n=e.logClickEventWithCommonLabels;n({label:"reaction-positive",metadata:{TYP:t}})}function f(e,t){var n=e.logClickEventWithCommonLabels;n({label:"reaction-negative",metadata:{TYP:t}})}function p(e,t){var n=e.logImpressionEventWithCommonLabels;n({label:"reaction-error",metadata:{ERR:t}})}function h(e,t){var n=e.logClickEventWithCommonLabels,r={label:M.default.commentCompose,metadata:{TYP:t}};n(r)}function y(e,t,n){var r=e.logClickEventWithCommonLabels,o={label:M.default.commentPost,metadata:{TYP:t,LNG:n}};r(o)}function g(e,t,n){var r=e.logClickEventWithCommonLabels,o={label:M.default.commentCancel,metadata:{TYP:t,LNG:n}};r(o)}function v(e,t){var n=e.logImpressionEventWithCommonLabels,r=t.commentType,o=t.length,i=t.errorType,a={label:M.default.commentPostError,metadata:{TYP:r,LNG:o,ERR:i}};n(a)}function _(e,t){var n=e.title&&"Comments"!==e.title?e.title:(0,O.getPageTitle)();return{container:"Comments",metadata:{THM:t},source:e.siteName,result:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.postStatsSentValues=void 0;var b,T=n(2),E=r(T),C=n(153),P=r(C),S=n(150),w=r(S);t.getACEStat=i,t.sendPageLoadedStat=a,t.sendSortStat=s,t.sendSortErrorStat=u,t.sendMoreRepliesLoadErrorStat=l,t.sendMoreRepliesCheckErrorStat=c,t.sendMoreCommentsAvailableStat=d,t.sendReactionPositiveStat=m,t.sendReactionNegativeStat=f,t.sendReactionErrorStat=p,t.sendCommentComposeStat=h,t.sendCommentPostStat=y,t.sendCommentCancelStat=g,t.sendCommentPostErrorStat=v,t.commonStatsLabels=_;var O=n(162),x=n(197),M=r(x);t.postStatsSentValues=(b={},(0,P.default)(b,M.default.commentInput,!1),(0,P.default)(b,M.default.commentCompose,!1),(0,P.default)(b,M.default.commentPost,!1),(0,P.default)(b,M.default.commentCancel,!1),(0,P.default)(b,M.default.commentPostError,!1),b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentRatingContainer=void 0;var o=n(121),i=r(o),a=n(124),s=r(a),u=n(48),l=r(u),c=n(53),d=r(c),m=n(54),f=r(m),p=n(58),h=r(p),y=n(91),g=r(y),v=n(99),_=r(v),b=n(200),T=n(203),E=n(189),C=n(166),P=n(198),S=n(185),w=r(S),O=t.CommentRatingContainer=function(e){function t(e,n){(0,d.default)(this,t);var r=(0,h.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e)),o=n.theme.formatMessage("tooltipSubtitle");return r.state={hasError:!1,tooltipText:o,isSendingRating:!1},r.ratingErrorHandler=r.ratingErrorHandler.bind(r),r.handleClick=r.handleClick.bind(r),r.tooltipCloseHandler=r.tooltipCloseHandler.bind(r),r}return(0,g.default)(t,e),(0,f.default)(t,[{key:"render",value:function(){if(this.isSignedOut()&&this.props.isRatingEnabled||this.state.hasError){var e=this.state.hasError?_.default.createElement("div",{"aria-live":"polite","aria-atomic":"true"},this.state.tooltipBody):_.default.createElement(E.IdctaSignInButton,{markup:this.props.idctaData.signInButton});return _.default.createElement(b.TooltipLauncher,{tooltipSubtitle:this.state.tooltipText,isTooltipOpen:this.state.hasError,isTooltipAlert:this.state.hasError,tooltipBody:e,tooltipOnClose:this.tooltipCloseHandler},this.renderCommentRating())}return this.renderCommentRating()}},{key:"renderCommentRating",value:function(){var e=this.props,t=e.commentData,n=e.isRatingEnabled,r=e.isSelected,o=e.iconType,i=e.ratingType,a=r?this.props.ratingValue+1:this.props.ratingValue;return _.default.createElement(T.CommentRating,{ratingType:i,Icon:this.context.theme.getIcon(o),isDisabled:!n,commentId:t.id,ratingErrorHandler:this.ratingErrorHandler,isSendingRating:this.state.isSendingRating,ratingValue:a,hasRatedComment:r,numberPlacement:this.context.theme.ratingsNumberPlacement,handleClick:this.handleClick})}},{key:"tooltipCloseHandler",value:function(){this.setState({hasError:!1})}},{key:"isSignedOut",value:function(){return this.props.idctaData.signedIn!==!0}},{key:"ratingErrorHandler",value:function(e){var t=this.context.theme.formatMessage,n=t("idctaFailedErrorBody"),r=t("tooltipErrorSubtitle"),o=t("otherErrorBody"),i=e===C.ErrorTypes.TOKEN_REFRESH_FAILED?n:o;(0,P.sendReactionErrorStat)(this.context,e),this.setState({tooltipText:r,tooltipBody:i,hasError:!0})}},{key:"sendReactionStat",value:function(){function e(){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.props.ratingType===w.default.POSITIVE?(0,P.sendReactionPositiveStat)(this.context,this.props.isReply?"reply":"comment"):(0,P.sendReactionNegativeStat)(this.context,this.props.isReply?"reply":"comment"));case 1:case"end":return e.stop()}},e,this)}));return e}()},{key:"handleClick",value:function(){function e(e){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t){var n,r,o,a=t.ratingStatusText,s=void 0===a?"":a;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.state.isSendingRating&&!this.props.isSelected){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.sendReactionStat();case 4:if(!this.isSignedOut()){e.next=7;break}return(0,P.sendReactionErrorStat)(this.context,C.ErrorTypes.USER_NOT_SIGNED_IN),e.abrupt("return");case 7:return n=this.context.apiKey,r=this.props.commentData,o=this.props.forumId,this.setState({isSendingRating:!0}),e.prev=11,e.next=14,this.props.postRatingFunction(n,r,o);case 14:this.props.setCurrentSelectedRatingType(this.props.ratingType),this.setState({isSendingRating:!1}),this.context.setA11yAlertText(s),e.next=23;break;case 19:e.prev=19,e.t0=e.catch(11),this.setState({isSendingRating:!1}),this.ratingErrorHandler(e.t0);case 23:case"end":return e.stop()}},e,this,[[11,19]])}));return e}()}]),t}(v.Component);O.displayName="CommentRatingContainer",O.propTypes={isRatingEnabled:v.PropTypes.bool,commentData:v.PropTypes.shape({index:v.PropTypes.number,id:v.PropTypes.number.isRequired,rating:v.PropTypes.oneOfType([v.PropTypes.shape({positive:v.PropTypes.number.isRequired}),v.PropTypes.shape({negative:v.PropTypes.number.isRequired})])}).isRequired,idctaData:v.PropTypes.object.isRequired,forumId:v.PropTypes.string.isRequired,ratingType:v.PropTypes.string.isRequired,iconType:v.PropTypes.string.isRequired,postRatingFunction:v.PropTypes.func.isRequired,ratingValue:v.PropTypes.number.isRequired,isSelected:v.PropTypes.bool.isRequired,setCurrentSelectedRatingType:v.PropTypes.func.isRequired,isReply:v.PropTypes.bool},O.defaultProps={isRatingEnabled:!0,isReply:!1},O.contextTypes={apiKey:v.PropTypes.string.isRequired,theme:v.PropTypes.shape({getIcon:v.PropTypes.func.isRequired,ratingsNumberPlacement:v.PropTypes.string.isRequired,formatMessage:v.PropTypes.func}).isRequired,setA11yAlertText:v.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:v.PropTypes.func.isRequired,logClickEventWithCommonLabels:v.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipLauncher=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(201),g=t.TooltipLauncher=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isTooltipOpen:e.isTooltipOpen},n.openTooltip=n.openTooltip.bind(n),n.closeToolTip=n.closeToolTip.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.tooltipSubtitle,n=e.tooltipBody,r=e.children,o=e.isTooltipAlert;return h.default.createElement("div",{className:"tooltip-launcher"},h.default.createElement("div",{onClick:this.openTooltip,className:"tooltip-launcher__children"},r),this.state.isTooltipOpen&&h.default.createElement(y.Tooltip,{subtitle:t,handleClose:this.closeToolTip,isAlert:o},n))}},{key:"openTooltip",value:function(){this.setState({isTooltipOpen:!0})}},{key:"closeToolTip",value:function(){var e=this.props.tooltipOnClose;this.setState({isTooltipOpen:!1}),e()}}]),t}(p.Component);g.displayName="TooltipLauncher",g.propTypes={tooltipSubtitle:p.PropTypes.string,tooltipBody:p.PropTypes.object,isTooltipOpen:p.PropTypes.bool,isTooltipAlert:p.PropTypes.bool,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),tooltipOnClose:p.PropTypes.func},g.defaultProps={tooltipSubtitle:"",isTooltipOpen:!1,isTooltipAlert:!1,tooltipBody:h.default.createElement("div",null),tooltipOnClose:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(202),g=r(y),v=n(183),_=r(v),b=n(102),T=n(154),E=n(148),C=r(E),P=5,S=t.Tooltip=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={tooltipCssLeft:"unset",tooltipPointCssLeft:"unset"},n.handleClickOutside=n.handleClickOutside.bind(n),n.updatePositionOnWindowResize=n.updatePositionOnWindowResize.bind(n),n.throttledUpdatePositionOnWindowResize=(0,b.throttle)(n.updatePositionOnWindowResize,300),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.subtitle,r=t.children,o=t.handleClose,i=t.isAlert,a={left:this.state.tooltipCssLeft},s={left:this.state.tooltipPointCssLeft};return h.default.createElement("div",{className:"comment-tooltip",style:a,ref:function(t){return e.commentTooltip=t}},h.default.createElement("span",{className:"comment-tooltip__pointer",style:s}),h.default.createElement("div",{className:"comment-tooltip__inner"},h.default.createElement("div",{className:"comment-tooltip__content"},h.default.createElement("p",{tabIndex:"-1",className:(0,C.default)("comment-tooltip__subtitle",{"comment-tooltip__subtitle--alert":i}),"aria-label":n,ref:function(t){return e.commentTooltipSubtitle=t}},i&&h.default.createElement(_.default,null),n),h.default.createElement("div",{className:"comment-tooltip__body"},r),h.default.createElement("button",{onClick:o,className:"comment-tooltip__close",title:"Close","aria-label":"Close Tooltip"},h.default.createElement("span",{className:"comment-tooltip__close-icon"},h.default.createElement(g.default,null))))))}},{key:"componentDidMount",value:function(){this.updatePositionOnWindowResize(),document.addEventListener("click",this.handleClickOutside),window.addEventListener("resize",this.throttledUpdatePositionOnWindowResize,!0),window.addEventListener("orientationchange",this.updatePositionOnWindowResize,!0),this.props.shouldAutoFocus&&(0,T.focusOnElement)(this.commentTooltipSubtitle)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside),window.removeEventListener("resize",this.throttledUpdatePositionOnWindowResize,!0),window.removeEventListener("orientationchange",this.updatePositionOnWindowResize,!0)}},{key:"handleClickOutside",value:function(e){this.commentTooltip&&this.commentTooltip.contains(e.target)||this.props.handleClose()}},{key:"updatePositionOnWindowResize",value:function(){var e=this.commentTooltip.getBoundingClientRect().right-(0,T.getViewportWidth)();if(e>0){var t=e+P;this.setState({tooltipCssLeft:-t,tooltipPointCssLeft:t})}}}]),t}(p.Component);S.displayName="Tooltip",S.propTypes={subtitle:p.PropTypes.string.isRequired,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),handleClose:p.PropTypes.func.isRequired,isAlert:p.PropTypes.bool,shouldAutoFocus:p.PropTypes.bool},S.defaultProps={isAlert:!1,shouldAutoFocus:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(99),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r;return i.default.createElement("svg",{viewBox:"0 0 32 32",id:"gel-icon-no",width:o,height:n},i.default.createElement("path",{d:"M32 3.5L28.5 0 16 12.5 3.5 0 0 3.5 12.5 16 0 28.5 3.5 32 16 19.5 28.5 32l3.5-3.5L19.5 16"}))};a.displayName="Close",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentRating=void 0;var o=n(99),i=r(o),a=n(148),s=r(a),u=n(204),l=r(u),c=n(185),d=r(c),m=n(205),f=r(m),p=t.CommentRating=function(e,t){var n=e.ratingType,r=e.Icon,o=e.isDisabled,a=e.isSendingRating,u=e.hasRatedComment,c=e.ratingValue,d=e.handleClick,m=e.numberPlacement,p=t.theme.formatMessage,h=i.default.createElement("div",{className:"comment-rating__button-number"},c),y=function(){var e=p(n+"RatedComment"),t=p(n+"RatingsCount",{rateCount:c+1}),r=e+". "+t;d({ratingStatusText:r})},g=function(e){var t=p(u?n+"RatedComment":n+"RateComment"),r=p(n+"RatingsCount",{rateCount:e});return t+". "+r};return i.default.createElement("div",{className:"comment-rating"},i.default.createElement("button",{className:(0,s.default)("comment-rating__button","comment-rating__button--"+n,"comment-rating__button--number-placement-"+m,{"comment-rating__button--posted":u}),disabled:o,"aria-label":g(c),onClick:y},m===l.default.LEFT&&h,i.default.createElement("div",{className:"comment-rating__button-icon"},a?i.default.createElement(f.default,null):i.default.createElement(r,null)),m===l.default.RIGHT&&h))};p.displayName="CommentRating",p.propTypes={ratingType:o.PropTypes.oneOf([d.default.POSITIVE,d.default.NEGATIVE]),Icon:o.PropTypes.func.isRequired,ratingValue:o.PropTypes.number.isRequired,isDisabled:o.PropTypes.bool,isSendingRating:o.PropTypes.bool.isRequired,hasRatedComment:o.PropTypes.bool,handleClick:o.PropTypes.func.isRequired,numberPlacement:o.PropTypes.oneOf([l.default.LEFT,l.default.RIGHT])},p.defaultProps={numberPlacement:l.default.RIGHT},p.contextTypes={theme:o.PropTypes.shape({formatMessage:o.PropTypes.func})}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="left",r="right";t.default={LEFT:n,RIGHT:r},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(99),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r;return i.default.createElement("svg",{className:"loading-spinner",xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 32 32"},i.default.createElement("path",{d:"M29.8 8l-3.5 2c1 1.8 1.6 3.8 1.6 6 0 6.6-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4V0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16c0-2.9-.8-5.6-2.2-8z"}))};a.displayName="LoadingSpinner",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(99),i=r(o),a=function(){return i.default.createElement("div",{className:"more-icon-vertical"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},i.default.createElement("rect",{x:"12",width:"8",height:"8"}),i.default.createElement("rect",{x:"12",y:"12",width:"8",height:"8"}),i.default.createElement("rect",{x:"12",y:"24",width:"8",height:"8"})))};a.displayName="MoreIconVertical",a.propTypes={},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return!e.distressMessage}function i(e){return e.status===C.default.PASS}function a(e){var t=!e.author.isNotable;return t&&o(e)}function s(e){return e.status===C.default.FAIL}function u(e,t,n){switch(e.status){case C.default.FAIL:return n("removedComment",{rulesUrl:t});case C.default.REFER:return n("referredComment",{rulesUrl:t});case C.default.PASS:default:return e.text}}function l(e,t,n){return g(t)&&i(e)&&o(e)&&!n}function c(e,t){return h(t)&&i(e)&&a(e)}function d(e,t){return y(t)&&i(e)&&a(e)}function m(e){return e.isEditor===!0}function f(e,t){return p(e,t)&&e.displayNameModerationStatus===b.default.FAILED_OR_AWAITING}function p(e,t){return e.userId===t.author.userId}function h(e){return e(T.FeaturesToggles.ratings)}function y(e){return e(T.FeaturesToggles.downRatings)}function g(e){return e(T.FeaturesToggles.replies)}function v(e,t){return g(t)&&e.totalReplies>0}Object.defineProperty(t,"__esModule",{value:!0}),t.isNotDistressMessage=o,t.commentPassedModeration=i,t.isNormalComment=a,t.isRemovedComment=s,t.getCommentTextToDisplay=u,t.canReplyComment=l,t.canRateComment=c,t.canDownRateComment=d,t.isUserAnEditor=m,t.shouldShowDisplayNameModerationWarning=f,t.isAuthoredByCurrentUser=p,t.isRatingsFeatureEnabled=h,t.isDownRatingsFeatureEnabled=y,t.isRepliesFeatureEnabled=g,t.hasReplies=v;var _=n(208),b=r(_),T=n(182),E=n(180),C=r(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.CommentDistressText=void 0;var o=n(99),i=r(o),a=t.CommentDistressText=function(e,t){var n=e.commentDistressText,r=t.theme;return i.default.createElement("div",{className:"comment--distress"},r.getComponent("distressMessageFlag"),i.default.createElement("p",{dangerouslySetInnerHTML:{__html:n}}))};a.displayName="CommentDistressText",a.propTypes={commentDistressText:o.PropTypes.string.isRequired},a.contextTypes={theme:o.PropTypes.shape({getComponent:o.PropTypes.func.isRequired})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.commentData,n=e.isRepliesList,r="comment_"+t.id,o=(0,f.default)("comments-list__item",{"comments-list__item-reply":n});return u.default.createElement("li",{className:o,key:r},n?u.default.createElement(c.Reply,e):u.default.createElement(l.Comment,(0,a.default)({},e,{focusOn:t.id===e.focusOnCommentId})))}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsList=void 0;var i=n(2),a=r(i),s=n(99),u=r(s),l=n(170),c=n(211),d=n(216),m=n(148),f=r(m),p=t.CommentsList=function(e){var t=e.isRepliesList,n=e.comments,r=e.rulesPageUrl,i=e.isRatingEnabled,a=e.userCanPostToForum,s=e.personalisationDetails,l=e.idctaData,c=e.focusOnCommentId,m=e.commentInputTextLimit,p=e.commentInputModerationStatus,h=e.forumId,y=e.repliesPageSize,g=e.firstNewReplyId,v=e.isParentCommentRemoved,_=e.isForumClosed,b=e.scrollPositionLoadRepliesButton,T=e.scrollPositionMoreCommentsButton;if(0===n.length)return u.default.createElement("noscript",null);var E=n.map(function(e){return o({isRepliesList:t,commentData:e,rulesPageUrl:r,isRatingEnabled:i,userCanPostToForum:a,personalisationDetails:s,idctaData:l,focusOnCommentId:c,commentInputTextLimit:m,commentInputModerationStatus:p,forumId:h,repliesPageSize:y,focusOnMount:e.id===g,isParentCommentRemoved:v,isForumClosed:_,scrollPositionLoadRepliesButton:b,scrollPositionMoreCommentsButton:T})}),C=(0,f.default)("comments-list",{"replies-list-reply-open":t});return u.default.createElement("div",null,u.default.createElement("div",{className:"comments-list-anchor"}),u.default.createElement(d.CSSTransitionGroup,{component:"ul",className:C,transitionName:{enter:"comments-list__item--entering-list",enterActive:"comments-list__item--entered-list"},transitionEnterTimeout:2e3,transitionLeave:!1},E))};o.propTypes={focusOnMount:s.PropTypes.bool,isRepliesList:s.PropTypes.bool,rulesPageUrl:s.PropTypes.string,isRatingEnabled:s.PropTypes.bool.isRequired,userCanPostToForum:s.PropTypes.bool.isRequired,personalisationDetails:s.PropTypes.object,idctaData:s.PropTypes.object,focusOnCommentId:s.PropTypes.number,commentData:s.PropTypes.object,commentInputTextLimit:s.PropTypes.number,commentInputModerationStatus:s.PropTypes.string,forumId:s.PropTypes.string.isRequired,repliesPageSize:s.PropTypes.number.isRequired,isForumClosed:s.PropTypes.bool,scrollPositionLoadRepliesButton:s.PropTypes.object,scrollPositionMoreCommentsButton:s.PropTypes.object},p.displayName="CommentsList",p.propTypes={isRepliesList:s.PropTypes.bool,comments:s.PropTypes.arrayOf(s.PropTypes.shape({id:s.PropTypes.number})).isRequired,firstNewReplyId:s.PropTypes.number,rulesPageUrl:s.PropTypes.string,isRatingEnabled:s.PropTypes.bool.isRequired,userCanPostToForum:s.PropTypes.bool.isRequired,personalisationDetails:s.PropTypes.object,idctaData:s.PropTypes.object,focusOnCommentId:s.PropTypes.number,commentInputTextLimit:s.PropTypes.number,commentInputModerationStatus:s.PropTypes.string,forumId:s.PropTypes.string.isRequired,repliesPageSize:s.PropTypes.number.isRequired,isParentCommentRemoved:s.PropTypes.bool,isForumClosed:s.PropTypes.bool,scrollPositionLoadRepliesButton:s.PropTypes.object,scrollPositionMoreCommentsButton:s.PropTypes.object},p.defaultProps={comments:[]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Reply=t.ReplyText=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=n(171),_=n(172),b=n(173),T=n(174),E=n(176),C=n(177),P=n(184),S=n(180),w=r(S),O=n(209),x=n(154),M=n(212),R=n(213),I=n(207),N=t.ReplyText=function(e){var t=e.replyText,n=e.replyOfName,r=e.formatMessage,o=e.withPreMessageForSR;return h.default.createElement("div",null,o&&h.default.createElement("span",{className:"comment__hidden-text"},r("whoReplied",{replyOfName:n})),h.default.createElement("div",{className:"comment__text",dangerouslySetInnerHTML:{__html:t}}))};N.displayName="ReplyText",N.propTypes={replyText:p.PropTypes.string.isRequired,replyOfName:p.PropTypes.string.isRequired,formatMessage:p.PropTypes.func.isRequired,withPreMessageForSR:p.PropTypes.bool},N.defaultProps={replyText:"",withPreMessageForSR:!0};var k=t.Reply=function(e){function t(){return(0,s.default)(this,t), (0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.commentData,r=t.personalisationDetails,o=t.commentInputTextLimit,i=t.commentInputModerationStatus,a=t.idctaData,s=t.isRatingEnabled,u=t.userCanPostToForum,l=t.forumId,c=t.rulesPageUrl,d=t.isParentCommentRemoved,m=this.context.theme.formatMessage,f=n.replyTo,p=(0,I.isUserAnEditor)(r),y=r.commentAdminLinks,E=this.context.isFeatureEnabled,S=(0,C.getCommentLinks)({commentData:n,commentAdminLinks:y,isUserAnEditor:p,isFeatureEnabled:E}),w=(0,I.canRateComment)(n,E)||(0,I.canReplyComment)(n,E)||S.hasLinks,x=p?n.index+1+". ":"",k=n.author.displayName,A=n.author.isNotable,D=n.author.description,L=n.author.avatarUrl,j=(0,R.parseTimestamp)(n.dateCreated),F=j.formattedTimestamp,U=j.time,q=(0,I.isAuthoredByCurrentUser)(r,n),W=(0,I.isRemovedComment)(n),B="comment-title-label-"+n.id,Y=this.getReplyTitleText(),V=h.default.createElement("div",{className:"comment__content"},h.default.createElement("div",{tabIndex:"-1",role:"heading","aria-level":"4","aria-labelledby":B,ref:function(t){return e.commentElement=t},className:"comment__header"},!W&&h.default.createElement("div",{className:"comment__avatar"},h.default.createElement(T.ContributorAvatar,{displayName:k,isCurrentUser:q,avatarImageUrl:L})),h.default.createElement("div",{className:"comment__username-and-posted-date"},h.default.createElement("h4",{className:"comment__title"},h.default.createElement("div",{className:"comment__title-wrapper"},h.default.createElement("span",{"aria-hidden":"true",id:B,className:"comment__hidden-text"},Y),h.default.createElement("span",{"aria-hidden":"true"},x),h.default.createElement(_.Username,{className:"comment__username"},k))),(0,I.shouldShowDisplayNameModerationWarning)(r,n)&&h.default.createElement("a",{className:"comment__display-name-moderation-warning",href:r.displayNameModerationUrl},r.displayNameModerationMessage),D&&h.default.createElement(b.UserDescription,{className:"comment__user-description"},D),n.dateCreated&&h.default.createElement(v.PostedDate,{className:"comment__posted-date",time:U,formattedTime:F}))),!W&&h.default.createElement(M.ReplySnippet,{replyToName:f.displayName,replyToMsg:f.text}),h.default.createElement("div",{className:"comment__body"},h.default.createElement(N,{replyText:(0,I.getCommentTextToDisplay)(n,c,m),replyOfName:k,formatMessage:m,withPreMessageForSR:!W})),n.distressMessage&&h.default.createElement(O.CommentDistressText,{commentDistressText:n.distressMessage.text}),w&&h.default.createElement(P.CommentFooter,{commentData:n,commentLinks:S,isReply:!0,commentInputTextLimit:o,commentInputModerationStatus:i,idctaData:a,isRatingEnabled:s,userCanPostToForum:u,forumId:l,isParentCommentRemoved:d}));return h.default.createElement("div",{id:"comment-"+n.id,className:(0,g.default)("comment",{"comment--notable":A,"comment--has-footer":w,"comment--by-current-user":q},"comment--reply")},A&&this.context.theme.getComponent("notableReplyFlag"),W?this.getCollapsedRemovedReply(V):V)}},{key:"getCollapsedRemovedReply",value:function(e){var t=this,n=this.context.theme.formatMessage;return h.default.createElement(E.CollapsiblePanel,{title:n("removedCommentButton"),isReply:!0,setCollapsiblePanelRef:function(e){return t.collapsedRemovedReplyElement=e}},e)}},{key:"componentDidMount",value:function(){if(this.props.focusOnMount){var e=(0,I.isRemovedComment)(this.props.commentData),t=e?this.collapsedRemovedReplyElement:this.commentElement,n=this.props.scrollPositionLoadRepliesButton,r=!0;this.setMoreRepliesAllyMessage(),(0,x.focusOnElement)(t,r),(0,x.scrollToPosition)(n)}}},{key:"setMoreRepliesAllyMessage",value:function(){var e=this.props.commentData,t=(0,I.isRemovedComment)(e)?this.context.theme.formatMessage("removedCommentButtonA11y"):this.getReplyTitleText();this.context.setA11yAlertText(t)}},{key:"getReplyTitleText",value:function(){var e=this.props.commentData,t=this.context.theme.formatMessage,n=this.context.theme.productLabel,r=e.author.displayName,o=e.author.isNotable,i=e.author.description,a=o&&n?t("replyNotableHead",{displayName:r,productLabel:n}):t("replyHead",{displayName:r}),s=(0,R.parseTimestamp)(e.dateCreated),u=s.description,l=s.formattedTimestamp,c=u?", "+u+" "+l:", "+l,d=i?", "+i:"";return""+a+d+c}}]),t}(p.Component);k.displayName="Reply",k.propTypes={focusOnMount:p.PropTypes.bool,commentData:p.PropTypes.shape({index:p.PropTypes.number,id:p.PropTypes.number,actions:p.PropTypes.shape({reportUrl:p.PropTypes.string.isRequired}),distressMessage:p.PropTypes.shape({text:p.PropTypes.string}),author:p.PropTypes.shape({userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]).isRequired,displayName:p.PropTypes.string.isRequired,isNotable:p.PropTypes.bool.isRequired,description:p.PropTypes.string,avatarUrl:p.PropTypes.string}).isRequired,dateCreated:p.PropTypes.string,text:p.PropTypes.string.isRequired,rating:p.PropTypes.oneOfType([p.PropTypes.shape({positive:p.PropTypes.number.isRequired}),p.PropTypes.shape({negative:p.PropTypes.number.isRequired})]),status:p.PropTypes.oneOf([w.default.FAIL,w.default.PASS,w.default.REFER,w.default.UNKNOWN]),replyTo:p.PropTypes.object}).isRequired,rulesPageUrl:p.PropTypes.string.isRequired,isRatingEnabled:p.PropTypes.bool,userCanPostToForum:p.PropTypes.bool,personalisationDetails:p.PropTypes.shape({userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]),displayNameModerationStatus:p.PropTypes.string,displayNameModerationMessage:p.PropTypes.string,displayNameModerationUrl:p.PropTypes.string,isEditor:p.PropTypes.bool,commentAdminLinks:p.PropTypes.shape({report:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),viewModerationHistory:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),makeTopPick:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),memberDetails:p.PropTypes.shape({url:p.PropTypes.string.isRequired})})}),idctaData:p.PropTypes.object.isRequired,forumId:p.PropTypes.string.isRequired,commentInputTextLimit:p.PropTypes.number,commentInputModerationStatus:p.PropTypes.string,isParentCommentRemoved:p.PropTypes.bool,scrollPositionLoadRepliesButton:p.PropTypes.object},k.defaultProps={focusOnMount:!1,personalisationDetails:{},isMoreIconIsOpen:!1,replyToComment:{displayName:"",text:""}},k.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func,getComponent:p.PropTypes.func.isRequired,productLabel:p.PropTypes.string}),isFeatureEnabled:p.PropTypes.func.isRequired,setA11yAlertText:p.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplySnippet=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=t.ReplySnippet=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isSnippetContentShowing:!1},n.toggleSnippetTray=n.toggleSnippetTray.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"cleanString",value:function(e){var t=e.replace(/(<([^>]+)>)/gi,"");return t=t.replace(/&nbsp;|&nbsp/gi," ").trim(),t=t.replace(/\s+/gi," ").trim()}},{key:"toggleSnippetTray",value:function(){this.setState(function(e){return{isSnippetContentShowing:!e.isSnippetContentShowing}})}},{key:"render",value:function(){var e=this.props,t=e.replyToName,n=e.replyToMsg,r=this.context.theme.formatMessage,o=this.cleanString(n),i=r("toWho",{replyToName:t}),a='"',s=r("replyingTo",{replyToName:t}),u=r("hideSnippetContentLabel",{replyToName:t}),l=r("readSnippetContentLabel",{replyToName:t});return h.default.createElement("div",{className:"reply-snippet"},h.default.createElement("div",{className:"reply-snippet__control"},h.default.createElement("div",{role:"text",className:"reply-snippet__control--prelink","aria-label":s},h.default.createElement("span",{"aria-label":s}),h.default.createElement("span",{className:"reply-snippet__control--prelink-text",title:t,"aria-hidden":"true"},i)),h.default.createElement("button",{className:"reply-snippet__control--link reply-snippet-button",onClick:this.toggleSnippetTray,"aria-label":this.state.isSnippetContentShowing?u:l,"aria-expanded":this.state.isSnippetContentShowing?"true":"false"},h.default.createElement("div",null,a),h.default.createElement("div",{className:"reply-snippet__control--msg-short",dangerouslySetInnerHTML:{__html:o}}),h.default.createElement("div",null,a))),this.state.isSnippetContentShowing&&h.default.createElement("div",{className:"reply-snippet__show-content"},h.default.createElement("div",{className:"reply-snippet__show-content--msg",dangerouslySetInnerHTML:{__html:n}})))}}]),t}(p.Component);y.displayName="ReplySnippet",y.propTypes={replyToName:p.PropTypes.string,replyToMsg:p.PropTypes.string},y.defaultProps={replyToName:"",replyToMsg:""},y.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){var t=(0,o.moment)(e,o.moment.ISO_8601).tz(i),n=(0,o.moment)().tz(i).startOf("day"),r=(0,o.moment)().tz(i).startOf("year");return t.isAfter(n)?a(t,"HH:mm","today at"):t.isAfter(r)?a(t,"HH:mm D MMM"):a(t,"HH:mm D MMM YYYY")}Object.defineProperty(t,"__esModule",{value:!0}),t.parseTimestamp=r;var o=n(214),i="Europe/London",a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"at";return{time:e.format(),formattedTimestamp:e.format(t),description:n}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.moment=void 0;var o=n(215),i=r(o);i.default.updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"seconds",m:"1 minute",mm:"%d minutes",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"}}),t.moment=i.default},function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){const r=n(1);r.tz.add("Europe/Belfast|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"),r.tz.link("Europe/Belfast|Europe/London"),e.exports=r},function(e,t,n){var r,o,i;!function(a,s){"use strict";o=[n(2)],r=s,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e){"use strict";function t(e){return e>96?e-87:e>64?e-29:e-48}function n(e){var n,r=0,o=e.split("."),i=o[0],a=o[1]||"",s=1,u=0,l=1;for(45===e.charCodeAt(0)&&(r=1,l=-1),r;r<i.length;r++)n=t(i.charCodeAt(r)),u=60*u+n;for(r=0;r<a.length;r++)s/=60,n=t(a.charCodeAt(r)),u+=n*s;return u*l}function r(e){for(var t=0;t<e.length;t++)e[t]=n(e[t])}function o(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}function i(e,t){var n,r=[];for(n=0;n<t.length;n++)r[n]=e[t[n]];return r}function a(e){var t=e.split("|"),n=t[2].split(" "),a=t[3].split(""),s=t[4].split(" ");return r(n),r(a),r(s),o(s,a.length),{name:t[0],abbrs:i(t[1].split(" "),a),offsets:i(n,a),untils:s,population:0|t[5]}}function s(e){e&&this._set(a(e))}function u(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);n&&n[0]?(n=n[0].match(/[A-Z]/g),n=n?n.join(""):void 0):(n=t.match(/[A-Z]{3,5}/g),n=n?n[0]:void 0),"GMT"===n&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function l(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function c(e,t){for(var n,r;r=6e4*((t.at-e.at)/12e4|0);)n=new u(new Date(e.at+r)),n.offset===e.offset?e=n:t=n;return e}function d(){var e,t,n,r=(new Date).getFullYear()-2,o=new u(new Date(r,0,1)),i=[o];for(n=1;n<48;n++)t=new u(new Date(r,n,1)),t.offset!==o.offset&&(e=c(o,t),i.push(e),i.push(new u(new Date(e.at+6e4)))),o=t;for(n=0;n<4;n++)i.push(new u(new Date(r+n,0,1))),i.push(new u(new Date(r+n,6,1)));return i}function m(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:t.zone.population-e.zone.population}function f(e,t){var n,o;for(r(t),n=0;n<t.length;n++)o=t[n],A[o]=A[o]||{},A[o][e]=!0}function p(e){var t,n,r,o=e.length,i={},a=[];for(t=0;t<o;t++){r=A[e[t].offset]||{};for(n in r)r.hasOwnProperty(n)&&(i[n]=!0)}for(t in i)i.hasOwnProperty(t)&&a.push(k[t]);return a}function h(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=k[g(e)];if(t)return t;S("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,r,o,i=d(),a=i.length,s=p(i),u=[];for(r=0;r<s.length;r++){for(n=new l(_(s[r]),a),o=0;o<a;o++)n.scoreOffsetAt(i[o]);u.push(n)}return u.sort(m),u.length>0?u[0].zone.name:void 0}function y(e){return M&&!e||(M=h()),M}function g(e){return(e||"").toLowerCase().replace(/\//g,"_")}function v(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)r=e[t].split("|"),n=r[0],o=g(n),I[o]=e[t],k[o]=n,f(o,r[2].split(" "))}function _(e,t){e=g(e);var n,r=I[e];return r instanceof s?r:"string"==typeof r?(r=new s(r),I[e]=r,r):N[e]&&t!==_&&(n=_(N[e],_))?(r=I[e]=new s,r._set(n),r.name=k[e],r):null}function b(){var e,t=[];for(e in k)k.hasOwnProperty(e)&&(I[e]||I[N[e]])&&k[e]&&t.push(k[e]);return t.sort()}function T(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)n=e[t].split("|"),r=g(n[0]),o=g(n[1]),N[r]=o,k[r]=n[0],N[o]=r,k[o]=n[1]}function E(e){v(e.zones),T(e.links),w.dataVersion=e.version}function C(e){return C.didShowError||(C.didShowError=!0,S("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!_(e)}function P(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function S(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function w(t){var n=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1],o=_(r),i=e.utc.apply(null,n);return o&&!e.isMoment(t)&&P(i)&&i.add(o.parse(i),"minutes"),i.tz(r),i}function O(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function x(e){return function(){return this._z=null,e.apply(this,arguments)}}var M,R="0.5.14",I={},N={},k={},A={},D=e.version.split("."),L=+D[0],j=+D[1];(L<2||2===L&&j<6)&&S("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),s.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,r=this.untils;for(t=0;t<r.length;t++)if(n<r[t])return t},parse:function(e){var t,n,r,o,i=+e,a=this.offsets,s=this.untils,u=s.length-1;for(o=0;o<u;o++)if(t=a[o],n=a[o+1],r=a[o?o-1:o],t<n&&w.moveAmbiguousForward?t=n:t>r&&w.moveInvalidForward&&(t=r),i<s[o]-6e4*t)return a[o];return a[u]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return S("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},l.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},w.version=R,w.dataVersion="",w._zones=I,w._links=N,w._names=k,w.add=v,w.link=T,w.load=E,w.zone=_,w.zoneExists=C,w.guess=y,w.names=b,w.Zone=s,w.unpack=a,w.unpackBase60=n,w.needsOffset=P,w.moveInvalidForward=!0,w.moveAmbiguousForward=!1;var F=e.fn;e.tz=w,e.defaultZone=null,e.updateOffset=function(t,n){var r,o=e.defaultZone;void 0===t._z&&(o&&P(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z&&(r=t._z.utcOffset(t),Math.abs(r)<16&&(r/=60),void 0!==t.utcOffset?t.utcOffset(-r,n):t.zone(r,n))},F.tz=function(t,n){return t?(this._z=_(t),this._z?e.updateOffset(this,n):S("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0},F.zoneName=O(F.zoneName),F.zoneAbbr=O(F.zoneAbbr),F.utc=x(F.utc),e.tz.setDefault=function(t){return(L<2||2===L&&j<9)&&S("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?_(t):null,e};var U=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(U)?(U.push("_z"),U.push("_a")):U&&(U._z=null),e})},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return xr.apply(null,arguments)}function n(e){xr=e}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return St(e,t,n,r,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function p(e){return null==e._pf&&(e._pf=f()),e._pf}function h(e){if(null==e._isValid){var t=p(e),n=Mr.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function y(e){var t=m(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}function g(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),Rr.length>0)for(n=0;n<Rr.length;n++)r=Rr[n],o=t[r],a(o)||(e[r]=o);return e}function v(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ir===!1&&(Ir=!0,t.updateOffset(this),Ir=!1)}function _(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function T(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function E(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 P(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 S(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Nr[e]||(C(n),Nr[e]=!0)}function w(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e){var t,n;for(n in e)t=e[n],w(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function x(e,t){var n,r=d({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(r[n]=d({},r[n]));return r}function M(e){null!=e&&this.set(e)}function R(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return w(r)?r.call(t,n):r}function I(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function N(){return this._invalidDate}function k(e){return this._ordinal.replace("%d",e)}function A(e,t,n,r){var o=this._relativeTime[n];return w(o)?o(e,t,n,r):o.replace(/%d/i,e)}function D(e,t){var n=this._relativeTime[e>0?"future":"past"];return w(n)?n(t):n.replace(/%s/i,t)}function L(e,t){var n=e.toLowerCase();qr[n]=qr[n+"s"]=qr[t]=e}function j(e){return"string"==typeof e?qr[e]||qr[e.toLowerCase()]:void 0}function F(e){var t,n,r={};for(n in e)c(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function U(e,t){Wr[e]=t}function q(e){var t=[];for(var n in e)t.push({unit:n,priority:Wr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(e,t,n){var r=""+Math.abs(e),o=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function B(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 Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,n,r=e.match(Br);for(t=0,n=r.length;t<n;t++)Hr[r[t]]?r[t]=Hr[r[t]]:r[t]=Y(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=w(r[o])?r[o].call(t,e):r[o];return i}}function H(e,t){return e.isValid()?(t=z(t,e.localeData()),Vr[t]=Vr[t]||V(t),Vr[t](e)):e.localeData().invalidDate()}function z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Yr.lastIndex=0;r>=0&&Yr.test(e);)e=e.replace(Yr,n),Yr.lastIndex=0,r-=1;return e}function G(e,t,n){lo[e]=w(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return c(lo,e)?lo[e](t._strict,t._locale):new RegExp(K(e))}function K(e){return X(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,o){return t||n||r||o}))}function X(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function J(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=T(e)}),n=0;n<e.length;n++)co[e[n]]=r}function Q(e,t){J(e,function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)})}function $(e,t,n){null!=t&&c(co,e)&&co[e](t,n._a,n,e)}function ee(e){return te(e)?366:365}function te(e){return e%4===0&&e%100!==0||e%400===0}function ne(){return te(this.year())}function re(e,n){return function(r){return null!=r?(ie(this,e,r),t.updateOffset(this,n),this):oe(this,e)}}function oe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ie(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&te(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),le(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ae(e){return e=j(e),w(this[e])?this[e]():this}function se(e,t){if("object"==typeof e){e=F(e);for(var n=q(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=j(e),w(this[e]))return this[e](t);return this}function ue(e,t){return(e%t+t)%t}function le(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=ue(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function ce(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||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 me(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?(o=To.call(this._shortMonthsParse,a),o!==-1?o:null):(o=To.call(this._longMonthsParse,a),o!==-1?o:null):"MMM"===t?(o=To.call(this._shortMonthsParse,a),o!==-1?o:(o=To.call(this._longMonthsParse,a),o!==-1?o:null)):(o=To.call(this._longMonthsParse,a),o!==-1?o:(o=To.call(this._shortMonthsParse,a),o!==-1?o:null))}function fe(e,t,n){var r,o,i;if(this._monthsParseExact)return me.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=T(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function he(e){return null!=e?(pe(this,e),t.updateOffset(this,!0),this):oe(this,"Month")}function ye(){return le(this.year(),this.month())}function ge(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=wo),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ve(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Oo),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _e(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=X(r[t]),o[t]=X(o[t]);for(t=0;t<24;t++)i[t]=X(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function be(e,t,n,r,o,i,a){var s=new Date(e,t,n,r,o,i,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function Te(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ee(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=Ee(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 Pe(e,t,n){var r,o,i=Ee(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?(o=e.year()-1,r=a+Se(o,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Se(e,t,n){var r=Ee(e,t,n),o=Ee(e+1,t,n);return(ee(e)-r+o)/7}function we(e){return Pe(e,this._week.dow,this._week.doy).week}function Oe(){return this._week.dow}function xe(){return this._week.doy}function Me(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Re(e){var t=Pe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ie(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ne(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ke(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ae(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function De(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Le(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?(o=To.call(this._weekdaysParse,a),o!==-1?o:null):"ddd"===t?(o=To.call(this._shortWeekdaysParse,a),o!==-1?o:null):(o=To.call(this._minWeekdaysParse,a),o!==-1?o:null):"dddd"===t?(o=To.call(this._weekdaysParse,a),o!==-1?o:(o=To.call(this._shortWeekdaysParse,a),o!==-1?o:(o=To.call(this._minWeekdaysParse,a),o!==-1?o:null))):"ddd"===t?(o=To.call(this._shortWeekdaysParse,a),o!==-1?o:(o=To.call(this._weekdaysParse,a),o!==-1?o:(o=To.call(this._minWeekdaysParse,a),o!==-1?o:null))):(o=To.call(this._minWeekdaysParse,a),o!==-1?o:(o=To.call(this._weekdaysParse,a),o!==-1?o:(o=To.call(this._shortWeekdaysParse,a),o!==-1?o:null)))}function je(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Le.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r; if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ie(e,this.localeData()),this.add(e-t,"d")):t}function Ue(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ne(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=No),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Be(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ko),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ye(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ao),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ve(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),u.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=X(s[t]),u[t]=X(u[t]),l[t]=X(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function He(){return this.hours()%12||12}function ze(){return this.hours()||24}function Ge(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ze(e,t){return t._meridiemParse}function Ke(e){return"p"===(e+"").toLowerCase().charAt(0)}function Xe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,o,i=0;i<e.length;){for(o=Je(e[i]).split("-"),t=o.length,n=Je(e[i+1]),n=n?n.split("-"):null;t>0;){if(r=$e(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&E(o,n,!0)>=t-1)break;t--}i++}return null}function $e(t){var n=null;if(!Uo[t]&&"undefined"!=typeof e&&e&&e.exports)try{n=Do._abbr;!function(){var e=new Error('Cannot find module "./locale"');throw e.code="MODULE_NOT_FOUND",e}(),et(n)}catch(e){}return Uo[t]}function et(e,t){var n;return e&&(n=a(t)?rt(e):tt(e,t),n&&(Do=n)),Do._abbr}function tt(e,t){if(null!==t){var n=Fo;if(t.abbr=e,null!=Uo[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Uo[e]._config;else if(null!=t.parentLocale){if(null==Uo[t.parentLocale])return qo[t.parentLocale]||(qo[t.parentLocale]=[]),qo[t.parentLocale].push({name:e,config:t}),null;n=Uo[t.parentLocale]._config}return Uo[e]=new M(x(n,t)),qo[e]&&qo[e].forEach(function(e){tt(e.name,e.config)}),et(e),Uo[e]}return delete Uo[e],null}function nt(e,t){if(null!=t){var n,r,o=Fo;r=$e(e),null!=r&&(o=r._config),t=x(o,t),n=new M(t),n.parentLocale=Uo[e],Uo[e]=n,et(e)}else null!=Uo[e]&&(null!=Uo[e].parentLocale?Uo[e]=Uo[e].parentLocale:null!=Uo[e]&&delete Uo[e]);return Uo[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Do;if(!r(e)){if(t=$e(e))return t;e=[e]}return Qe(e)}function ot(){return kr(Uo)}function it(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[fo]<0||n[fo]>11?fo:n[po]<1||n[po]>le(n[mo],n[fo])?po:n[ho]<0||n[ho]>24||24===n[ho]&&(0!==n[yo]||0!==n[go]||0!==n[vo])?ho:n[yo]<0||n[yo]>59?yo:n[go]<0||n[go]>59?go:n[vo]<0||n[vo]>999?vo:-1,p(e)._overflowDayOfYear&&(t<mo||t>po)&&(t=po),p(e)._overflowWeeks&&t===-1&&(t=_o),p(e)._overflowWeekday&&t===-1&&(t=bo),p(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ut(e){var t,n,r,o,i,a=[];if(!e._d){for(r=st(e),e._w&&null==e._a[po]&&null==e._a[fo]&&lt(e),null!=e._dayOfYear&&(i=at(e._a[mo],r[mo]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Te(i,0,e._dayOfYear),e._a[fo]=n.getUTCMonth(),e._a[po]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ho]&&0===e._a[yo]&&0===e._a[go]&&0===e._a[vo]&&(e._nextDay=!0,e._a[ho]=0),e._d=(e._useUTC?Te:be).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ho]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function lt(e){var t,n,r,o,i,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)i=1,a=4,n=at(t.GG,e._a[mo],Pe(wt(),1,4).year),r=at(t.W,1),o=at(t.E,1),(o<1||o>7)&&(u=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var l=Pe(wt(),i,a);n=at(t.gg,e._a[mo],l.year),r=at(t.w,l.week),null!=t.d?(o=t.d,(o<0||o>6)&&(u=!0)):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(u=!0)):o=i}r<1||r>Se(n,i,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Ce(n,r,o,i,a),e._a[mo]=s.year,e._dayOfYear=s.dayOfYear)}function ct(e){var t,n,r,o,i,a,s=e._i,u=Wo.exec(s)||Bo.exec(s);if(u){for(p(e).iso=!0,t=0,n=Vo.length;t<n;t++)if(Vo[t][1].exec(u[1])){o=Vo[t][0],r=Vo[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(!Yo.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),vt(e)}else e._isValid=!1}function dt(e,t,n,r,o,i){var a=[mt(e),So.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function mt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ft(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function pt(e,t,n){if(e){var r=Ro.indexOf(e),o=new Date(t[0],t[1],t[2]).getDay();if(r!==o)return p(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ht(e,t,n){if(e)return Zo[e];if(t)return 0;var r=parseInt(n,10),o=r%100,i=(r-o)/100;return 60*i+o}function yt(e){var t=Go.exec(ft(e._i));if(t){var n=dt(t[4],t[3],t[2],t[5],t[6],t[7]);if(!pt(t[1],n,e))return;e._a=n,e._tzm=ht(t[8],t[9],t[10]),e._d=Te.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function gt(e){var n=zo.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ct(e),void(e._isValid===!1&&(delete e._isValid,yt(e),e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e)))))}function vt(e){if(e._f===t.ISO_8601)return void ct(e);if(e._f===t.RFC_2822)return void yt(e);e._a=[],p(e).empty=!0;var n,r,o,i,a,s=""+e._i,u=s.length,l=0;for(o=z(e._f,e._locale).match(Br)||[],n=0;n<o.length;n++)i=o[n],r=(s.match(Z(i,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Hr[i]?(r?p(e).empty=!1:p(e).unusedTokens.push(i),$(i,r,e)):e._strict&&!r&&p(e).unusedTokens.push(i);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ho]<=12&&p(e).bigHour===!0&&e._a[ho]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ho]=_t(e._locale,e._a[ho],e._meridiem),ut(e),it(e)}function _t(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function bt(e){var t,n,r,o,i;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],vt(t),h(t)&&(i+=p(t).charsLeftOver,i+=10*p(t).unusedTokens.length,p(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}function Tt(e){if(!e._d){var t=F(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ut(e)}}function Et(e){var t=new v(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 v(it(t)):(u(t)?e._d=t:r(n)?bt(e):n?vt(e):Pt(e),h(e)||(e._d=null),e))}function Pt(e){var n=e._i;a(n)?e._d=new Date(t.now()):u(n)?e._d=new Date(n.valueOf()):"string"==typeof n?gt(e):r(n)?(e._a=l(n.slice(0),function(e){return parseInt(e,10)}),ut(e)):o(n)?Tt(e):s(n)?e._d=new Date(n):t.createFromInputFallback(e)}function St(e,t,n,a,s){var u={};return n!==!0&&n!==!1||(a=n,n=void 0),(o(e)&&i(e)||r(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=a,Et(u)}function wt(e,t,n,r){return St(e,t,n,r,!1)}function Ot(e,t){var n,o;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return wt();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}function xt(){var e=[].slice.call(arguments,0);return Ot("isBefore",e)}function Mt(){var e=[].slice.call(arguments,0);return Ot("isAfter",e)}function Rt(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 It(){return this._isValid}function Nt(){return Jt(NaN)}function kt(e){var t=F(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=Rt(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=rt(),this._bubble()}function At(e){return e instanceof kt}function Dt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Lt(e,t){B(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+W(~~(e/60),2)+t+W(~~e%60,2)})}function jt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match($o)||["-",0,0],i=+(60*o[1])+T(o[2]);return 0===i?0:"+"===o[0]?i:-i}function Ft(e,n){var r,o;return n._isUTC?(r=n.clone(),o=(_(e)||u(e)?e.valueOf():wt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),t.updateOffset(r,!1),r):wt(e).local()}function Ut(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function qt(e,n,r){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(e=jt(ao,e),null===e)return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&n&&(o=Ut(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!n||this._changeInProgress?nn(this,Jt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Ut(this)}function Wt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Bt(e){return this.utcOffset(0,e)}function Yt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ut(this),"m")),this}function Vt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(io,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ht(e){return!!this.isValid()&&(e=e?wt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function zt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=Ct(e),e._a){var t=e._isUTC?m(e._a):wt(e._a);this._isDSTShifted=this.isValid()&&E(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Zt(){return!!this.isValid()&&!this._isUTC}function Kt(){return!!this.isValid()&&this._isUTC}function Xt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Jt(e,t){var n,r,o,i=e,a=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(i={},t?i[t]=e:i.milliseconds=e):(a=ei.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:T(a[po])*n,h:T(a[ho])*n,m:T(a[yo])*n,s:T(a[go])*n,ms:T(Dt(1e3*a[vo]))*n}):(a=ti.exec(e))?(n="-"===a[1]?-1:("+"===a[1],1),i={y:Qt(a[2],n),M:Qt(a[3],n),w:Qt(a[4],n),d:Qt(a[5],n),h:Qt(a[6],n),m:Qt(a[7],n),s:Qt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=en(wt(i.from),wt(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new kt(i),At(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function $t(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){var n;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?n=$t(e,t):(n=$t(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,r){var o,i;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),n="string"==typeof n?+n:n,o=Jt(n,r),nn(this,o,e),this}}function nn(e,n,r,o){var i=n._milliseconds,a=Dt(n._days),s=Dt(n._months);e.isValid()&&(o=null==o||o,s&&pe(e,oe(e,"Month")+s*r),a&&ie(e,"Date",oe(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),o&&t.updateOffset(e,a||s))}function rn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function on(e,n){var r=e||wt(),o=Ft(r,this).startOf("day"),i=t.calendarFormat(this,o)||"sameElse",a=n&&(w(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,wt(r)))}function an(){return new v(this)}function sn(e,t){var n=_(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=j(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function un(e,t){var n=_(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=j(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function ln(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function cn(e,t){var n,r=_(e)?e:wt(e);return!(!this.isValid()||!r.isValid())&&(t=j(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function dn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function mn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function fn(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(r=Ft(e,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=j(t)){case"year":i=pn(this,r)/12;break;case"month":i=pn(this,r);break;case"quarter":i=pn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:b(i)}function pn(e,t){var n,r,o=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(o,"months");return t-i<0?(n=e.clone().add(o-1,"months"),r=(t-i)/(i-n)):(n=e.clone().add(o+1,"months"),r=(t-i)/(n-i)),-(o+r)||0}function hn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yn(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):w(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function gn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]';return this.format(n+r+o+i)}function vn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=H(this,e);return this.localeData().postformat(n)}function _n(e,t){return this.isValid()&&(_(e)&&e.isValid()||wt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bn(e){return this.from(wt(),e)}function Tn(e,t){return this.isValid()&&(_(e)&&e.isValid()||wt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function En(e){return this.to(wt(),e)}function Cn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function Pn(){return this._locale}function Sn(e){switch(e=j(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function wn(e){return e=j(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function On(){return this._d.valueOf()-6e4*(this._offset||0)}function xn(){return Math.floor(this.valueOf()/1e3)}function Mn(){return new Date(this.valueOf())}function Rn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function In(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Nn(){return this.isValid()?this.toISOString():null}function kn(){return h(this)}function An(){return d({},p(this))}function Dn(){return p(this).overflow}function Ln(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function jn(e,t){B(0,[e,e.length],0,t)}function Fn(e){return Bn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Un(e){return Bn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qn(){return Se(this.year(),1,4)}function Wn(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Bn(e,t,n,r,o){var i;return null==e?Pe(this,r,o).year:(i=Se(e,r,o),t>i&&(t=i),Yn.call(this,e,t,n,r,o))}function Yn(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 Vn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Hn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function zn(e,t){t[vo]=T(1e3*("0."+e))}function Gn(){return this._isUTC?"UTC":""}function Zn(){return this._isUTC?"Coordinated Universal Time":""}function Kn(e){return wt(1e3*e)}function Xn(){return wt.apply(null,arguments).parseZone()}function Jn(e){return e}function Qn(e,t,n,r){var o=rt(),i=m().set(r,t);return o[n](i,e)}function $n(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Qn(e,r,n,"month");return o}function er(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o=rt(),i=e?o._week.dow:0;if(null!=n)return Qn(t,(n+i)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=Qn(t,(a+i)%7,r,"day");return u}function tr(e,t){return $n(e,t,"months")}function nr(e,t){return $n(e,t,"monthsShort")}function rr(e,t,n){return er(e,t,n,"weekdays")}function or(e,t,n){return er(e,t,n,"weekdaysShort")}function ir(e,t,n){return er(e,t,n,"weekdaysMin")}function ar(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this}function sr(e,t,n,r){var o=Jt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function ur(e,t){return sr(this,e,t,1)}function lr(e,t){return sr(this,e,t,-1)}function cr(e){return e<0?Math.floor(e):Math.ceil(e)}function dr(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*cr(fr(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=b(i/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),o=b(mr(a)),s+=o,a-=cr(fr(o)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function mr(e){return 4800*e/146097}function fr(e){return 146097*e/4800}function pr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+mr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(fr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function hr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*T(this._months/12):NaN}function yr(e){return function(){return this.as(e)}}function gr(){return Jt(this)}function vr(e){return e=j(e),this.isValid()?this[e+"s"]():NaN}function _r(e){return function(){return this.isValid()?this._data[e]:NaN}}function br(){return b(this.days()/7)}function Tr(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function Er(e,t,n){var r=Jt(e).abs(),o=xi(r.as("s")),i=xi(r.as("m")),a=xi(r.as("h")),s=xi(r.as("d")),u=xi(r.as("M")),l=xi(r.as("y")),c=o<=Mi.ss&&["s",o]||o<Mi.s&&["ss",o]||i<=1&&["m"]||i<Mi.m&&["mm",i]||a<=1&&["h"]||a<Mi.h&&["hh",a]||s<=1&&["d"]||s<Mi.d&&["dd",s]||u<=1&&["M"]||u<Mi.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,Tr.apply(null,c)}function Cr(e){return void 0===e?xi:"function"==typeof e&&(xi=e,!0)}function Pr(e,t){return void 0!==Mi[e]&&(void 0===t?Mi[e]:(Mi[e]=t,"s"===e&&(Mi.ss=t-1),!0))}function Sr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Er(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function wr(e){return(e>0)-(e<0)||+e}function Or(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Ri(this._milliseconds)/1e3,o=Ri(this._days),i=Ri(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(i/12),i%=12;var a=n,s=i,u=o,l=t,c=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",m=this.asSeconds();if(!m)return"P0D";var f=m<0?"-":"",p=wr(this._months)!==wr(m)?"-":"",h=wr(this._days)!==wr(m)?"-":"",y=wr(this._milliseconds)!==wr(m)?"-":"";return f+"P"+(a?p+a+"Y":"")+(s?p+s+"M":"")+(u?h+u+"D":"")+(l||c||d?"T":"")+(l?y+l+"H":"")+(c?y+c+"M":"")+(d?y+d+"S":"")}var xr,Mr;Mr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var Rr=t.momentProperties=[],Ir=!1,Nr={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var kr;kr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Ar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Dr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Lr="Invalid date",jr="%d",Fr=/\d{1,2}/,Ur={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},qr={},Wr={},Br=/(\[[^\[]*\])|(\\)?([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,Yr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vr={},Hr={},zr=/\d/,Gr=/\d\d/,Zr=/\d{3}/,Kr=/\d{4}/,Xr=/[+-]?\d{6}/,Jr=/\d\d?/,Qr=/\d\d\d\d?/,$r=/\d\d\d\d\d\d?/,eo=/\d{1,3}/,to=/\d{1,4}/,no=/[+-]?\d{1,6}/,ro=/\d+/,oo=/[+-]?\d+/,io=/Z|[+-]\d\d:?\d\d/gi,ao=/Z|[+-]\d\d(?::?\d\d)?/gi,so=/[+-]?\d+(\.\d{1,3})?/,uo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,lo={},co={},mo=0,fo=1,po=2,ho=3,yo=4,go=5,vo=6,_o=7,bo=8;B("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),B(0,["YY",2],0,function(){return this.year()%100}),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),L("year","y"),U("year",1),G("Y",oo),G("YY",Jr,Gr),G("YYYY",to,Kr),G("YYYYY",no,Xr),G("YYYYYY",no,Xr),J(["YYYYY","YYYYYY"],mo),J("YYYY",function(e,n){n[mo]=2===e.length?t.parseTwoDigitYear(e):T(e)}),J("YY",function(e,n){n[mo]=t.parseTwoDigitYear(e)}),J("Y",function(e,t){t[mo]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return T(e)+(T(e)>68?1900:2e3)};var To,Eo=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},B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),B("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),U("month",8),G("M",Jr),G("MM",Jr,Gr),G("MMM",function(e,t){return t.monthsShortRegex(e)}),G("MMMM",function(e,t){return t.monthsRegex(e)}),J(["M","MM"],function(e,t){t[fo]=T(e)-1}),J(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[fo]=o:p(n).invalidMonth=e});var Co=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Po="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),So="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wo=uo,Oo=uo;B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),U("week",5),U("isoWeek",5),G("w",Jr),G("ww",Jr,Gr),G("W",Jr),G("WW",Jr,Gr),Q(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=T(e)});var xo={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),G("d",Jr),G("e",Jr),G("E",Jr),G("dd",function(e,t){return t.weekdaysMinRegex(e)}),G("ddd",function(e,t){return t.weekdaysShortRegex(e)}),G("dddd",function(e,t){return t.weekdaysRegex(e)}),Q(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:p(n).invalidWeekday=e}),Q(["d","e","E"],function(e,t,n,r){t[r]=T(e)});var Mo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ro="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Io="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),No=uo,ko=uo,Ao=uo;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,He),B("k",["kk",2],0,ze),B("hmm",0,0,function(){return""+He.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+He.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),Ge("a",!0),Ge("A",!1),L("hour","h"),U("hour",13),G("a",Ze),G("A",Ze),G("H",Jr),G("h",Jr),G("k",Jr),G("HH",Jr,Gr),G("hh",Jr,Gr),G("kk",Jr,Gr),G("hmm",Qr),G("hmmss",$r),G("Hmm",Qr),G("Hmmss",$r),J(["H","HH"],ho),J(["k","kk"],function(e,t,n){var r=T(e);t[ho]=24===r?0:r}),J(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),J(["h","hh"],function(e,t,n){t[ho]=T(e),p(n).bigHour=!0}),J("hmm",function(e,t,n){var r=e.length-2;t[ho]=T(e.substr(0,r)),t[yo]=T(e.substr(r)),p(n).bigHour=!0}),J("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[ho]=T(e.substr(0,r)),t[yo]=T(e.substr(r,2)),t[go]=T(e.substr(o)),p(n).bigHour=!0}),J("Hmm",function(e,t,n){var r=e.length-2;t[ho]=T(e.substr(0,r)),t[yo]=T(e.substr(r))}),J("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[ho]=T(e.substr(0,r)),t[yo]=T(e.substr(r,2)),t[go]=T(e.substr(o))});var Do,Lo=/[ap]\.?m?\.?/i,jo=re("Hours",!0),Fo={calendar:Ar,longDateFormat:Dr,invalidDate:Lr,ordinal:jr,dayOfMonthOrdinalParse:Fr,relativeTime:Ur,months:Po,monthsShort:So,week:xo,weekdays:Mo,weekdaysMin:Io,weekdaysShort:Ro,meridiemParse:Lo},Uo={},qo={},Wo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bo=/^\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)?)?$/,Yo=/Z|[+-]\d\d(?::?\d\d)?/,Vo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ho=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],zo=/^\/?Date\((\-?\d+)/i,Go=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Zo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=P("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var Ko=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Xo=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}),Jo=function(){return Date.now?Date.now():+new Date},Qo=["year","quarter","month","week","day","hour","minute","second","millisecond"];Lt("Z",":"),Lt("ZZ",""),G("Z",ao),G("ZZ",ao),J(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=jt(ao,e)});var $o=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var ei=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ti=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; Jt.fn=kt.prototype,Jt.invalid=Nt;var ni=tn(1,"add"),ri=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var oi=P("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),jn("gggg","weekYear"),jn("ggggg","weekYear"),jn("GGGG","isoWeekYear"),jn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),G("G",oo),G("g",oo),G("GG",Jr,Gr),G("gg",Jr,Gr),G("GGGG",to,Kr),G("gggg",to,Kr),G("GGGGG",no,Xr),G("ggggg",no,Xr),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=T(e)}),Q(["gg","GG"],function(e,n,r,o){n[o]=t.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),L("quarter","Q"),U("quarter",7),G("Q",zr),J("Q",function(e,t){t[fo]=3*(T(e)-1)}),B("D",["DD",2],"Do","date"),L("date","D"),U("date",9),G("D",Jr),G("DD",Jr,Gr),G("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),J(["D","DD"],po),J("Do",function(e,t){t[po]=T(e.match(Jr)[0])});var ii=re("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),U("dayOfYear",4),G("DDD",eo),G("DDDD",Zr),J(["DDD","DDDD"],function(e,t,n){n._dayOfYear=T(e)}),B("m",["mm",2],0,"minute"),L("minute","m"),U("minute",14),G("m",Jr),G("mm",Jr,Gr),J(["m","mm"],yo);var ai=re("Minutes",!1);B("s",["ss",2],0,"second"),L("second","s"),U("second",15),G("s",Jr),G("ss",Jr,Gr),J(["s","ss"],go);var si=re("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),U("millisecond",16),G("S",eo,zr),G("SS",eo,Gr),G("SSS",eo,Zr);var ui;for(ui="SSSS";ui.length<=9;ui+="S")G(ui,ro);for(ui="S";ui.length<=9;ui+="S")J(ui,zn);var li=re("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var ci=v.prototype;ci.add=ni,ci.calendar=on,ci.clone=an,ci.diff=fn,ci.endOf=wn,ci.format=vn,ci.from=_n,ci.fromNow=bn,ci.to=Tn,ci.toNow=En,ci.get=ae,ci.invalidAt=Dn,ci.isAfter=sn,ci.isBefore=un,ci.isBetween=ln,ci.isSame=cn,ci.isSameOrAfter=dn,ci.isSameOrBefore=mn,ci.isValid=kn,ci.lang=oi,ci.locale=Cn,ci.localeData=Pn,ci.max=Xo,ci.min=Ko,ci.parsingFlags=An,ci.set=se,ci.startOf=Sn,ci.subtract=ri,ci.toArray=Rn,ci.toObject=In,ci.toDate=Mn,ci.toISOString=yn,ci.inspect=gn,ci.toJSON=Nn,ci.toString=hn,ci.unix=xn,ci.valueOf=On,ci.creationData=Ln,ci.year=Eo,ci.isLeapYear=ne,ci.weekYear=Fn,ci.isoWeekYear=Un,ci.quarter=ci.quarters=Vn,ci.month=he,ci.daysInMonth=ye,ci.week=ci.weeks=Me,ci.isoWeek=ci.isoWeeks=Re,ci.weeksInYear=Wn,ci.isoWeeksInYear=qn,ci.date=ii,ci.day=ci.days=Fe,ci.weekday=Ue,ci.isoWeekday=qe,ci.dayOfYear=Hn,ci.hour=ci.hours=jo,ci.minute=ci.minutes=ai,ci.second=ci.seconds=si,ci.millisecond=ci.milliseconds=li,ci.utcOffset=qt,ci.utc=Bt,ci.local=Yt,ci.parseZone=Vt,ci.hasAlignedHourOffset=Ht,ci.isDST=zt,ci.isLocal=Zt,ci.isUtcOffset=Kt,ci.isUtc=Xt,ci.isUTC=Xt,ci.zoneAbbr=Gn,ci.zoneName=Zn,ci.dates=P("dates accessor is deprecated. Use date instead.",ii),ci.months=P("months accessor is deprecated. Use month instead",he),ci.years=P("years accessor is deprecated. Use year instead",Eo),ci.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),ci.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gt);var di=M.prototype;di.calendar=R,di.longDateFormat=I,di.invalidDate=N,di.ordinal=k,di.preparse=Jn,di.postformat=Jn,di.relativeTime=A,di.pastFuture=D,di.set=O,di.months=ce,di.monthsShort=de,di.monthsParse=fe,di.monthsRegex=ve,di.monthsShortRegex=ge,di.week=we,di.firstDayOfYear=xe,di.firstDayOfWeek=Oe,di.weekdays=ke,di.weekdaysMin=De,di.weekdaysShort=Ae,di.weekdaysParse=je,di.weekdaysRegex=We,di.weekdaysShortRegex=Be,di.weekdaysMinRegex=Ye,di.isPM=Ke,di.meridiem=Xe,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===T(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=P("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=P("moment.langData is deprecated. Use moment.localeData instead.",rt);var mi=Math.abs,fi=yr("ms"),pi=yr("s"),hi=yr("m"),yi=yr("h"),gi=yr("d"),vi=yr("w"),_i=yr("M"),bi=yr("y"),Ti=_r("milliseconds"),Ei=_r("seconds"),Ci=_r("minutes"),Pi=_r("hours"),Si=_r("days"),wi=_r("months"),Oi=_r("years"),xi=Math.round,Mi={ss:44,s:45,m:45,h:22,d:26,M:11},Ri=Math.abs,Ii=kt.prototype;return Ii.isValid=It,Ii.abs=ar,Ii.add=ur,Ii.subtract=lr,Ii.as=pr,Ii.asMilliseconds=fi,Ii.asSeconds=pi,Ii.asMinutes=hi,Ii.asHours=yi,Ii.asDays=gi,Ii.asWeeks=vi,Ii.asMonths=_i,Ii.asYears=bi,Ii.valueOf=hr,Ii._bubble=dr,Ii.clone=gr,Ii.get=vr,Ii.milliseconds=Ti,Ii.seconds=Ei,Ii.minutes=Ci,Ii.hours=Pi,Ii.days=Si,Ii.weeks=br,Ii.months=wi,Ii.years=Oi,Ii.humanize=Sr,Ii.toISOString=Or,Ii.toString=Or,Ii.toJSON=Or,Ii.locale=Cn,Ii.localeData=Pn,Ii.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Or),Ii.lang=oi,B("X",0,0,"unix"),B("x",0,0,"valueOf"),G("x",oo),G("X",so),J("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),J("x",function(e,t,n){n._d=new Date(T(e))}),t.version="2.20.1",n(wt),t.fn=ci,t.min=xt,t.max=Mt,t.now=Jo,t.utc=m,t.unix=Kn,t.months=tr,t.isDate=u,t.locale=et,t.invalid=y,t.duration=Jt,t.isMoment=_,t.weekdays=rr,t.parseZone=Xn,t.localeData=rt,t.isDuration=At,t.monthsShort=nr,t.weekdaysMin=ir,t.defineLocale=tt,t.updateLocale=nt,t.locales=ot,t.weekdaysShort=or,t.normalizeUnits=j,t.relativeTimeRounding=Cr,t.relativeTimeThreshold=Pr,t.calendarFormat=rn,t.prototype=ci,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},t})}).call(t,n(3)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}}])})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(217),i=r(o),a=n(218),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(99),l=r(u),c=n(218),d=r(c),m=n(223),f=r(m),p=n(232),h={transitionName:p.nameShape.isRequired,transitionAppear:l.default.PropTypes.bool,transitionEnter:l.default.PropTypes.bool,transitionLeave:l.default.PropTypes.bool,transitionAppearTimeout:(0,p.transitionTimeout)("Appear"),transitionEnterTimeout:(0,p.transitionTimeout)("Enter"),transitionLeaveTimeout:(0,p.transitionTimeout)("Leave")},y={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},g=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(u))),r._wrapChild=function(e){return l.default.createElement(f.default,{name:r.props.transitionName,appear:r.props.transitionAppear,enter:r.props.transitionEnter,leave:r.props.transitionLeave,appearTimeout:r.props.transitionAppearTimeout,enterTimeout:r.props.transitionEnterTimeout,leaveTimeout:r.props.transitionLeaveTimeout},e)},a=n,i(r,a)}return a(t,e),t.prototype.render=function(){return l.default.createElement(d.default,s({},this.props,{childFactory:this._wrapChild}))},t}(l.default.Component);g.displayName="CSSTransitionGroup",g.propTypes=h,g.defaultProps=y,t.default=g,e.exports=t.default},function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(220),c=o(l),d=n(99),m=o(d),f=n(221),p=o(f),h=n(222),y={component:m.default.PropTypes.any,childFactory:m.default.PropTypes.func,children:m.default.PropTypes.node},g={component:"span",childFactory:function(e){return e}},v=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.performAppear=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillAppear?t.componentWillAppear(o._handleDoneAppearing.bind(o,e)):o._handleDoneAppearing(e)},o._handleDoneAppearing=function(e){var t=o.childRefs[e];t&&t.componentDidAppear&&t.componentDidAppear(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e)},o.performEnter=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillEnter?t.componentWillEnter(o._handleDoneEntering.bind(o,e)):o._handleDoneEntering(e)},o._handleDoneEntering=function(e){var t=o.childRefs[e];t&&t.componentDidEnter&&t.componentDidEnter(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e)},o.performLeave=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillLeave?t.componentWillLeave(o._handleDoneLeaving.bind(o,e)):o._handleDoneLeaving(e)},o._handleDoneLeaving=function(e){var t=o.childRefs[e];t&&t.componentDidLeave&&t.componentDidLeave(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)?o.performEnter(e):o.setState(function(t){var n=u({},t.children);return delete n[e],{children:n}})},o.childRefs=Object.create(null),o.state={children:(0,h.getChildMapping)(n.children)},o}return s(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},t.prototype.componentWillReceiveProps=function(e){var t=(0,h.getChildMapping)(e.children),n=this.state.children;this.setState({children:(0,h.mergeChildMappings)(n,t)});for(var r in t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var i in n){var a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}},t.prototype.componentDidUpdate=function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},t.prototype.render=function(){var e=this,t=[],n=function(n){var o=e.state.children[n];if(o){var i="string"!=typeof o.ref;"production"!==r.env.NODE_ENV?(0,p.default)(i,"string refs are not supported on children of TransitionGroup and will be ignored. Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute"):void 0,t.push(m.default.cloneElement(e.props.childFactory(o),{key:n,ref:(0,c.default)(i?o.ref:null,function(t){e.childRefs[n]=t})}))}};for(var o in this.state.children)n(o);var i=u({},this.props);return delete i.transitionLeave,delete i.transitionName,delete i.transitionAppear,delete i.transitionEnter,delete i.childFactory,delete i.transitionLeaveTimeout,delete i.transitionEnterTimeout,delete i.transitionAppearTimeout,delete i.component,m.default.createElement(this.props.component,i,t)},t}(m.default.Component);v.displayName="TransitionGroup",v.propTypes=y,v.defaultProps=g,t.default=v,e.exports=t.default}).call(t,n(219))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){h&&f&&(h=!1,f.length?p=f.concat(p):y=-1,p.length&&s())}function s(){if(!h){var e=o(a);h=!0;for(var t=p.length;t;){for(f=p,p=[];++y<t;)f&&f[y].run();y=-1,t=p.length}f=null,h=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,d,m=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var f,p=[],h=!1,y=-1;m.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new u(e,t)),1!==p.length||h||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=l,m.addListener=l,m.once=l,m.off=l,m.removeListener=l,m.removeAllListeners=l,m.emit=l,m.binding=function(e){throw new Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(e){throw new Error("process.chdir is not supported")},m.umask=function(){return 0}},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter(function(e){return null!=e}),0!==t.length)return 1===t.length?t[0]:t.reduce(function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}})}},function(e,t,n){(function(t){"use strict";var n=function(){};"production"!==t.env.NODE_ENV&&(n=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var i=0,a="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}}),e.exports=n}).call(t,n(219))},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(99)},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(224),c=r(l),d=n(227),m=r(d),f=n(228),p=r(f),h=n(230),y=n(99),g=r(y),v=n(231),_=n(232),b=[];h.transitionEnd&&b.push(h.transitionEnd),h.animationEnd&&b.push(h.animationEnd);var T={children:g.default.PropTypes.node,name:_.nameShape.isRequired,appear:g.default.PropTypes.bool,enter:g.default.PropTypes.bool,leave:g.default.PropTypes.bool,appearTimeout:g.default.PropTypes.number,enterTimeout:g.default.PropTypes.number,leaveTimeout:g.default.PropTypes.number},E=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.componentWillAppear=function(e){r.props.appear?r.transition("appear",e,r.props.appearTimeout):e()},r.componentWillEnter=function(e){r.props.enter?r.transition("enter",e,r.props.enterTimeout):e()},r.componentWillLeave=function(e){r.props.leave?r.transition("leave",e,r.props.leaveTimeout):e()},a=n,i(r,a)}return a(t,e),t.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach(function(e){clearTimeout(e)}),this.classNameAndNodeQueue.length=0},t.prototype.transition=function(e,t,n){var r=(0,v.findDOMNode)(this);if(!r)return void(t&&t());var o=this.props.name[e]||this.props.name+"-"+e,i=this.props.name[e+"Active"]||o+"-active",a=null,u=void 0;(0,c.default)(r,o),this.queueClassAndNode(i,r);var l=function(e){e&&e.target!==r||(clearTimeout(a),u&&u(),(0,m.default)(r,o),(0,m.default)(r,i),u&&u(),t&&t())};n?(a=setTimeout(l,n),this.transitionTimeouts.push(a)):h.transitionEnd&&(u=s(r,l))},t.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,p.default)(function(){return n.flushClassNameAndNodeQueue()}))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach(function(e){e.node.scrollTop,(0,c.default)(e.node,e.className)}),this.classNameAndNodeQueue.length=0,this.rafHandle=null},t.prototype.render=function(){var e=u({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,g.default.cloneElement(g.default.Children.only(this.props.children),e)},t}(g.default.Component);E.displayName="CSSTransitionGroupChild",E.propTypes=T,t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var o=n(225);t.__esModule=!0,t.default=r;var i=o(n(226));e.exports=t.default},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t){"use strict";function n(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=n(e.className,t):e.setAttribute("class",n(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-d)),r=setTimeout(e,n);return d=t,r}var o=n(225);t.__esModule=!0,t.default=void 0;var i,a=o(n(229)),s=["","webkit","moz","o","ms"],u="clearTimeout",l=r,c=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};a.default&&s.some(function(e){var t=c(e,"request");if(t in window)return u=c(e,"cancel"),l=function(e){return window[t](e)}});var d=(new Date).getTime();i=function(e){return l(e)},i.cancel=function(e){window[u]&&"function"==typeof window[u]&&window[u](e)};var m=i;t.default=m,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},o=Object.keys(r),i="",a=0;a<o.length;a++){var s=o[a];if(s+"TransitionProperty"in n){i="-"+s.toLowerCase(),e=r[s]("TransitionEnd"),t=r[s]("AnimationEnd");break}}return!e&&"transitionProperty"in n&&(e="transitionend"),!t&&"animationName"in n&&(t="animationend"),n=null,{animationEnd:t,transitionEnd:e,prefix:i}}var o=n(225);t.__esModule=!0,t.default=t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var i=o(n(229)),a="transform";t.transform=a;var s,u,l;t.animationEnd=l,t.transitionEnd=u;var c,d,m,f;t.transitionDelay=f,t.transitionTiming=m,t.transitionDuration=d,t.transitionProperty=c;var p,h,y,g;if(t.animationDelay=g,t.animationTiming=y,t.animationDuration=h,t.animationName=p,i.default){var v=r();s=v.prefix,t.transitionEnd=u=v.transitionEnd,t.animationEnd=l=v.animationEnd,t.transform=a=s+"-"+a,t.transitionProperty=c=s+"-transition-property",t.transitionDuration=d=s+"-transition-duration",t.transitionDelay=f=s+"-transition-delay",t.transitionTiming=m=s+"-transition-timing-function",t.animationName=p=s+"-animation-name",t.animationDuration=h=s+"-animation-duration",t.animationTiming=y=s+"-animation-delay",t.animationDelay=g=s+"-animation-timing-function"}var _={transform:a,end:u,property:c,timing:m,delay:f,duration:d};t.default=_},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=o;var i=n(99),a=r(i);t.nameShape=a.default.PropTypes.oneOfType([a.default.PropTypes.string,a.default.PropTypes.shape({enter:a.default.PropTypes.string,leave:a.default.PropTypes.string,active:a.default.PropTypes.string}),a.default.PropTypes.shape({enter:a.default.PropTypes.string,enterActive:a.default.PropTypes.string,leave:a.default.PropTypes.string,leaveActive:a.default.PropTypes.string,appear:a.default.PropTypes.string,appearActive:a.default.PropTypes.string})])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.LoadRepliesButton=t.LoadRepliesIcon=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(187),g=r(y),v=n(205),_=r(v),b=t.LoadRepliesIcon=function(e){var t=e.checkingForReplies,n=e.iconName,r=e.iconClass;return h.default.createElement("span",{className:"reply-more-replies__icon","aria-hidden":"true"},t?h.default.createElement(_.default,{width:14,height:14}):h.default.createElement(g.default,{iconName:n,additionalClassNames:r}))},T=t.LoadRepliesButton=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={checkingForReplies:n.props.checkingForReplies},n.handleClick=n.handleClick.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.getIcon(),t=this.getIconClass(),n=this.getText();return h.default.createElement("div",{className:"reply-more-replies"},h.default.createElement("button",{className:"reply-more-replies__button","aria-label":this.getAriaLabel(),onClick:this.handleClick},h.default.createElement("span",{className:"reply-more-replies__text"},n),h.default.createElement(b,{checkingForReplies:this.state.checkingForReplies,iconName:e,iconClass:t})))}},{key:"componentDidUpdate",value:function(e){e.checkingForReplies===!0&&this.props.checkingForReplies===!1&&(this.props.setMaxNumberOfRepliesVisible(),this.props.setLoadRepliesAllyMessage(this.isShowMoreReplies()),this.clearSpinTimer(),this.setState({checkingForReplies:!1}))}},{key:"componentWillUnmount",value:function(){this.clearSpinTimer()}},{key:"isShowMoreReplies",value:function(){return this.newRepliesToShow()>0}},{key:"newRepliesToShow",value:function(){return this.props.newRepliesToShow}},{key:"getText",value:function(){return this.isShowMoreReplies()?this.context.theme.formatMessage("moreReplies",{nMoreReplies:this.newRepliesToShow()}):this.context.theme.formatMessage("checkForNewReplies")}},{key:"getAriaLabel",value:function(){return this.isShowMoreReplies()?this.context.theme.formatMessage("displayMoreReplies",{nMoreReplies:this.newRepliesToShow()}):this.context.theme.formatMessage("checkForNewReplies")}},{key:"getIconClass",value:function(){return this.isShowMoreReplies()?"reply-more-replies__icon-gel":"reply-more-replies__icon-gel reply-more-replies__icon-gel-spin"}},{key:"getIcon",value:function(){return this.isShowMoreReplies()?"down":"refresh"}},{key:"sendMoreRepliesErrorStat",value:function(){return this.isShowMoreReplies()?this.props.sendMoreRepliesLoadErrorStat():this.props.sendMoreRepliesCheckErrorStat()}},{key:"startSpinTimer",value:function(){var e=this;this.spinTimer=setTimeout(function(){e.sendMoreRepliesErrorStat(),e.stopSpinner()},this.props.requestTimeoutMs)}},{key:"startSpinner",value:function(){this.setState({checkingForReplies:!0})}},{key:"stopSpinner",value:function(){this.setState({checkingForReplies:!1})}},{key:"clearSpinTimer",value:function(){this.spinTimer&&clearTimeout(this.spinTimer),this.spinTimer=null}},{key:"handleClick",value:function(){this.startSpinner(),this.startSpinTimer(),this.props.onClick()}}]),t}(p.Component);b.displayName="LoadRepliesIcon",b.propTypes={checkingForReplies:p.PropTypes.bool,iconName:p.PropTypes.string,iconClass:p.PropTypes.string},T.displayName="LoadRepliesButton",T.propTypes={onClick:p.PropTypes.func,newRepliesToShow:p.PropTypes.number,checkingForReplies:p.PropTypes.bool,requestTimeoutMs:p.PropTypes.number,setMaxNumberOfRepliesVisible:p.PropTypes.func.isRequired,setLoadRepliesAllyMessage:p.PropTypes.func.isRequired,sendMoreRepliesLoadErrorStat:p.PropTypes.func.isRequired,sendMoreRepliesCheckErrorStat:p.PropTypes.func.isRequired},T.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={replies:"replies",sort:"sort",moreComments:"moreComments",newComments:"newComments"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsButton=void 0;var o=n(2),i=r(o),a=n(99),s=r(a),u=n(148),l=r(u),c=t.CommentsButton=function(e){var t=e.children,n=e.className,r=e.isDisabled,o=e.type,a=void 0===o?"button":o,u=e.onClick,c=e.rel,d=e.ariaLabel,m=e.isFullWidth,f={className:(0,l.default)("comments-button",n,{"comments-button--full-width":m}),disabled:r,onClick:u,"aria-label":d,rel:c};switch(a){case"button":return s.default.createElement("button",f,t);case"submit":return s.default.createElement("input",(0,i.default)({type:"submit",value:t},f));default:return s.default.createElement("noscript",null)}};c.displayName="CommentsButton",c.propTypes={children:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.node),a.PropTypes.node]),className:a.PropTypes.string,isDisabled:a.PropTypes.bool,isFullWidth:a.PropTypes.bool,type:a.PropTypes.oneOf(["button","submit"]),onClick:a.PropTypes.func,rel:a.PropTypes.string,ariaLabel:a.PropTypes.string},c.defaultProps={isFullWidth:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsTextLimit=void 0;var o=n(99),i=r(o),a=n(148),s=r(a),u=t.CommentsTextLimit=function(e){var t=e.remainingCharacters,n=e.isTextOverLimit,r=e.textLimit,o=e.remainingCharactersMessage,a=(0,s.default)("comments__text-limit",{"comments__text-limit--over-limit":n});return i.default.createElement("div",{className:a},i.default.createElement("span",{className:"comment__hidden-text"},o),i.default.createElement("span",{className:"comment__limit-visible-text","aria-hidden":"true"},t+"/"+r))};u.displayName="CommentsTextLimit",u.propTypes={remainingCharacters:o.PropTypes.number.isRequired,isTextOverLimit:o.PropTypes.bool.isRequired,textLimit:o.PropTypes.number.isRequired,remainingCharactersMessage:o.PropTypes.string.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Stylesheets=void 0;var o=n(99),i=r(o),a=t.Stylesheets=function(e){var t=e.stylesheets,n=t.map(function(e,t){return i.default.createElement("link",{rel:"stylesheet",href:e,key:t})});return i.default.createElement("span",null,n)};a.displayName="Stylesheets",a.propTypes={stylesheets:o.PropTypes.arrayOf(o.PropTypes.string)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.IdctaSignedInMessage=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(161),g=n(163),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=(0,y.getActivityHubUrl)((0,g.getEnv)()),t=this.context.WithStatsIncludeCommonLabels,n=this.props.displayName,r=this.context.theme.formatMessage("signedInMessage",{}),o=n?r+", ":r;return h.default.createElement("div",{className:"comments__idcta-msg"},o,n&&h.default.createElement(t,{id:"stats-activity-hub-link",labels:{label:"activity-hub-link"},fireOnView:!0,fireOnClick:!0},h.default.createElement("a",{className:"comments__display-name",href:e},n)))}}]),t}(p.Component);v.displayName="IdctaSignedInMessage",v.propTypes={displayName:p.PropTypes.string },v.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func}),WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired},t.IdctaSignedInMessage=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShowNewCommentsButton=void 0;var o=n(99),i=r(o),a=n(169),s=n(187),u=r(s),l=function(e){return e?i.default.createElement("span",{className:"header-icon-refresh"},i.default.createElement(u.default,{iconName:e})):i.default.createElement("noscript",null)},c=t.ShowNewCommentsButton=function(e){var t=e.newCommentCount,n=e.onClick;if(t<=0)return i.default.createElement("noscript",null);var r=1===t?"":"s",o=t+" new comment"+r,s="Show "+o;return i.default.createElement(a.CommentsButton,{className:"comments-snc-button comments--border comments--shadow",onClick:n,isFullWidth:!0,ariaLabel:s},l("refresh"),o)};c.displayName="ShowNewCommentsButton",c.propTypes={newCommentCount:o.PropTypes.number.isRequired,onClick:o.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsLoading=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(205),g=r(y),v=n(160),_={loading:"Loading...",loadingSlow:"sorry, this seems to be taking a while"},b=t.CommentsLoading=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={showSlowMessage:!1},n.slowMessageTimer=null,n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"startSlowTimer",value:function(){var e=this;this.props.slowMessageTimerInSeconds&&(this.slowMessageTimer=setTimeout(function(){e.setState({showSlowMessage:!0}),e.context.setA11yAlertText(_.loading+" "+_.loadingSlow)},(0,v.secondsToMillis)(this.props.slowMessageTimerInSeconds)))}},{key:"componentDidMount",value:function(){this.startSlowTimer(),this.context.setA11yAlertText(this.context.theme.formatMessage("loading"))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.slowMessageTimer),this.context.setA11yAlertText("")}},{key:"render",value:function(){return h.default.createElement("div",{className:"comments-loading"},h.default.createElement("div",{className:"comments-loading__icon"},h.default.createElement(g.default,null)),h.default.createElement("div",{className:"comments-loading__text"},h.default.createElement("span",null,_.loading),this.state.showSlowMessage&&h.default.createElement("span",null," (",_.loadingSlow,")")))}}]),t}(p.Component);b.displayName="CommentsLoading",b.propTypes={slowMessageTimerInSeconds:p.PropTypes.number},b.contextTypes={setA11yAlertText:p.PropTypes.func.isRequired,theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NoJSMessage=void 0;var o=n(99),i=r(o);t.NoJSMessage=function(){return i.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:'<div class="comments-no-js-message">\n To use comments you will need to have JavaScript enabled.\n </div>'}})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsModerationMessage=void 0;var o=n(99),i=r(o),a=n(148),s=r(a),u=n(196),l=r(u),c=function(e){return i.default.createElement("span",null,"are ",i.default.createElement("a",{className:"comments-moderation__rules-link",href:e},"moderated")," and")},d=t.CommentsModerationMessage=function(e){var t=e.moderationStatus,n=e.rulesPageUrl;return i.default.createElement("p",{className:(0,s.default)("comments-moderation__rules-msg")},"Comments ",t===l.default.PRE_MODERATED.toString()?c(n):""," must follow the ",i.default.createElement("a",{href:n},"house rules"),".")};d.displayName="CommentsModerationMessage",d.propTypes={moderationStatus:o.PropTypes.string,rulesPageUrl:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsSort=void 0;var o=n(117),i=r(o),a=n(48),s=r(a),u=n(53),l=r(u),c=n(54),d=r(c),m=n(58),f=r(m),p=n(91),h=r(p),y=n(99),g=r(y),v=n(244),_=r(v),b=n(205),T=r(b),E=n(245),C=r(E),P=n(148),S=r(P),w=t.CommentsSort=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.handleSort=n.handleSort.bind(n),n}return(0,h.default)(t,e),(0,d.default)(t,[{key:"handleSort",value:function(e){this.props.sortCallback(e)}},{key:"getSortLabel",value:function(e){return this.context.theme.formatMessage("commentsSort"+e)}},{key:"isRelevantOption",value:function(e){var t=this;return!e.featureToggles||e.featureToggles.map(function(e){return t.context.isFeatureEnabled(e)}).some(function(e){return e===!0})}},{key:"getRelevantSortOptions",value:function(){var e=this;return(0,i.default)(_.default).filter(function(t){return e.isRelevantOption(t)}).map(function(e){return e.name})}},{key:"render",value:function(){var e=this,t=this.context.theme.formatMessage,n=t("commentsSortLabel"),r=this.props,o=r.isLoading,i=r.defaultValue,a=(0,S.default)("comments-sort__select",{"comments-sort__select--loading":o}),s=function(e){o&&e.preventDefault()};return g.default.createElement("div",{className:"comments-sort"},g.default.createElement("label",{className:"comments-sort__label","aria-hidden":"true"},"Show"),g.default.createElement("div",{className:"comments-sort__dropdown"},g.default.createElement("select",{id:"sort-select","aria-label":n,className:a,defaultValue:i,onChange:function(t){return e.handleSort(t.target.value)},autoComplete:"off",onMouseDown:s,onKeyPress:s},this.getRelevantSortOptions().map(function(t){return g.default.createElement("option",{id:t,key:t,value:t},e.getSortLabel(t))})),g.default.createElement("div",{className:"comments-sort__icon","aria-hidden":"true"},o?g.default.createElement(T.default,null):g.default.createElement(C.default,null))))}}]),t}(y.Component);w.displayName="CommentsSort",w.propTypes={sortCallback:y.PropTypes.func,isLoading:y.PropTypes.bool,defaultValue:y.PropTypes.string},w.defaultProps={defaultValue:_.default.NewestFirst.name},w.contextTypes={isFeatureEnabled:y.PropTypes.func.isRequired,theme:y.PropTypes.shape({formatMessage:y.PropTypes.func})}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={NewestFirst:{name:"NewestFirst",indexName:"startIndex",statsName:"Latest"},OldestFirst:{name:"OldestFirst",indexName:"startIndex",statsName:"Oldest"},HighestRated:{name:"HighestRated",indexName:"startAtItem",featureToggles:["ratings","downRatings"],statsName:"HighestRated"},MostRepliesFirst:{name:"MostRepliesFirst",indexName:"startAtItem",featureToggles:["replies"],statsName:"MostReplied"}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(99),i=r(o),a=function(){return i.default.createElement("svg",{className:"down-arrow",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M12 21l-10-14h20z"}))};a.displayName="DownArrow",t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsSortError=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(187),g=r(y),v=t.CommentsSortError=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return h.default.createElement("div",{className:"comments-sort-error comments--border comments--shadow"},h.default.createElement("div",{className:"comments-sort-error__icon","aria-hidden":"true"},h.default.createElement(g.default,{iconName:"info",additionalClassNames:"comments-sort__icon-gel"})),h.default.createElement("div",{className:"comments-sort-error__message"},this.context.theme.formatMessage("commentsSortError")))}}]),t}(p.Component);v.displayName="CommentsSortError",v.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ViewCommentsButton=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(187),g=r(y),v=t.ViewCommentsButton=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.totalCommentsCount,n=e.onClick,r=this.context.theme.formatMessage("viewCommentsButton"),o=t>0?", "+t:"",i=""+r+o;return h.default.createElement("div",{className:"comments view-comments-button-container"},h.default.createElement("button",{className:"view-comments-button",onClick:n,"aria-label":i},h.default.createElement("span",{className:"view-comments-button__icon"},h.default.createElement(g.default,{iconName:"comments",additionalClassNames:"view-comments__icon-gel"})),h.default.createElement("span",{className:"view-comments-button__text"},r),t>0&&h.default.createElement("span",{className:"view-comments-button__count"},t)))}}]),t}(p.Component);v.displayName="ViewCommentsButton",v.propTypes={totalCommentsCount:p.PropTypes.number,onClick:p.PropTypes.func},v.defaultProps={totalCommentsCount:0},v.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ForumLinks=t.getForumLinks=void 0;var o=n(150),i=r(o),a=n(2),s=r(a),u=n(99),l=r(u),c=n(178),d=n(181),m=(t.getForumLinks=function(e){var t=e.forumAdminLinks,n=void 0===t?{}:t,r={};return n.administerCommentsForum&&(r.administerCommentsForumUrl=(0,d.formatForumAdminLinkUrlTemplate)(n.administerCommentsForum.url)),(0,s.default)({hasLinks:(0,i.default)(r).length>0},r)},t.ForumLinks=function(e){var t=e.forumLinks;return l.default.createElement(c.ActionLinks,{className:"action-links--forum-links"},l.default.createElement(c.ActionLink,{href:t.administerCommentsForumUrl},"Administer Comment Forum"))});m.displayName="ForumLinks",m.propTypes={forumLinks:u.PropTypes.shape({administerCommentsForumUrl:u.PropTypes.string.isRequired})},m.defaultProps={forumLinks:{}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ToTop=void 0;var o=n(99),i=r(o),a=t.ToTop=function(e){var t=e.height,n=void 0===t?14:t,r=e.width,o=void 0===r?14:r;return i.default.createElement("span",{className:"to-top-icon","aria-hidden":"true"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,width:o,viewBox:"0 0 32 32"},i.default.createElement("rect",{y:"2",width:"32",height:"3"}),i.default.createElement("polygon",{points:"16 5 32 30 23.8 30 16 16.7 8.2 30 0 30 16 5"})))};a.displayName="ToTop",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yAlertMessage=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(179),g=t.A11yAlertMessage=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getMessageFragment",value:function(e){return h.default.createElement("div",{className:"comments__a11y-message comment__hidden-text","aria-live":"assertive","aria-atomic":"true"},e)}},{key:"render",value:function(){return h.default.createElement(y.A11yText,{contents:this.getMessageFragment(this.props.message),timeout:this.props.timeout})}}]),t}(p.Component);g.displayName="A11yAlertMessage",g.propTypes={message:p.PropTypes.string.isRequired,timeout:p.PropTypes.number},g.defaultProps={timeout:0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yPoliteMessage=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(179),g=t.A11yPoliteMessage=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getMessageFragment",value:function(e){return h.default.createElement("div",{className:"comments__a11y-message comment__hidden-text","aria-live":"polite","aria-atomic":"true"},e)}},{key:"render",value:function(){return h.default.createElement(y.A11yText,{contents:this.getMessageFragment(this.props.message),timeout:this.props.timeout})}}]),t}(p.Component);g.displayName="A11yPoliteMessage",g.propTypes={message:p.PropTypes.string.isRequired,timeout:p.PropTypes.number},g.defaultProps={timeout:0}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ThemeVariants={DEFAULT:"default",CHILDRENS:"childrens"},t.Products={DEFAULT:"default",CBBC:"cbbc",CBEEBIES:"cbeebies",OWNIT:"stay-safe",NEWSROUND:"newsround",NIGHTFALL:"nightfall",SPORT:"sport",NEWS:"news"}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={ALERT:"Alert",POLITE:"Polite"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.length<1?0:e[e.length-1].index}Object.defineProperty(t,"__esModule",{value:!0}),t.getNextIndexToLoadFromBySortOrder=t.sortParameterBySortOrder=void 0;var i,a,s=n(153),u=r(s),l=n(244),c=r(l);t.sortParameterBySortOrder=(i={},(0,u.default)(i,c.default.NewestFirst.name,"startIndex"),(0,u.default)(i,c.default.OldestFirst.name,"startIndex"),(0,u.default)(i,c.default.HighestRated.name,"startAtItem"),(0,u.default)(i,c.default.MostRepliesFirst.name,"startAtItem"),i),t.getNextIndexToLoadFromBySortOrder=(a={},(0,u.default)(a,c.default.NewestFirst.name,function(e){var t=o(e);return t>0?t-1:0}),(0,u.default)(a,c.default.OldestFirst.name,function(e){return o(e)+1}),(0,u.default)(a,c.default.HighestRated.name,function(e){return e.length}),(0,u.default)(a,c.default.MostRepliesFirst.name,function(e){return e.length}),a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CannotCommentMessage=void 0;var o=n(99),i=r(o),a=t.CannotCommentMessage=function(e){var t=e.message;return i.default.createElement("p",{dangerouslySetInnerHTML:{__html:t}})};a.displayName="CannotCommentMessage",a.propTypes={message:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.addModeSupportOnBrowser=t.addModeSupport=t.MODE_STANDALONE=void 0;var o=n(257),i=r(o),a=n(125),s=r(a),u=n(264),l=r(u),c=n(164),d=r(c),m=n(265),f=r(m),p=t.MODE_STANDALONE="standalone",h=[p],y=function(e){return"acc"===e?s.default.resolve():d.default.setupIdctaLibrary(e)};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=e.mode;return t===p?(document.title="Standalone Comment Morph View",s.default.all([y(e.idctaEnv),f.default.atiStatsListener()]).then(function(e){var t=(0,i.default)(e,1),n=t[0];return{idctaCss:n}})):s.default.resolve({})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(258),i=r(o),a=n(261),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(259),__esModule:!0}},function(e,t,n){n(73),n(62),e.exports=n(260)},function(e,t,n){var r=n(128),o=n(72)("iterator"),i=n(66);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(262),__esModule:!0}},function(e,t,n){n(73),n(62),e.exports=n(263)},function(e,t,n){var r=n(13),o=n(133);e.exports=n(8).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@3.66.3",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@3.66.3",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@3.66.3",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@3.66.3",e,t,!0)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(156),i=r(o);t.default={atiStatsListener:function(){var e="ac-ati-stats-listener";window.sessionStorage.setItem(e,"[]"),document.addEventListener("bbc-user-event",function(t){var n=JSON.parse(window.sessionStorage.getItem(e));n.push(t.detail),window.sessionStorage.setItem(e,(0,i.default)(n))})}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={MAX_API_LIMIT_PAGE_SIZE:50,MIN_PAG_SIZE_MULTIPLIER:1,MAX_PAG_SIZE_MULTIPLIER:4,PAGE_SIZE:20,REPLIES_PAGE_SIZE:10},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.initialViewOptions={BUTTON:"button",COMMENTS:"comments"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=n(121),s=r(a),u=n(124),l=r(u),c=function(){var e=(0,l.default)(s.default.mark(function e(t){var n=t.apiKey,r=t.forumId;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.default.getAdminLinks({apiKey:n,forumId:r});case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{});case 9:case"end":return e.stop()}},e,this,[[0,6]])}));return function(t){return e.apply(this,arguments)}}(),d=n(269),m=r(d),f=n(181),p=r(f),h=n(208);t.default={getPersonalisationDetails:function(e){var t=this,n=e.apiKey,r=e.forumData,o=e.forumId;return(0,l.default)(s.default.mark(function e(){var a,u;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.default.getModeratedUserDetails(n);case 3:if(a=e.sent,!a.isEditor){e.next=10;break}return e.next=7,c({apiKey:n,forumId:o});case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0={};case 11:return u=e.t0,e.abrupt("return",(0,i.default)({userId:a.modUserId,displayNameModerationStatus:(0,h.toDisplayNameStatus)(a.displayNameStatus),isEditor:a.isEditor,displayNameModerationMessage:r.displayNameModerationMessage,displayNameModerationUrl:r.displayNameModerationUrl},u));case 15:return e.prev=15,e.t1=e.catch(0),e.abrupt("return",{});case 18:case"end":return e.stop()}},e,t,[[0,15]])}))()}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(158),i=r(o),a=n(161),s=r(a),u=n(163),l=n(164);t.default={getModeratedUserDetails:function(e){return(0,l.refreshToken)().then(function(){return i.default.get(s.default.getModeratedUserUrl((0,u.getEnv)()),{headers:{"x-api-key":e}})})}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.themeVariant,n=e.product,r=e.productLabel,o=e.getIcon,a=e.getComponent,u=e.formatMessage;return{themeVariant:t,product:n,productLabel:r,formatMessage:u,getIcon:o,getComponent:a,ratingsNumberPlacement:t===i.ThemeVariants.CHILDRENS?s.default.LEFT:s.default.RIGHT}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(252),a=n(204),s=r(a),u=n(271),l=r(u),c=n(264),d=r(c),m=n(273),f=r(m);t.default={use:function(e){var t=e.component,n=e.themeVariant,r=e.product,a=n===i.ThemeVariants.CHILDRENS?n:i.ThemeVariants.DEFAULT,s=d.default.selfTransitiveThenUpdate("messages-"+a,t),u=l.default.use(s),c=d.default.selfTransitiveThenUpdate("icons-"+a,t),m=d.default.selfTransitiveThenUpdate("product-config-"+a,t),p=r in m?r:"default",h=m[p],y=h.label?h.label:"",g=f.default.use(h,c);return o({themeVariant:a,product:p,productLabel:y,getIcon:g.getIcon,getComponent:g.getComponent,formatMessage:u.formatMessage})}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(272);t.default={use:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{formatMessage:function(t,n){var o=e[t];if(o)return(0,r.formatString)(e[t],n);throw new Error('"'+t+'" does not exist')}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.default)(t).reduce(function(e,n){var r=new RegExp("{{"+n+"}}","g");return e.replace(r,t[n])},e)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(150),a=r(i);t.formatString=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){h[e]=t}function i(e){return e in h?h[e]:m.default}function a(e){return e in y?y[e]:m.default}function s(e){var t=a(e.flagIconDistress);return c.default.createElement(f.DistressMessageFlag,{product:e.product,productLabel:e.label,Logo:t})}function u(e,t){var n=a(e.flagIconNotable);return c.default.createElement(p.NotableMessageFlag,{product:e.product,Logo:n,type:t})}Object.defineProperty(t,"__esModule",{value:!0});var l=n(99),c=r(l),d=n(274),m=r(d),f=n(275),p=n(276),h={},y={};t.default={use:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return y=t,o("distressMessageFlag",s(e)),o("notableCommentFlag",u(e,"comment")),o("notableReplyFlag",u(e,"reply")),{add:o,getIcon:a,getComponent:i}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(99),i=r(o),a=function(){return i.default.createElement("div",{className:"icon"})};a.displayName="PlaceholderIcon",t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DistressMessageFlag=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=t.DistressMessageFlag=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.product,n=e.productLabel,r=e.Logo,o="comment__product-flag-"+t;return h.default.createElement("div",{className:(0,g.default)("comment__distress-message-product-flag",o),role:"text"},h.default.createElement("span",{className:"comment__distress-message-logo"},r&&h.default.createElement(r,null)),h.default.createElement("span",{className:"comment__hidden-text"},"Message from "+n),h.default.createElement("span",{className:"comment__distress-message-username","aria-hidden":"true"},n))}}]),t}(p.Component);v.displayName="DistressMessageFlag",v.propTypes={product:p.PropTypes.string,productLabel:p.PropTypes.string,Logo:p.PropTypes.func}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NotableMessageFlag=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=t.NotableMessageFlag=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.product,n=e.Logo,r=e.type,o="comment__product-flag-"+t,i="comment__product-flag-"+r;return h.default.createElement("div",{className:(0,g.default)("comment__notable-flag","comment__distress-message-product-flag",i,o),"aria-hidden":"true"},h.default.createElement("span",{className:"comment__distress-message-logo comment__product-logo"},n&&h.default.createElement(n,null)))}}]),t}(p.Component);v.displayName="NotableMessageFlag",v.propTypes={product:p.PropTypes.string,Logo:p.PropTypes.func,type:p.PropTypes.string}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={under13:"u13",under16:"u16",under18:"u18",over18:"o18"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsStatsProvider=void 0;var o=n(117),i=r(o),a=n(153),s=r(a),u=n(2),l=r(u),c=n(48),d=r(c),m=n(53),f=r(m),p=n(54),h=r(p),y=n(58),g=r(y),v=n(91),_=r(v),b=n(99),T=r(b),E=n(279),C=n(198),P=n(252),S=n(196),w=r(S),O=t.CommentsStatsProvider=function(e){function t(e){(0,f.default)(this,t);var n=(0,g.default)(this,(t.__proto__||(0,d.default)(t)).call(this,e));return n.state={statsSent:{},instanceIds:{}},n.setStatSent=n.setStatSent.bind(n),n.canSendStat=n.canSendStat.bind(n),n.clearStatsSent=n.clearStatsSent.bind(n),n.getInstanceId=n.getInstanceId.bind(n),n}return(0,_.default)(t,e),(0,h.default)(t,[{key:"setStatSent",value:function(e,t){this.setState(function(n){var r=n.statsSent[e]?n.statsSent[e]:(0,l.default)({},C.postStatsSentValues);r[t]=!0;var o=(0,l.default)({},n.statsSent,(0,s.default)({},e,r));return{statsSent:o}})}},{key:"canSendStat",value:function(e,t){return!(this.state.statsSent[e]&&this.state.statsSent[e][t])}},{key:"clearStatsSent",value:function(e){this.setState(function(t){var n=t.instanceIds[e]?t.instanceIds[e]+1:2;return{statsSent:(0,l.default)({},t.statsSent,(0,s.default)({},e,(0,l.default)({},C.postStatsSentValues))),instanceIds:(0,l.default)({},t.instanceIds,(0,s.default)({},e,n))}})}},{key:"getInstanceId",value:function(e){return this.state.instanceIds[e]?this.state.instanceIds[e]:1}},{key:"getChildContext",value:function(){return{WithStatsIncludeCommonLabels:E.WithStatsIncludeCommonLabels,canSendStat:this.canSendStat,setStatSent:this.setStatSent,clearStatsSent:this.clearStatsSent,getInstanceId:this.getInstanceId}}},{key:"render",value:function(){var e=(0,C.commonStatsLabels)(this.props.forumData,this.props.themeVariant);return T.default.createElement(E.WithStatsCommonLabelsProvider,{labels:e},this.props.children)}}]),t}(b.Component);O.displayName="CommentsStatsProvider",O.propTypes={children:b.PropTypes.node,themeVariant:b.PropTypes.oneOf((0,i.default)(P.ThemeVariants)),forumData:b.PropTypes.shape({title:b.PropTypes.string.isRequired,totalCommentsCount:b.PropTypes.number.isRequired,commentTextLimit:b.PropTypes.number.isRequired,moderation:b.PropTypes.shape({rulesPageUrl:b.PropTypes.string.isRequired,status:b.PropTypes.oneOf((0,i.default)(w.default)).isRequired}),createForum:b.PropTypes.bool.isRequired,isClosed:b.PropTypes.bool.isRequired}).isRequired},O.childContextTypes={WithStatsIncludeCommonLabels:b.PropTypes.func.isRequired,canSendStat:b.PropTypes.func.isRequired,setStatSent:b.PropTypes.func.isRequired,clearStatsSent:b.PropTypes.func.isRequired,getInstanceId:b.PropTypes.func.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"logClickEvent",{enumerable:!0,get:function(){return r.logClickEvent}}),Object.defineProperty(t,"logImpressionEvent",{enumerable:!0,get:function(){return r.logImpressionEvent}}),Object.defineProperty(t,"WithStats",{enumerable:!0,get:function(){return o.WithStats}}),Object.defineProperty(t,"WithStatsCommonLabelsProvider",{enumerable:!0,get:function(){return i.WithStatsCommonLabelsProvider}}),Object.defineProperty(t,"WithStatsIncludeCommonLabels",{enumerable:!0,get:function(){return a.WithStatsIncludeCommonLabels}});var r=n(280),o=n(362),i=n(437),a=n(439)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){(0,a.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var i=n(281);n(282),n(343),n(348),n(351),n(352),n(353),n(354),n(355),n(356),n(358),n(359),Object.defineProperty(t,"__esModule",{value:!0}),t.logImpressionEvent=t.logClickEvent=void 0;var a=i(n(361)),s=function(e){var t=Date.now(),n=t-e,r=Math.floor(n/1e3);return{ELP:r}},u=function(e,t){var n=t?o({},e.metadata,{},s(t)):e.metadata;return o({},e,{metadata:n})},l=function(e,t){return d(o({},u(e,t),{isClick:!0}))};t.logClickEvent=l;var c=function(e,t){return d(u(e,t))};t.logImpressionEvent=c;var d=function(e){return document.dispatchEvent(new CustomEvent("bbc-user-event",{detail:e}))}},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";var r=n(283),o=n(284),i=n(315),a=n(310),s=n(286),u=n(326),l=n(327),c=n(287),d=n(296),m=n(328),f=n(295),p=n(301),h=n(329),y=n(290),g=n(294),v=n(289),_=n(330),b=n(332),T=n(317),E=n(334),C=n(324),P=n(285),S=n(300),w=n(288),O=n(299),x=n(302),M=n(309),R=n(308),I=n(312),N=n(311),k=n(335),A=n(336),D=n(337),L=n(338),j=n(306),F=n(339).forEach,U=R("hidden"),q="Symbol",W="prototype",B=k("toPrimitive"),Y=j.set,V=j.getterFor(q),H=Object[W],z=o.Symbol,G=i("JSON","stringify"),Z=P.f,K=S.f,X=E.f,J=w.f,Q=M("symbols"),$=M("op-symbols"),ee=M("string-to-symbol-registry"),te=M("symbol-to-string-registry"),ne=M("wks"),re=o.QObject,oe=!re||!re[W]||!re[W].findChild,ie=s&&c(function(){return 7!=_(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Z(H,t);r&&delete H[t],K(e,t,n),r&&e!==H&&K(H,t,r)}:K,ae=function(e,t){var n=Q[e]=_(z[W]);return Y(n,{type:q,tag:e,description:t}),s||(n.description=t),n},se=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof z},ue=function(e,t,n){e===H&&ue($,t,n),p(e);var r=g(t,!0);return p(n),d(Q,r)?(n.enumerable?(d(e,U)&&e[U][r]&&(e[U][r]=!1),n=_(n,{enumerable:v(0,!1)})):(d(e,U)||K(e,U,v(1,{})),e[U][r]=!0),ie(e,r,n)):K(e,r,n)},le=function(e,t){p(e);var n=y(t),r=b(n).concat(pe(n));return F(r,function(t){s&&!de.call(n,t)||ue(e,t,n[t])}),e},ce=function(e,t){return void 0===t?_(e):le(_(e),t)},de=function(e){var t=g(e,!0),n=J.call(this,t);return!(this===H&&d(Q,t)&&!d($,t))&&(!(n||!d(this,t)||!d(Q,t)||d(this,U)&&this[U][t])||n)},me=function(e,t){var n=y(e),r=g(t,!0);if(n!==H||!d(Q,r)||d($,r)){var o=Z(n,r);return!o||!d(Q,r)||d(n,U)&&n[U][r]||(o.enumerable=!0),o}},fe=function(e){var t=X(y(e)),n=[];return F(t,function(e){d(Q,e)||d(I,e)||n.push(e)}),n},pe=function(e){var t=e===H,n=X(t?$:y(e)),r=[];return F(n,function(e){!d(Q,e)||t&&!d(H,e)||r.push(Q[e])}),r};if(u||(z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===H&&n.call($,e),d(this,U)&&d(this[U],t)&&(this[U][t]=!1), ie(this,t,v(1,e))};return s&&oe&&ie(H,t,{configurable:!0,set:n}),ae(t,e)},x(z[W],"toString",function(){return V(this).tag}),x(z,"withoutSetter",function(e){return ae(N(e),e)}),w.f=de,S.f=ue,P.f=me,T.f=E.f=fe,C.f=pe,A.f=function(e){return ae(k(e),e)},s&&(K(z[W],"description",{configurable:!0,get:function(){return V(this).description}}),a||x(H,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:z}),F(b(ne),function(e){D(e)}),r({target:q,stat:!0,forced:!u},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var n=z(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:ce,defineProperty:ue,defineProperties:le,getOwnPropertyDescriptor:me}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:fe,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:c(function(){C.f(1)})},{getOwnPropertySymbols:function(e){return C.f(h(e))}}),G){var he=!u||c(function(){var e=z();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))});r({target:"JSON",stat:!0,forced:he},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!se(e))return m(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!se(t))return t}),o[1]=t,G.apply(null,o)}})}z[W][B]||O(z[W],B,z[W].valueOf),L(z,q),I[U]=!0},function(e,t,n){var r=n(284),o=n(285).f,i=n(299),a=n(302),s=n(303),u=n(313),l=n(325);e.exports=function(e,t){var n,c,d,m,f,p,h=e.target,y=e.global,g=e.stat;if(c=y?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(d in t){if(f=t[d],e.noTargetGet?(p=o(c,d),m=p&&p.value):m=c[d],n=l(y?d:h+(g?".":"#")+d,e.forced),!n&&void 0!==m){if(typeof f==typeof m)continue;u(f,m)}(e.sham||m&&m.sham)&&i(f,"sham",!0),a(c,d,f,e)}}},function(e,t){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(t,function(){return this}())},function(e,t,n){var r=n(286),o=n(288),i=n(289),a=n(290),s=n(294),u=n(296),l=n(297),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(287);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(291),o=n(293);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(287),o=n(292),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(295);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(286),o=n(287),i=n(298);e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(284),o=n(295),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(286),o=n(300),i=n(289);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(286),o=n(297),i=n(301),a=n(294),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(295);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(284),o=n(299),i=n(296),a=n(303),s=n(304),u=n(306),l=u.get,c=u.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,m=!!s&&!!s.noTargetGet;return"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),c(n).source=d.join("string"==typeof t?t:"")),e===r?void(l?e[t]=n:a(t,n)):(u?!m&&e[t]&&(l=!0):delete e[t],void(l?e[t]=n:o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&l(this).source||s(this)})},function(e,t,n){var r=n(284),o=n(299);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(305),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(284),o=n(303),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},function(e,t,n){var r,o,i,a=n(307),s=n(284),u=n(295),l=n(299),c=n(296),d=n(308),m=n(312),f=s.WeakMap,p=function(e){return i(e)?o(e):r(e,{})},h=function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var y=new f,g=y.get,v=y.has,_=y.set;r=function(e,t){return _.call(y,e,t),t},o=function(e){return g.call(y,e)||{}},i=function(e){return v.call(y,e)}}else{var b=d("state");m[b]=!0,r=function(e,t){return l(e,b,t),t},o=function(e){return c(e,b)?e[b]:{}},i=function(e){return c(e,b)}}e.exports={set:r,get:o,has:i,enforce:p,getterFor:h}},function(e,t,n){var r=n(284),o=n(304),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(309),o=n(311),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(310),o=n(305);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.2",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(296),o=n(314),i=n(285),a=n(300);e.exports=function(e,t){for(var n=o(t),s=a.f,u=i.f,l=0;l<n.length;l++){var c=n[l];r(e,c)||s(e,c,u(t,c))}}},function(e,t,n){var r=n(315),o=n(317),i=n(324),a=n(301);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(316),o=n(284),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(284);e.exports=r},function(e,t,n){var r=n(318),o=n(323),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(296),o=n(290),i=n(319).indexOf,a=n(312);e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(290),o=n(320),i=n(322),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(321),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(321),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(287),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=u&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(287);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(e,t,n){var r=n(326);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(292);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(293);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r,o=n(301),i=n(331),a=n(323),s=n(312),u=n(333),l=n(298),c=n(308),d=">",m="<",f="prototype",p="script",h=c("IE_PROTO"),y=function(){},g=function(e){return m+p+d+e+m+"/"+p+d},v=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e,t=l("iframe"),n="java"+p+":";return t.style.display="none",u.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},b=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}b=r?v(r):_();for(var e=a.length;e--;)delete b[f][a[e]];return b()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(y[f]=o(e),n=new y,y[f]=null,n[h]=e):n=b(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(286),o=n(300),i=n(301),a=n(332);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,u=0;s>u;)o.f(e,n=r[u++],t[n]);return e}},function(e,t,n){var r=n(318),o=n(323);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(315);e.exports=r("document","documentElement")},function(e,t,n){var r=n(290),o=n(317).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(284),o=n(309),i=n(296),a=n(311),s=n(326),u=n(327),l=o("wks"),c=r.Symbol,d=u?c:c&&c.withoutSetter||a;e.exports=function(e){return i(l,e)||(s&&i(c,e)?l[e]=c[e]:l[e]=d("Symbol."+e)),l[e]}},function(e,t,n){var r=n(335);t.f=r},function(e,t,n){var r=n(316),o=n(296),i=n(336),a=n(300).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(300).f,o=n(296),i=n(335),a=i("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(340),o=n(291),i=n(329),a=n(320),s=n(342),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,d=6==e,m=5==e||d;return function(f,p,h,y){for(var g,v,_=i(f),b=o(_),T=r(p,h,3),E=a(b.length),C=0,P=y||s,S=t?P(f,E):n?P(f,0):void 0;E>C;C++)if((m||C in b)&&(g=b[C],v=T(g,C,_),e))if(t)S[C]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return C;case 2:u.call(S,g)}else if(c)return!1;return d?-1:l||c?c:S}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(e,t,n){var r=n(341);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(295),o=n(328),i=n(335),a=i("species");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var r=n(283),o=n(339).filter,i=n(344),a=n(347),s=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!s||!u},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(287),o=n(335),i=n(345),a=o("species");e.exports=function(e){return i>=51||!r(function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t,n){var r,o,i=n(284),a=n(346),s=i.process,u=s&&s.versions,l=u&&u.v8;l?(r=l.split("."),o=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=r[1]))),e.exports=o&&+o},function(e,t,n){var r=n(315);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(286),o=n(287),i=n(296),a=Object.defineProperty,s=function(e){throw e};e.exports=function(e,t){t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:s,c=i(t,1)?t[1]:void 0;return!!n&&!o(function(){if(u&&!r)return!0;var e={length:-1},t=function(t){u?a(e,t,{enumerable:!0,get:s}):e[t]=1};t(1),t(2147483646),t(4294967294),n.call(e,l,c)})}},function(e,t,n){"use strict";var r=n(283),o=n(349);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(339).forEach,o=n(350),i=n(347),a=o("forEach"),s=i("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){"use strict";var r=n(287);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){var r=n(283);r({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(302),o=Date.prototype,i="Invalid Date",a="toString",s=o[a],u=o.getTime;new Date(NaN)+""!=i&&r(o,a,function(){var e=u.call(this);return e===e?s.call(this):i})},function(e,t,n){var r=n(283),o=n(286),i=n(331);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:i})},function(e,t,n){var r=n(283),o=n(286),i=n(300);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:i.f})},function(e,t,n){var r=n(283),o=n(287),i=n(290),a=n(285).f,s=n(286),u=o(function(){a(1)}),l=!s||u;r({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(283),o=n(286),i=n(314),a=n(290),s=n(285),u=n(357);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,l=i(r),c={},d=0;l.length>d;)n=o(r,t=l[d++]),void 0!==n&&u(c,t,n);return c}})},function(e,t,n){"use strict";var r=n(294),o=n(300),i=n(289);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(283),o=n(329),i=n(332),a=n(287),s=a(function(){i(1)});r({target:"Object",stat:!0,forced:s},{keys:function(e){return i(o(e))}})},function(e,t,n){var r=n(284),o=n(360),i=n(349),a=n(299);for(var s in o){var u=r[s],l=u&&u.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch(e){l.forEach=i}}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,t,n){"use strict";var r=n(363),o=n(281);n(365),Object.defineProperty(t,"__esModule",{value:!0}),t.WithStats=void 0;var i=o(n(367)),a=o(n(368)),s=o(n(369)),u=o(n(370)),l=o(n(372)),c=o(n(371)),d=o(n(373)),m=r(n(99)),f=n(375),p=n(279),h={threshold:.5},y=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,u.default)(this,(0,l.default)(t).call(this,e)),n.onViewed=n.onViewed.bind((0,c.default)(n)),n}return(0,d.default)(t,e),(0,s.default)(t,[{key:"onViewed",value:function(){var e=this.props,t=e.labels,n=e.elapsedTimeSinceTimestamp;(0,p.logImpressionEvent)(t,n)}},{key:"optionalWrapWithIntersectionObserverWrapper",value:function(e,t){var n=this.props.minimumTimeInView;return t?m.default.createElement(f.IntersectionObserverWrapper,(0,i.default)({onVisible:this.onViewed},h,{minimumTimeInView:n}),e):e}},{key:"childWithClickOverride",value:function(e){var t=this,n=e.props.onClick;return m.default.cloneElement(e,{onClick:function(){var e=t.props,r=e.labels,o=e.elapsedTimeSinceTimestamp;(0,p.logClickEvent)(r,o),n&&n.apply(void 0,arguments)}})}},{key:"render",value:function(){var e=this.props,t=e.fireOnClick,n=e.fireOnView,r=e.children,o=r&&r.props,i=o&&t?this.childWithClickOverride(r):r;return this.optionalWrapWithIntersectionObserverWrapper(i,n)}}]),t}(m.Component);t.WithStats=y,y.displayName="WithStats",y.propTypes={children:m.PropTypes.node,labels:m.PropTypes.object.isRequired,fireOnClick:m.PropTypes.bool,fireOnView:m.PropTypes.bool,minimumTimeInView:m.PropTypes.number,elapsedTimeSinceTimestamp:m.PropTypes.number},y.defaultProps={fireOnClick:!1,fireOnView:!1,minimumTimeInView:1e3,elapsedTimeSinceTimestamp:0}},function(e,t,n){function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var i=n(364);e.exports=o},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){var r=n(283),o=n(366);r({target:"Function",proto:!0},{bind:o})},function(e,t,n){"use strict";var r=n(341),o=n(295),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?i(e):t}var o=n(364),i=n(371);e.exports=r},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}var o=n(374);e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){e.exports=n(376)},function(e,t,n){"use strict";var r=n(377),o=n(378);n(379),Object.defineProperty(t,"__esModule",{value:!0}),t.IntersectionObserverWrapper=void 0;var i=o(n(423)),a=o(n(427)),s=o(n(428)),u=o(n(429)),l=o(n(432)),c=o(n(431)),d=o(n(433)),m=r(n(99)),f=n(435),p=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,u.default)(this,(0,l.default)(t).call(this,e)),n.onChange=n.onChange.bind((0,c.default)(n)),n.setRef=n.setRef.bind((0,c.default)(n)),n.visbilityTimer=null,n}return(0,d.default)(t,e),(0,s.default)(t,[{key:"setRef",value:function(e){this.ref=e}},{key:"onChange",value:function(e){var t=this,n=(0,i.default)(e,1),r=n[0],o=this.props,a=o.minimumTimeInView,s=o.onVisible,u=r.isIntersecting;clearTimeout(this.visbilityTimer),u&&(this.visbilityTimer=setTimeout(function(){s(),t.intersectionObserver.unobserve(t.ref)},a))}},{key:"componentDidMount",value:function(){var e=this.props.threshold,t={threshold:e};this.intersectionObserver=(0,f.newIntersectionObserver)(this.onChange,t),this.intersectionObserver.observe(this.ref)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.visbilityTimer),this.intersectionObserver.unobserve(this.ref)}},{key:"render",value:function(){var e=this.props.children;return m.default.createElement("span",{ref:this.setRef},e)}}]),t}(m.Component);t.IntersectionObserverWrapper=p,p.displayName="IntersectionObserverWrapper",p.propTypes={children:m.PropTypes.oneOfType([m.PropTypes.arrayOf(m.PropTypes.node),m.PropTypes.node]),onVisible:m.PropTypes.func.isRequired,threshold:m.PropTypes.number,minimumTimeInView:m.PropTypes.number},p.defaultProps={threshold:1,minimumTimeInView:1e3}},function(e,t){function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}function r(e){if(e&&e.__esModule)return e;var t=n();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}}return r.default=e,t&&t.set(e,r),r}e.exports=r},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){var r=n(380),o=n(383),i=n(397);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:i.f})},function(e,t,n){var r=n(381),o=n(382).f,i=n(396),a=n(399),s=n(403),u=n(410),l=n(422);e.exports=function(e,t){var n,c,d,m,f,p,h=e.target,y=e.global,g=e.stat;if(c=y?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(d in t){if(f=t[d],e.noTargetGet?(p=o(c,d),m=p&&p.value):m=c[d],n=l(y?d:h+(g?".":"#")+d,e.forced),!n&&void 0!==m){if(typeof f==typeof m)continue;u(f,m)}(e.sham||m&&m.sham)&&i(f,"sham",!0),a(c,d,f,e)}}},function(e,t){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(t,function(){return this}())},function(e,t,n){var r=n(383),o=n(385),i=n(386),a=n(387),s=n(391),u=n(393),l=n(394),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(384);e.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(388),o=n(390);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(384),o=n(389),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(392);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(383),o=n(384),i=n(395);e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(381),o=n(392),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(383),o=n(397),i=n(386);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(383),o=n(394),i=n(398),a=n(391),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(392);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(381),o=n(400),i=n(396),a=n(393),s=n(403),u=n(404),l=n(405),c=l.get,d=l.enforce,m=String(u).split("toString");o("inspectSource",function(e){return u.call(e)}),(e.exports=function(e,t,n,o){var u=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;return"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),d(n).source=m.join("string"==typeof t?t:"")),e===r?void(l?e[t]=n:s(t,n)):(u?!c&&e[t]&&(l=!0):delete e[t],void(l?e[t]=n:i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||u.call(this)})},function(e,t,n){var r=n(401),o=n(402);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.3.5",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){var r=n(381),o=n(403),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},function(e,t,n){var r=n(381),o=n(396);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(400);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r,o,i,a=n(406),s=n(381),u=n(392),l=n(396),c=n(393),d=n(407),m=n(409),f=s.WeakMap,p=function(e){return i(e)?o(e):r(e,{})},h=function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var y=new f,g=y.get,v=y.has,_=y.set;r=function(e,t){return _.call(y,e,t),t},o=function(e){return g.call(y,e)||{}},i=function(e){return v.call(y,e)}}else{var b=d("state");m[b]=!0,r=function(e,t){return l(e,b,t),t},o=function(e){return c(e,b)?e[b]:{}},i=function(e){return c(e,b)}}e.exports={set:r,get:o,has:i,enforce:p,getterFor:h}},function(e,t,n){var r=n(381),o=n(404),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},function(e,t,n){var r=n(400),o=n(408),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(393),o=n(411),i=n(382),a=n(397);e.exports=function(e,t){for(var n=o(t),s=a.f,u=i.f,l=0;l<n.length;l++){var c=n[l];r(e,c)||s(e,c,u(t,c))}}},function(e,t,n){var r=n(412),o=n(414),i=n(421),a=n(398);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(413),o=n(381),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){e.exports=n(381)},function(e,t,n){var r=n(415),o=n(420),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(393),o=n(387),i=n(416).indexOf,a=n(409);e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(387),o=n(417),i=n(419),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(418),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(418),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(384),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=u&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a()}var o=n(424),i=n(425),a=n(426);e.exports=r},function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},function(e,t){function n(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.exports=n},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?i(e):t}var o=n(430),i=n(431);e.exports=r},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{ value:e,writable:!0,configurable:!0}}),t&&o(e,t)}var o=n(434);e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n(379),Object.defineProperty(t,"__esModule",{value:!0}),t.newIntersectionObserver=void 0,"undefined"!=typeof window&&n(436);var r=function(e,t){return new IntersectionObserver(e,t)};t.newIntersectionObserver=r},function(e,t){!function(){"use strict";function e(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||u(),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;n?this.intersectionRatio=Number((o/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function t(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=r(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" ")}function n(){return window.performance&&performance.now&&performance.now()}function r(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}function o(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function i(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-o,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}}function s(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):u()}function u(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e,t){for(var n=t;n;){if(n==e)return!0;n=c(n)}return!1}function c(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return void("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));var d=window.document,m=[];t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t.prototype.observe=function(e){var t=this._observationTargets.some(function(t){return t.element==e});if(!t){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},t.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},t.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},t.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},t.prototype._parseRootMargin=function(e){var t=e||"0px",n=t.split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},t.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(d,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(d,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},t.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,i(window,"resize",this._checkForIntersections,!0),i(d,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},t.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),r=t?this._getRootRect():u();this._observationTargets.forEach(function(o){var i=o.element,a=s(i),u=this._rootContainsTarget(i),l=o.entry,c=t&&u&&this._computeTargetAndRootIntersection(i,r),d=o.entry=new e({time:n(),target:i,boundingClientRect:a,rootBounds:r,intersectionRect:c});l?t&&u?this._hasCrossedThreshold(l,d)&&this._queuedEntries.push(d):l&&l.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},t.prototype._computeTargetAndRootIntersection=function(e,t){if("none"!=window.getComputedStyle(e).display){for(var n=s(e),r=n,o=c(e),i=!1;!i;){var u=null,l=1==o.nodeType?window.getComputedStyle(o):{};if("none"==l.display)return;if(o==this.root||o==d?(i=!0,u=t):o!=d.body&&o!=d.documentElement&&"visible"!=l.overflow&&(u=s(o)),u&&(r=a(u,r),!r))break;o=c(o)}return r}},t.prototype._getRootRect=function(){var e;if(this.root)e=s(this.root);else{var t=d.documentElement,n=d.body;e={top:0,left:0,right:t.clientWidth||n.clientWidth,width:t.clientWidth||n.clientWidth,bottom:t.clientHeight||n.clientHeight,height:t.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(e)},t.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},t.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},t.prototype._rootIsInDom=function(){return!this.root||l(d,this.root)},t.prototype._rootContainsTarget=function(e){return l(this.root||d,e)},t.prototype._registerInstance=function(){m.indexOf(this)<0&&m.push(this)},t.prototype._unregisterInstance=function(){var e=m.indexOf(this);e!=-1&&m.splice(e,1)},window.IntersectionObserver=t,window.IntersectionObserverEntry=e}}()},function(e,t,n){"use strict";var r=n(281);n(351),n(352),n(365),Object.defineProperty(t,"__esModule",{value:!0}),t.WithStatsCommonLabelsProvider=void 0;var o=r(n(368)),i=r(n(369)),a=r(n(370)),s=r(n(372)),u=r(n(371)),l=r(n(373)),c=n(99),d=n(280),m=r(n(438)),f=function(e){function t(e){var n;return(0,o.default)(this,t),n=(0,a.default)(this,(0,s.default)(t).call(this,e)),n.getStatsLabels=n.getStatsLabels.bind((0,u.default)(n)),n.state={onLoadedTimestamp:0},n}return(0,l.default)(t,e),(0,i.default)(t,[{key:"getStatsLabels",value:function(e){var t=this.props.labels;return(0,m.default)({},t,e)}},{key:"getChildContext",value:function(){var e=this,t=this.state.onLoadedTimestamp;return{getStatsLabels:this.getStatsLabels,logImpressionEventWithCommonLabels:function(n){return(0,d.logImpressionEvent)(e.getStatsLabels(n),t)},logClickEventWithCommonLabels:function(n){return(0,d.logClickEvent)(e.getStatsLabels(n),t)},onLoadedTimestamp:t}}},{key:"setOnLoadedTimestamp",value:function(){this.setState({onLoadedTimestamp:Date.now()})}},{key:"componentDidMount",value:function(){this.setOnLoadedTimestamp()}},{key:"render",value:function(){return this.props.children}}]),t}(c.Component);t.WithStatsCommonLabelsProvider=f,f.displayName="WithStatsCommonLabelsProvider",f.propTypes={children:c.PropTypes.node,labels:c.PropTypes.object},f.childContextTypes={onLoadedTimestamp:c.PropTypes.number,getStatsLabels:c.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:c.PropTypes.func.isRequired,logClickEventWithCommonLabels:c.PropTypes.func.isRequired}},function(e,t,n){(function(e,n){function r(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function o(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function i(e){return function(t){return e(t)}}function a(e,t){return null==e?void 0:e[t]}function s(e,t){return function(n){return e(t(n))}}function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function l(){this.__data__=Yt?Yt(null):{},this.size=0}function c(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function d(e){var t=this.__data__;if(Yt){var n=t[e];return n===Oe?void 0:n}return Pt.call(t,e)?t[e]:void 0}function m(e){var t=this.__data__;return Yt?void 0!==t[e]:Pt.call(t,e)}function f(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yt&&void 0===t?Oe:t,this}function p(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function h(){this.__data__=[],this.size=0}function y(e){var t=this.__data__,n=D(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Lt.call(t,n,1),--this.size,!0}function g(e){var t=this.__data__,n=D(t,e);return n<0?void 0:t[n][1]}function v(e){return D(this.__data__,e)>-1}function _(e,t){var n=this.__data__,r=D(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function b(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function T(){this.size=0,this.__data__={hash:new u,map:new(Bt||p),string:new u}}function E(e){var t=Q(this,e).delete(e);return this.size-=t?1:0,t}function C(e){return Q(this,e).get(e)}function P(e){return Q(this,e).has(e)}function S(e,t){var n=Q(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function w(e){var t=this.__data__=new p(e);this.size=t.size}function O(){this.__data__=new p,this.size=0}function x(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function M(e){return this.__data__.get(e)}function R(e){return this.__data__.has(e)}function I(e,t){var n=this.__data__;if(n instanceof p){var r=n.__data__;if(!Bt||r.length<we-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new b(r)}return n.set(e,t),this.size=n.size,this}function N(e,t){var n=Kt(e),r=!n&&Zt(e),i=!n&&!r&&Xt(e),a=!n&&!r&&!i&&Jt(e),s=n||r||i||a,u=s?o(e.length,String):[],l=u.length;for(var c in e)!t&&!Pt.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ne(c,l))||u.push(c);return u}function k(e,t,n){(void 0===n||fe(e[t],n))&&(void 0!==n||t in e)||L(e,t,n)}function A(e,t,n){var r=e[t];Pt.call(e,t)&&fe(r,n)&&(void 0!==n||t in e)||L(e,t,n)}function D(e,t){for(var n=e.length;n--;)if(fe(e[n][0],t))return n;return-1}function L(e,t,n){"__proto__"==t&&Ft?Ft(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function j(e){return null==e?void 0===e?Ge:We:jt&&jt in Object(e)?ee(e):ue(e)}function F(e){return _e(e)&&j(e)==Ie}function U(e){if(!ve(e)||ie(e))return!1;var t=ye(e)?xt:st;return t.test(me(e))}function q(e){return _e(e)&&ge(e.length)&&!!lt[j(e)]}function W(e){if(!ve(e))return se(e);var t=ae(e),n=[];for(var r in e)("constructor"!=r||!t&&Pt.call(e,r))&&n.push(r);return n}function B(e,t,n,r,o){e!==t&&Ht(t,function(i,a){if(o||(o=new w),ve(i))Y(e,t,a,n,B,r,o);else{var s=r?r(ce(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),k(e,a,s)}},Ee)}function Y(e,t,n,r,o,i,a){var s=ce(e,n),u=ce(t,n),l=a.get(u);if(l)return void k(e,n,l);var c=i?i(s,u,n+"",e,t,a):void 0,d=void 0===c;if(d){var m=Kt(u),f=!m&&Xt(u),p=!m&&!f&&Jt(u);c=u,m||f||p?Kt(s)?c=s:he(s)?c=Z(s):f?(d=!1,c=H(u,!0)):p?(d=!1,c=G(u,!0)):c=[]:be(u)||Zt(u)?(c=s,Zt(s)?c=Te(s):ve(s)&&!ye(s)||(c=te(u))):d=!1}d&&(a.set(u,c),o(c,u,r,i,a),a.delete(u)),k(e,n,c)}function V(e,t){return Gt(le(e,t,Pe),e+"")}function H(e,t){if(t)return e.slice();var n=e.length,r=Nt?Nt(n):new e.constructor(n);return e.copy(r),r}function z(e){var t=new e.constructor(e.byteLength);return new It(t).set(new It(e)),t}function G(e,t){var n=t?z(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Z(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function K(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?L(n,s,u):A(n,s,u)}return n}function X(e){return V(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&re(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function J(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}function Q(e,t){var n=e.__data__;return oe(t)?n["string"==typeof t?"string":"hash"]:n.map}function $(e,t){var n=a(e,t);return U(n)?n:void 0}function ee(e){var t=Pt.call(e,jt),n=e[jt];try{e[jt]=void 0;var r=!0}catch(e){}var o=wt.call(e);return r&&(t?e[jt]=n:delete e[jt]),o}function te(e){return"function"!=typeof e.constructor||ae(e)?{}:Vt(kt(e))}function ne(e,t){var n=typeof e;return t=null==t?Re:t,!!t&&("number"==n||"symbol"!=n&&ut.test(e))&&e>-1&&e%1==0&&e<t}function re(e,t,n){if(!ve(n))return!1;var r=typeof t;return!!("number"==r?pe(n)&&ne(t,n.length):"string"==r&&t in n)&&fe(n[t],e)}function oe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ie(e){return!!St&&St in e}function ae(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Tt;return e===n}function se(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}function ue(e){return wt.call(e)}function le(e,t,n){return t=qt(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=qt(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=o[i];return u[t]=n(s),r(e,this,u)}}function ce(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function de(e){var t=0,n=0;return function(){var r=Wt(),o=Me-(r-n);if(n=r,o>0){if(++t>=xe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function me(e){if(null!=e){try{return Ct.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function fe(e,t){return e===t||e!==e&&t!==t}function pe(e){return null!=e&&ge(e.length)&&!ye(e)}function he(e){return _e(e)&&pe(e)}function ye(e){if(!ve(e))return!1;var t=j(e);return t==je||t==Fe||t==ke||t==Ye}function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Re}function ve(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function _e(e){return null!=e&&"object"==typeof e}function be(e){if(!_e(e)||j(e)!=Be)return!1;var t=kt(e);if(null===t)return!0;var n=Pt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ct.call(n)==Ot}function Te(e){return K(e,Ee(e))}function Ee(e){return pe(e)?N(e,!0):W(e)}function Ce(e){return function(){return e}}function Pe(e){return e}function Se(){return!1}var we=200,Oe="__lodash_hash_undefined__",xe=800,Me=16,Re=9007199254740991,Ie="[object Arguments]",Ne="[object Array]",ke="[object AsyncFunction]",Ae="[object Boolean]",De="[object Date]",Le="[object Error]",je="[object Function]",Fe="[object GeneratorFunction]",Ue="[object Map]",qe="[object Number]",We="[object Null]",Be="[object Object]",Ye="[object Proxy]",Ve="[object RegExp]",He="[object Set]",ze="[object String]",Ge="[object Undefined]",Ze="[object WeakMap]",Ke="[object ArrayBuffer]",Xe="[object DataView]",Je="[object Float32Array]",Qe="[object Float64Array]",$e="[object Int8Array]",et="[object Int16Array]",tt="[object Int32Array]",nt="[object Uint8Array]",rt="[object Uint8ClampedArray]",ot="[object Uint16Array]",it="[object Uint32Array]",at=/[\\^$.*+?()[\]{}|]/g,st=/^\[object .+?Constructor\]$/,ut=/^(?:0|[1-9]\d*)$/,lt={};lt[Je]=lt[Qe]=lt[$e]=lt[et]=lt[tt]=lt[nt]=lt[rt]=lt[ot]=lt[it]=!0,lt[Ie]=lt[Ne]=lt[Ke]=lt[Ae]=lt[Xe]=lt[De]=lt[Le]=lt[je]=lt[Ue]=lt[qe]=lt[Be]=lt[Ve]=lt[He]=lt[ze]=lt[Ze]=!1;var ct="object"==typeof e&&e&&e.Object===Object&&e,dt="object"==typeof self&&self&&self.Object===Object&&self,mt=ct||dt||Function("return this")(),ft="object"==typeof t&&t&&!t.nodeType&&t,pt=ft&&"object"==typeof n&&n&&!n.nodeType&&n,ht=pt&&pt.exports===ft,yt=ht&&ct.process,gt=function(){try{var e=pt&&pt.require&&pt.require("util").types;return e?e:yt&&yt.binding&&yt.binding("util")}catch(e){}}(),vt=gt&&gt.isTypedArray,_t=Array.prototype,bt=Function.prototype,Tt=Object.prototype,Et=mt["__core-js_shared__"],Ct=bt.toString,Pt=Tt.hasOwnProperty,St=function(){var e=/[^.]+$/.exec(Et&&Et.keys&&Et.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),wt=Tt.toString,Ot=Ct.call(Object),xt=RegExp("^"+Ct.call(Pt).replace(at,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mt=ht?mt.Buffer:void 0,Rt=mt.Symbol,It=mt.Uint8Array,Nt=Mt?Mt.allocUnsafe:void 0,kt=s(Object.getPrototypeOf,Object),At=Object.create,Dt=Tt.propertyIsEnumerable,Lt=_t.splice,jt=Rt?Rt.toStringTag:void 0,Ft=function(){try{var e=$(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ut=Mt?Mt.isBuffer:void 0,qt=Math.max,Wt=Date.now,Bt=$(mt,"Map"),Yt=$(Object,"create"),Vt=function(){function e(){}return function(t){if(!ve(t))return{};if(At)return At(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();u.prototype.clear=l,u.prototype.delete=c,u.prototype.get=d,u.prototype.has=m,u.prototype.set=f,p.prototype.clear=h,p.prototype.delete=y,p.prototype.get=g,p.prototype.has=v,p.prototype.set=_,b.prototype.clear=T,b.prototype.delete=E,b.prototype.get=C,b.prototype.has=P,b.prototype.set=S,w.prototype.clear=O,w.prototype.delete=x,w.prototype.get=M,w.prototype.has=R,w.prototype.set=I;var Ht=J(),zt=Ft?function(e,t){return Ft(e,"toString",{configurable:!0,enumerable:!1,value:Ce(t),writable:!0})}:Pe,Gt=de(zt),Zt=F(function(){return arguments}())?F:function(e){return _e(e)&&Pt.call(e,"callee")&&!Dt.call(e,"callee")},Kt=Array.isArray,Xt=Ut||Se,Jt=vt?i(vt):q,Qt=X(function(e,t,n){B(e,t,n)});n.exports=Qt}).call(t,function(){return this}(),n(106)(e))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){(0,u.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var i=n(363),a=n(281);n(282),n(343),n(348),n(353),n(354),n(355),n(356),n(358),n(359),Object.defineProperty(t,"__esModule",{value:!0}),t.WithStatsIncludeCommonLabels=void 0;var s=a(n(367)),u=a(n(361)),l=a(n(368)),c=a(n(369)),d=a(n(370)),m=a(n(372)),f=a(n(373)),p=i(n(99)),h=n(362),y=function(e){function t(){return(0,l.default)(this,t),(0,d.default)(this,(0,m.default)(t).apply(this,arguments))}return(0,f.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.context.getStatsLabels(this.props.labels),t=o({},this.props,{labels:e});return p.default.createElement(h.WithStats,(0,s.default)({},t,{elapsedTimeSinceTimestamp:this.context.onLoadedTimestamp}),this.props.children)}}]),t}(p.Component);t.WithStatsIncludeCommonLabels=y,y.displayName="WithStatsIncludeCommonLabels",y.propTypes=o({},h.WithStats.propTypes),y.contextTypes={getStatsLabels:p.PropTypes.func.isRequired,onLoadedTimestamp:p.PropTypes.number}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=function(t){function n(e){(0,h.default)(this,n);var t=(0,_.default)(this,(n.__proto__||(0,f.default)(n)).call(this,e));return t.state={isWrappedComponentVisible:!1,isViewCommentsButtonWrapperHidden:!1},t.showWrappedComponent=t.showWrappedComponent.bind(t),t.hideViewCommentsButtonWrapper=t.hideViewCommentsButtonWrapper.bind(t),t}return(0,T.default)(n,t),(0,g.default)(n,[{key:"showWrappedComponent",value:function(){this.setState({isWrappedComponentVisible:!0})}},{key:"isViewCommentsButtonWrapperHidden",value:function(){return this.state.isWrappedComponentVisible}},{key:"isCommentsModuleWrapperHidden",value:function(){return(0,w.not)(this.state.isWrappedComponentVisible)}},{key:"hideViewCommentsButtonWrapper",value:function(){this.isViewCommentsButtonWrapperHidden()&&this.setState({isViewCommentsButtonWrapperHidden:!0})}},{key:"render",value:function(){var t=this.context.WithStatsIncludeCommonLabels,n=this.props.forumData.totalCommentsCount,r={ORD:I.default[this.props.sortOrder].statsName};return C.default.createElement("div",{className:"with-view-comments-button"},C.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<style>\n .view-comments-button-wrapped-component {display: block !important;}\n .view-comments-button-wrapper {display: none !important;}\n </style>"}}),C.default.createElement("div",{className:(0,S.default)("view-comments-button-wrapper",{"view-comments-button-wrapper-hidden":this.isViewCommentsButtonWrapperHidden()})},C.default.createElement(t,{id:"stats-view-comments",labels:{label:"view-comments",metadata:r},fireOnView:!0,fireOnClick:!0,minimumTimeInView:0},C.default.createElement(M.ViewCommentsButton,{totalCommentsCount:n,onClick:this.showWrappedComponent}))),C.default.createElement("div",{className:(0,S.default)("view-comments-button-wrapped-component",{"view-comments-button-wrapped-component-hidden":this.isCommentsModuleWrapperHidden()})},C.default.createElement(e,(0,d.default)({},this.props,{autoFocusHeader:this.state.isWrappedComponentVisible}))))}}]),n}(E.Component);return t.displayName="WithViewCommentsButton("+i(e)+")",t.propTypes={forumData:E.PropTypes.shape({title:E.PropTypes.string.isRequired,totalCommentsCount:E.PropTypes.number.isRequired,commentTextLimit:E.PropTypes.number.isRequired,moderation:E.PropTypes.shape({rulesPageUrl:E.PropTypes.string.isRequired,status:E.PropTypes.oneOf((0,l.default)(x.default)).isRequired}),createForum:E.PropTypes.bool.isRequired,isClosed:E.PropTypes.bool.isRequired}).isRequired,sortOrder:E.PropTypes.oneOf((0,s.default)(I.default))},t.contextTypes={WithStatsIncludeCommonLabels:E.PropTypes.func.isRequired},t}function i(e){return e.displayName||e.name||"Component"}Object.defineProperty(t,"__esModule",{value:!0});var a=n(150),s=r(a),u=n(117),l=r(u),c=n(2),d=r(c),m=n(48),f=r(m),p=n(53),h=r(p),y=n(54),g=r(y),v=n(58),_=r(v),b=n(91),T=r(b);t.withViewCommentsButton=o;var E=n(99),C=r(E),P=n(148),S=r(P),w=n(160),O=n(196),x=r(O),M=n(247),R=n(244),I=r(R)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(",");return t.reduce(function(e,t){if(t.indexOf(":")!==-1){var n=t.trim().split(":"),r=(0,m.default)(n,2),o=r[0],i=r[1];e[o]="on"===i.trim()}return e},{})}function i(e,t,n){var r=function(e,n){return t[n]?(0,c.default)({},e,(0,u.default)({},n,t[n])):e},i=f.reduce(r,{});return n&&(i.featureToggles=o(n)),(0,c.default)({},e,i)}function a(e){var t=e.siteConfig,n=void 0===t?{}:t,r=e.overrideProps,o=void 0===r?{}:r,a=e.toggleOverrides,s=void 0===a?"":a,u=e.shouldOverrideConfig,l=void 0!==u&&u;return n.featureToggles||(n.featureToggles={}),l?i(n,o,s):n}Object.defineProperty(t,"__esModule",{value:!0}),t.overridableProps=void 0;var s=n(153),u=r(s),l=n(2),c=r(l),d=n(257),m=r(d);t.parseToggleOverridesProp=o,t.getConfig=a;var f=t.overridableProps=["pageSize","theme","subtheme","initialView"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.StyleGuideModule=void 0;var o=n(117),i=r(o),a=n(2),s=r(a),u=n(48),l=r(u),c=n(53),d=r(c),m=n(54),f=r(m),p=n(58),h=r(p),y=n(91),g=r(y),v=n(148),_=r(v),b=n(99),T=r(b),E=n(214),C=n(175),P=n(443),S=r(P),w=n(192),O=r(w),x=n(169),M=n(183),R=r(M),I=n(249),N=n(178),k=n(191),A=n(256),D=n(180),L=r(D),j=n(196),F=r(j),U=n(208),q=r(U),W=n(252),B=n(270),Y=r(B),V=n(166),H=n(194),z=n(250),G=function(){},Z=function(e){var t=e.children;return T.default.createElement("h3",{className:"comments-styleguide__heading"},t)},K=function(e){var t=e.children;return t},X=function(){return!1},J=function(){return 1},Q=S.default.getSignedOutResponse(),$=S.default.getSignedInResponse(),ee=S.default.getSignedInResponseWithoutDisplayName(),te={signedIn:!1,signInButton:Q.signInButton},ne={displayName:"test-u16",under16:!0},re=20,oe=10,ie=6e4;Z.displayName="SectionHeading",Z.propTypes={children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node])};var ae=function(e){var t=e.children;return T.default.createElement("h4",{className:"comments-styleguide__subheading"},t)};ae.displayName="SubHeading",ae.propTypes={children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node])};var se=function(e){var t=e.id,n=e.heading,r=e.children,o=e.className;return T.default.createElement("section",{id:t,className:(0,_.default)("comments-styleguide__section",o)},T.default.createElement(Z,null,n),r)};se.displayName="Section",se.propTypes={id:b.PropTypes.string.isRequired,heading:b.PropTypes.string.isRequired,children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node]),className:b.PropTypes.string};var ue="Presenter",le=C.exampleAvatarUrl96x96PngBase64,ce="https://web.archive.org/web/20210116223748/https://wrong_dummy_url",de=function(e){function t(e){(0,d.default)(this,t);var n=(0,h.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e));return n.theme=Y.default.use({component:n,themeVariant:n.props.themeVariant,product:e.product}),(0,A.addModeSupport)({mode:e.mode,component:n}),n.state={audibleMessage:""},n.setA11yAlertText=n.setA11yAlertText.bind(n),n}return(0,g.default)(t,e),(0,f.default)(t,[{key:"setA11yAlertText",value:function(e){var t=this.state.audibleMessage===e?e+" ":e;this.setState({audibleMessage:t})}},{key:"menu",value:function(){return T.default.createElement(se,{heading:"Comments Styleguide",id:"comments-styleguide-menu"},T.default.createElement("ul",null,T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-typography"},"Typography")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-buttons"},"Buttons")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-alerts"},"Alerts")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-form-elements"},"Form Elements")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-header"},"Header")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-footer"},"Footer")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-comment"},"Comment")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-list"},"Comments List")),T.default.createElement("li",null,T.default.createElement("a",{href:"#tool-tip"},"Tooltip")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-ratings"},"Ratings")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-down-ratings"},"Down Ratings")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-replies"},"Replies")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-sort"},"Comments Sort")),T.default.createElement("li",null,T.default.createElement("a",{href:"#view-comments-button"},"View Comments Button"))))}},{key:"typography",value:function(){var e=this.theme.formatMessage("moduleTitleText"),t=this.theme.formatMessage("closedForum");return T.default.createElement(se,{heading:"Typography",id:"comments-typography"},T.default.createElement(ae,null,"Title"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,e),T.default.createElement(x.CommentsTitle,null,"Comments"))),T.default.createElement(ae,null,"Paragraph"),T.default.createElement("p",null,"Sample paragraph with some ",T.default.createElement("b",null,"bold text")," ",T.default.createElement("em",null,"emphasised, italic text")," and a ",T.default.createElement("a",{href:"#"},"Link"),"."),T.default.createElement(ae,null,"Links"),T.default.createElement(N.ActionLink,{href:"#"},"Sample Link"),T.default.createElement(N.ActionLinks,null,T.default.createElement(N.ActionLink,{href:"#"},"Action link without icon"),T.default.createElement(N.ActionLink,{icon:T.default.createElement(R.default,{alignToBaseline:!0}),href:"#"},"Action link with icon")),T.default.createElement(ae,null,"Comments Message"),T.default.createElement("p",{className:"comments__message comments__message--closed-forum"},t))}},{key:"buttons",value:function(){return T.default.createElement(se,{heading:"Buttons",id:"comments-buttons"},T.default.createElement(ae,null,"Active"),T.default.createElement(x.CommentsButton,null,"Post comment"),T.default.createElement(ae,null,"Disabled"),T.default.createElement(x.CommentsButton,{isDisabled:!0},"Post comment"),T.default.createElement(ae,null,"Submit Button"),T.default.createElement(x.CommentsButton,{type:"submit"},"Post comment"),T.default.createElement(ae,null,"More Comments Button"),T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G},"More comments"),T.default.createElement(ae,null,"Show New Comments Button"),T.default.createElement(x.ShowNewCommentsButton,{newCommentCount:2,onClick:G}),T.default.createElement(ae,null,"Stylized button"),T.default.createElement(x.CommentsButton,{className:"comments-button--styled"},"Stylized button"))}},{key:"formElements",value:function(){return T.default.createElement(se,{heading:"Form Elements",id:"comments-form-elements"},T.default.createElement(ae,null,"Expanding Text Area"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(O.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:2,maxRows:8})),T.default.createElement(ae,null,"Comments Input"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsInput,{textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G})))}},{key:"header",value:function(){var e=S.default.getSignedOutResponse(),t=this.theme.formatMessage("moduleTitleText"),n=this.theme.formatMessage("closedForum");return T.default.createElement(se,{heading:"Header",id:"comments-header"},T.default.createElement(ae,null,"Not signed in"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement("p",{ className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0})),T.default.createElement(ae,null,"Not signed in with comments total"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0}),T.default.createElement("div",{className:"comments__comments-total"},T.default.createElement(x.CommentsTotal,{totalCommentsCountIncludingNewComments:10}))),T.default.createElement(ae,null,"Not signed in with longer comments heading title"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"Do you think England will qualify for the World Cup?")),T.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0}),T.default.createElement("div",{className:"comments__comments-total"},T.default.createElement(x.CommentsTotal,{totalCommentsCountIncludingNewComments:10}))),T.default.createElement(ae,null,"Signed In"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(O.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:1,maxRows:8}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Pre-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:ne.under16}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Post-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.POST_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Reactively-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.REACTIVELY_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Signed In With Policy Error"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement("p",{className:"comments__message--user-ineligible"},this.theme.formatMessage("ineligibleToComment",{})),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Closed forum"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What was your highlight of 2017?")),T.default.createElement("p",{className:"comments__message comments__message--closed-forum"},n)))}},{key:"footer",value:function(){var e=this.theme.formatMessage("backToTop");return T.default.createElement(se,{heading:"Footer",id:"comments-footer"},T.default.createElement(ae,null,"Without more comments"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,"With more comments"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G,rel:"next"},"More comments"),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,"With slow loading message"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsLoading,{slowMessageTimerInSeconds:6}),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,"With error message"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR},this.theme.formatMessage((0,H.getMessageKeyForError)(V.ErrorTypes.MORE_COMMENTS_FAILED))),T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G,rel:"next"},"More comments"),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(I.ToTop,null))))))}},{key:"comment",value:function(){var e=(0,E.moment)(),t=(0,E.moment)().subtract(1,"year"),n={reportUrl:"/#/"},r="/rulesPageUrl";return T.default.createElement(se,{heading:"Comment",id:"comments-comment"},T.default.createElement(ae,null,"Contributor Avatar Image"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!1,avatarImageUrl:le}),T.default.createElement(ae,null,"Contributor Avatar Letter"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!1}),T.default.createElement(ae,null,"Contributor Avatar Letter for current user"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!0}),T.default.createElement(ae,null,"Username"),T.default.createElement(x.Username,null,"ApricotLaughingIguana"),T.default.createElement(ae,null,"Description"),T.default.createElement(x.UserDescription,null,"Presenter"),T.default.createElement(ae,null,"Date/Time"),T.default.createElement("b",null,"Today:"),T.default.createElement(x.PostedDate,{time:e.format(),formattedTime:e.format("HH:mm")}),T.default.createElement("b",null,"This year:"),T.default.createElement(x.PostedDate,{time:e.format(),formattedTime:e.format("HH:mm D MMM")}),T.default.createElement("b",null,"Last year:"),T.default.createElement(x.PostedDate,{time:t.format(),formattedTime:t.format("HH:mm D MMM YYYY")}),T.default.createElement(ae,null,"Single line comment"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a single line comment",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Multi-line comment"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:1,id:1,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a test comment that goes on for quite a while and it<br />\n spans over multiple lines and contains further lines that are separated by<br /><br />\n many line breaks.<br /> And also emojis &#x1f602;",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,description:ue,avatarUrl:le},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment without description"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,avatarUrl:le},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment without avatar image"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,description:ue},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment with wrong avatar url image"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,avatarUrl:ce,description:ue},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment without description and avatar image"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment with admin links"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,replies:[],author:{displayName:"HackerTDog",isNotable:!0,userId:100,description:ue,avatarUrl:le},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:r,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with Distress Message"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:2,totalReplies:0,replies:[],distressMessage:{text:"Hi UnicornPrincess,<br><br>\n you sound like you need to talk to someone about what you are going through at the moment.\n You could speak to a family member, a friend, a guardian or a teacher.<br><br>\n If there's really no one you can speak to, you can speak with a ChildLine counsellor by calling\n 0800 11 11 (calls are free), visiting their website at childline.org.uk, or by downloading\n the free ChildLine app, called For Me.<br><br>\n Or you could call the Samaritans on their helpline: 08457 90 90 90 (charged at local rates) or visit their website.<br><br>\n Always remember bullying is NOT acceptable and you don't have to stand for it<br><br>\n For further help, we also have some useful advice and helplines.<br><br>\n We hope this helps,<br>\n CBBC"},author:{displayName:"UnicornPrincess",isNotable:!1,userId:100},dateCreated:"2019-02-20T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"I love this episode. I know what Drew is feeling.<br />\n I am being bullied too and sometimes you just need to ignore them :( <br /><br />\n <br /> And also emojis &#x1f601;",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with Distress Message with admin links"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],distressMessage:{text:"Hi Spiderman,<br><br>\n you sound like you need to talk to someone about what you are going through at the moment.\n You could speak to a family member, a friend, a guardian or a teacher."},author:{displayName:"Spiderman",isNotable:!1,userId:300},dateCreated:"2019-08-02T11:56:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This a comment with a Distress Message if you are logged as moderator",status:L.default.PASS},rulesPageUrl:r,personalisationDetails:{isEditor:!0,commentAdminLinks:{makeTopPick:{url:"#AdminLink-makeTopPick"},memberDetails:{url:"#AdminLink-memberDetails"},viewModerationHistory:{url:"#AdminLink-viewModerationHistory"}}},forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with admin links (closed)"),T.default.createElement("p",null,'(this causes an React Warning/Error: "checksum was invalid" in the console that you can ignore)'),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment with admin links",status:L.default.PASS},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with admin links (open)"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment with admin links",status:L.default.PASS},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,"Comment that failed moderation"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"CaptainAmerica",isNotable:!1,userId:100},dateCreated:"2019-04-10T10:08:45+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment that failed moderation",status:L.default.FAIL},rulesPageUrl:r,forumId:"dummy",idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,"Comment that failed moderation with admin links"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment with admin links",status:L.default.FAIL},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,"Comment by the current user"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment by the current user who has an un-moderated display name",status:L.default.PASS},personalisationDetails:{userId:100,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with link inside comment"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:'This is a comment that has a <a href="dummy/url">link</a>.',status:L.default.PASS},personalisationDetails:{userId:100,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment by the current user with an un-moderated display name"),T.default.createElement("br",null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"U16123456",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment by the current user who has an un-moderated display name",status:L.default.PASS},personalisationDetails:{userId:100,displayNameModerationStatus:q.default.FAILED_OR_AWAITING,displayNameModerationMessage:"Where is my display name?",displayNameModerationUrl:"/moderation/user/help",commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}))}},{key:"commentsList",value:function(){var e={reportUrl:"/#/"},t="/rulesPageUrl",n=function t(n,r){var o=n.id,i=n.text,a=n.reply,s=n.displayName,u=(0,E.moment)().subtract(3*(r-o),"minutes").format();return{index:o,id:1233+o,key:1233+o,author:{displayName:s||"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:u,actions:e,text:i,rating:{positive:0,negative:0},status:L.default.PASS,replies:a?[t({id:o+1,text:a,displayName:"CarrotSmilingGiraffe",inReplyToId:0,commentId:0})]:[],totalReplies:a?1:0,replyTo:{displayName:"displayNamePlaceholder",text:"text placeholder"}}},r=4,o=[n({id:3,text:"This is a single line comment"},r),n({id:2,text:"This is another single line comment, with replies",reply:"This is the first reply to a parent comment"},r),n({id:1,text:"This is a test comment that goes on for quite a while and it<br />spans over multiple lines and contains further lines that are separated by<br /><br />many line breaks.<br /> And also emojis &#x1f602;"},r),n({id:0,text:"&#x1f602;"},r)];return T.default.createElement(se,{heading:"Comments List",id:"comments-list"},T.default.createElement(ae,null,"Standard List"),T.default.createElement(x.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:"dummy",idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0}),T.default.createElement(ae,null,"New comments available"),T.default.createElement("div",null,T.default.createElement("div",{className:"comments__show-new-comments-container"},T.default.createElement(x.ShowNewCommentsButton,{newCommentCount:12,onClick:G})),T.default.createElement(x.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:"dummy",idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0})))}},{key:"alerts",value:function(){var e=this.theme.formatMessage("postCommentSuccessPremoderated"),t=this.theme.getIcon("SuccessIcon");return T.default.createElement(se,{heading:"Alerts",id:"comments-alerts"},T.default.createElement(ae,null,"Under Character Limit Message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,{remainingCharacters:2,isTextOverLimit:!1,textLimit:750,remainingCharactersMessage:"You have 2 characters remaining"})),T.default.createElement(ae,null,"Over Character Limit Message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,{remainingCharacters:-5,isTextOverLimit:!0,textLimit:750,remainingCharactersMessage:"You've written 5 too many characters!"})),T.default.createElement(ae,null,"Error Message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR},"Sorry, there was a problem. Please refresh your browser and try again.")),T.default.createElement(ae,null,"Success Message Pre-moderated"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.SUCCESS,Icon:t},e)),T.default.createElement(ae,null,"Comments Loading"),T.default.createElement(x.CommentsLoading,null))}},{key:"ratings",value:function(){var e=this,t=function(t){return T.default.createElement(x.CommentRating,(0,s.default)({ratingType:"positive",Icon:e.theme.getIcon("Upvote"),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:"right",handleClick:G},t))};return T.default.createElement(se,{heading:"Ratings",id:"comments-ratings"},T.default.createElement(ae,null,"Positive rating"),T.default.createElement("p",null,"Text on the right side."),T.default.createElement("div",null,T.default.createElement(t,null)),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999})),T.default.createElement("p",null,"Text on the left side."),T.default.createElement("div",null,T.default.createElement(t,{numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99,numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999,numberPlacement:"left"})),T.default.createElement(ae,null,"Sending"),T.default.createElement(t,{isSendingRating:!0}),T.default.createElement(ae,null,"Rated"),T.default.createElement(t,{hasRatedComment:!0}),T.default.createElement(ae,null,"Disabled"),T.default.createElement(t,{isDisabled:!0}))}},{key:"donwRatings",value:function(){var e=this,t=function(t){return T.default.createElement(x.CommentRating,(0,s.default)({ratingType:"negative",Icon:e.theme.getIcon("Downvote"),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:"right",handleClick:G},t))};return T.default.createElement(se,{heading:"Down Ratings",id:"comments-down-ratings"},T.default.createElement(ae,null,"Negative rating"),T.default.createElement("p",null,"Text on the right side."),T.default.createElement("div",null,T.default.createElement(t,null)),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999})),T.default.createElement("p",null,"Text on the left side."),T.default.createElement("div",null,T.default.createElement(t,{numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99,numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999,numberPlacement:"left"})),T.default.createElement(ae,null,"Sending"),T.default.createElement(t,{isSendingRating:!0}),T.default.createElement(ae,null,"Down Rated"),T.default.createElement(t,{hasRatedComment:!0}),T.default.createElement(ae,null,"Disabled"),T.default.createElement(t,{isDisabled:!0}))}},{key:"tooltip",value:function(){var e=S.default.getSignedOutResponse(),t=this.theme.formatMessage("tooltipErrorSubtitle"),n=this.theme.formatMessage("otherErrorBody");return T.default.createElement(se,{heading:"Tooltip",id:"tool-tip"},T.default.createElement(ae,null,"Tooltip"),T.default.createElement("div",{className:"comments-styleguide__tooltip"},T.default.createElement(x.Tooltip,{subtitle:"Sign in to your BBC account to do this.",handleClose:G,shouldAutoFocus:!1},T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}))),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement(ae,null,"Error Tooltip"),T.default.createElement("div",{className:"comments-styleguide__tooltip"},T.default.createElement(x.Tooltip,{subtitle:t,isAlert:!0,handleClose:G,shouldAutoFocus:!1},n)),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement(ae,null,"Tooltip Launcher"),T.default.createElement(x.TooltipLauncher,{tooltipSubtitle:"Sign in to your BBC account to do this.",isTooltipOpen:!1,tooltipBody:T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton})},T.default.createElement(x.CommentsButton,null,"Click me to view Tooltip")))}},{key:"replies",value:function(){var e={reportUrl:"/#/"},t="/rulesPageUrl",n=["This is a snippet only with text","&#x1f602;","&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;","<br /><br /><br />&nbsp;&nbsp;Yee&#x1f602;eeeeeeeeeeeeeeee&nbsp&nbsp&nbsp&#x1f602;<br />\n &nbsp;&nbsp;&nbsp;&nbsp&nbsp&nbspis a snippet &#x1f602; with everything.<br />\n Emoticons &#x1f602;&#x1f602;&#x1f602; and text like this and break lines<br />\n like this, I really like this snippet component &#x1f602;&#x1f602;&#x1f602;&#x1f602;"];return T.default.createElement(se,{heading:"Replies",id:"comments-replies"},T.default.createElement(ae,null,"Reply button"),T.default.createElement(x.ReplyButton,null),T.default.createElement(ae,null,"Reply functionality when signed out"),T.default.createElement(x.Comment,{commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"Superman",isNotable:!1,userId:200},dateCreated:"2019-04-02T16:33:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This is a single line comment with Reply Button and functionality when signed out",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Reply functionality when the user is ineligible to comment"),T.default.createElement(x.Comment,{commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"MrBean",isNotable:!1,userId:100},dateCreated:"2019-04-12T10:08:38+00:00",actions:e,rating:{positive:0,negative:0},text:"This is a comment that the user can not reply because the user is ineligible to comment",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:ee}),T.default.createElement(ae,null,"Replying to a parent comment"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"Thor",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This is a single line comment with Reply Button and functionality when signed in and the user is eligible to comment",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:$}),T.default.createElement(ae,null,"Replying to a reply"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Hercules",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Hercules",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Reply snippet in place"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:12345,author:{displayName:"CarpetMan",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602;<br />This is the test comment that goes on for quite a while and it<br />\n spans over multiple lines and contains further lines that are separated by<br /><br />\n many line breaks.<br /> And also emojis &#x1f602;",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:12346,author:{displayName:"WaterMan",isNotable:!1,userId:100},dateCreated:"2019-04-06T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS,inReplyToId:12345,commentId:12345,replyTo:{displayName:"CarpetMan",text:"&#x1f602;<br />This is the test comment that goes on for quite a while and it<br />\n spans over multiple lines and contains further lines that are separated by<br /><br />\n many line breaks.<br /> And also emojis &#x1f602;" }}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Reply snippet only text"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[0]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"SugarMan",replyToMsg:n[0]})),T.default.createElement(ae,null,"Reply snippet only 1 emoticon"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[1]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"SaltMan",replyToMsg:n[1]})),T.default.createElement(ae,null,"Reply snippet only emoticons"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[2]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"PepperMan",replyToMsg:n[2]})),T.default.createElement(ae,null,"Reply snippet mixed"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[3]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"CurryMan",replyToMsg:n[3]})),T.default.createElement(ae,null,"More replies"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:123456,author:{displayName:"PeterPan",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:13,replies:[{index:12,id:12,author:{displayName:"Bambi",isNotable:!1,userId:100},dateCreated:"2019-04-07T07:24:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 1",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:11,id:11,author:{displayName:"LionKing",isNotable:!1,userId:100},dateCreated:"2019-04-06T08:39:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 2, replying to Bambi",status:L.default.PASS,inReplyToId:12,commentId:123456,replyTo:{displayName:"Bambi",text:"This is a example of reply number 1"}},{index:10,id:10,author:{displayName:"Romeo",isNotable:!1,userId:100},dateCreated:"2019-04-05T05:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 3, replying to LionKing",status:L.default.PASS,inReplyToId:11,commentId:123456,replyTo:{displayName:"LionKing",text:"This is a example of reply number 2, replying to Bambi"}},{index:9,id:9,author:{displayName:"Wendy",isNotable:!1,userId:100},dateCreated:"2019-04-05T05:00:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 4",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:8,id:8,author:{displayName:"CaptainHook",isNotable:!1,userId:100},dateCreated:"2019-04-05T04:00:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 5",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:7,id:7,author:{displayName:"Julieta",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 6",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:6,id:6,author:{displayName:"Shirkan",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 7",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:5,id:5,author:{displayName:"Rambo",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:01:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 8",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:4,id:4,author:{displayName:"Rocky",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 9",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:3,id:3,author:{displayName:"LuckyLuke",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 10",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:2,id:2,author:{displayName:"CristobalColon",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:01:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 11",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:1,id:1,author:{displayName:"Nadal",isNotable:!1,userId:100},dateCreated:"2019-04-05T01:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 12",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}},{index:0,id:0,author:{displayName:"Federer",isNotable:!1,userId:100},dateCreated:"2019-04-05T01:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 13",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Error after posting a reply"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement("div",{className:"reply"},T.default.createElement("div",{className:"reply__signedin"},T.default.createElement("div",{className:"reply__signedin-eligible"},T.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to Albert"),T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR},this.theme.formatMessage("postCommentIdctaError")),T.default.createElement(x.CommentsInput,{isDisabled:!0,commentInputClass:"reply-input",textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G}))))),T.default.createElement(ae,null,"Confirmation after posting a reply"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement("div",{className:"reply"},T.default.createElement("div",{className:"reply__signedin"},T.default.createElement("div",{className:"reply__signedin-eligible"},T.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to Henry"),T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.SUCCESS,Icon:this.theme.getIcon("SuccessIcon")},this.theme.formatMessage("postCommentSuccessPremoderated")),T.default.createElement(x.CommentsInput,{isDisabled:!0,commentInputClass:"reply-input",textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G}))))),T.default.createElement(ae,null,"Reply of removed parent"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Planetman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This comment was removed",status:L.default.FAIL,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Planetman",text:"This comment was removed"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Reply of removed parent with admin links"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Planetman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This comment was removed",status:L.default.FAIL,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Planetman",text:"This comment was removed"}}]},rulesPageUrl:t,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Removed reply"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Earthman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Riceman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.FAIL,inReplyToId:0,commentId:0,replyTo:{displayName:"Riceman",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Removed reply with admin links"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Martianman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Foodman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.FAIL,inReplyToId:0,commentId:0,replyTo:{displayName:"Martianman",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Replied by notable"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Hercules",isNotable:!0,userId:300,description:ue,avatarUrl:le},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Hercules",isNotable:!0,userId:100,description:ue,avatarUrl:le},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Hercules",text:"&#x1f602; This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(z.A11yAlertMessage,{timeout:ie,message:this.state.audibleMessage}))}},{key:"commentsSort",value:function(){return T.default.createElement(se,{heading:"Comments Sort",id:"comments-sort"},T.default.createElement(ae,null,"Comments Sort Select"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.CommentsSort,null)),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.CommentsSort,{isLoading:!0})),T.default.createElement(ae,null,"Comments Sort Error"),T.default.createElement(x.CommentsSortError,null))}},{key:"viewCommentsButton",value:function(){return T.default.createElement(se,{heading:"View Comments Button",id:"view-comments-button"},T.default.createElement(ae,null,"With comments"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:1})),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:11})),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:263})),T.default.createElement(ae,null,"Without comments"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,null)))}},{key:"getChildContext",value:function(){return{isFeatureEnabled:function(){return!0},apiKey:"styleguide",forumId:"noForum",theme:this.theme,setA11yAlertText:this.setA11yAlertText,triggerAggregatorDataFetch:G,logImpressionEventWithCommonLabels:G,WithStatsIncludeCommonLabels:K,logClickEventWithCommonLabels:G,canSendStat:X,setStatSent:G,clearStatsSent:G,getInstanceId:J,noJS:!1}}},{key:"render",value:function(){var e=this.theme,t=e.themeVariant,n=e.product;return T.default.createElement("div",{className:(0,_.default)("comments-theme-variant--"+t,"comments__product--"+n)},T.default.createElement("div",{className:"comments-styleguide comments"},T.default.createElement(x.NoJSMessage,null),this.menu(),this.typography(),this.buttons(),this.alerts(),this.formElements(),this.header(),this.footer(),this.comment(),this.commentsList(),this.tooltip(),this.ratings(),this.donwRatings(),this.replies(),this.commentsSort(),this.viewCommentsButton()))}}]),t}(b.Component);de.displayName="StyleGuideModule",de.propTypes={mode:b.PropTypes.string,themeVariant:b.PropTypes.string,product:b.PropTypes.oneOf((0,i.default)(W.Products))},de.defaultProps={mode:A.MODE_STANDALONE,themeVariant:W.ThemeVariants.DEFAULT,product:W.Products.DEFAULT},de.childContextTypes={isFeatureEnabled:b.PropTypes.func.isRequired,apiKey:b.PropTypes.string.isRequired,forumId:b.PropTypes.string.isRequired,theme:b.PropTypes.shape({formatMessage:b.PropTypes.func.isRequired,getIcon:b.PropTypes.func.isRequired,getComponent:b.PropTypes.func.isRequired,ratingsNumberPlacement:b.PropTypes.string.isRequired}).isRequired,setA11yAlertText:b.PropTypes.func,triggerAggregatorDataFetch:b.PropTypes.func,logImpressionEventWithCommonLabels:b.PropTypes.func,WithStatsIncludeCommonLabels:b.PropTypes.func.isRequired,logClickEventWithCommonLabels:b.PropTypes.func,canSendStat:b.PropTypes.func.isRequired,setStatSent:b.PropTypes.func.isRequired,clearStatsSent:b.PropTypes.func.isRequired,getInstanceId:b.PropTypes.func.isRequired,noJS:b.PropTypes.bool.isRequired},t.StyleGuideModule=de},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(165),i=r(o);t.default={getSignedOutResponse:function(){return i.default.new().signedIn(!1).withSignInButton('<span class="id5-cta__button">\n <a class="id5-cta__button-signin" href="javascript:alert(\'Stubbed IDCTA\')">Sign in</a>\n or <a class="id5-cta__button-register" href="javascript:alert(\'Stubbed IDCTA\')">Register</a>\n </span>').build()},getSignedInResponse:function(){return i.default.new().signedIn(!0).withPolicyCheck(!1).withSignedInMessage('<span class="id5-cta__message">You\'re signed in as test-u16. <a href="#">Sign out</a><span>').build()},getSignedInResponseWithUnder16PolicyError:function(){return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage('<span class="id5-cta__policy-error">Sorry, it looks like you’re not the right age to comment.</span>').build()},getSignedInResponseWithoutDisplayName:function(){return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage('<p class="id4-cta" style="padding:12px 0px; line-height:38px; font-size:1.2em;">\n <span class="id5-cta__no-display-name">You need a display name to comment, reply and react.\n <a href="javascript:alert(\'Stubbed IDCTA\')">Create a display name</a>\n </span>\n </p>').build()}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=n(150),s=r(a),u=n(445),l=r(u),c=n(446),d=n(234),m=r(d),f=n(244),p=r(f),h=n(254),y=function(e){return null!==e};t.default=l.default.create({displayName:"CommentsAggregator",getInitialState:function(){return{firstPageOfCommentsRequestUri:null,latestCommentsDataRequestUri:null,commentsDataPaginationRequestUri:null,loadedComments:this.buildSortOrderArrays(),forumData:{totalCommentsCount:0},repliesDataPaginationRequestUri:null,sortDataRequestUri:null,retryCounters:{},sortOrder:p.default.NewestFirst.name,latestResponseType:null,fetchingSortedComments:!1,canLoadMore:!1,alreadySortedByNewestFirst:!1}},buildSortOrderArrays:function(){return(0,s.default)(p.default).reduce(function(e,t){return e[t]=[],e},{})},listenerAdded:function(e){switch(e.requestType){case m.default.replies:this.repliesListenerAdded(e);break;case m.default.sort:this.sortListenerAdded(e);break;case m.default.newComments:this.newCommentsListenerAdded(e);break;default:this.commentsListenerAdded(e),this.newCommentsListenerAdded(e)}},sortListenerAdded:function(e){var t=(0,i.default)({},e.commentsDataUri);if(this.state.sortOrder!==e.sortOrder){var n=p.default[e.sortOrder].indexName;this.state.sortOrder=e.sortOrder,t.pageSize=e.initialPageSize,delete t[n],t.sortOrder=e.sortOrder,t.retry=this.getRetryCounter(e.sortOrder),this.state.sortDataRequestUri=t,this.state.fetchingSortedComments=!0}},getSortParameter:function(e){return h.sortParameterBySortOrder[e]},newCommentsListenerAdded:function(e){var t=(0,i.default)({},e.commentsDataUri),n=t.forumId,r=t.apiKey,o=this.getLoadedComments(p.default.NewestFirst.name),a=(0,c.getIndexOfLatestComment)(o);this.state.latestCommentsDataRequestUri={forumId:n,apiKey:r,sinceIndex:a,data:"bbc-morph-comments-data"}},commentsListenerAdded:function(e){var t=(0,i.default)({},e.commentsDataUri),n=this.getSortParameter(this.state.sortOrder);e.nextIndexToLoadFrom>0?(t[n]=e.nextIndexToLoadFrom,t.pageSize=e.pageSize,t.sortOrder=this.state.sortOrder,this.state.commentsDataPaginationRequestUri=t):this.state.firstPageOfCommentsRequestUri=t},repliesListenerAdded:function(e){var t=(0,i.default)({},e.repliesDataUri),n=this.getRetryCounter(e.parentCommentId,e.nextReplyIndexToLoadFrom,e.repliesDataUri.pageSize);this.setCheckingForReplies({commentId:e.parentCommentId,value:!0}),t.startIndex=e.nextReplyIndexToLoadFrom,t.commentId=e.parentCommentId,t.retry=n,this.state.repliesDataPaginationRequestUri=t},getRetryCounter:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.join(),o=this.state.retryCounters.hasOwnProperty(r)?this.state.retryCounters[r]:null,i=o?o+1:1;return this.state.retryCounters[r]=i,i},handleFirstPageOfCommentsDataResponse:function(e){var t=e.sortOrder,n=t===p.default.NewestFirst.name,r=(0,c.mapComments)(e.comments),o=this.getLoadedComments(t),i=(0,c.prependNewComments)(o,r);this.setLoadedComments(t,i),this.state.firstPageOfCommentsRequestUri=null,this.state.sortOrder=t,this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e),this.state.latestCommentsDataRequestUri.sinceIndex=n?(0,c.getIndexOfLatestComment)(i):-1,this.state.latestResponseType=m.default.newComments,this.state.canLoadMore=e.canLoadMore,this.state.alreadySortedByNewestFirst=n},handleLatestCommentsDataResponse:function(e){var t=e.comments;if(Array.isArray(t)&&t.length>0){var n=(0,c.mapComments)(e.comments),r=this.getLoadedComments(p.default.NewestFirst.name),o=(0,c.prependNewComments)(r,n),i=(0,c.getIndexOfLatestComment)(o);this.setLoadedComments(p.default.NewestFirst.name,o),this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e),this.state.latestCommentsDataRequestUri.sinceIndex=i,this.state.latestResponseType=m.default.newComments}},processFirstPageOfCommentsDataRequest:function(){if(this.state.firstPageOfCommentsRequestUri){var e=this.getDataResponseIfAvailable(this.state.firstPageOfCommentsRequestUri);if(!e)return{uri:this.state.firstPageOfCommentsRequestUri,requireSuccess:!0,updates:!1};this.handleFirstPageOfCommentsDataResponse(e)}return null},processLatestCommentsDataRequest:function(){if(this.state.latestCommentsDataRequestUri){var e=this.getDataResponseIfAvailable(this.state.latestCommentsDataRequestUri);return e&&this.handleLatestCommentsDataResponse(e),{uri:this.state.latestCommentsDataRequestUri,requireSuccess:!0,updates:!0}}return null},processPaginatedCommentsDataRequest:function(){if(this.state.commentsDataPaginationRequestUri){var e=this.getDataResponseIfAvailable(this.state.commentsDataPaginationRequestUri);if(!e)return{uri:this.state.commentsDataPaginationRequestUri,requireSuccess:!0,updates:!1};var t=(0,c.mapComments)(e.comments),n=this.getLoadedComments(this.state.sortOrder),r=(0,c.appendNewComments)(n,t,this.state.sortOrder);this.setLoadedComments(this.state.sortOrder,r),this.state.commentsDataPaginationRequestUri=null,this.state.latestResponseType=m.default.moreComments,this.state.canLoadMore=e.canLoadMore}return null},processRepliesDataRequest:function(){if(this.state.repliesDataPaginationRequestUri){var e=this.getDataResponseIfAvailable(this.state.repliesDataPaginationRequestUri);if(!e)return[{uri:this.state.repliesDataPaginationRequestUri,requireSuccess:!0,updates:!1}];var t=this.state.repliesDataPaginationRequestUri.commentId;this.setCheckingForReplies({commentId:t,value:!1});var n=this.state.repliesDataPaginationRequestUri.startIndex+e.replies.length+e.totalRemaining;this.storeNewRepliesForComment(t,e.replies,n),this.state.latestResponseType=m.default.replies,this.state.repliesDataPaginationRequestUri=null}return null},setCheckingForReplies:function(e){var t=e.commentId,n=e.value,r=this.getLoadedComments(this.state.sortOrder),o=(0,c.findById)(r,t);o&&(o.checkingForReplies=n)},storeNewRepliesForComment:function(e,t,n){var r=this.getLoadedComments(this.state.sortOrder),o=(0,c.findById)(r,e);if(o){var i=(0,c.mapReplies)(t,o,this.state.forumData.siteName);o.firstNewReplyId=(0,c.getFirstNewReplyId)(i),o.replies=(0,c.appendNewReplies)(o.replies,i),o.totalReplies=n}},handleSortResponse:function(e){var t=e.sortOrder,n=t===p.default.NewestFirst.name,r=this.state.alreadySortedByNewestFirst,o=this.getLoadedComments(t),i=(0,c.mapComments)(e.comments),a=(0,c.appendNewComments)(o,i,t),s=n||r?(0,c.getIndexOfLatestComment)(a):-1;this.state.sortOrder=t,this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e),this.setLoadedComments(t,a),this.state.latestResponseType=m.default.sort,this.state.canLoadMore=e.canLoadMore,this.state.fetchingSortedComments=!1,this.state.latestCommentsDataRequestUri.sinceIndex=s,this.state.alreadySortedByNewestFirst=n},processSortDataRequest:function(){if(this.state.sortDataRequestUri){var e=this.getDataResponseIfAvailable(this.state.sortDataRequestUri);if(!e)return[{uri:this.state.sortDataRequestUri,requireSuccess:!0,updates:!1}];this.handleSortResponse(e),this.state.sortDataRequestUri=null}return null},getDataResponseIfAvailable:function(e){var t=this.getAvailablePayload(e);return t&&200===t.meta.responseCode?t.body:null},setLoadedComments:function(e,t){this.state.loadedComments[e]=t},getLoadedComments:function(e){return this.state.loadedComments[e]},data:function(){var e=this.processFirstPageOfCommentsDataRequest(),t=this.processLatestCommentsDataRequest(),n=this.processPaginatedCommentsDataRequest(),r=this.processRepliesDataRequest(),o=this.processSortDataRequest();return[e,t,n,r,o].filter(y)},getPayload:function(){var e=this.state,t=e.forumData,n=e.loadedComments,r=e.sortOrder,o=e.latestResponseType,i=e.fetchingSortedComments,a=e.canLoadMore,s=n[r];return{meta:{responseCode:200},body:{forumData:t,loadedComments:s,latestResponseType:o,sortOrder:r,fetchingSortedComments:i,canLoadMore:a}}}}),e.exports=t.default},function(e,t){e.exports={create:function(e){return Morph.createAggregatorWithCaller("bbc-morph-comments-view@3.66.3",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)})}Object.defineProperty(t,"__esModule",{value:!0}),t.mapComments=t.mapReplies=t.appendNewReplies=t.getFirstNewReplyId=t.appendNewComments=t.prependNewComments=t.getUpdatedForumData=t.getIndexOfLatestComment=t.findById=void 0;var i=n(447),a=r(i),s=n(2),u=r(s),l=n(102),c=n(160),d=function(e,t){return t.some(function(t){return t.id===e.id})},m=function(e,t){return(0,u.default)({},e,{actions:{reportUrl:e.actions.reportUrl.replace("[sitename]",t)}})},f=function(e,t){var n=y(t,e.inReplyToId);return(0,u.default)({},e,{replyTo:{displayName:n.author.displayName,text:n.text}})},p=function(e){return e.replies&&e.replies[0]&&(e.replies[0].replyTo={displayName:e.author.displayName,text:e.text}),e.hasOwnProperty("checkingForReplies")===!1&&(e.checkingForReplies=!1),e},h=function(e,t){var n=e.map(function(e){return e.id}),r=t.filter(function(e){return(0,c.not)(n.indexOf(e.id)!==-1)});return r},y=t.findById=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].id===t)return e[n];return null};t.getIndexOfLatestComment=function(e){return e.reduce(function(e,t){return t.index>e?t.index:e},-1)},t.getUpdatedForumData=function(e,t){var n=o(t),r=Math.max(n.totalCommentsCount,e.totalCommentsCount),i=n.hasOwnProperty("isClosed")?n.isClosed:e.isClosed;return(0,u.default)({},n,e,{totalCommentsCount:r,isClosed:i})},t.prependNewComments=function(e,t){var n=Array.isArray(t)&&t.length>0;if(n){if(0===e.length)return t.slice();var r=t.filter(function(t){var n=e.some(function(e){return e.index===t.index});return!n});return r.concat(e)}return e},t.appendNewComments=function(e,t){var n=Array.isArray(t)&&t.length>0;if(n){if(0===e.length)return t.slice();var r=h(e,t);return e.concat(r)}return e},t.getFirstNewReplyId=function(e){var t=Array.isArray(e)&&e.length>0;return t?e[0].id:0},t.appendNewReplies=function(e,t){var n=Array.isArray(t)&&t.length>0;return n?[].concat((0,a.default)(e),(0,a.default)(t.filter(function(t){return!d(t,e)}))):e},t.mapReplies=function(e,t,n){var r=[].concat((0,a.default)(e),(0,a.default)(t.replies),[t]);return e.map(function(e){return f(e,r)}).map(function(e){return m(e,n)})},t.mapComments=function(e){return e.map(function(e){return p(e)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(448),i=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){e.exports={default:n(449),__esModule:!0}},function(e,t,n){n(62),n(450),e.exports=n(8).Array.from},function(e,t,n){"use strict";var r=n(9),o=n(6),i=n(40),a=n(131),s=n(132),u=n(30),l=n(451),c=n(133);o(o.S+o.F*!n(144)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,m=i(e),f="function"==typeof this?this:Array,p=arguments.length,h=p>1?arguments[1]:void 0,y=void 0!==h,g=0,v=c(m);if(y&&(h=r(h,p>2?arguments[2]:void 0,2)),void 0==v||f==Array&&s(v))for(t=u(m.length),n=new f(t);t>g;g++)l(n,g,y?h(m[g],g):m[g]);else for(d=v.call(m),n=new f;!(o=d.next()).done;g++)l(n,g,y?a(d,h,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(12),o=n(20);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.66.3"]={"babel-runtime":"6.26.0","bbc-morph-ati-stats":"1.3.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.19.1","bbc-morph-gel-icons":"4.0.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","focus-visible":"5.2.0","gel-sass-tools":"1.3.0","gel-typography":"2.0.5","lodash.isequal":"4.5.0","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(o){function e(a){if(t[a])return t[a].exports;var l=t[a]={exports:{},id:a,loaded:!1};return o[a].call(l.exports,l,l.exports,e),l.loaded=!0,l.exports}var t={};return e.m=o,e.c=t,e.p="",e(0)}([function(o,e,t){Morph.modules["bbc-morph-comments-view@3.66.3/product-config-childrens"]=t(1)},function(o,e,t){o.exports=t(2)},function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={default:{product:"default",label:"the BBC",flagIconNotable:"FlagLogoDefault"},cbbc:{product:"cbbc",label:"CBBC",flagIconDistress:"FlagLogoCbbc",flagIconNotable:"FlagLogoCbbc"},cbeebies:{product:"cbeebies",label:"CBeebies",flagIconDistress:"FlagLogoCBeebies",flagIconNotable:"FlagLogoCBeebies"},"stay-safe":{product:"ownit",label:"Own It",flagIconDistress:"FlagLogoOwnItWithText",flagIconNotable:"FlagLogoOwnIt"},newsround:{product:"newsround",label:"Newsround",flagIconDistress:"FlagLogoNewsround",flagIconNotable:"FlagLogoNewsround"},nightfall:{product:"nightfall",label:"Nightfall",flagIconDistress:"FlagLogoNightfall",flagIconNotable:"FlagLogoNightfall"}},o.exports=e.default}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.66.3"]={"babel-runtime":"6.26.0","bbc-morph-ati-stats":"1.3.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.19.1","bbc-morph-gel-icons":"4.0.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","focus-visible":"5.2.0","gel-sass-tools":"1.3.0","gel-typography":"2.0.5","lodash.isequal":"4.5.0","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(e){function t(a){if(l[a])return l[a].exports;var o=l[a]={exports:{},id:a,loaded:!1};return e[a].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var l={};return t.m=e,t.c=l,t.p="",t(0)}([function(e,t,l){Morph.modules["bbc-morph-comments-view@3.66.3/icons-childrens"]=l(1)},function(e,t,l){e.exports=l(2)},function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(3),o=l(5),n=l(6),i=l(7),r=l(8),g=l(9),s=l(10),u=l(11),c=l(12),d=l(13);t.default={Upvote:a.Heart,Downvote:o.ThumbsDown,SuccessIcon:n.Applause,FlagLogoDefault:i.FlagLogoDefault,FlagLogoCbbc:r.FlagLogoCbbc,FlagLogoCBeebies:g.FlagLogoCBeebies,FlagLogoOwnIt:s.FlagLogoOwnIt,FlagLogoNewsround:c.FlagLogoNewsround,FlagLogoNightfall:d.FlagLogoNightfall,FlagLogoOwnItWithText:u.FlagLogoOwnItWithText},e.exports=t.default},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Heart=void 0;var o=l(4),n=a(o),i=t.Heart=function(){return n.default.createElement("svg",{className:"heart-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 27.82"},n.default.createElement("g",{className:"heart-icon__stroke"},n.default.createElement("path",{d:"M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z",transform:"translate(0 -2.09)"})),n.default.createElement("g",{className:"heart-icon__fill fill"},n.default.createElement("path",{d:"M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z",transform:"translate(0 -2.09)"})))};i.displayName="Heart"},function(e,t){e.exports=React},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ThumbsDown=void 0;var o=l(4),n=a(o),i=t.ThumbsDown=function(){return n.default.createElement("svg",{className:"thumbs-down",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 32"},n.default.createElement("g",{className:"thumbs-down__stroke"},n.default.createElement("path",{transform:"rotate(180, 13, 16)",d:"M22,32H7L3.54,29.4H0V15H3.25L9.41,5.22l2-5.22h5.48l.51,6-1.26,4.6.2.37h7.6L26,13.06V16.2l-1,1,.39.4v3.13l-1,1,.39.4v3.13l-1,1,.4.41v3.12ZM7.88,29.26H20.82l.7-.72V27.37l-2.41-2.44H21.4l.7-.72V23.06l-2.4-2.45H22l.7-.72V18.74l-2.4-2.45h2.31l.7-.72V14.45l-.7-.72H14.75L13.27,11l1.39-5.23-.25-3H13.23L11.75,6.58l-7,11.17-.29,8.91Z"})),n.default.createElement("g",{className:"thumbs-down__fill fill"},n.default.createElement("path",{transform:"rotate(180, 13, 16)",d:"M22,32H7L3.54,29.4H0V15H3.25L9.41,5.22l2-5.22h5.48l.51,6-1.26,4.6.2.37h7.6L26,13.06V16.2l-1,1,.39.4v3.13l-1,1,.39.4v3.13l-1,1,.4.41v3.12Z"})))};i.displayName="ThumbsDown"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Applause=void 0;var o=l(4),n=a(o),i=t.Applause=function(){return n.default.createElement("svg",{className:"applause-icon","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},n.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"}),n.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"}),n.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"}))};i.displayName="Applause"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoDefault=void 0;var o=l(4),n=a(o),i=n.default.createElement("svg",{width:"44px",height:"18px",viewBox:"0 0 44 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},n.default.createElement("g",{id:"flag-logo-default",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},n.default.createElement("g",{id:"Award"},n.default.createElement("polygon",{id:"Clip-1851",fill:"#12294b",points:"0 0 44 0 44 19 0 19"}),n.default.createElement("g",{id:"Group-8",transform:"translate(5.000000, 4.000000)"},n.default.createElement("path",{d:"M32.0121875,6.77640625 L31.846875,6.87734375 C31.049375,7.36484375 30.180625,7.62609375 29.391875,7.62609375 C27.705,7.61953125 26.5921875,6.61890625 26.58875,5.16359375 C26.5903125,3.73953125 27.75125,2.68515625 29.3496875,2.68140625 C30.16375,2.68171875 30.90125,2.89265625 31.7771875,3.37328125 L31.9384375,3.46140625 L31.9384375,2.16078125 L31.8690625,2.13421875 C30.88125,1.74421875 30.11625,1.57078125 29.3603125,1.57078125 C28.191875,1.57078125 27.178125,1.95609375 26.455625,2.61109375 C25.7328125,3.26578125 25.305,4.19140625 25.3056243,5.25265625 C25.3056243,5.99234375 25.6109375,6.85984375 26.26375,7.54796875 C26.91625,8.23578125 27.9203125,8.73796875 29.2971875,8.73703256 L29.3021875,8.73703256 C30.4440625,8.73703256 31.2359375,8.48265625 31.951875,8.13015625 L32.0121875,8.09984375 L32.0121875,6.77640625 Z M23.7528125,10.0001562 L34.0596875,10.0001562 L34.0596875,0.30078125 L23.7528125,0.30078125 L23.7528125,10.0001562 Z M7.85813741,6.73078125 C7.86125,5.84921875 7.2740625,5.17984375 6.3353125,4.92296875 C6.5878125,4.79359375 6.78875,4.63515625 6.9353125,4.44203125 C7.1325,4.18296875 7.2253125,3.86546875 7.2253125,3.49609375 C7.2253125,3.04140625 7.046875,2.57796875 6.663125,2.23140625 C6.2790625,1.88515625 5.69625,1.66015625 4.9009375,1.66046842 L2.70375,1.66046842 L2.70375,8.64578125 L5.2803125,8.64578125 L5.281875,8.64578125 C6.2028125,8.64578125 6.848125,8.39671875 7.26375,8.02796875 C7.68,7.65953125 7.8584375,7.17578125 7.85813741,6.73078125 L7.85813741,6.73078125 Z M0,10.0001562 L10.3065625,10.0001562 L10.3065625,0.30078125 L0,0.30078125 L0,10.0001562 Z M6.2321875,5.92359375 C5.9965625,5.75578125 5.6196875,5.64859375 5.090625,5.64890557 L3.955,5.64890557 L3.955,7.55515625 L5.14375,7.55515625 C5.7346875,7.55515625 6.09125,7.41734375 6.2965625,7.23609375 C6.503125,7.05453125 6.5746875,6.82296875 6.575,6.59203125 C6.5734375,6.31390625 6.4671875,6.09265625 6.2321875,5.92359375 L6.2321875,5.92359375 Z M5.611875,4.30890625 C5.8328125,4.14828125 5.9396875,3.92390625 5.9421875,3.58515625 C5.9415625,3.35265625 5.874375,3.15390625 5.7078125,3.00546875 C5.539375,2.85671875 5.2546875,2.75109375 4.7953125,2.75078125 L3.955,2.75078125 L3.955,4.55796956 L4.5315625,4.55796956 C5.0315625,4.55828125 5.389375,4.46859375 5.611875,4.30890625 L5.611875,4.30890625 Z M19.7340775,6.73078125 C19.7375,5.84921875 19.1496875,5.17984375 18.2115625,4.92296875 C18.4646875,4.79359375 18.665,4.63515625 18.8121875,4.44203125 C19.00875,4.18296875 19.101875,3.86546875 19.10125,3.49609375 C19.101875,3.04140625 18.923125,2.57796875 18.539375,2.23140625 C18.1559375,1.88515625 17.5721875,1.66015625 16.7778125,1.66046842 L14.58,1.66046842 L14.58,8.64578125 L17.1575,8.64578125 L17.15875,8.64578125 C18.0784375,8.64578125 18.7246875,8.39671875 19.1396875,8.02796875 C19.555625,7.65953125 19.7340775,7.17578125 19.7340775,6.73078125 L19.7340775,6.73078125 Z M11.8759375,10.0001562 L22.1828125,10.0001562 L22.1828125,0.30078125 L11.8759375,0.30078125 L11.8759375,10.0001562 Z M17.488125,4.30890625 C17.7090625,4.14828125 17.8165625,3.92390625 17.8184375,3.58515625 C17.8178125,3.35265625 17.750625,3.15390625 17.5834375,3.00546875 C17.4159375,2.85671875 17.1303125,2.75109375 16.6721875,2.75078125 L15.83125,2.75078125 L15.83125,4.55796956 L16.4078125,4.55796956 C16.9078125,4.55828125 17.2659375,4.46859375 17.488125,4.30890625 L17.488125,4.30890625 Z M18.45125,6.59203125 C18.450625,6.82296875 18.379375,7.05453125 18.173125,7.23609375 C17.9675,7.41734375 17.6109375,7.55515625 17.019375,7.55515625 L15.83125,7.55515625 L15.83125,5.64890557 L16.9675,5.64890557 C17.49625,5.64859375 17.8728125,5.75578125 18.1084375,5.92359375 C18.3434375,6.09265625 18.4496875,6.31390625 18.45125,6.59203125 L18.45125,6.59203125 Z",id:"Fill-6",fill:"#FFFFFF"}))))),r=t.FlagLogoDefault=function(){return i};r.displayName="FlagLogoDefault"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoCbbc=void 0;var o=l(4),n=a(o),i=t.FlagLogoCbbc=function(){return n.default.createElement("svg",{className:"cbbc-flag-logo",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},n.default.createElement("image",{id:"flag-logo-cbbc-image",x:"0",y:"0",width:"24",height:"24",xlinkHref:"data:image/png;base64,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"}))};i.displayName="FlagLogoCbbc"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoCBeebies=void 0;var o=l(4),n=a(o),i=t.FlagLogoCBeebies=function(){return n.default.createElement("svg",{height:"18",viewBox:"0 0 23 26",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},n.default.createElement("image",{id:"flag-logo-cbeebies-image",x:"0",y:"0",width:"23",height:"26",xlinkHref:"data:image/png;base64,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" }))};i.displayName="FlagLogoCBeebies"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoOwnIt=void 0;var o=l(4),n=a(o),i=t.FlagLogoOwnIt=function(){return n.default.createElement("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},n.default.createElement("g",{id:"Own-it-Chevrons",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},n.default.createElement("path",{d:"M15.3105898,6.69016775 L20.5969969,16 L15.3105898,25.3098323 L22.2784053,25.3098323 L27.5648124,16 L22.2784053,6.69016775 L15.3105898,6.69016775 Z M4.77535155,6.69016775 L10.0614506,16 L4.43518756,25.3098323 L11.7431671,25.3098323 L17.0295742,16 L11.7431671,6.69016775 L4.77535155,6.69016775 Z",id:"Fill-1-Copy",fill:"#FFFFFF"})))};i.displayName="FlagLogoOwnIt"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoOwnItWithText=void 0;var o=l(4),n=a(o),i=t.FlagLogoOwnItWithText=function(){return n.default.createElement("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 83 12",width:"83"},n.default.createElement("g",{id:"flag-logo-ownit-image-text"},n.default.createElement("g",{id:"flag-logo-ownit-image-text-wrapper",transform:"translate(5 8)",fill:"#FFFFFF"},n.default.createElement("g",{id:"Group-3"},n.default.createElement("polygon",{id:"Fill-1",className:"st0",points:"-5,-8 -1.7,-2.4 -1.7,-2.4 -5,3.2 -5,3.2 -0.7,3.2 -0.7,3.2 2.6,-2.4 2.6,-2.4 -0.7,-8"}),n.default.createElement("polygon",{id:"Fill-2",className:"st0",points:"2.6,-8 5.9,-2.4 5.9,-2.4 2.6,3.2 2.6,3.2 7,3.2 7,3.2 10.3,-2.4 10.3,-2.4 7,-8"})),n.default.createElement("g",{id:"Group-11",transform:"translate(30 2)"},n.default.createElement("g",{id:"Group-10"},n.default.createElement("polygon",{id:"Fill-1_1_",className:"st0",points:"34.1,-10 34.1,-6.1 36.4,-6.1 36.4,-7.4 37.8,-7.4 37.8,1.4 40.1,1.4 40.1,-7.4 41.4,-7.4 41.4,-6.1 43.7,-6.1 43.7,-10"}),n.default.createElement("polygon",{id:"Fill-6",className:"st0",points:"30.6,1.4 33.2,1.4 33.2,-10 30.6,-10"}),n.default.createElement("polygon",{id:"Fill-2_1_",className:"st0",points:"16.6,1.4 19.1,1.4 19.1,-4.6 23.7,-0.9 23.7,1.4 26.2,1.4 26.2,-9.8 23.7,-9.8 23.7,-4.3 16.6,-10"}),n.default.createElement("polygon",{id:"Fill-8",className:"st0",points:"11.5,-10 12.9,-5.5 11.4,-1.1 9.2,-1.1 10.7,-5.5 9.2,-10 6.7,-10 8.2,-5.5 6.7,-1.1 4.5,-1.1 6,-5.5 4.5,-10 2,-10 3.5,-5.5 2,-1.1 2.8,1.4 13,1.4 15.4,-5.5 13.9,-10"}),n.default.createElement("path",{id:"Fill-3",className:"st0",d:"M-4.8-5.6c-0.7,0-1.3,0.6-1.3,1.3S-5.5-3-4.8-3s1.3-0.6,1.3-1.3S-4.1-5.6-4.8-5.6 M-4.8-1.2 c-1.7,0-3.1-1.4-3.1-3.1s1.3-3.1,3.1-3.1S-1.7-6-1.7-4.3S-3.1-1.2-4.8-1.2 M-4.8-10c-3.2,0-5.7,2.6-5.7,5.7s2.6,5.7,5.7,5.7 s5.7-2.6,5.7-5.7S-1.7-10-4.8-10"}))))))};i.displayName="FlagLogoOwnItWithText"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoNewsround=void 0;var o=l(4),n=a(o),i=t.FlagLogoNewsround=function(){return n.default.createElement("svg",{height:"12",viewBox:"6 10 20 13",xmlns:"http://www.w3.org/2000/svg"},n.default.createElement("g",{id:"flag-logo-newsround-image",fill:"#FFF",fillRule:"evenodd"},n.default.createElement("path",{d:"M6.55377778,23 L8.97644444,23 C9.26044444,23 9.55555556,22.73025 9.55555556,22.4706562 L9.55555556,14.3180312 C9.55555556,13.1634687 9.72444444,12.4375 11.2195556,12.4375 L12.8177778,12.4375 C14.3128889,12.4375 14.4444444,13.1634687 14.4444444,14.3180312 L14.4444444,22.4706562 C14.4444444,22.73025 14.7768889,23 15.0604444,23 L17.4835556,23 C17.7666667,23 18,22.73025 18,22.4706562 L18,14.3180312 C18,11.4669688 16.1688889,10 12.8177778,10 L11.2195556,10 C7.86844444,10 6,11.4669688 6,14.3180312 L6,22.4706562 C6,22.73025 6.26977778,23 6.55377778,23",id:"Fill-11"}),n.default.createElement("path",{d:"M19.58,23 L21.0824999,23 C21.4004999,23 21.4999999,22.8939342 21.4999999,22.6585496 L21.4999999,12.0507421 C22.4999999,11.8618634 23.4894998,11.8149496 25.4544997,11.8149496 C26.0034997,11.8149496 25.9999997,11.6970534 25.9999997,11.4376 L25.9999997,10.3532808 C25.9999997,10.0232529 25.8814997,10 25.5059997,10 C23.1079998,10 21.1404999,10.0705746 19.4935,10.6596479 C19.1755,10.7775442 19,10.9427621 19,11.2022155 L19,22.6585496 C19,22.9180029 19.2915,23 19.58,23",id:"Fill-12"})))};i.displayName="FlagLogoNewsround"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoNightfall=void 0;var o=l(4),n=a(o),i=t.FlagLogoNightfall=function(){return n.default.createElement("svg",{id:"flag-logo-nightfall",x:"0px",y:"0px",width:"55px",height:"55px",viewBox:"0 0 55 55","enable-background":"new 0 0 55 55",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},n.default.createElement("image",{id:"flag-logo-nightfall-image",width:"55",height:"55",x:"0",y:"0",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAA3CAYAAACo29JGAAAABGdBTUEAALGPC/xhBQAAACBjSFJN AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAV nklEQVRo3r2ae4xc133fP+dxHzOzM7M7++JyyeVjSS5FUiQlUhYpUZJVybIky3IdxbEbu5aLtGgC FUhapCjqBoWAFo0TGHENJC4Q1G0M2E7lKI5ly5bkKJYlWhL1FkVSfKz43uW+Z3fecx/nnP4xK6pS GkkUpRzg7sXiXpx7P/f7e5zz+4346s5Jxz/KcBfP2hmckKSAEBIQb13+EIf8sCYK1oC/+p0gFoRb /l8Agj43z79J/pBbkp8gUAgMgW19JJ/zQ4PruUWy6etZvH6WQZand+LiPRmabDBHyMkaG4JjKBIC m/Av4m8yao69Y8bLl/JDg7NGUFhdZOCLCgBDghPp217UoFjBFKLURWZY0Z9OEdBiOLNAv5h6O5S4 fMAPDS5dcMStNl03BfSO1PhS+9vsSg9cvC4wRELzI/2bHGjupqu3yBp1kpytkvR3MyRnWGEnl6nc 2xT/yOD8Ach/7L0nakwYFpKYwdeP86+mvsY2DnFb+hPyYgaQ3JY+xJ3JgwAcbmwlmV9iJDdJXzpN PNDDcG6KvFu8+Cnefv6I4LqukWz8b91kt777g1rn4ciFKhNxTK5RwSHIyxZ3xg8BcE6u5zr9HOvs CWb9Vcw3QgYK86xz4/itmJ/XbmVcbUP8PVP84Kb5nnBCQBCG9P3Td79VLcC5Q1UeXjnAwzfvQSQR cRiw3R5km3mJo3In4/4Yd2UeRgATtVXki7BNHqIpHS2XYdBNclfywDsAP6B6AvR73RPPOlq1Bl27 FP6wJX5HWkyVYXqozcl1NQ5X5+FQzPzWUXa+dJjhVps038Ud1Qc5JTfzZHQr9678AZ85+30K2TpJ GJD3IxpC0DIBV+uXGPSncU5wjdlPQJtfqU9cEtN0b53j6xY5s6b+PuBmIG61CYs5CtdXmf/BW3BG wYOfm+T0+giMozRZJphY5FcZj/84to7vPvMyjVI33VGF25O/5of+lzlSWcvWnWXaNsW+NM4vl6qM bd3Irp7X2OiP81J1F8oY9iWP0yvK1ChyUL2707f8mDeG5ziyfpbzK+uYXAYh5XvDmYojaTpsGOPf 5BA/cbhWx1TObZCcGrXQbEG1wX946kXuPD/Fx2+4iu8Xcnymr5ffKC9SGern6tMHeNXt5MXqbtbo v8N/bZz/NTHNySRl1xPPccetAq+peGNuE1vFy/TpJRCazfbQPwg331Xh8OoJjq2eodbjcFqBdYhW m0Dk3tvn0ipUL1jqaYpbHeDf8ta1Y9scstFGVBvQaPFna4bIKcX/fOUYXqXG7w2VuNCKwPdwPQXu if6SO9MHKR4/TbJumB4pERJOLFUwE7PUKyEV2cONyWOYfA5rDQfUjfy/QcUKy+meC/x429N892O/ 4MUNp6mGTWi3wFjIFshFAXc+tf69lcNC7bQhM+bRjtqYuw08q2BBMHrKZ8/Ccb787AEavkdFCZou 5VPC46+On+E1LGeKBXb6msn5BTIIVnlVKCeIkUFuWDvMC8fGWZfJ0NVbxD92krvN/6EvWwY/z1kz wllvIwCRihnvPs1rg+Nc6F6EIMDhoJ0iPA9X6mck2sjYwX7KmTLjayvvAw6IxsF+wtKMY1zRJ/ln MeGfeWw4FDM25NgzOw++B4EPnkejK8NtA93cXa6xtKKXmVeO8r35eb5UKtGHBinpOTUBY+vYfeYc 61f0oVJDtl3lKvE8lVVrKZyf4yn96+xOfsXfFGr8rP8C9Z608wwDxCCUxGWL5PMb2Xt8jG2vClTi gF6g9/3BJWeg2WiSWEtq2qRbofk7MT3/O2Dpwkb+dGyUYrNBvhlRMIbChRlCJ8j6PtmeLh64cIHb i0XWBgEAi9Zy9MIMV64a5I6No9hSEW+2DFIwEUccn51jy9BqKmcOcmXXUV70NW2XgXamkxm0AqWg Z5ArW9dy3WPdFMqGd+bE9wXnJiXVaYvoF7TTBOMJ7LU+S9kKS98f5YdD25lxUzBdRpHg2i1ErcmK Zp1Hkl60p1gf+ACcjSK+VZ7jTBzxu4eOsXnvLhDwypFjTCQxn+vu4+Cpc5wpFfmt3T5yKsP+yVke rjf4rTUr0Foh8kV6enZy04mtjB41dKT8++N9wamWo/2Sh/uUo91ukzhIoph4ZcrUb0zTfTTDTNkh lMVbbPKNap0CMCM0GU9jPcl0klDyfP5iaZ7XoyaeFHx/+gJfrWzEy4Y8vDjPQROzxg/YlevixelZ ftRMODozz1atOSmA1CB6V7Jd3sreX3aTq5p3fe/3BQfQ/QuP43saeAFExpAYS6tWoy4jrtQ17lmo 8mMteV05nsXym8ZxazaD15VF+Jr/MjfBljDL6bQN0pIAcxjSuTJBX4myTWiQ8vPGEp/L9VBPIspK 8hiWPwolrqebgcFr+Pjkx1l3UnYi3XuM9w2XnzXon3ex9FkF0RJRYmhHMZUo5q4j49z7yhH+IJdj v1b8wFruazVpTE/xnYxHMRtywbSZbcUoIZAIHA4LtOKIYugTSDDG8nrc4D+3a1ztreS3B/vYODHL v/TzDBfv5Lqju8nW3xvqkuEAtj5ueHKTItng025WieIE025zIgx4bHgFa9sxN6WW2/wMjSDDk0FI v5CUsxlSkxBLjbe8/wZo42hEEUprQiWJreGcaVMzKRviFkcWqzydGp5op5w6OsNT+v2DXTKcFzuu /kufx+8LSBW045Q0TvjGphG+3lcku7DI0OwCV07NcV2Y4+ZSibVdedYUcoyk8MzCNC8uzXPWxLRF J7JVozZaKkIlqUQJXU5wTabAHcVBdnghV+SHmUmGiER4SWCXDAdQmknZ8908j32hRSwWSZMUF8UQ xzSMYTyNOV4t84Nymd64xZ483DW6mds3bOK3h1bRcCkn5mZ4buIsTzTKVOMICfRoj5uCPF8YvYJd PSs4biXfnt3Jgr6O1AQfaPN6yXAAIycSbnmgxCO3NomYBWMR1iGcQyUpKrXQbhM3G7xWmyPcsYbN 932WN146wdCBw+yQmp1jY3xxfoHMmQs0my3++dA6GB1BRIYXt2/kDx9/hrHGZgrepSt2WXAA6487 bio3ePRjCdYPQEqQClmrItIE0hgnFHmZZevAKvbt2015xxinP3ktBx49wIaf7qcv8GncsItGX5Hs ihL66FlevucWBm7ewejTMxTilR8Y7DLgHIdrD/Dqhe8gq9uQKwcRpMipC4j5OawXdCJ12iTjPBrn ZknihIFSiYFSidoVoxy+4zrm//QBrn76IMHoSvzzszx5713s/NIdZNoxLHmXW2W49AJRNZ3g5/P/ jiP8OYXVJWg3cCdOog4ehPMXMNkiTmuEkDggIKBy9CyvPvrUxTny2mPvtk28vH01f7y+h/DYGV64 ZTe77/s8w6UeXvjpE7Rmossju1Tlxhs/5dX2t+gbybN9aBeVpSqTx0/R6B4lzfZCaBBRBK4TCZ0Q eDrEX2rzi29+j0wQsmHvTqyxHHpkP1Pf+iGHZyb5T5/ch544R/5Hv2C8HfGzr/05OX3XPw5cy8zz XOWbzGee5qq9OyiVeqk12tTrGr+9SJIskqhupDUgl21JLFdCBropLbRovX6GJ/7gf3BodBVRmrIw fhY3XWZb6lF75HkqUYPvPLwf5xzCWnJDvR893NnWk7zU/O+EfYKxkZ3kuvI4LFo6GvUlkiBHuDSB XdWHrafLbiJwQoAQ2P4u+hqGJEk5N3GSpakJjogasUu5TnaTBIJxFtmsQ6oiIesk3coj1sWPDi62 dV6qfovT4mesHh0lky0Qp47p2SpaxtRrFZaWFmkNjBHOnSasnKM1sBlmZkBJoKNAXAwo5TOYSovv 6EnWuhCJwEjHk6pMn/OYFjGBgIowaOBaowhkgcv1uv8v3FT0Is/V/gTd22TdwDaEUICj1WxRqy5i TUx/Xzf9vT2cm6/TWrmF7NlX8EsV4nwBFhZAKgSOKCvI9+bwahFOQAaJFaARVEiRAjJOkspOw8QJ QUF4NFXuw1UutRGvVL/NafVDVo+txQ9XoKTAmJSFhXnq1SW0VmS7Clg0iJT+ZIbpJE+rf4zw/Bt4 W64laTYgjrFeliijyQxm6Du1yG7dxRaV5WXbIEDwSdGHRBAYx8dkhkVnGETj5dZwVPd9eHDz8TGe r38dPVBmXd8VZLMZpIClSoWlxTLWxOTyXSgdksRtZmerZDM+vfkM1dYUze5NxI0B/LNHYeNOzJlJ ZLrA4tkqz9x7FV8ot/jaKQ/jKf6JKxIg6Jc+BsfOWJNg8QzYfMgvV3wFU8lcNpzaN/h79x+uf48X kj9m1eYeNmzcgFKKVqvN0tIC9doiQkqyuSLZTMDSYpk4jpBSIpcjY216Ejm6kcQE2MUaan4CmQuQ +RytqTqvnpxj9oubGF3RxbrzTVa1BSXPw1eCQApSl9CVWoKBPE9tvYfZ2RsR9vIbISoNZ+9f7NnP FVuvIJPLA5ZWs87szDTWJJRKJUqlbiqVCq1mAwRYC1pLtFJorWhWa9haGW/nVRg/R7rYxC6X+6Sn iMsxR/af49n1GRbvHiE/nKMUObJ1g99OaYcwuWcFj2/9PJPHbkZH6rLBAMT1+250I2tGkQKcS5iY mCKKmnh+SF9vCWsSlpYq1NstpPSwcUpiLG45UXueJonbTE9OgZ9FbNyC6R4mnixjL8x2SgPOgrOk rRTV4zN83SA7dw6wpzvLxqbjnFrHxIkbEC8MIKy82MW6bLg77vy087wAaxMWFhaQQhBkciiliNtN kjRBScn8QpmWp+gplDCVGsY6rHNIKdFKsrhYplFrQGoRuTysG8OGPbhWTJfoQ7sAYSwkFhd1+m+F oRXcMHA3mbMFvJbGScA5xIfUIxdXXX2ts9bieR1TyGZDrBVUKjWyGR/PU0gpaLUizp07Q7BmhEK+ l6BcJjYWYxyeJ0mNA2epVGq0Gy1sahBhjsHsVdw+9EdoEXaWZU5cbJMLCyJ1HSix3D7nrfPlAuok McsqQOArqtUmvq/wfI11DqUk1ljCwCcbhFROzmHHQvrWrSE8dRanBAhQOHw/IBtmaLUiGvUmvuzj pu7fx0vDTnV4ef3i3vwrBHjLKjlwdPaEy9pd9q5ACymQzmGMJYpBSUEUpXjLTQUTpWR8Rb3taLiV tL0Ae3wKRMLAzq10HT6BtQYjBdqBryU6CPDCAlu7fp9CczVWvvmmbwG+qYpzDgTI5V87dNAuXzUA rZUkcQ6TWqw1WCGQgKc1gZQoBDN1zdlFSeJ8hLKkcpD20RPMGIt343Xknn0V12ojFCgHXugj+3eS nSgSqSaeyL7pBRcf7AQdMxViWa039RJg3/YZPjgcgLMOBWgpUYBCkFeSRPqMJ3nmEo3IWoS1YA3O OBI9gjx+gvNpwvCnbmfg2ddgfhElBYtXbmL6qceZmvlrMuFKuvRauoMxesLNFIP1ZPQAWvhvgV5c boNA4IT9UIKK2Lvnehe3E1xqsaklUJJQScphD+eCftpOIZ3tJDdjEdZ0WkWpIVM5iqpNk1u1mpVf vIfeA4dJV/YzOT1N/HdP07tyNUJ7xGlKai3NdkySKkLVTzFYTynYTMHbQFGPkBW9KKs6tZg3X+5y 4a696lrnSYkvJaYd43TA2e5VTGd6O1/S2Y75WAdmGcxarBNklyZZOX2YMLLQ30P4u1/GlCu0vvEX ZPJ5Cj29aN/DIDCAcVBtRigtkFrRimMMDl93kdcrKapRSmqMvFlHaFbg2fCybFNcs2W3k86R14pa oZfxgVFqfg6Fu7ijxi4DGttxkzSlb+oUQ5Mn8NKYbK4LJTSiO4exhmi+TOIcFofUCqk0QmuU7yN9 n9QJrHBILTvbIyVACaQA5WvKiaN8vp992a+w1tv+wXv+N2y5xikhmF45ypmh9RjtvTXXm7nHdUCN kHQtzjFy5EV65ibxwwzdPSWy2QypcRhj0FphgHacIJTAYYiShCiJWWy2wDm6+/oJswFOQorDCjDG IHoLlLXj3KFFYlMk43fz+a6vUqT/AwFqKz3e2LiDucHVSCkQUoCQnTKBWOaSEpmmrDr6KqsOvkCX Tcn3DuIFWTJhgBCKYiHEOkOlUiXQEiskzoIfZsjqgPZIN41TJ4nmF0jqVYpdA1g60TWOE8TYKubS FpPPvEEshiFQtPyY58wj3Ka+/IGU00d37qPSO9BZW2p1sf6IFDghsZ6mMDXJhqceZ3B6gsGhYQYG B/G8AGMcUiniJCVJLQOlLnwhqVarZLUmSlJElGKLXSx1+4j5Ckr24OIEZUFYi5UCu3cLC9NTLD55 EBtuRAY+1lOgBCf0Ia5mij43hLuECCMQ6KX+IZQWoDVohVN62Q8U0qSsef4ZRg/sZyiXY+Sqayjk 8534YizVdo2ZC9MoCVJLbMZjsKcP7QSVWhXf90milKVrN2If2492ARH9aFGDeoQe6cP82idweUPr dx7G5kZRQQ6nBYlWWK1JAskh+wI3x3d3VjTvczgHUmoJQQBhiMuEkA1xuSyEPtsffYjrn3mKK9eM smXLDnpyeZJmjI0SPAciTpFpio06JfRWtYbnBDkvQFmHqEfUdm3AxFW8U7MI1Y1Gk8YF5N5NcO9X GN5/DyvSayn++qfBdeFpidYarTTC06AlJ4LXaarmpaUGAdJ6Pi7wcaGPC0NspgNp8l2Mf+YexKc/ y6piLy7qQIRSEiDwEIRKk9WajFL4QlLM5pCpoVmp4ceO9sgg6d1j6B+/gPYzSLrwcVgjaXg76Hlo D+qcovC3Kxn4/I1khgooodDaQ3tep0WsFM1Mykn/+CUndSVvv+d+lIbAx/k+BMu/Sgh82r29HN40 RmoMq46Pk7Za1KsNknaLVr1OGkUI61BCkA1CSsUi7UaL5lKFdpih+l9vQz74LOK5U1i/GytzCEHH T0/MU8ztQWZy6AWNHvax2xosPT+FCL2Om3geTmuc7xF5CVuaV15S1JR7trcQGR8jPfCXIcMAwgCp FU4r/vbGffzVLR+nXq+TVCpE1QZxvYlIUrQFH0F3Noc0jna5gk2g9u+vx2tWUH/zKioIEOTxkHhS oaVEigaz8z/GSUgCR/joCoau3kTPjhVI+5Zpaq2RUjCVm2EumENYLqamf/B4U7nP+Ln7+27pZVYW aSUBzvcQgYeUb67TQVrL9Pq1zA2uYNOpM+QaLYRSSEA6CLSmN1sgqjZZzBjq//pq0jvWIv/tQ8jz izgvj1HF5VSzHJGVIIqnCQqb8cI+VEOiXID/qToLv5rFebqjmtc5TCbEdwFrGqs7VW3xLocDcKg9 cf/9g0cn2HCNIF1XZKHdhcVHCPc2C5DGMr9yiDeu2MTgzBwDF+awqUNGlu7ubpLtfZz/tWGW7tuB 2zuExiCfOYc8Mo8J+0AHCCkvHkiFFJK2maNQ2ovVDn2mi3BfkySsU3mjiQi9t0FWwxZbl65Aufeo sQhACP4vGan/4Vb6z7oAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTktMTEtMjlUMTI6MDM6MTMrMDM6 MDCWQ2LbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE5LTExLTI5VDEyOjAzOjEzKzAzOjAw5x7aZwAA AABJRU5ErkJggg=="}))};i.displayName="FlagLogoNightfall"}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.66.3"]={"babel-runtime":"6.26.0","bbc-morph-ati-stats":"1.3.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.19.1","bbc-morph-gel-icons":"4.0.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","focus-visible":"5.2.0","gel-sass-tools":"1.3.0","gel-typography":"2.0.5","lodash.isequal":"4.5.0","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(e){function t(r){if(o[r])return o[r].exports;var n=o[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){Morph.modules["bbc-morph-comments-view@3.66.3/messages-childrens"]=o(1)},function(e,t,o){e.exports=o(2)},function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=r(n),a=o(42),s=r(a);t.default=(0,i.default)({},s.default,{signedInMessage:"Hey",moduleTitleText:"Your Comments"}),e.exports=t.default},function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var n=o(4),i=r(n);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}},function(e,t,o){e.exports={default:o(5),__esModule:!0}},function(e,t,o){o(6),e.exports=o(9).Object.assign},function(e,t,o){var r=o(7);r(r.S+r.F,"Object",{assign:o(23)})},function(e,t,o){var r=o(8),n=o(9),i=o(10),a=o(12),s=o(22),c="prototype",u=function(e,t,o){var l,m,p,f=e&u.F,d=e&u.G,h=e&u.S,y=e&u.P,b=e&u.B,v=e&u.W,g=d?n:n[t]||(n[t]={}),w=g[c],x=d?r:h?r[t]:(r[t]||{})[c];d&&(o=t);for(l in o)m=!f&&x&&void 0!==x[l],m&&s(g,l)||(p=m?x[l]:o[l],g[l]=d&&"function"!=typeof x[l]?o[l]:b&&m?i(p,r):v&&x[l]==p?function(e){var t=function(t,o,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,o)}return new e(t,o,r)}return e.apply(this,arguments)};return t[c]=e[c],t}(p):y&&"function"==typeof p?i(Function.call,p):p,y&&((g.virtual||(g.virtual={}))[l]=p,e&u.R&&w&&!w[l]&&a(w,l,p)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var o=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},function(e,t){var o=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=o)},function(e,t,o){var r=o(11);e.exports=function(e,t,o){if(r(e),void 0===t)return e;switch(o){case 1:return function(o){return e.call(t,o)};case 2:return function(o,r){return e.call(t,o,r)};case 3:return function(o,r,n){return e.call(t,o,r,n)}}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,o){var r=o(13),n=o(21);e.exports=o(17)?function(e,t,o){return r.f(e,t,n(1,o))}:function(e,t,o){return e[t]=o,e}},function(e,t,o){var r=o(14),n=o(16),i=o(20),a=Object.defineProperty;t.f=o(17)?Object.defineProperty:function(e,t,o){if(r(e),t=i(t,!0),r(o),n)try{return a(e,t,o)}catch(e){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(e[t]=o.value),e}},function(e,t,o){var r=o(15);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,o){e.exports=!o(17)&&!o(18)(function(){return 7!=Object.defineProperty(o(19)("div"),"a",{get:function(){return 7}}).a})},function(e,t,o){e.exports=!o(18)(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,o){var r=o(15),n=o(8).document,i=r(n)&&r(n.createElement);e.exports=function(e){return i?n.createElement(e):{}}},function(e,t,o){var r=o(15);e.exports=function(e,t){if(!r(e))return e;var o,n;if(t&&"function"==typeof(o=e.toString)&&!r(n=o.call(e)))return n;if("function"==typeof(o=e.valueOf)&&!r(n=o.call(e)))return n;if(!t&&"function"==typeof(o=e.toString)&&!r(n=o.call(e)))return n;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 o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},function(e,t,o){"use strict";var r=o(17),n=o(24),i=o(39),a=o(40),s=o(41),c=o(27),u=Object.assign;e.exports=!u||o(18)(function(){var e={},t={},o=Symbol(),r="abcdefghijklmnopqrst";return e[o]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[o]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var o=s(e),u=arguments.length,l=1,m=i.f,p=a.f;u>l;)for(var f,d=c(arguments[l++]),h=m?n(d).concat(m(d)):n(d),y=h.length,b=0;y>b;)f=h[b++],r&&!p.call(d,f)||(o[f]=d[f]);return o}:u},function(e,t,o){var r=o(25),n=o(38);e.exports=Object.keys||function(e){return r(e,n)}},function(e,t,o){var r=o(22),n=o(26),i=o(30)(!1),a=o(34)("IE_PROTO");e.exports=function(e,t){var o,s=n(e),c=0,u=[];for(o in s)o!=a&&r(s,o)&&u.push(o);for(;t.length>c;)r(s,o=t[c++])&&(~i(u,o)||u.push(o));return u}},function(e,t,o){var r=o(27),n=o(29);e.exports=function(e){return r(n(e))}},function(e,t,o){var r=o(28);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var o={}.toString;e.exports=function(e){return o.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,o){var r=o(26),n=o(31),i=o(33);e.exports=function(e){return function(t,o,a){var s,c=r(t),u=n(c.length),l=i(a,u);if(e&&o!=o){for(;u>l;)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===o)return e||l||0;return!e&&-1}}},function(e,t,o){var r=o(32),n=Math.min;e.exports=function(e){return e>0?n(r(e),9007199254740991):0}},function(e,t){var o=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:o)(e)}},function(e,t,o){var r=o(32),n=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?n(e+t,0):i(e,t)}},function(e,t,o){var r=o(35)("keys"),n=o(37);e.exports=function(e){return r[e]||(r[e]=n(e))}},function(e,t,o){var r=o(9),n=o(8),i="__core-js_shared__",a=n[i]||(n[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:o(36)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var o=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++o+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,o){var r=o(29);e.exports=function(e){return Object(r(e))}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={showCollapsiblePanel:"Show {{title}}",hideCollapsiblePanel:"Hide {{title}}",removedCommentButton:"Removed comment",removedComment:'This comment was removed because it broke the rules. <a href="{{rulesUrl}}">Explain</a>',referredComment:'We’re just <a href="{{rulesUrl}}">double checking</a> this comment.',genericError:"Sorry, there was a problem. Please try again later.",postingEmptyCommentNotAllowed:"There’s nothing to post. Type in a comment and try again.",postCommentIdctaError:"Sorry, there was a problem. Please refresh your browser and try again.",postCommentSuccessDefault:"Thanks, your comment has been posted.",postCommentSuccessPremoderated:"Thanks. We’ll check this as quickly as possible before posting.",profanityFoundInText:"Comments can’t contain rude words. Try writing it again.",postingToClosedForumNotAllowed:"Sorry, comments are now closed.",closedForum:"These comments are now closed.",defaultCommentsTitle:"Join the conversation",moduleTitleText:"Comments",signInPrompt:"Sign in to comment, reply and react",signedInMessage:"You’re signed in",ineligibleToComment:"Sorry, these comments are for a different age group.",positiveRateComment:"Like comment",positiveRatedComment:"You have liked this comment",positiveRatingsCount:"Number of likes: {{rateCount}}",negativeRateComment:"Dislike comment",negativeRatedComment:"You have disliked this comment",negativeRatingsCount:"Number of dislikes: {{rateCount}}",postCommentButtonText:"Post",clearCommentButtonText:"Clear your comment and cancel",clearCommentMessage:"Your comment has been cleared",clearReplyMessage:"Your comment has been cleared, back to reply",atCharacterLimitMessage:"You have reached the character limit",overCharacterLimitMessage:"You’re {{excessCharacters}} characters over the word limit.",underCharacterLimitMessage:"You have {{remainingCharacters}} characters remaining.",replyTo:"Reply to",replyComment:"Reply to comment",closeReply:"Close reply",moreReplies:"More replies ({{nMoreReplies}})",displayMoreReplies:"More Replies, {{nMoreReplies}}",moreRepliesDisplayed:"More replies have been displayed.",checkForNewReplies:"Check for new replies",newRepliesChecked:"Checked for new replies",replyingTo:"Replying to {{replyToName}}: ",toWho:"to {{replyToName}}",whoReplied:"{{replyOfName}} replied: ",readSnippetContentLabel:"Read {{replyToName}} comment",hideSnippetContentLabel:"Hide {{replyToName}} comment",commentHead:"Comment posted by {{displayName}}",commentNotableHead:"Comment from {{productLabel}}, posted by {{displayName}}",replyHead:"Reply posted by {{displayName}}",replyNotableHead:"Reply from {{productLabel}}, posted by {{displayName}}",removedCommentButtonA11y:"Show Removed comment, collapsed, button",commentsSortLabel:"Showing:",commentsSortNewestFirst:"Latest",commentsSortOldestFirst:"Oldest",commentsSortHighestRated:"Highest Rated",commentsSortMostRepliesFirst:"Most Replied",tooltipSubtitle:"Sign in to your BBC account to do this.",tooltipErrorSubtitle:"Sorry, there was a problem",idctaFailedErrorBody:"Please refresh your browser and try again.",otherErrorBody:"Please try again later.",loading:"Loading",commentsSortError:"We’re having some problems displaying the comments at the moment. Please try again later.",commentsSortSuccessful:"{{sortOrder}} comments have been displayed",commentsSortLoading:"Loading {{sortOrder}} comments",viewCommentsButton:"View Comments",backToTop:"Back to top"},e.exports=t.default}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-comments-data/apiKey/ab2c9ff4-f244-49bb-8feb-359d090a2fd2/forumId/ownit__cope_with_change_uncertainty/isSortToggleOverrideOff/false/pageSize/40/version/3.19.1', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"title":"Comments","idcta":{"policy":"u16comment"},"siteName":"ownit","moderation":{"rulesPageUrl":"\/ownit\/about-us\/website-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,"config":{"featureToggles":{"downRatings":false,"liveUpdate":true,"ratings":true,"replies":true,"sort":false},"initialView":"comments","pageSize":20,"subtheme":"stay-safe","theme":"childrens"},"sortOrder":"NewestFirst"}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-id-availability-data/version/2.1.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-comments-data/apiKey/ab2c9ff4-f244-49bb-8feb-359d090a2fd2/forumId/ownit__cope_with_change_uncertainty/sinceIndex/-1/version/3.19.1', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"comments":[]}}); });</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__cope_with_change_uncertainty","idctaEnv":"live","mode":"embedded","product":"stay-safe","signInContext":"cbbc","themeVariant":"childrens","toggleOverrides":"ratings:on,liveUpdate:on,replies:on","version":"3.66.3","_mrrVersion":"2.1.0"},'u9478920504302819'); });</script> <script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20210116223748/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20210116223748/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20210116223748/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20210116223748/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20210116223748/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20210116223748/https://m.files.bbci.co.uk/modules/morph-push-proxy-client/1.0.11/push-proxy' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u9478920504302819 */</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/20210116223748/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> <script id="orb-js-script" data-assetpath="https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/" src="https://web.archive.org/web/20210116223748js_/https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/js/orb.min.js"></script><div id="orb-footer" class="orb-footer" dir="ltr"><div id="navp-orb-footer-promo"></div><script type="text/javascript">/*<![CDATA[*/ require(['orb/nav'], function(nav) { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { nav.loadJs('https://web.archive.org/web/20210116223748/https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/js/edr.min.js'); } }); }); /*]]>*/</script> <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/20210116223748/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20210116223748/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/20210116223748/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/20210116223748/https://www.bbcglobalnews.com/">Advertise with us<' + '/a><' + '/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.com/usingthebbc/cookies/how-can-i-change-my-bbc-cookie-settings/">AdChoices / Do Not Sell My Info<' + '/a><' + '/li>';</script><div class="orb-footer-inner"><div><ul><li class="orb-footer-terms"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20210116223748/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright &copy; 2021 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/20210116223748/https://www.bbc.co.uk/help/web/links/" class="orb-hilight">Read about our approach to external linking.</a></span></small></div></div></div></footer></div><script src="https://web.archive.org/web/20210116223748js_/https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/js/nav.min.js"></script><script type="text/javascript" src="https://web.archive.org/web/20210116223748js_/https://static.files.bbci.co.uk/orbit/1006e027378d380307cb073290531b27/js/redirect.bundle.js"></script> <script type="text/javascript">if (window.SEARCHBOX.locale) { require.config({ paths: { "search/searchbox": window.SEARCHBOX.searchboxAppStaticPrefix, } }); if (bbcuser && bbcuser.isUKCombined) { bbcuser.isUKCombined().then(function (isUK) { if (isUK) { require(['search/searchbox/searchboxDrawer'], function (SearchboxDrawer) { SearchboxDrawer.run(window.SEARCHBOX); }); } }); } }</script> <script type="text/javascript">require.config({ "paths": { "orb/async/_footerpromo": 'https://web.archive.org/web/20210116223748/https://nav.files.bbci.co.uk/navpromo/540f3f6dbf28b119bbe06e61544e3f22/js/async/_footerpromo' } }); (function() { document.addEventListener("DOMContentLoaded", function(event) { initialiseFooter(); }); var scrollCheckTimer; var didScroll; var previousPosition = 0; var delta = 5; var PROMO_SHOW_BREAKPOINT = 1500; var pageLength = 0; function getCookie(key) { if (!key) { return document.cookie; } return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null; } function initialiseFooter() { // Suppress this feature on browsers we no longer test var myNav = navigator.userAgent.toLowerCase(); var oldIE = (myNav.indexOf('msie') !== -1) && parseInt(myNav.split('msie')[1], 10) <= 10; if (!oldIE) { var disabledByCookie = (parseInt(getCookie('ckns_nav_promofail')) || 0) >= 3; if (!disabledByCookie) { window.bbcpage.getLanguage().then(function(language) { if (language === 'en') { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { setUpLazyLoading(); } }); } }); } } } function setUpLazyLoading() { // offsetHeight is expensive to calculate, only do it once. pageLength = Math.abs(document.body.offsetHeight); if (pageLength < getViewportHeight() + 300 || pageLength - getCurrentPosition() < PROMO_SHOW_BREAKPOINT) { loadPromo(); } else { window.onscroll = function () { didScroll = true; }; scrollCheckTimer = setInterval(function () { if (didScroll) { hasScrolled(); didScroll = false; } }, 250); } } function loadPromo() { clearInterval(scrollCheckTimer); require(['orb/async/_footerpromo'], function(promo) { promo.init('https://web.archive.org/web/20210116223748/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">window.COOKIES_STATIC_HOST = 'https://web.archive.org/web/20210116223748/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-562.3a038b3/cookie-banner/cookie-prompt/';</script><script src="https://web.archive.org/web/20210116223748js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-562.3a038b3/cookie-banner/cookie-banners.bundle.js" async=""></script> <script src="https://web.archive.org/web/20210116223748js_/https://nav.files.bbci.co.uk//user-activity-helper/64646097e2556a259d246b2e48381785/js/detectview.bundle.js" async=""></script><script type="text/javascript">"use strict";window.__reverb.__reverbLoadedPromise.then(function(e){return e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Failed to load reverb. No event sent")});</script> </body> </html> <!-- FILE ARCHIVED ON 22:37:48 Jan 16, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 00:28:26 Nov 27, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.602 exclusion.robots: 0.029 exclusion.robots.policy: 0.018 esindex: 0.009 cdx.remote: 5.709 LoadShardBlock: 136.862 (3) PetaboxLoader3.datanode: 132.465 (4) load_resource: 328.799 PetaboxLoader3.resolve: 193.691 -->

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