CINXE.COM

Jigsaw - Scream Street - Spooky Halloween puzzle featuring vampires, werewolves, skeletons and zombies! - CBBC - 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.co.uk/cbbc/puzzles/scream-street-jigsaw","20211103195646","https://web.archive.org/","web","/_static/", "1635969406"); </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/20211103195646js_/https://cdn.optimizely.com/public/4621041136/s/childrens_prod.js"></script> <title>Jigsaw - Scream Street - Spooky Halloween puzzle featuring vampires, werewolves, skeletons and zombies! - CBBC - BBC</title> <meta name="DCTERMS.title" content="Jigsaw - Scream Street - Spooky Halloween puzzle featuring vampires, werewolves, skeletons and zombies! - CBBC - BBC"/> <meta name="description" content="Can you piece together these spooktacular jigsaws featuring some scarily brilliant moments from Scream Street series 2? "/> <meta name="DCTERMS.description" content="Can you piece together these spooktacular jigsaws featuring some scarily brilliant moments from Scream Street series 2? "/> <meta property="og:title" content="Scream Street - Jigsaw: Scream Street"/> <meta property="og:description" content="Can you piece together these spooktacular jigsaws featuring some scarily brilliant moments from Scream Street series 2? "/> <meta property="og:image" content="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/cbbc/scream-street-jigsaw-index.jpg"/> <meta property="og:url" content="https://web.archive.org/web/20211103195646/http://www.bbc.co.uk/cbbc/puzzles/scream-street-jigsaw"/> <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="2021-10-14T09:35:00.000Z"/> <meta name="DCTERMS.modified" content="2021-10-14T08:44:48.745Z"/> <link rel="canonical" href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/scream-street-jigsaw"/> <script type="text/javascript"> var _sf_startpt = (new Date()).getTime() </script> <link rel="copyright" href="https://web.archive.org/web/20211103195646/http://www.bbc.co.uk/terms/" title="Terms of Use"/> <link href="/web/20211103195646im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/apple-touch-icon.png" rel="apple-touch-icon"/> <link href="/web/20211103195646im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon.ico" rel="shortcut icon" type="image/x-icon"/> <link href="/web/20211103195646im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon-16x16.png" rel="icon" type="image/png" sizes="16x16"/> <link href="/web/20211103195646im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon-32x32.png" rel="icon" type="image/png" sizes="32x32"/> <link href="/web/20211103195646im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon-96x96.png" rel="icon" type="image/png" sizes="96x96"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20211103195646cs_/https://static.bbci.co.uk/gelstyles/0.11.0/style/core.css"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20211103195646cs_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/stylesheets/cbbc.min.css"/> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/stylesheets/cbbc.ie8.min.css"/> <![endif]--> <link rel="stylesheet" type="text/css" href="/web/20211103195646cs_/https://www.bbc.co.uk/cbbc/stylesheets/immersive/brand/1634052875/997c420/scream-street.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> <!-- Orbit: 3.0.0-1719.65af99a0 --> <!-- Environment: live --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> :root { --bbc-font: ReithSans, Arial, Helvetica, freesans, sans-serif; --bbc-font-legacy: Arial, Helvetica, freesans, sans-serif; } </style> <link rel="stylesheet" href="https://web.archive.org/web/20211103195646cs_/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/css/orb-ltr.min.css"> <script src="https://web.archive.org/web/20211103195646js_/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/require.min.js"></script> <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: 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'] = 'scream-street' || null; additionalPageProperties['custom_var_2'] = 'true' || null; additionalPageProperties['custom_var_3'] = 'false' || null; additionalPageProperties['custom_var_4'] = 'cbbc-top-picks-today' || null; additionalPageProperties['custom_var_5'] = 'gid-jigsaw-scream-street' || null; additionalPageProperties['custom_var_6'] = '2021-10-14T08:44:48.745Z' || null; additionalPageProperties['custom_var_7'] = '2021-10-14T08:44:48.745Z' || null; additionalPageProperties['custom_var_10'] = 'none' || null; additionalPageProperties['app_name'] = 'cbbc' || null; window.orbitData.userProfileUrl = "https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/userprofile"; window.page = { name: '' || null, destination: 'cbbc' || null, producer: 'cbbc' || null, section: 'puzzles' || null, site: '' || null, contentId: 'urn:bbc:isite2:c808824d-bb66-4417-9d52-dd63267bd171' || null, contentType: 'article' || null, edition: '' || null, additionalProperties: additionalPageProperties }; window.page.language = 'en'; window.page.language = 'en'; window.page.modal = false; !function(){var t={3053:function(t,r,e){function n(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function o(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?n(Object(e),!0).forEach((function(r){i(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function i(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var u=e(1391),c=e(9135);window.bbcpage=u.init(o({},window.page)),window.page=void 0,window.bbcuser=c.init(window,o({},window.user))},1391:function(t){function r(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function e(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?r(Object(o),!0).forEach((function(r){n(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}function n(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}t.exports={init:function(t){var r=e({},t);return document.addEventListener("bbc-page-reset",(function(t){var e;t.detail&&t.detail.page&&(e=t.detail.page,r=Object.assign(r,e)),document.dispatchEvent(new Event("bbc-page-updated"))})),{getName:function(){return Promise.resolve(r.name||function(){if("file:"===window.location.protocol)return"local.file";var t=window.location.pathname.replace(/\/$/,"").replace(/^\//,"").replace(/\//g,".");return"".concat(t,".page")}())},getLanguage:function(){return Promise.resolve(r.language)},getDestination:function(){return Promise.resolve(r.destination)},getProducer:function(){return Promise.resolve(r.producer)},getSection:function(){return Promise.resolve(r.section)},getContentType:function(){return Promise.resolve(r.contentType)},getContentId:function(){return Promise.resolve(r.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(e({},r.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(r.modal)}}}}},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){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function n(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach((function(r){o(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function o(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function i(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function u(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 c(t){var r="function"==typeof Map?new Map:void 0;return(c=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 a(t,arguments,l(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,t)})(t)}function a(t,r,e){return(a=s()?Reflect.construct:function(t,r,e){var n=[null];n.push.apply(n,r);var o=new(Function.bind.apply(t,n));return e&&f(o,e.prototype),o}).apply(null,arguments)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function f(t,r){return(f=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=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&&f(t,r)}(o,t);var r,e,n=(r=o,e=s(),function(){var t,n=l(r);if(e){var o=l(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return u(this,t)});function o(){return i(this,o),n.apply(this,arguments)}return o}(c(Error));function h(t){return new Promise((function(r,e){window.require(t,(function(){r.apply(this,arguments)}),(function(t){e(t)}))}))}t.exports={init:function(t,r){var e,o=n({},r),i=null;function u(){if(["X-Country","X-Ip_is_advertise_combined","X-Ip_is_uk_combined"].every((function(t){return!!o[t]})))return Promise.resolve(o);if(!i){var r=t.location.hostname.endsWith(".com")?"com":"co.uk";i=t.fetch("https://web.archive.org/web/20211103195646/https://www.bbc.".concat(r,"/userinfo")).then((function(t){return t.json()}))}return i}function c(t){if(t.status>=200&&t.status<300)return t;var r=new Error(t.statusText);throw r.response=t,r}function a(t){return t.json()}function s(){if(o.ageBand)return Promise.resolve(o);if(!e){if("undefined"==typeof XMLHttpRequest||!("withCredentials"in new XMLHttpRequest))return Promise.resolve(o);e=h(["idcta-v2/idcta-1"]).then((function(r){return r.initiateTokenRefresh().then((function(){return t.fetch(t.orbitData.userProfileUrl,{credentials:"include"}).then(c).then(a).then((function(t){return o=n(n({},o),t)}))}))}))}return e}var f={getHashedId:function(){return h(["idcta-v2/idcta-1"]).then((function(t){return t.getCookieInstance().getHidFromCookie()}))},isSignedIn:function(){return h(["idcta-v2/idcta-1"]).then((function(t){return t&&t.getCookieInstance().hasCookie()}))},getCountry:function(){return u().then((function(t){return t["X-Country"]||"gb"}))},isUKCombined:function(){return u().then((function(t){if(!t["X-Ip_is_uk_combined"])throw new p("missing isUKCombined from userinfo response");return"yes"===t["X-Ip_is_uk_combined"].toLowerCase()}))},canSeeAdverts:function(){return u().then((function(t){if(!t["X-Ip_is_advertise_combined"])throw new p("missing canSeeAdverts from userinfo response");return"yes"===t["X-Ip_is_advertise_combined"].toLowerCase()}))},getAgeBand:function(){return u().then((function(t){return t["X-Age-Band"]?Promise.resolve(t["X-Age-Band"]):f.isSignedIn().then((function(t){if(t)return s().then((function(t){return o["X-Age-Band"]=t["X-Age-Band"],o["X-Age-Band"]||void 0})).catch((function(){return o["X-Age-Band"]||void 0}))}))}))},allowsPerformanceCookies:function(){return h(["orb/cookies"]).then((function(t){return!!t.cookiesEnabled()&&!!t.readPolicy("performance")}))},allowsFunctionalCookies:function(){return h(["orb/cookies"]).then((function(t){return!!t.cookiesEnabled()&&!!t.readPolicy("personalisation")}))},getCookieValue:function(t){return h(["orb/cookies"]).then((function(r){return r.get(t)}))}};return f},BBCUserError:p}},7633:function(t,r,e){e(9170),e(6992),e(1539),e(8674),e(7922),e(4668),e(7727),e(8783);var n=e(857);t.exports=n.Promise},1111:function(t,r,e){e(1539),e(4916),e(4953),e(8992),e(9841),e(4506),e(7852),e(2023),e(4723),e(6373),e(6528),e(3112),e(2481),e(5306),e(8757),e(4765),e(3123),e(3157),e(3650),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},9662:function(t,r,e){var n=e(7854),o=e(614),i=e(6330),u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},9483:function(t,r,e){var n=e(7854),o=e(4411),i=e(6330),u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a constructor")}},6077:function(t,r,e){var n=e(7854),o=e(614),i=n.String,u=n.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},1223:function(t,r,e){var n=e(5112),o=e(30),i=e(3070),u=n("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[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,r,e){var n=e(7854),o=e(7976),i=n.TypeError;t.exports=function(t,r){if(o(r,t))return t;throw i("Incorrect invocation")}},9670:function(t,r,e){var n=e(7854),o=e(111),i=n.String,u=n.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},1318:function(t,r,e){var n=e(5656),o=e(1400),i=e(6244),u=function(t){return function(r,e,u){var c,a=n(r),s=i(a),f=o(u,s);if(t&&e!=e){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},206:function(t,r,e){var n=e(1702);t.exports=n([].slice)},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,r,e){var n=e(1702),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:function(t,r,e){var n=e(7854),o=e(1694),i=e(614),u=e(4326),c=e(5112)("toStringTag"),a=n.Object,s="Arguments"==u(function(){return arguments}());t.exports=o?u: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=a(t),c))?e:s?u(r):"Object"==(n=u(r))&&i(r.callee)?"Arguments":n}},7741:function(t,r,e){var n=e(1702),o=e(206),i=n("".replace),u=n("".split),c=n([].join),a=String(Error("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,f=s.test(a),l=/@[^\n]*\n/.test(a)&&!/zxcasd/.test(a);t.exports=function(t,r){if("string"!=typeof t)return t;if(f)for(;r--;)t=i(t,s,"");else if(l)return c(o(u(t,"\n"),r),"\n");return t}},9920:function(t,r,e){var n=e(2597),o=e(3887),i=e(1236),u=e(3070);t.exports=function(t,r){for(var e=o(r),c=u.f,a=i.f,s=0;s<e.length;s++){var f=e[s];n(t,f)||c(t,f,a(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(1702),o=e(4488),i=e(1340),u=/"/g,c=n("".replace);t.exports=function(t,r,e,n){var a=i(o(t)),s="<"+r;return""!==e&&(s+=" "+e+'="'+c(i(n),u,"&quot;")+'"'),s+">"+a+"</"+r+">"}},4994:function(t,r,e){"use strict";var n=e(3383).IteratorPrototype,o=e(30),i=e(9114),u=e(8003),c=e(7497),a=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),c[s]=a,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(6916),i=e(1913),u=e(6530),c=e(614),a=e(4994),s=e(9518),f=e(7674),l=e(8003),p=e(8880),h=e(1320),d=e(5112),v=e(7497),y=e(3383),g=u.PROPER,b=u.CONFIGURABLE,m=y.IteratorPrototype,x=y.BUGGY_SAFARI_ITERATORS,w=d("iterator"),O="keys",E="values",S="entries",j=function(){return this};t.exports=function(t,r,e,u,d,y,P){a(e,r,u);var T,_,A,I=function(t){if(t===d&&B)return B;if(!x&&t in k)return k[t];switch(t){case O:case E:case S:return function(){return new e(this,t)}}return function(){return new e(this)}},R=r+" Iterator",L=!1,k=t.prototype,C=k[w]||k["@@iterator"]||d&&k[d],B=!x&&C||I(d),D="Array"==r&&k.entries||C;if(D&&(T=s(D.call(new t)))!==Object.prototype&&T.next&&(i||s(T)===m||(f?f(T,m):c(T[w])||h(T,w,j)),l(T,R,!0,!0),i&&(v[R]=j)),g&&d==E&&C&&C.name!==E&&(!i&&b?p(k,"name",E):(L=!0,B=function(){return o(C,this)})),d)if(_={values:I(E),keys:y?B:I(O),entries:I(S)},P)for(A in _)(x||L||!(A in k))&&h(k,A,_[A]);else n({target:r,proto:!0,forced:x||L},_);return i&&!P||k[w]===B||h(k,w,B,{name:d}),v[r]=B,_}},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}},8509:function(t,r,e){var n=e(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},7871:function(t){t.exports="object"==typeof window},1528:function(t,r,e){var n=e(8113),o=e(7854);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},6833:function(t,r,e){var n=e(8113);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5268:function(t,r,e){var n=e(4326),o=e(7854);t.exports="process"==n(o.process)},1036:function(t,r,e){var n=e(8113);t.exports=/web0s(?!.*chrome)/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),c=i.process,a=i.Deno,s=c&&c.versions||a&&a.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:function(t,r,e){var n=e(7293),o=e(9114);t.exports=!n((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},2109:function(t,r,e){var n=e(7854),o=e(1236).f,i=e(8880),u=e(1320),c=e(3505),a=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]||c(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;a(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(1702),o=e(1320),i=e(2261),u=e(7293),c=e(5112),a=e(8880),s=c("species"),f=RegExp.prototype;t.exports=function(t,r,e,l){var p=c(t),h=!u((function(){var r={};return r[p]=function(){return 7},7!=""[t](r)})),d=h&&!u((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[s]=function(){return e},e.flags="",e[p]=/./[p]),e.exec=function(){return r=!0,null},e[p](""),!r}));if(!h||!d||e){var v=n(/./[p]),y=r(p,""[t],(function(t,r,e,o,u){var c=n(t),a=r.exec;return a===i||a===f.exec?h&&!u?{done:!0,value:v(r,e,o)}:{done:!0,value:c(e,r,o)}:{done:!1}}));o(String.prototype,t,y[0]),o(f,p,y[1])}l&&a(f[p],"sham",!0)}},2104:function(t){var r=Function.prototype,e=r.apply,n=r.bind,o=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(e):function(){return o.apply(e,arguments)})},9974:function(t,r,e){var n=e(1702),o=e(9662),i=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?i(t,r):function(){return t.apply(r,arguments)}}},6916:function(t){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},6530:function(t,r,e){var n=e(9781),o=e(2597),i=Function.prototype,u=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,s=c&&(!n||n&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:s}},1702:function(t){var r=Function.prototype,e=r.bind,n=r.call,o=e&&e.bind(n);t.exports=e?function(t){return t&&o(n,t)}:function(t){return t&&function(){return n.apply(t,arguments)}}},5005:function(t,r,e){var n=e(7854),o=e(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t]):n[t]&&n[t][r]}},1246:function(t,r,e){var n=e(648),o=e(8173),i=e(7497),u=e(5112)("iterator");t.exports=function(t){if(null!=t)return o(t,u)||o(t,"@@iterator")||i[n(t)]}},8554:function(t,r,e){var n=e(7854),o=e(6916),i=e(9662),u=e(9670),c=e(6330),a=e(1246),s=n.TypeError;t.exports=function(t,r){var e=arguments.length<2?a(t):r;if(i(e))return u(o(e,t));throw s(c(t)+" is not iterable")}},8173:function(t,r,e){var n=e(9662);t.exports=function(t,r){var e=t[r];return null==e?void 0:n(e)}},647:function(t,r,e){var n=e(1702),o=e(7908),i=Math.floor,u=n("".charAt),c=n("".replace),a=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,r,e,n,l,p){var h=e+t.length,d=n.length,v=f;return void 0!==l&&(l=o(l),v=s),c(p,v,(function(o,c){var s;switch(u(c,0)){case"$":return"$";case"&":return t;case"`":return a(r,0,e);case"'":return a(r,h);case"<":s=l[a(c,1,-1)];break;default:var f=+c;if(0===f)return o;if(f>d){var p=i(f/10);return 0===p?o:p<=d?void 0===n[p-1]?u(c,1):n[p-1]+u(c,1):o}s=n[f-1]}return void 0===s?"":s}))}},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}()||Function("return this")()},2597:function(t,r,e){var n=e(1702),o=e(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},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(7854),o=e(1702),i=e(7293),u=e(4326),c=n.Object,a=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?a(t,""):c(t)}:c},2788:function(t,r,e){var n=e(1702),o=e(614),i=e(5465),u=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},8340:function(t,r,e){var n=e(111),o=e(8880);t.exports=function(t,r){n(r)&&"cause"in r&&o(t,"cause",r.cause)}},9909:function(t,r,e){var n,o,i,u=e(8536),c=e(7854),a=e(1702),s=e(111),f=e(8880),l=e(2597),p=e(5465),h=e(6200),d=e(3501),v="Object already initialized",y=c.TypeError,g=c.WeakMap;if(u||p.state){var b=p.state||(p.state=new g),m=a(b.get),x=a(b.has),w=a(b.set);n=function(t,r){if(x(b,t))throw new y(v);return r.facade=t,w(b,t,r),r},o=function(t){return m(b,t)||{}},i=function(t){return x(b,t)}}else{var O=h("state");d[O]=!0,n=function(t,r){if(l(t,O))throw new y(v);return r.facade=t,f(t,O,r),r},o=function(t){return l(t,O)?t[O]:{}},i=function(t){return l(t,O)}}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(!s(r)||(e=o(r)).type!==t)throw y("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)}},614:function(t){t.exports=function(t){return"function"==typeof t}},4411:function(t,r,e){var n=e(1702),o=e(7293),i=e(614),u=e(648),c=e(5005),a=e(2788),s=function(){},f=[],l=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=n(p.exec),d=!p.exec(s),v=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(t){return!1}};t.exports=!l||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!h(p,a(t))}:v},4705:function(t,r,e){var n=e(7293),o=e(614),i=/#|\.prototype\./,u=function(t,r){var e=a[c(t)];return e==f||e!=s&&(o(r)?n(r):!!r)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=u.data={},s=u.NATIVE="N",f=u.POLYFILL="P";t.exports=u},111:function(t,r,e){var n=e(614);t.exports=function(t){return"object"==typeof t?null!==t:n(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))}},2190:function(t,r,e){var n=e(7854),o=e(5005),i=e(614),u=e(7976),c=e(3307),a=n.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var r=o("Symbol");return i(r)&&u(r.prototype,a(t))}},408:function(t,r,e){var n=e(7854),o=e(9974),i=e(6916),u=e(9670),c=e(6330),a=e(7659),s=e(6244),f=e(7976),l=e(8554),p=e(1246),h=e(9212),d=n.TypeError,v=function(t,r){this.stopped=t,this.result=r},y=v.prototype;t.exports=function(t,r,e){var n,g,b,m,x,w,O,E=e&&e.that,S=!(!e||!e.AS_ENTRIES),j=!(!e||!e.IS_ITERATOR),P=!(!e||!e.INTERRUPTED),T=o(r,E),_=function(t){return n&&h(n,"normal",t),new v(!0,t)},A=function(t){return S?(u(t),P?T(t[0],t[1],_):T(t[0],t[1])):P?T(t,_):T(t)};if(j)n=t;else{if(!(g=p(t)))throw d(c(t)+" is not iterable");if(a(g)){for(b=0,m=s(t);m>b;b++)if((x=A(t[b]))&&f(y,x))return x;return new v(!1)}n=l(t,g)}for(w=n.next;!(O=i(w,n)).done;){try{x=A(O.value)}catch(t){h(n,"throw",t)}if("object"==typeof x&&x&&f(y,x))return x}return new v(!1)}},9212:function(t,r,e){var n=e(6916),o=e(9670),i=e(8173);t.exports=function(t,r,e){var u,c;o(t);try{if(!(u=i(t,"return"))){if("throw"===r)throw e;return e}u=n(u,t)}catch(t){c=!0,u=t}if("throw"===r)throw e;if(c)throw u;return o(u),e}},3383:function(t,r,e){"use strict";var n,o,i,u=e(7293),c=e(614),a=e(30),s=e(9518),f=e(1320),l=e(5112),p=e(1913),h=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(n=o):d=!0),null==n||u((function(){var t={};return n[h].call(t)!==t}))?n={}:p&&(n=a(n)),c(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7497:function(t){t.exports={}},6244:function(t,r,e){var n=e(7466);t.exports=function(t){return n(t.length)}},5948:function(t,r,e){var n,o,i,u,c,a,s,f,l=e(7854),p=e(9974),h=e(1236).f,d=e(261).set,v=e(6833),y=e(1528),g=e(1036),b=e(5268),m=l.MutationObserver||l.WebKitMutationObserver,x=l.document,w=l.process,O=l.Promise,E=h(l,"queueMicrotask"),S=E&&E.value;S||(n=function(){var t,r;for(b&&(t=w.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()},v||b||g||!m||!x?!y&&O&&O.resolve?((s=O.resolve(void 0)).constructor=O,f=p(s.then,s),u=function(){f(n)}):b?u=function(){w.nextTick(n)}:(d=p(d,l),u=function(){d(n)}):(c=!0,a=x.createTextNode(""),new m(n).observe(a,{characterData:!0}),u=function(){a.data=c=!c})),t.exports=S||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(7392),o=e(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:function(t,r,e){var n=e(7854),o=e(614),i=e(2788),u=n.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},8523:function(t,r,e){"use strict";var n=e(9662),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)}},6277:function(t,r,e){var n=e(1340);t.exports=function(t,r){return void 0===t?arguments.length<2?"":r:n(t)}},3929:function(t,r,e){var n=e(7854),o=e(7850),i=n.TypeError;t.exports=function(t){if(o(t))throw i("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),c=e(3501),a=e(490),s=e(317),f=e(6200),l=f("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"</"+"script>"},d=function(t){t.write(h("")),t.close();var r=t.parentWindow.Object;return t=null,r},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r;v="undefined"!=typeof document?document.domain&&n?d(n):((r=s("iframe")).style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):d(n);for(var e=u.length;e--;)delete v.prototype[u[e]];return v()};c[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=v(),void 0===r?e:i(e,r)}},6048:function(t,r,e){var n=e(9781),o=e(3070),i=e(9670),u=e(5656),c=e(1956);t.exports=n?Object.defineProperties:function(t,r){i(t);for(var e,n=u(r),a=c(r),s=a.length,f=0;s>f;)o.f(t,e=a[f++],n[e]);return t}},3070:function(t,r,e){var n=e(7854),o=e(9781),i=e(4664),u=e(9670),c=e(4948),a=n.TypeError,s=Object.defineProperty;r.f=o?s:function(t,r,e){if(u(t),r=c(r),u(e),i)try{return s(t,r,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},1236:function(t,r,e){var n=e(9781),o=e(6916),i=e(5296),u=e(9114),c=e(5656),a=e(4948),s=e(2597),f=e(4664),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=c(t),r=a(r),f)try{return l(t,r)}catch(t){}if(s(t,r))return u(!o(i.f,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(7854),o=e(2597),i=e(614),u=e(7908),c=e(6200),a=e(8544),s=c("IE_PROTO"),f=n.Object,l=f.prototype;t.exports=a?f.getPrototypeOf:function(t){var r=u(t);if(o(r,s))return r[s];var e=r.constructor;return i(e)&&r instanceof e?e.prototype:r instanceof f?l:null}},7976:function(t,r,e){var n=e(1702);t.exports=n({}.isPrototypeOf)},6324:function(t,r,e){var n=e(1702),o=e(2597),i=e(5656),u=e(1318).indexOf,c=e(3501),a=n([].push);t.exports=function(t,r){var e,n=i(t),s=0,f=[];for(e in n)!o(c,e)&&o(n,e)&&a(f,e);for(;r.length>s;)o(n,e=r[s++])&&(~u(f,e)||a(f,e));return f}},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(1702),o=e(9670),i=e(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return o(e),i(n),r?t(e,n):e.__proto__=n,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)+"]"}},2140:function(t,r,e){var n=e(7854),o=e(6916),i=e(614),u=e(111),c=n.TypeError;t.exports=function(t,r){var e,n;if("string"===r&&i(e=t.toString)&&!u(n=o(e,t)))return n;if(i(e=t.valueOf)&&!u(n=o(e,t)))return n;if("string"!==r&&i(e=t.toString)&&!u(n=o(e,t)))return n;throw c("Can't convert object to primitive value")}},3887:function(t,r,e){var n=e(5005),o=e(1702),i=e(8006),u=e(5181),c=e(9670),a=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(c(t)),e=u.f;return e?a(r,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(614),i=e(2597),u=e(8880),c=e(3505),a=e(2788),s=e(9909),f=e(6530).CONFIGURABLE,l=s.get,p=s.enforce,h=String(String).split("String");(t.exports=function(t,r,e,a){var s,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,v=!!a&&!!a.noTargetGet,y=a&&void 0!==a.name?a.name:r;o(e)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||f&&e.name!==y)&&u(e,"name",y),(s=p(e)).source||(s.source=h.join("string"==typeof y?y:""))),t!==n?(l?!v&&t[r]&&(d=!0):delete t[r],d?t[r]=e:u(t,r,e)):d?t[r]=e:c(r,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||a(this)}))},7651:function(t,r,e){var n=e(7854),o=e(6916),i=e(9670),u=e(614),c=e(4326),a=e(2261),s=n.TypeError;t.exports=function(t,r){var e=t.exec;if(u(e)){var n=o(e,t,r);return null!==n&&i(n),n}if("RegExp"===c(t))return o(a,t,r);throw s("RegExp#exec called on incompatible receiver")}},2261:function(t,r,e){"use strict";var n,o,i=e(6916),u=e(1702),c=e(1340),a=e(7066),s=e(2999),f=e(2309),l=e(30),p=e(9909).get,h=e(9441),d=e(7168),v=f("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,g=y,b=u("".charAt),m=u("".indexOf),x=u("".replace),w=u("".slice),O=(o=/b*/g,i(y,n=/a/,"a"),i(y,o,"a"),0!==n.lastIndex||0!==o.lastIndex),E=s.UNSUPPORTED_Y||s.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(O||S||E||h||d)&&(g=function(t){var r,e,n,o,u,s,f,h=this,d=p(h),j=c(t),P=d.raw;if(P)return P.lastIndex=h.lastIndex,r=i(g,P,j),h.lastIndex=P.lastIndex,r;var T=d.groups,_=E&&h.sticky,A=i(a,h),I=h.source,R=0,L=j;if(_&&(A=x(A,"y",""),-1===m(A,"g")&&(A+="g"),L=w(j,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==b(j,h.lastIndex-1))&&(I="(?: "+I+")",L=" "+L,R++),e=new RegExp("^(?:"+I+")",A)),S&&(e=new RegExp("^"+I+"$(?!\\s)",A)),O&&(n=h.lastIndex),o=i(y,_?e:h,L),_?o?(o.input=w(o.input,R),o[0]=w(o[0],R),o.index=h.lastIndex,h.lastIndex+=o[0].length):h.lastIndex=0:O&&o&&(h.lastIndex=h.global?o.index+o[0].length:n),S&&o&&o.length>1&&i(v,o[0],e,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o&&T)for(o.groups=s=l(null),u=0;u<T.length;u++)s[(f=T[u])[0]]=o[f[1]];return o}),t.exports=g},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){var n=e(7293),o=e(7854).RegExp;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")}))},9441:function(t,r,e){var n=e(7293),o=e(7854).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:function(t,r,e){var n=e(7293),o=e(7854).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:function(t,r,e){var n=e(7854).TypeError;t.exports=function(t){if(null==t)throw n("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=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}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),c=i("species");t.exports=function(t){var r=n(t),e=o.f;u&&r&&!r[c]&&e(r,c,{configurable:!0,get:function(){return this}})}},8003:function(t,r,e){var n=e(3070).f,o=e(2597),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.19.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(t,r,e){var n=e(9670),o=e(9483),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(1702),o=e(9303),i=e(1340),u=e(4488),c=n("".charAt),a=n("".charCodeAt),s=n("".slice),f=function(t){return function(r,e){var n,f,l=i(u(r)),p=o(e),h=l.length;return p<0||p>=h?t?"":void 0:(n=a(l,p))<55296||n>56319||p+1===h||(f=a(l,p+1))<56320||f>57343?t?c(l,p):n:t?s(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},4986:function(t,r,e){var n=e(8113);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},6650:function(t,r,e){var n=e(1702),o=e(7466),i=e(1340),u=e(8415),c=e(4488),a=n(u),s=n("".slice),f=Math.ceil,l=function(t){return function(r,e,n){var u,l,p=i(c(r)),h=o(e),d=p.length,v=void 0===n?" ":i(n);return h<=d||""==v?p:((l=a(v,f((u=h-d)/v.length))).length>u&&(l=s(l,0,u)),t?p+l:l+p)}};t.exports={start:l(!1),end:l(!0)}},8415:function(t,r,e){"use strict";var n=e(7854),o=e(9303),i=e(1340),u=e(4488),c=n.RangeError;t.exports=function(t){var r=i(u(this)),e="",n=o(t);if(n<0||n==1/0)throw c("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(r+=r))1&n&&(e+=r);return e}},6091:function(t,r,e){var n=e(6530).PROPER,o=e(7293),i=e(1361);t.exports=function(t){return o((function(){return!!i[t]()||"​…᠎"!=="​…᠎"[t]()||n&&i[t].name!==t}))}},3111:function(t,r,e){var n=e(1702),o=e(4488),i=e(1340),u=e(1361),c=n("".replace),a="["+u+"]",s=RegExp("^"+a+a+"*"),f=RegExp(a+a+"*$"),l=function(t){return function(r){var e=i(o(r));return 1&t&&(e=c(e,s,"")),2&t&&(e=c(e,f,"")),e}};t.exports={start:l(1),end:l(2),trim:l(3)}},261:function(t,r,e){var n,o,i,u,c=e(7854),a=e(2104),s=e(9974),f=e(614),l=e(2597),p=e(7293),h=e(490),d=e(206),v=e(317),y=e(6833),g=e(5268),b=c.setImmediate,m=c.clearImmediate,x=c.process,w=c.Dispatch,O=c.Function,E=c.MessageChannel,S=c.String,j=0,P={},T="onreadystatechange";try{n=c.location}catch(t){}var _=function(t){if(l(P,t)){var r=P[t];delete P[t],r()}},A=function(t){return function(){_(t)}},I=function(t){_(t.data)},R=function(t){c.postMessage(S(t),n.protocol+"//"+n.host)};b&&m||(b=function(t){var r=d(arguments,1);return P[++j]=function(){a(f(t)?t:O(t),void 0,r)},o(j),j},m=function(t){delete P[t]},g?o=function(t){x.nextTick(A(t))}:w&&w.now?o=function(t){w.now(A(t))}:E&&!y?(u=(i=new E).port2,i.port1.onmessage=I,o=s(u.postMessage,u)):c.addEventListener&&f(c.postMessage)&&!c.importScripts&&n&&"file:"!==n.protocol&&!p(R)?(o=R,c.addEventListener("message",I,!1)):o=T in v("script")?function(t){h.appendChild(v("script")).onreadystatechange=function(){h.removeChild(this),_(t)}}:function(t){setTimeout(A(t),0)}),t.exports={set:b,clear:m}},1400:function(t,r,e){var n=e(9303),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))}},9303:function(t){var r=Math.ceil,e=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?e:r)(n)}},7466:function(t,r,e){var n=e(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:function(t,r,e){var n=e(7854),o=e(4488),i=n.Object;t.exports=function(t){return i(o(t))}},7593:function(t,r,e){var n=e(7854),o=e(6916),i=e(111),u=e(2190),c=e(8173),a=e(2140),s=e(5112),f=n.TypeError,l=s("toPrimitive");t.exports=function(t,r){if(!i(t)||u(t))return t;var e,n=c(t,l);if(n){if(void 0===r&&(r="default"),e=o(n,t,r),!i(e)||u(e))return e;throw f("Can't convert object to primitive value")}return void 0===r&&(r="number"),a(t,r)}},4948:function(t,r,e){var n=e(7593),o=e(2190);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},1694:function(t,r,e){var n={};n[e(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:function(t,r,e){var n=e(7854),o=e(648),i=n.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:function(t,r,e){var n=e(7854).String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},9711:function(t,r,e){var n=e(1702),o=0,i=Math.random(),u=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,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(2597),u=e(9711),c=e(133),a=e(3307),s=o("wks"),f=n.Symbol,l=f&&f.for,p=a?f:f&&f.withoutSetter||u;t.exports=function(t){if(!i(s,t)||!c&&"string"!=typeof s[t]){var r="Symbol."+t;c&&i(f,t)?s[t]=f[t]:s[t]=a&&l?l(r):p(r)}return s[t]}},1361:function(t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},9170:function(t,r,e){"use strict";var n=e(2109),o=e(7854),i=e(7976),u=e(9518),c=e(7674),a=e(9920),s=e(30),f=e(8880),l=e(9114),p=e(7741),h=e(8340),d=e(408),v=e(6277),y=e(2914),g=o.Error,b=[].push,m=function(t,r){var e=i(x,this)?this:s(x),n=arguments.length>2?arguments[2]:void 0;c&&(e=c(new g(void 0),u(e))),f(e,"message",v(r,"")),y&&f(e,"stack",p(e.stack,1)),h(e,n);var o=[];return d(t,b,{that:o}),f(e,"errors",o),e};c?c(m,g):a(m,g);var x=m.prototype=s(g.prototype,{constructor:l(1,m),message:l(1,""),name:l(1,"AggregateError")});n({global:!0},{AggregateError:m})},6992:function(t,r,e){"use strict";var n=e(5656),o=e(1223),i=e(7497),u=e(9909),c=e(654),a="Array Iterator",s=u.set,f=u.getterFor(a);t.exports=c(Array,"Array",(function(t,r){s(this,{type:a,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(6916),i=e(9662),u=e(8523),c=e(2534),a=e(408);n({target:"Promise",stat:!0},{allSettled:function(t){var r=this,e=u.f(r),n=e.resolve,s=e.reject,f=c((function(){var e=i(r.resolve),u=[],c=0,s=1;a(t,(function(t){var i=c++,a=!1;s++,o(e,r,t).then((function(t){a||(a=!0,u[i]={status:"fulfilled",value:t},--s||n(u))}),(function(t){a||(a=!0,u[i]={status:"rejected",reason:t},--s||n(u))}))})),--s||n(u)}));return f.error&&s(f.value),e.promise}})},4668:function(t,r,e){"use strict";var n=e(2109),o=e(9662),i=e(5005),u=e(6916),c=e(8523),a=e(2534),s=e(408),f="No one promise resolved";n({target:"Promise",stat:!0},{any:function(t){var r=this,e=i("AggregateError"),n=c.f(r),l=n.resolve,p=n.reject,h=a((function(){var n=o(r.resolve),i=[],c=0,a=1,h=!1;s(t,(function(t){var o=c++,s=!1;a++,u(n,r,t).then((function(t){s||h||(h=!0,l(t))}),(function(t){s||h||(s=!0,i[o]=t,--a||p(new e(i,f)))}))})),--a||p(new e(i,f))}));return h.error&&p(h.value),n.promise}})},7727:function(t,r,e){"use strict";var n=e(2109),o=e(1913),i=e(3366),u=e(7293),c=e(5005),a=e(614),s=e(6707),f=e(9478),l=e(1320);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&u((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var r=s(this,c("Promise")),e=a(t);return this.then(e?function(e){return f(r,t()).then((function(){return e}))}:t,e?function(e){return f(r,t()).then((function(){throw e}))}:t)}}),!o&&a(i)){var p=c("Promise").prototype.finally;i.prototype.finally!==p&&l(i.prototype,"finally",p,{unsafe:!0})}},8674:function(t,r,e){"use strict";var n,o,i,u,c=e(2109),a=e(1913),s=e(7854),f=e(5005),l=e(6916),p=e(3366),h=e(1320),d=e(2248),v=e(7674),y=e(8003),g=e(6340),b=e(9662),m=e(614),x=e(111),w=e(5787),O=e(2788),E=e(408),S=e(7072),j=e(6707),P=e(261).set,T=e(5948),_=e(9478),A=e(842),I=e(8523),R=e(2534),L=e(9909),k=e(4705),C=e(5112),B=e(7871),D=e(5268),F=e(7392),M=C("species"),U="Promise",N=L.get,G=L.set,X=L.getterFor(U),$=p&&p.prototype,H=p,q=$,W=s.TypeError,V=s.document,z=s.process,Y=I.f,K=Y,J=!!(V&&V.createEvent&&s.dispatchEvent),Q=m(s.PromiseRejectionEvent),Z="unhandledrejection",tt=!1,rt=k(U,(function(){var t=O(H),r=t!==String(H);if(!r&&66===F)return!0;if(a&&!q.finally)return!0;if(F>=51&&/native code/.test(t))return!1;var e=new H((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[M]=n,!(tt=e.then((function(){}))instanceof n)||!r&&B&&!Q})),et=rt||!S((function(t){H.all(t).catch((function(){}))})),nt=function(t){var r;return!(!x(t)||!m(r=t.then))&&r},ot=function(t,r){if(!t.notified){t.notified=!0;var e=t.reactions;T((function(){for(var n=t.value,o=1==t.state,i=0;e.length>i;){var u,c,a,s=e[i++],f=o?s.ok:s.fail,p=s.resolve,h=s.reject,d=s.domain;try{f?(o||(2===t.rejection&&at(t),t.rejection=1),!0===f?u=n:(d&&d.enter(),u=f(n),d&&(d.exit(),a=!0)),u===s.promise?h(W("Promise-chain cycle")):(c=nt(u))?l(c,u,p,h):p(u)):h(n)}catch(t){d&&!a&&d.exit(),h(t)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ut(t)}))}},it=function(t,r,e){var n,o;J?((n=V.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:r,reason:e},!Q&&(o=s["on"+t])?o(n):t===Z&&A("Unhandled promise rejection",e)},ut=function(t){l(P,s,(function(){var r,e=t.facade,n=t.value;if(ct(t)&&(r=R((function(){D?z.emit("unhandledRejection",n,e):it(Z,e,n)})),t.rejection=D||ct(t)?2:1,r.error))throw r.value}))},ct=function(t){return 1!==t.rejection&&!t.parent},at=function(t){l(P,s,(function(){var r=t.facade;D?z.emit("rejectionHandled",r):it("rejectionhandled",r,t.value)}))},st=function(t,r,e){return function(n){t(r,n,e)}},ft=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,ot(t,!0))},lt=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw W("Promise can't be resolved itself");var n=nt(r);n?T((function(){var e={done:!1};try{l(n,r,st(lt,e,t),st(ft,e,t))}catch(r){ft(e,r,t)}})):(t.value=r,t.state=1,ot(t,!1))}catch(r){ft({done:!1},r,t)}}};if(rt&&(q=(H=function(t){w(this,q),b(t),l(n,this);var r=N(this);try{t(st(lt,r),st(ft,r))}catch(t){ft(r,t)}}).prototype,(n=function(t){G(this,{type:U,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(q,{then:function(t,r){var e=X(this),n=e.reactions,o=Y(j(this,H));return o.ok=!m(t)||t,o.fail=m(r)&&r,o.domain=D?z.domain:void 0,e.parent=!0,n[n.length]=o,0!=e.state&&ot(e,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,r=N(t);this.promise=t,this.resolve=st(lt,r),this.reject=st(ft,r)},I.f=Y=function(t){return t===H||t===i?new o(t):K(t)},!a&&m(p)&&$!==Object.prototype)){u=$.then,tt||(h($,"then",(function(t,r){var e=this;return new H((function(t,r){l(u,e,t,r)})).then(t,r)}),{unsafe:!0}),h($,"catch",q.catch,{unsafe:!0}));try{delete $.constructor}catch(t){}v&&v($,q)}c({global:!0,wrap:!0,forced:rt},{Promise:H}),y(H,U,!1,!0),g(U),i=f(U),c({target:U,stat:!0,forced:rt},{reject:function(t){var r=Y(this);return l(r.reject,void 0,t),r.promise}}),c({target:U,stat:!0,forced:a||rt},{resolve:function(t){return _(a&&this===i?H:this,t)}}),c({target:U,stat:!0,forced:et},{all:function(t){var r=this,e=Y(r),n=e.resolve,o=e.reject,i=R((function(){var e=b(r.resolve),i=[],u=0,c=1;E(t,(function(t){var a=u++,s=!1;c++,l(e,r,t).then((function(t){s||(s=!0,i[a]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),e.promise},race:function(t){var r=this,e=Y(r),n=e.reject,o=R((function(){var o=b(r.resolve);E(t,(function(t){l(o,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)}})},4506:function(t,r,e){"use strict";var n=e(2109),o=e(1702),i=e(4488),u=e(9303),c=e(1340),a=e(7293),s=o("".charAt);n({target:"String",proto:!0,forced:a((function(){return"\ud842"!=="𠮷".at(0)}))},{at:function(t){var r=c(i(this)),e=r.length,n=u(t),o=n>=0?n:e+n;return o<0||o>=e?void 0:s(r,o)}})},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(1702),u=e(1236).f,c=e(7466),a=e(1340),s=e(3929),f=e(4488),l=e(4964),p=e(1913),h=i("".endsWith),d=i("".slice),v=Math.min,y=l("endsWith");o({target:"String",proto:!0,forced:!!(p||y||(n=u(String.prototype,"endsWith"),!n||n.writable))&&!y},{endsWith:function(t){var r=a(f(this));s(t);var e=arguments.length>1?arguments[1]:void 0,n=r.length,o=void 0===e?n:v(c(e),n),i=a(t);return h?h(r,i,o):d(r,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(7854),i=e(1702),u=e(1400),c=o.RangeError,a=String.fromCharCode,s=String.fromCodePoint,f=i([].join);n({target:"String",stat:!0,forced:!!s&&1!=s.length},{fromCodePoint:function(t){for(var r,e=[],n=arguments.length,o=0;n>o;){if(r=+arguments[o++],u(r,1114111)!==r)throw c(r+" is not a valid code point");e[o]=r<65536?a(r):a(55296+((r-=65536)>>10),r%1024+56320)}return f(e,"")}})},2023:function(t,r,e){"use strict";var n=e(2109),o=e(1702),i=e(3929),u=e(4488),c=e(1340),a=e(4964),s=o("".indexOf);n({target:"String",proto:!0,forced:!a("includes")},{includes:function(t){return!!~s(c(u(this)),c(i(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(1340),i=e(9909),u=e(654),c="String Iterator",a=i.set,s=i.getterFor(c);u(String,"String",(function(t){a(this,{type:c,string:o(t),index:0})}),(function(){var t,r=s(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(7854),i=e(6916),u=e(1702),c=e(4994),a=e(4488),s=e(7466),f=e(1340),l=e(9670),p=e(4326),h=e(7976),d=e(7850),v=e(7066),y=e(8173),g=e(1320),b=e(7293),m=e(5112),x=e(6707),w=e(1530),O=e(7651),E=e(9909),S=e(1913),j=m("matchAll"),P="RegExp String",T="RegExp String Iterator",_=E.set,A=E.getterFor(T),I=RegExp.prototype,R=o.TypeError,L=u(v),k=u("".indexOf),C=u("".matchAll),B=!!C&&!b((function(){C("a",/./)})),D=c((function(t,r,e,n){_(this,{type:T,regexp:t,string:r,global:e,unicode:n,done:!1})}),P,(function(){var t=A(this);if(t.done)return{value:void 0,done:!0};var r=t.regexp,e=t.string,n=O(r,e);return null===n?{value:void 0,done:t.done=!0}:t.global?(""===f(n[0])&&(r.lastIndex=w(e,s(r.lastIndex),t.unicode)),{value:n,done:!1}):(t.done=!0,{value:n,done:!1})})),F=function(t){var r,e,n,o,i,u,c=l(this),a=f(t);return r=x(c,RegExp),void 0===(e=c.flags)&&h(I,c)&&!("flags"in I)&&(e=L(c)),n=void 0===e?"":f(e),o=new r(r===RegExp?c.source:c,n),i=!!~k(n,"g"),u=!!~k(n,"u"),o.lastIndex=s(c.lastIndex),new D(o,a,i,u)};n({target:"String",proto:!0,forced:B},{matchAll:function(t){var r,e,n,o,u=a(this);if(null!=t){if(d(t)&&(r=f(a("flags"in I?t.flags:L(t))),!~k(r,"g")))throw R("`.matchAll` does not allow non-global regexes");if(B)return C(u,t);if(void 0===(n=y(t,j))&&S&&"RegExp"==p(t)&&(n=F),n)return i(n,t,u)}else if(B)return C(u,t);return e=f(u),o=new RegExp(t,"g"),S?i(F,o,e):o[j](e)}}),S||j in I||g(I,j,F)},4723:function(t,r,e){"use strict";var n=e(6916),o=e(7007),i=e(9670),u=e(7466),c=e(1340),a=e(4488),s=e(8173),f=e(1530),l=e(7651);o("match",(function(t,r,e){return[function(r){var e=a(this),o=null==r?void 0:s(r,t);return o?n(o,r,e):new RegExp(r)[t](c(e))},function(t){var n=i(this),o=c(t),a=e(r,n,o);if(a.done)return a.value;if(!n.global)return l(n,o);var s=n.unicode;n.lastIndex=0;for(var p,h=[],d=0;null!==(p=l(n,o));){var v=c(p[0]);h[d]=v,""===v&&(n.lastIndex=f(o,u(n.lastIndex),s)),d++}return 0===d?null:h}]}))},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(1702),i=e(5656),u=e(7908),c=e(1340),a=e(6244),s=o([].push),f=o([].join);n({target:"String",stat:!0},{raw:function(t){for(var r=i(u(t).raw),e=a(r),n=arguments.length,o=[],l=0;e>l;){if(s(o,c(r[l++])),l===e)return f(o,"");l<n&&s(o,c(arguments[l]))}}})},2481:function(t,r,e){e(2109)({target:"String",proto:!0},{repeat:e(8415)})},8757:function(t,r,e){"use strict";var n=e(2109),o=e(7854),i=e(6916),u=e(1702),c=e(4488),a=e(614),s=e(7850),f=e(1340),l=e(8173),p=e(7066),h=e(647),d=e(5112),v=e(1913),y=d("replace"),g=RegExp.prototype,b=o.TypeError,m=u(p),x=u("".indexOf),w=u("".replace),O=u("".slice),E=Math.max,S=function(t,r,e){return e>t.length?-1:""===r?e:x(t,r,e)};n({target:"String",proto:!0},{replaceAll:function(t,r){var e,n,o,u,p,d,j,P,T,_=c(this),A=0,I=0,R="";if(null!=t){if((e=s(t))&&(n=f(c("flags"in g?t.flags:m(t))),!~x(n,"g")))throw b("`.replaceAll` does not allow non-global regexes");if(o=l(t,y))return i(o,t,_,r);if(v&&e)return w(f(_),t,r)}for(u=f(_),p=f(t),(d=a(r))||(r=f(r)),j=p.length,P=E(1,j),A=S(u,p,0);-1!==A;)T=d?f(r(p,A,u)):h(p,u,A,[],void 0,r),R+=O(u,I,A)+T,I=A+j,A=S(u,p,A+P);return I<u.length&&(R+=O(u,I)),R}})},5306:function(t,r,e){"use strict";var n=e(2104),o=e(6916),i=e(1702),u=e(7007),c=e(7293),a=e(9670),s=e(614),f=e(9303),l=e(7466),p=e(1340),h=e(4488),d=e(1530),v=e(8173),y=e(647),g=e(7651),b=e(5112)("replace"),m=Math.max,x=Math.min,w=i([].concat),O=i([].push),E=i("".indexOf),S=i("".slice),j="$0"==="a".replace(/./,"$0"),P=!!/./[b]&&""===/./[b]("a","$0");u("replace",(function(t,r,e){var i=P?"$":"$0";return[function(t,e){var n=h(this),i=null==t?void 0:v(t,b);return i?o(i,t,n,e):o(r,p(n),t,e)},function(t,o){var u=a(this),c=p(t);if("string"==typeof o&&-1===E(o,i)&&-1===E(o,"$<")){var h=e(r,u,c,o);if(h.done)return h.value}var v=s(o);v||(o=p(o));var b=u.global;if(b){var j=u.unicode;u.lastIndex=0}for(var P=[];;){var T=g(u,c);if(null===T)break;if(O(P,T),!b)break;""===p(T[0])&&(u.lastIndex=d(c,l(u.lastIndex),j))}for(var _,A="",I=0,R=0;R<P.length;R++){for(var L=p((T=P[R])[0]),k=m(x(f(T.index),c.length),0),C=[],B=1;B<T.length;B++)O(C,void 0===(_=T[B])?_:String(_));var D=T.groups;if(v){var F=w([L],C,k,c);void 0!==D&&O(F,D);var M=p(n(o,void 0,F))}else M=y(L,c,k,C,D,o);k>=I&&(A+=S(c,I,k)+M,I=k+L.length)}return A+S(c,I)}]}),!!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!j||P)},4765:function(t,r,e){"use strict";var n=e(6916),o=e(7007),i=e(9670),u=e(4488),c=e(6029),a=e(1340),s=e(8173),f=e(7651);o("search",(function(t,r,e){return[function(r){var e=u(this),o=null==r?void 0:s(r,t);return o?n(o,r,e):new RegExp(r)[t](a(e))},function(t){var n=i(this),o=a(t),u=e(r,n,o);if(u.done)return u.value;var s=n.lastIndex;c(s,0)||(n.lastIndex=0);var l=f(n,o);return c(n.lastIndex,s)||(n.lastIndex=s),null===l?-1:l.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(2104),o=e(6916),i=e(1702),u=e(7007),c=e(7850),a=e(9670),s=e(4488),f=e(6707),l=e(1530),p=e(7466),h=e(1340),d=e(8173),v=e(206),y=e(7651),g=e(2261),b=e(2999),m=e(7293),x=b.UNSUPPORTED_Y,w=4294967295,O=Math.min,E=[].push,S=i(/./.exec),j=i(E),P=i("".slice);u("split",(function(t,r,e){var i;return i="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 i=h(s(this)),u=void 0===e?w:e>>>0;if(0===u)return[];if(void 0===t)return[i];if(!c(t))return o(r,i,t,u);for(var a,f,l,p=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,b=new RegExp(t.source,d+"g");(a=o(g,b,i))&&!((f=b.lastIndex)>y&&(j(p,P(i,y,a.index)),a.length>1&&a.index<i.length&&n(E,p,v(a,1)),l=a[0].length,y=f,p.length>=u));)b.lastIndex===a.index&&b.lastIndex++;return y===i.length?!l&&S(b,"")||j(p,""):j(p,P(i,y)),p.length>u?v(p,0,u):p}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:o(r,this,t,e)}:r,[function(r,e){var n=s(this),u=null==r?void 0:d(r,t);return u?o(u,r,n,e):o(i,h(n),r,e)},function(t,n){var o=a(this),u=h(t),c=e(i,o,u,n,i!==r);if(c.done)return c.value;var s=f(o,RegExp),d=o.unicode,v=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(x?"g":"y"),g=new s(x?"^(?:"+o.source+")":o,v),b=void 0===n?w:n>>>0;if(0===b)return[];if(0===u.length)return null===y(g,u)?[u]:[];for(var m=0,E=0,S=[];E<u.length;){g.lastIndex=x?0:E;var T,_=y(g,x?P(u,E):u);if(null===_||(T=O(p(g.lastIndex+(x?E:0)),u.length))===m)E=l(u,E,d);else{if(j(S,P(u,m,E)),S.length===b)return S;for(var A=1;A<=_.length-1;A++)if(j(S,_[A]),S.length===b)return S;E=m=T}}return j(S,P(u,m)),S}]}),!!m((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]})),x)},3157:function(t,r,e){"use strict";var n,o=e(2109),i=e(1702),u=e(1236).f,c=e(7466),a=e(1340),s=e(3929),f=e(4488),l=e(4964),p=e(1913),h=i("".startsWith),d=i("".slice),v=Math.min,y=l("startsWith");o({target:"String",proto:!0,forced:!!(p||y||(n=u(String.prototype,"startsWith"),!n||n.writable))&&!y},{startsWith:function(t){var r=a(f(this));s(t);var e=c(v(arguments.length>1?arguments[1]:void 0,r.length)),n=a(t);return h?h(r,n,e):d(r,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","","")}})},3650:function(t,r,e){"use strict";var n=e(2109),o=e(1702),i=e(4488),u=e(9303),c=e(1340),a=o("".slice),s=Math.max,f=Math.min;n({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(t,r){var e,n,o=c(i(this)),l=o.length,p=u(t);return p===1/0&&(p=0),p<0&&(p=s(l+p,0)),(e=void 0===r?l:u(r))<=0||e===1/0||p>=(n=f(p+e,l))?"":a(o,p,n)}})},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,name:"trimEnd",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,name:"trimStart",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(8509),u=e(6992),c=e(8880),a=e(5112),s=a("iterator"),f=a("toStringTag"),l=u.values,p=function(t,r){if(t){if(t[s]!==l)try{c(t,s,l)}catch(r){t[s]=l}if(t[f]||c(t,f,r),o[r])for(var e in u)if(t[e]!==u[e])try{c(t,e,u[e])}catch(r){t[e]=u[e]}}};for(var h in o)p(n[h]&&n[h].prototype,h);p(i,"DOMTokenList")},1150:function(t,r,e){var n=e(7633);e(3948),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",c=o.toStringTag||"@@toStringTag";function a(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{a({},"")}catch(t){a=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 _(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 c=j(u,e);if(c){if(c===v)continue;return c}}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 a=f(t,r,e);if("normal"===a.type){if(n=e.done?d:p,a.arg===v)continue;return{value:a.arg,done:e.done}}"throw"===a.type&&(n=d,e.method="throw",e.arg=a.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 x=Object.getPrototypeOf,w=x&&x(x(A([])));w&&w!==e&&n.call(w,i)&&(m=w);var O=b.prototype=y.prototype=Object.create(m);function E(t){["next","throw","return"].forEach((function(r){a(t,r,(function(t){return this._invoke(r,t)}))}))}function S(t,r){function e(o,i,u,c){var a=f(t[o],t,i);if("throw"!==a.type){var s=a.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?r.resolve(l.__await).then((function(t){e("next",t,u,c)}),(function(t){e("throw",t,u,c)})):r.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return e("throw",t,u,c)}))}c(a.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 j(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,j(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 P(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 T(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,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=O.constructor=b,b.constructor=g,g.displayName=a(b,c,"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,a(t,c,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},E(S.prototype),S.prototype[u]=function(){return this},t.AsyncIterator=S,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var u=new S(s(r,e,n,o),i);return t.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},E(O),a(O,c,"Generator"),O[i]=function(){return this},O.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,_.prototype={constructor:_,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(T),!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 c.type="throw",c.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],c=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var a=n.call(u,"catchLoc"),s=n.call(u,"finallyLoc");if(a&&s){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(a){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),T(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;T(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}}(),c="FormData"in n,a="ArrayBuffer"in n;if(a)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: "'+t+'"');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:c&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&u&&((r=t)&&DataView.prototype.isPrototypeOf(r))?(this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(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)},c&&(this.formData=function(){return this.text().then(O)}),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 x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(t,r){if(!(this instanceof w))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 w){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(),x.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 O(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=void 0===r.statusText?"":""+r.statusText,this.headers=new d(r.headers),this.url=r.url||"",this._initBody(t)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},m.call(w.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 S=[301,302,303,307,308];E.redirect=function(t,r){if(-1===S.indexOf(r))throw new RangeError("Invalid status code");return new E(null,{status:r,headers:{location:t}})};var j=n.DOMException;try{new j}catch(t){(j=function(t,r){this.message=t,this.name=r;var e=Error(t);this.stack=e.stack}).prototype=Object.create(Error.prototype),j.prototype.constructor=j}function P(t,r){return new Promise((function(e,o){var i=new w(t,r);if(i.signal&&i.signal.aborted)return o(new j("Aborted","AbortError"));var c=new XMLHttpRequest;function s(){c.abort()}c.onload=function(){var t,r,n={status:c.status,statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",r=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).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 c?c.responseURL:n.headers.get("X-Request-URL");var o="response"in c?c.response:c.responseText;setTimeout((function(){e(new E(o,n))}),0)},c.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){o(new j("Aborted","AbortError"))}),0)},c.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?c.withCredentials=!0:"omit"===i.credentials&&(c.withCredentials=!1),"responseType"in c&&(u?c.responseType="blob":a&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!r||"object"!=typeof r.headers||r.headers instanceof d?i.headers.forEach((function(t,r){c.setRequestHeader(r,t)})):Object.getOwnPropertyNames(r.headers).forEach((function(t){c.setRequestHeader(t,p(r.headers[t]))})),i.signal&&(i.signal.addEventListener("abort",s),c.onreadystatechange=function(){4===c.readyState&&i.signal.removeEventListener("abort",s)}),c.send(void 0===i._bodyInit?null:i._bodyInit)}))}P.polyfill=!0,n.fetch||(n.fetch=P,n.Headers=d,n.Request=w,n.Response=E)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.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(3053)}(); window.page = undefined; window.user = undefined; </script> <script> window.orb = {}; </script> <script src="https://web.archive.org/web/20211103195646js_/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/api-forge-free.min.js"></script> <link rel="preload" href="https://web.archive.org/web/20211103195646/https://static.files.bbci.co.uk/fonts/reith/2.512/BBCReithSans_W_Rg.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20211103195646/https://static.files.bbci.co.uk/fonts/reith/2.512/BBCReithSans_W_Bd.woff2" as="font" type="font/woff2" crossorigin> <!-- navid Web Module: 0.2.0-80.bc5da8d --> <!-- searchbox Web Module: 3.0.0-357.7bc282c --> <!-- navpromo Web Module: 3.0.0-272.f5cddc4 --> <!-- cookies Web Module: 0.0.3-682.bdba111 --> <!-- useractivityhelper Web Module: 1.0.0-208.4054562 --> <!-- reverb Web Module: 3.3.0 --> <link rel="stylesheet" href="https://web.archive.org/web/20211103195646cs_/https://static.files.bbci.co.uk/account/id-cta/1.54.11/style/id-cta.css"/><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.54.11/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/20211103195646/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&context=cbbc&ptrt=' + (ptrt ? ptrt[1] : encodeURIComponent(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/20211103195646/https://static.files.bbci.co.uk/account/id-cta/1.54.11/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/20211103195646/https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20211103195646/https://static.files.bbci.co.uk/account/id-cta/1.54.11/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = 'https://web.archive.org/web/20211103195646/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> <link rel="stylesheet" href="https://web.archive.org/web/20211103195646cs_/https://nav.files.bbci.co.uk/searchbox/eeaabba0195c5483bf5b00915e258921/css/box.css"> <script src="https://web.archive.org/web/20211103195646js_/https://static.files.bbci.co.uk/cookies/6868f40b6841deedfcf9895de775e1ab/cookie-banner/cookie-library.bundle.js"></script><script type="text/javascript">void 0!==window.define&&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/20211103195646/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.29.1",window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,i){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=i}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var i=function(d,a){window.__reverb.__reverbLoadedPromise.then(function(e){if(d&&d.detail){var i=!!d.detail.item,n=d.detail.label,t=i?"viewability":d.detail.type,o=d.detail.elem,r=d.detail.originalEvent;d.detail.isClick&&(a=d.detail.isClick),e.userActionEvent(t,n,d.detail,o,r,a)}},function(){console.log("Reverb failed to load. Event not sent")})},n=function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){i(e,!1)}),document.addEventListener("bbc-user-click",function(e){i(e,!0)}),document.addEventListener("bbc-page-updated",n),window.addEventListener("pageshow",function(e){e.persisted&&n()})}();</script><script type="text/javascript" src="https://web.archive.org/web/20211103195646js_/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-3.3.0.js" async></script> <script> require.config({ paths: { 'optimizely-ati': ['https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/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 = "https://web.archive.org/web/20211103195646/https://www.bbcchannels.com/cbbc"; } }).catch(function(error) { console.error(error) }) } </script> <script type="text/javascript" src="https://web.archive.org/web/20211103195646js_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/modernizr.js"></script> <script> define('modernizr', [], Modernizr); </script> <script type="text/javascript" src="https://web.archive.org/web/20211103195646js_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/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>@import url("https://web.archive.org/web/20211103195646cs_/https://gel.files.bbci.co.uk/r2.302/bbc-reith.css");html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}.cage-game{height:-webkit-fill-available}.cage-pointer-block{user-select:none;-webkit-user-select:none;pointer-events:none;height:100%;width:100%}.game-wrapper{position:absolute;width:100%;height:100%;background-color:#000}.game-wrapper__brim{position:fixed}.game-wrapper--embed{position:relative;padding-bottom:56.25%}.cage-fullscreen-capture{position:fixed;top:0;width:100%;height:100%;z-index:2147483647}.game-wrapper--fixedsize{position:relative;margin:0 auto}@keyframes rotating{from{-ms-transform:translate(-50%, -50%) rotate(0deg);-moz-transform:translate(-50%, -50%) rotate(0deg);-webkit-transform:translate(-50%, -50%) rotate(0deg);-o-transform:translate(-50%, -50%) rotate(0deg);transform:translate(-50%, -50%) rotate(0deg)}to{-ms-transform:translate(-50%, -50%) rotate(360deg);-moz-transform:translate(-50%, -50%) rotate(360deg);-webkit-transform:translate(-50%, -50%) rotate(360deg);-o-transform:translate(-50%, -50%) rotate(360deg);transform:translate(-50%, -50%) rotate(360deg)}}.game-wrapper__loading-spinner{position:absolute;left:50%;top:50%;animation:rotating 1.5s linear infinite}.game-wrapper__loading-spinner path{fill:#fff}.game-wrapper__cta{position:absolute;height:100%;width:100%;cursor:pointer;background-color:#000}.game-wrapper__cta img{width:100%;height:100%}.game-wrapper__cta:hover .game-holder__cta-button{background-color:rgba(186,26,23,0.75)}.game-wrapper__cta-button{position:absolute;bottom:0;left:0;width:80px;height:80px;background-color:rgba(0,0,0,0.75)}.game-wrapper__cta-icon{position:absolute;top:16px;left:16px;width:49px;height:39px}.game-wrapper__iframe{position:absolute;width:100%;height:100%}.game-wrapper__game{position:fixed;width:100%;height:100%}.game-wrapper__iframe--fixedsize{position:absolute;margin:0 auto}.cage-overlay{position:fixed;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:rgba(0,0,0,0.4)}.cage-overlay__modal{top:25%;width:50%;min-width:325px;height:50%;min-height:150px;overflow:hidden;background-color:#fff;z-index:1;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;font-size:110%}.cage-overlay__title{position:relative;margin:0 auto;padding:0;text-align:center;border-bottom:1px solid #B7BBBB}.cage-overlay__title-text{padding:1.1em 3em;text-align:center;font:bold 1.3em arial,sans-serif;color:#3F3E4A;outline:0}.cage-overlay__close-button{position:absolute;right:10px;top:10px;padding:2px 2px 0;border:0;background-color:rgba(0,0,0,0);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden}.cage-overlay__close-button:hover .cage-settings__close-icon-circle{fill:#B3B3B5}.cage-overlay__close-button:focus{-webkit-focus-ring-color:#bfbfc2}.cage-overlay__close-icon-circle{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out;fill:#F0F0F4}.cage-overlay__subheading{padding:1em 2.2em;font:bold 0.9em arial,sans-serif;text-transform:uppercase;color:#939397;background-color:#F0F0F4}.cage-overlay__content{height:calc(100% - 68px);overflow-y:auto;outline:0}.cage-overlay__content::-webkit-scrollbar{-webkit-appearance:none}.cage-overlay__content::-webkit-scrollbar:vertical{width:12px}.cage-overlay__content::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0.5);border-radius:10px;border:2px solid #fff}.cage-overlay__content::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}@media (max-width: 410px){.cage-overlay__modal{top:5%;width:90%;height:90%;font-size:85%}.cage-overlay__content{height:calc(100% - 53px)}.cage-overlay__close-button{top:8px;right:8px}.cage-overlay__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 450px) and (min-width: 411px){.cage-overlay__modal{top:5%;width:90%;height:90%;font-size:85%}.cage-overlay__content{height:calc(100% - 53px)}.cage-overlay__close-button{top:8px;right:8px}.cage-overlay__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 580px) and (min-width: 451px){.cage-overlay__modal{top:5%;width:80%;height:90%;font-size:90%}.cage-overlay__content{height:calc(100% - 56px)}.cage-overlay__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 780px) and (min-width: 581px){.cage-overlay__modal{top:10%;width:80%;height:80%;font-size:90%}.cage-overlay__content{height:calc(100% - 56px)}.cage-overlay__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 980px) and (min-width: 781px){.cage-overlay__modal{top:15%;width:70%;height:70%}}@media (max-width: 1470px) and (min-width: 981px){.cage-overlay--mobile{width:80%}.cage-overlay--mobile .cage-settings__modal{height:70%}}body:not(.user-is-tabbing) button:focus,body:not(.user-is-tabbing) input:focus,body:not(.user-is-tabbing) select:focus,body:not(.user-is-tabbing) textarea:focus{outline:none}.cage-achievements{display:block;top:10%;height:80%;width:52%;padding-bottom:5px;font-family:ReithSans,Arial,Helvetica,freesans,sans-serif;background-color:#2a205c;opacity:1}.cage-achievements .cage-overlay__content{padding:0 10px;margin-right:10px;height:calc(100% - 61px)}.cage-achievements .cage-overlay__modal{border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px}.cage-achievements .cage-overlay__content::-webkit-scrollbar:vertical{width:10px}.cage-achievements .cage-overlay__content::-webkit-scrollbar-thumb{background-color:#fff;border-radius:3px}.cage-achievements .cage-overlay__content::-webkit-scrollbar-track{border-radius:3px;background-color:#746d93}.cage-achievements .cage-overlay__title{border-bottom:none}.cage-achievements .cage-overlay__title-text{padding:16px 0px 15px 0px;line-height:100%;text-align:center;font:bold 20px ReithSans,Arial,Helvetica,freesans,sans-serif;color:#fff}.cage-achievement{display:flex;margin-bottom:8px;padding:6px;min-height:58px;border-radius:3px;font-size:13px;line-height:16px;color:#3b3b3b;background-color:#fff}.cage-achievement svg{float:left;width:13px;height:13px;margin-right:4px;margin-top:5px;fill:#FFD130}.cage-achievement--locked{background-color:#EAE9EE}.cage-achievement--locked svg{fill:#B4B4B4}.cage-achievement:last-child{margin-bottom:0}.cage-achievement__icon{width:58px;height:58px;min-width:58px;margin-right:6px;border-radius:2px}.cage-achievement__inner{width:80%}.cage-achievement__title{margin:2px 0 0;line-height:18px;font-size:15px;font-weight:bold;color:#222}.cage-achievement__description{margin:4px 0 2px 0}.cage-achievement__hintline-prefix{font-weight:bold}.cage-achievement__hintline-text{font-style:italic}.cage-achievement progress{border:none;border-radius:5px;background-color:#d6d6d6}.cage-achievement progress::-ms-fill{background-color:#00d2a9;border:none;border-radius:5px}.cage-achievement progress[value]{-webkit-appearance:none;appearance:none;width:170px;height:10px;margin-right:6px;position:relative;bottom:2px}.cage-achievement progress[value]::-webkit-progress-bar{background-color:#d6d6d6;border-radius:5px;overflow:hidden}.cage-achievement progress::-moz-progress-bar{background:#00d2a9;border-radius:5px}.cage-achievement progress[value]::-webkit-progress-value{background:#00d2a9;border-radius:5px}.cage-overlay__modal{width:75%;height:calc(100% - 4vw)}@media (min-width: 769px){.cage-overlay__modal{width:744px;height:86%;max-height:623px}.cage-achievements .cage-overlay__content::-webkit-scrollbar:vertical{width:16px}.cage-achievements .cage-overlay__content{padding:0 16px;margin-right:16px;height:calc(100% - 81px)}.cage-achievements .cage-overlay__title{border-bottom:none}.cage-achievements .cage-overlay__title-text{padding:20px 0px 22px 0px;line-height:100%;text-align:center;font:bold 26px ReithSans,Arial,Helvetica,freesans,sans-serif;color:#fff}.cage-achievement{display:flex;margin-bottom:10px;padding:8px;min-height:74px;border-radius:3px;font-size:15px;line-height:22px}.cage-achievement progress[value]{-webkit-appearance:none;appearance:none;width:216px;height:10px;margin-right:6px;position:relative;bottom:3px}.cage-achievement svg{float:left;width:16px;height:16px;margin-right:6px;margin-top:6px}.cage-achievement__icon{width:74px;height:74px;min-width:74px;margin-right:10px;border-radius:2px}.cage-achievement__title{margin:2px 0 0;line-height:22px;font-size:18px;font-weight:bold;color:#222}.cage-achievement__description{margin:4px 0 2px 0}.cage-achievement__hintline-prefix{font-weight:bold}.cage-achievement__hintline-text{font-style:italic}}.cage-setting{position:relative;padding:1em 2.2em;border-bottom:1px solid #F0F0F4}.cage-setting:last-child{border-bottom:0}.cage-setting__info{display:block;padding-right:86px;font:normal 1em arial,sans-serif}.cage-setting__title{padding-bottom:0.3em;font-weight:bold;color:#323232}.cage-setting__description{font-size:1em;color:#939397}.cage-setting__toggle{position:absolute;right:1.8em;top:10px}.cage-setting__toggle_button{margin-top:0.4em;padding:0.4em 0.4em 0.2em;border:0;background-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.cage-setting__toggle_button:active,.cage-setting__toggle_button:focus{background-color:rgba(0,0,0,0);-webkit-focus-ring-color:#bfbfc2}.cage-setting__toggle_button .cage-setting__toggle-slider,.cage-setting__toggle_button .cage-setting__toggle-outline{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out}.cage-setting__toggle_button--on .cage-setting__toggle-outline{fill:#44D6DA}.cage-setting__toggle_button--off .cage-setting__toggle-outline{fill:#D8D8D8}@media (max-width: 410px){.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 450px) and (min-width: 411px){.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 580px) and (min-width: 451px){.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 780px) and (min-width: 581px){.cage-setting__toggle-icon{width:42px;height:26px}}.game-wrapper__error{padding-top:5%;background-color:#000;color:#fff;font-family:Arial, Helvetica, sans-serif;text-align:center;font-size:26px}.game-wrapper__error a{color:#fff;text-decoration:underline;font-weight:bold}@media screen and (min-width: 400px){.game-wrapper__error h1{margin:8px 70px}.game-wrapper__error p{margin:8px 70px}}@media screen and (min-width: 600px){.game-wrapper__error h1{margin:16px 96px;font-size:20px}.game-wrapper__error p{margin:16px 96px;font-size:18px}}@media screen and (min-width: 770px){.game-wrapper__error h1{margin:16px 126px;font-size:26px}.game-wrapper__error p{margin:16px 126px;font-size:20px}}@media screen and (min-width: 1008px){.game-wrapper__error h1{margin:16px 246px}.game-wrapper__error p{margin:16px 246px}}.game-wrapper #brim{display:none}.cage-brim#cage-brim{width:100%;height:175vh}.cage-brim__message{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000;touch-action:pan-y;-webkit-user-select:none;z-index:2147483647}.cage-brim--disabled{display:none}.cage-brim__vo-button{height:1px;width:1px}.cage-brim__text{position:absolute;top:54vmin;left:0px;right:0px;color:#FFFFFF;text-align:center;font:bold 7vmin Helvetica, sans-serif}@keyframes hand-movement{21%{transform:rotate(-20deg);visibility:hidden;left:50%;top:27vmin}50%{transform:rotate(-5deg);visibility:hidden;left:50%;top:7vmin}}@keyframes hand-tap-swipe{20%{transform:rotate(-20deg);visibility:hidden;top:27vmin}50%{transform:rotate(-5deg);visibility:visible;top:7vmin}51%{visibility:hidden;top:7vmin}}@keyframes arrow-swipe{20%{opacity:0;top:26vmin}30%{opacity:1}50%{opacity:1;top:7vmin}100%{opacity:0;top:7vmin}}.cage-brim__hand{position:absolute;left:50%;top:24vmin;width:30vmin;height:30vmin;animation:hand-movement 2.2s ease infinite;transform:translate(10vmin);transform-origin:bottom right}.cage-brim__hand-tap{position:absolute;left:50%;top:27vmin;width:30vmin;height:30vmin;visibility:hidden;animation:hand-tap-swipe 2.2s ease infinite;transform-origin:bottom right}.cage-brim__arrow{position:absolute;left:50%;top:26vmin;width:40vmin;height:40vmin;opacity:0;animation:arrow-swipe 2.2s ease infinite;transform:translate(-30vmin)}.cage-achievement-notification{position:fixed;left:50%;margin-left:-172px;width:344px;height:80px;pointer-events:none;font-family:ReithSans,Arial,Helvetica,freesans,sans-serif}.cage-achievement-notification--top{top:2vw}.cage-achievement-notification--bottom{bottom:2vw}.cage-achievement-toast__container{position:relative;left:50%;margin-left:-172px;width:344px;height:80px;opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;background-size:100%;background-position:0 0;-webkit-animation:achievement-animateBoxIn 1.93s steps(58, end) 1 forwards,achievement-animateBoxOut 1s steps(30, end) 6s;animation:achievement-animateBoxIn 1.93s steps(58, end) 1 forwards,achievement-animateBoxOut 1s steps(30, end) 6s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__icon{position:absolute;top:19px;left:31px;width:42px;height:42px;opacity:0;border-radius:2px;-webkit-animation:achievement-scrollIn 0.2s ease-out 2.22s forwards, achievement-fadeOut 0.2s ease-in 6s forwards;animation:achievement-scrollIn 0.2s ease-out 2.22s forwards, achievement-fadeOut 0.2s ease-in 6s forwards;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__inner{position:absolute;top:19px;left:83px;width:237px}.cage-achievement-toast__title{position:absolute;top:0px;font-size:16px;line-height:20px;font-weight:bold;opacity:0;-webkit-animation:achievement-scrollIn 0.2s ease-out 2s forwards, achievement-scrollOut 0.2s ease-in 4s forwards;animation:achievement-scrollIn 0.2s ease-out 2s forwards, achievement-scrollOut 0.2s ease-in 4s forwards;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__name{position:absolute;top:21px;font-size:14px;line-height:18px;height:18px;overflow:hidden;opacity:0;-webkit-animation:achievement-scrollIn 0.2s ease-out 2.32s forwards, achievement-scrollOut 0.2s ease-in 4s forwards;animation:achievement-scrollIn 0.2s ease-out 2.32s forwards, achievement-scrollOut 0.2s ease-in 4s forwards;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__name svg{float:left;margin-right:5px;margin-top:4px;width:12px;height:12px;fill:#FFD130}.cage-achievement-toast__description{position:absolute;top:2px;height:36px;font-size:14px;line-height:18px;opacity:0;overflow:hidden;-webkit-animation:achievement-scrollIn 0.2s ease-out 4.2s forwards, achievement-scrollOut 0.2s ease-in 6s forwards;animation:achievement-scrollIn 0.2s ease-out 4.2s forwards, achievement-scrollOut 0.2s ease-in 6s forwards;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes achievement-animateBoxIn{from{background-position:0 0}to{background-position:0 -4640px}}@keyframes achievement-animateBoxIn{from{background-position:0 0}to{background-position:0 -4640px}}@-webkit-keyframes achievement-animateBoxOut{from{background-position:0 -4640px}to{background-position:0 -7040px}}@keyframes achievement-animateBoxOut{from{background-position:0 -4640px}to{background-position:0 -7040px}}@-webkit-keyframes achievement-animateBoxIn-1280{from{background-position:0 0}to{background-position:0 -5800px}}@keyframes achievement-animateBoxIn-1280{from{background-position:0 0}to{background-position:0 -5800px}}@-webkit-keyframes achievement-animateBoxOut-1280{from{background-position:0 -5800px}to{background-position:0 -8800px}}@keyframes achievement-animateBoxOut-1280{from{background-position:0 -5800px}to{background-position:0 -8800px}}@-webkit-keyframes achievement-scrollIn{from{margin-top:5px;opacity:0}to{margin-top:0;opacity:1}}@keyframes achievement-scrollIn{from{margin-top:5px;opacity:0}to{margin-top:0;opacity:1}}@-webkit-keyframes achievement-scrollOut{from{margin-top:0;opacity:1}to{margin-top:-5px;opacity:0}}@keyframes achievement-scrollOut{from{margin-top:0;opacity:1}to{margin-top:-5px;opacity:0}}@-webkit-keyframes achievement-fadeIn{from{opacity:0}to{opacity:1}}@keyframes achievement-fadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes achievement-fadeOut{from{opacity:1}to{opacity:0}}@keyframes achievement-fadeOut{from{opacity:1}to{opacity:0}}@media screen and (min-width: 1280px){.cage-achievement-notification{bottom:45px;margin-left:-215px;width:430px;height:100px}.cage-achievement-toast__container{margin-left:-215px;width:430px;height:100px;-webkit-animation:achievement-animateBoxIn-1280 1.93s steps(58, end) 1 forwards,achievement-animateBoxOut-1280 1s steps(30, end) 6s;animation:achievement-animateBoxIn-1280 1.93s steps(58, end) 1 forwards,achievement-animateBoxOut-1280 1s steps(30, end) 6s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__inner{top:21px;left:111px;width:282px}.cage-achievement-toast__icon{top:21px;left:42px;width:58px;height:58px}.cage-achievement-toast__title{top:6px;font-size:22px;line-height:22px}.cage-achievement-toast__name{top:31px;font-size:18px;line-height:22px;height:22px}.cage-achievement-toast__name svg{width:16px;height:16px}.cage-achievement-toast__description{top:8px;height:44px;font-size:18px;line-height:22px}}.data-notice{position:fixed;bottom:0;padding:0.4%;width:100%;text-align:center;font-family:ReithSans,Arial,Helvetica,freesans,sans-serif;font-size:1em;background:rgba(0,0,0,0.8);color:#fff}@media screen and (orientation: portrait){.data-notice{display:none}}@media (max-width: 25em){.data-notice{font-size:0.96em}}.exit-tile__container--hidden{display:none}.exit-tile__frame{border:0;height:100%;position:fixed;width:100%;overflow:hidden;z-index:2147483647} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-childrens-games-view/9.9.6"]=true; Morph.styleSrc.push("<style>@import url(\"https://gel.files.bbci.co.uk/r2.302/bbc-reith.css\");html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}.cage-game{height:-webkit-fill-available}.cage-pointer-block{user-select:none;-webkit-user-select:none;pointer-events:none;height:100%;width:100%}.game-wrapper{position:absolute;width:100%;height:100%;background-color:#000}.game-wrapper__brim{position:fixed}.game-wrapper--embed{position:relative;padding-bottom:56.25%}.cage-fullscreen-capture{position:fixed;top:0;width:100%;height:100%;z-index:2147483647}.game-wrapper--fixedsize{position:relative;margin:0 auto}@keyframes rotating{from{-ms-transform:translate(-50%, -50%) rotate(0deg);-moz-transform:translate(-50%, -50%) rotate(0deg);-webkit-transform:translate(-50%, -50%) rotate(0deg);-o-transform:translate(-50%, -50%) rotate(0deg);transform:translate(-50%, -50%) rotate(0deg)}to{-ms-transform:translate(-50%, -50%) rotate(360deg);-moz-transform:translate(-50%, -50%) rotate(360deg);-webkit-transform:translate(-50%, -50%) rotate(360deg);-o-transform:translate(-50%, -50%) rotate(360deg);transform:translate(-50%, -50%) rotate(360deg)}}.game-wrapper__loading-spinner{position:absolute;left:50%;top:50%;animation:rotating 1.5s linear infinite}.game-wrapper__loading-spinner path{fill:#fff}.game-wrapper__cta{position:absolute;height:100%;width:100%;cursor:pointer;background-color:#000}.game-wrapper__cta img{width:100%;height:100%}.game-wrapper__cta:hover .game-holder__cta-button{background-color:rgba(186,26,23,0.75)}.game-wrapper__cta-button{position:absolute;bottom:0;left:0;width:80px;height:80px;background-color:rgba(0,0,0,0.75)}.game-wrapper__cta-icon{position:absolute;top:16px;left:16px;width:49px;height:39px}.game-wrapper__iframe{position:absolute;width:100%;height:100%}.game-wrapper__game{position:fixed;width:100%;height:100%}.game-wrapper__iframe--fixedsize{position:absolute;margin:0 auto}.cage-overlay{position:fixed;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:rgba(0,0,0,0.4)}.cage-overlay__modal{top:25%;width:50%;min-width:325px;height:50%;min-height:150px;overflow:hidden;background-color:#fff;z-index:1;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;font-size:110%}.cage-overlay__title{position:relative;margin:0 auto;padding:0;text-align:center;border-bottom:1px solid #B7BBBB}.cage-overlay__title-text{padding:1.1em 3em;text-align:center;font:bold 1.3em arial,sans-serif;color:#3F3E4A;outline:0}.cage-overlay__close-button{position:absolute;right:10px;top:10px;padding:2px 2px 0;border:0;background-color:rgba(0,0,0,0);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden}.cage-overlay__close-button:hover .cage-settings__close-icon-circle{fill:#B3B3B5}.cage-overlay__close-button:focus{-webkit-focus-ring-color:#bfbfc2}.cage-overlay__close-icon-circle{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out;fill:#F0F0F4}.cage-overlay__subheading{padding:1em 2.2em;font:bold 0.9em arial,sans-serif;text-transform:uppercase;color:#939397;background-color:#F0F0F4}.cage-overlay__content{height:calc(100% - 68px);overflow-y:auto;outline:0}.cage-overlay__content::-webkit-scrollbar{-webkit-appearance:none}.cage-overlay__content::-webkit-scrollbar:vertical{width:12px}.cage-overlay__content::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0.5);border-radius:10px;border:2px solid #fff}.cage-overlay__content::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}@media (max-width: 410px){.cage-overlay__modal{top:5%;width:90%;height:90%;font-size:85%}.cage-overlay__content{height:calc(100% - 53px)}.cage-overlay__close-button{top:8px;right:8px}.cage-overlay__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 450px) and (min-width: 411px){.cage-overlay__modal{top:5%;width:90%;height:90%;font-size:85%}.cage-overlay__content{height:calc(100% - 53px)}.cage-overlay__close-button{top:8px;right:8px}.cage-overlay__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 580px) and (min-width: 451px){.cage-overlay__modal{top:5%;width:80%;height:90%;font-size:90%}.cage-overlay__content{height:calc(100% - 56px)}.cage-overlay__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 780px) and (min-width: 581px){.cage-overlay__modal{top:10%;width:80%;height:80%;font-size:90%}.cage-overlay__content{height:calc(100% - 56px)}.cage-overlay__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 980px) and (min-width: 781px){.cage-overlay__modal{top:15%;width:70%;height:70%}}@media (max-width: 1470px) and (min-width: 981px){.cage-overlay--mobile{width:80%}.cage-overlay--mobile .cage-settings__modal{height:70%}}body:not(.user-is-tabbing) button:focus,body:not(.user-is-tabbing) input:focus,body:not(.user-is-tabbing) select:focus,body:not(.user-is-tabbing) textarea:focus{outline:none}.cage-achievements{display:block;top:10%;height:80%;width:52%;padding-bottom:5px;font-family:ReithSans,Arial,Helvetica,freesans,sans-serif;background-color:#2a205c;opacity:1}.cage-achievements .cage-overlay__content{padding:0 10px;margin-right:10px;height:calc(100% - 61px)}.cage-achievements .cage-overlay__modal{border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px}.cage-achievements .cage-overlay__content::-webkit-scrollbar:vertical{width:10px}.cage-achievements .cage-overlay__content::-webkit-scrollbar-thumb{background-color:#fff;border-radius:3px}.cage-achievements .cage-overlay__content::-webkit-scrollbar-track{border-radius:3px;background-color:#746d93}.cage-achievements .cage-overlay__title{border-bottom:none}.cage-achievements .cage-overlay__title-text{padding:16px 0px 15px 0px;line-height:100%;text-align:center;font:bold 20px ReithSans,Arial,Helvetica,freesans,sans-serif;color:#fff}.cage-achievement{display:flex;margin-bottom:8px;padding:6px;min-height:58px;border-radius:3px;font-size:13px;line-height:16px;color:#3b3b3b;background-color:#fff}.cage-achievement svg{float:left;width:13px;height:13px;margin-right:4px;margin-top:5px;fill:#FFD130}.cage-achievement--locked{background-color:#EAE9EE}.cage-achievement--locked svg{fill:#B4B4B4}.cage-achievement:last-child{margin-bottom:0}.cage-achievement__icon{width:58px;height:58px;min-width:58px;margin-right:6px;border-radius:2px}.cage-achievement__inner{width:80%}.cage-achievement__title{margin:2px 0 0;line-height:18px;font-size:15px;font-weight:bold;color:#222}.cage-achievement__description{margin:4px 0 2px 0}.cage-achievement__hintline-prefix{font-weight:bold}.cage-achievement__hintline-text{font-style:italic}.cage-achievement progress{border:none;border-radius:5px;background-color:#d6d6d6}.cage-achievement progress::-ms-fill{background-color:#00d2a9;border:none;border-radius:5px}.cage-achievement progress[value]{-webkit-appearance:none;appearance:none;width:170px;height:10px;margin-right:6px;position:relative;bottom:2px}.cage-achievement progress[value]::-webkit-progress-bar{background-color:#d6d6d6;border-radius:5px;overflow:hidden}.cage-achievement progress::-moz-progress-bar{background:#00d2a9;border-radius:5px}.cage-achievement progress[value]::-webkit-progress-value{background:#00d2a9;border-radius:5px}.cage-overlay__modal{width:75%;height:calc(100% - 4vw)}@media (min-width: 769px){.cage-overlay__modal{width:744px;height:86%;max-height:623px}.cage-achievements .cage-overlay__content::-webkit-scrollbar:vertical{width:16px}.cage-achievements .cage-overlay__content{padding:0 16px;margin-right:16px;height:calc(100% - 81px)}.cage-achievements .cage-overlay__title{border-bottom:none}.cage-achievements .cage-overlay__title-text{padding:20px 0px 22px 0px;line-height:100%;text-align:center;font:bold 26px ReithSans,Arial,Helvetica,freesans,sans-serif;color:#fff}.cage-achievement{display:flex;margin-bottom:10px;padding:8px;min-height:74px;border-radius:3px;font-size:15px;line-height:22px}.cage-achievement progress[value]{-webkit-appearance:none;appearance:none;width:216px;height:10px;margin-right:6px;position:relative;bottom:3px}.cage-achievement svg{float:left;width:16px;height:16px;margin-right:6px;margin-top:6px}.cage-achievement__icon{width:74px;height:74px;min-width:74px;margin-right:10px;border-radius:2px}.cage-achievement__title{margin:2px 0 0;line-height:22px;font-size:18px;font-weight:bold;color:#222}.cage-achievement__description{margin:4px 0 2px 0}.cage-achievement__hintline-prefix{font-weight:bold}.cage-achievement__hintline-text{font-style:italic}}.cage-setting{position:relative;padding:1em 2.2em;border-bottom:1px solid #F0F0F4}.cage-setting:last-child{border-bottom:0}.cage-setting__info{display:block;padding-right:86px;font:normal 1em arial,sans-serif}.cage-setting__title{padding-bottom:0.3em;font-weight:bold;color:#323232}.cage-setting__description{font-size:1em;color:#939397}.cage-setting__toggle{position:absolute;right:1.8em;top:10px}.cage-setting__toggle_button{margin-top:0.4em;padding:0.4em 0.4em 0.2em;border:0;background-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.cage-setting__toggle_button:active,.cage-setting__toggle_button:focus{background-color:rgba(0,0,0,0);-webkit-focus-ring-color:#bfbfc2}.cage-setting__toggle_button .cage-setting__toggle-slider,.cage-setting__toggle_button .cage-setting__toggle-outline{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out}.cage-setting__toggle_button--on .cage-setting__toggle-outline{fill:#44D6DA}.cage-setting__toggle_button--off .cage-setting__toggle-outline{fill:#D8D8D8}@media (max-width: 410px){.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 450px) and (min-width: 411px){.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 580px) and (min-width: 451px){.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 780px) and (min-width: 581px){.cage-setting__toggle-icon{width:42px;height:26px}}.game-wrapper__error{padding-top:5%;background-color:#000;color:#fff;font-family:Arial, Helvetica, sans-serif;text-align:center;font-size:26px}.game-wrapper__error a{color:#fff;text-decoration:underline;font-weight:bold}@media screen and (min-width: 400px){.game-wrapper__error h1{margin:8px 70px}.game-wrapper__error p{margin:8px 70px}}@media screen and (min-width: 600px){.game-wrapper__error h1{margin:16px 96px;font-size:20px}.game-wrapper__error p{margin:16px 96px;font-size:18px}}@media screen and (min-width: 770px){.game-wrapper__error h1{margin:16px 126px;font-size:26px}.game-wrapper__error p{margin:16px 126px;font-size:20px}}@media screen and (min-width: 1008px){.game-wrapper__error h1{margin:16px 246px}.game-wrapper__error p{margin:16px 246px}}.game-wrapper #brim{display:none}.cage-brim#cage-brim{width:100%;height:175vh}.cage-brim__message{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000;touch-action:pan-y;-webkit-user-select:none;z-index:2147483647}.cage-brim--disabled{display:none}.cage-brim__vo-button{height:1px;width:1px}.cage-brim__text{position:absolute;top:54vmin;left:0px;right:0px;color:#FFFFFF;text-align:center;font:bold 7vmin Helvetica, sans-serif}@keyframes hand-movement{21%{transform:rotate(-20deg);visibility:hidden;left:50%;top:27vmin}50%{transform:rotate(-5deg);visibility:hidden;left:50%;top:7vmin}}@keyframes hand-tap-swipe{20%{transform:rotate(-20deg);visibility:hidden;top:27vmin}50%{transform:rotate(-5deg);visibility:visible;top:7vmin}51%{visibility:hidden;top:7vmin}}@keyframes arrow-swipe{20%{opacity:0;top:26vmin}30%{opacity:1}50%{opacity:1;top:7vmin}100%{opacity:0;top:7vmin}}.cage-brim__hand{position:absolute;left:50%;top:24vmin;width:30vmin;height:30vmin;animation:hand-movement 2.2s ease infinite;transform:translate(10vmin);transform-origin:bottom right}.cage-brim__hand-tap{position:absolute;left:50%;top:27vmin;width:30vmin;height:30vmin;visibility:hidden;animation:hand-tap-swipe 2.2s ease infinite;transform-origin:bottom right}.cage-brim__arrow{position:absolute;left:50%;top:26vmin;width:40vmin;height:40vmin;opacity:0;animation:arrow-swipe 2.2s ease infinite;transform:translate(-30vmin)}.cage-achievement-notification{position:fixed;left:50%;margin-left:-172px;width:344px;height:80px;pointer-events:none;font-family:ReithSans,Arial,Helvetica,freesans,sans-serif}.cage-achievement-notification--top{top:2vw}.cage-achievement-notification--bottom{bottom:2vw}.cage-achievement-toast__container{position:relative;left:50%;margin-left:-172px;width:344px;height:80px;opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;background-size:100%;background-position:0 0;-webkit-animation:achievement-animateBoxIn 1.93s steps(58, end) 1 forwards,achievement-animateBoxOut 1s steps(30, end) 6s;animation:achievement-animateBoxIn 1.93s steps(58, end) 1 forwards,achievement-animateBoxOut 1s steps(30, end) 6s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__icon{position:absolute;top:19px;left:31px;width:42px;height:42px;opacity:0;border-radius:2px;-webkit-animation:achievement-scrollIn 0.2s ease-out 2.22s forwards, achievement-fadeOut 0.2s ease-in 6s forwards;animation:achievement-scrollIn 0.2s ease-out 2.22s forwards, achievement-fadeOut 0.2s ease-in 6s forwards;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__inner{position:absolute;top:19px;left:83px;width:237px}.cage-achievement-toast__title{position:absolute;top:0px;font-size:16px;line-height:20px;font-weight:bold;opacity:0;-webkit-animation:achievement-scrollIn 0.2s ease-out 2s forwards, achievement-scrollOut 0.2s ease-in 4s forwards;animation:achievement-scrollIn 0.2s ease-out 2s forwards, achievement-scrollOut 0.2s ease-in 4s forwards;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__name{position:absolute;top:21px;font-size:14px;line-height:18px;height:18px;overflow:hidden;opacity:0;-webkit-animation:achievement-scrollIn 0.2s ease-out 2.32s forwards, achievement-scrollOut 0.2s ease-in 4s forwards;animation:achievement-scrollIn 0.2s ease-out 2.32s forwards, achievement-scrollOut 0.2s ease-in 4s forwards;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__name svg{float:left;margin-right:5px;margin-top:4px;width:12px;height:12px;fill:#FFD130}.cage-achievement-toast__description{position:absolute;top:2px;height:36px;font-size:14px;line-height:18px;opacity:0;overflow:hidden;-webkit-animation:achievement-scrollIn 0.2s ease-out 4.2s forwards, achievement-scrollOut 0.2s ease-in 6s forwards;animation:achievement-scrollIn 0.2s ease-out 4.2s forwards, achievement-scrollOut 0.2s ease-in 6s forwards;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes achievement-animateBoxIn{from{background-position:0 0}to{background-position:0 -4640px}}@keyframes achievement-animateBoxIn{from{background-position:0 0}to{background-position:0 -4640px}}@-webkit-keyframes achievement-animateBoxOut{from{background-position:0 -4640px}to{background-position:0 -7040px}}@keyframes achievement-animateBoxOut{from{background-position:0 -4640px}to{background-position:0 -7040px}}@-webkit-keyframes achievement-animateBoxIn-1280{from{background-position:0 0}to{background-position:0 -5800px}}@keyframes achievement-animateBoxIn-1280{from{background-position:0 0}to{background-position:0 -5800px}}@-webkit-keyframes achievement-animateBoxOut-1280{from{background-position:0 -5800px}to{background-position:0 -8800px}}@keyframes achievement-animateBoxOut-1280{from{background-position:0 -5800px}to{background-position:0 -8800px}}@-webkit-keyframes achievement-scrollIn{from{margin-top:5px;opacity:0}to{margin-top:0;opacity:1}}@keyframes achievement-scrollIn{from{margin-top:5px;opacity:0}to{margin-top:0;opacity:1}}@-webkit-keyframes achievement-scrollOut{from{margin-top:0;opacity:1}to{margin-top:-5px;opacity:0}}@keyframes achievement-scrollOut{from{margin-top:0;opacity:1}to{margin-top:-5px;opacity:0}}@-webkit-keyframes achievement-fadeIn{from{opacity:0}to{opacity:1}}@keyframes achievement-fadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes achievement-fadeOut{from{opacity:1}to{opacity:0}}@keyframes achievement-fadeOut{from{opacity:1}to{opacity:0}}@media screen and (min-width: 1280px){.cage-achievement-notification{bottom:45px;margin-left:-215px;width:430px;height:100px}.cage-achievement-toast__container{margin-left:-215px;width:430px;height:100px;-webkit-animation:achievement-animateBoxIn-1280 1.93s steps(58, end) 1 forwards,achievement-animateBoxOut-1280 1s steps(30, end) 6s;animation:achievement-animateBoxIn-1280 1.93s steps(58, end) 1 forwards,achievement-animateBoxOut-1280 1s steps(30, end) 6s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.cage-achievement-toast__inner{top:21px;left:111px;width:282px}.cage-achievement-toast__icon{top:21px;left:42px;width:58px;height:58px}.cage-achievement-toast__title{top:6px;font-size:22px;line-height:22px}.cage-achievement-toast__name{top:31px;font-size:18px;line-height:22px;height:22px}.cage-achievement-toast__name svg{width:16px;height:16px}.cage-achievement-toast__description{top:8px;height:44px;font-size:18px;line-height:22px}}.data-notice{position:fixed;bottom:0;padding:0.4%;width:100%;text-align:center;font-family:ReithSans,Arial,Helvetica,freesans,sans-serif;font-size:1em;background:rgba(0,0,0,0.8);color:#fff}@media screen and (orientation: portrait){.data-notice{display:none}}@media (max-width: 25em){.data-notice{font-size:0.96em}}.exit-tile__container--hidden{display:none}.exit-tile__frame{border:0;height:100%;position:fixed;width:100%;overflow:hidden;z-index:2147483647}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>@import url("https://web.archive.org/web/20211103195646cs_/https://gel.files.bbci.co.uk/r2.302/bbc-reith.css");.absolute-center{position:absolute;margin-left:auto;margin-right:auto;left:0;right:0}.cage-rotate-screen{position:fixed;color:#000;width:100%;height:100%;left:0;top:0;overflow:visible;z-index:2147483647;touch-action:none;user-select:none;-webkit-user-select:none;pointer-events:none}.cage-rotate-screen__inner{position:fixed;width:200%;height:100%;max-width:100vw;max-height:100vh;transform:translatex(calc(50vw - 50%)) translatey(calc(50vh - 50%));margin-left:auto;z-index:2147483647;text-align:center;font:bold 7vmin ReithSans,Arial,Helvetica,freesans,sans-serif}.cage-rotate-screen__icon{top:39%;width:40%;height:40%}.cage-rotate-screen__path{fill:#000}.cage-rotate-screen__text{top:78%}.cage-rotate-screen__title{top:17%;text-transform:uppercase;font-size:235%}@media screen and (orientation: portrait){.cage-rotate-screen__inner{max-width:100vh;max-height:100vw;transform:translatex(calc(50vw - 50%)) translatey(calc(50vh - 50%)) rotate(90deg)}}.cage-rotate-screen--bitesize{background-color:#fff;background-image:linear-gradient(145.03deg, #E56410 49.16%, #E9B01F 93%)}.cage-rotate-screen__bitesize-x-shape{position:absolute;top:22%;left:-2%;width:3%}.cage-rotate-screen__bitesize-c-shape{position:absolute;top:9%;left:14%}.cage-rotate-screen__bitesize-cross{position:absolute;top:15%;right:13%;width:5%}.cage-rotate-screen__bitesize-curve{position:absolute;top:8%;right:36%;width:8%}.cage-rotate-screen__bitesize-piranha{position:absolute;top:27%;right:19%;width:5%}.cage-rotate-screen__bitesize-starburst{position:absolute;bottom:5%;left:15%;width:3%}.cage-rotate-screen__bitesize-triangle{bottom:6%;position:absolute;right:6%}.cage-rotate-screen__bitesize-zigzag{position:absolute;bottom:-2%;right:43%}.cage-rotate-screen__bitesize-house{position:absolute;top:41%;left:-4%;width:37%}.cage-rotate-screen__bitesize-book{position:absolute;top:49%;right:-6%;width:41%}.cage-rotate-screen--bitesize .cage-rotate-screen__title{font-size:226%;color:#fff;text-transform:capitalize}.cage-rotate-screen--cbbc{background-color:#F2F3F4}.cage-rotate-screen__streamers-left{position:absolute;top:21%;left:-30%;width:50%}.cage-rotate-screen__streamers-right{position:absolute;top:46%;right:-81px;width:50%}.cage-rotate-screen__cbbc-logo{top:10%;width:19%}.cage-rotate-screen--cbeebies{background-color:#9DD3E1}.cage-rotate-screen__grass{position:absolute;width:100%;height:15%;left:0;bottom:0;background-color:#8EAD23}.cage-rotate-screen__cbeebies-bug-1{position:absolute;top:68%;left:10%}.cage-rotate-screen__cbeebies-bug-2{position:absolute;top:68%;left:45%}.cage-rotate-screen__cbeebies-bug-3{position:absolute;top:68%;right:10%}.cage-rotate-screen__cbeebies-logo{top:4%}.cage-rotate-screen--cbeebies .cage-rotate-screen__icon{top:22%}.cage-rotate-screen--cbeebies .cage-rotate-screen__text{top:56%;font-size:82%}.cage-rotate-screen--default{color:#fff;background-color:#000}.cage-rotate-screen--default .cage-rotate-screen__icon{top:20%}.cage-rotate-screen--default .cage-rotate-screen__path{fill:#fff}.cage-rotate-screen--default .cage-rotate-screen__text{top:65%}.cage-rotate-screen--food{color:#333;background:#eee}.cage-rotate-screen__food-logo{top:19%;width:38%}.cage-rotate-screen--food .cage-rotate-screen__path{fill:#333}.cage-rotate-screen--sport{background:#FFD230} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-games-rotate-view/1.1.6"]=true; Morph.styleSrc.push("<style>@import url(\"https://gel.files.bbci.co.uk/r2.302/bbc-reith.css\");.absolute-center{position:absolute;margin-left:auto;margin-right:auto;left:0;right:0}.cage-rotate-screen{position:fixed;color:#000;width:100%;height:100%;left:0;top:0;overflow:visible;z-index:2147483647;touch-action:none;user-select:none;-webkit-user-select:none;pointer-events:none}.cage-rotate-screen__inner{position:fixed;width:200%;height:100%;max-width:100vw;max-height:100vh;transform:translatex(calc(50vw - 50%)) translatey(calc(50vh - 50%));margin-left:auto;z-index:2147483647;text-align:center;font:bold 7vmin ReithSans,Arial,Helvetica,freesans,sans-serif}.cage-rotate-screen__icon{top:39%;width:40%;height:40%}.cage-rotate-screen__path{fill:#000}.cage-rotate-screen__text{top:78%}.cage-rotate-screen__title{top:17%;text-transform:uppercase;font-size:235%}@media screen and (orientation: portrait){.cage-rotate-screen__inner{max-width:100vh;max-height:100vw;transform:translatex(calc(50vw - 50%)) translatey(calc(50vh - 50%)) rotate(90deg)}}.cage-rotate-screen--bitesize{background-color:#fff;background-image:linear-gradient(145.03deg, #E56410 49.16%, #E9B01F 93%)}.cage-rotate-screen__bitesize-x-shape{position:absolute;top:22%;left:-2%;width:3%}.cage-rotate-screen__bitesize-c-shape{position:absolute;top:9%;left:14%}.cage-rotate-screen__bitesize-cross{position:absolute;top:15%;right:13%;width:5%}.cage-rotate-screen__bitesize-curve{position:absolute;top:8%;right:36%;width:8%}.cage-rotate-screen__bitesize-piranha{position:absolute;top:27%;right:19%;width:5%}.cage-rotate-screen__bitesize-starburst{position:absolute;bottom:5%;left:15%;width:3%}.cage-rotate-screen__bitesize-triangle{bottom:6%;position:absolute;right:6%}.cage-rotate-screen__bitesize-zigzag{position:absolute;bottom:-2%;right:43%}.cage-rotate-screen__bitesize-house{position:absolute;top:41%;left:-4%;width:37%}.cage-rotate-screen__bitesize-book{position:absolute;top:49%;right:-6%;width:41%}.cage-rotate-screen--bitesize .cage-rotate-screen__title{font-size:226%;color:#fff;text-transform:capitalize}.cage-rotate-screen--cbbc{background-color:#F2F3F4}.cage-rotate-screen__streamers-left{position:absolute;top:21%;left:-30%;width:50%}.cage-rotate-screen__streamers-right{position:absolute;top:46%;right:-81px;width:50%}.cage-rotate-screen__cbbc-logo{top:10%;width:19%}.cage-rotate-screen--cbeebies{background-color:#9DD3E1}.cage-rotate-screen__grass{position:absolute;width:100%;height:15%;left:0;bottom:0;background-color:#8EAD23}.cage-rotate-screen__cbeebies-bug-1{position:absolute;top:68%;left:10%}.cage-rotate-screen__cbeebies-bug-2{position:absolute;top:68%;left:45%}.cage-rotate-screen__cbeebies-bug-3{position:absolute;top:68%;right:10%}.cage-rotate-screen__cbeebies-logo{top:4%}.cage-rotate-screen--cbeebies .cage-rotate-screen__icon{top:22%}.cage-rotate-screen--cbeebies .cage-rotate-screen__text{top:56%;font-size:82%}.cage-rotate-screen--default{color:#fff;background-color:#000}.cage-rotate-screen--default .cage-rotate-screen__icon{top:20%}.cage-rotate-screen--default .cage-rotate-screen__path{fill:#fff}.cage-rotate-screen--default .cage-rotate-screen__text{top:65%}.cage-rotate-screen--food{color:#333;background:#eee}.cage-rotate-screen__food-logo{top:19%;width:38%}.cage-rotate-screen--food .cage-rotate-screen__path{fill:#333}.cage-rotate-screen--sport{background:#FFD230}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u2172995968608382 */</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.reactions-styleguide__section{background-color:#fff;margin-bottom:32px}@media (min-width: 37.5em){.reactions-styleguide__section{padding:16px}}.reactions-styleguide__heading{background-color:#FFD201;margin-left:-16px;margin-right:-16px;padding:16px}.reactions-styleguide__heading:first-of-type{margin-top:-16px}.reactions-styleguide__heading,.reactions-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}#reactions-list li{list-style:none}.reactions__standalone .content-item-description{*zoom:1}.reactions__standalone .content-item-description:before,.reactions__standalone .content-item-description:after{content:" ";display:table}.reactions__standalone .content-item-description:after{clear:both}.reactions__standalone{max-width:864px}.reactions__standalone::before{position:relative;content:"";display:block;width:100%;background-color:black;padding-top:56.25%;z-index:999}.reactions__standalone .content-item-description{color:palette("text-dark");padding:16px 8px}@media (min-width: 37.5em){.reactions__standalone .content-item-description{padding:16px}}.reactions__standalone .reactions-container{width:calc(100% + 16px);margin-top:-16px;margin-right:-16px;margin-bottom:16px;margin-left:-8px}.content-item--riddle-content .reactions__standalone .reactions-container{margin-top:0}@media (min-width: 37.5em){.reactions__standalone .reactions-container{width:calc(100% + 32px);margin-left:-16px}}.reactions__standalone .content-item-description .reactions-cta{float:right;padding-left:16px;padding-right:4px}@media (min-width: 25em){.reactions__standalone .content-item-description .reactions-cta{padding-right:8px}}@media (min-width: 37.5em){.reactions__standalone .content-item-description .reactions-cta{padding-right:16px}}.reactions__standalone .content-item-description .reactions-cta--open{margin-top:0}.reactions__standalone .content-item-description .reactions-tray__reactions{z-index:999}.reactions-module{pointer-events:none;position:relative}.reactions .reactions-tray{margin-top:-36px;position:relative;z-index:999;pointer-events:none}.reactions .reactions-tray::before{display:block;height:20px;content:''}.reactions .reactions-tray__reactions-container{display:block;position:relative;padding:0 3px;max-height:0;height:auto;transition:max-height 300ms 120ms;background-color:#FDF6FF}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (prefers-reduced-motion: reduce){.reactions .reactions-tray__reactions-container{transition:none;max-height:0}}.reactions .reactions-tray__reactions-container:after{content:"";position:absolute;width:100%;height:5px;left:0;background:linear-gradient(rgba(43,31,90,0), rgba(43,31,90,0.2));bottom:0;visibility:hidden;transition:visibility 1ms 300ms}.reactions .reactions-tray__reactions-container li{padding-bottom:0;visibility:hidden;transition:visibility 0ms linear 300ms}.reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;color:#333;opacity:0;padding-bottom:16px;text-align:center;text-transform:uppercase;transition:opacity 300ms,visibility 0s linear 200ms;visibility:hidden}.reactions .reactions-tray__reactions-container--open{display:block;max-height:124px;pointer-events:all;transition:max-height 300ms}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container--open{max-height:154px}}.reactions .reactions-tray__reactions-container--open:after{visibility:visible;transition:visibility 1ms}.reactions .reactions-tray__reactions-container--open li{visibility:visible;transition:visibility 0ms linear 0ms}.reactions .reactions-tray__reactions-container--open .reactions-tray__reactive-prompt{visibility:visible;opacity:1}.reactions .reactions-cta{border:0;position:relative;overflow:visible;cursor:pointer;background-color:transparent;margin:8px 0;pointer-events:auto;z-index:999}.reactions .reactions-cta:hover .cta-cbbc-icon,.reactions .reactions-cta:hover .cta-cbeebies-icon{animation-play-state:paused}@media (min-width: 37.5em){.reactions .reactions-cta:hover .cta-cbbc-icon svg,.reactions .reactions-cta:hover .cta-cbeebies-icon svg{transition:all 500ms ease;transform:scale(1.1)}}.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbbc-icon,.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbeebies-icon{display:block;animation-name:wiggle;animation-duration:7s;animation-delay:5s;animation-iteration-count:3}.reactions .cta-icon svg{width:54px}@keyframes wiggle{0%{transform:scale(1) rotate(0deg)}10%{transform:scale(1.05) rotate(0deg)}11%{transform:scale(1.05) rotate(-5deg)}13%{transform:scale(1.05) rotate(5deg)}15%{transform:scale(1.05) rotate(-5deg)}17%{transform:scale(1.05) rotate(5deg)}19%{transform:scale(1.05) rotate(-5deg)}20%{transform:scale(1.05) rotate(0deg)}30%{transform:scale(1) rotate(0deg)}}.reactions .reactions-cta-image{display:-webkit-flex;display:-ms-flexbox;display:flex;align-items:center;-ms-flex-align:center;font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:bold;color:#2B1F5A;position:relative}.reactions .reactions-count-container{position:absolute;top:58%;left:-90%;height:25px;line-height:25px;width:80px;text-align:right;vertical-align:middle}.reactions .reactions-cta--open .cta-arrow-icon{transform:rotate(180deg)}.reactions .reaction-button{transition:opacity 200ms ease-in-out;opacity:0;outline:none;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (hover: hover), (-ms-high-contrast: none){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}}@media (hover: hover) and (min-width: 37.5em), (-ms-high-contrast: none) and (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}@-moz-document url-prefix(){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}@media (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}}.reactions .reaction-button:focus .reaction-focus-line{background-color:#2B1F5A}.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-12px}}.reactions .reaction-button.reaction-button--selected .reaction-icon svg{transform:rotate(20deg);transform-origin:center center;height:56px;width:56px;top:-8px;left:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon svg{height:84px;width:84px;top:-12px;left:-12px}}.reactions .animation-playing .reaction-button--selected{position:relative;z-index:1020}.reactions .animation-playing .reaction-button--selected .reaction-icon svg{z-index:1030;height:104px;width:104px;top:-32px;left:-32px}@media (min-width: 37.5em){.reactions .animation-playing .reaction-button--selected .reaction-icon svg{height:156px;width:156px;top:-48px;left:-48px}}.reactions .reaction-button--show{transition:opacity 43ms cubic-bezier(0, 0.94, 0.46, 0.85) 80ms;opacity:1}@media (prefers-reduced-motion: reduce){.reactions .reaction-button{transition:none}}.reactions .reaction-icon{display:block;position:relative;height:40px;width:40px;margin:4px auto;top:0}@media (min-width: 37.5em){.reactions .reaction-icon{height:60px;width:60px;margin-bottom:8px;margin-top:0}}.reactions .reaction-icon svg{position:absolute;top:0;left:0;height:40px;width:40px;transition:width 43ms ease-out,height 43ms ease-out,transform 43ms ease-out,top 43ms ease-out,left 43ms ease-out}@media (min-width: 37.5em){.reactions .reaction-icon svg{height:60px;width:60px}}.reactions .reaction-label,.reactions .reaction-count{display:block;position:relative;color:#2B1F5A}.reactions .reaction-label{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-weight:bold}@media (min-width: 37.5em){.reactions .reaction-label{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold}}.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-size:11px;padding-bottom:3px}@media (min-width: 25em){.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase}}.reactions .reaction-focus-line{width:12px;height:3px;margin:0 auto;position:relative}.reactions .gel-icon{position:relative}.reactions .reactions-cookie-warning{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FFD201;text-align:center}.reactions .reactions-cookie-warning__inner{display:inline-block}.reactions .reactions-cookie-warning__icon{width:60px;height:50px;float:right;position:relative;overflow:hidden}.reactions .reactions-cookie-warning__icon svg{transform:rotate(15deg);position:absolute;top:-7.5px;left:0}.reactions .reactions-cookie-warning__text{text-align:left;padding:16px;-webkit-text-size-adjust:100%}@media (min-width: 37.5em){.reactions .reactions-cookie-warning__text{padding-right:60px;padding-left:60px}}.reactions .reactions-cookie-warning__link{color:#000;text-decoration:none;font-weight:bold;white-space:nowrap}.reactions .reactions-cookie-warning__link:hover{text-decoration:underline}.reactions .reactions-sprite-animation-wrapper{position:fixed;width:100%;height:100%;top:0;left:0;overflow:hidden;z-index:1000}.reactions .reactions-sprite-animation{position:absolute;overflow:hidden;pointer-events:none;width:150vw;height:150vh;margin-left:-75vw;margin-top:-67.5vh}.reactions .reactions-sprite-animation svg{width:100%;height:100%;max-height:100%;position:relative}.reactions .reactions-sprite__layer{visibility:hidden}.reactions .reactions-sprite-animation__slide--1 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--10{visibility:visible}.reactions .reactions-list{display:flex;display:-webkit-flex;display:-ms-flexbox;margin-bottom:10px;width:100%;justify-content:space-between;-ms-flex-pack:space-between;-webkit-justify-content:space-between}@media (min-width: 25em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (min-width: 37.5em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center;margin:0 auto 10px;padding:8px 0 0}}.reactions .reactions-list li{flex-direction:row;padding:0 2px}@media (min-width: 25em){.reactions .reactions-list li{padding:0 4px}}@media (min-width: 37.5em){.reactions .reactions-list li{padding:0 5px}}.reactions .reactions-error-message{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FD3726;text-align:center;color:#fff}.reactions .reactions-error-message__inner{display:inline-block}.reactions .reactions-error-message__text{text-align:left;padding:16px}@media (min-width: 37.5em){.reactions .reactions-error-message__text{padding-right:60px;padding-left:60px}} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-childrens-reactions/1.4.7"]=true; Morph.styleSrc.push("<style>.reactions-styleguide__section{background-color:#fff;margin-bottom:32px}@media (min-width: 37.5em){.reactions-styleguide__section{padding:16px}}.reactions-styleguide__heading{background-color:#FFD201;margin-left:-16px;margin-right:-16px;padding:16px}.reactions-styleguide__heading:first-of-type{margin-top:-16px}.reactions-styleguide__heading,.reactions-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.reactions-styleguide__heading,.reactions-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .reactions-styleguide__heading,.no-touch .reactions-styleguide__subheading{font-size:20px;font-size:1.25rem}}#reactions-list li{list-style:none}.reactions__standalone .content-item-description{*zoom:1}.reactions__standalone .content-item-description:before,.reactions__standalone .content-item-description:after{content:\" \";display:table}.reactions__standalone .content-item-description:after{clear:both}.reactions__standalone{max-width:864px}.reactions__standalone::before{position:relative;content:\"\";display:block;width:100%;background-color:black;padding-top:56.25%;z-index:999}.reactions__standalone .content-item-description{color:palette(\"text-dark\");padding:16px 8px}@media (min-width: 37.5em){.reactions__standalone .content-item-description{padding:16px}}.reactions__standalone .reactions-container{width:calc(100% + 16px);margin-top:-16px;margin-right:-16px;margin-bottom:16px;margin-left:-8px}.content-item--riddle-content .reactions__standalone .reactions-container{margin-top:0}@media (min-width: 37.5em){.reactions__standalone .reactions-container{width:calc(100% + 32px);margin-left:-16px}}.reactions__standalone .content-item-description .reactions-cta{float:right;padding-left:16px;padding-right:4px}@media (min-width: 25em){.reactions__standalone .content-item-description .reactions-cta{padding-right:8px}}@media (min-width: 37.5em){.reactions__standalone .content-item-description .reactions-cta{padding-right:16px}}.reactions__standalone .content-item-description .reactions-cta--open{margin-top:0}.reactions__standalone .content-item-description .reactions-tray__reactions{z-index:999}.reactions-module{pointer-events:none;position:relative}.reactions .reactions-tray{margin-top:-36px;position:relative;z-index:999;pointer-events:none}.reactions .reactions-tray::before{display:block;height:20px;content:''}.reactions .reactions-tray__reactions-container{display:block;position:relative;padding:0 3px;max-height:0;height:auto;transition:max-height 300ms 120ms;background-color:#FDF6FF}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (prefers-reduced-motion: reduce){.reactions .reactions-tray__reactions-container{transition:none;max-height:0}}.reactions .reactions-tray__reactions-container:after{content:\"\";position:absolute;width:100%;height:5px;left:0;background:linear-gradient(rgba(43,31,90,0), rgba(43,31,90,0.2));bottom:0;visibility:hidden;transition:visibility 1ms 300ms}.reactions .reactions-tray__reactions-container li{padding-bottom:0;visibility:hidden;transition:visibility 0ms linear 300ms}.reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;color:#333;opacity:0;padding-bottom:16px;text-align:center;text-transform:uppercase;transition:opacity 300ms,visibility 0s linear 200ms;visibility:hidden}@media (min-width: 37.5em){.reactions .reactions-tray__reactive-prompt{font-size:13px;font-size:.8125rem}.no-touch .reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem}}.reactions .reactions-tray__reactions-container--open{display:block;max-height:124px;pointer-events:all;transition:max-height 300ms}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container--open{max-height:154px}}.reactions .reactions-tray__reactions-container--open:after{visibility:visible;transition:visibility 1ms}.reactions .reactions-tray__reactions-container--open li{visibility:visible;transition:visibility 0ms linear 0ms}.reactions .reactions-tray__reactions-container--open .reactions-tray__reactive-prompt{visibility:visible;opacity:1}.reactions .reactions-cta{border:0;position:relative;overflow:visible;cursor:pointer;background-color:transparent;margin:8px 0;pointer-events:auto;z-index:999}.reactions .reactions-cta:hover .cta-cbbc-icon,.reactions .reactions-cta:hover .cta-cbeebies-icon{animation-play-state:paused}@media (min-width: 37.5em){.reactions .reactions-cta:hover .cta-cbbc-icon svg,.reactions .reactions-cta:hover .cta-cbeebies-icon svg{transition:all 500ms ease;transform:scale(1.1)}}.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbbc-icon,.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbeebies-icon{display:block;animation-name:wiggle;animation-duration:7s;animation-delay:5s;animation-iteration-count:3}.reactions .cta-icon svg{width:54px}@keyframes wiggle{0%{transform:scale(1) rotate(0deg)}10%{transform:scale(1.05) rotate(0deg)}11%{transform:scale(1.05) rotate(-5deg)}13%{transform:scale(1.05) rotate(5deg)}15%{transform:scale(1.05) rotate(-5deg)}17%{transform:scale(1.05) rotate(5deg)}19%{transform:scale(1.05) rotate(-5deg)}20%{transform:scale(1.05) rotate(0deg)}30%{transform:scale(1) rotate(0deg)}}.reactions .reactions-cta-image{display:-webkit-flex;display:-ms-flexbox;display:flex;align-items:center;-ms-flex-align:center;font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:bold;color:#2B1F5A;position:relative}@media (min-width: 37.5em){.reactions .reactions-cta-image{line-height:20px;line-height:1.25rem}.no-touch .reactions .reactions-cta-image{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.reactions .reactions-count-container{position:absolute;top:58%;left:-90%;height:25px;line-height:25px;width:80px;text-align:right;vertical-align:middle}.reactions .reactions-cta--open .cta-arrow-icon{transform:rotate(180deg)}.reactions .reaction-button{transition:opacity 200ms ease-in-out;opacity:0;outline:none;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (hover: hover), (-ms-high-contrast: none){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}}@media (hover: hover) and (min-width: 37.5em), (-ms-high-contrast: none) and (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}@-moz-document url-prefix(){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}@media (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}}.reactions .reaction-button:focus .reaction-focus-line{background-color:#2B1F5A}.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-12px}}.reactions .reaction-button.reaction-button--selected .reaction-icon svg{transform:rotate(20deg);transform-origin:center center;height:56px;width:56px;top:-8px;left:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon svg{height:84px;width:84px;top:-12px;left:-12px}}.reactions .animation-playing .reaction-button--selected{position:relative;z-index:1020}.reactions .animation-playing .reaction-button--selected .reaction-icon svg{z-index:1030;height:104px;width:104px;top:-32px;left:-32px}@media (min-width: 37.5em){.reactions .animation-playing .reaction-button--selected .reaction-icon svg{height:156px;width:156px;top:-48px;left:-48px}}.reactions .reaction-button--show{transition:opacity 43ms cubic-bezier(0, 0.94, 0.46, 0.85) 80ms;opacity:1}@media (prefers-reduced-motion: reduce){.reactions .reaction-button{transition:none}}.reactions .reaction-icon{display:block;position:relative;height:40px;width:40px;margin:4px auto;top:0}@media (min-width: 37.5em){.reactions .reaction-icon{height:60px;width:60px;margin-bottom:8px;margin-top:0}}.reactions .reaction-icon svg{position:absolute;top:0;left:0;height:40px;width:40px;transition:width 43ms ease-out,height 43ms ease-out,transform 43ms ease-out,top 43ms ease-out,left 43ms ease-out}@media (min-width: 37.5em){.reactions .reaction-icon svg{height:60px;width:60px}}.reactions .reaction-label,.reactions .reaction-count{display:block;position:relative;color:#2B1F5A}.reactions .reaction-label{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-weight:bold}@media (min-width: 37.5em){.reactions .reaction-label{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-label{font-size:12px;font-size:.75rem}}@media (min-width: 37.5em){.reactions .reaction-label{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold}}@media (min-width: 37.5em) and (min-width: 20em){.reactions .reaction-label{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em) and (min-width: 37.5em){.no-touch .reactions .reaction-label{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-size:11px;padding-bottom:3px}@media (min-width: 37.5em){.reactions .reaction-count{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-count{font-size:12px;font-size:.75rem}}@media (min-width: 25em){.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase}}@media (min-width: 25em) and (min-width: 37.5em){.reactions .reaction-count{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-count{font-size:12px;font-size:.75rem}}.reactions .reaction-focus-line{width:12px;height:3px;margin:0 auto;position:relative}.reactions .gel-icon{position:relative}.reactions .reactions-cookie-warning{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FFD201;text-align:center}@media (min-width: 20em){.reactions .reactions-cookie-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .reactions .reactions-cookie-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reactions-cookie-warning__inner{display:inline-block}.reactions .reactions-cookie-warning__icon{width:60px;height:50px;float:right;position:relative;overflow:hidden}.reactions .reactions-cookie-warning__icon svg{transform:rotate(15deg);position:absolute;top:-7.5px;left:0}.reactions .reactions-cookie-warning__text{text-align:left;padding:16px;-webkit-text-size-adjust:100%}@media (min-width: 37.5em){.reactions .reactions-cookie-warning__text{padding-right:60px;padding-left:60px}}.reactions .reactions-cookie-warning__link{color:#000;text-decoration:none;font-weight:bold;white-space:nowrap}.reactions .reactions-cookie-warning__link:hover{text-decoration:underline}.reactions .reactions-sprite-animation-wrapper{position:fixed;width:100%;height:100%;top:0;left:0;overflow:hidden;z-index:1000}.reactions .reactions-sprite-animation{position:absolute;overflow:hidden;pointer-events:none;width:150vw;height:150vh;margin-left:-75vw;margin-top:-67.5vh}.reactions .reactions-sprite-animation svg{width:100%;height:100%;max-height:100%;position:relative}.reactions .reactions-sprite__layer{visibility:hidden}.reactions .reactions-sprite-animation__slide--1 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--10{visibility:visible}.reactions .reactions-list{display:flex;display:-webkit-flex;display:-ms-flexbox;margin-bottom:10px;width:100%;justify-content:space-between;-ms-flex-pack:space-between;-webkit-justify-content:space-between}@media (min-width: 25em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (min-width: 37.5em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center;margin:0 auto 10px;padding:8px 0 0}}.reactions .reactions-list li{flex-direction:row;padding:0 2px}@media (min-width: 25em){.reactions .reactions-list li{padding:0 4px}}@media (min-width: 37.5em){.reactions .reactions-list li{padding:0 5px}}.reactions .reactions-error-message{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FD3726;text-align:center;color:#fff}@media (min-width: 20em){.reactions .reactions-error-message{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .reactions .reactions-error-message{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reactions-error-message__inner{display:inline-block}.reactions .reactions-error-message__text{text-align:left;padding:16px}@media (min-width: 37.5em){.reactions .reactions-error-message__text{padding-right:60px;padding-left:60px}}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-reactions{list-style:none;margin:0;padding:0}.gs-c-reaction{border:0;padding:0;margin:0;background:none;min-height:44px;cursor:pointer} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-reactions/4.2.0"]=true; Morph.styleSrc.push("<style>.gs-c-reactions{list-style:none;margin:0;padding:0}.gs-c-reaction{border:0;padding:0;margin:0;background:none;min-height:44px;cursor:pointer}\n</style>"); }</script> <script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/2.2.0"]=true; Morph.styleSrc.push("<style>.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes gel-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u39935251324059373 */</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.67.1/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 .action-link__text--not-bold{font-weight:normal}.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.67.1"]=true; Morph.styleSrc.push("<style>.comments-styleguide__section{background-color:#ededed;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{margin-bottom:32px;padding:16px}.comments-styleguide__heading{background-color:#fdd92e;margin-left:-16px;margin-right:-16px;padding:16px}.comments-styleguide__heading:first-of-type{margin-top:-16px}.comments-styleguide__heading,.comments-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.comments-styleguide__heading,.comments-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .comments-styleguide__heading,.no-touch .comments-styleguide__subheading{font-size:20px;font-size:1.25rem}}.comments-styleguide .comments__idcta-btn .id5-cta__button{font-size:18px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin{background-color:#006def;background-image:url(\"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 32 32%27 fill=%27white%27%3E%3Ctitle%3Esign-in%3C/title%3E%3Cpath d=%27M9.8,17.3A6.2,6.2,0,1,1,16,23.4a6.2,6.2,0,0,1-6.2-6.2M22.2,26l2.4,4.9A16,16,0,1,0,0,17.3,16.3,16.3,0,0,0,7.4,30.9L9.9,26Z%27/%3E%3C/svg%3E%0A\");background-position:8px center;background-repeat:no-repeat;color:#fff;display:inline-block;padding:8px;padding-left:32px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin:hover{background-color:#005bc8}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register{padding-bottom:4px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register:hover{border-bottom:1px solid #005bc8;color:#005bc8}.comments-styleguide .comments__idcta-msg{display:inline-block;margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments-styleguide__white-background{background-color:#fff;border:1px dotted #000;margin-top:4px;padding:16px}.comments .comment__hidden-text{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.comments-no-js-message{background-color:#e4134f;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments-no-js-message a{color:#fff}.comments--no-js .comments__comments-sort,.comments--no-js .comments__more-comments-button,.comments--no-js .comment__reply-button{display:none !important}.comments .alert-icon{fill:#000;padding-right:2px}.comments .to-top-icon{fill:#222}.comments .more-icon-vertical{height:0;padding-bottom:100%;position:relative;width:100%}.comments .more-icon-vertical svg{height:100%;left:0;position:absolute;top:0;width:100%}.comments .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-total{margin-top:16px}.comments .comments-sort{display:-webkit-flex;display:flex;align-items:center}.comments .comments-sort .comments-sort__label{font-weight:bold;padding-right:10px}.comments .comments-sort .comments-sort__dropdown{display:-webkit-flex;display:flex;align-items:center;color:#222;flex-direction:row}.comments .comments-sort .comments-sort__dropdown .comments-sort__select{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;background:inherit;border:1px solid #222;border-radius:0;color:inherit;cursor:inherit;font:inherit;padding:2px 8px;padding-right:28px;text-decoration:inherit}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:hover{cursor:pointer}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:focus{cursor:pointer;outline:3px solid #006def;outline-offset:0}.comments .comments-sort .comments-sort__dropdown .comments-sort__select::-ms-expand{display:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__select:-moz-focusring{color:transparent;text-shadow:0 0 0 #222}.comments .comments-sort .comments-sort__dropdown .comments-sort__select option{color:#222;font:inherit;font-weight:normal}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:hover,.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:focus{border-color:#b2b2b2;color:#b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__select--loading:-moz-focusring{color:transparent;text-shadow:0 0 0 #b2b2b2}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon{display:flex;margin-left:-24px;margin-right:8px;pointer-events:none}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .down-arrow{fill:#222;height:14px;width:14px}.comments .comments-sort .comments-sort__dropdown .comments-sort__icon .loading-spinner{fill:#006def;width:14px}.comments .comments-button{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:500;padding:8px;text-align:center}.comments .comments-button[disabled]{background-color:#dbdbdb;color:#222;font-weight:normal}.comments .comments-button:hover:enabled{background-color:#005bc8}.comments .comments-button--full-width{width:100%}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments .comments__back-to-top-link{-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 .action-link__text--not-bold{font-weight:normal}.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(); /* u677142591994812 */</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': 'cbbc', '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/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts', 'cbeebies': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/cbeebies', 'cbbc': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/cbbc', 'jquery': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/jquery', 'jquery-1': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/jquery/jquery', 'jquery-1.9': 'https://web.archive.org/web/20211103195646/https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1', 'lib': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries', 'bump-3': 'https://web.archive.org/web/20211103195646/https://emp.bbci.co.uk/emp/bump-3/bump-3', 'bump-4': 'https://web.archive.org/web/20211103195646/https://emp.bbci.co.uk/emp/bump-4/bump-4', 'embed': 'https://web.archive.org/web/20211103195646/https://play.bbc.co.uk/play/sdk/embed/v1/latest', 'lib/Imager': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/Imager.min', 'TweenMax': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/gsap/TweenMax.min', 'TimelineMax': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/gsap/TweenMax.min', 'echo-11.2.2': 'https://web.archive.org/web/20211103195646/https://mybbc-analytics.files.bbci.co.uk/echo-client-js/echo-11.2.2.min', 'lib/riddle': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/riddle/embed-3.3.min', 'lib/minpubsub': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/minpubsub.min', 'uasclient': 'https://web.archive.org/web/20211103195646/https://static.bbci.co.uk/uasclient/0.1.40/modules/uasclient', 'activity-button': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/activity-button', 'activity-button/activity-button': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/personalisation/personalisation.min', 'reads': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/reads', 'reads/reads': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/personalisation/personalisation.min', 'reads-carousel': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/reads-carousel', 'reads-carousel/reads-carousel': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/personalisation/personalisation.min', 'angular': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/angular', 'angular/app': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/angular/app.min', 'stats': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/stats', 'stats/riddle-events': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/stats/riddle-events.min', 'stats/stats': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/stats/stats.min', 'confetti': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/confetti', 'confetti/confetti': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/confetti/confetti.min', 'follows-panel': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/follows-panel', 'follows-panel/childrens-follows-panel': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/personalisation/personalisation.min', 'personalisation': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/personalisation', 'domReady': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/libraries/require/domReady.min', 'relay-1': 'https://web.archive.org/web/20211103195646/https://static.bbci.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1', 'jssignals-1': 'https://web.archive.org/web/20211103195646/https://static.bbci.co.uk/frameworks/jssignals/0.3.6/modules/jssignals-1', 'vote-wrapper': 'https://web.archive.org/web/20211103195646/https://account-wrapper.files.bbci.co.uk/vote-wrapper.min', 'event-stream': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/javascripts/event-stream/event-stream.min', 'riddle/auto-scroll': 'https://web.archive.org/web/20211103195646/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/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('cbbc'); } istats.addLabels({ "page_type" : "content", "children_curation" : "cbbc-top-picks-today", "children_show" : "scream-street", "children_index" : "puzzles", "children_topic" : "none", "children_collection" : "cbbc-top-picks-today", "children_oj_campaign" : "cbbc.watch.scream_street_spookiest_bits_compilation.page-cbbc.puzzles.lagging_jigsaw_puzzle.page-cbbc.joinin.scream_street_pumpkin_stencils_and_masks.page", "children_primary_content" : "gid-jigsaw-scream-street", "children_game_cms" : "isite", "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/20211103195646im_/https://a1.api.bbc.co.uk/hit.xiti?&amp;col=1&amp;from=p&amp;ptag=js&amp;s=598253&amp;p=puzzles::unknown&amp;x1=[urn:bbc:isite2:c808824d-bb66-4417-9d52-dd63267bd171]&amp;x2=[responsive]&amp;x3=[bbc_website]&amp;x4=[en]&amp;x7=[article]&amp;x8=[reverb-3.3.0-nojs]&amp;x11=[cbbc]&amp;x12=[cbbc]" 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 new-logo"><a href="https://web.archive.org/web/20211103195646/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/20211103195646/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/20211103195646/https://account.bbc.com/account?context=cbbc&amp;ptrt=https://www.bbc.co.uk/cbbc/puzzles/scream-street-jigsaw"><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/20211103195646/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20211103195646/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/20211103195646/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/20211103195646/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/20211103195646/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><form id="orbit-search-form" role="search" method="get" action="https://web.archive.org/web/20211103195646/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" id="orb-search-scope" value="cbbc"> <button id="orbit-search-button"><svg class="search-button-icon" width="1.75rem" height="1.8125rem" viewbox="0 0 28 29" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>Search BBC</title><path d="M11,0 C17.0751322,0 22,4.92486775 22,11 C22,13.5277632 21.1473793,15.8563862 19.7140404,17.7139664 L28,26.0001 L25,29.0001 L16.518046,20.5179339 C14.8960209,21.4603385 13.0110328,22 11,22 C4.92486775,22 0,17.0751322 0,11 C0,4.92486775 4.92486775,0 11,0 Z M11,2.5001 C6.30557963,2.5001 2.5,6.30567963 2.5,11.0001 C2.5,15.6945204 6.30557963,19.5001 11,19.5001 C15.6944204,19.5001 19.5,15.6945204 19.5,11.0001 C19.5,6.30567963 15.6944204,2.5001 11,2.5001 Z" id="Shape"></path></svg><svg class="search-box-icon" width="1rem" height="1rem" viewbox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M4.31263591,11.9770508 C3.26116255,10.925 2.68223368,9.52721354 2.68223368,8.04036458 C2.68223368,6.55351563 3.26116255,5.15572917 4.31325442,4.10491536 C5.36410928,3.05286458 6.76133182,2.47395833 8.24823886,2.47395833 C9.7351459,2.47395833 11.1336055,3.05348307 12.1850788,4.10491536 C14.3548251,6.27457682 14.3554436,9.80615234 12.1850788,11.9770508 C11.1336055,13.0278646 9.7351459,13.6067708 8.24823886,13.6067708 C6.76195034,13.6067708 5.36410928,13.0278646 4.31263591,11.9770508 L4.31263591,11.9770508 Z M20,17.6059245 L14.9195281,12.525651 C17.0268044,9.39980469 16.7002292,5.12171224 13.9348542,2.35520833 C12.3644478,0.785481771 10.3066526,0 8.24823886,0 C6.19106215,0 4.13264841,0.785481771 2.56347904,2.35520833 C-0.576715236,5.49589844 -0.576715236,10.5860677 2.56347904,13.7255208 C4.13326692,15.2964844 6.19106215,16.0807292 8.24823886,16.0807292 C9.81555269,16.0807292 11.3816295,15.6230469 12.733082,14.7120117 L17.8129354,19.7916667 L20,17.6059245 Z"></path></svg><span>Search BBC</span></button></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/cbbc/www/assets/997c420/images/icons/ie-caution-icon.png"/> <span class="unsupported-browser-banner__text">To get the best experience from CBBC, 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--cbbc childrens-wrapper--content-item childrens-wrapper--puzzles 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="cbbc-top-picks-today" data-stats-children-show="scream-street" data-stats-children-index="puzzles" data-stats-children-topic="none" data-stats-children-collection="cbbc-top-picks-today" data-stats-children-oj-campaign="cbbc.watch.scream_street_spookiest_bits_compilation.page-cbbc.puzzles.lagging_jigsaw_puzzle.page-cbbc.joinin.scream_street_pumpkin_stencils_and_masks.page" data-stats-children-page-intention="false" data-stats-children-primary-content="gid-jigsaw-scream-street" data-stats-children-game-cms="isite" 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/20211103195646/https://www.bbc.co.uk/cbbc" data-stats-interaction="navigation" data-stats-interaction-variant="home_logo"> <svg version="1.1" id="small-menu-logo" class="logo logo--cbbc logo--animated menu__logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" preserveaspectratio="xMaxYMin meet"> <defs> <clippath id="small-menu-logo-outer-logo-path"> <ellipse cx="31.5" cy="30" rx="30.5" ry="30"></ellipse> </clippath> </defs> <g style="clip-path: url(/web/20211103195646im_/https://www.bbc.co.uk/cbbc/puzzles/scream-street-jigsaw#small-menu-logo-outer-logo-path);"> <path class="logo__part logo__part--pink" fill="#FF2C9F" d="M18.2,2.9v13.6v1.1v0.4c0,0,0,0,0.1,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V0C26.3,0.1,22.1,1.1,18.2,2.9"></path> <path class="logo__part logo__part--raspberry" fill="#D41C6F" d="M21.5,18.5c-1-0.3-2.2-0.4-3.3-0.4c0,0-0.1,0-0.1,0v0.4v23.6v15c3.9,1.8,8.1,2.9,12.6,2.9 V47.7V29.4C30.3,24.2,26.5,19.8,21.5,18.5"></path> <path class="logo__part logo__part--blue" fill="#008AAA" d="M32.6,0v40.9v1.1v0.4c0,0,0,0,0,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V3.4C41.4,1.4,37.1,0.2,32.6,0"></path> <path class="logo__part logo__part--turquoise" fill="#00D2A9" d="M35.9,42.9c-1-0.3-2.2-0.4-3.3-0.4c0,0,0,0,0,0v0.4v2.9V60c4.5-0.2,8.7-1.4,12.6-3.4v-2.7 C44.6,48.6,40.9,44.3,35.9,42.9"></path> <path class="logo__part logo__part--green" fill="#9FE600" d="M16.4,17.9V3.9C7.3,9.2,1.2,18.9,1.2,29.9S7.3,50.7,16.4,56v-14c-2.8-3.3-4.3-7.5-4.3-12.1 S13.7,21.2,16.4,17.9"></path> <path class="logo__part logo__part--pink-replacement" fill="#FF2C9F" d="M18.2,2.9v38v1.1v0.4c0,0,0,0,0.1,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V0C26.3,0.1,22.1,1.1,18.2,2.9"></path> <path class="logo__part logo__part--turquoise-replacement" fill="#00D2A9" d="M35.9,18.5c-1-0.3-2.2-0.4-3.3-0.4c0,0,0,0,0,0v0.4v2.9V60c4.5-0.2,8.7-1.4,12.6-3.4V29.4 C44.6,24.2,40.9,19.8,35.9,18.5"></path> <path class="logo__part logo__part--orange" fill="#F76C06" d="M58.8,17.2C58.8,17.2,58.8,17.2,58.8,17.2C58.2,16.1,57.6,15,57,14 c-2.4-3.9-5.7-7.2-9.6-9.6v19.3C52.2,23.6,56.4,21.1,58.8,17.2"></path> <path class="logo__part logo__part--dark-orange" fill="#F63400" d="M47.3,36.3v19.3c3.9-2.4,7.2-5.7,9.6-9.6c0.3-0.5,0.6-1.1,0.9-1.6c0.3-0.5,0.6-1.1,0.8-1.7 l0,0C56.4,38.8,52.2,36.3,47.3,36.3"></path> </g> </svg> <script> require(['jquery-1', 'modernizr', 'childrens/logo/animated-cbbc-logo'], function ($, Modernizr, logoAnimation) { var shouldAnimateLogo = Modernizr.svg && Modernizr.cssanimations; if (shouldAnimateLogo) { var logo = logoAnimation({id: '#small-menu-logo'}); $(document).ready(function () { setTimeout(logo.play, 800); }); } }); </script> 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/20211103195646/https://www.bbc.co.uk/cbbc" 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="cbbc"> <span class="menu__link-icon"> <svg version="1.1" id="large-menu-logo" class="logo logo--cbbc logo--animated menu__logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" preserveaspectratio="xMaxYMin meet"> <defs> <clippath id="large-menu-logo-outer-logo-path"> <ellipse cx="31.5" cy="30" rx="30.5" ry="30"></ellipse> </clippath> </defs> <g style="clip-path: url(/web/20211103195646im_/https://www.bbc.co.uk/cbbc/puzzles/scream-street-jigsaw#large-menu-logo-outer-logo-path);"> <path class="logo__part logo__part--pink" fill="#FF2C9F" d="M18.2,2.9v13.6v1.1v0.4c0,0,0,0,0.1,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V0C26.3,0.1,22.1,1.1,18.2,2.9"></path> <path class="logo__part logo__part--raspberry" fill="#D41C6F" d="M21.5,18.5c-1-0.3-2.2-0.4-3.3-0.4c0,0-0.1,0-0.1,0v0.4v23.6v15c3.9,1.8,8.1,2.9,12.6,2.9 V47.7V29.4C30.3,24.2,26.5,19.8,21.5,18.5"></path> <path class="logo__part logo__part--blue" fill="#008AAA" d="M32.6,0v40.9v1.1v0.4c0,0,0,0,0,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V3.4C41.4,1.4,37.1,0.2,32.6,0"></path> <path class="logo__part logo__part--turquoise" fill="#00D2A9" d="M35.9,42.9c-1-0.3-2.2-0.4-3.3-0.4c0,0,0,0,0,0v0.4v2.9V60c4.5-0.2,8.7-1.4,12.6-3.4v-2.7 C44.6,48.6,40.9,44.3,35.9,42.9"></path> <path class="logo__part logo__part--green" fill="#9FE600" d="M16.4,17.9V3.9C7.3,9.2,1.2,18.9,1.2,29.9S7.3,50.7,16.4,56v-14c-2.8-3.3-4.3-7.5-4.3-12.1 S13.7,21.2,16.4,17.9"></path> <path class="logo__part logo__part--pink-replacement" fill="#FF2C9F" d="M18.2,2.9v38v1.1v0.4c0,0,0,0,0.1,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V0C26.3,0.1,22.1,1.1,18.2,2.9"></path> <path class="logo__part logo__part--turquoise-replacement" fill="#00D2A9" d="M35.9,18.5c-1-0.3-2.2-0.4-3.3-0.4c0,0,0,0,0,0v0.4v2.9V60c4.5-0.2,8.7-1.4,12.6-3.4V29.4 C44.6,24.2,40.9,19.8,35.9,18.5"></path> <path class="logo__part logo__part--orange" fill="#F76C06" d="M58.8,17.2C58.8,17.2,58.8,17.2,58.8,17.2C58.2,16.1,57.6,15,57,14 c-2.4-3.9-5.7-7.2-9.6-9.6v19.3C52.2,23.6,56.4,21.1,58.8,17.2"></path> <path class="logo__part logo__part--dark-orange" fill="#F63400" d="M47.3,36.3v19.3c3.9-2.4,7.2-5.7,9.6-9.6c0.3-0.5,0.6-1.1,0.9-1.6c0.3-0.5,0.6-1.1,0.8-1.7 l0,0C56.4,38.8,52.2,36.3,47.3,36.3"></path> </g> </svg> <script> require(['jquery-1', 'modernizr', 'childrens/logo/animated-cbbc-logo'], function ($, Modernizr, logoAnimation) { var shouldAnimateLogo = Modernizr.svg && Modernizr.cssanimations; if (shouldAnimateLogo) { var logo = logoAnimation({id: '#large-menu-logo'}); $(document).ready(function () { setTimeout(logo.play, 800); }); } }); </script> </span><span class="menu__link-label">Home</span> </a> </li><!-- --><li class="menu__item menu__item--shows"> <a class="menu__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows" data-stats-interaction="navigation" data-stats-interaction-variant="shows" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;shows::2&quot;}" data-bbc-title="Shows" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Shows</span> </a> </li><li class="menu__item menu__item--games"> <a class="menu__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games" data-stats-interaction="navigation" data-stats-interaction-variant="games" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;games::3&quot;}" data-bbc-title="Games" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Games</span> </a> </li><li class="menu__item menu__item--quizzes"> <a class="menu__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes" data-stats-interaction="navigation" data-stats-interaction-variant="quizzes" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;quizzes::4&quot;}" data-bbc-title="Quizzes" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Quizzes</span> </a> </li><li class="menu__item menu__item--watch"> <a class="menu__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch" data-stats-interaction="navigation" data-stats-interaction-variant="watch" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;watch::5&quot;}" data-bbc-title="Watch" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Watch</span> </a> </li><li class="menu__item menu__item--joinin"> <a class="menu__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin" data-stats-interaction="navigation" data-stats-interaction-variant="joinin" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;joinin::6&quot;}" data-bbc-title="Join In" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Join In</span> </a> </li><li class="menu__item menu__item--puzzles menu__item--current"> <a class="menu__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles" data-stats-interaction="navigation" data-stats-interaction-variant="puzzles" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;puzzles::7&quot;}" data-bbc-title="Puzzles" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Puzzles</span> </a> </li><li class="menu__item menu__item--newsround"> <a class="menu__link" href="/web/20211103195646/https://www.bbc.co.uk/newsround" data-stats-interaction="navigation" data-stats-interaction-variant="newsround" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;newsround::8&quot;}" data-bbc-title="Newsround" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Newsround</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/20211103195646/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/20211103195646/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">Jigsaw: Scream Street</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--game content-item--puzzles"> <div class="content-item__frame"> <section class="content-item__section content-item__primary-content content-item__primary-content--game" itemtype="http://www.schema.org/MediaObject" itemscope> <meta itemprop="name" content="Scream Street - Jigsaw: Scream Street"/> <meta itemprop="description" content="Can you piece together these spooktacular jigsaws featuring some scarily brilliant moments from Scream Street series 2? "/> <meta itemprop="typicalAgeRange" content="0-12"/> <meta itemprop="datePublished" content="2021-10-14T09:35:00.000Z"/> <meta itemprop="url" content="https://web.archive.org/web/20211103195646/http://www.bbc.co.uk/cbbc/puzzles/scream-street-jigsaw"/> <meta itemprop="isFamilyFriendly" content="true"/> <meta itemprop="image" content="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/cbbc/scream-street-jigsaw-index.jpg"/> <meta itemprop="thumbnailUrl" content="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/cbbc/scream-street-jigsaw-index.jpg"/> <div class="content-item__section-content"> <div id="game" class="game-embed" data-intention-id="jigsaw-scream-street" data-stats-children-game-cms="isite"><div id="u2172995968608382"><div data-reactid=".20o0krlc7qs" data-react-checksum="1267963615"><div class="game-wrapper game-wrapper--embed" data-reactid=".20o0krlc7qs.0"><div data-reactid=".20o0krlc7qs.0.0"><svg width="64" height="64" viewbox="0 0 32 32" class="game-wrapper__loading-spinner" data-reactid=".20o0krlc7qs.0.0.0"><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" data-reactid=".20o0krlc7qs.0.0.0.0"></path></svg><div class="game-wrapper__cta" data-reactid=".20o0krlc7qs.0.0.1"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-reactid=".20o0krlc7qs.0.0.1.0"/><button type="button" class="game-wrapper__cta-button" data-reactid=".20o0krlc7qs.0.0.1.1"><div class="game-wrapper__cta-icon" data-reactid=".20o0krlc7qs.0.0.1.1.0"><svg viewbox="0 0 32 32" data-reactid=".20o0krlc7qs.0.0.1.1.0.0"><path fill="#fff" d="M8 7.5c-1.9 0-3.5 1.6-3.5 3.5s1.6 3.5 3.5 3.5 3.5-1.6 3.5-3.5S9.9 7.5 8 7.5z" data-reactid=".20o0krlc7qs.0.0.1.1.0.0.0"></path><path fill="#fff" d="M24 3c-2 0-3.9.8-5.3 2h-5.4C11.9 3.8 10 3 8 3c-4.4 0-8 3.6-8 8v18h6l6-10h8l6 10h6V11c0-4.4-3.6-8-8-8zm0 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM8 17c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm12-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm4 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm4-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" data-reactid=".20o0krlc7qs.0.0.1.1.0.0.1"></path></svg></div></button></div></div></div></div></div></div> <script> require(['jquery-1', 'stats/stats'], function ($, stats) { var intentionId = 'gid-jigsaw-scream-street'; var statsAttributes = { children_interaction_action: 'button', children_interaction_type: 'play', children_interaction_variant: intentionId }; var clicked = false; var $embed = $('#game'); $embed.on('click', '.game-wrapper__cta', function () { if (!clicked) { clicked = true; stats.recordIntention(intentionId); stats.recordInteraction($embed, "click", window.location.pathname, statsAttributes); } }); }); </script> <script> require(['jquery-1'], function ($) { var $embed = $('#game'); $embed.on('DOMNodeInserted', '.game-wrapper__iframe--fixedsize', function (e) { var width = $(e.target).width(); if($.isNumeric(width) && (width > 0)) { $('.content-page__section.content-item--game').css('max-width', (width + 32) + 'px'); } }); }); </script> <noscript> <div class="content-item__js-not-available js-not-available"> <h2 class="js-not-available__title">Oops you can't see this activity!</h2> <p class="js-not-available__text">To enjoy the CBBC website at its best you will need to have JavaScript turned on.</p> <p class="js-not-available__text">For more help please visit the <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/findoutmore/web-help-javascript" class="js-not-available__link">CBBC FAQ <span class="gel-icon gelicon--next"></span></a></p> </div> </noscript> </div> </section> <div class="content-item__section content-item__section--information"> <div class="content-item__section-content"> <div class="content-item-description"> <div class="reactions-container"><div id="u39935251324059373"><div class="reactions" data-reactid=".29nwwxg3omw" data-react-checksum="-919179415"><div data-reactid=".29nwwxg3omw.0"><div data-reactid=".29nwwxg3omw.0.0"><div class="reactions-module" data-reactid=".29nwwxg3omw.0.0.0"><div class="reactions-sprite-animation-wrapper" data-reactid=".29nwwxg3omw.0.0.0.0"><div class="reactions-sprite-animation reactions-sprite-animation__slide--0" style="left:0;top:0;" data-reactid=".29nwwxg3omw.0.0.0.0.0"><noscript data-reactid=".29nwwxg3omw.0.0.0.0.0.0"></noscript></div></div><div class="reactions-tray" data-reactid=".29nwwxg3omw.0.0.0.1"><div class="reactions-tray__reactions-container reactions-tray__reactions-container--no-animation" data-reactid=".29nwwxg3omw.0.0.0.1.0"><ul class="gs-c-reactions" data-reactid=".29nwwxg3omw.0.0.0.1.0.0"><div class="reactions-list" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0"><li data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--loved-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street reaction-count-text--loved-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0.0"><span class="gel-icon reaction-icon reaction-icon-loved" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0.0.0.0"><path d="M13.54 49.73A31.54 31.54 0 0 1 6 30c0-2.08-.06-10.46 6.55-16.17a14.48 14.48 0 0 1 9.1-3.46c7.39 0 11.7 3.42 14.34 8.12 2.64-4.69 7-8.13 14.34-8.12a14.48 14.48 0 0 1 9.1 3.46C66.06 19.54 66 27.93 66 30a31.54 31.54 0 0 1-7.54 19.73C51.28 58.48 36 61.63 36 61.63s-15.28-3.15-22.46-11.9z" fill="#e63f23" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0.0.0.0.0"></path><path d="M17.06 16.8C14.9 18.15 14 20.51 15 22.08s3.56 1.75 5.73.4 3.11-3.71 2.11-5.28-3.61-1.75-5.78-.4z" fill="#ee7966" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0.0.0.0.1"></path></svg></span><span id="reaction-label-text--loved-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-label" aria-label="Reaction type Love," data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0.0.1">Love</span><span id="reaction-count-text--loved-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-count" aria-label="Total number of Loves 7" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0.0.2">7</span><div class="reaction-focus-line" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$0.0.3"></div></button></li><li data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--lol-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street reaction-count-text--lol-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0"><span class="gel-icon reaction-icon reaction-icon-lol" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.0.0"><circle cx="35.91" cy="35.72" r="30" fill="#ffd201" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.0.0.0"></circle><path d="M69.12 34c-2.48-1.34-13.33-1.34-13.33-1.34s6 9.07 8.52 10.41A5.07 5.07 0 0 0 71.18 41a5.15 5.15 0 0 0-2.06-7zM2.86 34a5.15 5.15 0 0 0-2.07 7 5.07 5.07 0 0 0 6.87 2.12c2.48-1.34 8.52-10.41 8.52-10.41S5.34 32.67 2.86 34z" fill="#269dc8" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.0.0.1"></path><path d="M16.37 36.45a19.34 19.34 0 0 0 38.69.16z" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.0.0.2"></path><path d="M25.17 52.73a11.33 11.33 0 0 1 21 .08" fill="#a75916" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.0.0.3"></path><path d="M35.66 45.78a11.35 11.35 0 0 0-10.52 7 19.44 19.44 0 0 0 10.47 3.12 19 19 0 0 0 10.5-3.06 11.21 11.21 0 0 0-10.45-7.06z" fill="#e63f23" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.0.0.4"></path><path d="M51.25 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0 1.18 1.18 0 0 1-1.06 1.71zM32 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0A1.18 1.18 0 0 1 32 30.46z" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.0.0.5"></path></svg></span><span id="reaction-label-text--lol-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-label" aria-label="Reaction type LOL," data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.1">LOL</span><span id="reaction-count-text--lol-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-count" aria-label="Total number of LOLs 5" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.2">5</span><div class="reaction-focus-line" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$1.0.3"></div></button></li><li data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--applause-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street reaction-count-text--applause-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0"><span class="gel-icon reaction-icon reaction-icon-applause" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0.0.0"><path d="M52.43 11.33l4.12-7.71a1.09 1.09 0 0 1 1.87 1.09l-4.12 7.71a1.09 1.09 0 0 1-1.87-1.09M43.75 3a1 1 0 0 1 1.79.25l1.23 5.28a1 1 0 0 1-1.89.47l-1.23-5.27a1 1 0 0 1 .1-.74M15.59 11.1l-.7-8.71a1.09 1.09 0 0 1 2.17-.09l.7 8.71a1.09 1.09 0 0 1-2.17.09M3.78 8.77A1 1 0 0 1 5.41 8l3.89 3.79A1 1 0 1 1 8 13.23L4.09 9.45a1 1 0 0 1-.31-.68" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0.0.0.0"></path><path d="M57.24 56.4c5-7.08 4.75-10.71 2.84-16.46-.37-1.12-.91-2.56-1.4-3.67a96 96 0 0 0-5.2-10.15l-3.54-7.32a4 4 0 0 0-4-2.23 3.72 3.72 0 0 0-2.6 1.36 4.29 4.29 0 0 0-.49 4.61l4 8.31L24 15.42a4 4 0 0 0-5.52 1l-.05.06c-1.55 2.09-.06 4.44.18 4.74l-4.06-2.74-.42-.28a4 4 0 0 0-5.56 1 3.86 3.86 0 0 0-.1 4.12 4.1 4.1 0 0 0 1.25 1.35L13 27.54c-1.84-1.24-4.92-1.62-6.38.54A3.86 3.86 0 0 0 7.8 33.5l5.65 4.66c-1.9-1.29-4.4-1.34-5.6.7a3.79 3.79 0 0 0 1.28 5s18.1 13.05 23.78 16.56c6.15 3.8 8.78 4.25 13.83 3.69 4.27-.47 7-2.71 10.5-7.72" fill="#9f8214" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0.0.0.1"></path><path d="M64.75 41.35c-.34-1.13-.83-2.57-1.29-3.68-1.46-3.59-8.23-17.6-8.23-17.6a4 4 0 0 0-3.92-2.32 3.72 3.72 0 0 0-2.79 1.49 4.29 4.29 0 0 0-.44 4.39l3.27 7.23a.33.33 0 0 1-.49.4L29.57 16a4 4 0 0 0-5.51.86l-.06.06a2.53 2.53 0 0 0-.65 2 2.13 2.13 0 0 0 1 1.67l.48.37L39.64 32a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11L22.64 20.63l-2.55-1.81-.34-.25a4.06 4.06 0 0 0-5.68.88 3.45 3.45 0 0 0-.16 3.79 17.84 17.84 0 0 0 2.3 2.17l2.1 1.59 18.37 13.18a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.3-.1L17.21 27.41a4 4 0 0 0-2.55-.72 3.49 3.49 0 0 0-2.72 1.45 3.83 3.83 0 0 0 1 5.42l5 3.7 14.18 10.12a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11l-14-10-.25-.19-.54-.37c-1.93-.94-3.73-.74-4.73 1s.38 4 1.1 4.51c0 0 18.53 14.21 24.09 17.86 6 3.95 8.62 4.45 13.64 4 4.25-.36 7-2.51 10.65-7.39 5.13-6.88 5.01-10.5 3.26-16.26z" fill="#ffd201" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0.0.0.2"></path></svg></span><span id="reaction-label-text--applause-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-label" aria-label="Reaction type Applause," data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0.1">Applause</span><span id="reaction-count-text--applause-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-count" aria-label="Total number of Applauses 1" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0.2">1</span><div class="reaction-focus-line" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$2.0.3"></div></button></li><li data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--inspired-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street reaction-count-text--inspired-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0"><span class="gel-icon reaction-icon reaction-icon-inspired" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0.0.0"><circle cx="36" cy="36" r="30" fill="#ffd201" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0.0.0.0"></circle><path d="M35.9 14.3a.82.82 0 0 1-.82-.82V9.7a.82.82 0 0 1 1.65 0v3.78a.82.82 0 0 1-.83.82zM61.42 36.51h-3.78a.82.82 0 0 1 0-1.65h3.78a.82.82 0 1 1 0 1.65zM14.16 36.51h-3.78a.82.82 0 1 1 0-1.65h3.78a.82.82 0 0 1 0 1.65zM51.28 20.67a.82.82 0 0 1-.58-1.4l2.67-2.67a.82.82 0 0 1 1.16 1.16l-2.67 2.67a.82.82 0 0 1-.58.24zM20.53 20.67a.82.82 0 0 1-.58-.24l-2.67-2.67a.82.82 0 1 1 1.16-1.16l2.67 2.67a.82.82 0 0 1-.58 1.4zM44 15.87a.82.82 0 0 1-.76-1.13l1.41-3.5a.82.82 0 0 1 1.53.61l-1.41 3.5a.82.82 0 0 1-.77.52zM59.57 46a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 1 1 .62-1.53l3.5 1.41a.82.82 0 0 1-.31 1.59zM15.74 28.39a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 0 1 .61-1.53L16 26.8a.82.82 0 0 1-.31 1.59zM55.91 28a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 0 1 .64 1.51l-3.48 1.48a.82.82 0 0 1-.32.07zM12.43 46.51a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 1 1 .63 1.55l-3.48 1.48a.82.82 0 0 1-.31.03zM27.39 16a.82.82 0 0 1-.76-.5l-1.48-3.48a.82.82 0 0 1 1.51-.64l1.48 3.48a.82.82 0 0 1-.75 1.14zM29.39 48.81c0-2.53-1.63-4.9-3.47-6.63a13.68 13.68 0 0 1 3.68-22.52c9.92-4.66 20.67 2.71 20.67 12.41a13.83 13.83 0 0 1-5.79 11.26 5 5 0 0 0-2.1 4.1v1.39a17 17 0 0 1-5.83 1.34 23.78 23.78 0 0 1-7.16-1.35z" fill="#fff" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0.0.0.1"></path><path d="M29.42 48.71v4.8a8.05 8.05 0 0 0 2.33 1.09l.07.18a4.09 4.09 0 1 0 8.17 0v-.06a2.42 2.42 0 0 0 .11-.29 21.91 21.91 0 0 0 2.3-.79v-5.13s-4.92 3.49-12.98.2z" fill="#d3145b" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0.0.0.2"></path></svg></span><span id="reaction-label-text--inspired-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-label" aria-label="Reaction type Got It!," data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0.1">Got It!</span><span id="reaction-count-text--inspired-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-count" aria-label="Total number of Got Its 0" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0.2">0</span><div class="reaction-focus-line" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$3.0.3"></div></button></li><li data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--omd-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street reaction-count-text--omd-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0"><span class="gel-icon reaction-icon reaction-icon-omd" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0.0"><circle cx="36" cy="36" r="30" transform="rotate(-5.1 35.96834013 36.0247667)" fill="#ffd201" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0.0.0"></circle><circle cx="25.69" cy="31.15" r="7.9" fill="#fff" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0.0.1"></circle><ellipse cx="25.73" cy="31.35" rx="3.85" ry="4.57" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0.0.2"></ellipse><circle cx="46.31" cy="31.15" r="7.9" fill="#fff" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0.0.3"></circle><ellipse cx="46.26" cy="31.35" rx="3.85" ry="4.57" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0.0.4"></ellipse><path d="M42.41 49.4c0 4.42-3 8-6.74 8s-6.74-3.58-6.74-8v-.65c.28-4.11 3.18-7.35 6.72-7.35 3.75-.01 6.76 3.6 6.76 8z" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0.0.5"></path><path d="M13.65 28c.4-6.28 7-10.64 13-9.33-5.31 2.14-10.01 4.14-13 9.33zM58.35 28c-.4-6.28-7-10.64-13-9.33 5.31 2.14 10.01 4.14 13 9.33z" fill="#9f8214" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.0.0.6"></path></svg></span><span id="reaction-label-text--omd-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-label" aria-label="Reaction type OMD," data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.1">OMD</span><span id="reaction-count-text--omd-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-count" aria-label="Total number of OMDs 1" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.2">1</span><div class="reaction-focus-line" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$4.0.3"></div></button></li><li data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--sad-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street reaction-count-text--sad-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0"><span class="gel-icon reaction-icon reaction-icon-sad" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0.0.0"><circle cx="36" cy="36" r="30" transform="rotate(-5.1 35.96834013 36.0247667)" fill="#ffd201" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0.0.0.0"></circle><path d="M15 40.42c1.16-2.66 8.18-5.59 8.18-5.59s2.59 7.17 1.42 9.79a5.26 5.26 0 0 1-9.6-4.2z" fill="#269dc8" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0.0.0.1"></path><path d="M25.81 53.82a1 1 0 0 1-.81-1.55A14.14 14.14 0 0 1 36.35 46a14.1 14.1 0 0 1 11.16 6A1 1 0 1 1 46 53.2a12 12 0 0 0-9.65-5.2 12.22 12.22 0 0 0-9.76 5.44 1 1 0 0 1-.78.38zM26.26 36A6.91 6.91 0 0 1 20 32.2a1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 26.26 36zM45.36 36a6.91 6.91 0 0 1-6.21-3.84 1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 45.36 36z" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0.0.0.2"></path></svg></span><span id="reaction-label-text--sad-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-label" aria-label="Reaction type Sad," data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0.1">Sad</span><span id="reaction-count-text--sad-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street" class="reaction-count" aria-label="Total number of Sads 3" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0.2">3</span><div class="reaction-focus-line" data-reactid=".29nwwxg3omw.0.0.0.1.0.0.0.$5.0.3"></div></button></li></div></ul><div class="reactions-tray__reactive-prompt" data-reactid=".29nwwxg3omw.0.0.0.1.0.1">Press and hold for more...</div></div></div><button class="reactions-cta" aria-pressed="false" aria-label="Reactions. Show Reactions. Total number of reactions: 17" data-reactid=".29nwwxg3omw.0.0.0.4"><div class="reactions-cta-image" data-reactid=".29nwwxg3omw.0.0.0.4.0"><span data-reactid=".29nwwxg3omw.0.0.0.4.0.0"><span class="cta-icon cta-cbbc-icon" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0"><svg viewbox="0 0 76 68" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0"><path d="M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z" fill="#e63f23" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.0"></path><path d="M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z" fill="#ee7966" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.1"></path><circle cx="20" cy="25" r="19.94" transform="rotate(-85 20.002 25.004)" fill="#efc203" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.2"></circle><path d="M6.3 17.19v-.07c.06-.24.12-.47.2-.71s.19-.45.3-.68.25-.43.39-.64a7 7 0 0 1 .47-.59 6.28 6.28 0 0 1 .54-.5 6.16 6.16 0 0 1 .59-.47 6.55 6.55 0 0 1 .64-.41 7.57 7.57 0 0 1 1.39-.61 6.4 6.4 0 0 1 .73-.2 6 6 0 0 1 .74-.13 6 6 0 0 1 .71-.08 6 6 0 0 1 .74 0c.25 0 .49 0 .73.09s.48.09.72.16.47.15.69.24c-.24 0-.48.08-.72.11l-.7.11c-.23 0-.46.08-.68.12s-.45.1-.67.14-.44.11-.65.16-.43.12-.64.19-.42.14-.63.22a6.37 6.37 0 0 0-.61.25 6.39 6.39 0 0 0-.59.28c-.2.09-.38.21-.58.31s-.37.24-.56.35-.36.26-.54.38-.34.28-.53.42-.34.3-.51.46-.32.33-.5.49-.31.35-.49.53zM35.55 22.4v-.07c-.1-.23-.19-.45-.28-.66s-.19-.43-.3-.63-.2-.41-.32-.6-.22-.39-.35-.57-.24-.37-.38-.55-.25-.36-.41-.52-.27-.34-.43-.49a6.39 6.39 0 0 0-.46-.47 6.37 6.37 0 0 0-.49-.44c-.17-.14-.33-.29-.51-.42s-.35-.28-.53-.4-.36-.27-.56-.38-.38-.25-.58-.37-.39-.25-.6-.35l-.62-.35c-.21-.11-.42-.22-.64-.35h.73c.24 0 .48.06.73.1s.48.11.72.17a7.6 7.6 0 0 1 1.38.55 6 6 0 0 1 .65.37 6.4 6.4 0 0 1 .62.44A7.57 7.57 0 0 1 34 17.46a6.55 6.55 0 0 1 .46.6 6.16 6.16 0 0 1 .39.65 6.28 6.28 0 0 1 .32.69 7 7 0 0 1 .24.72c.06.24.1.49.15.73s0 .5.05.74 0 .49-.06.74z" fill="#9f8214" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.3"></path><circle cx="13.71" cy="20.6" r="5.25" transform="rotate(-79.9 13.71 20.605)" fill="#fff" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.4"></circle><ellipse cx="13.71" cy="20.74" rx="3.04" ry="2.56" transform="rotate(-79.9 13.711 20.738)" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.5"></ellipse><circle cx="27.2" cy="23.01" r="5.25" transform="rotate(-79.9 27.2 23.006)" fill="#fff" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.6"></circle><ellipse cx="27.15" cy="23.13" rx="3.04" ry="2.56" transform="rotate(-79.9 27.15 23.127)" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.7"></ellipse><path d="M22.52 34.49c-.51 2.89-2.91 4.88-5.34 4.45s-4-3.13-3.48-6q0-.22.09-.42c.66-2.66 2.94-4.44 5.25-4s3.96 3.08 3.48 5.97z" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.8"></path><circle cx="42.08" cy="45.87" r="22.16" transform="rotate(-81.9 42.082 45.87)" fill="#ffd201" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.9"></circle><path data-name="<Path>" d="M66.62 48.07a3.8 3.8 0 0 1-4.5 6.13c-1.7-1.24-5.22-8.51-5.22-8.51s8.02 1.14 9.72 2.38zM18.06 41.1a3.79 3.79 0 1 0 2.54 7.15c2-.71 7.44-6.67 7.44-6.67s-8.04-1.19-9.98-.48z" fill="#269dc8" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.a"></path><path d="M27.82 44.39a14.18 14.18 0 0 0 28.07 4.11z" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.b"></path><path d="M32.53 57.11a8.31 8.31 0 0 1 15.21 2.22" fill="#a75916" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.c"></path><path d="M40.86 53.15a8.32 8.32 0 0 0-8.36 4 14.25 14.25 0 0 0 7.27 3.36 13.92 13.92 0 0 0 7.94-1.14 8.22 8.22 0 0 0-6.85-6.22z" fill="#e63f23" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.d"></path><path d="M53.76 43.64a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13zM39.76 41.65a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13z" fill="#2b2b2b" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.0.0.e"></path></svg></span><span class="reactions-count-container" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.1"><span class="reactions-count-container__count-text" data-reactid=".29nwwxg3omw.0.0.0.4.0.0.1.0">17</span></span></span><div class="cta-arrow-icon" data-reactid=".29nwwxg3omw.0.0.0.4.0.1"><svg height="15" width="20" viewbox="0 0 20 15" data-reactid=".29nwwxg3omw.0.0.0.4.0.1.0"><path fill="#db63d9" d="M18.5 4.7l-2.8-2.9L10 7.5 4.3 1.8 1.5 4.7l8.5 8.5z" data-reactid=".29nwwxg3omw.0.0.0.4.0.1.0.0"></path></svg></div></div></button></div></div></div></div></div></div> <div class="button-list-container button-list-container--above-description"> <ul class="button-list"><!-- --><li class="button-list__item content-item__comment-cta"> <div class=" button button--comment-count button--immersive "><!-- --><a class="button__link" href="#comments" data-stats-interaction="comments" data-stats-interaction-variant="button" data-stats-interaction-action="button"><!-- --><span class="button__inner"> <i class="button__icon-pre gelicon gelicon--comments" aria-hidden="true"></i> <span class="button__text">View comments</span> </span><!-- --></a><!-- --><span class="button__add-on-container"> <span class="button__add-on scream-street-jigsaw">3</span> </span><!-- --></div> </li><!-- --></ul> </div> <div class="content-item-description__text-container"> <a class="content-item-description__brand-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" title="Scream Street" data-stats-interaction="show_oj" data-stats-interaction-variant="text_link"> <span class="content-item-description__brand-name">All Scream Street</span> <span class="gelicon gelicon--next"></span> </a> <h1 class="content-item-description__heading"><span class="vh">Scream Street - </span>Jigsaw: Scream Street</h1> <p class="content-item-description__description">Can you piece together these spooktacular jigsaws featuring some scarily brilliant moments from Scream Street series 2? </p> </div> </div> <div class="button-list-container button-list-container--below-description"> <ul class="button-list"><!-- --><li class="button-list__item content-item__comment-cta"> <div class=" button button--comment-count button--immersive "><!-- --><a class="button__link" href="#comments" data-stats-interaction="comments" data-stats-interaction-variant="button" data-stats-interaction-action="button"><!-- --><span class="button__inner"> <i class="button__icon-pre gelicon gelicon--comments" aria-hidden="true"></i> <span class="button__text">View comments</span> </span><!-- --></a><!-- --><span class="button__add-on-container"> <span class="button__add-on scream-street-jigsaw">3</span> </span><!-- --></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>Some puzzles are&nbsp;spine-tinglingly easy and some are ghoulishly hard - can you finish them all?</p> </div> </div> </article> <section class="content-item__section content-page__section--brand-onward-journey-footer brand-onward-journey--top"> <div class="brand-journey-card"> <div class="brand-journey-card__inner"> <div class="brand-journey-card__body-container"> <div class="brand-journey-card__title-container"> <a class="brand-journey-card__title-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <h3 class="brand-journey-card__title">Scream Street</h3> </a> </div> <div class="brand-journey-card__image-container"> <a class="brand-journey-card__image-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <span class="responsive-img responsive-img--5x6 brand-journey-card__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/scream-street_onward_journey_image_bid.png" data-alt="Scream Street"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/scream-street_onward_journey_image_bid.png" alt="Scream Street"/> </noscript> </span> </a> </div> <div class="brand-journey-card__button-container"> <div class="brand-journey-card__button button button--immersive "><!-- --><a class="button__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"><!-- --><span class="button__inner"> <span class="button__text">View all</span> <i class="brand-journey-card__chevron button__icon-pre gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </div> </div> </div> </section> <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/20211103195646/https://www.bbc.co.uk/cbbc/curations/cbbc-top-picks-today" data-stats-interaction="collection" data-stats-interaction-variant="text_link"> <h3 class="carousel__title" aria-label="CBBC's Top Picks collection">CBBC&#x27;s Top Picks</h3> </a> </div> <div class="carousel__controls"> <div class="carousel__button carousel__button--prev button button--prev button--immersive "><!-- --><a class="button__link"><!-- --><span class="button__inner"> <span class="vh">previous items</span> <i class="gelicon gelicon--previous" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div><div class="carousel__button carousel__button--next button button--next button--immersive "><!-- --><a class="button__link"><!-- --><span class="button__inner"> <span class="vh">next items</span> <i class="gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> <div class="carousel__curtain carousel__curtain--right"></div> <div class="carousel__window"><!-- --><div class="carousel__panel"> <ul class="carousel__list"><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/horrible-histories-good-guys-song?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="0" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/horrible-histories-good-guys-song-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/horrible-histories-good-guys-song-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Horrible Histories Song: Good Guys"> Horrible Histories Song: Good Guys </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/dennis-and-gnasher-unleashed-leg-it-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="1" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/dennis-and-gnasher-unleashed-leg-it-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/dennis-and-gnasher-unleashed-leg-it-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Get ready to Leg It with Dennis &amp; Gnasher!"> Get ready to Leg It with Dennis &amp; Gnasher! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/lagging-wordsearch-puzzle?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="2" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-wordfinder-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-wordfinder-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you find the gaming words?"> Can you find the gaming words? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/diwali-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="3" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p0b215sd.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p0b215sd.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <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 well do you know Diwali?"> How well do you know Diwali? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/nova-jones-confidence-lyric-video?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="4" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/nova-jones-confidence-lyric-video-card.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/nova-jones-confidence-lyric-video-card.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Listen to Confidence by Nova Jones!"> Listen to Confidence by Nova Jones! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/cbbc-book-club-ask-sophie-dahl?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="5" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/CBBC-Book-Club-Sophie-Dahl-Main.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/CBBC-Book-Club-Sophie-Dahl-Main.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Have you got a question for Sophie Dahl?"> Have you got a question for Sophie Dahl? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/find-skellys-bones?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="6" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/find-skelly-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/find-skelly-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you find all of Skelly's bones?"> Can you find all of Skelly&#x27;s bones? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/59055707?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="7" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p0b1hzq2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p0b1hzq2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Watch all you need to know about COP26!"> Watch all you need to know about COP26! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/lagging-the-legend-of-the-five-kingdoms?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="8" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Lagging_Choose_your_own_Adventure_Index_Image.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Lagging_Choose_your_own_Adventure_Index_Image.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Master the Legends of the Five Kingdoms!"> Master the Legends of the Five Kingdoms! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/the-dumping-ground-series-9-whos-that?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="9" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/The-Dumping-Ground-Who-is-that-holding.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/The-Dumping-Ground-Who-is-that-holding.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quiz: The Dumping Ground: Who's that?!"> Quiz: The Dumping Ground: Who&#x27;s that?! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/novas-nova-jones-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="10" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Nova-is-best-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Nova-is-best-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Get to know-va Nova Jones with her quiz"> Get to know-va Nova Jones with her quiz </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/lagging-go-team-smorcle-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="11" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-game-GTS-index-image.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-game-GTS-index-image.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Race to the finish in Go Team SMoRCLe! "> Race to the finish in Go Team SMoRCLe! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/the-worst-witch-enchanted-stones-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="12" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/WW-Stones-Content-Card.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/WW-Stones-Content-Card.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Become a Witch in Enchanted Stones!"> Become a Witch in Enchanted Stones! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/find-skellys-bones?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="13" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/find-skelly-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/find-skelly-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you find Skelly's bones?"> Can you find Skelly&#x27;s bones? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/cleos-werewolf-story-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="14" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/what-if-we're-wolves.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/what-if-we're-wolves.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Are you cursed to be a werewolf?!"> Are you cursed to be a werewolf?! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/51318780?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="15" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p0b12gz5.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p0b12gz5.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Newsround's Quiz of the Week!"> Newsround&#x27;s Quiz of the Week! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/horrible-histories-raid-and-trade-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="16" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/horrible-histories-raid-and-trade-index-gods-2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/horrible-histories-raid-and-trade-index-gods-2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Join Thor and Loki in Raid and Trade!"> Join Thor and Loki in Raid and Trade! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/59067937?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="17" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p0b0w32l.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p0b0w32l.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Women's Footballer of the year nominees"> Women&#x27;s Footballer of the year nominees </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/jamie-johnson-football-blaster?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="18" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/JJCC.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/JJCC.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Play Jamie Johnson's Football Blaster"> Play Jamie Johnson&#x27;s Football Blaster </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/jamie-johnson-s6-sp2-trials-and-tribulations?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="19" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/jamie-johnson-s6-sp2-trials-and-tribulations-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/jamie-johnson-s6-sp2-trials-and-tribulations-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Jamie Johnson: Freddie's causing trouble!"> Jamie Johnson: Freddie&#x27;s causing trouble! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/find-skellys-bones?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="20" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/find-skelly-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/find-skelly-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you spot the bones and monsters?"> Can you spot the bones and monsters? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58985263?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="21" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p0b09jdk.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p0b09jdk.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="COP26: What does it mean?"> COP26: What does it mean? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/horrible-histories-raid-and-trade-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="22" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/horrible-histories-raid-and-trade-index-gods-2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/horrible-histories-raid-and-trade-index-gods-2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Have you built your Viking settlement?"> Have you built your Viking settlement? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/saturday-mash-up-alien-interivew-tx23?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="23" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Tom_Fletcher_AI_TX23.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Tom_Fletcher_AI_TX23.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Tom Fletcher's Alien Interview!"> Tom Fletcher&#x27;s Alien Interview! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/nova-jones-spot-the-difference?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="24" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/nova-jones-spot-the-difference-index2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/nova-jones-spot-the-difference-index2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Spot the Difference: Nova Jones"> Spot the Difference: Nova Jones </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/50434875?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="25" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p0b03q89.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p0b03q89.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Newsround's Happy News!"> Newsround&#x27;s Happy News! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/find-skellys-bones?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="26" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/find-skelly-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/find-skelly-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you find all of Skelly's bones in time?!"> Can you find all of Skelly&#x27;s bones in time?! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/bp-meets-kalvin-philips?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="27" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-kalvin-phillips-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-kalvin-phillips-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Blue Peter meets Kalvin Philips"> Blue Peter meets Kalvin Philips </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/the-next-step-take-it-to-the-streets-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="28" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/tns-take-it-to-the-streets-update-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/tns-take-it-to-the-streets-update-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Take it to the Streets with TNS!"> Take it to the Streets with TNS! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/51318780?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="29" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09zp897.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09zp897.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Newsround's Quiz of the Week!"> Newsround&#x27;s Quiz of the Week! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/cleos-werewolf-story-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="30" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/what-if-we're-wolves.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/what-if-we're-wolves.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="It's time to find out if you're a werewolf!"> It&#x27;s time to find out if you&#x27;re a werewolf! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/cbbc-hq-rhys-dancing-socks?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="31" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09zk8dz.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09zk8dz.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Design socks for Rhys to wear on Strictly!"> Design socks for Rhys to wear on Strictly! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/bp-football-world-records-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="32" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-footy-records-quiz.-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-footy-records-quiz.-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Do you know these football world records?"> Do you know these football world records? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/nova-jones-s01-sp06?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="33" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/nova-jones-sp06-index-v2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/nova-jones-sp06-index-v2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <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 Nova Jones really banning chocolate?!"> Is Nova Jones really banning chocolate?! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58991957?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="34" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09zfcxc.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09zfcxc.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Dua Lipa's team picking Eurovision entry"> Dua Lipa&#x27;s team picking Eurovision entry </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/blue-peter-hedgehog-wonderland-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="35" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/BP-hedgehog-wonderland-sneak-peek-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/BP-hedgehog-wonderland-sneak-peek-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Create your own Hedgehog Wonderland!"> Create your own Hedgehog Wonderland! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/which-scream-street-monster-are-you?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="36" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/ss-monster-quiz-1024.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/ss-monster-quiz-1024.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Which Scream Street monster are you?"> Which Scream Street monster are you? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/jamie-johnson-s6-sp1-fresh-blood?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="37" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/jamie-johnson-s6-sp1-fresh-blood-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/jamie-johnson-s6-sp1-fresh-blood-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can Alba captain Phoenix FC?"> Can Alba captain Phoenix FC? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/51047406?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="38" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09z5shr.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09z5shr.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Look out for tonight's Hunter's Moon"> Look out for tonight&#x27;s Hunter&#x27;s Moon </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/nova-jones-spot-the-difference?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="39" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Nova-spot-diff-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Nova-spot-diff-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you beat this tricky Nova quiz?!"> Can you beat this tricky Nova quiz?! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/bp-fcl-ask-tekkerz-kid-anything?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="40" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-tekkerz-kid-solicit1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-tekkerz-kid-solicit1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Ask Tekkerz Kid anything for Blue Peter"> Ask Tekkerz Kid anything for Blue Peter </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/still-so-awkward-bloopers?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="41" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/still-so-awkward-bloopers-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/still-so-awkward-bloopers-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Still So Awkward's hilarious bloopers!"> Still So Awkward&#x27;s hilarious bloopers! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58924675?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="42" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09z2ny5.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09z2ny5.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Films to watch in autumn and winter 2021"> Films to watch in autumn and winter 2021 </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/cleos-werewolf-story-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="43" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/what-if-we're-wolves.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/what-if-we're-wolves.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Have you been a werewolf all along?!"> Have you been a werewolf all along?! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/bp-what-are-you-doing-for-halloween-2021?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="44" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-halloween-solicit-21.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-halloween-solicit-21.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="What are you doing for Halloween?"> What are you doing for Halloween? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/lagging-go-team-smorcle-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="45" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-game-GTS-index-image.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-game-GTS-index-image.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Go Team Smorcle! Can you beat the levels?"> Go Team Smorcle! Can you beat the levels? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58944697?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="46" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09yzm72.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09yzm72.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="What do we know about new Doctor Who?"> What do we know about new Doctor Who? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/cbbc-book-club-lenny-henry?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="47" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lenny-henry-rhys-book-club3.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lenny-henry-rhys-book-club3.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Spider-Man and seeing yourself in stories"> Spider-Man and seeing yourself in stories </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/nova-jones-spot-the-difference?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="48" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Nova-spot-diff-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Nova-spot-diff-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Spot the Difference: Nova Jones edition!"> Spot the Difference: Nova Jones edition! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/pumpkin-maker-gallery?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="49" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Pumpkin-maker-gallery.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Pumpkin-maker-gallery.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Send us your pumpkin creations!"> Send us your pumpkin creations! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/51318780?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="50" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09yry52.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09yry52.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Newsround's Quiz of the Week!"> Newsround&#x27;s Quiz of the Week! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/nova-jones-s01-sp05?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="51" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/nova-jones-sp05-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/nova-jones-sp05-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Nova's got talent... Until it's stolen!"> Nova&#x27;s got talent... Until it&#x27;s stolen! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/lagging-superfan-quiz-s01?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="52" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-superfan-quiz-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-superfan-quiz-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Are you a Lagging superfan?"> Are you a Lagging superfan? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item carousel__item--selected"> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/scream-street-jigsaw?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card-disabled" data-stats-interaction-position="53" data-stats-interaction-action="button" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09yfhgf.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09yfhgf.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Get spooky with Scream Street's jigsaw"> Get spooky with Scream Street&#x27;s jigsaw </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58899050?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="54" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09ymq7f.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09ymq7f.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Meet some of Africa's inspiring queens!"> Meet some of Africa&#x27;s inspiring queens! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/send-us-your-stuff?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="55" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/smu_saj_con_send_us_your_stuff_TOPPICKS.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/smu_saj_con_send_us_your_stuff_TOPPICKS.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Get your stuff on the TV with Mash Up!"> Get your stuff on the TV with Mash Up! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/cbbc-hq-ask-maddie?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="56" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Ask-Maddie-Moate-Main.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Ask-Maddie-Moate-Main.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Ask Maddie a question!"> Ask Maddie a question! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/bp-all-about-bees?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="57" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-honeybee-quiz.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-honeybee-quiz.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you 'bee' the best at this quiz?"> Can you &#x27;bee&#x27; the best at this quiz? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58888461?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="58" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09yhwxr.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09yhwxr.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="What are you doing for half-term in Scotland?"> What are you doing for half-term i<span class="w320-hide w600-hide">n Scotland</span>... </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/bp-cosmo-the-satellite-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="59" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-cosmo-satellite-quiz-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-cosmo-satellite-quiz-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you get 8/8 on this satellite quiz?"> Can you get 8/8 on this satellite quiz? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/danger-mouse-super-awesome-danger-squad?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="60" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/danger-mouse-sads-update-sneak-peek-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/danger-mouse-sads-update-sneak-peek-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Prepare your Super Awesome Danger Squad!"> Prepare your Super Awesome Danger Squad! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58868254?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="61" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09ydj7m.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09ydj7m.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Who is your favourite female singer?"> Who is your favourite female singer? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/what-chocolate-bar-are-you-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="62" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/What-chocolate-bar-are-you-index-3.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/What-chocolate-bar-are-you-index-3.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="What kind of chocolate bar are you?"> What kind of chocolate bar are you? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58861681?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="63" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09y9hcm.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09y9hcm.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Strictly Come Dancing: Who left this week?"> Strictly Come Dancing: Who left this week? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/bp-competition?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="64" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09y471x.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09y471x.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Blue Peter's Awesome Orbit Competition"> Blue Peter&#x27;s Awesome Orbit Competition </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/operation-ouch-snot-defence-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="65" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/op-ouch-snot-defenders-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/op-ouch-snot-defenders-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quick Play: Operation Ouch! Snot Defence"> Quick Play: Operation Ouch! Snot Defence </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/bp-uk-black-heroes-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="66" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-uk-black-heroes-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-uk-black-heroes-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <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 did Stormzy do in his GCSEs? "> How did Stormzy do in his GCSEs? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/cbbc-hq-rhys-dancing-socks?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="67" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09y4znj.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09y4znj.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Design Rhys some Strictly socks!"> Design Rhys some Strictly socks! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58830825?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="68" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09y33ty.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09y33ty.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="What is Navratri all about?"> What is Navratri all about? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/nova-jones-s01-sp04?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="69" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/nova-jones-sp04-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/nova-jones-sp04-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Johnarcy makes Nova jealous with his song!"> Johnarcy makes Nova jealous with his song! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/51318780?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="70" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09y33q1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09y33q1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Who is headlining Glastonbury 2022?"> Who is headlining Glastonbury 2022? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/almost-never-time-to-party?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="71" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/AN-TTP-Index3.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/AN-TTP-Index3.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Time To Party with Almost Never!"> Time To Party with Almost Never! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58826726?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="72" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09xzbn4.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09xzbn4.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Could you be a poet and you didn't know it? "> Could you be a poet and you didn&#x27;t know it? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/horrible-histories-british-black-history-special?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="73" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/horrible-histories-british-black-history-special-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/horrible-histories-british-black-history-special-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Test your British black history knowledge"> Test your British black history knowledge </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/which-autumn-animal-are-you?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="74" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/barn-owl-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/barn-owl-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Which autumn animal are you?"> Which autumn animal are you? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58803425?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="75" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09xvqk4.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09xvqk4.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Try Newsround's mega space quiz!"> Try Newsround&#x27;s mega space quiz! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/lagging-superfan-quiz-s01?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="76" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-superfan-quiz-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-superfan-quiz-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you beat the Lagging Superfan quiz?"> Can you beat the Lagging Superfan quiz? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/blue-peter-rally-racing-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="77" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-rally-racing-sneak-peek-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-rally-racing-sneak-peek-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Race to victory in the Rally Racing Game"> Race to victory in the Rally Racing Game </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/lagging-superfan-quiz-s01?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="78" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-superfan-quiz-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-superfan-quiz-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Play the Lagging Superfan quiz!"> Play the Lagging Superfan quiz! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/strictly-costume-designer?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="79" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/strictly-costume-builder-2019-index.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/strictly-costume-builder-2019-index.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Build your Strictly dance costume"> Build your Strictly dance costume </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/horrible-histories-spot-the-difference-4?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="80" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/horrible-histories-std-4-holding.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/horrible-histories-std-4-holding.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Spot the difference with Horrible Histories"> Spot the difference with Horrible Histories </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/the-worst-witch-enchanted-stones-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="81" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/WW-Stones-Content-Card.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/WW-Stones-Content-Card.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Solve the mystery at Cackle's Academy!"> Solve the mystery at Cackle&#x27;s Academy! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/smu-game-wordsearch-mash-up?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="82" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/wordsearch_title_card.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/wordsearch_title_card.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you find all the Mash-Up words?"> Can you find all the Mash-Up words? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/bp-ask-tim-peake-anything?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="83" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-Tim-Peake-ame-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-Tim-Peake-ame-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Ask Tim Peake anything for Blue Peter"> Ask Tim Peake anything for Blue Peter </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/danger-mouse-crown-and-out?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="84" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/DM-Crown-and-out-index2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/DM-Crown-and-out-index2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Play Danger Mouse: Crown and Out"> Play Danger Mouse: Crown and Out </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/nova-jones-s01-sp02?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="85" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/nova-jones-sp02-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/nova-jones-sp02-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Nova Jones needs to find... The Feels"> Nova Jones needs to find... The Feels </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/blue-peter-hedgehog-wonderland-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="86" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/BP-hedgehog-wonderland-sneak-peek-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/BP-hedgehog-wonderland-sneak-peek-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="All Weekend Long: Hedgehog Wonderland"> All Weekend Long: Hedgehog Wonderland </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/novas-nova-jones-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="87" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Nova-is-best-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Nova-is-best-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Nova's quiz all about Nova Jones!"> Nova&#x27;s quiz all about Nova Jones! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/almost-never-series-three-superfan-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="88" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/AN_S3_SuperFan-Quiz-Index2.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/AN_S3_SuperFan-Quiz-Index2.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Are you an Almost Never Superfan?"> Are you an Almost Never Superfan? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/almost-never-time-to-party?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="89" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/AN-TTP-Index3.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/AN-TTP-Index3.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Feel the beat in Time to Party!"> Feel the beat in Time to Party! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/ninja-express-jigsaw?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="90" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/ninja-express-puzzle-holding.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/ninja-express-puzzle-holding.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Deliver the pieces in Ninja Express jigsaw!"> Deliver the pieces in Ninja Express jigsaw! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/operation-ouch-clonewards-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="91" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/op-ouch-clonewards-game-update-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/op-ouch-clonewards-game-update-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="All Weekend Long: Clone Wards!"> All Weekend Long: Clone Wards! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/the-next-step-takeover-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="92" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/TNS-Takeover-index3.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/TNS-Takeover-index3.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Take the Next Step to victory at Regionals!"> Take the Next Step to victory at Regionals! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/ninja-express-jigsaw?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="93" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/ninja-express-puzzle-holding.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/ninja-express-puzzle-holding.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Have you tried the Ninja Express jigsaw?"> Have you tried the Ninja Express jigsaw? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/nova-jones-who-are-you?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="94" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/nova-jones-profiles-hero.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/nova-jones-profiles-hero.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Find out your Nova Jones personality!"> Find out your Nova Jones personality! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/the-dumping-ground-series-9-whos-that?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="95" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/The-Dumping-Ground-Who-is-that-holding.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/The-Dumping-Ground-Who-is-that-holding.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <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 Dumping Ground: Who's That?! "> The Dumping Ground: Who&#x27;s That?! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/blue-peter-rally-racing-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="96" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-rally-racing-sneak-peek-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-rally-racing-sneak-peek-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Quick Play: Blue Peter's Rally Racing!"> Quick Play: Blue Peter&#x27;s Rally Racing! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/29363650?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="97" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09v5fxy.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09v5fxy.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="What is the festival of Rosh Hashanah?"> What is the festival of Rosh Hashanah? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/lagging-gamer-name-generator?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="98" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-gng-index2.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-gng-index2.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Press Start to find your Gamer name!"> Press Start to find your Gamer name! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/who-is-your-collinsville-bff?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="99" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/holly_hobbie_bff_index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/holly_hobbie_bff_index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Find out your Collinsville BFF"> Find out your Collinsville BFF </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/deadly-defenders-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="100" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/cbbc-all-games-deadly_defenders_game-deadly_defenders_game_304x171.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/cbbc-all-games-deadly_defenders_game-deadly_defenders_game_304x171.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Play it again: Deadly Defenders!"> Play it again: Deadly Defenders! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58419368?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="101" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09tys99.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09tys99.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Look at these stunning wildlife pics"> Look at these stunning wildlife pics </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/bp-irish-myths-and-legends-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="102" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-northen-ireland-quiz.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-northen-ireland-quiz.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Do you know your Irish myths and legends?"> Do you know your Irish myths and legends? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/operation-ouch-top-3-medical-bugs?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="103" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/operation-ouch-amazing-animals.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/operation-ouch-amazing-animals.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Op Ouch's top 3 amazing medical bugs!"> Op Ouch&#x27;s top 3 amazing medical bugs! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/lagging-go-team-smorcle-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="104" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-game-GTS-index-image.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-game-GTS-index-image.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <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 fast can you race home as Sol?!"> How fast can you race home as Sol?! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58392289?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="105" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09tv1qv.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09tv1qv.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Sarah Storey is GB's most successful Paralympian!"> Sarah Storey is GB&#x27;s most successf<span class="w320-hide w600-hide">ul Paralym</span>... </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/lagging-sp-s01-ep08?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="106" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/lagging-sp-ep08-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/lagging-sp-ep08-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Mo's becoming one of Sol's nightmares!"> Mo&#x27;s becoming one of Sol&#x27;s nightmares! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/weird-cat-facts-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="107" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/cat-facts-quiz-index.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/cat-facts-quiz-index.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Do you know these weird cat facts?"> Do you know these weird cat facts? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/playlist-cartoonify-your-comments?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="108" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Cartoonify_Your_Comments_Max_the_Alien_Index_Image.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Cartoonify_Your_Comments_Max_the_Alien_Index_Image.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Meet Max the Alien in new Cartoonify!"> Meet Max the Alien in new Cartoonify! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/45036551?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="109" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09s114y.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09s114y.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="World Elephant Day: Exciting elephant facts!"> World Elephant Day: Exciting elephant facts! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/operation-ouch-top-3-sick-facts?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="110" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/op-ouch-sick-facts-video.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/op-ouch-sick-facts-video.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Check out these sick facts! (Gross alert!)"> Check out these sick facts! (Gross alert!) </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/blue-peter-hedgehog-wonderland-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="111" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/BP-hedgehog-wonderland-sneak-peek-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/BP-hedgehog-wonderland-sneak-peek-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Build your perfect Hedgehog wonderland"> Build your perfect Hedgehog wonderland </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/bp-which-theme-park-ride-are-you?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="112" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-which-theme-park-ride-are-you-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-which-theme-park-ride-are-you-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Which theme park ride suits you?"> Which theme park ride suits you? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58151726?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="113" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09rx5wk.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09rx5wk.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <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 'closest thing to a real life dragon'! "> The &#x27;closest thing to a real life dragon&#x27;! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/cbbc-hq-almost-never-wrote-song?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="114" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Almost-Wrote-A-Song-Main.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Almost-Wrote-A-Song-Main.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Last day for &quot;I Almost Never Wrote a Song!&quot;"> Last day for &quot;I Almost Never Wrote a Song!&quot; </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/dagu-dennis-figure-finder?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="115" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/D-TaF-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/D-TaF-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you find all the tiny Dennises?"> Can you find all the tiny Dennises? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/the-next-step-takeover-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="116" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/TNS-Takeover-index3.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/TNS-Takeover-index3.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Become a superstar in TNS: Takeover!"> Become a superstar in TNS: Takeover! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58117855?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="117" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09rtmy1.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09rtmy1.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Check out these stellar tips for stargazing"> Check out these stellar tips for stargazing </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/smu-quiz-which-biscuit-are-you?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="118" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/smu_saj_biscuit_quiz.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/smu_saj_biscuit_quiz.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Ever wondered what biscuit you'd be?"> Ever wondered what biscuit you&#x27;d be? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/danger-mouse-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="119" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/DMUpdate7CC.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/DMUpdate7CC.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Time for a Tech-cellent adventure!"> Time for a Tech-cellent adventure! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/horrible-histories-monarchs-song-word-finder?collection=cbbc-top-picks-today" class="content-card content-card--puzzles content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="120" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/horrible-histories-monarchs-song-word-finder-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/horrible-histories-monarchs-song-word-finder-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Monday's Mind Muddler: HH Wordfinder!"> Monday&#x27;s Mind Muddler: HH Wordfinder! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/57952790?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="121" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09rqql5.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09rqql5.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="All the Olympics Team GB medal winners!"> All the Olympics Team GB medal winners! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/weird-cat-facts-quiz?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="122" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/cat-facts-quiz-index.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/cat-facts-quiz-index.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Do you think you know cats?"> Do you think you know cats? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/watch/almost-never-s3e5-does-nate-have-feelings-for-lola?collection=cbbc-top-picks-today" class="content-card content-card--watch content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="123" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/AN-S3-E5_Index-Holding.png"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/AN-S3-E5_Index-Holding.png" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--watch"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Has Nate caught feelings in Almost Never?"> Has Nate caught feelings in Almost Never? </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --><li class="carousel__item "> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/games/jamie-johnson-rise-of-the-phoenix-game?collection=cbbc-top-picks-today" class="content-card content-card--games content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="124" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="games"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/jamie-johnson-rise-of-the-phoenix-game-index.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/jamie-johnson-rise-of-the-phoenix-game-index.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--games"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="All weekend long: Rise of the Phoenix! "> All weekend long: Rise of the Phoenix! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><!-- --></ul> </div><!-- --></div> </div> </div> </div> <section class="content-item__section content-page__section--brand-onward-journey-footer brand-onward-journey--bottom"> <div class="brand-journey-card"> <div class="brand-journey-card__inner"> <div class="brand-journey-card__body-container"> <div class="brand-journey-card__title-container"> <a class="brand-journey-card__title-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <h3 class="brand-journey-card__title">Scream Street</h3> </a> </div> <div class="brand-journey-card__image-container"> <a class="brand-journey-card__image-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <span class="responsive-img responsive-img--5x6 brand-journey-card__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/scream-street_onward_journey_image_bid.png" data-alt="Scream Street"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/scream-street_onward_journey_image_bid.png" alt="Scream Street"/> </noscript> </span> </a> </div> <div class="brand-journey-card__button-container"> <div class="brand-journey-card__button button button--immersive "><!-- --><a class="button__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"><!-- --><span class="button__inner"> <span class="button__text">View all</span> <i class="brand-journey-card__chevron button__icon-pre gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </div> </div> </div> </section> </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/20211103195646/https://www.bbc.co.uk/cbbc/watch/scream-street-spookiest-bits-compilation" class="content-card content-card--watch content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="0" data-site-section="watch"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/scream-street-s2-spooky-moments-index.jpg" data-alt="Scream Street - Scream Street - Scream-iest Bits!"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/scream-street-s2-spooky-moments-index.jpg" alt="Scream Street - Scream Street - Scream-iest Bits!"/> </noscript> </span> </div> <div class="content-card__flag flag flag--auto-new flag--watch"> <span class="flag__icon"></span> <span class="flag__text">NEW!</span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Scream Street - Scream-iest Bits!"> Scream Street - Scream-iest Bits! </p> <div class="content-card__details"> <p class="content-card__subtitle content-card__subtitle--with-comments" aria-label="from Scream Street">Scream Street</p> <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">9</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">34</span> </span> </li><!-- --></ul> </div> </div> </a> </li><li class="content-list__item" data-follows-panel-item data-resource-id=""> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/puzzles/lagging-jigsaw-puzzle" class="content-card content-card--puzzles content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="1" data-site-section="puzzles"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/lagging-jigsaw-hero.jpg" data-alt="Lagging - Jigsaw: Lagging"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/lagging-jigsaw-hero.jpg" alt="Lagging - Jigsaw: Lagging"/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--puzzles"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Jigsaw: Lagging"> Jigsaw: Lagging </p> <div class="content-card__details"> <p class="content-card__subtitle content-card__subtitle--with-comments" aria-label="from Lagging">Lagging</p> <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">7</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">30</span> </span> </li><!-- --></ul> </div> </div> </a> </li><li class="content-list__item" data-follows-panel-item data-resource-id=""> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/scream-street-pumpkin-stencils-and-masks" class="content-card content-card--joinin content-card--styled content-card--animated" data-stats-interaction="oj" data-stats-interaction-variant="content_card" data-stats-interaction-position="2" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/scream_street_halloween_index_image.jpg" data-alt="Scream Street - Everything you need this Halloween!"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/scream_street_halloween_index_image.jpg" alt="Scream Street - Everything you need this Halloween!"/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Everything you need this Halloween!"> Everything you need this Halloween! </p> <div class="content-card__details"> <p class="content-card__subtitle content-card__subtitle--with-comments" aria-label="from Scream Street">Scream Street</p> <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">46</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">27</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="u677142591994812"><div class="comments-module-container comments--loading comments--no-js" data-reactid=".296it584bt8" data-react-checksum="1860784780"><div class="comments comments-theme-variant--childrens comments__product--cbbc" data-reactid=".296it584bt8.0"><span data-reactid=".296it584bt8.0.0"><div class="comments__header comments--border comments--shadow" data-reactid=".296it584bt8.0.0.0"><div class="comments__heading-wrapper" id="comments" tabindex="-1" data-reactid=".296it584bt8.0.0.0.0"><h4 class="comments__heading-module-title" data-reactid=".296it584bt8.0.0.0.0.0">Your Comments</h4><h4 class="comments__heading-title" data-reactid=".296it584bt8.0.0.0.0.1"><span class="comments__heading-title-text" data-reactid=".296it584bt8.0.0.0.0.1.0">Join the conversation</span></h4></div><noscript data-reactid=".296it584bt8.0.0.0.1"><div class="comments-no-js-message"> To use comments you will need to have JavaScript enabled. </div></noscript><div class="comments__comments-total-and-sort-area" data-reactid=".296it584bt8.0.0.0.5"><div class="comments__comments-total" data-reactid=".296it584bt8.0.0.0.5.0"><div class="comments-total" data-reactid=".296it584bt8.0.0.0.5.0.0"><span data-reactid=".296it584bt8.0.0.0.5.0.0.0">3 comments</span></div></div></div></div></span><div data-reactid=".296it584bt8.0.2"><div class="comments-body-anchor" data-reactid=".296it584bt8.0.2.0"></div><div class="comments__body" data-reactid=".296it584bt8.0.2.1"><div class="comments__show-new-comments-container" data-reactid=".296it584bt8.0.2.1.0"></div><div data-reactid=".296it584bt8.0.2.1.1"><div class="comments-list-anchor" data-reactid=".296it584bt8.0.2.1.1.0"></div><ul class="comments-list" data-reactid=".296it584bt8.0.2.1.1.1"><li class="comments-list__item" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233"><div id="comment-147694233" data-comment-index="3" class="comment comment--has-footer" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0"><div class="comment__content" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1"><div tabindex="-1" role="heading" aria-level="4" aria-labelledby="comment-title-label-147694233" class="comment__header" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0"><div class="comment__avatar" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.0"><div class="contributor-avatar" aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.0.0"><div class="contributor-avatar__letter" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.0.0.1">M</div></div></div><div class="comment__username-and-posted-date" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.1"><h4 class="comment__title" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.1.0"><div class="comment__title-wrapper" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.1.0.0"><span id="comment-title-label-147694233" class="comment__hidden-text" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.1.0.0.0">Comment posted by Mila, at 11:30 30 Oct</span><span aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.1.0.0.1"></span><span aria-hidden="true" title="Mila" class="username comment__username" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.1.0.0.2">Mila</span></div></h4><div data-time="2021-10-30T11:30:17+01:00" class="posted-date comment__posted-date" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.1.3"><span aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.0.1.3.0">11:30 30 Oct</span></div></div></div><div class="comment__body" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.1"><div class="comment__text" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.1.0">this is so hard😐</div></div><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3"><div class="comment__footer" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0"><div class="comment__toolbar" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1"><div id="reply" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.0"><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.0.$stats-comments-input-147694233-1"></div></div><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1"><div class="comment__ratings" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0"><div class="comment-rating" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment. Number of likes: 0" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0.0.1.0.0"><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)" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0.0.1.0.1"><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)" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.2"><div class="more-icon-vertical" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.2.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.2.0.0"><rect x="12" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.2.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.2.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.0.1.1.2.0.0.2"></rect></svg></div></button></div></div></div><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147694233.0.1.3.1"></div></div></div></div></li><li class="comments-list__item" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037"><div id="comment-147687037" data-comment-index="2" class="comment comment--has-footer" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0"><div class="comment__content" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1"><div tabindex="-1" role="heading" aria-level="4" aria-labelledby="comment-title-label-147687037" class="comment__header" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0"><div class="comment__avatar" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.0"><div class="contributor-avatar" aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.0.0"><div class="contributor-avatar__letter" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.0.0.1">R</div></div></div><div class="comment__username-and-posted-date" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.1"><h4 class="comment__title" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.1.0"><div class="comment__title-wrapper" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.1.0.0"><span id="comment-title-label-147687037" class="comment__hidden-text" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.1.0.0.0">Comment posted by Rose, at 14:22 29 Oct</span><span aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.1.0.0.1"></span><span aria-hidden="true" title="Rose" class="username comment__username" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.1.0.0.2">Rose</span></div></h4><div data-time="2021-10-29T14:22:08+01:00" class="posted-date comment__posted-date" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.1.3"><span aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.0.1.3.0">14:22 29 Oct</span></div></div></div><div class="comment__body" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.1"><div class="comment__text" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.1.0">U to<br/>Also the new series is so funny 😂😂😂😂😂😂</div></div><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3"><div class="comment__footer" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0"><div class="comment__toolbar" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1"><div id="reply" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.0"><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.0.$stats-comments-input-147687037-1"></div></div><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1"><div class="comment__ratings" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0"><div class="comment-rating" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment. Number of likes: 0" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0.0.1.0.0"><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)" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0.0.1.0.1"><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)" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.2"><div class="more-icon-vertical" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.2.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.2.0.0"><rect x="12" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.2.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.2.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.0.1.1.2.0.0.2"></rect></svg></div></button></div></div></div><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147687037.0.1.3.1"></div></div></div></div></li><li class="comments-list__item" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312"><div id="comment-147593312" data-comment-index="1" class="comment comment--has-footer" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0"><div class="comment__content" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1"><div tabindex="-1" role="heading" aria-level="4" aria-labelledby="comment-title-label-147593312" class="comment__header" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0"><div class="comment__avatar" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.0"><div class="contributor-avatar" aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.0.0"><div class="contributor-avatar__letter" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.0.0.1">S</div></div></div><div class="comment__username-and-posted-date" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.1"><h4 class="comment__title" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.1.0"><div class="comment__title-wrapper" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.1.0.0"><span id="comment-title-label-147593312" class="comment__hidden-text" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.1.0.0.0">Comment posted by sleepycat, at 11:47 25 Oct</span><span aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.1.0.0.1"></span><span aria-hidden="true" title="sleepycat" class="username comment__username" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.1.0.0.2">sleepycat</span></div></h4><div data-time="2021-10-25T11:47:51+01:00" class="posted-date comment__posted-date" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.1.3"><span aria-hidden="true" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.0.1.3.0">11:47 25 Oct</span></div></div></div><div class="comment__body" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.1"><div class="comment__text" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.1.0">Happy Halloween evreyone🎃🎃🎃[Edited By Moderator]</div></div><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3"><div class="comment__footer" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0"><div class="comment__toolbar" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1"><div id="reply" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.0"><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.0.$stats-comments-input-147593312-1"></div></div><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1"><div class="comment__ratings" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0"><div class="comment-rating" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment. Number of likes: 1" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0.0.0">1</div><div class="comment-rating__button-icon" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0.0.1.0.0"><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)" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0.0.1.0.1"><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)" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.2"><div class="more-icon-vertical" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.2.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.2.0.0"><rect x="12" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.2.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.2.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.0.1.1.2.0.0.2"></rect></svg></div></button></div></div></div><div data-reactid=".296it584bt8.0.2.1.1.1.$=1$comment_147593312.0.1.3.1"></div></div></div></div></li></ul></div></div></div><div class="comments__footer" data-reactid=".296it584bt8.0.3"><div data-reactid=".296it584bt8.0.3.3"><span data-reactid=".296it584bt8.0.3.3.$back-to-top-1"><button class="comments__back-to-top-link" data-reactid=".296it584bt8.0.3.3.$back-to-top-1.0"><span data-reactid=".296it584bt8.0.3.3.$back-to-top-1.0.0">Back to top</span><span class="to-top-icon" aria-hidden="true" data-reactid=".296it584bt8.0.3.3.$back-to-top-1.0.1"><svg height="14" width="14" viewbox="0 0 32 32" data-reactid=".296it584bt8.0.3.3.$back-to-top-1.0.1.0"><rect y="2" width="32" height="3" data-reactid=".296it584bt8.0.3.3.$back-to-top-1.0.1.0.0"></rect><polygon points="16 5 32 30 23.8 30 16 16.7 8.2 30 0 30 16 5" data-reactid=".296it584bt8.0.3.3.$back-to-top-1.0.1.0.1"></polygon></svg></span></button></span></div><span class="comment__hidden-text" data-reactid=".296it584bt8.0.3.4"><div class="comments__a11y-message comment__hidden-text" aria-live="assertive" aria-atomic="true" data-reactid=".296it584bt8.0.3.4.0"></div></span><span class="comment__hidden-text" data-reactid=".296it584bt8.0.3.5"><div class="comments__a11y-message comment__hidden-text" aria-live="polite" aria-atomic="true" data-reactid=".296it584bt8.0.3.5.0"></div></span></div></div><span id="comments-view-version" aria-hidden="true" style="display:none !important;" data-reactid=".296it584bt8.2">3.67.1</span></div></div></div> </div> </div><!-- --><div class="content-page__column content-page__column--side"> <section class="content-page__section--brand-onward-journey brand-onward-journey--top"> <div class="brand-journey-card"> <div class="brand-journey-card__inner"> <div class="brand-journey-card__body-container"> <div class="brand-journey-card__title-container"> <a class="brand-journey-card__title-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <h3 class="brand-journey-card__title">Scream Street</h3> </a> </div> <div class="brand-journey-card__image-container"> <a class="brand-journey-card__image-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <span class="responsive-img responsive-img--5x6 brand-journey-card__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/scream-street_onward_journey_image_bid.png" data-alt="Scream Street"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/scream-street_onward_journey_image_bid.png" alt="Scream Street"/> </noscript> </span> </a> </div> <div class="brand-journey-card__button-container"> <div class="brand-journey-card__button button button--immersive "><!-- --><a class="button__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"><!-- --><span class="button__inner"> <span class="button__text">View all</span> <i class="brand-journey-card__chevron button__icon-pre gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </div> </div> </div> </section> <div class="collection-list"> <div class="collection-list__title-container"> <a class="collection-list__title-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/curations/cbbc-top-picks-today" data-stats-interaction="collection" data-stats-interaction-variant="text_link"> <h3 class="collection-list__title" aria-label="CBBC's Top Picks collection">CBBC&#x27;s Top Picks</h3> </a> </div> <ul class="collection-list__items"> <li class="collection-list__item"> <a href="/web/20211103195646/https://www.bbc.co.uk/newsround/58899050?collection=cbbc-top-picks-today" class="content-card content-card--newsround content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="0" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="newsround"> <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/20211103195646/https://ichef.bbci.co.uk/images/ic/{width}xn/p09ymq7f.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/images/ic/400xn/p09ymq7f.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--newsround"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Meet some of Africa's inspiring queens!"> Meet some of Africa&#x27;s inspiring queens! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/send-us-your-stuff?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="1" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/smu_saj_con_send_us_your_stuff_TOPPICKS.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/smu_saj_con_send_us_your_stuff_TOPPICKS.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Get your stuff on the TV with Mash Up!"> Get your stuff on the TV with Mash Up! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/joinin/cbbc-hq-ask-maddie?collection=cbbc-top-picks-today" class="content-card content-card--joinin content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="2" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="joinin"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/Ask-Maddie-Moate-Main.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/Ask-Maddie-Moate-Main.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--joinin"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Ask Maddie a question!"> Ask Maddie a question! </p> <div class="content-card__details"> <ul class="content-card__counts"><!-- --></ul> </div> </div> </a> </li><li class="collection-list__item"> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/quizzes/bp-all-about-bees?collection=cbbc-top-picks-today" class="content-card content-card--quizzes content-card--minimal" data-stats-interaction="collection" data-stats-interaction-variant="content_card" data-stats-interaction-position="3" data-stats-internal-link-location="cbbc-top-picks-today" data-site-section="quizzes"> <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/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/{width}xn/amz/cbbc/bp-honeybee-quiz.jpg"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/400xn/amz/cbbc/bp-honeybee-quiz.jpg" alt=""/> </noscript> </span> </div> <div class="content-card__flag flag flag--icon flag--quizzes"> <span class="flag__icon"></span> <span class="flag__text"></span> </div> </div><!-- --><div class="content-card__info"> <p class="content-card__title" aria-label="Can you 'bee' the best at this quiz?"> Can you &#x27;bee&#x27; the best at this quiz? </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/20211103195646/https://www.bbc.co.uk/cbbc/curations/cbbc-top-picks-today" 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> <section class="content-page__section--brand-onward-journey brand-onward-journey--bottom"> <div class="brand-journey-card"> <div class="brand-journey-card__inner"> <div class="brand-journey-card__body-container"> <div class="brand-journey-card__title-container"> <a class="brand-journey-card__title-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <h3 class="brand-journey-card__title">Scream Street</h3> </a> </div> <div class="brand-journey-card__image-container"> <a class="brand-journey-card__image-link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <span class="responsive-img responsive-img--5x6 brand-journey-card__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/scream-street_onward_journey_image_bid.png" data-alt="Scream Street"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/scream-street_onward_journey_image_bid.png" alt="Scream Street"/> </noscript> </span> </a> </div> <div class="brand-journey-card__button-container"> <div class="brand-journey-card__button button button--immersive "><!-- --><a class="button__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"><!-- --><span class="button__inner"> <span class="button__text">View all</span> <i class="brand-journey-card__chevron button__icon-pre gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </div> </div> </div> </section> </div> </div> </div> <section class="content-page__section content-page__section--brandcards"> <a href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/scream-street" class="brandcard" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"><!-- --><div class="brandcard__inner"><!-- --><div class="brandcard__image-container"> <div class="brandcard__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/scream-street_onward_journey_image_bid.png" data-alt="Scream Street"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/scream-street_onward_journey_image_bid.png" alt="Scream Street"/> </noscript> </span> </div> </div><!-- --><div class="brandcard__text"> <span class="brandcard__text-inner"> <span class="brandcard__brand-prefix">All</span> <span class="brandcard__brand-name-container"> <span class="brandcard__brand-name">Scream Street <span class="brandcard__link-icon gelicon gelicon--next"></span></span> </span> </span> </div><!-- --></div><!-- --></a> </section> <section class="brand-shelf-section"> <p class="brand-shelf__title window window--extra-wide grid-container" hidden></p> <div class="brand-shelf-container window window--extra-wide"> <div id="brand-shelf" data-simple-carousel class="brand-shelf simple-carousel"> <div class="brand-shelf__main"> <div class="simple-carousel__controls"> <div class="brand-shelf__curtain brand-shelf__curtain--left"></div> <div class="brand-shelf__curtain brand-shelf__curtain--right"></div> <button class="brand-shelf__button brand-shelf__button--prev simple-carousel__button--prev"> <span class="vh">Previous items</span> <i class="gelicon gelicon--previous" aria-hidden="true"></i> </button> <button class="brand-shelf__button brand-shelf__button--next simple-carousel__button--next"> <span class="vh">Next items</span> <i class="gelicon gelicon--next" aria-hidden="true"></i> </button> </div> <div class="simple-carousel__window brand-shelf__window"> <div class="simple-carousel__panel"> <ul class="brand-shelf__list"><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/the-next-step" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="0"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/the_next_step_s7_a_z_index.png" data-alt="The Next Step Dancers smiling, two stood back to back (Kingston and Summer)."></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/the_next_step_s7_a_z_index.png" alt="The Next Step Dancers smiling, two stood back to back (Kingston and Summer)."/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/horrible-histories" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="1"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/horrible-histories-2019-az.png" data-alt="Henry VII and the Horrible Histories logo."></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/horrible-histories-2019-az.png" alt="Henry VII and the Horrible Histories logo."/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/danger-mouse" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="2"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/dm-title_az_image_bid.png" data-alt="Danger Mouse"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/dm-title_az_image_bid.png" alt="Danger Mouse"/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/nova-jones" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="3"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/BSP_a_z_index_Nova-Jones_template.png" data-alt="Picture of Nova Jones and her crew, Sid and Mac."></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/BSP_a_z_index_Nova-Jones_template.png" alt="Picture of Nova Jones and her crew, Sid and Mac."/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/blue-peter" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="4"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/BP_az_index_brandpage.png" data-alt="The blue Peter presenters: Adam, Mwaksy, Richie and Henry, the Blue Peter dog."></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/BP_az_index_brandpage.png" alt="The blue Peter presenters: Adam, Mwaksy, Richie and Henry, the Blue Peter dog."/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows/operation-ouch" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="5"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/operation_ouch_s7_a_z_index.png" data-alt="Three doctors in different colour scrubs hugging each other, Dr Chris, Dr Xand and Dr Ronx from Operation Ouch."></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/operation_ouch_s7_a_z_index.png" alt="Three doctors in different colour scrubs hugging each other, Dr Chris, Dr Xand and Dr Ronx from Operation Ouch."/> </noscript> </span> </a> </li><!-- --></ul> </div> </div> </div> </div> <div class="brand-shelf__all-shows-link button button--center button--shows "><!-- --><a class="button__link" href="/web/20211103195646/https://www.bbc.co.uk/cbbc/shows" data-stats-interaction="brand_shelf" data-stats-interaction-variant="all_shows"><!-- --><span class="button__inner"> <span class="button__text">All shows</span> <i class="button__icon-gel gelicon gelicon--next gelicon--trailing" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </section> <section class="channel-banner-section" data-channel-banner data-channel-banner-enable-close-persist="true" data-ng-class="{'channel-banner-section--hide' : isChannelBannerHidden}"> <script> (function () { var cookieCheckingEnabled = true; var channelBannerSection = document.querySelector(".channel-banner-section"); function hideChannelBannerIfCookieIsSet() { var channelBannerCookieName = 'ckps_cbbc_channel_banner_hidden'; var hideCookieIsSet = document.cookie.indexOf(" " + channelBannerCookieName + "=true") > 0; if (hideCookieIsSet) { channelBannerSection.className += ' channel-banner-section--hide'; } } function showCloseButtonIfCookiesAreAllowed() { var cookiePolicy = window.bbccookies.readPolicy(); var personalisationAllowed = cookiePolicy.personalisation; if (personalisationAllowed) { showCloseButton(); } } function showCloseButton() { channelBannerSection.className += ' channel-banner-section--show-close'; } if (cookieCheckingEnabled) { hideChannelBannerIfCookieIsSet(); showCloseButtonIfCookiesAreAllowed(); } else { showCloseButton(); } })() </script> <div class="channel-banner-section__inner window window--extra-wide"> <div class="channel-banner"> <div class="channel-banner__inner"> <div class="channel-banner__title-bar"> <a class="channel-banner__logo" href="/web/20211103195646/https://www.bbc.co.uk/cbeebies" data-istats-click="cross_channel_logo" data-stats-interaction="channel_banner" data-stats-interaction-variant="logo"> <img class="channel-banner__logo-image" alt="CBeebies logo" src="https://web.archive.org/web/20211103195646im_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/images/channel-banner/logo.png"/> </a> <span class="channel-banner__title">Looking for CBeebies shows?</span> </div> <div class="channel-banner__main"> <ul class="channel-banner__list"> <li class="channel-banner__list-item"> <a class="channel-banner__link channel-banner-link" href="/web/20211103195646/https://www.bbc.co.uk/cbeebies/shows/molly-and-mack" data-stats-interaction="channel_banner" data-stats-interaction-variant="show" data-stats-interaction-position="0"> <span class="channel-banner-link__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/molly-and-mack-cross-channel-banner.png" data-alt="Molly and Mack on a red background. "></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/molly-and-mack-cross-channel-banner.png" alt="Molly and Mack on a red background. "/> </noscript> </span> </span><!-- --> </a> </li><li class="channel-banner__list-item"> <a class="channel-banner__link channel-banner-link" href="/web/20211103195646/https://www.bbc.co.uk/cbeebies/shows/octonauts" data-stats-interaction="channel_banner" data-stats-interaction-variant="show" data-stats-interaction-position="1"> <span class="channel-banner-link__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/octonauts-brand-index.png" data-alt="Octonauts"></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/octonauts-brand-index.png" alt="Octonauts"/> </noscript> </span> </span><!-- --><span class="channel-banner-link__title"></span><!-- --> </a> </li><li class="channel-banner__list-item"> <a class="channel-banner__link channel-banner-link" href="/web/20211103195646/https://www.bbc.co.uk/cbeebies/shows/peter-rabbit" data-stats-interaction="channel_banner" data-stats-interaction-variant="show" data-stats-interaction-position="2"> <span class="channel-banner-link__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/peter-rabbit-brand-index.png" data-alt="Peter Rabbit."></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/peter-rabbit-brand-index.png" alt="Peter Rabbit."/> </noscript> </span> </span><!-- --> </a> </li><li class="channel-banner__list-item"> <a class="channel-banner__link channel-banner-link" href="/web/20211103195646/https://www.bbc.co.uk/cbeebies/shows/andys-aquatic-adventures" data-stats-interaction="channel_banner" data-stats-interaction-variant="show" data-stats-interaction-position="3"> <span class="channel-banner-link__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/andys-aquatic-adventures-crossover-banner.png" data-alt="Andy is in his scuba gear ready for an aquatic adventure. "></span> <noscript> <img src="https://web.archive.org/web/20211103195646im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/andys-aquatic-adventures-crossover-banner.png" alt="Andy is in his scuba gear ready for an aquatic adventure. "/> </noscript> </span> </span><!-- --> </a> </li> </ul> <div class="channel-banner__footer"> <a class="channel-banner-close" data-stats-interaction="channel_banner" data-stats-interaction-variant="close" data-stats-interaction-action="button" data-channel-banner-close data-feedback-banner-open> <i aria-hidden="true" class="gelicon gelicon--no gelicon--leading"></i><span class="channel-banner-close__text">No thanks</span> </a> <span class="channel-banner__title">Looking for CBeebies shows?</span> </div> </div> </div> </div> </div> </section> <section class="feedback-banner-section" data-feedback-banner data-ng-class="{'feedback-banner-section--show' : !isFeedbackBannerHidden}"> <div class="feedback-banner-container window window--extra-wide"> <div class="feedback-banner"> <span class="feedback-banner__close" data-feedback-banner-close data-stats-interaction="channel_banner" data-stats-interaction-variant="hide" data-stats-interaction-action="button" data-istats-click="cross_channel_hide"> <i aria-hidden="true" class="gelicon gelicon--no"></i> </span> <p class="feedback-banner__message">We’ll hide these CBeebies shows for 30 Days.</p> <p class="feedback-banner__undo"><a class="feedback-banner__undo-link" data-feedback-banner-close data-channel-banner-open data-stats-interaction="channel_banner" data-stats-interaction-variant="undo" data-stats-interaction-action="button" data-istats-click="cross_channel_undo">Bring them back!</a></p> <p class="feedback-banner__question">Why did you hide them?</p> <ul class="feedback-banner__options"> <li class="feedback-banner__option" data-feedback-banner-close data-stats-interaction="channel_banner" data-stats-interaction-variant="feedback" data-stats-interaction-position="0" data-stats-interaction-action="button" data-istats-pos="0" data-istats-click="cross_channel_feedback"> <span>I don&#x27;t like those shows</span> </li> <li class="feedback-banner__option" data-feedback-banner-close data-stats-interaction="channel_banner" data-stats-interaction-variant="feedback" data-stats-interaction-position="1" data-stats-interaction-action="button" data-istats-pos="1" data-istats-click="cross_channel_feedback"> <span>I&#x27;m too old for CBeebies</span> </li> </ul> <div class="feedback-banner__image"> <img class="feedback-banner__image-inner" src="https://web.archive.org/web/20211103195646im_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/997c420/images/feedback/feedbackImage.png" alt=""/> </div> </div> </div> </section> </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-debouncer@1.0.1"]={morph:"3.4.0"},function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){Morph.modules["bbc-morph-debouncer@1.0.1"]=t(1)},function(e,n,t){var o=t(2);e.exports=function(){function e(e,n){window.addEventListener?window.addEventListener(e,n,!1):document.documentElement.attachEvent("onpropertychange",function(t){t.propertyName===e&&n()})}function n(e){var n;document.createEvent?(n=document.createEvent("UIEvents"),n.initEvent(e,!1,!0),window.dispatchEvent(n)):(n=document.documentElement[e],n+=1)}function t(e){return setTimeout(function(){n(e+"-debounced")},i)}var r,c,i=50;o.isClientSide()&&(e("resize",function(){clearTimeout(r),r=t("resize")}),e("scroll",function(){clearTimeout(c),c=t("scroll")}))}()},function(e,n){e.exports=Morph}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-responsive-image@1.3.1"]={"bbc-morph-debouncer":"1.0.1",morph:"3.5.0",react:"0.14.7"},function(t){function e(r){if(i[r])return i[r].exports;var s=i[r]={exports:{},id:r,loaded:!1};return t[r].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var i={};e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){Morph.modules["bbc-morph-responsive-image@1.3.1"]=i(1)},function(t,e,i){i(2);var r=i(3),s=[64,80,96,128,160,240,320,400,480,512,624,704,800,912,960,1024,1056,1104,1152,1200,1248,1440,1600,1680];t.exports=r.createClass({displayName:"ResponsiveImage",propTypes:{src:r.PropTypes.string.isRequired,alt:r.PropTypes.string,className:r.PropTypes.string,width:r.PropTypes.number,availableWidths:r.PropTypes.arrayOf(r.PropTypes.number),delayed:r.PropTypes.bool,keepAspectRatio:r.PropTypes.string,aspectRatioStartPoint:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.bool])},getDefaultProps:function(){return{width:320,height:180,delayed:!1,background:!1,aspectRatioStartPoint:!1}},getInitialState:function(){var t=this.getClosestGreaterWidth(this.props.width);return{delayed:this.props.delayed,width:t,height:this.calcHeight(this.props.width),background:this.props.background,ratioStartPoint:this.isWidthAboveRatioStartPoint(t)}},componentWillUnmount:function(){window.removeEventListener&&(window.removeEventListener("resize-debounced",this.state.resizeHandler),window.removeEventListener("orientationchange",this.state.resizeHandler),this.props.triggerResizeOnClick&&window.removeEventListener("click",this.state.resizeHandler))},componentDidMount:function(){var t=function(){var t=this.getClosestGreaterWidth(this.node.parentNode.clientWidth);this.setState({width:t,height:this.calcHeight(t)})}.bind(this);window.addEventListener&&(window.addEventListener("resize-debounced",t),window.addEventListener("orientationchange",t),this.props.triggerResizeOnClick&&window.addEventListener("click",t));var e=this.getClosestGreaterWidth(this.node.parentNode.clientWidth),i=this.calcHeight(e);this.setState({delayed:!1,width:e,height:i,resizeHandler:t})},hdpiEnabled:function(){return this.props.hasOwnProperty("hidpi")&&!0===this.props.hidpi&&window.devicePixelRatio>1},defaultInterpolator:function(t,e){var i="";return this.hdpiEnabled()&&(i="-hidpi"),t.replace(/{width}/g,e+i)},interpolate:function(t,e){return this.props.customInterpolator?this.props.customInterpolator(t,e):this.defaultInterpolator(t,e)},getClosestGreaterWidth:function(t){for(var e=this.props.availableWidths||s,i=0;i<e.length;i+=1){var r=e[i];if(r>=t)return r}return e[e.length-1]},calcHeight:function(t){var e=this.getRatio(this.props.keepAspectRatio);return Math.floor(t/e)},getRatio:function(t){var e=1;if("string"==typeof t){var i=/^(\d{1,2})\:(\d{1,2})/g,r=i.exec(t);r.length>0&&(e=r[1]/r[2])}return e},isWidthAboveRatioStartPoint:function(t){return"string"==typeof this.props.keepAspectRatio&&("number"==typeof this.props.aspectRatioStartPoint&&this.props.aspectRatioStartPoint<t||!1===this.props.aspectRatioStartPoint)},setNode:function(t){this.node=t},render:function(){var t,e,i,s=this.state.width;return i=this.isWidthAboveRatioStartPoint(s)?{maxHeight:this.state.height}:{},this.state.delayed?e=r.createElement("img",{ref:this.setNode,src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}):this.state.background?(t={backgroundImage:"url("+this.interpolate(this.props.src,this.state.width)+")"},e=r.createElement("div",{ref:this.setNode,style:t,className:this.props.className})):e=r.createElement("img",{ref:this.setNode,src:this.interpolate(this.props.src,this.state.width),alt:this.props.alt,className:this.props.className,style:i}),e}})},function(t,e){t.exports=Morph.modules["bbc-morph-debouncer@1.0.1"]},function(t,e){t.exports=React}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-games-rotate-view@1.1.6"]={"@babel/polyfill":"7.10.4","@babel/runtime":"7.11.1","morph-static-prefix":"3.0.0","react":"0.14.7"}; !function(e){function t(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t,r){var a=r(16);a(a.S+a.F*!r(5),"Object",{defineProperty:r(11).f})},function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r},function(e,t){e.exports=React},function(e,t,r){"use strict";r(0);var a=r(1);r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(2)),c=n.default.createClass({displayName:"Games-Rotate-Loading-Spinner",render:function(){var e={version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink",className:"absolute-center cage-rotate-screen__icon",viewBox:"0 0 500 500",x:0,y:0,xmlSpace:"preserve"};return n.default.createElement("svg",e,n.default.createElement("path",{className:"cage-rotate-screen__path",d:"M389.4,186.2L389.4,186.2c-35.3-64.1-115.7-87.3-179.7-52c-1.2,0.7-2.4,1.4-3.6,2.1 c-0.5,0.3-0.9,0.5-1.4,0.8c-1.5,0.9-2.9,1.8-4.4,2.8c-0.4,0.2-0.7,0.5-1.1,0.7c-1.5,1-3,2.1-4.4,3.1c-0.3,0.2-0.5,0.4-0.8,0.6 c-1.5,1.1-3,2.3-4.4,3.5c-0.2,0.2-0.3,0.3-0.5,0.4c-1.5,1.2-3,2.5-4.4,3.8c-0.1,0.1-0.2,0.2-0.3,0.3c-1.5,1.3-2.9,2.7-4.3,4.1 c-0.1,0.1-0.3,0.3-0.4,0.4c-1.4,1.4-2.7,2.8-4,4.2c-15.2,16.7-26.2,37.4-31.2,60.3l-21.7-39.3L94,198l32,58l16,29l3.7-2.1 l25.1-13.9l5.1-2.8l52.9-29.1l-16-28.9l-35.7,19.7c2.3-9.9,6.1-19.5,11.3-28.3c0,0,0,0,0-0.1c0.7-1.1,1.4-2.2,2.1-3.4 c0.3-0.5,0.6-1,1-1.5c0.3-0.4,0.6-0.8,0.9-1.3c10.1-14.5,24-26.1,40.3-33.6c0.1,0,0.1,0,0.2-0.1c1.3-0.6,2.6-1.2,4-1.7 c0.1,0,0.2-0.1,0.4-0.1c1.3-0.5,2.7-1,4-1.5c0.1,0,0.2-0.1,0.3-0.1c1.4-0.5,2.8-0.9,4.2-1.3c0,0,0.1,0,0.1,0c8.8-2.6,18.2-4,27.8-4 c27.5,0,54.4,11.5,73.4,32.4c0,0.1,0,0.1,0,0.2c16.1,17.6,25.9,40.9,25.9,66.6c0,11.2-1.9,21.9-5.3,31.9c-0.1,0-0.1,0-0.2,0.1 c-7.6,22.6-23.4,42.4-45.8,54.8c-15.2,8.4-31.6,12.3-47.8,12.3v33.1c21.6,0,43.6-5.2,63.8-16.4c11-6.1,20.8-13.5,29.3-22 C391,319.9,406,286.7,406,250C406,226.9,399.9,205.1,389.4,186.2"}))}}),o=c;t.default=o,e.exports=t.default},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){e.exports=!r(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(){return"//"+Morph.config.cdn+"/modules/bbc-morph-games-rotate-view/1.1.6"}},function(e,t){var r=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var a=r(11),n=r(21);e.exports=r(5)?function(e,t,r){return a.f(e,t,n(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var a=r(17),n=r(18),c=r(20),o=Object.defineProperty;t.f=r(5)?Object.defineProperty:function(e,t,r){if(a(e),t=c(t,!0),a(r),n)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(14),n=r.n(a);Morph.modules["bbc-morph-games-rotate-view@1.1.6"]=n.a},function(e,t,r){"use strict";e.exports=r(15)},function(e,t,r){"use strict";(function(a){r(0);var n=r(30),c=r(1);r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(r(2)),s=c(r(32)),i=c(r(33)),u=c(r(34)),l=c(r(35)),f=c(r(36)),d=c(r(37)),p=n(r(38)),m=o.default.createClass({displayName:"Games-Rotate",getInitialState:function(){return{isPortrait:!1}},componentDidMount:function(){var e=this;this.showRotateIfPortrait(),a.window.addEventListener("orientationchange",this.showRotateIfPortrait,!1),p.setupViewportHeightEventListener(function(){return e.forceUpdate()})},componentWillUnmount:function(){a.window.removeEventListener("orientationchange",this.showRotateIfPortrait,!1),p.removeViewportHeightEventListener()},showRotateIfPortrait:function(){this.setState({isPortrait:Boolean(0===a.window.orientation||180===a.window.orientation)})},renderRotateScreen:function(){var e={viewportStyle:p.getStyle()},t={cbbc:function(){return o.default.createElement(i.default,e)},cbeebies:function(){return o.default.createElement(u.default,e)},bitesize:function(){return o.default.createElement(s.default,e)},default:function(){return o.default.createElement(l.default,e)},food:function(){return o.default.createElement(f.default,e)},sport:function(){return o.default.createElement(d.default,e)}};return this.props.product&&t[this.props.product]?t[this.props.product]():t.default()},render:function(){return!("false"===this.props.showRotate||!1===this.props.showRotate)&&this.state.isPortrait&&this.renderRotateScreen()}});m.propTypes={showRotate:o.default.PropTypes.oneOfType([o.default.PropTypes.string,o.default.PropTypes.bool]),product:o.default.PropTypes.string};var g=m;t.default=g,e.exports=t.default}).call(t,r(9))},function(e,t,r){var a=r(4),n=r(7),c=r(10),o=r(22),s=r(28),i=function(e,t,r){var u,l,f,d,p=e&i.F,m=e&i.G,g=e&i.S,v=e&i.P,b=e&i.B,_=m?a:g?a[t]||(a[t]={}):(a[t]||{}).prototype,y=m?n:n[t]||(n[t]={}),h=y.prototype||(y.prototype={});m&&(r=t);for(u in r)l=!p&&_&&void 0!==_[u],f=(l?_:r)[u],d=b&&l?s(f,a):v&&"function"==typeof f?s(Function.call,f):f,_&&o(_,u,f,e&i.U),y[u]!=f&&c(y,u,d),v&&h[u]!=f&&(h[u]=f)};a.core=n,i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,e.exports=i},function(e,t,r){var a=r(8);e.exports=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){e.exports=!r(5)&&!r(12)(function(){return 7!=Object.defineProperty(r(19)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var a=r(8),n=r(4).document,c=a(n)&&a(n.createElement);e.exports=function(e){return c?n.createElement(e):{}}},function(e,t,r){var a=r(8);e.exports=function(e,t){if(!a(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!a(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!a(n=r.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,r){var a=r(4),n=r(10),c=r(23),o=r(24)("src"),s=r(25),i=(""+s).split("toString");r(7).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var u="function"==typeof r;u&&(c(r,"name")||n(r,"name",t)),e[t]!==r&&(u&&(c(r,o)||n(r,o,e[t]?""+e[t]:i.join(String(t)))),e===a?e[t]=r:s?e[t]?e[t]=r:n(e,t,r):(delete e[t],n(e,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||s.call(this)})},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t){var r=0,a=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+a).toString(36))}},function(e,t,r){e.exports=r(26)("native-function-to-string",Function.toString)},function(e,t,r){var a=r(7),n=r(4),c=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(e.exports=function(e,t){return c[e]||(c[e]=void 0!==t?t:{})})("versions",[]).push({version:a.version,mode:r(27)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,r){var a=r(29);e.exports=function(e,t,r){if(a(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,a){return e.call(t,r,a)};case 3:return function(r,a,n){return e.call(t,r,a,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,r){function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function n(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=n?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}var c=r(31);e.exports=n},function(e,t){function r(t){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(e){return typeof e}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(t)}e.exports=r},function(e,t,r){"use strict";r(0);var a=r(1);r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(2)),c=a(r(6)),o=a(r(3)),s=n.default.createClass({displayName:"Games-Rotate-Bitesize",render:function(){return n.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--bitesize"},n.default.createElement("div",{className:"cage-rotate-screen__inner",style:this.props.viewportStyle},n.default.createElement("img",{className:"cage-rotate-screen__bitesize-x-shape",src:"".concat((0,c.default)(),"/images/bitesize/x-shape.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-c-shape",src:"".concat((0,c.default)(),"/images/bitesize/c-shape.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-cross",src:"".concat((0,c.default)(),"/images/bitesize/cross.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-curve",src:"".concat((0,c.default)(),"/images/bitesize/curve.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-piranha",src:"".concat((0,c.default)(),"/images/bitesize/piranha.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-starburst",src:"".concat((0,c.default)(),"/images/bitesize/starburst.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-triangle",src:"".concat((0,c.default)(),"/images/bitesize/triangle.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-zigzag",src:"".concat((0,c.default)(),"/images/bitesize/zigzag.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-house",src:"".concat((0,c.default)(),"/images/bitesize/house.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__bitesize-book",src:"".concat((0,c.default)(),"/images/bitesize/book.svg"),alt:""}),n.default.createElement("div",{className:"absolute-center cage-rotate-screen__title"},"Bitesize"),n.default.createElement(o.default,null),n.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),i=s;t.default=i,e.exports=t.default},function(e,t,r){"use strict";r(0);var a=r(1);r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(2)),c=a(r(6)),o=a(r(3)),s=n.default.createClass({displayName:"Games-Rotate-Cbbc",render:function(){return n.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--cbbc"},n.default.createElement("div",{className:"cage-rotate-screen__inner",style:this.props.viewportStyle},n.default.createElement("img",{className:"cage-rotate-screen__streamers-left",src:"".concat((0,c.default)(),"/images/cbbc/streamers-green.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__streamers-right",src:"".concat((0,c.default)(),"/images/cbbc/streamers-pink.svg"),alt:""}),n.default.createElement("img",{className:"absolute-center cage-rotate-screen__cbbc-logo",src:"".concat((0,c.default)(),"/images/cbbc/logo.svg"),alt:"CBBC"}),n.default.createElement(o.default,null),n.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),i=s;t.default=i,e.exports=t.default},function(e,t,r){"use strict";r(0);var a=r(1);r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(2)),c=a(r(6)),o=a(r(3)),s=n.default.createClass({displayName:"Games-Rotate-Cbeebies",render:function(){return n.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--cbeebies"},n.default.createElement("div",{className:"absolute-center cage-rotate-screen__inner",style:this.props.viewportStyle},n.default.createElement("div",{className:"cage-rotate-screen__grass"}),n.default.createElement("img",{className:"cage-rotate-screen__cbeebies-bug-1",src:"".concat((0,c.default)(),"/images/cbeebies/bug-1.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__cbeebies-bug-2",src:"".concat((0,c.default)(),"/images/cbeebies/bug-2.svg"),alt:""}),n.default.createElement("img",{className:"cage-rotate-screen__cbeebies-bug-3",src:"".concat((0,c.default)(),"/images/cbeebies/bug-3.svg"),alt:""}),n.default.createElement("img",{className:"absolute-center cage-rotate-screen__cbeebies-logo",src:"".concat((0,c.default)(),"/images/cbeebies/logo.svg"),alt:""}),n.default.createElement(o.default,null),n.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),i=s;t.default=i,e.exports=t.default},function(e,t,r){"use strict";r(0);var a=r(1);r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(2)),c=a(r(3)),o=n.default.createClass({displayName:"Games-Rotate-Default",render:function(){return n.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--default"},n.default.createElement("div",{className:"absolute-center cage-rotate-screen__inner",style:this.props.viewportStyle},n.default.createElement(c.default,null),n.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),s=o;t.default=s,e.exports=t.default},function(e,t,r){"use strict";r(0);var a=r(1);r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(2)),c=a(r(6)),o=a(r(3)),s=n.default.createClass({displayName:"Games-Rotate-Food",render:function(){return n.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--food"},n.default.createElement("div",{className:"cage-rotate-screen__inner",style:this.props.viewportStyle},n.default.createElement("img",{className:"absolute-center cage-rotate-screen__food-logo",src:"".concat((0,c.default)(),"/images/food/logo.svg"),alt:"Food"}),n.default.createElement(o.default,null),n.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),i=s;t.default=i,e.exports=t.default},function(e,t,r){"use strict";r(0);var a=r(1);r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(2)),c=a(r(3)),o=n.default.createClass({displayName:"Games-Rotate-Sport",render:function(){return n.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--sport"},n.default.createElement("div",{className:"cage-rotate-screen__inner",style:this.props.viewportStyle},n.default.createElement("div",{className:"absolute-center cage-rotate-screen__title"},"Sport"),n.default.createElement(c.default,null),n.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),s=o;t.default=s,e.exports=t.default},function(e,t,r){"use strict";(function(e){r(0),r(0),Object.defineProperty(t,"__esModule",{value:!0}),t.getStyle=t.removeViewportHeightEventListener=t.setupViewportHeightEventListener=void 0;var a=0,n=function(t){a=e.window.innerHeight,t()},c=function(t){e.window.addEventListener("resize",function(){return n(t)}),n(t)};t.setupViewportHeightEventListener=c;var o=function(){return e.window.removeEventListener("resize",n)};t.removeViewportHeightEventListener=o;var s=function(){return{maxWidth:"".concat(a,"px"),transform:"translateX(calc(50vw - 50%)) translateY(calc(".concat(a/2,"px - 50%)) rotate(90deg)")}};t.getStyle=s}).call(t,r(9))}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-debouncer@2.1.1"]={morph:"3.10.0"},function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){Morph.modules["bbc-morph-debouncer@2.1.1"]=t(1)},function(e,n,t){function o(e,n,t){t||(t="-debounced"+n);var o=e+t;timeouts[o]||r(e,function(){clearTimeout(timeouts[o]),timeouts[o]=u(e,t,n)})}function r(e,n){window.addEventListener?window.addEventListener(e,n,!1):document.documentElement.attachEvent("onpropertychange",function(t){t.propertyName===e&&n()})}function c(e){var n;document.createEvent?(n=document.createEvent("UIEvents"),n.initEvent(e,!1,!0),window.dispatchEvent(n)):(n=document.documentElement[e],n+=1)}function u(e,n,t){return setTimeout(function(){c(e+n)},t)}var i=t(2),d=50;timeouts={},function(){i.isClientSide()&&(o("resize",d,"-debounced"),o("scroll",d,"-debounced"))}(),e.exports={addDebouncedEvent:o}},function(e,n){e.exports=Morph}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-childrens-games-view@9.9.6"]={"@babel/polyfill":"7.12.1","@babel/runtime":"7.15.4","@bbc/echo-client-js":"12.4.0","bbc-morph-debouncer":"2.1.1","bbc-morph-games-data":"1.3.4","bbc-morph-games-rotate-view":"1.1.6","bbc-morph-id-availability-data":"2.1.0","bbc-morph-responsive-image":"1.3.1","bowser":"2.11.0","es6-promise":"4.2.8","isomorphic-fetch":"2.2.1","morph-container":"4.0.0","morph-static-prefix":"3.0.0","react":"0.14.7"};Morph.versions["bbc-morph-games-rotate-view@1.1.6"]={"@babel/polyfill":"7.10.4","@babel/runtime":"7.11.1","morph-static-prefix":"3.0.0","react":"0.14.7"}; !function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},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=139)}([function(e,t,n){var i=n(1);i(i.S+i.F*!n(17),"Object",{defineProperty:n(16).f})},function(e,t,n){var i=n(5),r=n(34),o=n(24),s=n(18),a=n(35),u=function(e,t,n){var c,l,f,d,p=e&u.F,h=e&u.G,_=e&u.S,g=e&u.P,v=e&u.B,m=h?i:_?i[t]||(i[t]={}):(i[t]||{}).prototype,E=h?r:r[t]||(r[t]={}),y=E.prototype||(E.prototype={});h&&(n=t);for(c in n)l=!p&&m&&void 0!==m[c],f=(l?m:n)[c],d=v&&l?a(f,i):g&&"function"==typeof f?a(Function.call,f):f,m&&s(m,c,f,e&u.U),E[c]!=f&&o(E,c,d),g&&y[c]!=f&&(y[c]=f)};i.core=r,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,n){var i=n(57)("wks"),r=n(52),o=n(5).Symbol,s="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},function(e,t){e.exports=React},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},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,n){"use strict";var i=n(62),r={};r[n(2)("toStringTag")]="z",r+""!="[object z]"&&n(18)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var i=n(7);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var i=n(87),r=n(194),o=n(55),s=n(26);e.exports=n(116)(Array,"Array",function(e,t){this._t=s(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,r(1)):"keys"==t?r(0,n):"values"==t?r(0,e[n]):r(0,[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var i=n(1),r=n(58),o=n(36),s=n(8),a=n(7),u=n(9),c=n(95),l=(n(5).Reflect||{}).construct,f=u(function(){function e(){}return!(l(function(){},[],e)instanceof e)}),d=!u(function(){l(function(){})});i(i.S+i.F*(f||d),"Reflect",{construct:function(e,t){o(e),s(t);var n=arguments.length<3?e:o(arguments[2]);if(d&&!f)return l(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var i=[null];return i.push.apply(i,t),new(c.apply(e,i))}var u=n.prototype,p=r(a(u)?u:Object.prototype),h=Function.apply.call(e,p,t);return a(h)?h:p}})},function(e,t,n){"use strict";var i=n(8),r=n(29),o=n(27),s=n(54),a=n(75),u=n(76),c=Math.max,l=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};n(77)("replace",2,function(e,t,n,_){function g(e,t,i,o,s,a){var u=i+e.length,c=o.length,l=p;return void 0!==s&&(s=r(s),l=d),n.call(a,l,function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(u);case"<":a=s[r.slice(1,-1)];break;default:var l=+r;if(0===l)return n;if(l>c){var d=f(l/10);return 0===d?n:d<=c?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):n}a=o[l-1]}return void 0===a?"":a})}return[function(i,r){var o=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=_(n,e,this,t);if(r.done)return r.value;var f=i(e),d=String(this),p="function"==typeof t;p||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var E=[];;){var y=u(f,d);if(null===y)break;if(E.push(y),!v)break;""===String(y[0])&&(f.lastIndex=a(d,o(f.lastIndex),m))}for(var b="",S=0,A=0;A<E.length;A++){y=E[A];for(var I=String(y[0]),T=c(l(s(y.index),d.length),0),P=[],C=1;C<y.length;C++)P.push(h(y[C]));var O=y.groups;if(p){var w=[I].concat(P,T,d);void 0!==O&&w.push(O);var N=String(t.apply(void 0,w))}else N=g(I,d,T,P,O,t);T>=S&&(b+=d.slice(S,T)+N,S=T+I.length)}return b+d.slice(S)}]})},function(e,t,n){"use strict";var i=n(103)(!0);n(116)(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=i(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){for(var i=n(10),r=n(39),o=n(18),s=n(5),a=n(24),u=n(55),c=n(2),l=c("iterator"),f=c("toStringTag"),d=u.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=r(p),_=0;_<h.length;_++){var g,v=h[_],m=p[v],E=s[v],y=E&&E.prototype;if(y&&(y[l]||a(y,l,d),y[f]||a(y,f,v),u[v]=d,m))for(g in i)y[g]||o(y,g,i[g],!0)}},function(e,t,n){"use strict";var i=n(1),r=n(38)(1);i(i.P+i.F*!n(37)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(8),r=n(92),o=n(68),s=Object.defineProperty;t.f=n(17)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)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){e.exports=!n(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(5),r=n(24),o=n(25),s=n(52)("src"),a=n(144),u=(""+a).split("toString");n(34).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,s)||r(n,s,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(e,t,n){var i=n(1);i(i.P,"Function",{bind:n(95)})},function(e,t,n){"use strict";var i,r=n(5),o=n(38)(0),s=n(18),a=n(63),u=n(114),c=n(189),l=n(7),f=n(85),d=n(85),p=!r.ActiveXObject&&"ActiveXObject"in r,h=a.getWeak,_=Object.isExtensible,g=c.ufstore,v=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(l(e)){var t=h(e);return!0===t?g(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(f(this,"WeakMap"),e,t)}},E=e.exports=n(190)("WeakMap",v,m,c,!0,!0);d&&p&&(i=c.getConstructor(v,"WeakMap"),u(i.prototype,m),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=E.prototype,n=t[e];s(t,e,function(t,r){if(l(t)&&!_(t)){this._f||(this._f=new i);var o=this._f[e](t,r);return"set"==e?this:o}return n.call(this,t,r)})}))},function(e,t,n){var i=n(26),r=n(86).f;n(117)("getOwnPropertyDescriptor",function(){return function(e,t){return r(i(e),t)}})},function(e,t,n){"use strict";var i=n(1),r=n(38)(0),o=n(37)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(151);i(i.S+i.F*!n(60),"Object",{defineProperty:n(101).f})},function(e,t,n){var i=n(16),r=n(51);e.exports=n(17)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(69),r=n(41);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(54),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){var i=n(41);e.exports=function(e){return Object(i(e))}},function(e,t,n){"use strict";var i,r,o,s,a=n(53),u=n(5),c=n(35),l=n(62),f=n(1),d=n(7),p=n(36),h=n(79),_=n(80),g=n(108),v=n(109).set,m=n(181)(),E=n(110),y=n(182),b=n(183),S=n(184),A=u.TypeError,I=u.process,T=I&&I.versions,P=T&&T.v8||"",C=u.Promise,O="process"==l(I),w=function(){},N=r=E.f,R=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[n(2)("species")]=function(e){e(w,w)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(w)instanceof t&&0!==P.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(e){}}(),L=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},D=function(e,t){if(!e._n){e._n=!0;var n=e._c;m(function(){for(var i=e._v,r=1==e._s,o=0;n.length>o;)!function(t){var n,o,s,a=r?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{a?(r||(2==e._h&&x(e),e._h=1),!0===a?n=i:(l&&l.enter(),n=a(i),l&&(l.exit(),s=!0)),n===t.promise?c(A("Promise-chain cycle")):(o=L(n))?o.call(n,u,c):u(n)):c(i)}catch(e){l&&!s&&l.exit(),c(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){v.call(u,function(){var t,n,i,r=e._v,o=B(e);if(o&&(t=y(function(){O?I.emit("unhandledRejection",r,e):(n=u.onunhandledrejection)?n({promise:e,reason:r}):(i=u.console)&&i.error&&i.error("Unhandled promise rejection",r)}),e._h=O||B(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},B=function(e){return 1!==e._h&&0===(e._a||e._c).length},x=function(e){v.call(u,function(){var t;O?I.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},k=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()),D(t,!0))},U=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw A("Promise can't be resolved itself");(t=L(e))?m(function(){var i={_w:n,_d:!1};try{t.call(e,c(U,i,1),c(k,i,1))}catch(e){k.call(i,e)}}):(n._v=e,n._s=1,D(n,!1))}catch(e){k.call({_w:n,_d:!1},e)}}};R||(C=function(e){h(this,C,"Promise","_h"),p(e),i.call(this);try{e(c(U,this,1),c(k,this,1))}catch(e){k.call(this,e)}},i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(81)(C.prototype,{then:function(e,t){var n=N(g(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?I.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=c(U,e,1),this.reject=c(k,e,1)},E.f=N=function(e){return e===C||e===s?new o(e):r(e)}),f(f.G+f.W+f.F*!R,{Promise:C}),n(56)(C,"Promise"),n(111)("Promise"),s=n(34).Promise,f(f.S+f.F*!R,"Promise",{reject:function(e){var t=N(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(a||!R),"Promise",{resolve:function(e){return S(a&&this===s?C:this,e)}}),f(f.S+f.F*!(R&&n(82)(function(e){C.all(e).catch(w)})),"Promise",{all:function(e){var t=this,n=N(t),i=n.resolve,r=n.reject,o=y(function(){var n=[],o=0,s=1;_(e,!1,function(e){var a=o++,u=!1;n.push(void 0),s++,t.resolve(e).then(function(e){u||(u=!0,n[a]=e,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=N(t),i=n.reject,r=y(function(){_(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},function(e,t,n){var i=n(29),r=n(39);n(117)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){"use strict";var i=n(1),r=n(38)(2);i(i.P+i.F*!n(37)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(16).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(17)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(36);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}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){"use strict";var i=n(9);e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var i=n(35),r=n(69),o=n(29),s=n(27),a=n(187);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,d=5==e||f,p=t||a;return function(t,a,h){for(var _,g,v=o(t),m=r(v),E=i(a,h,3),y=s(m.length),b=0,S=n?p(t,y):u?p(t,0):void 0;y>b;b++)if((d||b in m)&&(_=m[b],g=E(_,b,v),e))if(n)S[b]=g;else if(g)switch(e){case 3:return!0;case 5:return _;case 6:return b;case 2:S.push(_)}else if(l)return!1;return f?-1:c||l?l:S}}},function(e,t,n){var i=n(93),r=n(72);e.exports=Object.keys||function(e){return i(e,r)}},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){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){function i(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&&r(e,t)}var r=n(147);e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){function i(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)}var r=n(46).default,o=n(98);e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var i=n(28);n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=r.default.createClass({displayName:"Games-Rotate-Loading-Spinner",render:function(){var e={version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink",className:"absolute-center cage-rotate-screen__icon",viewBox:"0 0 500 500",x:0,y:0,xmlSpace:"preserve"};return r.default.createElement("svg",e,r.default.createElement("path",{className:"cage-rotate-screen__path",d:"M389.4,186.2L389.4,186.2c-35.3-64.1-115.7-87.3-179.7-52c-1.2,0.7-2.4,1.4-3.6,2.1 c-0.5,0.3-0.9,0.5-1.4,0.8c-1.5,0.9-2.9,1.8-4.4,2.8c-0.4,0.2-0.7,0.5-1.1,0.7c-1.5,1-3,2.1-4.4,3.1c-0.3,0.2-0.5,0.4-0.8,0.6 c-1.5,1.1-3,2.3-4.4,3.5c-0.2,0.2-0.3,0.3-0.5,0.4c-1.5,1.2-3,2.5-4.4,3.8c-0.1,0.1-0.2,0.2-0.3,0.3c-1.5,1.3-2.9,2.7-4.3,4.1 c-0.1,0.1-0.3,0.3-0.4,0.4c-1.4,1.4-2.7,2.8-4,4.2c-15.2,16.7-26.2,37.4-31.2,60.3l-21.7-39.3L94,198l32,58l16,29l3.7-2.1 l25.1-13.9l5.1-2.8l52.9-29.1l-16-28.9l-35.7,19.7c2.3-9.9,6.1-19.5,11.3-28.3c0,0,0,0,0-0.1c0.7-1.1,1.4-2.2,2.1-3.4 c0.3-0.5,0.6-1,1-1.5c0.3-0.4,0.6-0.8,0.9-1.3c10.1-14.5,24-26.1,40.3-33.6c0.1,0,0.1,0,0.2-0.1c1.3-0.6,2.6-1.2,4-1.7 c0.1,0,0.2-0.1,0.4-0.1c1.3-0.5,2.7-1,4-1.5c0.1,0,0.2-0.1,0.3-0.1c1.4-0.5,2.8-0.9,4.2-1.3c0,0,0.1,0,0.1,0c8.8-2.6,18.2-4,27.8-4 c27.5,0,54.4,11.5,73.4,32.4c0,0.1,0,0.1,0,0.2c16.1,17.6,25.9,40.9,25.9,66.6c0,11.2-1.9,21.9-5.3,31.9c-0.1,0-0.1,0-0.2,0.1 c-7.6,22.6-23.4,42.4-45.8,54.8c-15.2,8.4-31.6,12.3-47.8,12.3v33.1c21.6,0,43.6-5.2,63.8-16.4c11-6.1,20.8-13.5,29.3-22 C391,319.9,406,286.7,406,250C406,226.9,399.9,205.1,389.4,186.2"}))}}),s=o;t.default=s,e.exports=t.default},function(e,t,n){"use strict";var i=n(1),r=n(70)(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(87)("includes")},function(e,t,n){"use strict";var i=n(1),r=n(70)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!n(37)(o)),"Array",{indexOf:function(e){return s?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},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=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports=!1},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t){e.exports={}},function(e,t,n){var i=n(16).f,r=n(25),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(34),r=n(5),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(53)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var i=n(8),r=n(145),o=n(72),s=n(71)("IE_PROTO"),a=function(){},u=function(){var e,t=n(67)("iframe"),i=o.length;for(t.style.display="none",n(94).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;i--;)delete u.prototype[o[i]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[s]=e):n=u(),void 0===t?n:r(n,t)}},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,n){e.exports=!n(102)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(){return"//"+Morph.config.cdn+"/modules/bbc-morph-games-rotate-view/1.1.6"}},function(e,t,n){var i=n(40),r=n(2)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),r))?n:o?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var i=n(52)("meta"),r=n(7),o=n(25),s=n(16).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(9)(function(){return u(Object.preventExtensions({}))}),l=function(e){s(e,i,{value:{i:"O"+ ++a,w:{}}})},f=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[i].i},d=function(e,t){if(!o(e,i)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[i].w},p=function(e){return c&&h.NEED&&u(e)&&!o(e,i)&&l(e),e},h=e.exports={KEY:i,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var i=n(1),r=n(38)(3);i(i.P+i.F*!n(37)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(1),r=n(201);i(i.P+i.F*n(202)("includes"),"String",{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var i=n(7),r=n(5).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(7);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(40);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(26),r=n(27),o=n(146);e.exports=function(e){return function(t,n,s){var a,u=i(t),c=r(u.length),l=o(s,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var i=n(57)("keys"),r=n(52);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var i=n(103)(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},function(e,t,n){"use strict";var i=n(62),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){"use strict";n(174);var i=n(18),r=n(24),o=n(9),s=n(41),a=n(2),u=n(78),c=a("species"),l=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var d=a(e),p=!o(function(){var t={};return t[d]=function(){return 7},7!=""[e](t)}),h=p?!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[d](""),!t}):void 0;if(!p||!h||"replace"===e&&!l||"split"===e&&!f){var _=/./[d],g=n(s,d,""[e],function(e,t,n,i,r){return t.exec===u?p&&!r?{done:!0,value:_.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),v=g[0],m=g[1];i(String.prototype,e,v),r(RegExp.prototype,d,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},function(e,t,n){"use strict";var i=n(104),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a=function(){var e=/a/,t=/b*/g;return r.call(e,"a"),r.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=void 0!==/()??/.exec("")[1];(a||u)&&(s=function(e){var t,n,s,c,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),a&&(t=l.lastIndex),s=r.call(l,e),a&&s&&(l.lastIndex=l.global?s.index+s[0].length:t),u&&s&&s.length>1&&o.call(s[0],n,function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(s[c]=void 0)}),s}),e.exports=s},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(35),r=n(105),o=n(106),s=n(8),a=n(27),u=n(107),c={},l={},t=e.exports=function(e,t,n,f,d){var p,h,_,g,v=d?function(){return e}:u(e),m=i(n,f,t?2:1),E=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(p=a(e.length);p>E;E++)if((g=t?m(s(h=e[E])[0],h[1]):m(e[E]))===c||g===l)return g}else for(_=v.call(e);!(h=_.next()).done;)if((g=r(_,m,h.value,t))===c||g===l)return g};t.BREAK=c,t.RETURN=l},function(e,t,n){var i=n(18);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},function(e,t,n){var i=n(2)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(e){}return n}},function(e,t,n){n(186),e.exports=self.fetch.bind(self)},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var i=n(7);e.exports=function(e,t){if(!i(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var i=n(64),r=n(51),o=n(26),s=n(68),a=n(25),u=n(92),c=Object.getOwnPropertyDescriptor;t.f=n(17)?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){var i=n(2)("unscopables"),r=Array.prototype;void 0==r[i]&&n(24)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t,n){"use strict";n(0),n(120),n(122),n(13),n(6),n(10),n(14),n(22),n(31),n(65),n(66),n(49),n(32),n(15),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.init=t.getStates=t.setStates=t.restoreState=void 0,n(120),n(122),n(13),n(6),n(10),n(14),n(22),n(31),n(65),n(66),n(49),n(32),n(15);var i=function(e){return Array.from(e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))},r=function(e,t){return function(){var n=i(e);n["top"===t?1:n.length-2].focus()}},o=function(e){return function(t){"Escape"===t.key&&e()}},s=function(e){Array.from(e.getElementsByTagName("svg")).forEach(function(e){return e.setAttribute("focusable","false")})},a=function(e,t){var n=document.createElement("div");return n.setAttribute("tabindex","0"),n.addEventListener("focus",r(e,t),!0),n},u=function(e,t){var n=new MutationObserver(t),i={childList:!0,subtree:!0};n.observe(e.parentNode,i)},c=function(e){Object.keys(e.attributes).forEach(function(t){e.attributes[t]?e.el.setAttribute(t,e.attributes[t]):e.el.removeAttribute(t)})};t.restoreState=c;var l=function(e,t){return function(n){n.some(function(e){return Array.from(e.removedNodes).includes(t)})&&e.forEach(c)}},f=function(e){return{el:e,attributes:{tabindex:e.getAttribute("tabindex"),"aria-hidden":e.getAttribute("aria-hidden")}}},d=function(e){var t=i(e);i(document).filter(function(e){return!t.includes(e)}).forEach(function(e){e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","-1")})};t.setStates=d;var p=function(e){var t=i(e);return i(document).filter(function(e){return!t.includes(e)}).map(f)};t.getStates=p;var h=function(e){return e.stopPropagation()},_=function(e,t){e.classList.add("cage-overlay__modal"),e.setAttribute("aria-modal","true"),e.setAttribute("role","dialog"),i(e)[0].focus(),e.insertBefore(a(e,"bottom"),e.firstChild),e.appendChild(a(e,"top"));var n=e.getElementsByClassName("cage-overlay__close-button")[0];setTimeout(function(){n.addEventListener("click",t)}),document.addEventListener("keydown",o(t)),document.addEventListener("mouseup",h),document.addEventListener("mousedown",h),document.addEventListener("click",h),document.addEventListener("touchstart",h),document.addEventListener("touchend",h),s(document);var r=p(e);u(e.parentNode,function(n,i){i.disconnect(),l(r,e.parentNode)(n,i),document.removeEventListener("keydown",o(t)),document.removeEventListener("mouseup",h),document.removeEventListener("mousedown",h),document.removeEventListener("click",h),document.removeEventListener("touchstart",h),document.removeEventListener("touchend",h)}),d(e)};t.init=_},function(e,t,n){var i=n(93),r=n(72).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t,n){var i=n(7),r=n(40),o=n(2)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},function(e,t){e.exports=function(){return"//"+Morph.config.cdn+"/modules/bbc-morph-childrens-games-view/9.9.6"}},function(e,t,n){e.exports=!n(17)&&!n(9)(function(){return 7!=Object.defineProperty(n(67)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(25),r=n(26),o=n(70)(!1),s=n(71)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),u=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>u;)i(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var i=n(5).document;e.exports=i&&i.documentElement},function(e,t,n){"use strict";var i=n(36),r=n(7),o=n(96),s=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var i=[],r=0;r<t;r++)i[r]="a["+r+"]";a[t]=Function("F,a","return new F("+i.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=i(this),n=s.call(arguments,1),a=function(){var i=n.concat(s.call(arguments));return this instanceof a?u(t,i.length,i):o(t,i,e)};return r(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?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){"use strict";var i=n(1),r=n(26),o=n(54),s=n(27),a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(u||!n(37)(a)),"Array",{lastIndexOf:function(e){if(u)return a.apply(this,arguments)||0;var t=r(this),n=s(t.length),i=n-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}})},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,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var i=n(101),r=n(156);e.exports=n(60)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(152),r=n(153),o=n(155),s=Object.defineProperty;t.f=n(60)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)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){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(54),r=n(41);e.exports=function(e){return function(t,n){var o,s,a=String(r(t)),u=i(n),c=a.length;return u<0||u>=c?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},function(e,t,n){"use strict";var i=n(8);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var i=n(8);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},function(e,t,n){var i=n(55),r=n(2)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},function(e,t,n){var i=n(62),r=n(2)("iterator"),o=n(55);e.exports=n(34).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||o[i(e)]}},function(e,t,n){var i=n(8),r=n(36),o=n(2)("species");e.exports=function(e,t){var n,s=i(e).constructor;return void 0===s||void 0==(n=i(s)[o])?t:r(n)}},function(e,t,n){var i,r,o,s=n(35),a=n(96),u=n(94),c=n(67),l=n(5),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,_=l.Dispatch,g=0,v={},m=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},E=function(e){m.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){a("function"==typeof e?e:Function(e),t)},i(g),g},p=function(e){delete v[e]},"process"==n(40)(f)?i=function(e){f.nextTick(s(m,e,1))}:_&&_.now?i=function(e){_.now(s(m,e,1))}:h?(r=new h,o=r.port2,r.port1.onmessage=E,i=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(i=function(e){l.postMessage(e+"","*")},l.addEventListener("message",E,!1)):i="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(e)}}:function(e){setTimeout(s(m,e,1),0)}),e.exports={set:d,clear:p}},function(e,t,n){"use strict";function i(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=r(t),this.reject=r(n)}var r=n(36);e.exports.f=function(e){return new i(e)}},function(e,t,n){"use strict";var i=n(5),r=n(16),o=n(17),s=n(2)("species");e.exports=function(e){var t=i[e];o&&t&&!t[s]&&r.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}n(0),n(20),n(13),n(6),n(10),n(14),n(21),n(20),n(13),n(6),n(10),n(14),n(0),n(21);var r=n(46);Object.defineProperty(t,"__esModule",{value:!0}),t.getPageToReturnToQuery=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=s?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(118)),s=function(e){var t=o.getValidUrl(e);return t?"&ptrt=".concat(encodeURIComponent(t)):""};t.getPageToReturnToQuery=s},function(e,t,n){var i=n(40);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){"use strict";var i=n(17),r=n(39),o=n(84),s=n(64),a=n(29),u=n(69),c=Object.assign;e.exports=!c||n(9)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){for(var n=a(e),c=arguments.length,l=1,f=o.f,d=s.f;c>l;)for(var p,h=u(arguments[l++]),_=f?r(h).concat(f(h)):r(h),g=_.length,v=0;g>v;)p=_[v++],i&&!d.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var i=n(7),r=n(191).set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},function(e,t,n){"use strict";var i=n(53),r=n(1),o=n(18),s=n(24),a=n(55),u=n(192),c=n(56),l=n(193),f=n(2)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,_,g,v){u(n,t,h);var m,E,y,b=function(e){if(!d&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",A="values"==_,I=!1,T=e.prototype,P=T[f]||T["@@iterator"]||_&&T[_],C=P||b(_),O=_?A?b("entries"):C:void 0,w="Array"==t?T.entries||P:P;if(w&&(y=l(w.call(new e)))!==Object.prototype&&y.next&&(c(y,S,!0),i||"function"==typeof y[f]||s(y,f,p)),A&&P&&"values"!==P.name&&(I=!0,C=function(){return P.call(this)}),i&&!v||!d&&!I&&T[f]||s(T,f,C),a[t]=C,a[S]=p,_)if(m={values:A?C:b("values"),keys:g?C:b("keys"),entries:O},v)for(E in m)E in T||o(T,E,m[E]);else r(r.P+r.F*(d||I),t,m);return m}},function(e,t,n){var i=n(1),r=n(34),o=n(9);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(e,t,n){"use strict";function i(e){return/^https?:\/\/([a-z-.]*\.)?bbci?\.co(m|\.uk)(\/.*)?$/.test(e)?e:""}n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.getValidUrl=i},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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var i=n(5),r=n(25),o=n(17),s=n(1),a=n(18),u=n(63).KEY,c=n(9),l=n(57),f=n(56),d=n(52),p=n(2),h=n(121),_=n(197),g=n(198),v=n(113),m=n(8),E=n(7),y=n(29),b=n(26),S=n(68),A=n(51),I=n(58),T=n(199),P=n(86),C=n(84),O=n(16),w=n(39),N=P.f,R=O.f,L=T.f,D=i.Symbol,M=i.JSON,B=M&&M.stringify,x=p("_hidden"),k=p("toPrimitive"),U={}.propertyIsEnumerable,V=l("symbol-registry"),G=l("symbols"),F=l("op-symbols"),j=Object.prototype,H="function"==typeof D&&!!C.f,W=i.QObject,Y=!W||!W.prototype||!W.prototype.findChild,K=o&&c(function(){return 7!=I(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=N(j,t);i&&delete j[t],R(e,t,n),i&&e!==j&&R(j,t,i)}:R,z=function(e){var t=G[e]=I(D.prototype);return t._k=e,t},q=H&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},Q=function(e,t,n){return e===j&&Q(F,t,n),m(e),t=S(t,!0),m(n),r(G,t)?(n.enumerable?(r(e,x)&&e[x][t]&&(e[x][t]=!1),n=I(n,{enumerable:A(0,!1)})):(r(e,x)||R(e,x,A(1,{})),e[x][t]=!0),K(e,t,n)):R(e,t,n)},$=function(e,t){m(e);for(var n,i=g(t=b(t)),r=0,o=i.length;o>r;)Q(e,n=i[r++],t[n]);return e},X=function(e,t){return void 0===t?I(e):$(I(e),t)},J=function(e){var t=U.call(this,e=S(e,!0));return!(this===j&&r(G,e)&&!r(F,e))&&(!(t||!r(this,e)||!r(G,e)||r(this,x)&&this[x][e])||t)},Z=function(e,t){if(e=b(e),t=S(t,!0),e!==j||!r(G,t)||r(F,t)){var n=N(e,t);return!n||!r(G,t)||r(e,x)&&e[x][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=L(b(e)),i=[],o=0;n.length>o;)r(G,t=n[o++])||t==x||t==u||i.push(t);return i},te=function(e){for(var t,n=e===j,i=L(n?F:b(e)),o=[],s=0;i.length>s;)!r(G,t=i[s++])||n&&!r(j,t)||o.push(G[t]);return o};H||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===j&&t.call(F,n),r(this,x)&&r(this[x],e)&&(this[x][e]=!1),K(this,e,A(1,n))};return o&&Y&&K(j,e,{configurable:!0,set:t}),z(e)},a(D.prototype,"toString",function(){return this._k}),P.f=Z,O.f=Q,n(89).f=T.f=ee,n(64).f=J,C.f=te,o&&!n(53)&&a(j,"propertyIsEnumerable",J,!0),h.f=function(e){return z(p(e))}),s(s.G+s.W+s.F*!H,{Symbol:D});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;ne.length>ie;)p(ne[ie++]);for(var re=w(p.store),oe=0;re.length>oe;)_(re[oe++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return r(V,e+="")?V[e]:V[e]=D(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),s(s.S+s.F*!H,"Object",{create:X,defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:Z,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var se=c(function(){C.f(1)});s(s.S+s.F*se,"Object",{getOwnPropertySymbols:function(e){return C.f(y(e))}}),M&&s(s.S+s.F*(!H||c(function(){var e=D();return"[null]"!=B([e])||"{}"!=B({a:e})||"{}"!=B(Object(e))})),"JSON",{stringify:function(e){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=t=i[1],(E(t)||void 0!==e)&&!q(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),i[1]=t,B.apply(M,i)}}),D.prototype[k]||n(24)(D.prototype,k,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(e,t,n){t.f=n(2)},function(e,t,n){"use strict";var i=n(35),r=n(1),o=n(29),s=n(105),a=n(106),u=n(27),c=n(200),l=n(107);r(r.S+r.F*!n(82)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,f,d=o(e),p="function"==typeof this?this:Array,h=arguments.length,_=h>1?arguments[1]:void 0,g=void 0!==_,v=0,m=l(d);if(g&&(_=i(_,h>2?arguments[2]:void 0,2)),void 0==m||p==Array&&a(m))for(t=u(d.length),n=new p(t);t>v;v++)c(n,v,g?_(d[v],v):d[v]);else for(f=m.call(d),n=new p;!(r=f.next()).done;v++)c(n,v,g?s(f,_,[r.value,v],!0):r.value);return n.length=v,n}})},function(e,t,n){"use strict";n(0),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=r.default.createClass({displayName:"Trophy",render:function(){return r.default.createElement("svg",{enableBackground:"new 0 0 13 13",version:"1.1",viewBox:"0 0 13 13",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},r.default.createElement("path",{className:"st0",d:"m10.3 11.8h-7.6v1.2h7.6v-1.2z"}),r.default.createElement("path",{className:"st0",d:"m0 0v3.5l2 2.5h1.7l1 1.9 0.3 1.7-1.3 1.4h5.6l-1.4-1.4 0.3-1.7 1-1.9h1.8l2-2.5v-3.5h-13zm3 5h-0.6l-1.4-1.9v-2.1h2v4zm9-1.9l-1.4 1.9h-0.6v-4h2v2.1z"}))}}),s=o;t.default=s},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.getAchievementsPath=void 0;var i=function(e,t,n){return void 0===t?"".concat(e,"/achievements/").concat(n):"".concat(e).concat(t,"/achievements/").concat(n)};t.getAchievementsPath=i},function(e,t,n){"use strict";var i=n(1),r=n(36),o=n(29),s=n(9),a=[].sort,u=[1,2,3];i(i.P+i.F*(s(function(){u.sort(void 0)})||!s(function(){u.sort(null)})||!n(37)(a)),"Array",{sort:function(e){return void 0===e?a.call(o(this)):a.call(o(this),r(e))}})},function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n(0),n(66),n(49),n(33),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.getBrowser=void 0,n(66),n(49),n(33);var r=i(n(212)),o=function(e){var t=e.satisfies({mobile:{safari:">=8"}}),n=e.satisfies({mobile:{safari:"<15"}}),i=document.referrer.includes("https://web.archive.org/web/20211103195646/https://t.co");return t&&!i&&n},s=function(){var e=r.default.getParser(window.navigator.userAgent),t=e.getOSName(),n=e.getBrowser(),i="Android"===t;return{shouldShowBrim:o(e),shouldUseFullscreenApi:i,isIe11:"Internet Explorer"===n.name}};t.getBrowser=s},function(e,t,n){var i=n(1);i(i.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";function i(e,t){e.top.location=t}n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.openUrlAtWindowTop=i},function(e,t,n){"use strict";var i=n(8),r=n(27),o=n(75),s=n(76);n(77)("match",1,function(e,t,n,a){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=a(n,e,this);if(t.done)return t.value;var u=i(e),c=String(this);if(!u.global)return s(u,c);var l=u.unicode;u.lastIndex=0;for(var f,d=[],p=0;null!==(f=s(u,c));){var h=String(f[0]);d[p]=h,""===h&&(u.lastIndex=o(c,r(u.lastIndex),l)),p++}return 0===p?null:d}]})},function(e,t,n){"use strict";var i=n(90),r=n(8),o=n(108),s=n(75),a=n(27),u=n(76),c=n(78),l=n(9),f=Math.min,d=[].push,p="length",h=!l(function(){RegExp(4294967295,"y")});n(77)("split",2,function(e,t,n,l){var _;return _="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);for(var o,s,a,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=void 0===t?4294967295:t>>>0,_=new RegExp(e.source,l+"g");(o=c.call(_,r))&&!((s=_.lastIndex)>f&&(u.push(r.slice(f,o.index)),o[p]>1&&o.index<r[p]&&d.apply(u,o.slice(1)),a=o[0][p],f=s,u[p]>=h));)_.lastIndex===o.index&&_.lastIndex++;return f===r[p]?!a&&_.test("")||u.push(""):u.push(r.slice(f)),u[p]>h?u.slice(0,h):u}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r,i):_.call(String(r),n,i)},function(e,t){var i=l(_,e,this,t,_!==n);if(i.done)return i.value;var c=r(e),d=String(this),p=o(c,RegExp),g=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),m=new p(h?c:"^(?:"+c.source+")",v),E=void 0===t?4294967295:t>>>0;if(0===E)return[];if(0===d.length)return null===u(m,d)?[d]:[];for(var y=0,b=0,S=[];b<d.length;){m.lastIndex=h?b:0;var A,I=u(m,h?d:d.slice(b));if(null===I||(A=f(a(m.lastIndex+(h?0:b)),d.length))===y)b=s(d,b,g);else{if(S.push(d.slice(y,b)),S.length===E)return S;for(var T=1;T<=I.length-1;T++)if(S.push(I[T]),S.length===E)return S;b=y=A}}return S.push(d.slice(y)),S}]})},function(e,t,n){var i=n(5),r=n(115),o=n(16).f,s=n(89).f,a=n(90),u=n(104),c=i.RegExp,l=c,f=c.prototype,d=/a/g,p=/a/g,h=new c(d)!==d;if(n(17)&&(!h||n(9)(function(){return p[n(2)("match")]=!1,c(d)!=d||c(p)==p||"/a/i"!=c(d,"i")}))){c=function(e,t){var n=this instanceof c,i=a(e),o=void 0===t;return!n&&i&&e.constructor===c&&o?e:r(h?new l(i&&!o?e.source:e,t):l((i=e instanceof c)?e.source:e,i&&o?u.call(e):t),n?this:f,c)};for(var _=s(l),g=0;_.length>g;)!function(e){e in c||o(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})}(_[g++]);f.constructor=c,c.prototype=f,n(18)(i,"RegExp",c)}n(111)("RegExp")},function(e,t,n){"use strict";n(219)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=new Error("The ID availability service timed-out."),r=new Error("The ID availability service is unavailable."),o=new Error("The ID system is unavailable."),s=new Error("Not signed In"),a=new Error("The authorisation system is unavailable"),u=new Error("Token refresh failed"),c=new Error("clientId or AuthUrl have not been supplied"),l=new Error("IDCTA was not ready before authorisation was called"),f={servicetimeOut:i,serviceUnavailable:r,systemUnavailable:o,notSignedIn:s,authorisationSystemUnavailable:a,tokenRefreshFailed:u,clientIdOrAuthNotSupplied:c,idctaNotReady:l};t.default=f},function(e,t,n){var i=n(1);i(i.S,"Object",{create:n(58)})},function(e,t,n){var i=n(1);i(i.S+i.F,"Object",{assign:n(114)})},function(e,t,n){"use strict";var i=n(1),r=n(38)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(87)("find")},function(e,t,n){"use strict";function i(e){return e&&e.bbccookies&&e.bbccookies.isAllowed("ckps_whatever")}n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.areFunctionalCookiesEnabled=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(140),r=n.n(i);Morph.modules["bbc-morph-childrens-games-view@9.9.6"]=r.a},function(e,t,n){"use strict";e.exports=n(141)},function(e,t,n){"use strict";var i=n(4),r=i(n(142)),o=i(n(143)),s=function(e){var t={uri:{data:"bbc-morph-games-data",game:e.game||e.gid,project:"childrensgames",baseUrl:"/childrens/assets/games"},updates:!1,requireSuccess:!0};return e.versionOverride&&(t.uri.versionOverride=e.versionOverride),e.viewNonPublished&&(t.uri.viewNonPublished=e.viewNonPublished),t};e.exports=r.default.create(o.default,{data:function(e){return{data:s(e),idAvailabilityData:{uri:{data:"bbc-morph-id-availability-data"},requireSuccess:!0,updates:!1},idConfigData:{uri:{service:"bbcid-config-couk",path:"?context=games"},requireSuccess:!0,updates:!1}}}})},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-childrens-games-view@9.9.6",e,t)}}},function(e,t,n){"use strict";function i(e){var t=r();return function(){var n,i=(0,p.default)(e);if(t){var r=(0,p.default)(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return(0,d.default)(this,n)}}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}n(0),n(11),n(19),n(97),n(11),n(0);var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(19),n(97);var s,a,u=o(n(42)),c=o(n(43)),l=o(n(98)),f=o(n(44)),d=o(n(45)),p=o(n(47)),h=o(n(3)),_=o(n(148)),g=o(n(172)),v=o(n(173)),m=o(n(178)),E=o(n(179)),y=o(n(180)),b=o(n(196)),S=n(203),A=n(205),I=n(118),T=n(211),P=n(127),C=n(213),O=o(n(214)),w=n(215),N=n(216),R=n(129),L=n(217),D=function(){window.bbccookies=n(218)},M=function(){(0,P.getBrowser)().shouldUseFullscreenApi&&(0,C.listenForFullscreen)(window,document.body)},B=function(e){return"true"===e||!0===e},x=function(e){function t(e){var n;return(0,u.default)(this,t),n=r.call(this,e),n.loadGameFromUrl=n.loadGameFromUrl.bind((0,l.default)(n)),n.state={showCta:n.showCta(),isPortrait:!1,showSettings:!1,userPressedEnter:!1,showErrorMessage:!1,loadingSpinnerEnabled:!0,useBrim:!1,componentMounted:!1,notificationKey:void 0,notificationName:void 0,notificationDescription:void 0,notificationPosition:void 0},n}(0,f.default)(t,e);var r=i(t);return(0,c.default)(t,[{key:"componentDidMount",value:function(){if(this.setUpWindowObject(),this.props.data.body.embedVars.pwa){var e=(0,T.setUrlOrigin)(this.props.data.body.gameDir,this.props.data.body.environment,window),t=e.substring(0,e.lastIndexOf("/",e.length-2));L.init(t)}var n=Boolean(0===window.orientation||180===window.orientation);this.setState({componentMounted:!0,useBrim:(0,P.getBrowser)().shouldShowBrim,isPortrait:n}),a=y.default.inject(document.head),this.showCta()||this.loadGame()}},{key:"getGameWrapperProps",value:function(){var e=this,t=["game-wrapper"];this.state.showCta&&t.push("game-wrapper--embed"),!this.state.showCta&&this.state.useBrim&&t.push("game-wrapper__brim");var n={className:t.join(" ")};return n.ref=function(t){e.gameWrapperDiv=t},n}},{key:"getGameHolderProps",value:function(){return{id:this.isLegacyGame()?"og-game-holder":"game-holder",className:"game-wrapper__game","aria-hidden":!!this.isOverlayOpen()||null,tabIndex:this.isOverlayOpen()?-1:null}}},{key:"setUpWindowObject",value:function(){window.cage={gameId:this.props.data.body.id,gameDir:(0,T.setUrlOrigin)(this.props.data.body.gameDir,this.props.data.body.environment,window),exitGameUrl:(0,I.getValidUrl)(this.props.exitGameUrl),embedVars:this.props.data.body.embedVars,gameContainerId:"game-holder",environment:window.Morph.config.pushEnv||"test",isFullScreen:!0},window.addEventListener("keydown",this.handleFirstTab.bind(this)),window.addEventListener("keyup",this.handleFirstEnterKey.bind(this)),window.addEventListener("orientationchange",this.handleOrientationChange.bind(this)),this.isLegacyGame()&&(window.og=window.cage,window.og.gameContainerId="og-game-holder")}},{key:"setRequireConfig",value:function(){requirejs({paths:{Game:(0,T.setUrlOrigin)(this.props.data.body.url,this.props.data.body.environment,window),echo:"https://web.archive.org/web/20211103195646/https://static.bbci.co.uk/nkdata/echoclient/2.0.0/sharedmodules/echo"},waitSeconds:30,baseUrl:(0,T.setUrlOrigin)(this.props.data.body.gameDir,this.props.data.body.environment,window)})}},{key:"handleFirstTab",value:function(e){9===e.keyCode&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",this.handleFirstTab.bind(this)))}},{key:"handleFirstEnterKey",value:function(e){13===e.keyCode&&(this.setState({userPressedEnter:!0}),window.removeEventListener("keyup",this.handleFirstEnterKey.bind(this)))}},{key:"handleOrientationChange",value:function(){this.setState({isPortrait:Boolean(0===window.orientation||180===window.orientation)})}},{key:"showCta",value:function(){return B(this.props.showCallToAction)}},{key:"isLegacyGame",value:function(){return B(this.props.data.body.isLegacyGame)}},{key:"isOverlayOpen",value:function(){return this.state.showSettings||this.state.showAchievements}},{key:"delayLoadingSpinnerRemoval",value:function(){var e=this;setTimeout(function(){e.setState({loadingSpinnerEnabled:!1})},1e4)}},{key:"loadGameFromUrl",value:function(){var e=N.generate(window,this.props);R.openUrlAtWindowTop(window,decodeURI(e))}},{key:"loadGame",value:function(){var e=this;D();var t=n(221)(this.props,a),i=n(223);s=n(224)(window,i,function(t){e.setState(t)},t,this.props.data.body),window.getGMI=s.getGMI,this.setRequireConfig(),this.requireAndInitGame(),M()}},{key:"requireAndInitGame",value:function(){var e=this;requirejs(["Game","echo"],function(t){t&&"function"==typeof t.init&&t.init(),e.delayLoadingSpinnerRemoval()},function(t){console.log(t),e.setState({showErrorMessage:!0,loadingSpinnerEnabled:!1})})}},{key:"renderRotateScreen",value:function(){var e={product:this.props.data.body.product,showRotate:this.props.data.body.embedVars.showRotateScreen};return h.default.createElement(_.default,e)}},{key:"renderGameHolder",value:function(){var e=this;return h.default.createElement("div",null,this.state.isPortrait&&this.props.data.body.embedVars.showRotateScreen&&h.default.createElement("div",{className:"cage-pointer-block"}),h.default.createElement("div",{id:"cage-exit-tile",className:"exit-tile__container--hidden"}),this.state.componentMounted&&this.renderRotateScreen(),h.default.createElement("div",this.getGameHolderProps()),h.default.createElement(O.default,{userPressedEnter:this.state.userPressedEnter}),this.state.gmi&&this.state.gmi.getAllSettings&&h.default.createElement(S.AchievementNotification,{notificationKey:this.state.notificationKey,notificationName:this.state.notificationName,notificationDescription:this.state.notificationDescription,notificationPosition:this.state.notificationPosition,gmi:this.state.gmi}),this.state.showAchievements&&h.default.createElement(A.AchievementsScreen,{gmi:this.state.gmi}),this.state.showSettings&&h.default.createElement(b.default,{isMobile:w.isMobile(window,screen),gmi:this.state.gmi,gmiOptions:this.state.gmiOptions,closeSettingsView:function(){e.setState({showSettings:!1},function(){e.state.onSettingsClosed()})},onSettingChanged:this.state.onSettingChanged}))}},{key:"renderCallToAction",value:function(){var e=this.props.data.body.heroImagePid;return h.default.createElement("div",{className:"game-wrapper__cta",onClick:this.loadGameFromUrl},e&&h.default.createElement(v.default,{imagePid:e}),h.default.createElement(E.default,null))}},{key:"renderError",value:function(){return 200!==this.props.data.meta.responseCode||!0===this.state.showErrorMessage?h.default.createElement("div",{className:"game-wrapper__error"},"This content could not be found."):null}},{key:"renderGameContent",value:function(){return this.state.showCta?this.renderCallToAction():this.renderGameHolder()}},{key:"renderContent",value:function(){return h.default.createElement("div",null,this.state.loadingSpinnerEnabled&&h.default.createElement(m.default,null),this.renderGameContent())}},{key:"render",value:function(){var e=this,t={};return!this.state.showCta&&(t.className="cage-game"),h.default.createElement("div",t,h.default.createElement("div",this.getGameWrapperProps(),this.renderError()||this.renderContent()),this.state.useBrim&&this.state.gmi&&h.default.createElement(g.default,{windowObj:window,disableBrim:function(){return e.setState({useBrim:!1})},gmi:this.state.gmi}))}}]),t}(h.default.Component);t.default=x,x.displayName="Childrens-Games-View__Game",x.propTypes={data:h.default.PropTypes.object.isRequired,game:h.default.PropTypes.string.isRequired,exitGameUrl:h.default.PropTypes.string,showCallToAction:h.default.PropTypes.oneOfType([h.default.PropTypes.string,h.default.PropTypes.bool])}},function(e,t,n){e.exports=n(57)("native-function-to-string",Function.toString)},function(e,t,n){var i=n(16),r=n(8),o=n(39);e.exports=n(17)?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,u=0;a>u;)i.f(e,n=s[u++],t[n]);return e}},function(e,t,n){var i=n(54),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},function(e,t){function n(t,i){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,i)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";(function(i){var r=n(149),o=n(28);n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(n(3)),a=o(n(165)),u=o(n(166)),c=o(n(167)),l=o(n(168)),f=o(n(169)),d=o(n(170)),p=r(n(171)),h=s.default.createClass({displayName:"Games-Rotate",getInitialState:function(){return{isPortrait:!1}},componentDidMount:function(){var e=this;this.showRotateIfPortrait(),i.window.addEventListener("orientationchange",this.showRotateIfPortrait,!1),p.setupViewportHeightEventListener(function(){return e.forceUpdate()})},componentWillUnmount:function(){i.window.removeEventListener("orientationchange",this.showRotateIfPortrait,!1),p.removeViewportHeightEventListener()},showRotateIfPortrait:function(){this.setState({isPortrait:Boolean(0===i.window.orientation||180===i.window.orientation)})},renderRotateScreen:function(){var e={viewportStyle:p.getStyle()},t={cbbc:function(){return s.default.createElement(u.default,e)},cbeebies:function(){return s.default.createElement(c.default,e)},bitesize:function(){return s.default.createElement(a.default,e)},default:function(){return s.default.createElement(l.default,e)},food:function(){return s.default.createElement(f.default,e)},sport:function(){return s.default.createElement(d.default,e)}};return this.props.product&&t[this.props.product]?t[this.props.product]():t.default()},render:function(){return!("false"===this.props.showRotate||!1===this.props.showRotate)&&this.state.isPortrait&&this.renderRotateScreen()}});h.propTypes={showRotate:s.default.PropTypes.oneOfType([s.default.PropTypes.string,s.default.PropTypes.bool]),product:s.default.PropTypes.string};var _=h;t.default=_,e.exports=t.default}).call(t,n(99))},function(e,t,n){function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function r(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var a=r?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(n,s,a):n[s]=e[s]}return n.default=e,t&&t.set(e,n),n}var o=n(150);e.exports=r},function(e,t){function n(t){"@babel/helpers - typeof";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 i=n(59),r=n(73),o=n(100),s=n(157),a=n(163),u=function(e,t,n){var c,l,f,d,p=e&u.F,h=e&u.G,_=e&u.S,g=e&u.P,v=e&u.B,m=h?i:_?i[t]||(i[t]={}):(i[t]||{}).prototype,E=h?r:r[t]||(r[t]={}),y=E.prototype||(E.prototype={});h&&(n=t);for(c in n)l=!p&&m&&void 0!==m[c],f=(l?m:n)[c],d=v&&l?a(f,i):g&&"function"==typeof f?a(Function.call,f):f,m&&s(m,c,f,e&u.U),E[c]!=f&&o(E,c,d),g&&y[c]!=f&&(y[c]=f)};i.core=r,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,n){var i=n(74);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(60)&&!n(102)(function(){return 7!=Object.defineProperty(n(154)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(74),r=n(59).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(74);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;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,n){var i=n(59),r=n(100),o=n(158),s=n(159)("src"),a=n(160),u=(""+a).split("toString");n(73).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,s)||r(n,s,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){e.exports=n(161)("native-function-to-string",Function.toString)},function(e,t,n){var i=n(73),r=n(59),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(162)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){var i=n(164);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}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){"use strict";var i=n(28);n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=i(n(61)),s=i(n(48)),a=r.default.createClass({displayName:"Games-Rotate-Bitesize",render:function(){return r.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--bitesize"},r.default.createElement("div",{className:"cage-rotate-screen__inner",style:this.props.viewportStyle},r.default.createElement("img",{className:"cage-rotate-screen__bitesize-x-shape",src:"".concat((0,o.default)(),"/images/bitesize/x-shape.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-c-shape",src:"".concat((0,o.default)(),"/images/bitesize/c-shape.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-cross",src:"".concat((0,o.default)(),"/images/bitesize/cross.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-curve",src:"".concat((0,o.default)(),"/images/bitesize/curve.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-piranha",src:"".concat((0,o.default)(),"/images/bitesize/piranha.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-starburst",src:"".concat((0,o.default)(),"/images/bitesize/starburst.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-triangle",src:"".concat((0,o.default)(),"/images/bitesize/triangle.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-zigzag",src:"".concat((0,o.default)(),"/images/bitesize/zigzag.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-house",src:"".concat((0,o.default)(),"/images/bitesize/house.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__bitesize-book",src:"".concat((0,o.default)(),"/images/bitesize/book.svg"),alt:""}),r.default.createElement("div",{className:"absolute-center cage-rotate-screen__title"},"Bitesize"),r.default.createElement(s.default,null),r.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),u=a;t.default=u,e.exports=t.default},function(e,t,n){"use strict";var i=n(28);n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=i(n(61)),s=i(n(48)),a=r.default.createClass({displayName:"Games-Rotate-Cbbc",render:function(){return r.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--cbbc"},r.default.createElement("div",{className:"cage-rotate-screen__inner",style:this.props.viewportStyle},r.default.createElement("img",{className:"cage-rotate-screen__streamers-left",src:"".concat((0,o.default)(),"/images/cbbc/streamers-green.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__streamers-right",src:"".concat((0,o.default)(),"/images/cbbc/streamers-pink.svg"),alt:""}),r.default.createElement("img",{className:"absolute-center cage-rotate-screen__cbbc-logo",src:"".concat((0,o.default)(),"/images/cbbc/logo.svg"),alt:"CBBC"}),r.default.createElement(s.default,null),r.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),u=a;t.default=u,e.exports=t.default},function(e,t,n){"use strict";var i=n(28);n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=i(n(61)),s=i(n(48)),a=r.default.createClass({displayName:"Games-Rotate-Cbeebies",render:function(){return r.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--cbeebies"},r.default.createElement("div",{className:"absolute-center cage-rotate-screen__inner",style:this.props.viewportStyle},r.default.createElement("div",{className:"cage-rotate-screen__grass"}),r.default.createElement("img",{className:"cage-rotate-screen__cbeebies-bug-1",src:"".concat((0,o.default)(),"/images/cbeebies/bug-1.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__cbeebies-bug-2",src:"".concat((0,o.default)(),"/images/cbeebies/bug-2.svg"),alt:""}),r.default.createElement("img",{className:"cage-rotate-screen__cbeebies-bug-3",src:"".concat((0,o.default)(),"/images/cbeebies/bug-3.svg"),alt:""}),r.default.createElement("img",{className:"absolute-center cage-rotate-screen__cbeebies-logo",src:"".concat((0,o.default)(),"/images/cbeebies/logo.svg"),alt:""}),r.default.createElement(s.default,null),r.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),u=a;t.default=u,e.exports=t.default},function(e,t,n){"use strict";var i=n(28);n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=i(n(48)),s=r.default.createClass({displayName:"Games-Rotate-Default",render:function(){return r.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--default"},r.default.createElement("div",{className:"absolute-center cage-rotate-screen__inner",style:this.props.viewportStyle},r.default.createElement(o.default,null),r.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),a=s;t.default=a,e.exports=t.default},function(e,t,n){"use strict";var i=n(28);n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=i(n(61)),s=i(n(48)),a=r.default.createClass({displayName:"Games-Rotate-Food",render:function(){return r.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--food"},r.default.createElement("div",{className:"cage-rotate-screen__inner",style:this.props.viewportStyle},r.default.createElement("img",{className:"absolute-center cage-rotate-screen__food-logo",src:"".concat((0,o.default)(),"/images/food/logo.svg"),alt:"Food"}),r.default.createElement(s.default,null),r.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),u=a;t.default=u,e.exports=t.default},function(e,t,n){"use strict";var i=n(28);n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=i(n(48)),s=r.default.createClass({displayName:"Games-Rotate-Sport",render:function(){return r.default.createElement("div",{className:"cage-rotate-screen cage-rotate-screen--sport"},r.default.createElement("div",{className:"cage-rotate-screen__inner",style:this.props.viewportStyle},r.default.createElement("div",{className:"absolute-center cage-rotate-screen__title"},"Sport"),r.default.createElement(o.default,null),r.default.createElement("div",{className:"absolute-center cage-rotate-screen__text"},"Please rotate your device")))}}),a=s;t.default=a,e.exports=t.default},function(e,t,n){"use strict";(function(e){n(23),Object.defineProperty(t,"__esModule",{value:!0}),t.getStyle=t.removeViewportHeightEventListener=t.setupViewportHeightEventListener=void 0;var i=0,r=function(t){i=e.window.innerHeight,t()},o=function(t){e.window.addEventListener("resize",function(){return r(t)}),r(t)};t.setupViewportHeightEventListener=o;var s=function(){return e.window.removeEventListener("resize",r)};t.removeViewportHeightEventListener=s;var a=function(){return{maxWidth:"".concat(i,"px"),transform:"translateX(calc(50vw - 50%)) translateY(calc(".concat(i/2,"px - 50%)) rotate(90deg)")}};t.getStyle=a}).call(t,n(99))},function(e,t,n){"use strict";function i(e){var t=r();return function(){var n,i=(0,l.default)(e);if(t){var r=(0,l.default)(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return(0,c.default)(this,n)}}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}n(0),n(11),n(19),n(11),n(0);var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.preventDefault=void 0,n(19);var s=o(n(42)),a=o(n(43)),u=o(n(44)),c=o(n(45)),l=o(n(47)),f=o(n(3)),d=function(e){e.preventDefault()};t.preventDefault=d;var p=function(e){function t(e){var i;return(0,s.default)(this,t),i=n.call(this,e),i.numberOfTapsToDismiss=0,i.brimOpen=!1,i.state={hideBrim:!1},i.firstUpdate=!0,i}(0,u.default)(t,e);var n=i(t);return(0,a.default)(t,[{key:"componentDidMount",value:function(){this.props.windowObj.document.documentElement.style.height="101vh",this.onResize(),this.props.windowObj.addEventListener("resize",this.onResize.bind(this)),this.props.windowObj.addEventListener("gesturestart",d)}},{key:"componentDidUpdate",value:function(){(!this.firstUpdate&&!this.isPortrait||this.state.hideBrim&&this.firstUpdate)&&this.sendStatsEvent(),this.firstUpdate=!1}},{key:"componentWillUnmount",value:function(){this.props.windowObj.removeEventListener("resize",this.onResize.bind(this)),this.props.windowObj.removeEventListener("gesturestart",d)}},{key:"onResize",value:function(){var e=this.props.windowObj;e.scrollTo(0,0),this.isPortrait=e.innerHeight>e.innerWidth;var t=e.innerHeight===e.screen.width,n=this.isPortrait||t;this.props.windowObj.document.documentElement.style.overflow=n?"hidden":"",this.setState({hideBrim:n})}},{key:"sendStatsEvent",value:function(){this.state.hideBrim||this.brimOpen||(this.props.gmi.sendStatsEvent("brim","open"),this.brimOpen=!0),this.state.hideBrim&&this.brimOpen&&(this.props.gmi.sendStatsEvent("brim","dismiss",{metadata:"tap=".concat(this.numberOfTapsToDismiss)}),this.brimOpen=!1,this.numberOfTapsToDismiss=0)}},{key:"handleTouch",value:function(e){e.stopPropagation(),this.numberOfTapsToDismiss+=1}},{key:"renderVoiceoverButton",value:function(){var e=this,t={role:"button","aria-label":"Double-tap to Play Game",onClick:function(){return e.props.disableBrim()},tabIndex:0};return f.default.createElement("div",{className:"cage-brim__vo-button",role:"dialog","aria-modal":!0},f.default.createElement("div",t,"Play Game"))}},{key:"render",value:function(){var e=this,t={id:"cage-brim",className:this.state.hideBrim?"cage-brim--disabled":"cage-brim",onTouchStart:function(t){return e.handleTouch(t)}};return f.default.createElement("div",t,f.default.createElement("div",{className:"cage-brim__message"},this.renderVoiceoverButton(),f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 273 283",className:"cage-brim__hand"},f.default.createElement("path",{fill:"#FFFFFF",d:"M163.8,229.5c23.6-10.7,44-20,55-29s9.1-18.2,7-28c-2-9.5,3.5-14.5,3.5-27.5s-0.3-27.3-18-45c-19-19-14-33-37-33c-16,0-19,17-19,17s-13-14-28-5s-13,17-13,17s-6.1-16.5-18-37c-5.5-9.5-22.5-7.5-28-4c-8.4,5.4-16,16-6,35s32,63,32,63s-24-9-32,3s-9,29,2,33s47,20,78,24C142.3,213,147.3,237,163.8,229.5z"}),f.default.createElement("g",{fill:"#DADADA"},f.default.createElement("path",{d:"M120.1,107.4c1,0.7,2.3-0.1,2.2-1.3c-0.1-3.3,0.3-14.5,3-25.9c-9.9,6.5-11.1,12.3-11.2,14.7c0,0.2,0,0.4,0,0.5c0,0,0,0,0,0c0,0.1,0,0.2,0.1,0.4C117.5,105.3,118.4,106.2,120.1,107.4z"}),f.default.createElement("path",{d:"M155.3,83.9c0.6,3.8,3.1,7.4,4.8,8.5c1,0.7,2.3-0.1,2.2-1.3c-0.1-3.3,1.3-11.2,3.9-22.4C157.7,72.8,155.5,82.8,155.3,83.9z"}),f.default.createElement("path",{d:"M101.2,153.7c0.9,0.1,1.5-0.8,1.1-1.6c-4.4-8.5-22.8-44.2-31-61.1c-11.2-22.8-0.8-30.5,7.5-36.8c0.9-0.7,0.3-2.1-0.8-2c-4,0.4-7.7,1.5-9.7,2.8c-8.4,5.4-16,16-6,35c9.3,17.8,29.2,57.4,31.7,62.5c0.2,0.3,0.5,0.6,0.9,0.6L101.2,153.7z"}),f.default.createElement("path",{d:"M163.8,229.5c23.6-10.7,44-20,55-29c6.7-5.5,8.6-11,8.6-16.8c-2.2,4.1-6.3,8.8-11.6,11.8c-18,10-36,21-50,25c-19,7-21-11-21-11s-63-21-78-27c-5.4-2.2-7.8-9.5-8.7-18.1c-3.7,10.4-2.4,21.4,6.2,24.6c11,4,47,20,78,24C142.3,213,147.3,237,163.8,229.5z"}))),f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 273 283",className:"cage-brim__hand-tap"},f.default.createElement("path",{fill:"#FFFFFF",d:"M82.8,70.9c-5-5-21-16-33-2c-14,19-3,28,23,51s26,34,26,34l-4.5-1c0,0-24-9-32,3s-9,29,2,33s47,20,78,24c0,0,5,24,21.5,16.5c23.6-10.7,44-20,55-29s9.1-18.2,7-28c-2-9.5,3.5-14.5,3.5-27.5s-0.3-27.3-18-45c-19-19-14-33-37-33c-16,0-19,17-19,17s-13-14-28-5s-13,17-13,17L82.8,70.9z"}),f.default.createElement("g",{fill:"#DADADA"},f.default.createElement("path",{d:"M120.1,107.4c1,0.7,2.3-0.1,2.2-1.3c-0.1-3.3,0.3-14.5,3-25.9c-9.9,6.5-11.1,12.3-11.2,14.7c0,0.2,0,0.4,0,0.5c0,0,0,0,0,0c0,0.1,0,0.2,0.1,0.4C117.5,105.3,118.4,106.2,120.1,107.4z"}),f.default.createElement("path",{d:"M155.3,83.9c0.6,3.8,3.1,7.4,4.8,8.5c1,0.7,2.3-0.1,2.2-1.3c-0.1-3.3,1.3-11.2,3.9-22.4C157.7,72.8,155.5,82.8,155.3,83.9z"}),f.default.createElement("path",{d:"M163.8,229.5c23.6-10.7,44-20,55-29c6.7-5.5,8.6-11,8.6-16.8c-2.2,4.1-6.3,8.8-11.6,11.8c-18,10-36,21-50,25c-19,7-21-11-21-11s-63-21-78-27c-5.4-2.2-7.8-9.5-8.7-18.1c-3.7,10.4-2.4,21.4,6.2,24.6c11,4,47,20,78,24C142.3,213,147.3,237,163.8,229.5z"}),f.default.createElement("path",{d:"M72.8,119.9c12.1,10.7,18.5,18.8,22,24.4v-7c0-4.6-2.1-8.9-5.7-11.8C81,119.1,66.2,107,57.8,97.9c-8.6-9.4-7-25,8.4-35.7c-5.4-0.7-11.2,0.7-16.4,6.7C35.8,87.9,46.8,96.9,72.8,119.9z"}))),f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 273 283",className:"cage-brim__arrow"},f.default.createElement("path",{fill:"#FFFFFF",d:"M139.1,82.4L91.6,130c-2,2-2,5.3,0,7.3l10.9,10.9c2.1,2.1,5.4,2,7.4-0.1l19.2-20.6V197c0,2.8,2.3,5.1,5.1,5.1h17.1c2.8,0,5.1-2.3,5.1-5.1v-69.7l19.2,20.6c2,2.1,5.3,2.2,7.4,0.1l10.9-10.9c2-2,2-5.3,0-7.3l-47.5-47.5C144.4,80.4,141.1,80.4,139.1,82.4z"})),f.default.createElement("p",{className:"cage-brim__text"},"Swipe up to return to the game!")))}}]),t}(f.default.Component);t.default=p,p.displayName="Childrens-Games-View__Brim",p.propTypes={windowObj:f.default.PropTypes.object,disableBrim:f.default.PropTypes.func,gmi:f.default.PropTypes.shape({sendStatsEvent:f.default.PropTypes.func})}},function(e,t,n){"use strict";function i(e){var t=r();return function(){var n,i=(0,l.default)(e);if(t){var r=(0,l.default)(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return(0,c.default)(this,n)}}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}n(0),n(11),n(12),n(11),n(0);var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(12);var s=o(n(42)),a=o(n(43)),u=o(n(44)),c=o(n(45)),l=o(n(47)),f=o(n(3)),d=o(n(175)),p=function(e){function t(){return(0,s.default)(this,t),n.apply(this,arguments)}(0,u.default)(t,e);var n=i(t);return(0,a.default)(t,[{key:"customInterpolator",value:function(e,t){var n=Math.round(9*t/16),i="".concat(t,"x").concat(n);return e.replace(/{width-height}/g,i)}},{key:"render",value:function(){var e={src:"https://web.archive.org/web/20211103195646/https://ichef.bbci.co.uk/images/ic/{width-height}/".concat(this.props.imagePid,".jpg"),customInterpolator:this.customInterpolator,aspectRatioStartPoint:1,chefSizes:[400,512,608,704,800],delayed:!0};return f.default.createElement(d.default,e)}}]),t}(f.default.Component);t.default=p,p.displayName="Childrens-Games-View__Hero-Image",p.propTypes={imagePid:f.default.PropTypes.string}},function(e,t,n){"use strict";var i=n(78);n(1)({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},function(e,t,n){n(176);var i=n(3),r=[64,80,96,128,160,240,320,400,480,512,624,704,800,912,960,1024,1056,1104,1152,1200,1248,1440,1600,1680];e.exports=i.createClass({displayName:"ResponsiveImage",propTypes:{src:i.PropTypes.string.isRequired,alt:i.PropTypes.string,className:i.PropTypes.string,width:i.PropTypes.number,availableWidths:i.PropTypes.arrayOf(i.PropTypes.number),delayed:i.PropTypes.bool,keepAspectRatio:i.PropTypes.string,aspectRatioStartPoint:i.PropTypes.oneOfType([i.PropTypes.number,i.PropTypes.bool])},getDefaultProps:function(){return{width:320,height:180,delayed:!1,background:!1,aspectRatioStartPoint:!1}},getInitialState:function(){var e=this.getClosestGreaterWidth(this.props.width);return{delayed:this.props.delayed,width:e,height:this.calcHeight(this.props.width),background:this.props.background,ratioStartPoint:this.isWidthAboveRatioStartPoint(e)}},componentWillUnmount:function(){window.removeEventListener&&(window.removeEventListener("resize-debounced",this.state.resizeHandler),window.removeEventListener("orientationchange",this.state.resizeHandler),this.props.triggerResizeOnClick&&window.removeEventListener("click",this.state.resizeHandler))},componentDidMount:function(){var e=function(){var e=this.getClosestGreaterWidth(this.node.parentNode.clientWidth);this.setState({width:e,height:this.calcHeight(e)})}.bind(this);window.addEventListener&&(window.addEventListener("resize-debounced",e),window.addEventListener("orientationchange",e),this.props.triggerResizeOnClick&&window.addEventListener("click",e));var t=this.getClosestGreaterWidth(this.node.parentNode.clientWidth),n=this.calcHeight(t);this.setState({delayed:!1,width:t,height:n,resizeHandler:e})},hdpiEnabled:function(){return this.props.hasOwnProperty("hidpi")&&!0===this.props.hidpi&&window.devicePixelRatio>1},defaultInterpolator:function(e,t){var n="";return this.hdpiEnabled()&&(n="-hidpi"),e.replace(/{width}/g,t+n)},interpolate:function(e,t){return this.props.customInterpolator?this.props.customInterpolator(e,t):this.defaultInterpolator(e,t)},getClosestGreaterWidth:function(e){for(var t=this.props.availableWidths||r,n=0;n<t.length;n+=1){var i=t[n];if(i>=e)return i}return t[t.length-1]},calcHeight:function(e){var t=this.getRatio(this.props.keepAspectRatio);return Math.floor(e/t)},getRatio:function(e){var t=1;if("string"==typeof e){var n=/^(\d{1,2})\:(\d{1,2})/g,i=n.exec(e);i.length>0&&(t=i[1]/i[2])}return t},isWidthAboveRatioStartPoint:function(e){return"string"==typeof this.props.keepAspectRatio&&("number"==typeof this.props.aspectRatioStartPoint&&this.props.aspectRatioStartPoint<e||!1===this.props.aspectRatioStartPoint)},setNode:function(e){this.node=e},render:function(){var e,t,n,r=this.state.width;return n=this.isWidthAboveRatioStartPoint(r)?{maxHeight:this.state.height}:{},this.state.delayed?t=i.createElement("img",{ref:this.setNode,src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}):this.state.background?(e={backgroundImage:"url("+this.interpolate(this.props.src,this.state.width)+")"},t=i.createElement("div",{ref:this.setNode,style:e,className:this.props.className})):t=i.createElement("img",{ref:this.setNode,src:this.interpolate(this.props.src,this.state.width),alt:this.props.alt,className:this.props.className,style:n}),t}})},function(e,t,n){var i=n(177);e.exports=function(){function e(e,t){window.addEventListener?window.addEventListener(e,t,!1):document.documentElement.attachEvent("onpropertychange",function(n){n.propertyName===e&&t()})}function t(e){var t;document.createEvent?(t=document.createEvent("UIEvents"),t.initEvent(e,!1,!0),window.dispatchEvent(t)):(t=document.documentElement[e],t+=1)}function n(e){return setTimeout(function(){t(e+"-debounced")},s)}var r,o,s=50;i.isClientSide()&&(e("resize",function(){clearTimeout(r),r=n("resize")}),e("scroll",function(){clearTimeout(o),o=n("scroll")}))}()},function(e,t){e.exports=Morph},function(e,t,n){"use strict";n(0),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=r.default.createClass({displayName:"LoadingSpinner",render:function(){var e={xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 32 32",className:"game-wrapper__loading-spinner",ref:"loading"};return r.default.createElement("svg",e,r.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"}))}});o.displayName="Childrens-Games-View__Loading-Spinner";var s=o;t.default=s},function(e,t,n){"use strict";n(0),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=r.default.createClass({displayName:"PlayIcon",render:function(){return r.default.createElement("button",{type:"button",className:"game-wrapper__cta-button"},r.default.createElement("div",{className:"game-wrapper__cta-icon"},r.default.createElement("svg",{viewBox:"0 0 32 32"},r.default.createElement("path",{fill:"#fff",d:"M8 7.5c-1.9 0-3.5 1.6-3.5 3.5s1.6 3.5 3.5 3.5 3.5-1.6 3.5-3.5S9.9 7.5 8 7.5z"}),r.default.createElement("path",{fill:"#fff",d:"M24 3c-2 0-3.9.8-5.3 2h-5.4C11.9 3.8 10 3 8 3c-4.4 0-8 3.6-8 8v18h6l6-10h8l6 10h6V11c0-4.4-3.6-8-8-8zm0 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM8 17c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm12-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm4 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm4-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}))))}});o.displayName="Childrens-Games-View__Play-Icon";var s=o;t.default=s},function(e,t,n){"use strict";n(0),n(12),n(6),n(30),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(12),n(6),n(30);var r=i(n(185)),o=function(e){var t=document.createElement("script");return t.type="text/javascript",t.charset="utf-8",t.defer=!1,t.async=!1,t.text=function(e){return e.replace(/<script[^>]*>/gi,"").replace(/<\/script>/gi,"")}(e.inlineHead),t},s={inject:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return new Promise(function(n,i){r.default.init(t).then(function(t){var n=o(t);e.appendChild(n)}).then(function(){requirejs(["idcta-v2/idcta-1"],function(e){n(e)},i)}).catch(i)})}};t.default=s},function(e,t,n){var i=n(5),r=n(109).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,u="process"==n(40)(s);e.exports=function(){var e,t,n,c=function(){var i,r;for(u&&(i=s.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(u)n=function(){s.nextTick(c)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(c)}}else n=function(){r.call(i,c)};else{var f=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},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 i=n(5),r=i.navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var i=n(8),r=n(7),o=n(110);e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";n(0),n(6),n(30),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(6),n(30);var r=i(n(83)),o=n(112),s=i(n(195)),a=function(e){return new Promise(function(t,n){var i=setTimeout(n,e,s.default.timeOut),a=(0,o.getPageToReturnToQuery)(document.location.href);(0,r.default)("https://web.archive.org/web/20211103195646/https://idcta.api.bbc.co.uk/idcta/init?context=games".concat(a)).then(function(e){return clearTimeout(i),200!==e.status&&n(s.default.unavailable),e.json().then(t).catch(function(){n(s.default.unavailable)})}).catch(function(){clearTimeout(i),n(s.default.unavailable)})})},u=function e(t,n){if(0===n)return t();var i=n;return t().catch(function(){return e(t,i-=1)})},c={init:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3,n=e;return u(function(){return a(t)},n-=1)}};t.default=c},function(e,t,n){"use strict";function i(e){return e&&DataView.prototype.isPrototypeOf(e)}function r(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function o(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return S.iterable&&(t[Symbol.iterator]=function(){return t}),t}function a(e){this.map={},e instanceof a?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 u(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function c(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function l(e){var t=new FileReader,n=c(t);return t.readAsArrayBuffer(e),n}function f(e){var t=new FileReader,n=c(t);return t.readAsText(e),n}function d(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}function p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:S.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:S.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:S.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():S.arrayBuffer&&S.blob&&i(e)?(this._bodyArrayBuffer=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):S.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||I(e))?this._bodyArrayBuffer=p(e):this._bodyText=e=Object.prototype.toString.call(e):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):S.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},S.blob&&(this.blob=function(){var e=u(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(){if(this._bodyArrayBuffer){return u(this)||(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(l)}),this.text=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return f(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(d(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},S.formData&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}function _(e){var t=e.toUpperCase();return T.indexOf(t)>-1?t:e}function g(e,t){if(!(this instanceof g))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var n=t.body;if(e instanceof g){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=_(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{var r=/\?/;this.url+=(r.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function v(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),i=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}}),t}function m(e){var t=new a;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var n=e.split(":"),i=n.shift().trim();if(i){var r=n.join(":").trim();t.append(i,r)}}),t}function E(e,t){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new a(t.headers),this.url=t.url||"",this._initBody(e)}function y(e,t){return new Promise(function(n,i){function r(){u.abort()}var s=new g(e,t);if(s.signal&&s.signal.aborted)return i(new C("Aborted","AbortError"));var u=new XMLHttpRequest;u.onload=function(){var e={status:u.status,statusText:u.statusText,headers:m(u.getAllResponseHeaders()||"")};e.url="responseURL"in u?u.responseURL:e.headers.get("X-Request-URL");var t="response"in u?u.response:u.responseText;setTimeout(function(){n(new E(t,e))},0)},u.onerror=function(){setTimeout(function(){i(new TypeError("Network request failed"))},0)},u.ontimeout=function(){setTimeout(function(){i(new TypeError("Network request failed"))},0)},u.onabort=function(){setTimeout(function(){i(new C("Aborted","AbortError"))},0)},u.open(s.method,function(e){try{return""===e&&b.location.href?b.location.href:e}catch(t){return e}}(s.url),!0),"include"===s.credentials?u.withCredentials=!0:"omit"===s.credentials&&(u.withCredentials=!1),"responseType"in u&&(S.blob?u.responseType="blob":S.arrayBuffer&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof a?s.headers.forEach(function(e,t){u.setRequestHeader(t,e)}):Object.getOwnPropertyNames(t.headers).forEach(function(e){u.setRequestHeader(e,o(t.headers[e]))}),s.signal&&(s.signal.addEventListener("abort",r),u.onreadystatechange=function(){4===u.readyState&&s.signal.removeEventListener("abort",r)}),u.send(void 0===s._bodyInit?null:s._bodyInit)})}Object.defineProperty(t,"__esModule",{value:!0}),t.Headers=a,t.Request=g,t.Response=E,n.d(t,"DOMException",function(){return C}),t.fetch=y;var b="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==b&&b,S={searchParams:"URLSearchParams"in b,iterable:"Symbol"in b&&"iterator"in Symbol,blob:"FileReader"in b&&"Blob"in b&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in b,arrayBuffer:"ArrayBuffer"in b};if(S.arrayBuffer)var A=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],I=ArrayBuffer.isView||function(e){return e&&A.indexOf(Object.prototype.toString.call(e))>-1};a.prototype.append=function(e,t){e=r(e),t=o(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},a.prototype.delete=function(e){delete this.map[r(e)]},a.prototype.get=function(e){return e=r(e),this.has(e)?this.map[e]:null},a.prototype.has=function(e){return this.map.hasOwnProperty(r(e))},a.prototype.set=function(e,t){this.map[r(e)]=o(t)},a.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},a.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),s(e)},a.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),s(e)},a.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),s(e)},S.iterable&&(a.prototype[Symbol.iterator]=a.prototype.entries);var T=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var P=[301,302,303,307,308];E.redirect=function(e,t){if(-1===P.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})};var C=b.DOMException;try{new C}catch(e){C=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},C.prototype=Object.create(Error.prototype),C.prototype.constructor=C}y.polyfill=!0,b.fetch||(b.fetch=y,b.Headers=a,b.Request=g,b.Response=E)},function(e,t,n){var i=n(188);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(7),r=n(113),o=n(2)("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var i=n(81),r=n(63).getWeak,o=n(8),s=n(7),a=n(79),u=n(80),c=n(38),l=n(25),f=n(85),d=c(5),p=c(6),h=0,_=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return d(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var c=e(function(e,i){a(e,c,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=i&&u(i,n,e[o],e)});return i(c.prototype,{delete:function(e){if(!s(e))return!1;var n=r(e);return!0===n?_(f(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function(e){if(!s(e))return!1;var n=r(e);return!0===n?_(f(this,t)).has(e):n&&l(n,this._i)}}),c},def:function(e,t,n){var i=r(o(t),!0);return!0===i?_(e).set(t,n):i[e._i]=n,e},ufstore:_}},function(e,t,n){"use strict";var i=n(5),r=n(1),o=n(18),s=n(81),a=n(63),u=n(80),c=n(79),l=n(7),f=n(9),d=n(82),p=n(56),h=n(115);e.exports=function(e,t,n,_,g,v){var m=i[e],E=m,y=g?"set":"add",b=E&&E.prototype,S={},A=function(e){var t=b[e];o(b,e,"delete"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof E&&(v||b.forEach&&!f(function(){(new E).entries().next()}))){var I=new E,T=I[y](v?{}:-0,1)!=I,P=f(function(){I.has(1)}),C=d(function(e){new E(e)}),O=!v&&f(function(){for(var e=new E,t=5;t--;)e[y](t,t);return!e.has(-0)});C||(E=t(function(t,n){c(t,E,e);var i=h(new m,t,E);return void 0!=n&&u(n,g,i[y],i),i}),E.prototype=b,b.constructor=E),(P||O)&&(A("delete"),A("has"),g&&A("get")),(O||T)&&A(y),v&&b.clear&&delete b.clear}else E=_.getConstructor(t,e,g,y),s(E.prototype,n),a.NEED=!0;return p(E,e),S[e]=E,r(r.G+r.W+r.F*(E!=m),S),v||_.setStrong(E,e,g),E}},function(e,t,n){var i=n(7),r=n(8),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n(35)(Function.call,n(86).f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){"use strict";var i=n(58),r=n(51),o=n(56),s={};n(24)(s,n(2)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(25),r=n(29),o=n(71)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=new Error("The IDCTA service timed-out."),r=new Error("The IDCTA service is unavailable."),o={timeOut:i,unavailable:r};t.default=o},function(e,t,n){"use strict";function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function r(e){var t=o();return function(){var n,i=(0,p.default)(e);if(t){var r=(0,p.default)(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return(0,d.default)(this,n)}}function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}n(0),n(20),n(13),n(6),n(10),n(14),n(21),n(11),n(22),n(19),n(15),n(11),n(20),n(13),n(6),n(10),n(14),n(0),n(21);var s=n(4),a=n(46);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(22),n(19),n(15);var u=s(n(119)),c=s(n(42)),l=s(n(43)),f=s(n(44)),d=s(n(45)),p=s(n(47)),h=s(n(3)),_=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(r,s,u):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}(n(88)),g=function(e){return function(){e.gmi.sendStatsEvent("settings","close"),e.closeSettingsView()}},v=function(e){function t(e){var i;return(0,c.default)(this,t),i=n.call(this,e),i.setInitialState(e),i.keyIsPressed=!1,i}(0,f.default)(t,e);var n=r(t);return(0,l.default)(t,[{key:"componentDidMount",value:function(){_.init(this.modalDialogElement,g(this.props))}},{key:"getStateFromGmi",value:function(e,t){return void 0!==e[t]?!0===e[t]:e.gameData&&void 0!==e.gameData[t]?!0===e.gameData[t]:void 0}},{key:"setInitialState",value:function(e){var t=this,n=e.gmi.getAllSettings();this.state={},this.initialState={},this.state.titleHasFocus=!0,e.gmiOptions.settingsConfig&&e.gmiOptions.settingsConfig.pages&&e.gmiOptions.settingsConfig.pages.length&&e.gmiOptions.settingsConfig.pages.forEach(function(e){e.settings.forEach(function(e){var i=e.key.toLowerCase(),r="setting-".concat(i),o=t.getStateFromGmi(n,i);t.state[r]=o,t.initialState[i]=o})})}},{key:"interactWithGmi",value:function(e,t,n){var i={muted:this.props.gmi.setMuted,audio:this.props.gmi.setAudio,subtitles:this.props.gmi.setSubtitles,motion:this.props.gmi.setMotion};t in i?i[t](n):this.props.gmi.setGameData(t,n),this.props.gmi.sendStatsEvent(t,n?"on":"off")}},{key:"handleToggle",value:function(e,t){var n="setting-".concat(t),i={},r=!this.state[n];i[n]=r,this.setState(i),this.interactWithGmi(e,t,r),e.onSettingChanged(t,r)}},{key:"handleKeyDown",value:function(e){var t=32===e.keyCode,n=13===e.keyCode;9===e.keyCode||e.preventDefault(),(t||n)&&!1===this.keyIsPressed&&(e.target.click(),this.keyIsPressed=!0)}},{key:"handleKeyUp",value:function(){this.keyIsPressed=!1}},{key:"renderToggle",value:function(e,t){var n=this,i=!0===this.state["setting-".concat(t)],r=i?"on":"off",o="cage-setting__toggle_button cage-setting__toggle_button--".concat(r),s=i?36:16,a={id:"".concat(t,"-button"),className:"cage-setting__toggle-container ".concat(o),role:"checkbox",tabIndex:"0","aria-checked":i,"aria-label":t,onClick:function(){n.handleToggle(e,t)},onKeyDown:this.handleKeyDown.bind(this),onKeyUp:this.handleKeyUp.bind(this)};return h.default.createElement("div",a,h.default.createElement("svg",{className:"cage-setting__toggle-icon",viewBox:"0 0 52 32",preserveAspectRatio:"xMaxYMin meet",width:"52",height:"32",focusable:"false"},h.default.createElement("svg",{width:"100%",height:"100%",focusable:"false"},h.default.createElement("rect",{className:"cage-setting__toggle-outline",fill:"#D8D8D8",x:"0",y:"0",width:"100%",height:"100%",rx:"16"}),h.default.createElement("ellipse",{className:"cage-setting__toggle-slider",fill:"#FFFFFF",cx:s,cy:"16.054902",rx:"14",ry:"14.054902"}))))}},{key:"renderCloseButton",value:function(){var e={"aria-label":"close settings",className:"cage-overlay__close-button",type:"button",tabIndex:"0",onKeyDown:this.handleKeyDown.bind(this),onKeyUp:this.handleKeyUp.bind(this)};return h.default.createElement("button",(0,u.default)({type:"button"},e),h.default.createElement("svg",{className:"cage-overlay__close-icon",viewBox:"0 0 48 48",preserveAspectRatio:"xMaxYMin meet",width:"48px",height:"48px",focusable:"false"},h.default.createElement("svg",{width:"100%",height:"100%",focusable:"false"},h.default.createElement("path",{className:"cage-overlay__close-icon-circle",d:"M24,48 L24,48 C10.7451429,48 0,37.2548571 0,24 L0,24 C0,10.7451429 10.7451429,0 24,0 L24,0 C37.2548571,0 48,10.7451429 48,24 L48,24 C48,37.2548571 37.2548571,48 24,48"}),h.default.createElement("polygon",{className:"cage-overlay__close-icon-cross",fill:"#50505D",points:"26.0225143 23.9948571 33.1390857 31.1182857 31.1196571 33.1377143 23.9962286 26.0211429 16.8796571 33.1377143 14.8533714 31.1182857 21.9768 23.9948571 14.8533714 16.8782857 16.8796571 14.852 23.9962286 21.9754286 31.1196571 14.852 33.1390857 16.8782857"}))))}},{key:"renderSetting",value:function(e,t,n,i){var r="".concat(i,"-").concat(n),o=t.key.toLowerCase(),s=h.default.createElement("label",null,h.default.createElement("div",{className:"cage-setting__info",htmlFor:"".concat(o,"-button")},h.default.createElement("div",{className:"cage-setting__title"},t.title),h.default.createElement("div",{className:"cage-setting__description"},t.description)),h.default.createElement("div",{className:"cage-setting__toggle"},this.renderToggle(e,o)));return h.default.createElement("li",{key:r,className:"cage-setting"},s)}},{key:"renderSettingsList",value:function(e){var t=this;return e.gmiOptions.settingsConfig.pages.map(function(n,i){var r=n.settings.map(function(n,r){return t.renderSetting(e,n,r,i)}),o="".concat(n,"-").concat(i);return h.default.createElement("li",{key:"".concat(n,"-").concat(o)},h.default.createElement("div",{className:"cage-overlay__subheading",key:"".concat(o,"-subheading")},n.title),h.default.createElement("ul",null,r))})}},{key:"render",value:function(){var e=this,t="".concat(this.props.isMobile?"cage-overlay__modal--mobile":"");return h.default.createElement("div",{className:"cage-overlay"},h.default.createElement("div",{className:t,"aria-labelledby":"settings-label",ref:function(t){e.modalDialogElement=t}},h.default.createElement("div",{className:"cage-overlay__title"},this.renderCloseButton(),h.default.createElement("div",{id:"settings-label",className:"cage-overlay__title-text"},"Settings")),h.default.createElement("div",{className:"cage-overlay__content"},h.default.createElement("form",null,h.default.createElement("ul",null,this.renderSettingsList(this.props))))))}}]),t}(h.default.Component);v.displayName="Childrens-Games-View__Settings-Screen",v.propTypes={isMobile:h.default.PropTypes.bool.isRequired,gmi:h.default.PropTypes.object.isRequired,gmiOptions:h.default.PropTypes.object.isRequired,closeSettingsView:h.default.PropTypes.func.isRequired,onSettingChanged:h.default.PropTypes.func.isRequired};var m=v;t.default=m},function(e,t,n){var i=n(5),r=n(34),o=n(53),s=n(121),a=n(16).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},function(e,t,n){var i=n(39),r=n(84),o=n(64);e.exports=function(e){var t=i(e),n=r.f;if(n)for(var s,a=n(e),u=o.f,c=0;a.length>c;)u.call(e,s=a[c++])&&t.push(s);return t}},function(e,t,n){var i=n(26),r=n(89).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return r(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):r(i(e))}},function(e,t,n){"use strict";var i=n(16),r=n(51);e.exports=function(e,t,n){t in e?i.f(e,t,r(0,n)):e[t]=n}},function(e,t,n){var i=n(90),r=n(41);e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var i=n(2)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function r(e){var t=o();return function(){var n,i=(0,d.default)(e);if(t){var r=(0,d.default)(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return(0,f.default)(this,n)}}function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}n(0),n(20),n(13),n(6),n(10),n(14),n(21),n(11),n(12),n(11),n(20),n(13),n(6),n(10),n(14),n(0),n(21);var s=n(4),a=n(46);Object.defineProperty(t,"__esModule",{value:!0}),t.AchievementNotification=void 0,n(12);var u=s(n(42)),c=s(n(43)),l=s(n(44)),f=s(n(45)),d=s(n(47)),p=s(n(3)),h=s(n(91)),_=s(n(123)),g=n(124),v=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(r,s,u):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}(n(204)),m=function(e){function t(e){var i;return(0,u.default)(this,t),i=n.call(this,e),i.toastQueue=[],i.notificationPlaying=!1,i.state={notificationKey:void 0,notificationName:void 0,notificationDescription:void 0,notificationPosition:void 0,gmi:e.gmi},i}(0,l.default)(t,e);var n=r(t);return(0,c.default)(t,[{key:"componentDidMount",value:function(){v.init(this.state.gmi.getAllSettings,window)}},{key:"componentWillReceiveProps",value:function(e){e.notificationKey!==this.props.notificationKey&&this.toastQueue.push(e),this.queueProceed()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.clearNotification),this.clearState()}},{key:"setupNotification",value:function(){this.notificationPlaying=!0,this.configPath=this.state.gmi.embedVars.configPath,this.iconTitle=this.state.notificationKey.toLowerCase().replace(/_/g,"-"),this.notificationStyle={backgroundImage:"url(".concat((0,h.default)(),"/assets/achievements/achievementNotiBox.svg)")},this.notificationTrophyStyle={backgroundImage:"url(".concat((0,h.default)(),"/assets/achievements/achievementNotiTrophy.svg)")}}},{key:"clearState",value:function(){this.notificationPlaying=!1,this.setState({notificationKey:void 0,notificationName:void 0,notificationDescription:void 0})}},{key:"playAnimation",value:function(e){var t=this;e&&(this.setState({notificationKey:e.notificationKey,notificationName:e.notificationName,notificationDescription:e.notificationDescription,notificationPosition:e.notificationPosition,gmi:e.gmi}),clearTimeout(this.clearNotification),this.clearNotification=setTimeout(function(){t.clearState(),t.queueProceed()},7200))}},{key:"queueProceed",value:function(){if(!this.notificationPlaying){var e=this.toastQueue.shift();this.playAnimation(e)}}},{key:"renderNotification",value:function(){return this.setupNotification(),v.play("notification"),p.default.createElement("div",{className:"cage-achievement-toast__container",style:this.notificationStyle},p.default.createElement("img",{className:"cage-achievement-toast__icon",alt:this.state.notificationName,src:(0,g.getAchievementsPath)(this.state.gmi.gameDir,this.configPath,"".concat(this.iconTitle,".png"))}),p.default.createElement("div",{className:"cage-achievement-toast__inner"},p.default.createElement("div",{className:"cage-achievement-toast__trophy",style:this.notificationTrophyStyle}),p.default.createElement("div",{className:"cage-achievement-toast__title"},"Achievement Unlocked"),p.default.createElement("div",{className:"cage-achievement-toast__name"},p.default.createElement(_.default,null),this.state.notificationName),p.default.createElement("div",{className:"cage-achievement-toast__description"},this.state.notificationDescription)))}},{key:"render",value:function(){var e="cage-achievement-notification--".concat("top"===this.state.notificationPosition?"top":"bottom");return p.default.createElement("div",{className:"cage-achievement-notification ".concat(e)},this.state.notificationKey&&this.renderNotification())}}]),t}(p.default.Component);t.AchievementNotification=m,m.displayName="Childrens-Games-View__Achievements-Notification",m.propTypes={notificationKey:p.default.PropTypes.oneOfType([p.default.PropTypes.string,p.default.PropTypes.bool]),notificationName:p.default.PropTypes.oneOfType([p.default.PropTypes.string,p.default.PropTypes.bool]),notificationDescription:p.default.PropTypes.oneOfType([p.default.PropTypes.string,p.default.PropTypes.bool]),gmi:p.default.PropTypes.object.isRequired}},function(e,t,n){"use strict";n(0),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.play=t.init=void 0;var r,o,s=i(n(91)),a={},u=function(e){return e.AudioContext||e.webkitAudioContext},c=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){return r.decodeAudioData(n.response,t)},n.send()},l=function(e,t){o=e;var n=u(t);if(n){r=new n,c("".concat((0,s.default)(),"/assets/achievements/notification.mp4"),function(e){a.notification=e});var i=function e(){r.resume(),document.removeEventListener("touchstart",e,!0),document.removeEventListener("touchend",e,!0),document.removeEventListener("click",e,!0)};document.addEventListener("touchstart",i,!0),document.addEventListener("touchend",i,!0),document.addEventListener("click",i,!0)}};t.init=l;var f=function(e){var t=r.createBufferSource();return t.connect(r.destination),t.buffer=e,t.loop=!1,t.start=t.start||t.noteOn,t},d=function(e){r&&!o().muted&&f(a[e]).start(0)};t.play=d},function(e,t,n){"use strict";function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function r(e){var t=o();return function(){var n,i=(0,d.default)(e);if(t){var r=(0,d.default)(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return(0,f.default)(this,n)}}function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}n(0),n(20),n(13),n(6),n(10),n(14),n(21),n(11),n(12),n(33),n(125),n(15),n(19),n(11),n(20),n(13),n(6),n(10),n(14),n(0),n(21);var s=n(4),a=n(46);Object.defineProperty(t,"__esModule",{value:!0}),t.AchievementsScreen=void 0;var u=s(n(42)),c=s(n(43)),l=s(n(44)),f=s(n(45)),d=s(n(47)),p=s(n(119)),h=s(n(206));n(12),n(33),n(125),n(15),n(19);var _=s(n(3)),g=s(n(91)),v=s(n(123)),m=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(r,s,u):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}(n(88)),E=n(124),y=function(e){return function(){return e.gmi.achievements.show(!1)}},b=function(e){var t=e.maxProgress,n=e.progress||0;return!(!t||n>=t)&&_.default.createElement("div",null,_.default.createElement("progress",{max:t,value:n,"aria-valuenow":n,"aria-valuemin":"0","aria-valuemax":t}),n," / ",t)},S=function(e){return _.default.createElement("span",{className:"cage-achievement__hintline"}," ",_.default.createElement("span",{className:"cage-achievement__hintline-prefix"},e.additional.prefix,":")," ",_.default.createElement("span",{className:"cage-achievement__hintline-text"},e.additional.text))},A=function(e,t){return function(n){var i="".concat((0,g.default)(),"/assets/achievements/lock.svg"),r=n.key.toLowerCase().replace(/_/g,"-"),o=(0,E.getAchievementsPath)(e,t,"".concat(r,".png")),s=["cage-achievement"].concat((0,h.default)(n.achieved?[]:["cage-achievement--locked"])),a={className:"cage-achievement__icon",src:n.achieved?o:i,"aria-label":"Achievement ".concat(n.achieved?"unlocked":"locked"),width:"74px",height:"74px"};return _.default.createElement("li",{className:s.join(" "),key:n.key},_.default.createElement("img",(0,p.default)({},a,{alt:n.name})),_.default.createElement("div",{className:"cage-achievement__inner"},_.default.createElement(v.default,null),_.default.createElement("h2",{className:"cage-achievement__title"},n.name),_.default.createElement("div",{className:"cage-achievement__description"},n.description,n.additional&&S(n)),b(n)))}},I=function(e,t){return t.achieved-e.achieved},T=function(e,t){var n=(e.progress?e.progress:0)/(e.maxProgress?e.maxProgress:1);return(t.progress?t.progress:0)/(t.maxProgress?t.maxProgress:1)-n},P=function(e,t){return I(e,t)||T(e,t)},C=function(e){var t=e.gmi.embedVars.configPath,n=e.gmi.gameDir,i=e.gmi.achievements.get();return i.sort(P),_.default.createElement("ul",null,i.map(A(n,t)))},O=function(e){function t(e){var i;return(0,u.default)(this,t),i=n.call(this,e),i.setInitialState(e),i.keyIsPressed=!1,i}(0,l.default)(t,e);var n=r(t);return(0,c.default)(t,[{key:"componentDidMount",value:function(){this.props.gmi.sendStatsEvent("achievements","open"),this.props.gmi.setStatsScreen("achievements"),m.init(this.modalDialogElement,y(this.props))}},{key:"setInitialState",value:function(){this.state={},this.initialState={}}},{key:"handleKeyDownOnCloseButton",value:function(e){var t=32===e.keyCode,n=13===e.keyCode;9===e.keyCode||e.preventDefault(),(t||n)&&!1===this.keyIsPressed&&e.target.click()}},{key:"renderCloseButton",value:function(){var e={"aria-label":"close achievements",className:"cage-overlay__close-button",type:"button",tabIndex:"0",onKeyDown:this.handleKeyDownOnCloseButton.bind(this)};return _.default.createElement("button",(0,p.default)({type:"button"},e),_.default.createElement("svg",{className:"cage-overlay__close-icon",viewBox:"0 0 48 48",preserveAspectRatio:"xMaxYMin meet",width:"44px",height:"44px",focusable:"false"},_.default.createElement("svg",{width:"100%",height:"100%",focusable:"false"},_.default.createElement("path",{className:"cage-overlay__close-icon-circle",d:"M24,48 L24,48 C10.7451429,48 0,37.2548571 0,24 L0,24 C0,10.7451429 10.7451429,0 24,0 L24,0 C37.2548571,0 48,10.7451429 48,24 L48,24 C48,37.2548571 37.2548571,48 24,48"}),_.default.createElement("polygon",{className:"cage-overlay__close-icon-cross",fill:"rgb( 42, 32, 92)",points:"26.0225143 23.9948571 33.1390857 31.1182857 31.1196571 33.1377143 23.9962286 26.0211429 16.8796571 33.1377143 14.8533714 31.1182857 21.9768 23.9948571 14.8533714 16.8782857 16.8796571 14.852 23.9962286 21.9754286 31.1196571 14.852 33.1390857 16.8782857"}))))}},{key:"render",value:function(){var e=this;return _.default.createElement("div",{className:"cage-overlay"},_.default.createElement("div",{className:"cage-achievements","aria-labelledby":"achievements-label",ref:function(t){e.modalDialogElement=t}},_.default.createElement("div",{className:"cage-overlay__title"},this.renderCloseButton(),_.default.createElement("div",{className:"cage-overlay__title-text",id:"achievements-label"},"Achievements")),_.default.createElement("div",{className:"cage-overlay__content"},C(this.props))))}}]),t}(_.default.Component);t.AchievementsScreen=O,O.displayName="Childrens-Games-View__Achievements-Screen",O.propTypes={gmi:_.default.PropTypes.shape({embedVars:_.default.PropTypes.shape({configPath:_.default.PropTypes.string}),achievements:_.default.PropTypes.shape({get:_.default.PropTypes.func}),gameDir:_.default.PropTypes.string,setStatsScreen:_.default.PropTypes.func,sendStatsEvent:_.default.PropTypes.func})}},function(e,t,n){function i(e){return r(e)||o(e)||s(e)||a()}var r=n(207),o=n(208),s=n(209),a=n(210);e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){function i(e){if(Array.isArray(e))return r(e)}var r=n(126);e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){function i(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}var r=n(126);e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.setUrlOrigin=void 0;var i=function(e,t,n){var i=n.Morph.config.pushEnv,r="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk";if(i){var o=n.location.port?":".concat(n.location.port):"";r="".concat(n.location.protocol,"//").concat(n.location.hostname).concat(o)}else"local"===t&&(r="https://web.archive.org/web/20211103195646/http://localhost:8000");return r+e};t.setUrlOrigin=i},function(e,t,n){!function(t,n){e.exports=function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(i,r,function(t){return e[t]}.bind(null,r));return i},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=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i=n(18),r=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,i){void 0===i&&(i=!1);var r=e.getVersionPrecision(t),o=e.getVersionPrecision(n),s=Math.max(r,o),a=0,u=e.map([t,n],function(t){var n=s-e.getVersionPrecision(t),i=t+new Array(n+1).join(".0");return e.map(i.split("."),function(e){return new Array(20-e.length).join("0")+e}).reverse()});for(i&&(a=s-Math.min(r,o)),s-=1;s>=a;){if(u[0][s]>u[1][s])return 1;if(u[0][s]===u[1][s]){if(s===a)return 0;s-=1}else if(u[0][s]<u[1][s])return-1}},e.map=function(e,t){var n,i=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)i.push(t(e[n]));return i},e.find=function(e,t){var n,i;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(n=0,i=e.length;n<i;n+=1){var r=e[n];if(t(r,n))return r}},e.assign=function(e){for(var t,n,i=e,r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[e].concat(o));for(t=0,n=o.length;t<n;t+=1)!function(){var e=o[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach(function(t){i[t]=e[t]})}();return e},e.getBrowserAlias=function(e){return i.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return i.BROWSER_MAP[e]||""},e}();t.default=r,e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}t.__esModule=!0,t.default=void 0;var r,o=(r=n(91))&&r.__esModule?r:{default:r},s=n(18),a=function(){function e(){}var t,n,r;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new o.default(e,t)},e.parse=function(e){return new o.default(e).getResult()},t=e,r=[{key:"BROWSER_MAP",get:function(){return s.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return s.ENGINE_MAP}},{key:"OS_MAP",get:function(){return s.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return s.PLATFORMS_MAP}}],(n=null)&&i(t.prototype,n),r&&i(t,r),e}();t.default=a,e.exports=t.default},91:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var r=i(n(92)),o=i(n(93)),s=i(n(94)),a=i(n(95)),u=i(n(17)),c=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=u.default.find(r.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=u.default.find(o.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=u.default.find(s.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=u.default.find(a.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return u.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},i=0,r={},o=0;if(Object.keys(e).forEach(function(t){var s=e[t];"string"==typeof s?(r[t]=s,o+=1):"object"==typeof s&&(n[t]=s,i+=1)}),i>0){var s=Object.keys(n),a=u.default.find(s,function(e){return t.isOS(e)});if(a){var c=this.satisfies(n[a]);if(void 0!==c)return c}var l=u.default.find(s,function(e){return t.isPlatform(e)});if(l){var f=this.satisfies(n[l]);if(void 0!==f)return f}}if(o>0){var d=Object.keys(r),p=u.default.find(d,function(e){return t.isBrowser(e,!0)});if(void 0!==p)return this.compareVersion(r[p])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),i=e.toLowerCase(),r=u.default.getBrowserTypeByAlias(i);return t&&r&&(i=r.toLowerCase()),i===n},t.compareVersion=function(e){var t=[0],n=e,i=!1,r=this.getBrowserVersion();if("string"==typeof r)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(i=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(i=!0,n=e.substr(1)),t.indexOf(u.default.compareVersions(r,n,i))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}();t.default=c,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,r=(i=n(17))&&i.__esModule?i:{default:i},o=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:opera)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=r.default.getFirstMatch(/(?:opr|opios)[\s\/](\S+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:SamsungBrowser)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=r.default.getFirstMatch(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=r.default.getFirstMatch(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=r.default.getFirstMatch(/(?:swing)[\s\/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:coast)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=r.default.getFirstMatch(/(?:opt)[\s\/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=r.default.getFirstMatch(/(?:yabrowser)[\s\/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:ucbrowser)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:Maxthon|mxios)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:epiphany)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:puffin)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:sleipnir)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/(?:k-meleon)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=r.default.getFirstMatch(/(?:micromessenger)[\s\/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[\/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=r.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=r.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=r.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=r.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=r.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=r.default.getFirstMatch(o,e)||r.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=r.default.getFirstMatch(/(?:qupzilla)[\s\/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=r.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=r.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=r.default.getFirstMatch(/(?:MiuiBrowser)[\s\/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=r.default.getFirstMatch(/(?:chromium)[\s\/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=r.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=r.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:r.default.getFirstMatch(t,e),version:r.default.getSecondMatch(t,e)}}}];t.default=s,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,r=(i=n(17))&&i.__esModule?i:{default:i},o=n(18),s=[{test:[/Roku\/DVP/],describe:function(e){var t=r.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=r.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=r.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},n=r.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=r.default.getMacOSVersionName(t),i={name:o.OS_MAP.MacOS,version:t};return n&&(i.versionName=n),i}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=r.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=r.default.getFirstMatch(/android[\s\/-](\d+(\.\d+)*)/i,e),n=r.default.getAndroidVersionName(t),i={name:o.OS_MAP.Android,version:t};return n&&(i.versionName=n),i}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=r.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||r.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=r.default.getFirstMatch(/tizen[\/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=r.default.getFirstMatch(/PlayStation 4[\/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=s,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,r=(i=n(17))&&i.__esModule?i:{default:i},o=n(18),s=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=r.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=r.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=s,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,r=(i=n(17))&&i.__esModule?i:{default:i},o=n(18),s=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=r.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=r.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=r.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=r.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=r.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=s,e.exports=t.default}})}()}()},function(e,t,n){"use strict";n(0),n(65),n(22),n(19),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.listenForFullscreen=void 0,n(65),n(22),n(19);var i,r,o,s=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","msfullscreenchange"],a=function(e){["requestFullscreen","webkitRequestFullscreen","mozRequestFullscreen","msRequestFullscreen"].some(function(t){return!!e[t]&&(e[t](),!0)})},u=function(e){e.removeEventListener("pointerup",i,!0),s.forEach(function(t){e.removeEventListener(t,r,!0)})},c=function(e,t,n){i=n.bind(void 0,e,t),e.addEventListener("pointerup",i,!0),e.document.body.appendChild(o)},l=function(e,t,n){var i=e.document;i.fullscreenElement||i.webkitFullscreenElement||i.msFullscreenElement||i.mozFullScreenElement||(u(e),c(e,t,n))},f=function(e,t,n){r=l.bind(void 0,e,t,n),s.forEach(function(t){e.addEventListener(t,r,!0)})},d=function e(t,n){u(t),a(n),t.document.body.removeChild(o),f(t,n,e)},p=function(e,t){o=e.document.createElement("div"),o.setAttribute("class","cage-fullscreen-capture"),c(e,t,d)};t.listenForFullscreen=p},function(e,t,n){"use strict";n(0),n(128),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(128);var r=i(n(3)),o=r.default.createClass({displayName:"Childrens-Games-View__Data-Notice",hasClickedElementBelow:!1,hasPressedEnterKey:!1,getInitialState:function(){return{showDataNotice:!1}},componentDidMount:function(){this.setState({showDataNotice:this.shouldShowDataNotice(localStorage.getItem("bbc_childrens_user_seen_data_notice"))}),this.dataNoticeElement&&this.dataNoticeElement.focus(),document.body.addEventListener("pointerup",this.hideDataNotice,!0),document.body.addEventListener("touchstart",this.hideDataNotice,!0),document.body.addEventListener("click",this.hideDataNotice,!0)},componentDidUpdate:function(){this.props.userPressedEnter&&!this.hasPressedEnterKey&&(this.hasPressedEnterKey=!0,this.hideDataNotice())},removeEventListeners:function(){document.body.removeEventListener("pointerup",this.hideDataNotice,!0),document.body.removeEventListener("touchstart",this.hideDataNotice,!0),document.body.removeEventListener("click",this.hideDataNotice,!0)},componentWillUnmount:function(){this.removeEventListeners()},shouldShowDataNotice:function(e){return!e||(Date.now()-e)/864e5>=30},hideDataNotice:function(){this.state.showDataNotice&&localStorage.setItem("bbc_childrens_user_seen_data_notice",Date.now()),this.setState({showDataNotice:!1}),this.removeEventListeners()},renderDataNotice:function(){var e=this,t={className:"data-notice",role:"alert","aria-live":"assertive",ref:function(t){e.dataNoticeElement=t}};return r.default.createElement("div",t,"When you play a game we save your progress and choice of settings on your device")},render:function(){return this.state.showDataNotice&&this.renderDataNotice()}});o.propTypes={userPressedEnter:r.default.PropTypes.bool.isRequired};var s=o;t.default=s},function(e,t,n){"use strict";function i(e){return"msMaxTouchPoints"in e.navigator?e.navigator.msMaxTouchPoints>0:"ontouchstart"in e||"onmsgesturechange"in e}function r(e){return e.width+e.height<1160}n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.isMobile=void 0;var o=function(e,t){return i(e)||r(t)};t.isMobile=o},function(e,t,n){"use strict";function i(e){return["versionOverride","viewNonPublished"].indexOf(e)>-1}function r(e,t){var n=Object.keys(t).filter(i).map(function(e){return"".concat(e,"=").concat(t[e])});return n.push("exitGameUrl=".concat(encodeURIComponent(e))),n.join("&")}function o(e,t){var n=t.game||t.gid,i=r(e.location.href,t);return"/games/embed/".concat(n,"?").concat(i)}n(0),n(50),n(15),n(32),n(31),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=o,n(50),n(15),n(32),n(31)},function(e,t,n){"use strict";n(0),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;var r=i(n(83)),o=function(e){var t="".concat(e,"/manifest.json"),n="".concat(e,"/service-worker.js");"serviceWorker"in navigator&&((0,r.default)(t,{method:"HEAD"}).then(function(e){200===e.status&&document.querySelector("#placeholder-manifest").setAttribute("href",t)}),window.addEventListener("load",function(){(0,r.default)(n,{method:"HEAD"}).then(function(e){200===e.status&&navigator.serviceWorker.register(n)})}))};t.init=o},function(e,t,n){"use strict";n(130),n(12),n(131),n(132),n(50),n(133),n(130),n(12),n(131),n(132),n(50),n(133),function(){function t(e,t,n){return"".concat(window.orb.partialCookieOvenUrl,".").concat(e,"/").concat(t,"/").concat(n)}function n(e,t){t&&t(new Error(e))}function i(e){var t=new XMLHttpRequest;return t.withCredentials=!0,t.onload=function(){e&&e(null,t.status)},t.onerror=function(i){n("Request to cross domain cookie service encountered an error with code".concat(t.status,". ").concat(i),e)},t.onabort=function(){n("Request to cross domain cookie service was aborted.",e)},t.ontimeout=function(){n("Request to cross domain cookie service timed out.",e)},t}function r(e){return{com:"co.uk","co.uk":"com"}[e.match(/(co.uk|com)/)[0]]}function o(e,t,n){t="".concat(t).replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent),n=n||{};var i="".concat(e,"=").concat(t);return i+=n.path?";path=".concat(n.path):"",i+=n.domain?";domain=".concat(n.domain):"",i+=n.expires?";expires=".concat(n.expires.toUTCString()):"",i+=n.secure?";secure":""}function s(e,t){if(void 0===e)return null;var n={};n.expires=new Date(0),t&&(n.domain=t.domain,n.path=t.path),document.cookie=o(e,"removed",n)}function a(e,t){var n=window.location.pathname.split("/");for(s(e,t);n.length;){var i=n.join("/");""===i&&(i="/"),s(e,{domain:t,path:i}),s(e,{domain:".".concat(t),path:i}),n.pop()}}function u(e){var t=window.location.hostname.split(".");for(s(e),a(e);t.length&&-1==="|co.uk|com|".indexOf("|".concat(t.join("."),"|"));){if(t.length){var n=t.join(".");s(e,{domain:n}),a(e,n)}t.shift()}}function c(e){var t=JSON.stringify(e);if(void 0!==E[t])return E[t];var n="";for(var i in e)e.hasOwnProperty(i)&&y[i]&&!0===e[i]&&(n+=(n?"|":"")+y[i]);return E[t]=new RegExp("^(".concat(n||".*",")$"),"i"),E[t]}function l(){var e=new RegExp("(?:^|; ?)".concat(v,"=(\\d)(\\d)(\\d)($|;)")),t=document.cookie.match(e);return t?{ads:"1"===t[1],personalisation:"1"===t[2],performance:"1"===t[3],necessary:!0}:m}function f(){var e=new Date;return e.setYear(e.getFullYear()+1),e}function d(e,t,n){var i=f(),r="".concat(e.ads?1:0).concat(e.personalisation?1:0).concat(e.performance?1:0),o=_._getCurrentDomain();_.set(v,r,{domain:o,path:"/",expires:i,crossDomainEnabled:t},n);var s=new Date(i.getTime());return s.setMonth(s.getMonth()+1),_.set(g,i.getTime(),{domain:o,path:"/",expires:s}),e}function p(e){var t="".concat(e).match(/^([^=]+)(?==)/);return t&&t.length?t[0]:""}function h(e){return e=e.replace(/[^#$&+\^`|]/g,encodeURIComponent),e=e.replace(/\(/g,"%28").replace(/\)/g,"%29")}var _=e.exports={};_.POLICY_REFRESH_DATE_MILLIS=new Date(2015,4,21,0,0,0,0).getTime();var g="ckns_policy_exp",v="ckns_policy",m={ads:!0,personalisation:!0,performance:!0,necessary:!0},E={},y={personalisation:"ckps_.+|X-AB-iplayer-.+|ACTVTYMKR|BBC_EXAMPLE_COOKIE|BBCIplayer|BBCiPlayerM|BBCIplayerSession|BBCMediaselector|BBCPostcoder|bbctravel|CGISESSID|ed|food-view|forceDesktop|h4|IMRID|locserv|MyLang|myloc|NTABS|ttduserPrefs|V5|WEATHER|BBCScienceDiscoveryPlaylist_.+|bitratePref|correctAnswerCount|genreCookie|highestQuestionScore|incorrectAnswerCount|longestStreak|MSCSProfile|programmes-oap-expanded|quickestAnswer|score|servicePanel|slowestAnswer|totalTimeForAllFormatted|v|BBCwords|score|correctAnswerCount|highestQuestionScore|hploc|BGUID|BBCWEACITY|mstouch|myway|BBCNewsCustomisation|cbbc_anim|cbeebies_snd|bbcsr_usersx|cbeebies_rd|BBC-Latest_Blogs|zh-enc|pref_loc|m|bbcEmp.+|recs-.+|_lvd2|_lvs2|tick|_fcap_CAM1|_rcc2",performance:"ckpf_.+|BBCLiveStatsClick|id|_em_.+|cookies_enabled|mbox|mbox-admin|mc_.+|omniture_unique|s_.+|sc_.+|adpolicyAdDisplayFrequency|ns_session|ns_cookietest|ns_ux|NO-SA|tr_pr1|gvsurvey|bbcsurvey|si_v|sa_labels|obuid|mm_.+|mmid|mmcore.+|mmpa.+",ads:"ckad_.+|rsi_segs|c",necessary:"optimizelyEndUserId|ckns_.+|BBC-UID|blq\\.dPref|idrxvr|s1|atidvisitor|atuserid|sa_labels|_cb_ls|_cb_svref|_chartbeat2|_chartbeat5|_chartbeat4|_cb|_cb_cp|SSO2-UID|BBC-H2-User|rmRpDetectReal|bbcComSurvey|IDENTITY_ENV|IDENTITY|IDENTITY-HTTPS|IDENTITY_SESSION|BBCCOMMENTSMODULESESSID|bbcBump.+|IVOTE_VOTE_HISTORY|pulse|BBCPG|BBCPGstat|ecos\\.dt|_sm_au_[c|d]|AMAuthCookie|AM_REDIRECT_BACK_SERVER_URL|AWSELB|(devN|uatN|n)ightfall(Session|Refresh)Token"};_.cookieOvenRequest=function(e,t,n){try{e.open("GET",t,!0),e.send()}catch(e){n&&n(e)}},_.cookieOvenClient=function(e,n,o,s){if("withCredentials"in new XMLHttpRequest){var a=[v];try{if(!o)throw new Error("Cannot make request to cross domain cookie service when domain is not set.");if(a.indexOf(e)<=-1)throw new Error("Cookie name is not in the whitelist accepted by the cross domain cookie service.");var u=r(o),c=i(s),l=t(u,e,n);_.cookieOvenRequest(c,l,s)}catch(e){s&&s(e)}}else s(new Error("Cannot make request to cross domain cookie service as this browser does not support XmlHttpRequest with credentials."))},_.set=function(e,t,n,i){var r,s;if(void 0!==t){r=h(e),s=o(r,t,n);var a=n&&n.crossDomainEnabled;_.isAllowed(r)&&a&&_.cookieOvenClient(e,t,n.domain,i)}else r=p(e),s=e;_.isAllowed(r)&&(document.cookie=s)},_.isAllowed=function(e){var t,n;return"ckpf_whatever"==e||(t=_.readPolicy(),n=c(t),n.test(e))},_.readPolicy=function(e){var t=l();return e?t[e]:t},_.analyticsPolicyString=function(){var e=l();return"ad".concat(e.ads,"ps").concat(e.personalisation,"pf").concat(e.performance)},_.get=function(e){return e?decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*".concat(encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&"),"\\s*\\=\\s*([^;]*).*$)|^.*$")),"$1"))||null:document.cookie},_.isCookiePolicySet=function(){return null!==_.get(v)},_.setDefaultCookiesSingleDomain=function(){d(m,!1)},_._setPolicy=function(e,t,n,i){var r=_.readPolicy();r[e]=!!t,d(r,!n,i)},_.cookiesEnabled=function(){var e="ckns_cookietest".concat(Math.floor(1e5*Math.random()));return this.set(e,"1"),!!this.get(e)&&(this.delete(e),!0)},_.delete=function(e,t){e=h(e),s(e,t)},_.del=_.delete,_._crunch=function(){u("");for(var e=document.cookie.split(";"),t=0;t<e.length;t+=1){var n=e[t].split("="),i=n[0].trim();this.isAllowed(i)||u(i)}},_._getCurrentDomain=function(){try{return window.location.hostname.toLowerCase().match(/.*(bbc\.co\.uk|bbc\.com)\/*/)[1]}catch(e){return}},_._getPolicy=_.readPolicy,String.prototype.trim||function(){var e=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(e,"")}}(),_._crunch(),function(e,t){var n=!1,i=!0,r=e.document,o=r.documentElement,s=r.addEventListener,a=s?"addEventListener":"attachEvent",u=s?"removeEventListener":"detachEvent",c=s?"":"on",l=function i(o){"readystatechange"===o.type&&"complete"!==r.readyState||(("load"===o.type?e:r)[u](c+o.type,i,!1),!n&&(n=!0)&&t.call(e,o.type||o))};if("complete"===r.readyState)t.call(e,"lazy");else{if(!s&&o.doScroll){try{i=!e.frameElement}catch(e){}i&&function e(){try{o.doScroll("left")}catch(t){return void setTimeout(e,50)}l("poll")}()}r[a]("".concat(c,"DOMContentLoaded"),l,!1),r[a]("".concat(c,"readystatechange"),l,!1),e[a]("".concat(c,"load"),l,!1)}}(window,function(){_._crunch()}),window.addEventListener?window.addEventListener("beforeunload",function(){_._crunch()},!1):window.attachEvent?window.attachEvent("onbeforeunload",function(){_._crunch()}):window.onbeforeunload=function(){_._crunch()}}()},function(e,t,n){var i=n(1),r=n(41),o=n(9),s=n(220),a="["+s+"]",u="​…",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(e,t,n){var r={},a=o(function(){return!!s[e]()||u[e]()!=u}),c=r[e]=a?t(d):s[e];n&&(r[n]=c),i(i.P+i.F*a,"String",r)},d=f.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){"use strict";function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}n(20),n(13),n(6),n(10),n(14),n(0),n(21),n(30),n(20),n(13),n(10),n(14),n(0),n(21);var r=n(4),o=n(46);n(6),n(30);var s,a=r(n(83)),u=n(112),c=r(n(134)),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=s?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(129)),f=r(n(222));e.exports=function(e,t){var n=e.idAvailabilityData.body.isAvailable,i=e.idConfigData.body?JSON.parse(e.idConfigData.body):{};s=f.default,t.then(function(e){s=e}).catch(function(){});var r=function(t){var n=e.data.body.embedVars,r=n.authUrl,o=n.clientId;if(!r||!o)return!1;var s=encodeURIComponent(r),a=(new Date).getTime();return"".concat(i.identityTokenExchangeUrl,"?clientId=").concat(o,"&nonce=").concat(a,"&redirectUri=").concat(s,"&state=").concat(t,"&responseMode=query")},o=function(e){return new Promise(function(t,i){if(n){var r=(0,u.getPageToReturnToQuery)(document.location.href);l.openUrlAtWindowTop(window,"".concat(e).concat(r)),t()}else i(c.default.systemUnavailable)})},d=function(){return new Promise(function(e){return e(s.hasCookie())})},p=function(e){return Boolean(200===e||401===e)},h=function(e,t,n){return(0,a.default)(n,{credentials:"include"}).then(function(n){return p(n.status)?e(n.json()):t(c.default.authorisationSystemUnavailable)}).catch(function(){return t(c.default.authorisationSystemUnavailable)})},_=function(e,t,n){return s.initiateTokenRefresh().then(function(){return h(e,t,n)}).catch(function(){return t(c.default.tokenRefreshFailed)})},g=function(e){return console.warn("clientId or AuthUrl have not been supplied"),e(c.default.clientIdOrAuthNotSupplied)};return{status:d,signIn:function(){return o(i.signin_url)},signOut:function(){return o(i.signout_url)},register:function(){return o(i.register_url)},authorise:function(e){return d().then(function(t){return t?new Promise(function(t,i){n||i(c.default.systemUnavailable);var o=r(e);return!1===o?g(i):_(t,i,o)}):(console.warn("User not signed in."),Promise.reject(c.default.notSignedIn))})}}}},function(e,t,n){"use strict";n(0),n(6),n(30),n(0);var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(6),n(30);var r=i(n(134)),o={hasCookie:function(){return!1},policyCheck:function(){return!1},initiateTokenRefresh:function(){return Promise.reject(r.default.idctaNotReady)}};t.default=o},function(e,t,n){!function(t,n){e.exports=function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(i,r,function(t){return e[t]}.bind(null,r));return i},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=22)}([function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e){var n={};for(var i in e)try{e[i].constructor===Object?n[i]=t(e[i]):n[i]=e[i]}catch(t){n[i]=e[i]}return n}function i(e,n,r){var o=r?e:t(e);for(var s in n)try{n[s].constructor===Object?o[s]=i(o[s],n[s]):o[s]=n[s]}catch(e){o[s]=n[s]}return o}function r(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t)return!0;return!1}function o(e,n){for(var r=(n?t(e):e)||{},o=arguments,s=2,a=o.length;s<a;s++)"object"==typeof o[s]?i(r,o[s],!0):r[o[s]]=o[++s];return r}function s(e,t,n){return e||(n?a.warn("AssertionFailed: "+t):a.error("AssertionFailed: "+t)),e}var a=n(2);return{clone:t,combineObjects:i,addKV:function(e,t,n){return n?o(e,!0,t,n):o(e,!0,t)},containsValue:r,extend:o,assert:s,assertContainsValue:function(e,t,n){return s(r(e,t),n)},trim:function(e){if("string"==typeof e)return e=String.prototype.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e,t,n,i){var r={};return r[u.COMSCORE_CUSTOMER_ID]=e,r[u.COMSCORE_SITE]=t,r[u.COMSCORE_HOST]=n,r[u.SSC_HOSTNAME]=i,r}function i(e){return t(p,e,"sa.bbc.co.uk",".co.uk")}function r(e,n){return t(e,n,"scorecardresearch.com",".com")}var o=n(10),s=n(5),a=n(11),u=n(3),c=n(6),l={};Object.keys(o).map(function(e){l[e]=e});var f={};Object.keys(s).map(function(e){f[e]=e});var d={};Object.keys(a).map(function(e){d[e]=e});var p="16060501",h="18897612",_={};return _.PUBLIC_SERVICE=i("bbc"),_.PUBLIC_SERVICE_STAGE=i("stage"),_.PUBLIC_SERVICE_TEST=i("test"),_.PUBLIC_SERVICE_INT=i("int"),_.PUBLIC_SERVICE_INTRANET=i("intranet"),_.GNL=r("19293874","bbc"),_.GNL_ACCEPTANCE=r(h,"gnl-test"),_.WORLD_SERVICE=r("19999701","bbc"),_.WORLD_SERVICE_ACCEPTANCE=r(h,"ws-test"),_.WORLDWIDE_FEATURES=r("19774467","bbc"),_.WORLDWIDE_FEATURES_ACCEPTANCE=r(h,"features-test"),_.STORE_NONCOMMERCIAL=r("19774474","bbc"),_.STORE_COMMERCIAL=r("19774472","bbc"),_.BRITBOX_ACCEPTANCE=r("18897612","bbc-global-test"),_.BRITBOX=r("23239715","bbc"),{ApplicationType:{WEB:"web",MOBILE_WEB:"mobile-web",RESPONSIVE:"responsive",MOBILE_APP:"mobile-app",BIGSCREEN_HTML:"bigscreen-html",BIGSCREEN_FLASH:"bigscreen-flash",BIGSCREEN_APP:"bigscreen-app",BIGSCREEN_CAST:"bigscreen-cast",DESKTOP_APP:"desktop-app"},WindowState:{FULL:"full",NORMAL:"norm",MINIMISED:"min",MAXIMISED:"max",PICTUREINPICTURE:"picture-in-picture"},MediaIdType:{VERSION:"version",CLIP:"clip",EPISODE:"episode",SERVICE:"service",VPID:"vpid",NONPIPSCONTENTID:"nonpipscontentid",PRODUCER:"producer",BRAND:"brand",SERIES:"series"},MediaClipType:{UNDEFINED:void 0,CLIP:"clip",EPISODE:"episode"},MediaInitiationType:{UNDEFINED:void 0,USER:"user",AUTO:"auto"},AvType:{AUDIO:"audio",VIDEO:"video"},RetrievalType:{STREAM:"stream",DOWNLOAD:"download"},Form:{LONG:"long",SHORT:"short"},PIPsType:{CLIP:"clip",EPISODE:"ep"},MediaConsumptionMode:{ON_DEMAND:"ondemand",LIVE:"live",DOWNLOAD:"download"},EchoCacheMode:{OFFLINE:"offline",ALL:"all"},ManagedLabels:{EVENT_MASTER_BRAND:"event_master_brand",BBC_SITE:"bbc_site",IPLAYER_STATE:"iplayer_state",STORE_ED_TYPE:"store_ed_type",IPLAYER_AVAIL:"iplayer_avail",STORE_REFERRAL:"store_referral",BBC_HASHED_ID:"bbc_hid"},ReportingProfiles:_,EssError:{STATUS_CODE:"status_code",TIMEOUT:"timeout",JSON:"json",RUNTIME:"runtime_error"},Destinations:l,Producers:f,Masterbrands:d,EchoLabelKeys:c}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e){var t,i;n&&(t="log",i=e,"object"==typeof console&&"function"==typeof console[t]&&console[t](i))}var n=!1;return{enable:function(){n=!0},disable:function(){n=!1},getState:function(){return n},info:t,warn:t,error:function(e){if(n)throw new Error("ECHO_DEBUG: "+e)}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";return{ECHO_ENABLED:"enabled",ECHO_AUTO_START:"auto_start",ECHO_TRACE:"trace",ECHO_DEVICE_ID:"device_id",REPORTING_PROFILE:"reporting_profile",ECHO_CACHE_MODE:"cache_mode",DEBUG_MODE:"disabled",ECHO_NAME:"lib_name",ECHO_VERSION:"lib_version",USE_SSC:"use_ssc",SSC_HOSTNAME:"ssc_hostname",COMSCORE_ENABLED:"comscore.enabled",COMSCORE_HOST:"comscore.host",COMSCORE_SITE:"comscore.site",COMSCORE_CUSTOMER_ID:"comscore.customer_id",COMSCORE_PUBLISHER_SECRET:"comscore.publisher_secret",ATI_ENABLED:"ati.enabled",ATI_LOG:"ati.log",ATI_SSL_LOG:"ati.ssl_log",ATI_DOMAIN:"ati.domain",ATI_PIXEL_PATH:"ati.pixel_path",ATI_FORCE_HTTPS:"ati.force_https",ATI_CACHE_MODE_ALWAYS:"always",ATI_CACHE_MODE_REQUIRED:"required",APP_CATEGORY:"app_category",KEEPALIVE_DURATION:"keepalive_duration",DESTINATION:"bbc_destination",PRODUCER:"bbc_producer",TEST_SERVICE_ENABLED:"test.enabled",TEST_SERVICE_URL:"test.url",BARB_ENABLED:"barb.enabled",BARB_SITE_CODE:"barb.site_code",BARB_DEBUG:"barb.debug",USE_ESS:"use_ess",ESS_HOSTNAME:"ess.hostname"}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e){return e&&e.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/(^_+)|(_+$)/g,"")}function i(e){var n=t(e);return s.assert(e===n,'Label key can only contain: [a-z0-9_], and no consecutive "_"s or "_" at the begining or end, got "'+e+'". This will be sent as "'+n+'"',!0),n}function r(e){var t=e&&e.toLowerCase().replace(/[^a-z0-9\.]+/g,"_").replace(/\.+/g,".").replace(/(^_+)|(_+$)/g,"")||"no.name.page";return e!==t&&(null!==e&&"string"==typeof e&&0!==e.replace(/ */,"").length||a.error("Countername must be a non-empty string"),e&&-1!==e.search(/-/)?a.warn('Submitted countername ("'+e+'") contains at least one "-". Dashes are not permitted but, for legacy reasons, "-" and "_" are equivalent in DAx. Echo converts dashes to underscores, so the countername will be sent as "'+t+'"'):a.warn('countername may only contain: [a-z0-9._], got "'+e+'". This will be cleaned up and sent as "'+t+'"')),-1===t.search(/\.page$/)&&(t+=".page"),t}function o(e,n){var i,o="",u=n,l=(i=e,d.hasOwnProperty(i)?d[i]:c.CUSTOM);if(l===c.COUNTERNAME&&(n=r(n)),"number"==typeof n||"boolean"==typeof n)return n.toString();if("string"==typeof n){switch(l){case c.EVENT_MASTER_BRAND:o='Label value can only contain [0-9a-z], and no consecutive "_"s and no "_"s or whitespace at the start or end.',u=t(n);break;case c.STRICT:o='Strict Label values can only contain [ 0-9a-z-], and no consecutive "-"s and no "-"s or whitespace at the start or end.',u=(p=n)&&p.toLowerCase().replace(/(^\s+)|(\s+$)/g,"").replace(/[^a-z0-9]+/g,"-").replace(/(^-+)|(-+$)/g,"");break;case c.NO_CLEANSING:break;default:o="Custom Label value cannot contain whitespace at start or end or pipes (|).",u=(f=n)&&f.replace(/(^\s+)|(\s+$)/g,"").replace(/\|/g,"!")}var f,p;return o+='Got "'+n+'", will be replaced with "'+u+'"',s.assert(n===u,o,!0),u}a.error("Label must have number, boolean or string value")}var s=n(0),a=n(2),u=n(1),c=n(25),l=["player_name","ns_st_ws","bbc_site","app_type","app_name","bbc_store_pf","bbc_store_ed","bbc_store_fr","bbc_store_src"],f=["token","guardianToken","nonce","dateOfBirthDay","dateOfBirthMonth","dateOfBirthYear","dateOfBirth","permissionToken"],d={name:c.COUNTERNAME};d[u.ManagedLabels.EVENT_MASTER_BRAND]=c.EVENT_MASTER_BRAND;for(var p=0;p<l.length;p++)d[l[p]]=c.STRICT;return{cleanCounterName:r,cleanLabelKey:i,cleanLabelValue:o,cleanLanguage:function(e){if("number"==typeof e||"boolean"==typeof e)return e.toString();var t=e&&e.replace(/(^\s*)|(\s*$)/g,"").replace(/[^0-9a-zA-Z._]+/g,"-").replace(/(^-)|(-$)/g,"")||"";return s.assert(e===t,'Language label value can only contain [0-9a-zA-Z._-], and no consecutive "-"s and no - at the start or end. Got "'+e+'", will be replaced with "'+t+'"',!0),t},cleanLabels:function(e){var t,n={};for(var r in e)n[t=i(r)]=o(t,e[r]);return n},cleanCustomVariable:function(e){return e&&e.trim().replace(/\[|\]/g,"").replace(/&/g,"$").replace(/\s{1,}/g," ")},removeSensitiveInfo:function(e){if(e&&"string"==typeof e)for(p=0;p<f.length;p++){var t=new RegExp(f[p]+"=[^&]*","g");e=e.replace(t,f[p]+"=XXXX")}return e}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";return{ACCOUNT:1,AFAAN_OROMOO:2,AFRIQUE:3,AMHARIC:4,ARABIC:5,AZERI:6,BBC:7,BBC_ALBA:8,BBC_ARTS:9,BBC_ASIAN_NETWORK:10,BBC_FOOD:11,BBC_FOUR:12,BBC_HD:13,BBC_MUSIC:14,BBC_NEWS_CHANNEL:15,BBC_ONE:16,BBC_PARLIAMENT_CHANNEL:17,BBC_RADIO:18,BBC_RADIO_1:19,BBC_RADIO_1XTRA:20,BBC_RADIO_2:21,BBC_RADIO_3:22,BBC_RADIO_4:23,BBC_RADIO_4_EXTRA:24,BBC_RADIO_5_LIVE:25,BBC_RADIO_6_MUSIC:26,BBC_SCOTLAND:120,BBC_SEND:121,BBC_SHOP:27,BBC_THREE:28,BBC_TWO:29,BBC_WORLD_NEWS:30,BENGALI:31,BITESIZE:32,BRASIL:33,BRITBOX:34,BURMESE:35,CBBC:36,CBEEBIES:37,CHINESE:38,ENGLISH_REGIONS:39,GAHUZA:40,GATEWAY:41,GNL_AUTOS:42,GNL_CAPITAL:43,GNL_CULTURE:44,GNL_EARTH:45,GNL_FUTURE:46,GNL_HOMEPAGE:47,GNL_STORYWORKS:48,GNL_TRAVEL:49,GUJARATI:50,HAUSA:51,HINDI:52,IGBO:53,INDONESIAN:54,IPLAYER:55,JAPANESE:56,KOREAN:57,KYRGYZ:58,MARATHI:59,MEDIA_ACTION:60,MONITORING:61,MUNDO:62,NEPALI:63,NEWS:64,NEWSROUND:65,NORTHERN_IRELAND:66,OTHER:67,OWN_IT:118,PASHTO:68,PERSIAN:69,PIDGIN:70,PROGRAMMES:71,PS_HOMEPAGE:72,PUNJABI:73,REEL:74,RUSSIAN:75,S4C:76,SCHOOL_RADIO:77,SCHOOL_REPORT:78,SCOTLAND:79,SEARCH:80,SERBIAN:81,SINHALA:82,SOMALI:83,SOUNDS:84,SPORT:85,SWAHILI:86,TAMIL:87,TASTER:88,TEACH:119,TELUGU:89,THAI:90,TIGRINYA:91,TURKISH:92,UK_CHINA:93,UKRAINIAN:94,URDU:95,UZBEK:96,VIETNAMESE:97,VOICE:98,VOICE_FIRST_FORMATS:99,WALES:100,WEATHER:101,WEATHER_WATCHERS:102,WORLD_SERVICE_ENGLISH:103,WORKLIFE:104,WS_LEARNING_ENGLISH:105,WS_PARTNERS_B2B:106,YORUBA:107,NEWS_ENGLISH_REGIONS:108,SPORT_ENGLISH_REGIONS:109,NEWS_SCOTLAND:110,SPORT_SCOTLAND:111,NEWS_WALES:112,SPORT_WALES:113,NEWS_NORTHERN_IRELAND:114,SPORT_NORTHERN_IRELAND:115,AUDIENCE_SERVICES:116,WORLD_NEWS_PROGRAMMES:117,getId:function(e){var t;return e&&(t=this[e.toUpperCase()]),t}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={BBC_COUNTER_NAME:"name",ECHO_EVENT_NAME:"echo_event",APP_VERSION:"apvr",HASHED_ID:"at",LEVEL_1_SITE:"site",LEVEL_2_SITE:"level2",SECTION:"section",CHAPTER_1:"chapter1",CONTENT_ID:"bbc_content_id",APP_TYPE:"bbc_app_type",APP_NAME:"bbc_app_name",APP_CATEGORY:"app_category",LANGUAGE:"language",URL:"bbc_url",REFERRER_URL:"bbc_referrer_url",CONTENT_TYPE:"bbc_content_type",LIBRARY_VERSION:"bbc_library_version",PAGE_TITLE:"page_title",CUSTOM_VAR_1:"custom_var_1",CUSTOM_VAR_2:"custom_var_2",CUSTOM_VAR_3:"custom_var_3",CUSTOM_VAR_4:"custom_var_4",CUSTOM_VAR_5:"custom_var_5",CUSTOM_VAR_6:"custom_var_6",CUSTOM_VAR_7:"custom_var_7",CUSTOM_VAR_8:"custom_var_8",CUSTOM_VAR_9:"custom_var_9",CUSTOM_VAR_10:"custom_var_10",MEDIA_PLAYER:"bbc_media_player",LOGGED_IN:"bbc_identity",BBC_HID:"bbc_hid",MEDIA_BRAND:"brand",MEDIA_SERIES:"series",IS_BACKGROUND:"is_background",SOURCE:"source",CONTAINER:"container",METADATA:"metadata",PERSONALISATION:"personalisation",RESULT:"result"}},function(e,t,n){e.exports={BBC_APPLICATION_NAME:"app_name",BBC_APPLICATION_TYPE:"app_type",BBC_APPLICATION_VERSION:"app_version",BBC_COUNTER_NAME:"name",DESTINATION:"bbc_destination",PRODUCER:"bbc_producer",BBC_LANGUAGE:"language",DEVICE_ID:"ns_alias",COMSCORE_C1:"c1",COMSCORE_C7:"c7",BBC_MEASUREMENT_LIB_NAME:"ml_name",BBC_MEASUREMENT_LIB_VERSION:"ml_version",ECHO_TRACE:"trace",ECHO_EVENT_NAME:"echo_event",EVENT_TRIGGERED_BY_USER:"ns_st_ui",STREAMSENSE_CUSTOM_EVENT_TYPE:"ns_st_ev",USER_ACTION_TYPE:"action_type",USER_ACTION_NAME:"action_name",PLAYLIST_END:"ns_st_pe",REWIND_FF_RATE:"ffrw_rate",COMSCORE_SITE:"ns_site",COMSCORE_CUSTOMER:"c2",COMSCORE_ENDPOINT:"comscore_endpoint",PLAYER_NAME:"ns_st_mp",PLAYER_VERSION:"ns_st_mv",PLAYER_WINDOW_STATE:"ns_st_ws",PLAYER_VOLUME:"ns_st_vo",PLAYER_POPPED:"bbc_st_pop",PLAYER_SUBTITLED:"bbc_st_sub",PLAYLIST_NAME:"ns_st_pl",PLAYLIST_CLIP_COUNT:"ns_st_cp",PLAYLIST_LENGTH:"ns_st_ca",MEDIA_PID:"ns_st_ci",MEDIA_LENGTH:"ns_st_cl",MEDIA_STREAM_TYPE:"ns_st_ty",MEDIA_IS_LIVE:"ns_st_li",MEDIA_EPISODE_ID:"episode_id",MEDIA_CLIP_ID:"clip_id",MEDIA_CLIP_NUMBER:"ns_st_cn",MEDIA_PART_NUMBER:"ns_st_pn",MEDIA_TOTAL_PARTS:"ns_st_tp",MEDIA_MEDIUM:"bbc_st_med",MEDIA_LIVE_OR_ONDEMAND:"bbc_st_lod",MEDIA_FORM:"bbc_st_mf",MEDIA_RETRIEVAL_TYPE:"bbc_st_ret",MEDIA_SCHEDULE_INDICATOR:"bbc_st_sch",MEDIA_VERSION_ID:"version_id",MEDIA_SERVICE_ID:"service_id",MEDIA_NON_PIPS_CONTENT_ID:"non_pips_content_id",MEDIA_AMBIGUOUS_ID:"ambig_ci",MEDIA_TIMESTAMP:"bbc_st_live_ts",ESS_SUCCESS:"ess_success",ESS_ERROR:"ess_error",ESS_STATUS_CODE:"ess_status_code",APP_PLATFORM_NAME:"ns_ap_pn",APP_PLATFORM_RUNTIME:"ns_ap_pfm",APP_OS_VERSION:"ns_ap_pfv",APP_DEVICE_NAME:"ns_ap_device",APP_SCREEN_RESOLUTION:"ns_ap_res",APP_LANGUAGE:"ns_ap_lang",ENV_CHAR_SET:"ns_c",ENV_TITLE:"c8",ENV_URL:"c7",ENV_REFERRER:"c9",APP_NAME:"ns_ap_an",APP_VERSION:"ns_ap_ver",NO_COOKIES:"ns_nc",COOKIE_POLICY:"bbc_mc",BBC_ID_LOGGED_IN:"bbc_identity",WEB_SCREEN_RES:"screen_resolution",ESS_ENABLED:"ess_enabled",ESS_ENRICHED:"ess_enriched"}},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(){var e=window.screen||{},t=window.navigator||{},n=window.document||{};this._platformRuntimeEnvironment="html",this._platformOSVersion="5",this._screenResolution=(e.width||"-")+"x"+(e.height||"-"),this._language=t.language||"",this._platformName=t.platform||"",this._charset=n.characterSet||n.defaultCharset||"",this._title=n.title||"",this._url=n.URL||"",this._referrer=n.referrer||"",this._deviceName=null,this._httpGet=null,this._executeCrossDomainGet=null,this._getCookie=null,this._setCookie=null,this._setLocalStorageItem=null,this._getLocalStorageItem=null}var i,r,o,s=n(4),a=n(9),u=n(26),c=!1,l=[];return t._defaultHttpGet=u.httpGet,t._defaultGetCookie=a.getCookieValueByName,t.prototype.getPlatformName=function(){return this._platformName},t.prototype.getPlatformRuntimeEnvironment=function(){return this._platformRuntimeEnvironment},t.prototype.getPlatformOSVersion=function(){return this._platformOSVersion},t.prototype.getDeviceName=function(){return this._deviceName},t.prototype.getScreenResolution=function(){return this._screenResolution},t.prototype.getLanguage=function(){return this._language},t.prototype.getHttpGet=function(){return this._httpGet},t.prototype.setExecuteCrossDomainGet=function(e){this._executeCrossDomainGet=e},t.prototype.getExecuteCrossDomainGet=function(){return this._executeCrossDomainGet?this._executeCrossDomainGet:u.executeCrossDomainGet},t.prototype.getCookieGetter=function(){return this._getCookie},t.prototype.getCookieSetter=function(){return this._setCookie},t.prototype.getCharSet=function(){return this._charset},t.prototype.getTitle=function(){return this._title},t.prototype.getURL=function(){return this._url},t.prototype.getProtocol=function(){return 0!==this.getURL().toLowerCase().indexOf("http:",0)?"https:":"http:"},t.prototype.getReferrer=function(){return this._referrer},t.prototype.setSetLocalStorageItem=function(e){this._setLocalStorageItem=e},t.prototype.getSetLocalStorageItem=function(){return this._setLocalStorageItem},t.prototype.setGetLocalStorageItem=function(e){this._getLocalStorageItem=e},t.prototype.getGetLocalStorageItem=function(){return this._getLocalStorageItem},t.prototype.setPlatformName=function(e){return this._platformName=e,this},t.prototype.setPlatform=function(e,t){return this._platformRuntimeEnvironment=e,this._platformOSVersion=t,this},t.prototype.setDeviceName=function(e){return this._deviceName=e,this},t.prototype.setScreenResolution=function(e){return this._screenResolution=e,this},t.prototype.setLanguage=function(e){return this._language=s.cleanLanguage(e),this},t.prototype.setHttpGet=function(e){return this._httpGet=e,this},t.prototype.setCookieGetter=function(e){return this._getCookie=e,this},t.prototype.setCookieSetter=function(e){return this._setCookie=e,this},t.prototype.setCharSet=function(e){return this._charset=e,this},t.prototype.setTitle=function(e){return this._title=e,this},t.prototype.setURL=function(e){return this._url=e,this},t.prototype.setReferrer=function(e){return this._referrer=e,this},t.setOrbCookies=function(e){return i=e,this},t.getOrbCookies=function(){return i},t.getOrbCookiesPolicy=function(){if(i&&"function"==typeof i.readPolicy)return i.readPolicy()},t.setOrbIdCta=function(e){return r=e,this},t.getOrbIdCta=function(e){var t=function(e,t){e&&"function"==typeof e&&e(t)};if(void 0===r)if(!1!==o){l.push(e);var n=window.require;void 0===o&&n?!(o="function"==typeof n.defined&&n.defined("idcta/idcta-1"))&&n.s&&n.s.contexts&&n.s.contexts._&&n.s.contexts._.config&&n.s.contexts._.config.paths&&n.s.contexts._.config.paths.idcta&&(o=!0):o=!1,o&&!c?(c=!0,window.require(["idcta/idcta-1"],function(e){for(r=e,0;0<l.length;l++)l[0]&&"function"==typeof l[0]&&t(l[0],r)})):!1===o&&t(e)}else t(e);else t(e,r)},t}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";return{getCookieValueByName:function(e,t){var n=e+"=",i=(t||window).document,r={};if(void 0===i||"string"!=typeof i.cookie)return null;for(var o=0,s=(r=i.cookie.split(";")).length;o<s;o++){var a=r[o];if(" "===a.charAt(0)&&(a=a.substring(1,a.length)),0===a.indexOf(n))return a.substring(n.length,a.length)}return null}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";var e=n(5);return{DEFAULT:{id:"596068",defaultProducer:e.BBC,isTest:!0},ACCOUNT:{id:"598250",defaultProducer:e.ACCOUNT,isTest:!1},ACCOUNT_TEST:{id:"598252",defaultProducer:e.ACCOUNT,isTest:!0},AUDIENCE_PORTAL:{id:"602136",defaultProducer:e.AUDIENCE_SERVICES,isTest:!1},AUDIENCE_PORTAL_TEST:{id:"602137",defaultProducer:e.AUDIENCE_SERVICES,isTest:!0},AUDIENCE_SERVICES_PS:{id:"602167",defaultProducer:e.AUDIENCE_SERVICES,isTest:!1},AUDIENCE_SERVICES_PS_TEST:{id:"602168",defaultProducer:e.AUDIENCE_SERVICES,isTest:!0},BBC_CORPORATE_PS:{id:"603550",defaultProducer:e.BBC,isTest:!1},BBC_CORPORATE_PS_TEST:{id:"603551",defaultProducer:e.BBC,isTest:!0},BBC_SHOP:{id:"598253",defaultProducer:e.BBC_SHOP,isTest:!1},BBC_SHOP_TEST:{id:"598254",defaultProducer:e.BBC_SHOP,isTest:!0},BBC_SYNDICATION:{id:"601718",defaultProducer:e.BBC,isTest:!1},BBC_SYNDICATION_TEST:{id:"601719",defaultProducer:e.BBC,isTest:!0},BBC_THREE:{id:"598255",defaultProducer:e.BBC_THREE,isTest:!1},BBC_THREE_TEST:{id:"598256",defaultProducer:e.BBC_THREE,isTest:!0},BITESIZE:{id:"598257",defaultProducer:e.BITESIZE,isTest:!1},BITESIZE_TEST:{id:"598258",defaultProducer:e.BITESIZE,isTest:!0},BLOGS_PS:{id:"603546",defaultProducer:e.BBC,isTest:!1},BLOGS_PS_TEST:{id:"603547",defaultProducer:e.BBC,isTest:!0},BRITBOX:{id:"598259",defaultProducer:e.BRITBOX,isTest:!1},BRITBOX_TEST:{id:"598260",defaultProducer:e.BRITBOX,isTest:!0},CBBC:{id:"598261",defaultProducer:e.CBBC,isTest:!1},CBBC_TEST:{id:"598262",defaultProducer:e.CBBC,isTest:!0},CBEEBIES:{id:"598263",defaultProducer:e.CBEEBIES,isTest:!1},CBEEBIES_TEST:{id:"598264",defaultProducer:e.CBEEBIES,isTest:!0},FEATURE_SITES_GNL:{id:"598265",defaultProducer:e.GNL_HOMEPAGE,isTest:!1},FEATURE_SITES_GNL_TEST:{id:"598266",defaultProducer:e.GNL_HOMEPAGE,isTest:!0},FOOD:{id:"598267",defaultProducer:e.BBC_FOOD,isTest:!1},FOOD_TEST:{id:"598268",defaultProducer:e.BBC_FOOD,isTest:!0},GAMES_PS:{id:"599452",defaultProducer:e.BBC,isTest:!1},GAMES_PS_TEST:{id:"599454",defaultProducer:e.BBC,isTest:!0},GATEWAY:{id:"598269",defaultProducer:e.GATEWAY,isTest:!1},GATEWAY_TEST:{id:"598270",defaultProducer:e.GATEWAY,isTest:!0},HOMEPAGE_GNL:{id:"598271",defaultProducer:e.GNL_HOMEPAGE,isTest:!1},HOMEPAGE_GNL_TEST:{id:"598272",defaultProducer:e.GNL_HOMEPAGE,isTest:!0},HOMEPAGE_PS:{id:"598273",defaultProducer:e.PS_HOMEPAGE,isTest:!1},HOMEPAGE_PS_TEST:{id:"598274",defaultProducer:e.PS_HOMEPAGE,isTest:!0},IDEAS:{id:"598275",defaultProducer:e.BBC,isTest:!1},IDEAS_TEST:{id:"598276",defaultProducer:e.BBC,isTest:!0},IPLAYER:{id:"598277",defaultProducer:e.IPLAYER,isTest:!1},IPLAYER_TEST:{id:"598278",defaultProducer:e.IPLAYER,isTest:!0},MEDIA_ACTION:{id:"598279",defaultProducer:e.MEDIA_ACTION,isTest:!1},MEDIA_ACTION_TEST:{id:"598280",defaultProducer:e.MEDIA_ACTION,isTest:!0},MONITORING:{id:"598281",defaultProducer:e.MONITORING,isTest:!1},MONITORING_TEST:{id:"598282",defaultProducer:e.MONITORING,isTest:!0},MUSIC:{id:"598283",defaultProducer:e.BBC_MUSIC,isTest:!1},MUSIC_TEST:{id:"598284",defaultProducer:e.BBC_MUSIC,isTest:!0},NEWS_PS:{id:"598285",defaultProducer:e.NEWS,isTest:!1},NEWS_PS_TEST:{id:"598286",defaultProducer:e.NEWS,isTest:!0},NEWS_GNL:{id:"598287",defaultProducer:e.NEWS,isTest:!1},NEWS_GNL_TEST:{id:"598288",defaultProducer:e.NEWS,isTest:!0},NEWS_LANGUAGES_GNL:{id:"598289",defaultProducer:e.NEWS,isTest:!1},NEWS_LANGUAGES_GNL_TEST:{id:"598290",defaultProducer:e.NEWS,isTest:!0},NEWS_LANGUAGES_PS:{id:"598291",defaultProducer:e.NEWS,isTest:!1},NEWS_LANGUAGES_PS_TEST:{id:"598292",defaultProducer:e.NEWS,isTest:!0},NEWSROUND:{id:"598293",defaultProducer:e.NEWSROUND,isTest:!1},NEWSROUND_TEST:{id:"598294",defaultProducer:e.NEWSROUND,isTest:!0},OTHER:{id:"598295",defaultProducer:e.OTHER,isTest:!1},OTHER_TEST:{id:"598297",defaultProducer:e.OTHER,isTest:!0},OWN_IT:{id:"598298",defaultProducer:e.CBBC,isTest:!1},OWN_IT_TEST:{id:"598299",defaultProducer:e.CBBC,isTest:!0},PROGRAMMES_PS:{id:"598300",defaultProducer:e.PROGRAMMES,isTest:!1},PROGRAMMES_PS_TEST:{id:"598301",defaultProducer:e.PROGRAMMES,isTest:!0},RED_BUTTON_PS:{id:"601192",defaultProducer:e.BBC,isTest:!1},RED_BUTTON_PS_TEST:{id:"601193",defaultProducer:e.BBC,isTest:!0},REWIND_PS:{id:"603552",defaultProducer:e.BBC,isTest:!1},REWIND_PS_TEST:{id:"603553",defaultProducer:e.BBC,isTest:!0},SEARCH_GNL:{id:"598302",defaultProducer:e.SEARCH,isTest:!1},SEARCH_GNL_TEST:{id:"598303",defaultProducer:e.SEARCH,isTest:!0},SEARCH_PS:{id:"598304",defaultProducer:e.SEARCH,isTest:!1},SEARCH_PS_TEST:{id:"598305",defaultProducer:e.SEARCH,isTest:!0},SOUNDS:{id:"598306",defaultProducer:e.SOUNDS,isTest:!1},SOUNDS_TEST:{id:"598307",defaultProducer:e.SOUNDS,isTest:!0},SPORT_GNL:{id:"598308",defaultProducer:e.SPORT,isTest:!1},SPORT_GNL_TEST:{id:"598309",defaultProducer:e.SPORT,isTest:!0},SPORT_PS:{id:"598310",defaultProducer:e.SPORT,isTest:!1},SPORT_PS_TEST:{id:"598311",defaultProducer:e.SPORT,isTest:!0},STORYWORKS_GNL:{id:"598312",defaultProducer:e.GNL_STORYWORKS,isTest:!1},STORYWORKS_GNL_TEST:{id:"598313",defaultProducer:e.GNL_STORYWORKS,isTest:!0},SUBTITLES_PS:{id:"603548",defaultProducer:e.PROGRAMMES,isTest:!1},SUBTITLES_PS_TEST:{id:"603549",defaultProducer:e.PROGRAMMES,isTest:!0},SYNDICATION_PARTNERS_GNL:{id:"598314",defaultProducer:e.WS_PARTNERS_B2B,isTest:!1},SYNDICATION_PARTNERS_GNL_TEST:{id:"598315",defaultProducer:e.WS_PARTNERS_B2B,isTest:!0},TASTER:{id:"598316",defaultProducer:e.TASTER,isTest:!1},TASTER_TEST:{id:"598317",defaultProducer:e.TASTER,isTest:!0},TEACH:{id:"598318",defaultProducer:e.BBC,isTest:!1},TEACH_TEST:{id:"598320",defaultProducer:e.BBC,isTest:!0},VOICE:{id:"598326",defaultProducer:e.VOICE,isTest:!1},VOICE_TEST:{id:"598328",defaultProducer:e.VOICE,isTest:!0},WEATHER_GNL:{id:"598330",defaultProducer:e.WEATHER,isTest:!1},WEATHER_GNL_TEST:{id:"598332",defaultProducer:e.WEATHER,isTest:!0},WEATHER_PS:{id:"598338",defaultProducer:e.WEATHER,isTest:!1},WEATHER_PS_TEST:{id:"598339",defaultProducer:e.WEATHER,isTest:!0},WS_LEARNING_ENGLISH:{id:"598340",defaultProducer:e.WS_LEARNING_ENGLISH,isTest:!1},WS_LEARNING_ENGLISH_TEST:{id:"598341",defaultProducer:e.WS_LEARNING_ENGLISH,isTest:!0},WS_NEWS_LANGUAGES:{id:"598342",defaultProducer:e.BBC_WORLD_NEWS,isTest:!1},WS_NEWS_LANGUAGES_TEST:{id:"598343",defaultProducer:e.BBC_WORLD_NEWS,isTest:!0},WS_PARTNERS_B2B:{id:"598820",defaultProducer:e.WS_PARTNERS_B2B,isTest:!1},WS_PARTNERS_B2B_TEST:{id:"598823",defaultProducer:e.WS_PARTNERS_B2B,isTest:!0},WS_PROGRAMMES:{id:"598344",defaultProducer:e.PROGRAMMES,isTest:!1},WS_PROGRAMMES_TEST:{id:"598345",defaultProducer:e.PROGRAMMES,isTest:!0},WS_SYNDICATION_PARTNERS:{id:"598346",defaultProducer:e.WS_PARTNERS_B2B,isTest:!1},WS_SYNDICATION_PARTNERS_TEST:{id:"598347",defaultProducer:e.WS_PARTNERS_B2B,isTest:!0},get:function(e){var t;return e&&(t=this[e.toUpperCase()]),t}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";var e=n(5);return{BBC_NEWS:e.BBC_NEWS_CHANNEL,BBC_NEWS24:e.BBC_NEWS_CHANNEL,BBC_WORLD_NEWS:e.BBC_WORLD_NEWS,BBC_AFRIQUE_RADIO:e.AFRIQUE,BBC_AFRIQUE_TV:e.AFRIQUE,BBC_AMHARIC_RADIO:e.AMHARIC,BBC_ARABIC_RADIO:e.ARABIC,BBC_ARABIC_TV:e.ARABIC,BBC_BENGALI_RADIO:e.BENGALI,BBC_BRASIL:e.BRASIL,BBC_BURMESES_RADIO:e.BURMESE,BBC_BURMESES_TV:e.BURMESE,BBC_CANTONESE_RADIO:e.CHINESE,BBC_DARI_RADIO:e.PERSIAN,BBC_GAHUZA_RADIO:e.GAHUZA,BBC_GUJARATI_TV:e.GUJARATI,BBC_HAUSA_RADIO:e.HAUSA,BBC_HAUSA_TV:e.HAUSA,BBC_HINDI_RADIO:e.HINDI,BBC_HINDI_TV:e.HINDI,BBC_IGBO_RADIO:e.IGBO,BBC_IGBO_TV:e.IGBO,BBC_INDONESIAN_RADIO:e.INDONESIAN,BBC_KOREAN_RADIO:e.KOREAN,BBC_KOREAN_TV:e.KOREAN,BBC_KYRGYZ_RADIO:e.KYRGYZ,BBC_KYRGYZ_TV:e.KYRGYZ,BBC_LEARNING_ENGLISH:e.WS_LEARNING_ENGLISH,BBC_MARATHI_TV:e.MARATHI,BBC_MUNDO:e.MUNDO,BBC_NEPALI_RADIO:e.NEPALI,BBC_OROMO_RADIO:e.AFAAN_OROMOO,BBC_PARLIAMENT:e.BBC_PARLIAMENT_CHANNEL,BBC_PASHTO_RADIO:e.PASHTO,BBC_PASHTO_TV:e.PASHTO,BBC_PERSIAN_RADIO:e.PERSIAN,BBC_PERSIAN_TV:e.PERSIAN,BBC_PIDGIN_RADIO:e.PIDGIN,BBC_PIDGIN_TV:e.PIDGIN,BBC_PUNJABI_TV:e.PUNJABI,BBC_RUSSIAN_RADIO:e.RUSSIAN,BBC_RUSSIAN_TV:e.RUSSIAN,BBC_SINHALA_RADIO:e.SINHALA,BBC_SOMALI_RADIO:e.SOMALI,BBC_SOMALI_TV:e.SOMALI,BBC_SWAHILI_RADIO:e.SWAHILI,BBC_SWAHILI_TV:e.SWAHILI,BBC_TAMIL_RADIO:e.TAMIL,BBC_TAMIL_TV:e.TAMIL,BBC_TELUGU_TV:e.TELUGU,BBC_THAI:e.THAI,BBC_TIGRINYA_RADIO:e.TIGRINYA,BBC_UKRAINIAN_TV:e.UKRAINIAN,BBC_URDU_RADIO:e.URDU,BBC_URDU_TV:e.URDU,BBC_UZBEK_RADIO:e.UZBEK,BBC_UZBEK_TV:e.UZBEK,BBC_WEATHER:e.WEATHER,BBC_WORLD_SERVICE:e.WORLD_SERVICE_ENGLISH,BBC_WORLD_SERVICE_TV:e.WORLD_SERVICE_ENGLISH,BBC_YORUBA_RADIO:e.YORUBA,BBC_YORUBA_TV:e.YORUBA,PARLIAMENTS_ONLINE:e.BBC_PARLIAMENT_CHANNEL,BBC_ALBA:e.BBC_ALBA,BBC_CYMRU:e.WALES,BBC_FOUR:e.BBC_FOUR,BBC_HD:e.BBC_HD,BBC_LONDON:e.ENGLISH_REGIONS,BBC_MUSIC:e.BBC_MUSIC,BBC_MUSIC_JAZZ:e.BBC_MUSIC,BBC_ONE:e.BBC_ONE,BBC_ONE_EAST:e.ENGLISH_REGIONS,BBC_ONE_EAST_MIDLANDS:e.ENGLISH_REGIONS,BBC_ONE_EAST_YORKSHIRE:e.ENGLISH_REGIONS,BBC_ONE_LONDON:e.ENGLISH_REGIONS,BBC_ONE_NORTH_EAST:e.ENGLISH_REGIONS,BBC_ONE_NORTH_WEST:e.ENGLISH_REGIONS,BBC_ONE_NORTHERN_IRELAND:e.NORTHERN_IRELAND,BBC_ONE_SCOTLAND:e.SCOTLAND,BBC_ONE_SOUTH:e.ENGLISH_REGIONS,BBC_ONE_SOUTH_EAST:e.ENGLISH_REGIONS,BBC_ONE_SOUTH_WEST:e.ENGLISH_REGIONS,BBC_ONE_WALES:e.WALES,BBC_ONE_WEST:e.ENGLISH_REGIONS,BBC_ONE_WEST_MIDLANDS:e.ENGLISH_REGIONS,BBC_ONE_YORKS:e.ENGLISH_REGIONS,BBC_SCOTLAND:e.BBC_SCOTLAND,BBC_TEES:e.ENGLISH_REGIONS,BBC_THREE:e.BBC_THREE,BBC_TWO:e.BBC_TWO,BBC_TWO_ENGLAND:e.ENGLISH_REGIONS,BBC_TWO_NORTHERN_IRELAND:e.NORTHERN_IRELAND,BBC_TWO_NORTHERN_IRELAND_DIGITAL:e.NORTHERN_IRELAND,BBC_TWO_SCOTLAND:e.SCOTLAND,BBC_TWO_WALES:e.WALES,BBC_WALES:e.WALES,BBC_WM:e.ENGLISH_REGIONS,CBBC:e.CBBC,CBEEBIES:e.CBEEBIES,BBC_1XTRA:e.BBC_RADIO_1XTRA,BBC_6MUSIC:e.BBC_RADIO_6_MUSIC,BBC_7:e.BBC_RADIO_4_EXTRA,BBC_ASIAN_NETWORK:e.BBC_ASIAN_NETWORK,BBC_RADIO_BERKSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_BRISTOL:e.ENGLISH_REGIONS,BBC_RADIO_CAMBRIDGE:e.ENGLISH_REGIONS,BBC_RADIO_CORNWALL:e.ENGLISH_REGIONS,BBC_RADIO_COVENTRY_WARWICKSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_CUMBRIA:e.ENGLISH_REGIONS,BBC_RADIO_CYMRU:e.WALES,BBC_RADIO_CYMRU_2:e.WALES,BBC_RADIO_CYMRU_MWY:e.WALES,BBC_RADIO_DERBY:e.ENGLISH_REGIONS,BBC_RADIO_DEVON:e.ENGLISH_REGIONS,BBC_RADIO_ESSEX:e.ENGLISH_REGIONS,BBC_RADIO_FIVE_LIVE:e.BBC_RADIO_5_LIVE,BBC_RADIO_FIVE_LIVE_OLYMPICS_EXTRA:e.BBC_RADIO_5_LIVE,BBC_RADIO_FIVE_LIVE_SPORTS_EXTRA:e.BBC_RADIO_5_LIVE,BBC_RADIO_FOUR:e.BBC_RADIO_4,BBC_RADIO_FOUR_EXTRA:e.BBC_RADIO_4_EXTRA,BBC_RADIO_FOYLE:e.NORTHERN_IRELAND,BBC_RADIO_GLOUCESTERSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_GUERNSEY:e.ENGLISH_REGIONS,BBC_RADIO_HEREFORD_WORCESTER:e.ENGLISH_REGIONS,BBC_RADIO_HUMBERSIDE:e.ENGLISH_REGIONS,BBC_RADIO_JERSEY:e.ENGLISH_REGIONS,BBC_RADIO_KENT:e.ENGLISH_REGIONS,BBC_RADIO_LANCASHIRE:e.ENGLISH_REGIONS,BBC_RADIO_LEEDS:e.ENGLISH_REGIONS,BBC_RADIO_LEICESTER:e.ENGLISH_REGIONS,BBC_RADIO_LINCOLNSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_MANCHESTER:e.ENGLISH_REGIONS,BBC_RADIO_MERSEYSIDE:e.ENGLISH_REGIONS,BBC_RADIO_NAN_GAIDHEAL:e.SCOTLAND,BBC_RADIO_NEWCASTLE:e.ENGLISH_REGIONS,BBC_RADIO_NORFOLK:e.ENGLISH_REGIONS,BBC_RADIO_NORTHAMPTON:e.ENGLISH_REGIONS,BBC_RADIO_NOTTINGHAM:e.ENGLISH_REGIONS,BBC_RADIO_ONE:e.BBC_RADIO_1,BBC_RADIO_ONE_VINTAGE:e.BBC_RADIO_1,BBC_RADIO_OXFORD:e.ENGLISH_REGIONS,BBC_RADIO_SCOTLAND:e.SCOTLAND,BBC_RADIO_SCOTLAND_FM:e.SCOTLAND,BBC_RADIO_SCOTLAND_MUSIC_EXTRA:e.SCOTLAND,BBC_RADIO_SHEFFIELD:e.ENGLISH_REGIONS,BBC_RADIO_SHROPSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_SOLENT:e.ENGLISH_REGIONS,BBC_RADIO_SOMERSET_SOUND:e.ENGLISH_REGIONS,BBC_RADIO_STOKE:e.ENGLISH_REGIONS,BBC_RADIO_SUFFOLK:e.ENGLISH_REGIONS,BBC_RADIO_SURREY:e.ENGLISH_REGIONS,BBC_RADIO_SUSSEX:e.ENGLISH_REGIONS,BBC_RADIO_SWINDON:e.ENGLISH_REGIONS,BBC_RADIO_THREE:e.BBC_RADIO_3,BBC_RADIO_TWO:e.BBC_RADIO_2,BBC_RADIO_TWO_COUNTRY:e.BBC_RADIO_2,BBC_RADIO_TWO_EUROVISION:e.BBC_RADIO_2,BBC_RADIO_TWO_FIFTIES:e.BBC_RADIO_2,BBC_RADIO_ULSTER:e.NORTHERN_IRELAND,BBC_RADIO_WALES:e.WALES,BBC_RADIO_WILTSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_YORK:e.ENGLISH_REGIONS,BBC_SOUNDS_MIXES:e.SOUNDS,BBC_SOUNDS_PODCASTS:e.SOUNDS,BBC_SOUTHERN_COUNTIES_RADIO:e.ENGLISH_REGIONS,BBC_THREE_COUNTIES_RADIO:e.ENGLISH_REGIONS,CBEEBIES_RADIO:e.CBEEBIES,BBC_SPORT:e.SPORT,getProducerId:function(e){var t;return e&&(t=this[e.toUpperCase()]),t}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={NAME:"echo_js",VERSION:"12.4.0"}},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){this.reset()}return e.prototype.start=function(){!0!==this._isPlaying&&(this._isPlaying=!0,this._startTime=this._getCurrentTime())},e.prototype.reset=function(){this._isPlaying=!1,this._position=0,this._startTime=0},e.prototype.stop=function(){this._isPlaying&&(this._isPlaying=!1,this._position+=this._getCurrentTime()-this._startTime,this._startTime=0)},e.prototype.getPosition=function(){var e=this._position;return!0===this._isPlaying&&(e+=this._getCurrentTime()-this._startTime),e},e.prototype._getCurrentTime=function(){return Date.now||(Date.now=function(){return(new Date).getTime()}),Date.now()},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i,r;i=[n(0),n(2),n(1)],void 0===(r=function(e,t,n){"use strict";function i(e,t,n){this._schedule=[],this.serviceId=null,this._media=e,this._environment=t,this._echoClient=n,this._fetchData()}return i.prototype.getBroadcast=function(e){var t,n;for(t=0;t<this._schedule.length;t++)if(e<(n=this._schedule[t].published_time).end&&e>=n.start)return this._schedule[t]},i.essHost="ess.api.bbci.co.uk",i.prototype._fetchData=function(){var e,n=this;e=this._environment.getExecuteCrossDomainGet();var r=this._environment.getProtocol()+i.essHost.replace(/^(\/+)?/,"//")+"/schedules";if(this._media){if(this._media.getServiceId())r+="?serviceId="+encodeURIComponent(this._media.getServiceId());else if(this._media.getVersionId())r+="?versionId="+encodeURIComponent(this._media.getVersionId());else{if(!this._media.getVpId())return void t.info("Unable to determine serviceId, versionId or VpId for schedule");r+="?vpid="+encodeURIComponent(this._media.getVpId())}e(r,{onSuccess:function(e){n._dataSuccessHandler(e)},onError:function(e,t){var i="error";"json"===e?i="json":"object"==typeof e&&"timeout"===e.type&&(i="timeout"),n._dataErrorHandler(i,t)}})}},i.prototype.hasData=function(){return 0<this._schedule.length},i.prototype._dataSuccessHandler=function(e){var n,i,r,o,s=[];if(t.info("Cross-domain schedule request success."),e){for(this._echoClient.setEssSuccess(!0),this.serviceId=e.service.id,e.items=e.items||[],n=0;n<e.items.length;n++)r=e.items[n].published_time.start,o=e.items[n].published_time.end,(i=e.items[n]).published_time.start=new Date(r).getTime(),i.published_time.end=new Date(o).getTime(),s.push(i);this._schedule=s}},i.prototype._dataErrorHandler=function(e,i){this._schedule=[],t.error("There was a problem requesting the schedule from ESS: "+e),this._echoClient.setEssSuccess(!1),"json"===e?this._echoClient.setEssError(n.EssError.JSON,i):"timeout"===e?this._echoClient.setEssError(n.EssError.TIMEOUT,i):"error"===e&&void 0!==i?this._echoClient.setEssError(n.EssError.STATUS_CODE,i):this._echoClient.setEssError(n.EssError.RUNTIME,"0")},i}.apply(t,i))||(e.exports=r)},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5),i=n(11),r=n(16),o=n(1),s=n(0),a=n(6),u=n(7),c=n(4),l=n(2),f=o.MediaConsumptionMode,d=function(e,t){var n,i;this.avType=(n=e)===o.AvType.AUDIO||n===o.AvType.VIDEO?e:null,this.consumptionMode=(i=t)===f.ON_DEMAND||i===f.DOWNLOAD||i===f.LIVE?t:null,s.assert(this.avType,"Media: Invalid avType: "+this.avType,!0),s.assert(this.consumptionMode,"Media: Invalid consumptionMode: "+this.consumptionMode,!0),this.serviceIdObject=new r(o.MediaIdType.SERVICE,!0),this.versionIdObject=new r(o.MediaIdType.VERSION,!0),this.clipIdObject=new r(o.MediaIdType.CLIP,!0),this.episodeIdObject=new r(o.MediaIdType.EPISODE,!0),this.vpIdObject=new r(o.MediaIdType.VPID,!0),this.nonPipsContentIdObject=new r(o.MediaIdType.NONPIPSCONTENT,!1),this.producerObject=new r(o.MediaIdType.PRODUCER,!1),this.brandIdObject=new r(o.MediaIdType.BRAND,!1),this.seriesIdObject=new r(o.MediaIdType.SERIES,!1),this.length=0,this.bufferLength=0,this.supplier=null,this.mediaSet=null,this.transferFormat=null,this.essEnrichedData=!1,this._isPlaying=!1,this._isBuffering=!1,this._isEmbedded=!1,this.name="",this.type=o.MediaClipType.UNDEFINED,this.playlist="",this.initiationType=o.MediaInitiationType.UNDEFINED,this.adsEnabled=!1,this.mediaPlayerName="",this.mediaPlayerVersion="",this.transportMode=""};return d.prototype.isEssEnriched=function(){return!0===this.essEnrichedData},d.prototype.setEssEnriched=function(e){this.essEnrichedData=e},d.prototype.getAvType=function(){return this.avType},d.prototype.getMediaConsumptionMode=function(){return this.consumptionMode},d.prototype.getClone=function(){var e=new d(this.avType,this.consumptionMode);return e.brandIdObject=this.brandIdObject,e.seriesIdObject=this.seriesIdObject,e.serviceIdObject=this.serviceIdObject,e.versionIdObject=this.versionIdObject,e.clipIdObject=this.clipIdObject,e.episodeIdObject=this.episodeIdObject,e.vpIdObject=this.vpIdObject,e.name=this.name,e.type=this.type,e.playlist=this.playlist,e.initiationType=this.initiationType,e.adsEnabled=this.adsEnabled,e.mediaPlayerVersion=this.mediaPlayerVersion,e.mediaPlayerName=this.mediaPlayerName,e.transportMode=this.transportMode,e.nonPipsContentIdObject=this.nonPipsContentIdObject,e.producerObject=this.producerObject,e.bufferLength=this.bufferLength,e.mediaSet=this.mediaSet,e.supplier=this.supplier,e.transferFormat=this.transferFormat,e.length=this.length,e.essEnrichedData=this.essEnrichedData,e},d.prototype.isEmbedded=function(){return this._isEmbedded},d.prototype.setIsEmbedded=function(e){return this._isEmbedded=e,this},d.prototype.setVersionId=function(e){return this.versionIdObject.setValue(e),this},d.prototype.setBrandId=function(e){return this.brandIdObject.setValue(c.cleanLabelValue(a.MEDIA_BRAND,e)),this},d.prototype.setSeriesId=function(e){return this.seriesIdObject.setValue(c.cleanLabelValue(a.MEDIA_SERIES,e)),this},d.prototype.setClipId=function(e){return this.clipIdObject.setValue(e),this},d.prototype.setServiceId=function(e){return this.serviceIdObject.setValue(e),this},d.prototype.setEpisodeId=function(e){return this.episodeIdObject.setValue(e),this},d.prototype.setVpId=function(e){return this.vpIdObject.setValue(e),this},d.prototype.setNonPipsContentId=function(e){return this.nonPipsContentIdObject.setValue(c.cleanLabelValue(u.MEDIA_NON_PIPS_CONTENT_ID,e)),this},d.prototype.getSupplier=function(){return this.supplier},d.prototype.setSupplier=function(e){if(null!==e){var t=s.trim(e);0!==t.length&&(this.supplier=t)}return this},d.prototype.getMediaSet=function(){return this.mediaSet},d.prototype.setMediaSet=function(e){if(null!==e){var t=s.trim(e);0!==t.length&&(this.mediaSet=t)}return this},d.prototype.getTransferFormat=function(){return this.transferFormat},d.prototype.setTransferFormat=function(e){if(null!==e){var t=s.trim(e);0!==t.length&&(this.transferFormat=t)}return this},d.prototype.isAdsEnabled=function(){return this.adsEnabled},d.prototype.setAdsEnabled=function(e){return this.adsEnabled=e,this},d.prototype.getName=function(){return this.name},d.prototype.setName=function(e){return this.name=e,this},d.prototype.getType=function(){return this.type},d.prototype.setType=function(e){return this.type=e,this},d.prototype.getPlaylist=function(){return this.playlist},d.prototype.setPlaylist=function(e){return this.playlist=e,this},d.prototype.getInitiationType=function(){return this.initiationType},d.prototype.setInitiationType=function(e){return this.initiationType=e,this},d.prototype.getMediaPlayerName=function(){return this.mediaPlayerName},d.prototype.setMediaPlayerName=function(e){return this.mediaPlayerName=e,this},d.prototype.getMediaPlayerVersion=function(){return this.mediaPlayerVersion},d.prototype.setMediaPlayerVersion=function(e){return this.mediaPlayerVersion=e,this},d.prototype.getTransportMode=function(){return this.transportMode},d.prototype.setTransportMode=function(e){return this.transportMode=e,this},d.prototype.getLength=function(){return this.length},d.prototype.setLength=function(e){return null!=e&&(e=Math.floor(e)),(void 0===e||isNaN(e)||!isFinite(e)||e<0)&&(l.warn("Media: length must be an integer of 0 or greater. Echo will report as 0."),e=0),this.length=e,this},d.prototype.getProducer=function(){return this.producerObject.getValue()},d.prototype.setProducer=function(e){var n;return(n=e?t.getId(e):"0")&&this.producerObject.setValue(n),this},d.prototype.setProducerById=function(e){return e&&this.producerObject.setValue(e),this},d.prototype.setProducerByMasterbrand=function(e){e&&i.getProducerId(e)?this.producerObject.setValue(i.getProducerId(e)):(this.producerObject.setValue(0),null===e||e&&"NULL"===e.toUpperCase()||""===e||l.info("Masterbrand ["+e+"] not recognised, producer will be set to undefined (0)"))},d.prototype.getVersionIdObject=function(){return this.versionIdObject},d.prototype.getClipIdObject=function(){return this.clipIdObject},d.prototype.getServiceIdObject=function(){return this.serviceIdObject},d.prototype.getEpisodeIdObject=function(){return this.episodeIdObject},d.prototype.getVpIdObject=function(){return this.vpIdObject},d.prototype.getNonPipsContentIdObject=function(){return this.nonPipsContentIdObject},d.prototype.getBrandIdObject=function(){return this.brandIdObject},d.prototype.getBrandId=function(){return this.brandIdObject.getValue()},d.prototype.getSeriesIdObject=function(){return this.seriesIdObject},d.prototype.getSeriesId=function(){return this.seriesIdObject.getValue()},d.prototype.getVersionId=function(){return this.versionIdObject.getValue()},d.prototype.getClipId=function(){return this.clipIdObject.getValue()},d.prototype.getServiceId=function(){return this.serviceIdObject.getValue()},d.prototype.getEpisodeId=function(){return this.episodeIdObject.getValue()},d.prototype.getVpId=function(){return this.vpIdObject.getValue()},d.prototype.getNonPipsContentId=function(){return this.nonPipsContentIdObject.getValue()},d.prototype.getRetrievalType=function(){return null===this.consumptionMode?null:this.consumptionMode===f.DOWNLOAD?o.RetrievalType.DOWNLOAD:o.RetrievalType.STREAM},d.prototype.isOnDemand=function(){return this.consumptionMode===f.ON_DEMAND},d.prototype.isDownload=function(){return this.consumptionMode===f.DOWNLOAD},d.prototype.isLive=function(){return this.consumptionMode===f.LIVE},d.prototype.isVideo=function(){return this.avType===o.AvType.VIDEO},d.prototype.getPlayerId=function(){return"1"},d.prototype.setPlaying=function(e){return this._isPlaying=Boolean(e),this},d.prototype.getPlaying=function(){return this._isPlaying},d.prototype.setBuffering=function(e){return this._isBuffering=Boolean(e),this},d.prototype.getBuffering=function(){return this._isBuffering},d}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(0),i=function(e,t){this.idType=e,this.validValueRegex=/^[a-z0-9A-Z_-]+$/,this.value=null,this.isSet=!1,this.isValid=!1,this.requiresValidation=t};return i.prototype.getIdType=function(){return this.idType},i.prototype.setValue=function(e){this.isSet=!0,null==e?this.isValid=!1:this.requiresValidation?this.isValid=this._validateValue(e):this.isValid=!0,t.assert(this.isValid,"MediaId: The value for "+this.idType+"Id is invalid",!0),this.value=e},i.prototype.getValue=function(){return this.value},i.prototype.isValueSet=function(){return this.isSet},i.prototype.isValueValid=function(){return this.isValid},i.prototype._validateValue=function(e){return"string"==typeof e&&this.validValueRegex.test(e)},i}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){}var t=n(18).Promise;return e.get=function(){return window&&window.bbcpage?t.all(["getDestination","getProducer","getSection","getContentId","getContentType","getLanguage","getAdditionalProperties","getName"].map(function(e){return n=e,window.bbcpage[n]&&"function"==typeof window.bbcpage[n]?window.bbcpage[n]():t.resolve(null);var n})).then(function(t){return{destination:(t=e._decodeFromOrbit(t))[0],producer:t[1],section:t[2],contentId:t[3],contentType:t[4],language:t[5],additionalProperties:t[6],pageName:t[7]}}):t.resolve(void 0)},e._decodeFromOrbit=function(t){for(var n=Object.keys(t),i=0;i<n.length;i++)if(t[n[i]]&&"object"!=typeof t[n[i]]){var r=new RegExp("&#x2F;","g");t[n[i]]=t[n[i]].replace(r,"/")}else t[n[i]]&&"object"==typeof t[n[i]]&&(t[n[i]]=e._decodeFromOrbit(t[n[i]]));return t},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){(function(t,n){e.exports=function(){"use strict";function e(e){return"function"==typeof e}function i(){var e=setTimeout;return function(){return e(r,1)}}function r(){for(var e=0;e<I;e+=2)(0,D[e])(D[e+1]),D[e]=void 0,D[e+1]=void 0;I=0}function o(e,t){var n=this,i=new this.constructor(a);void 0===i[B]&&m(i);var r=n._state;if(r){var o=arguments[r-1];C(function(){return v(r,i,o,n._result)})}else _(n,i,e,t);return i}function s(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(a);return f(t,e),t}function a(){}function u(e){try{return e.then}catch(e){return V.error=e,V}}function c(e,t,n,i){try{e.call(t,n,i)}catch(e){return e}}function l(t,n,i){var r,a,u,l;n.constructor===t.constructor&&i===o&&n.constructor.resolve===s?(u=t,(l=n)._state===k?p(u,l._result):l._state===U?h(u,l._result):_(l,void 0,function(e){return f(u,e)},function(e){return h(u,e)})):i===V?(h(t,V.error),V.error=null):void 0===i?p(t,n):e(i)?(r=n,a=i,C(function(e){var t=!1,n=c(a,r,function(n){t||(t=!0,r!==n?f(e,n):p(e,n))},function(n){t||(t=!0,h(e,n))},e._label);!t&&n&&(t=!0,h(e,n))},t)):p(t,n)}function f(e,t){var n,i;e===t?h(e,new TypeError("You cannot resolve a promise with itself")):(i=typeof(n=t),null===n||"object"!==i&&"function"!==i?p(e,t):l(e,t,u(t)))}function d(e){e._onerror&&e._onerror(e._result),g(e)}function p(e,t){e._state===x&&(e._result=t,e._state=k,0!==e._subscribers.length&&C(g,e))}function h(e,t){e._state===x&&(e._state=U,e._result=t,C(d,e))}function _(e,t,n,i){var r=e._subscribers,o=r.length;e._onerror=null,r[o]=t,r[o+k]=n,r[o+U]=i,0===o&&e._state&&C(g,e)}function g(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var i=void 0,r=void 0,o=e._result,s=0;s<t.length;s+=3)i=t[s],r=t[s+n],i?v(n,i,r,o):r(o);e._subscribers.length=0}}function v(t,n,i,r){var o=e(i),s=void 0,a=void 0,u=void 0,c=void 0;if(o){if((s=function(e,t){try{return e(t)}catch(e){return V.error=e,V}}(i,r))===V?(c=!0,a=s.error,s.error=null):u=!0,n===s)return void h(n,new TypeError("A promises callback cannot return that same promise."))}else s=r,u=!0;n._state!==x||(o&&u?f(n,s):c?h(n,a):t===k?p(n,s):t===U&&h(n,s))}function m(e){e[B]=G++,e._state=void 0,e._result=void 0,e._subscribers=[]}var E,y,b,S,A=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},I=0,T=void 0,P=void 0,C=function(e,t){D[I]=e,D[I+1]=t,2===(I+=2)&&(P?P(r):M())},O="undefined"!=typeof window?window:void 0,w=O||{},N=w.MutationObserver||w.WebKitMutationObserver,R="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),L="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,D=new Array(1e3),M=void 0;M=R?function(){return t.nextTick(r)}:N?(y=0,b=new N(r),S=document.createTextNode(""),b.observe(S,{characterData:!0}),function(){S.data=y=++y%2}):L?((E=new MessageChannel).port1.onmessage=r,function(){return E.port2.postMessage(0)}):void 0===O?function(){try{var e=Function("return this")().require("vertx");return void 0===(T=e.runOnLoop||e.runOnContext)?i():function(){T(r)}}catch(e){return i()}}():i();var B=Math.random().toString(36).substring(2),x=void 0,k=1,U=2,V={error:null},G=0,F=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(a),this.promise[B]||m(this.promise),A(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?p(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&p(this.promise,this._result))):h(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===x&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===s){var r=u(e);if(r===o&&e._state!==x)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(n===j){var c=new n(a);l(c,e,r),this._willSettleAt(c,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(i(e),t)},e.prototype._settledAt=function(e,t,n){var i=this.promise;i._state===x&&(this._remaining--,e===U?h(i,n):this._result[t]=n),0===this._remaining&&p(i,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;_(e,void 0,function(e){return n._settledAt(k,t,e)},function(e){return n._settledAt(U,t,e)})},e}(),j=function(){function t(e){this[B]=G++,this._result=this._state=void 0,this._subscribers=[],a!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t(function(t){f(e,t)},function(t){h(e,t)})}catch(t){h(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this.constructor;return e(t)?this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}):this.then(t,t)},t}();return j.prototype.then=o,j.all=function(e){return new F(this,e).promise},j.race=function(e){var t=this;return new t(A(e)?function(n,i){for(var r=e.length,o=0;o<r;o++)t.resolve(e[o]).then(n,i)}:function(e,t){return t(new TypeError("You must pass an array to race."))})},j.resolve=s,j.reject=function(e){var t=new this(a);return h(t,e),t},j._setScheduler=function(e){P=e},j._setAsap=function(e){C=e},j._asap=C,j.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var i=null;try{i=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===i&&!t.cast)return}e.Promise=j},j.Promise=j}()}).call(this,n(19),n(20))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(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 o(){h&&d&&(h=!1,d.length?p=d.concat(p):_=-1,p.length&&s())}function s(){if(!h){var e=r(o);h=!0;for(var t=p.length;t;){for(d=p,p=[];++_<t;)d&&d[_].run();_=-1,t=p.length}d=null,h=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===i||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function u(){}var c,l,f=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{l="function"==typeof clearTimeout?clearTimeout:i}catch(e){l=i}}();var d,p=[],h=!1,_=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||h||r(s)},a.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(45).version;return{getLibraryName:function(){return"echo_js"},getLibraryVersion:function(){return t}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports=n(23)},function(e,t,n){var i,r;i=[n(24)],void 0===(r=function(e){"use strict";return window&&window.bbccookies&&e.Environment.setOrbCookies(window.bbccookies),e}.apply(t,i))||(e.exports=r)},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(12),i=n(8);return{EchoClient:n(27),Media:n(15),MediaId:n(16),Environment:i,Enums:n(1),ConfigKeys:n(3),Debug:n(2),getImplementationVersion:function(){return t.VERSION}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={STRICT:"strict",COUNTERNAME:"countername",EVENT_MASTER_BRAND:"event_master_brand",NO_CLEANSING:"no_cleansing",CUSTOM:"custom"}},function(e,t,n){var i;void 0===(i=function(){"use strict";return{httpGet:function(e,t,n){var i=new Image;i.onload=t,i.onerror=n,i.src=e},executeCrossDomainGet:function(e,t){var n,i,r;r=i=!1;var o=function(e,n){t.onError&&t.onError(e,n)};if(window.JSON&&window.JSON.parse&&void 0!==window.XMLHttpRequest&&"withCredentials"in(n=new XMLHttpRequest)&&(r=!0),r){try{n.open("GET",e,!0),n.onload=function(){(void 0===n.status||n.status<400)&&null!==n.responseText?function(){var e;if(t.onSuccess){try{e=window.JSON.parse(n.responseText)}catch(e){o("json")}"object"==typeof e&&setTimeout(function(){t.onSuccess(e)})}}():o(n.responseText,n.status)},n.onerror=function(e){o(e)},n.timeout=1e4,n.ontimeout=function(e){o(e)}}catch(e){s=e,i||o(s)}var s;try{n.send(null)}catch(e){i=!0,n.onload=n.onerror=n.onreadystatechange=null,n.abort(),o(e)}}else o()}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e,n,s,a,u){var l=this;s=s||{},r.assertContainsValue(c.ApplicationType,n,'appType should be one of Enums.ApplicationType, got "'+n+'"'),this.state={counterNameSet:!1};var f,d=t.ConfigGenerator.generate(s);this._env=null!=a?a:new t.Environment,d&&"string"==typeof d[o.ECHO_DEVICE_ID]&&(0<(f=r.trim(d[o.ECHO_DEVICE_ID])).length?(d[o.ECHO_DEVICE_ID]=f,this._deviceId=f):d[o.ECHO_DEVICE_ID]=void 0),d&&d[o.COMSCORE_HOST]===_&&!d[o.ECHO_DEVICE_ID]&&((f=h.getCookieValueByName(v))||(f=h.getCookieValueByName(g)),f&&(this._deviceId=f,d[o.ECHO_DEVICE_ID]=f)),d&&!1===d[o.ECHO_AUTO_START]?this._autoStart=!1:this._autoStart=!0,this._setConsumers(e,n,d,this._env),d&&d[o.USE_ESS]?this._essEnabled=!0:this._essEnabled=!1,d&&d[o.ESS_HOSTNAME]&&(p.essHost=d[o.ESS_HOSTNAME]),d&&!1===d[o.ECHO_ENABLED]?this._isEnabled=!1:this._isEnabled=!0,d&&!0===d[o.DEBUG_MODE]?i.enable():i.disable(),this._liveBroker=null,this._onDemandBroker=null,this._suppressingPlayEvent=!1,this._suppressedPlayEventLabels=null,this.addLabel("bbc_id_wait","1"),t.Environment.getOrbIdCta(function(e){l.removeLabel("bbc_id_wait"),e&&"function"==typeof e.getIStatsLabels&&l.addLabels({bbc_identity:e.getIStatsLabels().bbc_identity,bbc_hid:encodeURIComponent(e.getIStatsLabels().bbc_hid||"unidentified-user")})}),d&&d[o.ECHO_CACHE_MODE]&&(this._cacheMode=d[o.ECHO_CACHE_MODE]),this._isEnabled&&this._autoStart&&("function"==typeof u?this.start().then(u):this.start())}var i=n(2),r=n(0),o=n(3),s=n(10),a=n(11),u=n(5),c=n(1),l=n(28),f=n(29),d=n(7),p=n(14),h=n(9),_="sa.bbc.co.uk",g="ckpf_echo_device_id",v="ckns_echo_device_id",m=n(17),E=n(18).Promise;return t.prototype.getDebugMode=function(){return i.getState()},t.prototype.start=function(){var e;return this._isEnabled&&!this._hasStarted?(this._hasStarted=!0,m.get().then(function(t){e=t,this._delegate("start",[t])}.bind(this)).then(function(){e&&e.pageName&&""!==e.pageName&&"orb.page"!==e.pageName&&this.setCounterName(e.pageName)}.bind(this),function(e){i.error("failed to start delegates: "+e)})):E.reject()},t.prototype.enable=function(){return this._isEnabled||(this._isEnabled=!0,this._delegate("enable"),this._autoStart&&!this._hasStarted&&this.start()),this},t.prototype.disable=function(){return this._isEnabled&&(this._clearMedia(),this._isEnabled=!1,this._delegate("disable")),this},t.prototype.isEnabled=function(){return this._isEnabled},t.prototype.getComScoreDeviceId=function(){var e;return this.consumers[t.Consumers.COMSCORE]&&(e=this.consumers[t.Consumers.COMSCORE])instanceof t.ComScoreDelegate&&"function"==typeof e.getDeviceId?e.getDeviceId():null},t.prototype.getAtiDeviceId=function(){var e;return this.consumers[t.Consumers.ATI]&&(e=this.consumers[t.Consumers.ATI])instanceof t.AtiDelegate&&"function"==typeof e.getDeviceId?e.getDeviceId():null},t.prototype.setTraceId=function(e){this._delegate("setTraceId",[e])},t.ConfigGenerator=n(30),t.LabelCleanser=n(4),t.Util=n(0),t.ComScoreDelegate=n(31),t.SpringDelegate=n(37),t.AtiDelegate=n(41),t.Environment=n(8),t.prototype._eventsEnabled=function(){return this._isEnabled&&this._hasStarted},t.prototype._setConsumers=function(e,n,i,r){this.consumers={};var s=t.LabelCleanser.cleanLabelValue("app_name",e);return i&&i[o.COMSCORE_ENABLED]&&(this.consumers[t.Consumers.COMSCORE]=new t.ComScoreDelegate(s,n,i,r)),i&&i[o.ATI_ENABLED]&&(this.consumers[t.Consumers.ATI]=new t.AtiDelegate(s,n,i,r)),i&&i[o.BARB_ENABLED]&&(this.consumers[t.Consumers.BARB]=new t.SpringDelegate(s,n,i,r)),this},t.prototype._delegate=function(e,t,n){var i,r,o=[];for(i in this.consumers)i&&(r=this.consumers[i],n&&r.requiresLabelCleansing()?o.push(r[e].apply(r,n)):o.push(r[e].apply(r,t)));return E.all(o)},t.prototype.addLabels=function(e){return this._delegate("addLabels",[t.LabelCleanser.cleanLabels(e)]),this},t.prototype.addLabel=function(e,t){if("string"==typeof e){if(null!=t){var n={};return n[e]=t,this.addLabels(n)}i.error("Label cannot be null/undefined")}else i.error("Label key must be a string")},t.prototype.addManagedLabel=function(e,n){return this._delegate("addManagedLabel",[t.LabelCleanser.cleanLabelKey(e),t.LabelCleanser.cleanLabelValue(e,n)]),this},t.prototype.removeLabels=function(e){for(var n=[],i=0,r=e.length;i<r;i++)n.push(t.LabelCleanser.cleanLabelKey(e[i]));return this._delegate("removeLabels",[n]),this},t.prototype.removeLabel=function(e){return this.removeLabels([e])},t.prototype.setLoggedInToBBCId=function(e){return this._delegate("setLoggedInToBBCId",[e]),this},t.prototype.setLoggedOutOfBBCId=function(){return this._delegate("setLoggedOutOfBBCId"),this},t.prototype.setAppVersion=function(e){return this._delegate("setAppVersion",[e]),this},t.prototype.setDestination=function(e){return this._delegate("setDestination",[s.get(e)]),this},t.prototype.setProducer=function(e){return this._setProducer(e,!1)},t.prototype.setProducerByMasterbrand=function(e){return this._setProducer(e,!0)},t.prototype._setProducer=function(e,t){var n;if(!(n=e&&"NULL"!==e.toUpperCase()?t?a.getProducerId(e):u.getId(e):"0")){var r=t?"Masterbrand":"Producer";i.info(r+" ["+e+"] not recognised")}return n&&this._delegate("setProducer",[n]),this},t.prototype.setCounterName=function(e){var n=t.LabelCleanser.cleanCounterName(e),i=this._delegate("setCounterName",[e],[n]);return this.state.counterNameSet=!0,i},t.prototype.setContentLanguage=function(e){return this._delegate("setContentLanguage",[e]),this},t.prototype.setCacheMode=function(e){return this._delegate("setCacheMode",[e]),this._cacheMode=e,this},t.prototype.getCacheMode=function(){return this._cacheMode},t.prototype.clearCache=function(){this._isEnabled&&this._delegate("clearCache")},t.prototype.flushCache=function(){this._isEnabled&&this._delegate("flushCache")},t.prototype.viewEvent=function(e,n){if(this._eventsEnabled()){var i=t.LabelCleanser.cleanCounterName(e),r=t.LabelCleanser.cleanLabels(n);this.consumers[t.Consumers.COMSCORE]&&(this.state.comscoreEventSent=!0);var o=this._delegate("viewEvent",[e,n],[i,r]);return this.state.counterNameSet=!0,this.consumers[t.Consumers.COMSCORE]&&(this.state.comscoreEventSent=!0),o}},t.prototype.userActionEvent=function(e,n,r){if(this._eventsEnabled())return this.state.counterNameSet?(this._delegate("userActionEvent",[e,n,t.LabelCleanser.cleanLabels(r)]),this.consumers[t.Consumers.COMSCORE]&&(this.state.comscoreEventSent=!0)):i.error("userActionEvent not available before a call to viewEvent (to set counter name)."),this},t.prototype.errorEvent=function(e,n){if(this._eventsEnabled())return this._delegate("errorEvent",[e,t.LabelCleanser.cleanLabels(n)]),this},t.prototype.setPlayerName=function(e){r.assert("string"==typeof e&&0<e.length,'setPlayerName: name must be string with length, got "'+e+'"');var n=t.LabelCleanser.cleanLabelValue("player_name",e);return this._delegate("setPlayerName",[e],[n])},t.prototype.setPlayerVersion=function(e){r.assert("string"==typeof e&&0<e.length,'setPlayerVersion: version must be string with length, got "'+e+'"');var n=t.LabelCleanser.cleanLabelValue("player_version",e);return this._delegate("setPlayerVersion",[e],[n])},t.prototype.setPlayerIsPopped=function(e){return r.assert("boolean"==typeof e,'setPlayerIsPopped: isPopped must be boolean, got "'+e+'"'),this._delegate("setPlayerIsPopped",[e]),this},t.prototype.setPlayerWindowState=function(e){return r.assertContainsValue(c.WindowState,e,'The window state must be set as a member of Enums.WindowState, got "'+e+'"'),this._delegate("setPlayerWindowState",[e]),this},t.prototype.setPlayerVolume=function(e){return r.assert(e<=100&&0<=e,"volume must be 0-100, got: "+e),e<=100&&0<=e&&this._delegate("setPlayerVolume",[e]),this},t.prototype.setPlayerIsSubtitled=function(e){return r.assert("boolean"==typeof e,'setPlayerIsSubtitled: isSubtitled must be a boolean, got "'+e+'"'),this._delegate("setPlayerIsSubtitled",[e]),this},t.prototype.setPlayerDelegate=function(e){e=e||{};var t,n,i,o=["getTimestamp","getPosition"],s=!1;for(n=0;n<o.length;n++)t=o[n],i=e.hasOwnProperty(t)&&"function"==typeof e[t],r.assert(i,'The player delegate must implement "'+t+'"'),i||(s=!0);return s||(this._playerDelegate=e),this},t.prototype.setMedia=function(e){if(this._eventsEnabled()){this._clearMedia();var t=e.getClone();if(this.state.counterNameSet){this.media=t,this.addLabel(d.ESS_ENABLED,this._essEnabled?"true":"false");var n=c.MediaConsumptionMode.LIVE;this.media.getMediaConsumptionMode()===n?this._initLiveBroker():this._initOnDemandBroker(),this._delegate("setMedia",[this.media])}else i.error("setMedia: Must have a countername set or view event sent first")}},t.prototype.liveMediaUpdate=function(e,t,n){this._eventsEnabled()&&this._avEventsEnabled()&&e&&(this._suppressingPlayEvent=!1,this.media=e,this._delegate("liveMediaUpdate",[e,t,n]))},t.prototype.setMediaLength=function(e){return this.media?this.media.isOnDemand()?"number"!=typeof(e=this._cleanPosition(e))?i.error("setMediaLength: Length must be a positive number"):(this._delegate("setMediaLength",[e]),this.media.setLength(e)):i.error("setMediaLength: Length should be set to zero prior to passing the media object to Echo for live media"):i.error("setMediaLength: Must call setMedia first"),this},t.prototype.setMediaBitrate=function(){},t.prototype.setMediaCodec=function(){},t.prototype.setMediaCDN=function(){},t.prototype.setEssSuccess=function(e){this.addLabel(d.ESS_SUCCESS,e?"true":"false")},t.prototype.setEssError=function(e,t){this.addLabel(d.ESS_ERROR,e.toString().toLowerCase()),e.toString()===c.EssError.STATUS_CODE.toString()&&this.addLabel(d.ESS_STATUS_CODE,t),this._delegate("liveEnrichmentFailed")},t.prototype._avEventsEnabled=function(){return r.assert(Boolean(this.media),"setMedia() must be called prior to this method",!0)&&r.assert(Boolean(this._playerDelegate),"setPlayerDelegate not called or not configured correctly",!0)},t.prototype.getLiveBroker=function(){return this._liveBroker},t.prototype._initLiveBroker=function(){this._avEventsEnabled()&&this.media.getMediaConsumptionMode()===c.MediaConsumptionMode.LIVE&&(this._liveBroker=new l(this._playerDelegate,this.media,this,this._env,this._essEnabled),this._delegate("setBroker",[this._liveBroker]))},t.prototype.getOnDemandBroker=function(){return this._onDemandBroker},t.prototype._initOnDemandBroker=function(){this._avEventsEnabled()&&this.media.getMediaConsumptionMode()!==c.MediaConsumptionMode.LIVE&&(this._onDemandBroker=new f(this._playerDelegate,this.media,this),this._delegate("setBroker",[this._onDemandBroker]))},t.prototype._cleanPosition=function(e){return null!=e&&(e=Math.floor(e)),(void 0===e||isNaN(e)||!isFinite(e)||e<0)&&(e=0),e},t.prototype.avPlayEvent=function(e,n){if(this._eventsEnabled()&&this._avEventsEnabled()){var i=this.media.isLive();if(this._isPlaying=!0,i&&this._liveBroker)e=this._liveBroker.getPosition(),this._liveBroker.start();else if(!i&&this._onDemandBroker){if(e=this._cleanPosition(e),this._previousPlayPosition=e,this._positionExceedsMediaLength(e))return;this._onDemandBroker.setPosition(e),this._onDemandBroker.start()}return i&&this.media.isEssEnriched()&&this._suppressingPlayEvent?this._suppressedPlayEventLabels=n:(this._delegate("avPlayEvent",[e,t.LabelCleanser.cleanLabels(n)]),this.media.setBuffering(!1),this.media.setPlaying(!0)),this.consumers[t.Consumers.COMSCORE]&&(this.state.comscoreEventSent=!0),this}},t.prototype._avNavigationEvent=function(e,n,i,r){this._avEventsEnabled()&&(this._isPlaying=!1,this.media.isLive()?(this._liveBroker&&(this._liveBroker.stop(),n=this._liveBroker.getPosition()),this.media.isEssEnriched()&&!this._suppressingPlayEvent&&(this._suppressingPlayEvent=!0)):this._onDemandBroker&&(n=this._cleanPosition(n),n=this._preventPositionExceedingMediaLength(n),this._onDemandBroker.stop()),"avRewindEvent"===e||"avFastForwardEvent"===e?this._delegate(e,[n,r,t.LabelCleanser.cleanLabels(i)]):this._delegate(e,[n,t.LabelCleanser.cleanLabels(i)]))},t.prototype.avPauseEvent=function(e,t){if(this._eventsEnabled()&&this._avEventsEnabled())return this.media.setPlaying(!1),this._avNavigationEvent("avPauseEvent",e,t),this},t.prototype.avBufferEvent=function(e,t){if(this._eventsEnabled()&&this._avEventsEnabled())return this.media.setPlaying(!1),this._avNavigationEvent("avBufferEvent",e,t),this.media.setBuffering(!0),this},t.prototype.avEndEvent=function(e,t){if(this._eventsEnabled()&&this._avEventsEnabled())return this.media.setPlaying(!1),this._avNavigationEvent("avEndEvent",e,t),this.media=null,this},t.prototype.avRewindEvent=function(e,t,n){if(this._eventsEnabled()&&this._avEventsEnabled())return this._avNavigationEvent("avRewindEvent",e,n,t),this},t.prototype.avFastForwardEvent=function(e,t,n){if(this._eventsEnabled()&&this._avEventsEnabled())return this._avNavigationEvent("avFastForwardEvent",e,n,t),this},t.prototype.avSeekEvent=function(e,t){if(this._eventsEnabled()&&this._avEventsEnabled())return this._avNavigationEvent("avSeekEvent",e,t),this},t.prototype.avUserActionEvent=function(e,n,i,r){if(this._eventsEnabled()&&this._avEventsEnabled()){i=this._liveBroker?this._liveBroker.getPosition():(i=this._cleanPosition(i),this._preventPositionExceedingMediaLength(i));var o=t.LabelCleanser.cleanLabels(r);return this._delegate("avUserActionEvent",[e,n,i,o]),this}},t.prototype.releaseSuppressedPlay=function(){if(this._eventsEnabled()&&this._avEventsEnabled())return this._suppressingPlayEvent&&(this._suppressingPlayEvent=!1,this.avPlayEvent(this._liveBroker.getPosition(),this._suppressedPlayEventLabels)),this},t.prototype._clearMedia=function(){this.removeLabel(d.MEDIA_TIMESTAMP),this.removeLabel(d.ESS_ENABLED),this.removeLabel(d.ESS_ENRICHED),this.removeLabel(d.ESS_SUCCESS),this.removeLabel(d.ESS_ERROR),this.removeLabel(d.ESS_STATUS_CODE),null!==this.media&&(this.media=null),this._liveBroker instanceof l&&(this._liveBroker.stop(),this._liveBroker=null),this._onDemandBroker instanceof f&&(this._onDemandBroker.stop(),this._onDemandBroker=null),this._isPlaying=void 0,this._previousPlayPosition=void 0},t.prototype._positionExceedsMediaLength=function(e){return!!(this.media&&0<this.media.length&&e>=this.media.length-1e3)},t.prototype._preventPositionExceedingMediaLength=function(e){return this._positionExceedsMediaLength(e)?this.media.length:e},t.Consumers={COMSCORE:1,BARB:2,ATI:4},t}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i,r;i=[n(13),n(7),n(14),n(15)],void 0===(r=function(e,t,n,i){"use strict";function r(t,i,r,s,a){this._playerDelegate=t,this._playhead=new e,this._isStarted=!1,this._interval=null,this._echoClient=r,this._broadcast=o,this._playerDelegateTimestamp=0,this._previousPosition=0,this._playingTime=0,this._media=i,this._environment=s,this._essEnabled=a,this._hb3NotSentYet=!0,this._hb5NotSentYet=!0,this._isRecievingPlayerTimestamp=!1,this._updateTime=0,this._essEnabled&&(this._schedule=new n(i,s,r))}var o="no-broadcast";return r.prototype.start=function(){var e=this;this._isStarted||(this._interval=setInterval(function(){e._update()},1e3),this._isStarted=!0,this._isRecievingPlayerTimestamp||this._playhead.start())},r.prototype.stop=function(){clearInterval(this._interval),this._playhead.stop(),this._isStarted=!1},r.prototype._update=function(){var e,n=parseInt(this._playerDelegate.getTimestamp(),10),i=!1,r=!1,o=!1,s=this.getTimestamp(),a=new Date,u=(a=a.getTime())-this._updateTime;this._updateTime=a,"number"==typeof n&&0<n&&(r=!0,this._isRecievingPlayerTimestamp=!0,this._playerDelegateTimestamp!==n&&(i=!0,this._echoClient.addLabel(t.MEDIA_TIMESTAMP,n)),e=n-s,r&&(0===this._playerDelegateTimestamp||e<0-u-1500||u+1500<e)&&(o=!0,this._playerDelegateTimestamp=n,this._playingTime+=this._playhead.getPosition(),this._restartPlayhead(),s=this.getTimestamp())),o||(0!==this._playerDelegateTimestamp&&!i||this._isRecievingPlayerTimestamp&&!r?this._playhead.stop():this._playhead.start()),this._updateSchedule(s)?(this._playingTime=0,this._playerDelegateTimestamp=n,this._restartPlayhead(),this._hb3NotSentYet=!0,this._hb5NotSentYet=!0):i&&this._echoClient.releaseSuppressedPlay(),this._updateHeartbeats(),this._previousPosition=this.getPosition()},r.prototype._updateSchedule=function(e){var t,n,r,s,a=!1;return this._essEnabled&&this._schedule.hasData()&&0<e&&(t=this._schedule.getBroadcast(e),(s=new i(this._media.getAvType(),this._media.getMediaConsumptionMode())).setServiceId(this._schedule.serviceId),s.setTransportMode(this._media.getTransportMode()),s.setMediaPlayerName(this._media.getMediaPlayerName()),s.setMediaPlayerVersion(this._media.getMediaPlayerVersion()),t||this._broadcast===o?!t||this._broadcast!==o&&t.version.id===this._broadcast.version.id||(r=(n=(this._broadcast=t).published_time).end-n.start,s.setEssEnriched(!0),s.setVersionId(t.version.id),s.setLength(r),t.episode&&t.episode.id&&s.setEpisodeId(t.episode.id),this._updateMedia(s),a=!0):(this._broadcast=o,this._updateMedia(s),a=!0)),a},r.prototype._updateHeartbeats=function(){var e,t;this._broadcast!==o&&(this._hb3NotSentYet||this._hb5NotSentYet)&&(e=this._playingTime+this._playhead.getPosition(),t=this.getPosition(),3e3<=e&&this._hb3NotSentYet&&(this._echoClient.avUserActionEvent("echo_hb","echo_hb_3",t),this._hb3NotSentYet=!1),5e3<=e&&this._hb5NotSentYet&&(this._echoClient.avUserActionEvent("echo_hb","echo_hb_5",t),this._hb5NotSentYet=!1))},r.prototype._updateMedia=function(e){var t=this.getPosition();this._echoClient.liveMediaUpdate(e,t,this._previousPosition),this._previousPosition=t},r.prototype._restartPlayhead=function(){this._playhead.reset(),this._playhead.start()},r.prototype.getPosition=function(){return this._broadcast&&this._broadcast!==o?this._playerDelegateTimestamp-this._broadcast.published_time.start+this._playhead.getPosition():this._playhead.getPosition()},r.prototype.getTimestamp=function(){return this._playerDelegateTimestamp+this._playhead.getPosition()},r}.apply(t,i))||(e.exports=r)},function(e,t,n){var i,r;i=[n(13)],void 0===(r=function(e){"use strict";function t(t,n,i){this._playerDelegate=t,this._media=n,this._echoClient=i,this._playhead=new e,this._isStarted=!1,this._interval=null,this._playerDelegatePosition=0,this._playingTime=0,this._currentIntervalMaxPosition=0,this._hb3NotSentYet=!0,this._hb5NotSentYet=!0,this._previousPlayingTime=0}return t.prototype.setPlayhead=function(e){this._playhead=e},t.prototype.start=function(){var e=this;this._isStarted||(this._interval=setInterval(function(){e._update()},1e3),this._isStarted=!0,this._playhead.start())},t.prototype.stop=function(){clearInterval(this._interval),this._playhead.stop(),this._isStarted=!1},t.prototype.setPosition=function(e){"number"==typeof e&&0<=e&&!this.arePositionsWithinTolerance(this.getPosition(),e)&&(this._playerDelegatePosition=e,this._playingTime+=this._playhead.getPosition(),this._restartPlayhead(),this._currentIntervalMaxPosition=e)},t.prototype.getCurrentIntervalMaxPosition=function(){return this._currentIntervalMaxPosition},t.prototype._update=function(){var e=parseInt(this._playerDelegate.getPosition(),10),t=this.getPosition(),n=this._playingTime+this._playhead.getPosition(),i=Math.abs(n-(this._previousPlayingTime||n));this._previousPlayingTime=n,"number"==typeof e&&e!==this._playerDelegatePosition&&0<e&&(0!==this._playerDelegatePosition&&this.arePositionsWithinTolerance(e,t)||(this._playerDelegatePosition=e,t=this._playerDelegatePosition,this._restartPlayhead())),t>this._currentIntervalMaxPosition&&(this._currentIntervalMaxPosition=t),3e3<=n&&this._hb3NotSentYet&&i<1500&&(this._echoClient.avUserActionEvent("echo_hb","echo_hb_3",t),this._hb3NotSentYet=!1),5e3<=n&&this._hb5NotSentYet&&i<1500&&(this._echoClient.avUserActionEvent("echo_hb","echo_hb_5",t),this._hb5NotSentYet=!1),0<this._media.length&&t>=this._media.length&&this._echoClient.avPauseEvent(this._media.length,{echo_pause_at_media_length:1})},t.prototype._restartPlayhead=function(){this._playhead.reset(),this._playhead.start()},t.prototype.getPosition=function(){var e=this._playhead.getPosition();return this._playerDelegatePosition+e},t.prototype.getTimestamp=function(){return 0},t.prototype.arePositionsWithinTolerance=function(e,t){var n=e-t;return-1500<=n&&n<=1500},t}.apply(t,i))||(e.exports=r)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e){return"string"==typeof e&&0<e.length}function i(e){return"string"==typeof(t=e[f.ECHO_CACHE_MODE])&&(t=t.toUpperCase(),u.EchoCacheMode.hasOwnProperty(t))?c.assert("boolean"==typeof e[f.ECHO_ENABLED],'Config: "enabled" must be boolean, got '+e[f.ECHO_ENABLED])&&c.assert("boolean"==typeof e[f.ECHO_AUTO_START],'Config: "auto_start" must be boolean, got '+e[f.ECHO_AUTO_START])&&c.assert(null===e[f.ECHO_DEVICE_ID]||"string"==typeof e[f.ECHO_DEVICE_ID]&&e[f.ECHO_DEVICE_ID].length,"ECHO.DEVICE_ID must be an non-empty string"):(a.error("Config Error: KEYS.ECHO_CACHE_MODE Invalid cache mode specified"),!1);var t}function r(e){if(!1===e[f.COMSCORE_ENABLED])return!0;if(!t(e[f.REPORTING_PROFILE])){if(!t(e[f.COMSCORE_HOST]))return a.error("Config Error: Must have config value for COMSCORE_HOST or REPORTING_PROFILE"),!1;if("scorecardresearch.com"!==e[f.COMSCORE_HOST]&&"sa.bbc.co.uk"!==e[f.COMSCORE_HOST])return a.error("Config Error: KEYS.COMSCORE_HOST Should be one of scorecardresearch.com or sa.bbc.co.uk"),!1}return"string"==typeof(n=e[f.REPORTING_PROFILE])&&(n=n.toUpperCase(),u.ReportingProfiles.hasOwnProperty(n))?c.assert("boolean"==typeof e[f.COMSCORE_ENABLED],'ComScore config: "ENABLED" must be boolean'):(a.error("Config Error: KEYS.REPORTING_PROFILE Invalid reporting profile specified"),!1);var n}function o(e){return"string"==typeof e&&(e=e.toUpperCase(),u.ReportingProfiles.hasOwnProperty(e))?u.ReportingProfiles[e]:null}function s(e){return"string"==typeof e&&(e=e.toUpperCase(),u.EchoCacheMode.hasOwnProperty(e))?u.EchoCacheMode[e]:null}var a=n(2),u=n(1),c=n(0),l=n(12),f=n(3),d={};d[f.ECHO_ENABLED]=!0,d[f.ECHO_AUTO_START]=!0,d[f.ECHO_DEVICE_ID]=null,d[f.REPORTING_PROFILE]="PUBLIC_SERVICE",d[f.ECHO_CACHE_MODE]="OFFLINE",d[f.COMSCORE_ENABLED]=!1,d[f.ATI_ENABLED]=!0,d[f.BARB_ENABLED]=!1,d[f.BARB_DEBUG]=!1,d[f.BARB_SITE_CODE]="bbcdotcom",d[f.TEST_SERVICE_ENABLED]=!1,d[f.USE_ESS]=!1,d[f.ESS_HOSTNAME]="ess.api.bbci.co.uk",d[f.USE_SSC]=!1,d[f.SSC_HOSTNAME]=null;var p={};return p[f.ECHO_NAME]=l.NAME,p[f.ECHO_VERSION]=l.VERSION,{defaultConfig:d,fixedConfig:p,generate:function(e){var n,u;(e=e||{})[f.REPORTING_PROFILE]&&(n=o(e[f.REPORTING_PROFILE])),n||(n=o("PUBLIC_SERVICE")),e[f.ECHO_CACHE_MODE]&&(u=s(e[f.ECHO_CACHE_MODE])),u||(u=s("OFFLINE"));var l,h,_,g=c.extend(d,!0,n,e||{},p);return i(g)&&r(g)&&(!1===(_=g)[f.BARB_ENABLED]||(t(_[f.BARB_SITE_CODE])?_[f.BARB_SITE_CODE].match(/[a-zA-Z]+/)?"boolean"==typeof _[f.BARB_DEBUG]||(a.error("Config Error: KEYS.BARB_DEBUG must be a boolean"),0):(a.error("Config Error: KEYS.BARB_SITE_CODE must match [a-zA-Z]"),0):(a.error("Config Error: KEYS.BARB_SITE_CODE must have a value"),0)))&&(h=(l=g)[f.SSC_HOSTNAME],"boolean"!=typeof l[f.USE_SSC]?(a.error("Config Error: KEYS.USE_SSC must be boolean"),0):null===h||".com"===h||".co.uk"===h||(a.error("Config Error: SSC_HOSTNAME must be one of .com, .co.uk or null"),0))?g:null}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(){return-1}function i(e,t,n){return e===y?(i=t)+"//"+("https:"===i?"s":"")+"b."+y+"/p?":t+"//"+E+"/"+n+"/s";var i}function r(e){return null===e?g:e}function o(e){return null!==e&&e.isValueValid()?e.getValue():g}function s(e){var t=e.getMediaConsumptionMode(),n=e.getServiceIdObject(),i=e.getVersionIdObject(),r=e.getClipIdObject(),o=e.getEpisodeIdObject(),s=e.getVpIdObject(),a=e.getNonPipsContentIdObject();return t===_.MediaConsumptionMode.LIVE&&!0===e.isEssEnriched()&&i.isValueValid()?i:t===_.MediaConsumptionMode.LIVE&&n.isValueValid()?n:a.isValueValid()?a:i.isValueValid()?i:r.isValueValid()?r:o.isValueValid()?o:s.isValueValid()?s:n.isValueValid()?n:null}function a(e){var t={},n=s(e),i=r(e.getAvType()),a=r(e.getLength()),u=r(e.getRetrievalType());t[c.MEDIA_PART_NUMBER]=1,t[c.MEDIA_TOTAL_PARTS]=1,t[c.MEDIA_LENGTH]=a,t[c.MEDIA_MEDIUM]=i,t[c.MEDIA_RETRIEVAL_TYPE]=u,null===e.getMediaConsumptionMode()?(t[c.MEDIA_STREAM_TYPE]=g,t[c.MEDIA_LIVE_OR_ONDEMAND]=g):e.isLive()||i!==g?e.isOnDemand()||e.isDownload()?(t[c.MEDIA_STREAM_TYPE]=e.isVideo()?"vod":"aod",t[c.MEDIA_LIVE_OR_ONDEMAND]="on-demand"):(e.isEssEnriched()?t[c.ESS_ENRICHED]="true":(t[c.ESS_ENRICHED]="false",t[c.MEDIA_IS_LIVE]="1"),t[c.MEDIA_STREAM_TYPE]="live",t[c.MEDIA_LIVE_OR_ONDEMAND]="live"):t[c.MEDIA_STREAM_TYPE]=g;var l=e.getVersionIdObject(),f=e.getServiceIdObject(),d=e.getClipIdObject(),p=e.getEpisodeIdObject(),h=e.getNonPipsContentIdObject();if(t[c.MEDIA_PID]=o(n),e.isLive()&&!e.getServiceId()&&!1===e.isEssEnriched()&&(e.getVersionId()||e.getVpId())){var v=e.getVersionId()||e.getVpId();t[c.MEDIA_PID]="unverified_"+v}return h.isValueSet()&&(t[c.MEDIA_NON_PIPS_CONTENT_ID]=o(h)),l.isValueSet()&&(t[c.MEDIA_VERSION_ID]=o(l)),f.isValueSet()&&(t[c.MEDIA_SERVICE_ID]=o(f)),d.isValueSet()&&(t[c.MEDIA_CLIP_ID]=o(d)),p.isValueSet()&&(t[c.MEDIA_EPISODE_ID]=o(p)),function(e){var t=s(e),n=e.getVersionIdObject(),i=e.getEpisodeIdObject(),r=e.getClipIdObject();if(null!==t){var o=t.getIdType();if(e.isLive()){if(o===_.MediaIdType.SERVICE||e.isEssEnriched())return!1}else{if(!(o!==_.MediaIdType.SERVICE||n.isValueSet()||i.isValueSet()||r.isValueSet()))return!0;if(o!==_.MediaIdType.VPID)return!1}}return!0}(e)&&(t[c.MEDIA_AMBIGUOUS_ID]="1"),t}function u(e,t,n,r){var o,s,a,f,h,v,E,S,A,I=n[l.COMSCORE_SITE];this._deviceId=null,this._broker=null,this.media=null,this.SSPlayerEvent=u.StreamSense.PlayerEvents,this.SSPlayerState=u.StreamSense.InternalStates,this._clips=[],this._isEnabled=!0,this._hasStartedAppTag=!1,this._hasCreatedAsset=!1,this._storedAssetLabels={},h=n[l.COMSCORE_HOST],I=n[l.COMSCORE_SITE],this.useSsc=!0===n[l.USE_SSC]&&"sa.bbc.co.uk"!==h,this._deviceId=n[l.ECHO_DEVICE_ID]||void 0,!0!==this.useSsc||this._deviceId||(E=u._createSscHelper({forceBBCHost:n[l.SSC_HOSTNAME]}),this._deviceId=E.getCookieId()),p.containsValue(_.ApplicationType,t)||(t=g),o=i(h,r.getProtocol(),I),!0!==this.useSsc||this._deviceId||(o=E.getLocation().protocol+"//"+E.getSSCHostname()),!0===n[l.TEST_SERVICE_ENABLED]&&(a=o,o=n[l.TEST_SERVICE_URL]+"/comscore",this._isUsingComscoreOTTLibrary&&(s=n[l.TEST_SERVICE_URL]+"/offline")),this._isApp=!p.containsValue(b,t),v=r.getHttpGet(),f=h===y,this._isUsingComscoreOTTLibrary=!(!u.AppTag||!u.AppTag.ns_),this._isUsingComscoreOTTLibrary?(this.appTag=u.AppTag.ns_.comScore,this.appTag.setPlatformAPI(u.AppTag.ns_.PlatformAPIs.html5),v&&(this.appTag.getPlatformAPI().httpGet=v),this.appTag.setPublisherSecret(n[l.COMSCORE_PUBLISHER_SECRET]),this.appTag.setAppContext()):this.appTag=new u.AppTag(v||d._defaultHttpGet,this._isApp,f),this.ss=new u.StreamSense.StreamingAnalytics({liveEndpointURL:o,systemClockJumpDetection:!0}),v&&(this.ss.getPlatformAPI().httpGet=v),f&&(this.appTag.setCustomerC2(n[l.COMSCORE_CUSTOMER_ID]),this.ss.setLabel(c.COMSCORE_CUSTOMER,n[l.COMSCORE_CUSTOMER_ID]),this.addLabel(c.COMSCORE_C1,"2"),this.addLabel(c.COMSCORE_SITE,I)),this.appTag.setPixelURL(o),this._deviceId?this.addLabel(c.DEVICE_ID,this._deviceId):this.useSsc||"sa.bbc.co.uk"!==h||(this._deviceId=m.getCookieValueByName("s1")),!0===n[l.TEST_SERVICE_ENABLED]&&(this.addLabel(c.COMSCORE_ENDPOINT,a),this._isUsingComscoreOTTLibrary&&this.appTag.setOfflineURL(s)),this.addLabel(c.BBC_APPLICATION_NAME,e),this.addLabel(c.BBC_APPLICATION_TYPE,t),this.setCacheMode(n[l.ECHO_CACHE_MODE]),this.addLabel(c.BBC_MEASUREMENT_LIB_NAME,n[l.ECHO_NAME]),this.addLabel(c.BBC_MEASUREMENT_LIB_VERSION,n[l.ECHO_VERSION]),this._isApp?(this._isUsingComscoreOTTLibrary?this.appTag.setAppName(e):this.addLabel(c.APP_NAME,e),this.addLabel(c.APP_PLATFORM_NAME,r.getPlatformName()),this.addLabel(c.APP_PLATFORM_RUNTIME,r.getPlatformRuntimeEnvironment()),this.addLabel(c.APP_OS_VERSION,r.getPlatformOSVersion()),this.addLabel(c.APP_DEVICE_NAME,r.getDeviceName()),this.addLabel(c.APP_SCREEN_RESOLUTION,r.getScreenResolution()),this.addLabel(c.APP_LANGUAGE,r.getLanguage())):this.addLabel(c.WEB_SCREEN_RES,r.getScreenResolution()),this.addLabel(c.ENV_CHAR_SET,r.getCharSet()),this.addLabel(c.ENV_TITLE,r.getTitle()),this.addLabel(c.ENV_REFERRER,r.getReferrer()),-1===r.getURL().indexOf("file:",0)&&this.addLabel(c.ENV_URL,r.getURL()),n[l.ECHO_TRACE]&&this.setTraceId(n[l.ECHO_TRACE]),(S=d.getOrbCookiesPolicy())&&(A="ad"+(S.ads?"1":"0")+"ps"+(S.personalisation?"1":"0")+"pf"+(S.performance?"1":"0"),this.addLabel(c.COOKIE_POLICY,A)),this.addLabel(_.ManagedLabels.BBC_SITE,g),this._mediaIsLive=null,n&&!1===n[l.ECHO_ENABLED]?this._isEnabled=!1:this._isEnabled=!0}var c=n(7),l=n(3),f=n(32),d=n(8),p=n(0),h=n(33),_=n(1),g="invalid-data",v=n(34),m=n(9),E="sa.bbc.co.uk/bbc",y="scorecardresearch.com",b=[_.ApplicationType.WEB,_.ApplicationType.MOBILE_WEB,_.ApplicationType.RESPONSIVE],S=[c.NO_COOKIES],A=["ns_st_pr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_ty","ns_st_ct","ns_st_st","ns_st_pu"];u.prototype.start=function(){this._isEnabled&&!this._hasStartedAppTag&&(this.appTag.start(),this._hasStartedAppTag=!0)},u.prototype.enable=function(){this._isEnabled||(this._isEnabled=!0)},u.prototype.disable=function(){this._isEnabled&&(this.clearMedia(),this._isEnabled=!1)},u.prototype.getDeviceId=function(){return this._deviceId},u.prototype._buildStreamSenseClip=function(e){var t,n=a(e),i=n[c.MEDIA_PID];for(t=0;t<this._clips.length;t++)if(this._clips[t][c.MEDIA_PID]===i)return this._clips[t];return n[c.MEDIA_CLIP_NUMBER]=this._clips.length+1,this._clips.push(n),n},u.prototype.setTraceId=function(e){this.addLabel(l.ECHO_TRACE,e)},u._createSscHelper=function(e){return new v(e||{})},u.StreamSense=n(35),u.AppTag=n(36);var I="<"+S.join("><")+">";return u.prototype._isExcludedLabel=function(e){return!0===this.useSsc&&!!I.match(new RegExp("<"+e+">"))},u.prototype.addLabels=function(e){if("object"==typeof e)for(var t in e)e.hasOwnProperty(t)&&this.addLabel(t,e[t])},u.prototype.addLabel=function(e,t){!0!==this._isExcludedLabel(e)&&(this.appTag.setLabel(e,t),-1<A.indexOf(e)?this._hasCreatedAsset?this.ss.getPlaybackSession().getAsset().setLabel(e,t):this._storedAssetLabels[e]=t:this.ss.setLabel(e,t))},u.prototype.addManagedLabel=function(e,t){var n=h.isValidManagedLabel(e,t)?t:g;for(var i in _.ManagedLabels)_.ManagedLabels[i]===e&&this.addLabel(e,n)},u.prototype.removeLabels=function(e){for(var t=0,n=e.length;t<n;t++)this.removeLabel(e[t])},u.prototype.removeLabel=function(e){this.appTag.setLabel(e,null),-1<A.indexOf(e)?this._hasCreatedAsset?this.ss.getPlaybackSession().getAsset().setLabel(e,null):delete this._storedAssetLabels[e]:this.ss.setLabel(e,null)},u.prototype.setLoggedInToBBCId=function(e){this.addLabel(c.BBC_ID_LOGGED_IN,"1"),e&&0<e.length?this.addManagedLabel(_.ManagedLabels.BBC_HASHED_ID,e):this.removeLabel(_.ManagedLabels.BBC_HASHED_ID)},u.prototype.setLoggedOutOfBBCId=function(){this.removeLabels([c.BBC_ID_LOGGED_IN,_.ManagedLabels.BBC_HASHED_ID])},u.prototype.setAppVersion=function(e){"function"==typeof this.appTag.setAppVersion?this.appTag.setAppVersion(e):e&&this._isApp?this.addLabel(c.APP_VERSION,e.toString()):e&&this.addLabel(c.BBC_APPLICATION_VERSION,e.toString())},u.prototype.setCounterName=function(e){this._isEnabled&&this.addLabel(c.BBC_COUNTER_NAME,e)},u.prototype.setDestination=function(e){this.addLabel(c.DESTINATION,e)},u.prototype.setProducer=function(e){this.addLabel(c.PRODUCER,e)},u.prototype.setContentLanguage=function(e){this.addLabel(c.BBC_LANGUAGE,e)},u.prototype.setCacheMode=function(e){if(this._isUsingComscoreOTTLibrary&&e!==this._cacheMode){switch(e){case _.EchoCacheMode.ALL:this.appTag.allowLiveTransmission(this.appTag.TransmissionMode.NEVER),this.appTag.allowOfflineTransmission(this.appTag.TransmissionMode.NEVER);break;case _.EchoCacheMode.OFFLINE:this.appTag.allowLiveTransmission(this.appTag.TransmissionMode.DEFAULT),this.appTag.allowOfflineTransmission(this.appTag.TransmissionMode.DEFAULT)}this._cacheMode=e}},u.prototype.flushCache=function(){this._isUsingComscoreOTTLibrary&&this.appTag.flushCache()},u.prototype.clearCache=t,u.prototype.viewEvent=function(e,t){if(this._eventsEnabled()){this.addLabel(c.BBC_COUNTER_NAME,e);var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"view");n.name=e,this.appTag.view(n)}},u.prototype.errorEvent=t,u.prototype.userActionEvent=function(e,t,n){if(this._eventsEnabled()){var i=p.extend(n,!0,c.USER_ACTION_TYPE,e,c.USER_ACTION_NAME,t,c.ECHO_EVENT_NAME,"userAct");this.appTag.hidden(i)}},u.prototype.setPlayerName=function(e){this.addLabel(c.PLAYER_NAME,e)},u.prototype.setPlayerVersion=function(e){this.addLabel(c.PLAYER_VERSION,e)},u.prototype.setPlayerIsPopped=function(e){this.ss.setLabel(c.PLAYER_POPPED,e?1:0)},u.prototype.setPlayerWindowState=function(e){this.ss.setLabel(c.PLAYER_WINDOW_STATE,e)},u.prototype.setPlayerVolume=function(e){this.ss.setLabel(c.PLAYER_VOLUME,e)},u.prototype.setPlayerIsSubtitled=function(e){this.ss.setLabel(c.PLAYER_SUBTITLED,e?1:0)},u.prototype.setBroker=function(e){return this._broker=e,this},u.prototype.setMedia=function(e){var t,n,i;if(this._eventsEnabled()&&(this.clearMedia(),e)){this.media=e;var r=this._buildStreamSenseClip(this.media),o=(t=this.media,n={},i=s(t),n[c.PLAYLIST_NAME]=null===i?g:i.getValue(),n);this._mediaIsLive=!e.isOnDemand(),this.ss.createPlaybackSession(o),this.ss.getPlaybackSession()&&(this.ss.getPlaybackSession().setAsset(r),this._hasCreatedAsset=!0,this.ss.getPlaybackSession().getAsset().setLabels(this._storedAssetLabels))}},u.prototype.liveMediaUpdate=function(e,t,n){p.assert("number"==typeof t,"newPosition must be a number"),p.assert("number"==typeof n,"oldPosition must be a number"),this.media=e;var i=this._buildStreamSenseClip(e);this.ss.notifyEnd(n),this.ss.getPlaybackSession().setAsset(i),this.ss.getPlaybackSession().getAsset().setLabels(this._storedAssetLabels),this.ss.notifyPlay(t)},u.prototype.liveEnrichmentFailed=t,u.prototype.setMediaLength=function(e){this._eventsEnabled()&&null!=this.media&&((!e||e<0)&&(e=0),this.ss.getPlaybackSession().getAsset().setLabel(c.MEDIA_LENGTH,e))},u.prototype.avPlayEvent=function(e,t){if(this._eventsEnabled()){var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"avPlay");this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyPlay(n,e)}},u.prototype.avPauseEvent=function(e,t){if(this._eventsEnabled()){var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"avPause"),i=this.media.isLive();i&&!1===this.media.isEssEnriched()?e=0:!i&&this._broker&&0===e&&(e=this._broker.getCurrentIntervalMaxPosition()),this.ss.notifyPause(n,e)}},u.prototype.avBufferEvent=function(e,t){this._eventsEnabled()&&(this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyBufferStart(e))},u.prototype.avEndEvent=function(e,t){if(this._eventsEnabled()){var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"avEnd",c.PLAYLIST_END,1);this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyEnd(e,n),this.clearMedia()}},u.prototype.avRewindEvent=function(e,t,n){if(this._eventsEnabled()){var i=p.extend(n,!0,c.ECHO_EVENT_NAME,"avRW",c.EVENT_TRIGGERED_BY_USER,"rewind",c.REWIND_FF_RATE,t);this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyPause(e,i)}},u.prototype.avFastForwardEvent=function(e,t,n){if(this._eventsEnabled()){var i=p.extend(n,!0,c.ECHO_EVENT_NAME,"avFF",c.EVENT_TRIGGERED_BY_USER,"fastforward",c.REWIND_FF_RATE,t);this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyPause(i,e)}},u.prototype.avSeekEvent=function(e,t){if(this._eventsEnabled()){var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"avSeek",c.EVENT_TRIGGERED_BY_USER,"seek");this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyPause(e,n)}},u.prototype.avUserActionEvent=function(e,t,n,i){if(this._eventsEnabled()){var r=p.extend(i,!0,c.ECHO_EVENT_NAME,"avUserAct",c.STREAMSENSE_CUSTOM_EVENT_TYPE,e,c.USER_ACTION_TYPE,e,c.USER_ACTION_NAME,t);this.media.isLive()&&!1===this.media.isEssEnriched()&&(n=0),this.ss.notifyCustomEvent(n,r)}},u.prototype.clearMedia=function(){this._eventsEnabled()&&(this._clips=[],this._hasCreatedAsset=!1,null!==this.media&&(this.ss.getState()===f.PLAYING&&this.avEndEvent(0),this.media=null))},u.prototype.requiresLabelCleansing=function(){return!0},u.prototype._eventsEnabled=function(){return this._isEnabled&&this._hasStartedAppTag},u}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={IDLE:0,PLAYBACK_NOT_STARTED:1,PLAYING:2,PAUSED:3,BUFFERING_BEFORE_PLAYBACK:4,BUFFERING_DURING_PLAYBACK:5,BUFFERING_DURING_SEEKING:6,BUFFERING_DURING_PAUSE:7,SEEKING_BEFORE_PLAYBACK:8,SEEKING_DURING_PLAYBACK:9,SEEKING_DURING_BUFFERING:10,SEEKING_DURING_PAUSE:11,PAUSED_DURING_BUFFERING:12}},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1),i=n(0);return{isValidManagedLabel:function(e,n){switch(e){case t.ManagedLabels.IPLAYER_STATE:if("purchased"!==n&&"free"!==n)return!1;break;case t.ManagedLabels.STORE_ED_TYPE:if("archive"!==n&&"standard"!==n)return!1;break;case t.ManagedLabels.IPLAYER_AVAIL:if("avail"!==n&&"unavail"!==n&&"soon"!==n)return!1;break;case t.ManagedLabels.STORE_REFERRAL:if("iplayer"!==n&&"store"!==n)return!1;break;case t.ManagedLabels.BBC_HASHED_ID:if("string"!=typeof n||0===i.trim(n).length)return!1}return!0}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i,r;void 0===(r="function"==typeof(i=function(){function e(e){e=e||{},this.alwaysUseHttps=!0===e.alwaysUseHttps||!1,this.forceBBCHost=!1,this._sscCookieId=void 0,this._s1CookieId=void 0,this._uidCookieId=void 0,".co.uk"===e.forceBBCHost?this.forceBBCHost=".co.uk":".com"===e.forceBBCHost&&(this.forceBBCHost=".com")}var t,n;return t="ssc.api.bbc.co.uk",n="ssc.api.bbc.com",e.prototype.getCookie=function(e){return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},e.prototype.getLocation=function(){return window.location},e.prototype.getCookieId=function(){var e,i,r,o,s;return i=this.getSSCHostname(),r=this.getLocation(),o=i===t&&-1!==r.hostname.search(/bbc.co.uk$/),s=i===n&&-1!==r.hostname.search(/bbc.com$/),(o||s)&&null==(e=this.getSSCCookieId())&&(o?e=this.getS1CookieId():s&&(e=this.getUidCookieId())),e},e.prototype.getS1CookieId=function(){return void 0===this._s1CookieValue&&(this._s1CookieValue=this.getCookie("s1")),this._s1CookieValue},e.prototype.getUidCookieId=function(){return void 0===this._uidCookieValue&&(this._uidCookieValue=this.getCookie("ckns_uid"),null===this._uidCookieValue&&(this._uidCookieValue=this.getCookie("ckpf_uid"))),this._uidCookieValue},e.prototype.getSSCCookieId=function(){return void 0===this._sscCookieValue&&(this._sscCookieValue=this.getCookie("ckns_sscid"),null===this._sscCookieValue&&(this._sscCookieValue=this.getCookie("ckpf_sscid"))),this._sscCookieValue},e.prototype.isValidId=function(e){var t;return t=!1,"string"==typeof e&&-1!==e.search(/^[^(?!<>\s)]+$/)&&(t=!0),t},e.prototype.getAnalyticsLocation=function(e,t){var n,i,r,o,s;return this.getSSCHostname(),i=this.getLocation(),n={sscId:void 0},"string"!=typeof e&&(e=""),void 0!==t&&!1!==this.isValidId(t)||(t=this.getCookieId()),this.alwaysUseHttps||"https:"===i.protocol?n.protocol="https:":n.protocol="http:",o=-1!==e.search(/ns_alias=/),s=this.isValidId(t),n.hostname=o||s?this.getScorecardresearchHostname():this.getSSCHostname(),s&&(e=""===e?"?ns_alias="+t:(r=e.search(/\?/)+1,[e.slice(0,r),"ns_alias="+t+"&",e.slice(r)].join("")),n.sscId=t),n.search=e,-1!==n.hostname.search(/scorecardresearch.com$/)?n.pathname="/p":n.pathname="/",n.href=n.protocol+"//"+n.hostname+n.pathname+n.search,n},e.prototype.getSSCHostname=function(){var e;return e=this.getLocation(),".com"===this.forceBBCHost||".co.uk"!==this.forceBBCHost&&-1===e.hostname.search(/bbc\.co\.uk$/)?n:t},e.prototype.getScorecardresearchHostname=function(){return"https:"===this.getLocation().protocol?"sb.scorecardresearch.com":"b.scorecardresearch.com"},e})?i.call(t,n,t,e):i)||(e.exports=r)},function(e,t,n){(function(t,n){e.exports=function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){return r(t[s][1][e]||e)},c,c.exports,e,t,n,i)}return n[s].exports}for(var o=!1,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,t,n){var i=e(24),r=e(26),o=e(36);t.exports=function(e){function t(t){c=t,e.t().set("plannedFlushTime",t+"")}function n(){e.flush(),t(-1),a.i()}function s(){l&&(o.clearTimeout(l),l=null)}var a=this,u=!1,c=-1,l=null;i.extend(a,{start:function(){u=!0,!l&&0<e.getCacheFlushingInterval()&&null!=e.getCustomerC2()&&(e.t().has("plannedFlushTime")&&(c=r.o(e.t().get("plannedFlushTime"),-1)),a.i())},stop:function(){u=!1,s()},update:function(){0<e.getCacheFlushingInterval()&&null!=e.getCustomerC2()?!l&&u?(t(-1),a.start()):null!=l&&(t(0<e.getCacheFlushingInterval()?+new Date+1e3*e.getCacheFlushingInterval():-1),l&&(o.clearTimeout(l),a.i())):(t(-1),s())},i:function(){c<0&&t(+new Date+1e3*e.getCacheFlushingInterval()),l=o.setTimeout(n,c-+new Date)}})}},{24:24,26:26,36:36}],2:[function(e,t,n){var i=e(5),r=e(8).TransmissionMode,o=e(8).u,s=new i,a={TransmissionMode:r,getCore:function(){return s},setAppContext:function(e){s.setAppContext(e)},setEnabled:function(e){s.setEnabled(e)},getEnabled:function(){return s.getEnabled()},onUxActive:function(){s.onUxActive()},onUxInactive:function(){s.onUxInactive()},onEnterForeground:function(){s.onEnterForeground()},onExitForeground:function(){s.onExitForeground()},onUserInteraction:function(){s.onUserInteraction()},update:function(){s.update()},enableAutoUpdate:function(e,t){s.enableAutoUpdate(e,void 0===t||t)},disableAutoUpdate:function(){s.disableAutoUpdate()},isAutoUpdateEnabled:function(){return s.isAutoUpdateEnabled()},start:function(e){s.s(o.l,e||{})},view:function(e){s.s(o.v,e||{})},hidden:function(e){s.s(o.HIDDEN,e||{})},close:function(e){s.s(o.h,e)},aggregate:function(e){s.s(o._,e)},getPixelURL:function(){return s.getPixelURL()},setPixelURL:function(e){s.setPixelURL(e)},getCustomerC2:function(){return s.getCustomerC2()},setCustomerC2:function(e){s.setCustomerC2(e)},getAppName:function(){return s.getAppName()},setAppName:function(e){s.setAppName(e)},getAppVersion:function(){return s.getAppVersion()},setAppVersion:function(e){s.setAppVersion(e)},getGenesis:function(){return s.getGenesis()},getVisitorID:function(){return s.getVisitorId()},setVisitorId:function(e,t){s.setVisitorId(e,t)},getCrossPublisherId:function(){return s.getCrossPublisherId()},getOfflineTransmissionMode:function(){return s.getOfflineTransmissionMode()},allowOfflineTransmission:function(e){s.allowOfflineTransmission(e)},getLiveTransmissionMode:function(){return s.getLiveTransmissionMode()},allowLiveTransmission:function(e){s.allowLiveTransmission(e)},getPublisherSecret:function(){return s.g()},setPublisherSecret:function(e){s.m(e)},flushCache:function(){s.flush()},clearOfflineCache:function(){s.I().clear()},setLabel:function(e,t){s.setLabel(e,t)},getLabel:function(e){return s.getLabel(e)},setLabels:function(e){s.setLabels(e)},getLabels:function(){return s.getLabels()},setAutoStartLabels:function(e){s.setAutoStartLabels(e)},getAutoStartLabel:function(e){return s.getAutoStartLabel(e)},getAutoStartLabels:function(){return s.getAutoStartLabels()},setAutoStartLabel:function(e,t){s.setAutoStartLabel(e,t)},isKeepAliveEnabled:function(){return s.S().isEnabled()},setKeepAliveEnabled:function(e){s.setKeepAliveEnabled(!!e)},setCacheMaxMeasurements:function(e){s.setCacheMaxMeasurements(e)},getCacheMaxMeasurements:function(){return s.getCacheMaxMeasurements()},setCacheMaxBatchFiles:function(e){s.setCacheMaxBatchFiles(e)},getCacheMaxBatchFiles:function(){return s.getCacheMaxBatchFiles()},setCacheMaxFlushesInARow:function(e){s.setCacheMaxFlushesInARow(e)},getCacheMaxFlushesInARow:function(){return s.getCacheMaxFlushesInARow()},setCacheMinutesToRetry:function(e){s.setCacheMinutesToRetry(e)},getCacheMinutesToRetry:function(){return s.getCacheMinutesToRetry()},setCacheMeasurementExpiry:function(e){s.setCacheMeasurementExpiry(e)},getCacheMeasurementExpiry:function(){return s.getCacheMeasurementExpiry()},getCacheFlushingInterval:function(){return s.getCacheFlushingInterval()},setCacheFlushingInterval:function(e){s.setCacheFlushingInterval(e)},setSecure:function(e){s.setSecure(e)},isSecure:function(){return s.isSecure()},getMeasurementLabelOrder:function(){return s.getMeasurementLabelOrder()},setMeasurementLabelOrder:function(e){s.setMeasurementLabelOrder(e)},setAutoStartEnabled:function(e){s.setAutoStartEnabled(e)},isAutoStartEnabled:function(){return s.isAutoStartEnabled()},getVersion:function(){return s.getVersion()},getPlatformAPI:function(){return s.getPlatformAPI()},setPlatformAPI:function(e){s.setPlatformAPI(e)},setOfflineURL:function(e){s.setOfflineURL(e)},clearInternalData:function(){s.clearInternalData()},cacheHttpRedirects:function(){s.cacheHttpRedirects()}};t.exports=a},{5:5,8:8}],3:[function(e,t,n){var i=e(24),r=e(36),o=e(8).TransmissionMode;t.exports=function(e){function t(){e.flush(),p=-1,f=null}function n(){f&&(r.clearTimeout(f),f=null)}function s(e){var i=+new Date;l?(n(),(p<i||p<0||!e)&&(p=i+3e4),f=r.setTimeout(t,p-i)):p<0&&(p=i+3e4)}function a(){var t=r.isConnectionAvailable();t!=u&&((u=t)?e.getOfflineTransmissionMode()!=o.NEVER&&e.getOfflineTransmissionMode()!=o.DISABLED&&s(!1):(n(),p=-1)),l&&(d=r.setTimeout(a,c))}var u,c=1e3,l=!1,f=null,d=null,p=-1;i.extend(this,{start:function(){l=!0,u&&0<p&&s(!0),d=r.setTimeout(a,c)},stop:function(){r.clearTimeout(d),d=null,l=!1,n()}})}},{24:24,36:36,8:8}],4:[function(e,t,n){t.exports={PAGE_NAME_LABEL:"name",P:2048,A:4096,C:"previousVersion",k:["c1","c2","ca2","cb2","cc2","cd2","ns_site","ca_ns_site","cb_ns_site","cc_ns_site","cd_ns_site","ns_vsite","ca_ns_vsite","cb_ns_vsite","cc_ns_vsite","cd_ns_vsite","ns_alias","ca_ns_alias","cb_ns_alias","cc_ns_alias","cd_ns_alias","ns_ap_an","ca_ns_ap_an","cb_ns_ap_an","cc_ns_ap_an","cd_ns_ap_an","ns_ap_pn","ns_ap_pv","c12","ca12","cb12","cc12","cd12","ns_ak","ns_ap_hw","name","ns_ap_ni","ns_ap_ec","ns_ap_ev","ns_ap_device","ns_ap_id","ns_ap_csf","ns_ap_bi","ns_ap_pfm","ns_ap_pfv","ns_ap_ver","ca_ns_ap_ver","cb_ns_ap_ver","cc_ns_ap_ver","cd_ns_ap_ver","ns_ap_sv","ns_ap_bv","ns_ap_cv","ns_ap_smv","ns_type","ca_ns_type","cb_ns_type","cc_ns_type","cd_ns_type","ns_radio","ns_nc","cs_partner","cs_xcid","cs_impid","ns_ap_ui","ca_ns_ap_ui","cb_ns_ap_ui","cc_ns_ap_ui","cd_ns_ap_ui","ns_ap_gs","ns_ap_ie","ns_st_sv","ns_st_pv","ns_st_smv","ns_st_it","ns_st_id","ns_st_ec","ns_st_sp","ns_st_sc","ns_st_psq","ns_st_asq","ns_st_sq","ns_st_ppc","ns_st_apc","ns_st_spc","ns_st_atpc","ns_st_cn","ns_st_ev","ns_st_po","ns_st_cl","ns_st_el","ns_st_sl","ns_st_pb","ns_st_hc","ns_st_mp","ca_ns_st_mp","cb_ns_st_mp","cc_ns_st_mp","cd_ns_st_mp","ns_st_mv","ca_ns_st_mv","cb_ns_st_mv","cc_ns_st_mv","cd_ns_st_mv","ns_st_pn","ns_st_tp","ns_st_ad","ns_st_li","ns_st_ci","ns_st_si","ns_st_pt","ns_st_dpt","ns_st_ipt","ns_st_ap","ns_st_dap","ns_st_et","ns_st_det","ns_st_upc","ns_st_dupc","ns_st_iupc","ns_st_upa","ns_st_dupa","ns_st_iupa","ns_st_lpc","ns_st_dlpc","ns_st_lpa","ns_st_dlpa","ns_st_pa","ns_st_ldw","ns_st_ldo","ns_st_ie","ns_ap_jb","ns_ap_et","ns_ap_res","ns_ap_sd","ns_ap_po","ns_ap_ot","ns_ap_c12m","cs_c12u","ca_cs_c12u","cb_cs_c12u","cc_cs_c12u","cd_cs_c12u","ns_ap_install","ns_ap_updated","ns_ap_lastrun","ns_ap_cs","ns_ap_runs","ns_ap_usage","ns_ap_fg","ns_ap_ft","ns_ap_dft","ns_ap_bt","ns_ap_dbt","ns_ap_dit","ns_ap_as","ns_ap_das","ns_ap_it","ns_ap_uc","ns_ap_aus","ns_ap_daus","ns_ap_us","ns_ap_dus","ns_ap_ut","ns_ap_oc","ns_ap_uxc","ns_ap_uxs","ns_ap_lang","ns_ap_ar","ns_ap_miss","ns_ts","ns_ap_cfg","ns_ap_env","ns_ap_ais","ns_st_ca","ns_st_cp","ns_st_er","ca_ns_st_er","cb_ns_st_er","cc_ns_st_er","cd_ns_st_er","ns_st_pe","ns_st_ui","ca_ns_st_ui","cb_ns_st_ui","cc_ns_st_ui","cd_ns_st_ui","ns_st_bc","ns_st_dbc","ns_st_bt","ns_st_dbt","ns_st_bp","ns_st_lt","ns_st_skc","ns_st_dskc","ns_st_ska","ns_st_dska","ns_st_skd","ns_st_skt","ns_st_dskt","ns_st_pc","ns_st_dpc","ns_st_pp","ns_st_br","ns_st_pbr","ns_st_rt","ns_st_prt","ns_st_ub","ns_st_vo","ns_st_pvo","ns_st_ws","ns_st_pws","ns_st_ki","ns_st_rp","ns_st_bn","ns_st_tb","ns_st_an","ns_st_ta","ns_st_pl","ns_st_pr","ns_st_tpr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_tep","ns_st_sr","ns_st_ty","ns_st_ct","ns_st_cs","ns_st_ge","ns_st_st","ns_st_stc","ns_st_ce","ns_st_ia","ns_st_dt","ns_st_ddt","ns_st_tdt","ns_st_tm","ns_st_dtm","ns_st_ttm","ns_st_de","ns_st_pu","ns_st_ti","ns_st_cu","ns_st_fee","ns_st_ft","ns_st_at","ns_st_pat","ns_st_vt","ns_st_pvt","ns_st_tt","ns_st_ptt","ns_st_cdn","ns_st_pcdn","ns_st_amg","ns_st_ami","ns_st_amp","ns_st_amt","ns_st_ams","ns_ap_i1","ns_ap_i2","ns_ap_i3","ns_ap_i4","ns_ap_i5","ns_ap_i6","ns_ap_referrer","ns_clid","ns_campaign","ns_source","ns_mchannel","ns_linkname","ns_fee","gclid","utm_campaign","utm_source","utm_medium","utm_term","utm_content","ns_ecommerce","ns_ec_sv","ns_client_id","ns_order_id","ns_ec_cur","ns_orderline_id","ns_orderlines","ns_prod_id","ns_qty","ns_prod_price","ns_prod_grp","ns_brand","ns_shop","ns_category","category","ns_c","ns_search_term","ns_search_result","ns_m_exp","ns_m_chs","c3","ca3","cb3","cc3","cd3","c4","ca4","cb4","cc4","cd4","c5","ca5","cb5","cc5","cd5","c6","ca6","cb6","cc6","cd6","c10","c11","c13","c14","c15","c16","c7","c8","c9","ns_ap_er","ns_st_amc"]}},{}],5:[function(e,t,n){var i=e(8).T,r=e(8).N,o=e(4),s=e(26),a=e(17),u=e(8).u,c=e(36),l=e(21),f=e(24),d=e(22),p=e(25),h=e(6),_=e(11),g=e(7),v=e(9),m=e(12).L,E=e(1),y=e(3),b="undefined",S=a.D,A="https://web.archive.org/web/20211103195646/http://b.scorecardresearch.com/p2?",I="https://web.archive.org/web/20211103195646/https://sb.scorecardresearch.com/p2?",T="exitCode",P="lastApplicationAccumulationTimestamp",C="lastSessionAccumulationTimestamp",O="lastApplicationSessionTimestamp",w="lastUserSessionTimestamp",N="lastActiveUserSessionTimestamp",R="foregroundTransitionsCount",L="accumulatedForegroundTime",D="accumulatedBackgroundTime",M="accumulatedInactiveTime",B="totalForegroundTime",x="totalBackgroundTime",k="totalInactiveTime",U="accumulatedApplicationSessionTime",V="accumulatedActiveUserSessionTime",G="accumulatedUserSessionTime",F="activeUserSessionCount",j="userSessionCount",H="lastUserInteractionTimestamp",W="userInteractionCount",Y="applicationSessionCountKey",K="genesis",z="previousGenesis",q="installId",Q="firstInstallId",$="currentVersion",X="runs",J="coldStartCount",Z="crossPublisherIdHashed",ee="crossPublisherId";t.exports=function(){function e(e){return ae.has(e)?ae.get(e)+"":null}function t(){var e=+new Date,t=!1;return 18e5<e-je&&(Me=De,De=e,Ve++,t=!0),je=e,t}function n(e){if(rt){e=typeof e===b||e;var t=+new Date,n=t-Be;switch(lt){case i.H:Re+=n,Ce+=n;break;case i.Y:Ne+=n,Oe+=n;break;case i.R:Le+=n,we+=n}Be=t,e&&(ae.set(P,Be+""),ae.set(R,Pe+""),ae.set(L,Re+""),ae.set(D,Ne+""),ae.set(M,Le+""),ae.set(B,Ce+""),ae.set(x,Oe+""),ae.set(k,we+""))}}function a(e){if(rt){e=typeof e===b||e;var t=+new Date,n=t-ze;switch(ft){case r.F:Ue+=n,We=t;case r.G:ke+=n,He=t;case r.K:xe+=n,je=t;break;case r.R:}ze=t,e&&(ae.set(C,ze+""),ae.set(O,je+""),ae.set(w,He+""),ae.set(N,We+""),ae.set(U,xe+""),ae.set(V,Ue+""),ae.set(G,ke+""),ae.set(F,Fe+""),ae.set(j,Ge+""),ae.set(H,Ke+""),ae.set(W,Ye+""),ae.set(z,Me+""),ae.set(K,De+""),ae.set(Y,Ve+""))}}function te(){if(rt){var e,o,s=+new Date;e=0<Ie?i.H:0<Te?i.Y:i.R,o=s-Ke<3e5?r.F:0<Te?r.G:0<Ie?r.K:r.R;var l,f=lt,d=ft;if(e!=f||o!=d){var p=!1;f!=e&&(function(e){if(rt)switch(e){case i.R:le.J(!1),ue.X(),ue.Z(),fe.start(),ce.start();break;case i.Y:re();break;case i.H:st.nn(null),re()}}(lt),function(e){if(rt)switch(e){case i.R:fe.stop(),ue.pause(),ce.stop(),re(),le.J(!0);break;case i.Y:at||ie();break;case i.H:ie(),Pe++}}(e),n(),lt=e,p=!0),d!=o&&(function(e){if(rt){var n=+new Date;switch(e){case r.F:null!=qe&&(c.clearTimeout(qe),qe=null),We=n;case r.G:He=n;case r.K:je=n;break;case r.R:t()||(xe+=n-ze)}}}(ft),function(e){if(rt)switch(e){case r.F:3e5<=(i=+new Date)-We&&Fe++,We=i,st.j();case r.G:3e5<=(n=+new Date)-He&&Ge++,He=n;case r.K:t();break;case r.R:}var n,i}(o),a(),ft=o),p&&(l=lt,rt&&l!=i.R&&st.isAutoStartEnabled()&&!ut&&st.s(u.l,it))}}}function ne(e,t){rt&&(l.tn(e)?(t=l.tn(t)?"-cs"+t:"",$e=e+t):null==$e&&gt&&($e=d(c.getVisitorId()+st.g()),"function"==typeof c.getVisitorIdSuffix&&null!=c.getVisitorIdSuffix()&&($e=$e+"-cs"+c.getVisitorIdSuffix())),ae.set("vid",$e+""))}function ie(){if(rt){re();var e=function(){st.update(),null!=pe&&c.setTimeout(e,_e)};pe=c.setTimeout(e,_e)}}function re(){rt&&null!=pe&&(c.clearTimeout(_e),pe=null)}function oe(){return!gt||null==Ze||0===Ze.length||null==Qe||0===Qe.length}var se,ae,ue,ce,le,fe,de,pe,he,_e,ge,ve,me,Ee,ye,be,Se,Ae,Ie,Te,Pe,Ce,Oe,we,Ne,Re,Le,De,Me,Be,xe,ke,Ue,Ve,Ge,Fe,je,He,We,Ye,Ke,ze,qe,Qe,$e,Xe,Je,Ze,et,tt,nt,it,rt,ot,st=this,at=!0,ut=!1,ct=!0,lt=i.R,ft=r.R,dt=!1,pt=!1,ht=!1,_t=!0,gt=!1,vt=0;f.extend(st,{isProperlyInitialized:function(){return!oe()},reset:function(){rt&&(de.reset(),lt=i.R,ft=r.R,ut=!1,Se=be=null,tt=Ye=Me=ke=Ue=xe=Le=Re=Ne=we=Oe=Ce=Te=Ie=me=ge=0,pt=dt=!(ye=Ee=We=He=je=ze=Be=Ke=Ge=Fe=De=Ee=ye=ve=-1),st.disableAutoUpdate(),null!=qe&&(c.clearTimeout(qe),qe=null),null!=ue&&ue.cancel(),null!=ce&&ce.stop(),null!=le&&(le.en(),le=new g(st)))},M:function(e){ae=e||new c.Storage},O:function(e){se=e||new m(st)},W:function(e){ce=e||new E(st)},V:function(e){fe=new y(st)},in:function(){var t=e("AppName");null!=t&&st.setAppName(t);var n=e("AppVersion");null!=n&&st.setAppVersion(n)},rn:function(){rt&&ae.has("vid")&&($e=ae.get("vid"))},un:function(){rt&&(ge++,ae.set(X,ge+""))},sn:function(){return!ut&&(ut=!0,me++,ae.set(J,me+""),ve=+new Date,!0)},j:function(){rt&&(null!=qe&&(c.clearTimeout(qe),qe=null),qe=c.setTimeout(function(){null!=qe&&(c.clearTimeout(qe),qe=null),te()},3e5))},I:function(){return se},an:function(){return fe},t:function(){return ae},fn:function(){return le},S:function(){return ue},cn:function(){return ce},ln:function(){return de},onUxActive:function(){rt&&(oe()||(Ge<0&&(Ge=0),Te++,te()))},onUxInactive:function(){rt&&(oe()||0<Te&&(Te--,te()))},onEnterForeground:function(){rt&&(oe()||(Ie++,te()))},onExitForeground:function(){rt&&(oe()||0<Ie&&(Ie--,te()))},onUserInteraction:function(){rt&&(oe()||(Ge<0&&(Ge=0),Fe<0&&(Fe=0),Ke=+new Date,Ye++,ft!=r.F?te():st.j()))},pn:function(){return lt},vn:function(){return ft},dn:function(){return ge},hn:function(){return Ee},_n:function(){return ye},gn:function(){return ve},mn:function(){return me},wn:function(){return Se},yn:function(e){Se=e},bn:function(e){var t=Pe;return(e=typeof e===b||e)&&(Pe=0,ae.set(R,Pe+"")),t},In:function(e){var t=Ce;return(e=typeof e===b||e)&&(Ce=0,ae.set(B,Ce+"")),t},Sn:function(e){var t=Re;return(e=typeof e===b||e)&&(Re=0,ae.set(L,Re+"")),t},Pn:function(e){var t=Oe;return(e=typeof e===b||e)&&(Oe=0,ae.set(x,Oe+"")),t},An:function(e){var t=Ne;return(e=typeof e===b||e)&&(Ne=0,ae.set(D,Ne+"")),t},Cn:function(e){var t=we;return(e=typeof e===b||e)&&(we=0,ae.set(k,we+"")),t},kn:function(e){var t=Le;return(e=typeof e===b||e)&&(Le=0,ae.set(M,Le+"")),t},En:function(e){var t=xe;return(e=typeof e===b||e)&&(xe=0,ae.set(U,xe+"")),t},Tn:function(e){var t=Ue;return(e=typeof e===b||e)&&(Ue=0,ae.set(V,Ue+"")),t},Nn:function(e){var t=ke;return(e=typeof e===b||e)&&(ke=0,ae.set(G,ke+"")),t},Ln:function(){return _e},Dn:function(e){var t=Ve;return(e=typeof e===b||e)&&(Ve=0,ae.set(Y,Ve+"")),t},Rn:function(e){e=typeof e===b||e;var t=-1;return 0<=Fe&&(t=Fe,e&&(Fe=0,ae.set(F,Fe+""))),t},Mn:function(e){e=typeof e===b||e;var t=-1;return 0<=Ge&&(t=Ge,e&&(Ge=0,ae.set(j,Ge+""))),t},On:function(e){var t=Ye;return(e=typeof e===b||e)&&(Ye=0,ae.set(W,Ye+"")),t},setAppContext:function(){gt||(c.autoDetect(),st.M(),le=new g(st),ue=new v(st),st.O(),st.W(),st.V(),he=new _(st),de=new h,function(){Be=s.o(ae.get(P),-1),ze=s.o(ae.get(C),-1),je=s.o(ae.get(O),-1),He=s.o(ae.get(w),-1),We=s.o(ae.get(N),-1),Pe=s.U(ae.get(R)),Re=s.o(ae.get(L)),Ne=s.o(ae.get(D)),Le=s.o(ae.get(M)),Ce=s.o(ae.get(B)),Oe=s.o(ae.get(x)),we=s.o(ae.get(k)),xe=s.o(ae.get(U)),Ue=s.o(ae.get(V)),ke=s.o(ae.get(G)),Fe=s.U(ae.get(F),-1),Ge=s.U(ae.get(j),-1),Ke=s.o(ae.get(H),-1),Ye=s.U(ae.get(W),0),Ve=s.U(ae.get(Y),0),tt=ae.get(T)?parseInt(ae.get(T)):0,be=c.getAppVersion(),Me=s.o(ae.get(z),0),(De=s.o(ae.get(K),-1))<0?(De=+new Date,Me=0,je=De,Ve++):(t()||(xe+=+new Date-ze,ae.set(U,xe+"")),je=De),(ye=s.o(ae.get(Q),-1))<0?(Ee=ye=De,be&&be!=S&&ae.set($,be+""),ae.set(Q,ye+""),ae.set(q,Ee+"")):st.setAppVersion(be),ae.set(K,De+""),ae.set(z,Me+""),st.B(De);var e=+new Date;if(0<=Be){var n=e-Be;Le+=n,ae.set(M,Le+""),we+=n,ae.set(k,we+"")}ze=Be=e,ae.set(P,Be+""),ae.set(C,ze+""),ae.set(O,je+""),ae.has(X)||ae.set(X,"0"),ge=s.U(ae.get(X)),me=s.U(ae.get(J))}(),st.in(),st.rn(),gt=!0)},setEnabled:function(e){rt&&null!=e&&!e&&(rt=!1,ce.stop(),fe.stop(),ue.pause())},getEnabled:function(){return rt},Wn:function(){return{}},Vn:function(){return Ae},nn:function(e){Ae=e},setPixelURL:function(e){if(rt){if(null==e||0===e.length)return null;dt=!0;var t=e.indexOf("?");if(0<=t){if(t<e.length-1){for(var n=e.substring(t+1).split("&"),i=0,r=n.length;i<r;i++){var s=n[i].split("=");2==s.length?st.setLabel(s[0],s[1]):1==s.length&&st.setLabel(o.PAGE_NAME_LABEL,s[0])}e=e.substring(0,t+1)}}else e+="?";return Qe=e}},setKeepAliveEnabled:function(e){rt&&ue.xn(e)},getPixelURL:function(){return Qe},getCrossPublisherId:function(){return Xe},isCrossPublisherIdChanged:function(){return c.isCrossPublisherIdChanged()||ht},getVisitorId:function(){return null==$e&&ne(),$e},setVisitorId:ne,Un:function(){var e=(c.getCrossPublisherId()||"null").split(" "),t=e[0]&&"null"!=e[0]?e[0]:null,n="true"==e[1];if(null!=t){Xe||(Je=ae.get(Z),Xe=ae.get(ee));var i=null;Xe?"none"==t&&"none"==Xe||!_t&&"none"==Xe||"none"!=t&&(i=d(t))==Je||(Xe=n?"none"==t?(Je=null,"none"):(Je=i,p(t)):(ht=!0,_t&&"none"!=t?(Je=d(t),p(t)):(Je=null,"none")),ae.set(ee,Xe),null==Je?ae.remove(Z):ae.set(Z,Je)):(Xe="none"==t?(Je=null,"none"):(Je=d(t),p(t)),ae.set(ee,Xe),null==Je?ae.remove(Z):ae.set(Z,Je)),_t=!1}else Xe=Je=null},m:function(e){return null==e||0===e.length||(Ze=e),st},g:function(){return null==Ze&&(Ze=""),Ze},setAppName:function(e){rt&&(et=e)},getAppName:function(){return null!=et&&0!==et.length||st.setAppName(c.getAppName()),et},setAppVersion:function(e){var t;ae&&(e&&e!=S?(ae.has(o.C)&&(Se=ae.get(o.C)+""),ae.has($)&&(t=ae.get($)+""),t&&t!==e?(Se=t,ae.set(o.C,Se+""),Ee=De,ae.set(q,Ee+"")):Ee=s.o(ae.get(q),-1),ae.set($,e+"")):Ee=s.o(ae.get(q),-1)),be=e},getAppVersion:function(){return be},getVersion:function(){return"6.2.3.180328"},getGenesis:function(){return De},Bn:function(){return Me},B:function(e){ae.set(T,e.toString(10))},Fn:function(){return tt},getLabels:function(){return nt},setLabels:function(e){if(rt)for(var t in e)e.hasOwnProperty(t)&&st.setLabel(t,e[t])},getLabel:function(e){return nt[e]},setLabel:function(e,t){rt&&(!e||t?nt[e]=t:delete nt[e])},setAutoStartLabels:function(e){rt&&null!=e&&f.extend(it,e)},getAutoStartLabel:function(e){return it[e]},getAutoStartLabels:function(){return it},setAutoStartLabel:function(e,t){rt&&(it[e]=t)},getCustomerC2:function(){return nt.c2},setCustomerC2:function(e){if(rt&&null!=e&&0!==e.length){var t=de.isSecure()?I:A;st.setPixelURL(t),dt=!1,st.setLabel("c2",e)}},getLiveTransmissionMode:function(){return de.getLiveTransmissionMode()},allowLiveTransmission:function(e){rt&&de.getLiveTransmissionMode()!=e&&de.allowLiveTransmission(e)},getOfflineTransmissionMode:function(){return de.getOfflineTransmissionMode()},allowOfflineTransmission:function(e){rt&&de.getOfflineTransmissionMode()!=e&&de.allowOfflineTransmission(e)},setSecure:function(e){rt&&(this.getCustomerC2()||(pt=!0,de.isSecure()!=e&&de.setSecure(e)))},jn:function(e){if(!pt&&(de.setSecure(!!e),null!=le&&le.Gn(h.Kn,!!e),st.getCustomerC2()&&!dt)){var t=de.isSecure()?I:A;st.setPixelURL(t),dt=!1}},setAutoStartEnabled:function(e){rt&&(ct=e)},isAutoStartEnabled:function(){return ct},isSecure:function(){return de.isSecure()},setCacheMaxMeasurements:function(e){null!=se&&se.setCacheMaxMeasurements(e)},getCacheMaxMeasurements:function(){return null!=se?se.getCacheMaxMeasurements():m.qn},setCacheMaxBatchFiles:function(e){null!=se&&se.setCacheMaxBatchFiles(e)},getCacheMaxBatchFiles:function(){return null!=se?se.getCacheMaxBatchFiles():m.Hn},setCacheMaxFlushesInARow:function(e){null!=se&&se.Yn(e)},getCacheMaxFlushesInARow:function(){return null!=se?se.Jn():m.zn},setCacheMinutesToRetry:function(e){null!=se&&se.Qn(e)},getCacheMinutesToRetry:function(){return null!=se?se.Xn():m.Zn},setCacheMeasurementExpiry:function(e){null!=se&&se.setCacheMeasurementExpiry(e)},getCacheMeasurementExpiry:function(){return null!=se?se.getCacheMeasurementExpiry():m.$n},getCacheFlushingInterval:function(){return vt},setCacheFlushingInterval:function(e){rt&&vt!=e&&(vt=e,null!=ce&&ce.update())},getMeasurementLabelOrder:function(){return de.getMeasurementLabelOrder()},setMeasurementLabelOrder:function(e){rt&&e!=de.getMeasurementLabelOrder()&&de.setMeasurementLabelOrder(e)},flush:function(){se.flush(de,function(){})},update:function(e){rt&&(n(e=typeof e===b||e),a(e))},enableAutoUpdate:function(e,t){rt&&(e=e||60,re(),e<60&&(e=60),at=t,_e=1e3*e,lt==i.H?ie():lt!=i.Y||at||ie())},disableAutoUpdate:function(){rt&&(re(),at=!0,_e=-1)},isAutoUpdateEnabled:function(){return 0<_e},s:function(e,t){rt&&(oe()||(ut||e==u.l||he.send(u.l,{},dt?Qe:null),e==u.h?(st.B(0),st.update(!0)):he.send(e,t,dt?Qe:null)))},nt:function(e,t){he.send(u.HIDDEN,e,t)},setOfflineURL:function(e){rt&&se.tt(e)},getPlatformAPI:function(){return c},setPlatformAPI:function(e){c.setPlatformAPI(e)},et:function(){return he},clearInternalData:function(){ae&&ae.clear()},cacheHttpRedirects:function(e){ot=e},it:function(){return ot}}),de=new h,nt={},it={},ot=rt=!0,st.reset()}},{1:1,11:11,12:12,17:17,21:21,22:22,24:24,25:25,26:26,3:3,36:36,4:4,6:6,7:7,8:8,9:9}],6:[function(e,t,n){function i(){var e,t,n,i;r.extend(this,{reset:function(){e=o.DEFAULT,t=o.DEFAULT,n=s.isConnectionSecure(),i=a.k},rt:function(r){e=r.getLiveTransmissionMode(),t=r.getOfflineTransmissionMode(),i=r.getMeasurementLabelOrder(),n=r.isSecure()},ot:function(e,t){switch(e){case 0:this.allowLiveTransmission(t);break;case 1:this.allowOfflineTransmission(t);break;case 2:this.setSecure(t);break;case 3:this.setMeasurementLabelOrder(t)}},getLiveTransmissionMode:function(){return e},allowLiveTransmission:function(t){null!=t&&(e=t)},getOfflineTransmissionMode:function(){return t},allowOfflineTransmission:function(e){null!=e&&(t=e)},isSecure:function(){return n},setSecure:function(e){n=e},getMeasurementLabelOrder:function(){return i},setMeasurementLabelOrder:function(e){null!=e&&0<e.length&&(i=e)}}),this.reset()}var r=e(24),o=e(8).TransmissionMode,s=e(36),a=e(4);i.ut=0,i.st=1,i.Kn=2,i.at=3,t.exports=i},{24:24,36:36,4:4,8:8}],7:[function(e,t,n){var i=e(24),r=e(13),o="q_dcf",s="q_dcc";t.exports=function(e){function t(e){return e-l<1e3&&20<=c}function n(e){return e-d<864e5&&6e3<=f}function a(t){864e5<t-d&&(f=0,d=t),1e3<t-l&&(c=0,l=t),f++,c++;var n=e.t();n.set(s,f+""),n.set(o,d+"")}function u(){var i,o=+new Date;if(g)for(;_.length;){var s=_.shift();c=s,e.I().ft(c)}else{for(var c,f,h;_.length&&!t(h=o)&&!n(h);)a(o),s=_.shift(),f=s,new r(e,e.ln(),f).send();i=o,_.length&&(p||(t(i)?p=e.getPlatformAPI().setTimeout(function(){p=null,u()},l+1e3-i):n(i)&&(p=e.getPlatformAPI().setTimeout(function(){p=null,u()},d+864e5-i))))}}var c,l,f,d,p,h,_=[],g=!1;i.extend(this,{ct:function(t){e.getEnabled()&&(_.push(t),u())},en:function(){e.getPlatformAPI().clearTimeout(p),_.length=0},J:function(t){g=t,e.getPlatformAPI().clearTimeout(p),u()}}),d=(h=e.t()).has(s)&&h.has(o)?(f=parseInt(h.get(s)),parseInt(h.get(o))):(f=0,+new Date),c=0,l=+new Date}},{13:13,24:24}],8:[function(e,t,n){var i={DEFAULT:0,NEVER:1,WIFIONLY:2,PIGGYBACK:3,DISABLED:4,valueOf:function(e){return null==e||"DEFAULT"==e?i.DEFAULT:"NEVER"==e?i.NEVER:"WIFIONLY"==e?i.WIFIONLY:"PIGGYBACK"==e?i.PIGGYBACK:"DISABLED"==e?i.DISABLED:void 0}};n.TransmissionMode=i,n.N={R:0,K:1,G:2,F:3},n.T={R:0,Y:1,H:2},n.u={l:"start",v:"view",h:"close",_:"aggregate",HIDDEN:"hidden",KEEPALIVE:"keep-alive"}},{}],9:[function(e,t,n){var i=e(36),r=e(8).u,o=e(24);t.exports=function(e){function t(){u=+new Date+l,n()}function n(){e.et().send(r.KEEPALIVE)}var s=this,a=null,u=NaN,c=!0,l=864e5;o.extend(s,{xn:function(e){(c=e)?(s.X(),s.Z()):s.cancel()},isEnabled:function(){return c},Z:function(){c&&(s.cancel(),u=+new Date+l,a=i.setInterval(t,l))},X:function(){if(c){var e=+new Date;u&&u<=e&&n()}},pause:function(){s.cancel()},cancel:function(){a&&(i.clearInterval(a),a=null)}})}},{24:24,36:36,8:8}],10:[function(e,t,n){function i(e){var t,n={};s.extend(this,{pt:function(e){delete n[e]},vt:function(e){if(null!=e)for(var t in e)e.hasOwnProperty(t)&&this.setLabel(t,e[t])},setLabel:function(e,t){n[e]=t},getLabel:function(e){return n[e]},getLabels:function(){return n},dt:function(e){return n.hasOwnProperty(e)},ht:function(e){for(var t=[],i=s.extend({},n),r=0,o=e.length;r<o;r++){var a=e[r],u=i[a];null!=u&&""!==u&&(t.push("&",h(a),"=",h(u)),delete i[a])}for(var c in i)if(i.hasOwnProperty(c)){var l=i[c];null!=l&&""!==l&&t.push("&",h(c),"=",h(i[c]))}return 0<(t=t.join("")).length&&"&"==t.charAt(0)?t.substring(1):t},setPixelURL:function(e){t=e},getPixelURL:function(){return t}}),e&&this.setPixelURL(e.getPixelURL())}function r(e,t,n,r){if(i.call(this,e),e){null!=n&&this.setPixelURL(n),this.setLabel("c1","19"),this.setLabel("ns_ap_an",_(e.getAppName())),this.setLabel("ns_ap_pn",_(l.getPlatformName())),this.setLabel("ns_ap_pv",_(l.getRuntimeVersion())),this.setLabel("c12",e.getVisitorId()),e.Un();var o=e.getCrossPublisherId();o&&(this.setLabel("ns_ak",o),e.isCrossPublisherIdChanged()&&this.setLabel("ns_ap_ni","1")),this.setLabel("ns_ap_device",_(l.getDeviceModel())),this.setLabel("ns_ap_ar",_(l.getDeviceArchitecture())),this.setLabel("ns_radio",_(l.getConnectionType())),this.setLabel("ns_type",g(t)),this.setLabel("ns_nc","1"),this.setLabel("ns_ap_pfv",_(l.getPlatformVersion())),this.setLabel("ns_ap_pfm",_(l.getRuntimeName())),this.setLabel("ns_ap_ev",t),this.setLabel("ns_ap_ver",_(e.getAppVersion())),this.setLabel("ns_ap_sd",l.getDisplayResolution()),this.setLabel("ns_ap_res",l.getApplicationResolution()),this.setLabel("ns_ap_lang",l.getLanguage()),this.setLabel("ns_ap_sv",e.getVersion()),t==u.KEEPALIVE&&this.setLabel("ns_ap_oc",e.I()._t()+"");var s=e.gn(),a=e.mn();this.setLabel("ns_ap_id",s+""),this.setLabel("ns_ap_cs",a+""),this.setLabel("ns_ap_bi",l.getPackageName()),this.setLabel("ns_ap_jb",_(l.getDeviceJailBrokenFlag()))}}function o(e,t,n,i){r.call(this,e,t,n,i),this.setLabel("ns_ap_gs",e._n()+""),this.setLabel("ns_ap_install",e.hn()+""),this.setLabel("ns_ap_runs",e.dn()+""),i&&this.setLabel("ns_ap_csf","1"),this.setLabel("ns_ap_lastrun",e.Bn()+"");var o=e.Fn();0<o&&this.setLabel("ns_ap_miss",o.toString());var s=e.wn();s&&(this.setLabel("ns_ap_updated",s+""),e.t().remove(f.C),e.yn(null)),this.setLabel("ns_ap_jb",_(l.getDeviceJailBrokenFlag()))}var s=e(24),a=e(21),u=e(8).u,c=e(17),l=e(36),f=e(4),d="undefined",p=c.D,h=typeof encodeURIComponent!=d?encodeURIComponent:escape,_=function(e){return a.lt(e)?e:p},g=function(e){return e==u.l||e==u.h||e==u.v?u.v:u.HIDDEN};r.gt=function(e,t){var n=t.wt,i=t.yt,r=t.bt;if(i=typeof i===d||i,r=typeof r===d||r,e.update(r),r){var o=e.bn(),s=e.In(n),a=e.Sn(i),u=e.Pn(n),c=e.An(i),l=e.Cn(n),f=e.kn(i),p=e.En(i),h=e.Tn(i),_=e.Nn(i),g=e.Ln(),v=e.Dn(i),m=e.Rn(i),E=e.Mn(i),y=e.On(i);t.labels.ns_ap_fg=o+"",t.labels.ns_ap_ft=s+"",t.labels.ns_ap_dft=a+"",t.labels.ns_ap_bt=u+"",t.labels.ns_ap_dbt=c+"",t.labels.ns_ap_it=l+"",t.labels.ns_ap_dit=f+"",t.labels.ns_ap_ut=g+"",t.labels.ns_ap_as=v+"",t.labels.ns_ap_das=p+"",0<=m&&(t.labels.ns_ap_aus=m+"",t.labels.ns_ap_daus=h+"",t.labels.ns_ap_uc=y+""),0<=E&&(t.labels.ns_ap_us=E+"",t.labels.ns_ap_dus=_+""),t.labels.ns_ap_usage=t.It-e.getGenesis()+""}t.labels.ns_ts=t.It+""},r.prototype=new i,r.St=function(e,t,n,i){var r=e.et(),o=r.Pt(t,n,i);return r.At(o)},o.prototype=new r,t.exports.Ct=i,t.exports.kt=r,t.exports.Et=o},{17:17,21:21,24:24,36:36,4:4,8:8}],11:[function(e,t,n){var i=e(10).kt,r=e(10).Et,o=e(36),s=e(8).u,a=e(8).T,u=e(4),c=e(14).Tt;t.exports=function(e){var t=this,n=0,l=[],f=!1,d=0,p={};t.Nt=function(){n++;var e=!1;return function(i){e||(e=!0,n--,i&&t.Lt())}},t.Dt=function(){if(!f){var e=t.Nt();f=!0,o.onDataFetch(function(){e(!(f=!1))},function(){e(f=!1)})}},t.Lt=function(){if(!(0<n)){for(var e=0;e<l.length;++e){var i=l[e],r=t.At(i);t.Rt(i,r)}l.length=0}},t.Mt=function(e){l.push(e),t.Dt()},t.Rt=function(t,n){e.fn().ct(n),e.S().Z()},t.send=function(e,n,i){if(e!=s._){var r=t.Pt(e,n,i);t.Mt(r)}else t.Ot(n)},t.Pt=function(t,n,r){var o={It:+new Date,Wt:t,Vt:r,wt:!1,yt:void 0,bt:void 0,labels:{}};return d++,o.labels.ns_ap_ec=d+"",t==s.l?(e.un(),o.wt=e.sn()):(o.yt=!(null!=n&&n.hasOwnProperty("ns_st_ev")&&"hb"==n.ns_st_ev),o.bt=!(null!=n&&n.hasOwnProperty("ns_st_ev"))),o.xt=e.getLabels(),o.Ut=n,null!=e.Vn()?o.Bt=e.Vn():t==s.l?o.Bt="start":e.pn()==a.H?o.Bt="foreground":o.Bt="background",i.gt(e,o),o},t.At=function(t){var n=null,a=t.Wt,c=t.Vt,l=t.wt;return(n=a===s.l?new r(e,a,c,l):new i(e,a,c,l)).vt(t.labels),n.vt(t.xt),n.vt(t.Ut),n.dt(u.PAGE_NAME_LABEL)||n.setLabel(u.PAGE_NAME_LABEL,t.Bt),o.processMeasurementLabels(n),n.vt(p),p={},n},t.Ot=function(e){c(p,e)}}},{10:10,14:14,36:36,4:4,8:8}],12:[function(e,t,n){function i(e,t){function n(){L=0,null!=C&&(C=null)}function i(){for(var e,n=h(),i=!1,r=n.length;0<r;r--){var o=(e=n[r-1],Number(e.substring(t.length)));i?g(n[r-1],!0):i=E(o)}}function p(t){if(e.getEnabled()){var n=e.t();n.has(d)&&(t+=Number(n.get(d))),n.set(d,t+"")}}function h(){return null==P&&(P=f.Gt()),P}function _(i){var r=t+l.Kt(i,"ns_ts");f.qt(e,r,i),null==P&&(P=[]),P.push(r),n()}function g(t,n){if(null!=t){n&&(r=t,(o=e.t()).has(r)&&p(Number(o.get(r)))),f.deleteFile(e,t);var i=a.indexOf(t,P);0<=i&&P.splice(i,1)}var r,o}function v(){return null!=P&&0<P.length?P[P.length-1]:null}function m(t){var n=e.t(),i=0;return null!=t&&(i=n.has(t)?Number(n.get(t)):f.Ht(e,t).length),i}function E(e){var t=+new Date;return 24*T*60*60*1e3-(t-e)<=0}function y(t,i){var o=e.t();if(function(){if(e.getEnabled()&&r.isConnectionAvailable()&&!R.jt()&&null!=e.getCustomerC2()){if(!(A<=O))return!0;if(1e3*I*60-(+new Date-w)<=0)return!(w=O=0)}return!1}()){var a=null,c=null;if(null==C&&null!=(a=function(t){for(var n=0,i=f.Ht(e,t),r=!1;n<i.length&&!(r=!E(Number(l.Kt(i[n],"ns_ts"))));n++);return i=r?(p(n),i.slice(n,i.length)):(g(t,!0),null)}(c=v()))&&0<a.length){var h=o.has(d)?o.get(d):"0";C=l.Yt(a,h)}if(null!=C&&0<C.length)return void r.httpPost(function(t){var n,i=!0;-1==(n=s.tn(N)&&s.lt(N)?N:t.isSecure()?"https://web.archive.org/web/20211103195646/https://udm.scorecardresearch.com/offline":"https://web.archive.org/web/20211103195646/http://udm.scorecardresearch.com/offline").indexOf("?")&&(n+="?",i=!1);var r=e.getCustomerC2();s.lt(r)&&(i&&(n+="&"),n+="c2="+r,i=!0);var o="JetportGotAMaskOfThe"+e.g()+"S.D_K-";return o=u(o),s.lt(o)&&(i&&(n+="&"),n+="s="+o),n.toLowerCase()}(t),C,function(e){if(200==e)return O++,g(c,!1),n(),w=+new Date,o.remove(d),void r.setTimeout(function(){y(t,i)},0);i()})}i()}var b,S,A,I,T,P,C,O,w,N,R=this,L=0;t=t||"cs_cache_",o.extend(this,{flush:function(t,n){e.getEnabled()&&(i(),1e3*I*60-(+new Date-L)<=0?(L=0,y(t,n)):n())},setCacheMaxMeasurements:function(e){b=e},getCacheMaxMeasurements:function(){return b},setCacheMaxBatchFiles:function(e){e<=0||(S=e)},getCacheMaxBatchFiles:function(){return S},Yn:function(e){A=e},Jn:function(){return A},Qn:function(e){I=e},Xn:function(){return I},setCacheMeasurementExpiry:function(e){T=e},getCacheMeasurementExpiry:function(){return T},ft:function(t){if(e.getEnabled()){var i=e.ln();if("string"!=typeof t&&(t=t.ht(i.getMeasurementLabelOrder())),i.getOfflineTransmissionMode()!=c.DISABLED&&null!=e.getCustomerC2()&&s.lt(l.Kt(t,"ns_ts"))){var r=v();null!=r?m(r)<this.getCacheMaxBatchFiles()?(t="\n"+t,f.qt(e,r,t),n()):(h().length>=this.getCacheMaxMeasurements()/this.getCacheMaxBatchFiles()&&g(null!=P&&0<P.length?P[0]:null,!0),_(t)):_(t)}}},_t:function(){var e=m(v());return 0<h().length&&(e+=(h().length-1)*this.getCacheMaxBatchFiles()),e},jt:function(){return 0==this._t()},clear:function(){for(var t=h(),n=t.length;0<n;n--)g(t[n-1],!0);e.t().remove(d)},tt:function(e){N=e}}),this.setCacheMaxMeasurements(2e3),this.setCacheMaxBatchFiles(100),this.Yn(10),this.Qn(30),this.setCacheMeasurementExpiry(31),i()}var r=e(36),o=e(24),s=e(21),a=e(19),u=e(22),c=e(8).TransmissionMode,l=e(15),f=e(14).Ft,d="CACHE_DROPPED_MEASUREMENTS";i.qn=2e3,i.Hn=100,i.zn=10,i.Zn=30,i.$n=31,n.L=i},{14:14,15:15,19:19,21:21,22:22,24:24,36:36,8:8}],13:[function(e,t,n){var i=e(24),r=e(20),o=e(36),s=e(4),a=e(8).TransmissionMode;t.exports=function(e,t,n,u){function c(t){200!=t&&(302!=t&&301!=t||e.it())&&e.I().ft(p.ht(d.getMeasurementLabelOrder()),d),u&&u()}function l(){var e=f.process(p.getPixelURL());o.httpGet(e,c)}var f=this,d=t,p=n;i.extend(f,{process:function(e){e+=p.ht(d.getMeasurementLabelOrder());var t=r.Jt()?s.A:s.P;if(e.length>t&&0<e.indexOf("&")){var n=e.substring(0,t-8).lastIndexOf("&"),i=encodeURIComponent(e.substring(n+1));e=e.substring(0,n)+"&ns_cut="+i}return e.length>t&&(e=e.substring(0,t)),e},send:function(){var t=d.getLiveTransmissionMode();return t==a.NEVER||t==a.DISABLED?(e.I().ft(p.ht(d.getMeasurementLabelOrder()),d),u&&u()):d.getOfflineTransmissionMode()!=a.NEVER&&0<e.I()._t()?e.I().flush(d,l):l(),!0}})}},{20:20,24:24,36:36,4:4,8:8}],14:[function(e,t,n){function i(e){return!((e+="").indexOf(",")<0)&&e.indexOf(" ")<0}function r(e){return!isNaN(parseInt(e))&&isFinite(e)}function o(e,t){for(var n=t,i=e.split(","),r=0,o=i.length;r<o;r++){var s=i[r];if(0<s.length)if(n.indexOf(s)<0)0==n.length?n+=s+":1":n+=";"+s+":1";else for(var a=n.split(";"),u=0,c=a.length;u<c;u++)if(0<=a[u].indexOf(s)){var l=a[u].split(":"),f=Number(l[1]);f++;var d=l[0]+":"+f,p=n.indexOf(a[u]);n=n.substring(0,p)+d+n.substring(p+a[u].length)}}return n}var s=e(36),a="cache_dir",u={Gt:function(){return s.IO.dir(a)||[]},qt:function(e,t,n){var i=e.t(),r=Number(i.get(t))||0;s.IO.append(a,t,n),r++,i.set(t,r+"")},deleteFile:function(e,t){s.IO.deleteFile(a,t),e.t().remove(t)},Ht:function(e,t){var n=s.IO.read(a,t);return n?n.split("\n"):[]}};n.Tt=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var s=e[n],a=t[n];null==s?i(a)?e[n]=o(a,""):e[n]=a:r(s)&&r(a)?e[n]=parseInt(s)+parseInt(a)+"":i(a)?e[n]=o(a,s):(u=a,0<=s.indexOf(u)||(e[n]=s+","+a))}var u},n.Ft=u},{36:36}],15:[function(e,t,n){function i(e,t){u=c=-1;var n=0;do{if(0<=(n=e.indexOf(t,n))){var i=n+t.length;if((0==n||"&"==e.charAt(n-1))&&i<e.length&&"="==e.charAt(i))return u=i+1,void(-1==(c=e.indexOf("&",u))&&(c=e.length));n=i+1}}while(0<=n&&n<e.length)}function r(e,t){var n=0;if(i(e,"ns_ts"),-1!=u&&u<c){t.push('<event t="',e.substring(u,c),'">');for(var r,o,l=0,p=0;l<e.length;){if(-1==(r=e.indexOf("&",l))&&(r=e.length),l<r&&l<(o=e.indexOf("=",l))){var h=!0;if(n!=d)for(var _=0,g=f.length;_<g;_++){var v=1<<_;if(0==(n&v)&&f[_].length==o-l&&s.zt(f[_],0,e,l,f[_].length)){h=!1,n|=v;break}}h&&(0<p&&(a.push("&"),t.push("&")),a.push(e.substring(l,r)),t.push(e.substring(l,r)),p++)}l=r+1}t.push("</event>")}}var o=e(22),s=e(21),a=[],u=-1,c=-1,l=["c12","c1","ns_ap_an","ns_ap_pn","ns_ap_pv","ns_ap_device","ns_ak"],f=["c12","c1","ns_ap_an","ns_ap_pn","ns_ap_pv","ns_ap_device","ns_ts","ns_ak"],d=(1<<f.length)-1,p=-1,h={Yt:function(e,t){var n,f,d=['<?xml version="1.0" encoding="UTF-8" ?>'];return function(e,t,n){var r,o,s,a=+new Date+"";e.push('<events t="',a,'" ');for(var f=0,d=l.length;f<d;f++)r=e,i(o=t,s=l[f]),-1!=u&&u<c&&r.push(s,'="',o.substring(u,c),'" ');e.push('dropped="',n,'" md5="','">'),p=e.length-1}(d,e[0],t),function(e,t){a=[];for(var n=0,i=e.length;n<i;n++)s.lt(e[n])&&r(e[n],t)}(e,d),n=d,f=o(a.join("")).toLowerCase(),n.splice(p,0,f),d.push("</events>"),d.join("")},Kt:function(e,t){return i(e,t),-1!=u&&u<c?e.substring(u,c):null}};t.exports=h},{21:21,22:22}],16:[function(e,n,i){(function(t){var i=e(24),r=n.exports=t.ns_||{};"undefined"!=typeof window&&(window.ns_=r),r.comScore=e(2),r.loadModule=r.loadModule||function(e){for(var t in e)"ns_"!==t&&i.extend(r,e);return e.ns_=r},r.PlatformAPIs=e(32),e(39),r.StreamingAnalytics=e(67),r.ReducedRequirementsStreamingAnalytics=e(64)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2,24:24,32:32,39:39,64:64,67:67}],17:[function(e,t,n){t.exports={D:"unknown",Qt:"0x0",Xt:"-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD0+fCVxGq3Bk24jUKO1PzsiUs3\nvqww6zR4n2e3AweVLUAgsrDRbAWJ/EjZm1WBLBVNMiTLpSAkV6sjOIrUs03xdUEj\nQZJHwOGK+MfzFaZukoo0qAsEMPwQ5posv0JdkBdUGhKchPk6+NYmD6Hb44Lkp7/a\nQnVeWzvfAPQyTJR5wQIDAQAB\n-----END PUBLIC KEY-----"}},{}],18:[function(e,t,n){var i="undefined",r="function";t.exports=function(e,t){function n(t){t=t||[];var n=["comScore",+new Date];return e&&n.push(e),t=Array.prototype.slice.call(t),n=n.concat(t)}function o(e){var n,i,r;if("boolean"==typeof t||!t)return!!t;if(r=e.join(" "),t instanceof Array&&0<t.length){for(n=0;n<t.length;++n)if((i=t[n])instanceof RegExp&&i.test(r))return!0;return!1}if("object"!=typeof t)return!0;var o=!1;if(t.hide instanceof Array)for(n=0;n<t.hide.length;++n)if((i=t.hide[n])instanceof RegExp&&i.test(r)){o=!0;break}if(t.show instanceof Array)for(n=0;n<t.show.length;++n)if((i=t.show[n])instanceof RegExp&&i.test(r))return!0;return!o&&!t.show}function s(e){var n=u.length;if(1e4<n||"object"==typeof t&&t.max&&n>t.max){var i="object"==typeof t&&t.max||1e4;u.splice(0,u.length-i+1)}u.push(e)}var a=this,u=[];a.log=function(){var e=n(arguments);s(e),typeof console!=i&&typeof console.log==r&&o(e)&&console.log.apply(console,e)},a.warn=function(){var e=n(arguments);s(e),typeof console!=i&&typeof console.warn==r&&o(e)&&console.warn.apply(console,e)},a.error=function(){var e=n(arguments);s(e),typeof console!=i&&typeof console.error==r&&o(e)&&console.error.apply(console,e)},a.Zt=function(e){for(var t=["API call to:",e],n=1;n<arguments.length;++n)t.push("arg"+n+":",arguments[n]);this.log.apply(this,t)},a.$t=function(){var e=["Trace log:"];e.push.apply(e,Array.prototype.slice.call(arguments)),this.log.apply(this,e)},a.ne=function(e,t){var n=["Deprecated API:",e,"is deprecated and will be eventually removed."];t&&n.push("Use",t,"instead."),this.warn.apply(this,n)},a.te=function(){return u}}},{}],19:[function(e,t,n){var i={},r="undefined";i.indexOf=function(e,t){var n=-1;return i.forEach(t,function(t,i){t==e&&(n=i)}),n},i.forEach=function(e,t,n){try{if("function"==typeof t)if(n=typeof n!=r?n:null,"number"!=typeof e.length||typeof e[0]==r){var i=typeof e.__proto__!=r;for(var o in e)e.hasOwnProperty(o)&&(!i||i&&typeof e.__proto__[o]==r)&&"function"!=typeof e[o]&&t.call(n,e[o],o)}else for(var s=0,a=e.length;s<a;s++)t.call(n,e[s],s)}catch(e){}},n.indexOf=i.indexOf,n.forEach=i.forEach},{}],20:[function(e,t,n){var i={},r="undefined",o=typeof document!=r&&document||void 0;i.ee=function(){if(!o)return!1;var e=!1;return typeof o.hidden!==r?e=!0:typeof o.mozHidden!==r?e=!0:typeof o.msHidden!==r?e=!0:typeof o.webkitHidden!==r&&(e=!0),function(){return e}}(),i.ie=function(){if(!o)return null;var e,t,n;typeof o.hidden!==r?(e="hidden",t="visibilitychange",n="visibilityState"):typeof o.mozHidden!==r?(e="mozHidden",t="mozvisibilitychange",n="mozVisibilityState"):typeof o.msHidden!==r?(e="msHidden",t="msvisibilitychange",n="msVisibilityState"):typeof o.webkitHidden!==r&&(e="webkitHidden",t="webkitvisibilitychange",n="webkitVisibilityState");var i={hidden:e,re:t,state:n};return function(){return i}}(),i.oe=function(){if(!o)return null;var e=i.ie();return function(){return o[e.hidden]}}(),i.ue=function(){if(!navigator)return"";var e,t,n=navigator.userAgent||"",i=navigator.appName||"";return-1!=(t=n.indexOf("Opera"))||-1!=(t=n.indexOf("OPR/"))?i="Opera":-1!=(t=n.indexOf("Android"))?i="Android":-1!=(t=n.indexOf("Chrome"))?i="Chrome":-1!=(t=n.indexOf("Safari"))?i="Safari":-1!=(t=n.indexOf("Firefox"))?i="Firefox":-1!=(t=n.indexOf("IEMobile"))?i="Internet Explorer Mobile":"Microsoft Internet Explorer"==i||"Netscape"==i?i="Internet Explorer":(e=n.lastIndexOf(" ")+1)<(t=n.lastIndexOf("/"))?(i=n.substring(e,t)).toLowerCase()==i.toUpperCase()&&(i=navigator.appName):i="unknown",i},i.se=function(){if(!navigator)return"";var e,t,n,i=navigator.userAgent||"",r=navigator.appName||"",o=navigator.appVersion?""+parseFloat(navigator.appVersion):"";return-1!=(t=i.indexOf("Opera"))?(o=i.substring(t+6),-1!=(t=i.indexOf("Version"))&&(o=i.substring(t+8))):-1!=(t=i.indexOf("OPR/"))?o=i.substring(t+4):-1!=(t=i.indexOf("Android"))?o=i.substring(t+11):-1!=(t=i.indexOf("Chrome"))?o=i.substring(t+7):-1!=(t=i.indexOf("Safari"))?(o=i.substring(t+7),-1!=(t=i.indexOf("Version"))&&(o=i.substring(t+8))):-1!=(t=i.indexOf("Firefox"))?o=i.substring(t+8):"Microsoft Internet Explorer"==r?null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(i)&&(o=parseFloat(RegExp.$1)):"Netscape"==r?null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(i)&&(o=parseFloat(RegExp.$1)):o=i.lastIndexOf(" ")+1<(t=i.lastIndexOf("/"))?i.substring(t+1):"unknown",-1!=(n=(o=o.toString()).indexOf(";"))&&(o=o.substring(0,n)),-1!=(n=o.indexOf(" "))&&(o=o.substring(0,n)),-1!=(n=o.indexOf(")"))&&(o=o.substring(0,n)),e=parseInt(""+o,10),isNaN(e)&&(o=""+parseFloat(navigator.appVersion)),o},i.Jt=function(){return typeof window!=r&&window.ae,!0},i.fe=function(){return typeof window!=r&&o},i.ce=function(){return!!o&&"s"===o.location.href.charAt(4)},t.exports.ee=i.ee,t.exports.ie=i.ie,t.exports.oe=i.oe,t.exports.ue=i.ue,t.exports.se=i.se,t.exports.Jt=i.Jt,t.exports.fe=i.fe,t.exports.ce=i.ce},{}],21:[function(e,t,n){var i,r=r||{},o="undefined";r.le=(i=1,function(){return+new Date+"_"+i++}),r.jt=function(e){return null==e||""===e||e instanceof Array&&0===e.length},r.lt=function(e){return!this.jt(e)},r.pe=function(e,t){return t=this.tn(t)?t:"",this.tn(e)?e:t},r.ve=function(e){return typeof e!=o&&("string"==typeof e?"true"===(e=e.toLowerCase())||"1"===e||"on"===e:!!e)},r.zt=function(e,t,n,i,r){if(t<0||i<0||t+r>e.length||i+r>n.length)return!1;for(;0<=--r;)if(e.charAt(t++)!=n.charAt(i++))return!1;return!0},r.tn=function(e){return typeof e!=o&&null!=e},t.exports.tn=r.tn,t.exports.zt=r.zt,t.exports.ve=r.ve,t.exports.pe=r.pe,t.exports.lt=r.lt,t.exports.jt=r.jt,t.exports.le=r.le},{}],22:[function(e,t,n){var i={};i.de=function(){function e(e,t){var s=e[0],a=e[1],u=e[2],l=e[3];a=o(a=o(a=o(a=o(a=r(a=r(a=r(a=r(a=i(a=i(a=i(a=i(a=n(a=n(a=n(a=n(a,u=n(u,l=n(l,s=n(s,a,u,l,t[0],7,-680876936),a,u,t[1],12,-389564586),s,a,t[2],17,606105819),l,s,t[3],22,-1044525330),u=n(u,l=n(l,s=n(s,a,u,l,t[4],7,-176418897),a,u,t[5],12,1200080426),s,a,t[6],17,-1473231341),l,s,t[7],22,-45705983),u=n(u,l=n(l,s=n(s,a,u,l,t[8],7,1770035416),a,u,t[9],12,-1958414417),s,a,t[10],17,-42063),l,s,t[11],22,-1990404162),u=n(u,l=n(l,s=n(s,a,u,l,t[12],7,1804603682),a,u,t[13],12,-40341101),s,a,t[14],17,-1502002290),l,s,t[15],22,1236535329),u=i(u,l=i(l,s=i(s,a,u,l,t[1],5,-165796510),a,u,t[6],9,-1069501632),s,a,t[11],14,643717713),l,s,t[0],20,-373897302),u=i(u,l=i(l,s=i(s,a,u,l,t[5],5,-701558691),a,u,t[10],9,38016083),s,a,t[15],14,-660478335),l,s,t[4],20,-405537848),u=i(u,l=i(l,s=i(s,a,u,l,t[9],5,568446438),a,u,t[14],9,-1019803690),s,a,t[3],14,-187363961),l,s,t[8],20,1163531501),u=i(u,l=i(l,s=i(s,a,u,l,t[13],5,-1444681467),a,u,t[2],9,-51403784),s,a,t[7],14,1735328473),l,s,t[12],20,-1926607734),u=r(u,l=r(l,s=r(s,a,u,l,t[5],4,-378558),a,u,t[8],11,-2022574463),s,a,t[11],16,1839030562),l,s,t[14],23,-35309556),u=r(u,l=r(l,s=r(s,a,u,l,t[1],4,-1530992060),a,u,t[4],11,1272893353),s,a,t[7],16,-155497632),l,s,t[10],23,-1094730640),u=r(u,l=r(l,s=r(s,a,u,l,t[13],4,681279174),a,u,t[0],11,-358537222),s,a,t[3],16,-722521979),l,s,t[6],23,76029189),u=r(u,l=r(l,s=r(s,a,u,l,t[9],4,-640364487),a,u,t[12],11,-421815835),s,a,t[15],16,530742520),l,s,t[2],23,-995338651),u=o(u,l=o(l,s=o(s,a,u,l,t[0],6,-198630844),a,u,t[7],10,1126891415),s,a,t[14],15,-1416354905),l,s,t[5],21,-57434055),u=o(u,l=o(l,s=o(s,a,u,l,t[12],6,1700485571),a,u,t[3],10,-1894986606),s,a,t[10],15,-1051523),l,s,t[1],21,-2054922799),u=o(u,l=o(l,s=o(s,a,u,l,t[8],6,1873313359),a,u,t[15],10,-30611744),s,a,t[6],15,-1560198380),l,s,t[13],21,1309151649),u=o(u,l=o(l,s=o(s,a,u,l,t[4],6,-145523070),a,u,t[11],10,-1120210379),s,a,t[2],15,718787259),l,s,t[9],21,-343485551),e[0]=c(s,e[0]),e[1]=c(a,e[1]),e[2]=c(u,e[2]),e[3]=c(l,e[3])}function t(e,t,n,i,r,o){return t=c(c(t,e),c(i,o)),c(t<<r|t>>>32-r,n)}function n(e,n,i,r,o,s,a){return t(n&i|~n&r,e,n,o,s,a)}function i(e,n,i,r,o,s,a){return t(n&r|i&~r,e,n,o,s,a)}function r(e,n,i,r,o,s,a){return t(n^i^r,e,n,o,s,a)}function o(e,n,i,r,o,s,a){return t(i^(n|~r),e,n,o,s,a)}function s(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function a(e){for(var t="",n=0;n<4;n++)t+=l[e>>8*n+4&15]+l[e>>8*n&15];return t}function u(t){return function(e){for(var t=0;t<e.length;t++)e[t]=a(e[t]);return e.join("")}(function(t){var n,i=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)e(r,s(t.substring(n-64,n)));t=t.substring(n-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)o[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(o[n>>2]|=128<<(n%4<<3),55<n)for(e(r,o),n=0;n<16;n++)o[n]=0;return o[14]=8*i,e(r,o),r}(t))}function c(e,t){return e+t&4294967295}function c(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}var l="0123456789abcdef".split("");return u("hello"),u}(),t.exports=i.de},{}],23:[function(e,t,n){var i=function(e){if("object"!=typeof e)return e;var t;if(e instanceof Array){t=[];for(var n=0,r=e.length;n<r;n++)t[n]=i(e[n]);return t}for(var o in t={},e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t};t.exports=i},{}],24:[function(e,t,n){var i=i||{};i.filter=function(e,t){var n={};for(var i in t)t.hasOwnProperty(i)&&e(t[i])&&(n[i]=t[i]);return n},i.extend=function(e){var t,n=arguments.length;e=e||{};for(var i=1;i<n;i++)if(t=arguments[i])for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},t.exports.filter=i.filter,t.exports.extend=i.extend},{}],25:[function(e,t,n){var i=e(17),r={};r.encrypt=function(){function e(e,t,n){null!=e&&("number"==typeof e?this.he(e,t,n):null==t&&"string"!=typeof e?this._e(e,256):this._e(e,t))}function t(){return new e(null)}function n(e){return O.charAt(e)}function r(e,t){var n=w[e.charCodeAt(t)];return null==n?-1:n}function o(e){var n=t();return n.Pe(e),n}function s(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function a(e){this.Ae=e}function u(e){this.Ae=e,this.Ce=e.ke(),this.Ee=32767&this.Ce,this.Te=this.Ce>>15,this.Ne=(1<<e.me-15)-1,this.Le=2*e.De}function c(e,t){return e&t}function l(e,t){return e|t}function f(e,t){return e^t}function d(e,t){return e&~t}function p(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function h(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function _(){}function g(e){return e}function v(n){this.r2=t(),this.Re=t(),e.ONE.Me(2*n.De,this.r2),this.Oe=this.r2.We(n),this.Ae=n}function m(){this.ai=0,this.fi=0,this.ci=[]}function E(){var e;e=(new Date).getTime(),D[M++]^=255&e,D[M++]^=e>>8&255,D[M++]^=e>>16&255,D[M++]^=e>>24&255,B<=M&&(M-=B)}function y(){if(null==L){for(E(),(L=new m).init(D),M=0;M<D.length;++M)D[M]=0;M=0}return L.next()}function b(){}function S(t,n){return new e(t,n)}function A(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function I(e){var t,n,i="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),i+=k.charAt(n>>6)+k.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),i+=k.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),i+=k.charAt(n>>2)+k.charAt((3&n)<<4));0<(3&i.length);)i+="=";return i}var T=function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t));if(-1===n)throw new Error;return n};e.prototype.ge=function(e,t,n,i,r,o){for(var s=16383&t,a=t>>14;0<=--o;){var u=16383&this[e],c=this[e++]>>14,l=a*u+c*s;r=((u=s*u+((16383&l)<<14)+n[i]+r)>>28)+(l>>14)+a*c,n[i++]=268435455&u}return r},e.prototype.me=28,e.prototype.we=268435455,e.prototype.ye=1<<28,e.prototype.be=Math.pow(2,52),e.prototype.Ie=24,e.prototype.Se=4;var P,C,O="0123456789abcdefghijklmnopqrstuvwxyz",w=[];for(P="0".charCodeAt(0),C=0;C<=9;++C)w[P++]=C;for(P="a".charCodeAt(0),C=10;C<36;++C)w[P++]=C;for(P="A".charCodeAt(0),C=10;C<36;++C)w[P++]=C;a.prototype.Ve=function(e){return e.xe<0||0<=e.Ue(this.Ae)?e.Be(this.Ae):e},a.prototype.Fe=function(e){return e},a.prototype.reduce=function(e){e.je(this.Ae,null,e)},a.prototype.Ge=function(e,t,n){e.Ke(t,n),this.reduce(n)},a.prototype.qe=function(e,t){e.He(t),this.reduce(t)},u.prototype.Ve=function(n){var i=t();return n.abs().Me(this.Ae.De,i),i.je(this.Ae,null,i),n.xe<0&&0<i.Ue(e.ZERO)&&this.Ae.Ye(i,i),i},u.prototype.Fe=function(e){var n=t();return e.Je(n),this.reduce(n),n},u.prototype.reduce=function(e){for(;e.De<=this.Le;)e[e.De++]=0;for(var t=0;t<this.Ae.De;++t){var n=32767&e[t],i=n*this.Ee+((n*this.Te+(e[t]>>15)*this.Ee&this.Ne)<<15)&e.we;for(e[n=t+this.Ae.De]+=this.Ae.ge(0,i,e,t,0,this.Ae.De);e[n]>=e.ye;)e[n]-=e.ye,e[++n]++}e.ze(),e.Qe(this.Ae.De,e),0<=e.Ue(this.Ae)&&e.Ye(this.Ae,e)},u.prototype.Ge=function(e,t,n){e.Ke(t,n),this.reduce(n)},u.prototype.qe=function(e,t){e.He(t),this.reduce(t)},e.prototype.Je=function(e){for(var t=this.De-1;0<=t;--t)e[t]=this[t];e.De=this.De,e.xe=this.xe},e.prototype.Pe=function(e){this.De=1,this.xe=e<0?-1:0,0<e?this[0]=e:e<-1?this[0]=e+DV:this.De=0},e.prototype._e=function(t,n){var i;if(16==n)i=4;else if(8==n)i=3;else if(256==n)i=8;else if(2==n)i=1;else if(32==n)i=5;else{if(4!=n)return void this.Xe(t,n);i=2}this.De=0,this.xe=0;for(var o=t.length,s=!1,a=0;0<=--o;){var u=8==i?255&t[o]:r(t,o);u<0?"-"==t.charAt(o)&&(s=!0):(s=!1,0==a?this[this.De++]=u:a+i>this.me?(this[this.De-1]|=(u&(1<<this.me-a)-1)<<a,this[this.De++]=u>>this.me-a):this[this.De-1]|=u<<a,(a+=i)>=this.me&&(a-=this.me))}8==i&&0!=(128&t[0])&&(this.xe=-1,0<a&&(this[this.De-1]|=(1<<this.me-a)-1<<a)),this.ze(),s&&e.ZERO.Ye(this,this)},e.prototype.ze=function(){for(var e=this.xe&this.we;0<this.De&&this[this.De-1]==e;)--this.De},e.prototype.Me=function(e,t){var n;for(n=this.De-1;0<=n;--n)t[n+e]=this[n];for(n=e-1;0<=n;--n)t[n]=0;t.De=this.De+e,t.xe=this.xe},e.prototype.Qe=function(e,t){for(var n=e;n<this.De;++n)t[n-e]=this[n];t.De=Math.max(this.De-e,0),t.xe=this.xe},e.prototype.Ze=function(e,t){var n,i=e%this.me,r=this.me-i,o=(1<<r)-1,s=Math.floor(e/this.me),a=this.xe<<i&this.we;for(n=this.De-1;0<=n;--n)t[n+s+1]=this[n]>>r|a,a=(this[n]&o)<<i;for(n=s-1;0<=n;--n)t[n]=0;t[s]=a,t.De=this.De+s+1,t.xe=this.xe,t.ze()},e.prototype.$e=function(e,t){t.xe=this.xe;var n=Math.floor(e/this.me);if(n>=this.De)t.De=0;else{var i=e%this.me,r=this.me-i,o=(1<<i)-1;t[0]=this[n]>>i;for(var s=n+1;s<this.De;++s)t[s-n-1]|=(this[s]&o)<<r,t[s-n]=this[s]>>i;0<i&&(t[this.De-n-1]|=(this.xe&o)<<r),t.De=this.De-n,t.ze()}},e.prototype.Ye=function(e,t){for(var n=0,i=0,r=Math.min(e.De,this.De);n<r;)i+=this[n]-e[n],t[n++]=i&this.we,i>>=this.me;if(e.De<this.De){for(i-=e.xe;n<this.De;)i+=this[n],t[n++]=i&this.we,i>>=this.me;i+=this.xe}else{for(i+=this.xe;n<e.De;)i-=e[n],t[n++]=i&this.we,i>>=this.me;i-=e.xe}t.xe=i<0?-1:0,i<-1?t[n++]=this.ye+i:0<i&&(t[n++]=i),t.De=n,t.ze()},e.prototype.Ke=function(t,n){var i=this.abs(),r=t.abs(),o=i.De;for(n.De=o+r.De;0<=--o;)n[o]=0;for(o=0;o<r.De;++o)n[o+i.De]=i.ge(0,r[o],n,o,0,i.De);n.xe=0,n.ze(),this.xe!=t.xe&&e.ZERO.Ye(n,n)},e.prototype.He=function(e){for(var t=this.abs(),n=e.De=2*t.De;0<=--n;)e[n]=0;for(n=0;n<t.De-1;++n){var i=t.ge(n,t[n],e,2*n,0,1);(e[n+t.De]+=t.ge(n+1,2*t[n],e,2*n+1,i,t.De-n-1))>=t.ye&&(e[n+t.De]-=t.ye,e[n+t.De+1]=1)}0<e.De&&(e[e.De-1]+=t.ge(n,t[n],e,2*n,0,1)),e.xe=0,e.ze()},e.prototype.je=function(n,i,r){var o=n.abs();if(!(o.De<=0)){var a=this.abs();if(a.De<o.De)return null!=i&&i.Pe(0),void(null!=r&&this.Je(r));null==r&&(r=t());var u=t(),c=this.xe,l=n.xe,f=this.me-s(o[o.De-1]);0<f?(o.Ze(f,u),a.Ze(f,r)):(o.Je(u),a.Je(r));var d=u.De,p=u[d-1];if(0!=p){var h=p*(1<<this.Ie)+(1<d?u[d-2]>>this.Se:0),_=this.be/h,g=(1<<this.Ie)/h,v=1<<this.Se,m=r.De,E=m-d,y=null==i?t():i;for(u.Me(E,y),0<=r.Ue(y)&&(r[r.De++]=1,r.Ye(y,r)),e.ONE.Me(d,y),y.Ye(u,u);u.De<d;)u[u.De++]=0;for(;0<=--E;){var b=r[--m]==p?this.we:Math.floor(r[m]*_+(r[m-1]+v)*g);if((r[m]+=u.ge(0,b,r,E,0,d))<b)for(u.Me(E,y),r.Ye(y,r);r[m]<--b;)r.Ye(y,r)}null!=i&&(r.Qe(d,i),c!=l&&e.ZERO.Ye(i,i)),r.De=d,r.ze(),0<f&&r.$e(f,r),c<0&&e.ZERO.Ye(r,r)}}},e.prototype.ke=function(){if(this.De<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return 0<(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.ye)%this.ye)?this.ye-t:-t},e.prototype.ni=function(){return 0==(0<this.De?1&this[0]:this.xe)},e.prototype.exp=function(n,i){if(4294967295<n||n<1)return e.ONE;var r=t(),o=t(),a=i.Ve(this),u=s(n)-1;for(a.Je(r);0<=--u;)if(i.qe(r,o),0<(n&1<<u))i.Ge(o,a,r);else{var c=r;r=o,o=c}return i.Fe(r)},e.prototype.toString=function(e){if(this.xe<0)return"-"+this.ti().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.ei(e);t=2}var i,r=(1<<t)-1,o=!1,s="",a=this.De,u=this.me-a*this.me%t;if(0<a--)for(u<this.me&&0<(i=this[a]>>u)&&(o=!0,s=n(i));0<=a;)u<t?(i=(this[a]&(1<<u)-1)<<t-u,i|=this[--a]>>(u+=this.me-t)):(i=this[a]>>(u-=t)&r,u<=0&&(u+=this.me,--a)),0<i&&(o=!0),o&&(s+=n(i));return o?s:"0"},e.prototype.ti=function(){var n=t();return e.ZERO.Ye(this,n),n},e.prototype.abs=function(){return this.xe<0?this.ti():this},e.prototype.Ue=function(e){var t=this.xe-e.xe;if(0!=t)return t;var n=this.De;if(0!=(t=n-e.De))return this.xe<0?-t:t;for(;0<=--n;)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.ii=function(){return this.De<=0?0:this.me*(this.De-1)+s(this[this.De-1]^this.xe&this.we)},e.prototype.Be=function(n){var i=t();return this.abs().je(n,null,i),this.xe<0&&0<i.Ue(e.ZERO)&&n.Ye(i,i),i},e.prototype.ri=function(e,t){var n;return n=e<256||t.ni()?new a(t):new u(t),this.exp(e,n)},e.ZERO=o(0),e.ONE=o(1),_.prototype.Ve=g,_.prototype.Fe=g,_.prototype.Ge=function(e,t,n){e.Ke(t,n)},_.prototype.qe=function(e,t){e.He(t)},v.prototype.Ve=function(e){if(e.xe<0||e.De>2*this.Ae.De)return e.Be(this.Ae);if(e.Ue(this.Ae)<0)return e;var n=t();return e.Je(n),this.reduce(n),n},v.prototype.Fe=function(e){return e},v.prototype.reduce=function(e){for(e.Qe(this.Ae.De-1,this.r2),e.De>this.Ae.De+1&&(e.De=this.Ae.De+1,e.ze()),this.Oe.oi(this.r2,this.Ae.De+1,this.Re),this.Ae.ui(this.Re,this.Ae.De+1,this.r2);e.Ue(this.r2)<0;)e.si(1,this.Ae.De+1);for(e.Ye(this.r2,e);0<=e.Ue(this.Ae);)e.Ye(this.Ae,e)},v.prototype.Ge=function(e,t,n){e.Ke(t,n),this.reduce(n)},v.prototype.qe=function(e,t){e.He(t),this.reduce(t)};var N=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],R=(1<<26)/N[N.length-1];e.prototype.li=function(e){return Math.floor(Math.LN2*this.me/Math.log(e))},e.prototype.ei=function(e){if(null==e&&(e=10),0==this.pi()||e<2||36<e)return"0";var n=this.li(e),i=Math.pow(e,n),r=o(i),s=t(),a=t(),u="";for(this.je(r,s,a);0<s.pi();)u=(i+a.vi()).toString(e).substr(1)+u,s.je(r,s,a);return a.vi().toString(e)+u},e.prototype.Xe=function(t,n){this.Pe(0),null==n&&(n=10);for(var i=this.li(n),o=Math.pow(n,i),s=!1,a=0,u=0,c=0;c<t.length;++c){var l=r(t,c);l<0?"-"==t.charAt(c)&&0==this.pi()&&(s=!0):(u=n*u+l,++a>=i&&(this.di(o),this.si(u,0),u=a=0))}0<a&&(this.di(Math.pow(n,a)),this.si(u,0)),s&&e.ZERO.Ye(this,this)},e.prototype.he=function(t,n,i){if("number"==typeof n)if(t<2)this.Pe(1);else for(this.he(t,i),this.hi(t-1)||this._i(e.ONE.shiftLeft(t-1),l,this),this.ni()&&this.si(1,0);!this.gi(n);)this.si(2,0),this.ii()>t&&this.Ye(e.ONE.shiftLeft(t-1),this);else{var r=[],o=7&t;r.length=1+(t>>3),n.mi(r),0<o?r[0]&=(1<<o)-1:r[0]=0,this._e(r,256)}},e.prototype._i=function(e,t,n){var i,r,o=Math.min(e.De,this.De);for(i=0;i<o;++i)n[i]=t(this[i],e[i]);if(e.De<this.De){for(r=e.xe&this.we,i=o;i<this.De;++i)n[i]=t(this[i],r);n.De=this.De}else{for(r=this.xe&this.we,i=o;i<e.De;++i)n[i]=t(r,e[i]);n.De=e.De}n.xe=t(this.xe,e.xe),n.ze()},e.prototype.wi=function(t,n){var i=e.ONE.shiftLeft(t);return this._i(i,n,i),i},e.prototype.yi=function(e,t){for(var n=0,i=0,r=Math.min(e.De,this.De);n<r;)i+=this[n]+e[n],t[n++]=i&this.we,i>>=this.me;if(e.De<this.De){for(i+=e.xe;n<this.De;)i+=this[n],t[n++]=i&this.we,i>>=this.me;i+=this.xe}else{for(i+=this.xe;n<e.De;)i+=e[n],t[n++]=i&this.we,i>>=this.me;i+=e.xe}t.xe=i<0?-1:0,0<i?t[n++]=i:i<-1&&(t[n++]=this.ye+i),t.De=n,t.ze()},e.prototype.di=function(e){this[this.De]=this.ge(0,e-1,this,0,0,this.De),++this.De,this.ze()},e.prototype.si=function(e,t){if(0!=e){for(;this.De<=t;)this[this.De++]=0;for(this[t]+=e;this[t]>=this.ye;)this[t]-=this.ye,++t>=this.De&&(this[this.De++]=0),++this[t]}},e.prototype.ui=function(e,t,n){var i,r=Math.min(this.De+e.De,t);for(n.xe=0,n.De=r;0<r;)n[--r]=0;for(i=n.De-this.De;r<i;++r)n[r+this.De]=this.ge(0,e[r],n,r,0,this.De);for(i=Math.min(e.De,t);r<i;++r)this.ge(0,e[r],n,r,0,t-r);n.ze()},e.prototype.oi=function(e,t,n){--t;var i=n.De=this.De+e.De-t;for(n.xe=0;0<=--i;)n[i]=0;for(i=Math.max(t-this.De,0);i<e.De;++i)n[this.De+i-t]=this.ge(t-i,e[i],n,0,0,this.De+i-t);n.ze(),n.Qe(1,n)},e.prototype.bi=function(e){if(e<=0)return 0;var t=this.ye%e,n=this.xe<0?e-1:0;if(0<this.De)if(0==t)n=this[0]%e;else for(var i=this.De-1;0<=i;--i)n=(t*n+this[i])%e;return n},e.prototype.Ii=function(n){var i=this.Si(e.ONE),r=i.Pi();if(r<=0)return!1;var o=i.Ai(r);(n=n+1>>1)>N.length&&(n=N.length);for(var s=t(),a=0;a<n;++a){s.Pe(N[Math.floor(Math.random()*N.length)]);var u=s.Ci(o,this);if(0!=u.Ue(e.ONE)&&0!=u.Ue(i)){for(var c=1;c++<r&&0!=u.Ue(i);)if(0==(u=u.ri(2,this)).Ue(e.ONE))return!1;if(0!=u.Ue(i))return!1}}return!0},e.prototype.clone=function(){var e=t();return this.Je(e),e},e.prototype.vi=function(){if(this.xe<0){if(1==this.De)return this[0]-this.ye;if(0==this.De)return-1}else{if(1==this.De)return this[0];if(0==this.De)return 0}return(this[1]&(1<<32-this.me)-1)<<this.me|this[0]},e.prototype.ki=function(){return 0==this.De?this.xe:this[0]<<24>>24},e.prototype.Ei=function(){return 0==this.De?this.xe:this[0]<<16>>16},e.prototype.pi=function(){return this.xe<0?-1:this.De<=0||1==this.De&&this[0]<=0?0:1},e.prototype.Ti=function(){var e=this.De,t=[];t[0]=this.xe;var n,i=this.me-e*this.me%8,r=0;if(0<e--)for(i<this.me&&(n=this[e]>>i)!=(this.xe&this.we)>>i&&(t[r++]=n|this.xe<<this.me-i);0<=e;)i<8?(n=(this[e]&(1<<i)-1)<<8-i,n|=this[--e]>>(i+=this.me-8)):(n=this[e]>>(i-=8)&255,i<=0&&(i+=this.me,--e)),0!=(128&n)&&(n|=-256),0==r&&(128&this.xe)!=(128&n)&&++r,(0<r||n!=this.xe)&&(t[r++]=n);return t},e.prototype.Ni=function(e){return 0==this.Ue(e)},e.prototype.min=function(e){return this.Ue(e)<0?this:e},e.prototype.max=function(e){return 0<this.Ue(e)?this:e},e.prototype.Li=function(e){var n=t();return this._i(e,c,n),n},e.prototype.Di=function(e){var n=t();return this._i(e,l,n),n},e.prototype.Ri=function(e){var n=t();return this._i(e,f,n),n},e.prototype.Mi=function(e){var n=t();return this._i(e,d,n),n},e.prototype.Oi=function(){for(var e=t(),n=0;n<this.De;++n)e[n]=this.we&~this[n];return e.De=this.De,e.xe=~this.xe,e},e.prototype.shiftLeft=function(e){var n=t();return e<0?this.$e(-e,n):this.Ze(e,n),n},e.prototype.Ai=function(e){var n=t();return e<0?this.Ze(-e,n):this.$e(e,n),n},e.prototype.Pi=function(){for(var e=0;e<this.De;++e)if(0!=this[e])return e*this.me+p(this[e]);return this.xe<0?this.De*this.me:-1},e.prototype.Wi=function(){for(var e=0,t=this.xe&this.we,n=0;n<this.De;++n)e+=h(this[n]^t);return e},e.prototype.hi=function(e){var t=Math.floor(e/this.me);return t>=this.De?0!=this.xe:0!=(this[t]&1<<e%this.me)},e.prototype.Vi=function(e){return this.wi(e,l)},e.prototype.xi=function(e){return this.wi(e,d)},e.prototype.Ui=function(e){return this.wi(e,f)},e.prototype.add=function(e){var n=t();return this.yi(e,n),n},e.prototype.Si=function(e){var n=t();return this.Ye(e,n),n},e.prototype.multiply=function(e){var n=t();return this.Ke(e,n),n},e.prototype.We=function(e){var n=t();return this.je(e,n,null),n},e.prototype.Bi=function(e){var n=t();return this.je(e,null,n),n},e.prototype.Fi=function(e){var n=t(),i=t();return this.je(e,n,i),[n,i]},e.prototype.Ci=function(e,n){var i,r,c=e.ii(),l=o(1);if(c<=0)return l;i=c<18?1:c<48?3:c<144?4:c<768?5:6,r=c<8?new a(n):n.ni()?new v(n):new u(n);var f=[],d=3,p=i-1,h=(1<<i)-1;if(f[1]=r.Ve(this),1<i){var _=t();for(r.qe(f[1],_);d<=h;)f[d]=t(),r.Ge(_,f[d-2],f[d]),d+=2}var g,m,E=e.De-1,y=!0,b=t();for(c=s(e[E])-1;0<=E;){for(p<=c?g=e[E]>>c-p&h:(g=(e[E]&(1<<c+1)-1)<<p-c,0<E&&(g|=e[E-1]>>this.me+c-p)),d=i;0==(1&g);)g>>=1,--d;if((c-=d)<0&&(c+=this.me,--E),y)f[g].Je(l),y=!1;else{for(;1<d;)r.qe(l,b),r.qe(b,l),d-=2;0<d?r.qe(l,b):(m=l,l=b,b=m),r.Ge(b,f[g],l)}for(;0<=E&&0==(e[E]&1<<c);)r.qe(l,b),m=l,l=b,b=m,--c<0&&(c=this.me-1,--E)}return r.Fe(l)},e.prototype.ji=function(t){var n=t.ni();if(this.ni()&&n||0==t.pi())return e.ZERO;for(var i=t.clone(),r=this.clone(),s=o(1),a=o(0),u=o(0),c=o(1);0!=i.pi();){for(;i.ni();)i.$e(1,i),n?(s.ni()&&a.ni()||(s.yi(this,s),a.Ye(t,a)),s.$e(1,s)):a.ni()||a.Ye(t,a),a.$e(1,a);for(;r.ni();)r.$e(1,r),n?(u.ni()&&c.ni()||(u.yi(this,u),c.Ye(t,c)),u.$e(1,u)):c.ni()||c.Ye(t,c),c.$e(1,c);0<=i.Ue(r)?(i.Ye(r,i),n&&s.Ye(u,s),a.Ye(c,a)):(r.Ye(i,r),n&&u.Ye(s,u),c.Ye(a,c))}return 0!=r.Ue(e.ONE)?e.ZERO:0<=c.Ue(t)?c.Si(t):c.pi()<0?(c.yi(t,c),c.pi()<0?c.add(t):c):c},e.prototype.pow=function(e){return this.exp(e,new _)},e.prototype.Gi=function(e){var t=this.xe<0?this.ti():this.clone(),n=e.xe<0?e.ti():e.clone();if(t.Ue(n)<0){var i=t;t=n,n=i}var r=t.Pi(),o=n.Pi();if(o<0)return t;for(r<o&&(o=r),0<o&&(t.$e(o,t),n.$e(o,n));0<t.pi();)0<(r=t.Pi())&&t.$e(r,t),0<(r=n.Pi())&&n.$e(r,n),0<=t.Ue(n)?(t.Ye(n,t),t.$e(1,t)):(n.Ye(t,n),n.$e(1,n));return 0<o&&n.Ze(o,n),n},e.prototype.gi=function(e){var t,n=this.abs();if(1==n.De&&n[0]<=N[N.length-1]){for(t=0;t<N.length;++t)if(n[0]==N[t])return!0;return!1}if(n.ni())return!1;for(t=1;t<N.length;){for(var i=N[t],r=t+1;r<N.length&&i<R;)i*=N[r++];for(i=n.bi(i);t<r;)if(i%N[t++]==0)return!1}return n.Ii(e)},e.prototype.Ki=function(){var e=t();return this.He(e),e},m.prototype.init=function(e){var t,n,i;for(t=0;t<256;++t)this.ci[t]=t;for(t=n=0;t<256;++t)n=n+this.ci[t]+e[t%e.length]&255,i=this.ci[t],this.ci[t]=this.ci[n],this.ci[n]=i;this.ai=0,this.fi=0},m.prototype.next=function(){var e;return this.ai=this.ai+1&255,this.fi=this.fi+this.ci[this.ai]&255,e=this.ci[this.ai],this.ci[this.ai]=this.ci[this.fi],this.ci[this.fi]=e,this.ci[e+this.ci[this.ai]&255]};var L,D,M,B=256;if(null==D){var x;for(D=[],M=0;M<B;)x=Math.floor(65536*Math.random()),D[M++]=x>>>8,D[M++]=255&x;M=0,E()}b.prototype.mi=function(e){var t;for(t=0;t<e.length;++t)e[t]=y()},A.prototype.qi=function(e){return e.ri(this.e,this.n)},A.prototype.Hi=function(e,t){null!=e&&null!=t&&0<e.length&&0<t.length?(this.n=S(e,16),this.e=parseInt(t,16)):alert("Invalid RSA public key")},A.prototype.encrypt=function(t){var n=function(t,n){if(n<t.length+11)return alert("Message too long for RSA"),null;for(var i=[],r=t.length-1;0<=r&&0<n;){var o=t.charCodeAt(r--);i[--n]=o<128?o:127<o&&o<2048?(i[--n]=63&o|128,o>>6|192):(i[--n]=63&o|128,i[--n]=o>>6&63|128,o>>12|224)}i[--n]=0;for(var s=new b,a=[];2<n;){for(a[0]=0;0==a[0];)s.mi(a);i[--n]=a[0]}return i[--n]=2,i[--n]=0,new e(i)}(t,this.n.ii()+7>>3);if(null==n)return null;var i=this.qi(n);if(null==i)return null;var r=i.toString(16);return 0==(1&r.length)?r:"0"+r},A.prototype.Yi=function(e){if(null==this.p||null==this.q)return e.Ci(this.d,this.n);for(var t=e.Be(this.p).Ci(this.dmp1,this.p),n=e.Be(this.q).Ci(this.dmq1,this.q);t.Ue(n)<0;)t=t.add(this.p);return t.Si(n).multiply(this.coeff).Be(this.p).multiply(this.q).add(n)},A.prototype.Ji=function(e,t,n){null!=e&&null!=t&&0<e.length&&0<t.length?(this.n=S(e,16),this.e=parseInt(t,16),this.d=S(n,16)):alert("Invalid RSA private key")},A.prototype.zi=function(e,t,n,i,r,o,s,a){null!=e&&null!=t&&0<e.length&&0<t.length?(this.n=S(e,16),this.e=parseInt(t,16),this.d=S(n,16),this.p=S(i,16),this.q=S(r,16),this.dmp1=S(o,16),this.dmq1=S(s,16),this.coeff=S(a,16)):alert("Invalid RSA private key")},A.prototype.Qi=function(t,n){var i=new b,r=t>>1;this.e=parseInt(n,16);for(var o=new e(n,16);;){for(;this.p=new e(t-r,1,i),0!=this.p.Si(e.ONE).Gi(o).Ue(e.ONE)||!this.p.gi(10););for(;this.q=new e(r,1,i),0!=this.q.Si(e.ONE).Gi(o).Ue(e.ONE)||!this.q.gi(10););if(this.p.Ue(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var a=this.p.Si(e.ONE),u=this.q.Si(e.ONE),c=a.multiply(u);if(0==c.Gi(o).Ue(e.ONE)){this.n=this.p.multiply(this.q),this.d=o.ji(c),this.dmp1=this.d.Be(a),this.dmq1=this.d.Be(u),this.coeff=this.q.ji(this.p);break}}},A.prototype.decrypt=function(e){var t=S(e,16),n=this.Yi(t);return null==n?null:function(e,t){for(var n=e.Ti(),i=0;i<n.length&&0==n[i];)++i;if(n.length-i!=t-1||2!=n[i])return null;for(++i;0!=n[i];)if(++i>=n.length)return null;for(var r="";++i<n.length;){var o=255&n[i];o<128?r+=String.fromCharCode(o):191<o&&o<224?(r+=String.fromCharCode((31&o)<<6|63&n[i+1]),++i):(r+=String.fromCharCode((15&o)<<12|(63&n[i+1])<<6|63&n[i+2]),i+=2)}return r}(n,this.n.ii()+7>>3)};var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";A.prototype.Xi=function(e){e=this.Zi(e);var t=this.$i(),n=0,i=null,r=null,o=0;for(var s in t)t.hasOwnProperty(s)&&((i=t[s]).hasOwnProperty("offset")&&(n+=2*i.offset),o="string"==typeof i.length?this[i.length]:i.length,o*=2,r=e.substr(n,o),i.hasOwnProperty("type")&&("int"==i.type?r=parseInt(r,16):"bigint"==i.type&&(r=S(r,16))),n+=o,this[s]=r)},A.prototype.nr=function(e){var t="";e=function(e){var t,n,i,r=(e=""+e).length;if(0===r)return e;if(r%4!=0)throw new Error;t=0,"="===e.charAt(r-1)&&(t=1,"="===e.charAt(r-2)&&(t=2),r-=4);var o=[];for(n=0;n<r;n+=4)i=T(e,n)<<18|T(e,n+1)<<12|T(e,n+2)<<6|T(e,n+3),o.push(String.fromCharCode(i>>16,i>>8&255,255&i));switch(t){case 1:i=T(e,n)<<18|T(e,n+1)<<12|T(e,n+2)<<6,o.push(String.fromCharCode(i>>16,i>>8&255));break;case 2:i=T(e,n)<<18|T(e,n+1)<<12,o.push(String.fromCharCode(i>>16))}return o.join("")}(e);for(var n=0;n<e.length;++n){var i=e.charCodeAt(n).toString(16);1===i.length&&(i="0"+i),t+=i}return t},A.prototype.Zi=function(e){var t=(e=e.replace(/^\s+|\s+$/g,"")).split(/\r?\n/);return"-----BEGIN"==t[0].substring(0,10)&&(t=t.slice(1,t.length-1)),e=t.join(""),this.nr(e)},A.prototype.tr=function(){var e="",t=this.$i(),n=null,i=null,r=0;for(var o in t)t.hasOwnProperty(o)&&(n=t[o]).er&&((i=this[o].toString(16)).length%2&&(i="0"+i),n.hasOwnProperty("padded")&&n.ir&&(i="00"+i),(r=(r=i.length/2).toString(16)).length%2&&(r="0"+r),n.hasOwnProperty("extraspace")&&(e+=r),e+=r,e+=i,e+="02");return e.slice(0,-2)},A.prototype.rr=function(e,t){if(!e)return e;var n="(.{1,"+(t=t||64)+"})( +|$\n?)|(.{1,"+t+"})";return e.match(new RegExp(n,"g")).join("\n")},A.prototype.or=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n",t="3082025e02010002";return t+=this.tr(),e+=this.rr(I(t))+"\n",e+="-----END RSA PRIVATE KEY-----"},A.prototype.ur=function(){var e="-----BEGIN PUBLIC KEY-----\n",t="30819f300d06092a864886f70d010101050003818d0030818902";return t+=this.tr(),e+=this.rr(I(t))+"\n",e+="-----END PUBLIC KEY-----"};var U=function(e){A.call(this),e&&this.Xi(e)};((U.prototype=new A).constructor=U).prototype.$i=function(){return{header:{length:4},versionlength:{length:1,offset:1,type:"int"},version:{length:"versionlength",type:"int"},n_length:{length:1,offset:2,type:"int"},n:{length:"n_length",type:"bigint",er:!0,ir:!0,sr:!0},e_length:{length:1,offset:1,type:"int"},e:{length:"e_length",type:"int",er:!0},d_length:{length:1,offset:2,type:"int"},d:{length:"d_length",type:"bigint",er:!0,ir:!0,sr:!0},p_length:{length:1,offset:1,type:"int"},p:{length:"p_length",type:"bigint",er:!0,ir:!0},q_length:{length:1,offset:1,type:"int"},q:{length:"q_length",type:"bigint",er:!0,ir:!0},dmp1_length:{length:1,offset:1,type:"int"},dmp1:{length:"dmp1_length",type:"bigint",er:!0},dmq1_length:{length:1,offset:1,type:"int"},dmq1:{length:"dmq1_length",type:"bigint",er:!0,ir:!0},coeff_length:{length:1,offset:1,type:"int"},coeff:{length:"coeff_length",type:"bigint",er:!0,ir:!0}}};var V=function(e){A.call(this),e&&("string"==typeof e?this.Xi(e):e.hasOwnProperty("n")&&e.hasOwnProperty("e")&&(this.n=e.n,this.e=e.e))};((V.prototype=new A).constructor=V).prototype.$i=function(){return{header:{length:25},n_length:{length:1,offset:2,type:"int"},n:{length:"n_length",type:"bigint",er:!0,ir:!0,sr:!0},e_length:{length:1,offset:1,type:"int"},e:{length:"e_length",type:"int",er:!0}}};var G=function(){this.ar=null,this.cr=null};return G.prototype.lr=function(e){this.ar=new U(e),this.cr=new V(this.ar)},G.prototype.pr=function(e){this.cr=new V(e)},G.prototype.decrypt=function(e){return!!this.ar&&this.ar.decrypt(function(e){var t,i,r="",o=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var s=k.indexOf(e.charAt(t));s<0||(o=0==o?(r+=n(s>>2),i=3&s,1):1==o?(r+=n(i<<2|s>>4),i=15&s,2):2==o?(r+=n(i),r+=n(s>>2),i=3&s,3):(r+=n(i<<2|s>>4),r+=n(15&s),0))}return 1==o&&(r+=n(i<<2)),r}(e))},G.prototype.encrypt=function(e){var t=this.cr||this.ar;return!!t&&I(t.encrypt(e))},G.prototype.or=function(){return this.ar||(this.ar=new U,this.ar.Qi(1024,"010001"),this.cr=new V(this.ar)),this.ar.or()},G.prototype.ur=function(){return this.cr||(this.cr=new V,this.cr.Qi(1024,"010001")),this.cr.ur()},function(e){var t=new G;return t.pr(i.Xt),t.encrypt(e)}}(),t.exports=r.encrypt},{17:17}],26:[function(e,t,n){var i=i||{},r="undefined";i.vr=function(e,t){return t=t||!1,e?"0"!=e:t},i.U=function(e,t){return null==e||isNaN(e)?t||0:parseInt(e)},i.o=function(e,t){var n=Number(e);return null==e||isNaN(n)?t||0:n},i.toString=function(e){if(typeof e==r)return r;if("string"==typeof e)return e;if(e instanceof Array)return e.join(",");var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t||e.toString()},t.exports.vr=i.vr,t.exports.U=i.U,t.exports.o=i.o,t.exports.toString=i.toString},{}],27:[function(e,t,n){var i=e(19),r="undefined",o=typeof encodeURIComponent!==r?encodeURIComponent:escape,s=typeof decodeURIComponent!==r?decodeURIComponent:unescape,a="cs_dir_",u="cs_file_",c=typeof localStorage!==r?localStorage:null,l={},f=c&&o&&s,d={dir:function(e){if(!f)return null;var t=a+e,n=l[t];if(n)return n.slice();var i=c.getItem(t);if(i){n=[];for(var r=0,o=(i=i.split("|")).length;r<o;r++)0<i[r].length&&n.push(s(i[r]));return(l[t]=n).slice()}return null},append:function(e,t,n){if(f){var i=d.read(e,t);i?i+=n:i=n,d.write(e,t,i)}},write:function(e,t,n){if(f){var r,s=d.dir(e);s||(r=a+e,"function"==typeof c.setItem?c.setItem(r,""):c[r]="",l[r]=[],s=[]),-1==i.indexOf(t,s)&&function(e,t){var n=a+e;try{"function"==typeof c.setItem?c.setItem(n,c.getItem(n)+"|"+o(t)):c[n]=c.getItem(n)+"|"+o(t)}catch(e){}l[n].push(t)}(e,t),function(e,t,n){try{"function"==typeof c.setItem?c.setItem(u+e+t,n):c[u+e+t]=n}catch(e){}}(e,t,n)}},deleteFile:function(e,t){if(!f)return!1;var n=d.dir(e);return!!n&&-1!=i.indexOf(t,n)&&(function(e,t){var n=a+e,r=l[n];r.splice(i.indexOf(t,r),1);for(var s=[],f=0,d=r.length;f<d;f++)s.push(o(r[f]));try{"function"==typeof c.setItem?c.setItem(n,s.join("|")):c[n]=s.join("|"),"function"==typeof c.removeItem?c.removeItem(u+e+t):delete c[u+e+t]}catch(e){}}(e,t),!0)},read:function(e,t){if(!f)return null;var n=d.dir(e);return n?-1==i.indexOf(t,n)?null:function(e,t){try{return"function"==typeof c.getItem?c.getItem(u+e+t):c[u+e+t]}catch(e){}}(e,t):null}};t.exports=d},{19:19}],28:[function(e,t,n){function i(){f=typeof FileSystem!=l?new FileSystem:null,d=typeof curWidget!=l?curWidget.id:null,typeof sf!==l&&(u=a=function(e,t){sf.core.localData(e,t)}),null==f||typeof f.isValidCommonPath==l||f.isValidCommonPath(d)||f.createCommonDir(d),g=!0}function r(e){return e.replace(/^\s+|\s+$/g,"")}function o(e,t){var n=_[e];n?n.push(t):n=_[e]=[t],u(p+e,n.join(h))}function s(e,t){var n=_[e],i=c.indexOf(t,n);0<=i&&(n.splice(i,1),u(p+e,0===n.length?null:n.join(h)))}var a,u,c=e(19),l="undefined",f=null,d=null,p="cs_dir_",h="|",_={},g=!1,v={dir:function(e){if(g||i(),f.isValidCommonPath(d+"/"+e)){var t=_[e];if(!t){if(!(t=a(p+e)))return null;t=_[e]=t.split(h)}for(var n=t.slice(),r=0,o=n.length;r<o;r++){var u=t[r];f.isValidCommonPath(d+"/"+e+"/"+u)||s(e,u)}return n}return null},append:function(e,t,n){g||i();var s=d+"/"+e;f.isValidCommonPath(s)||f.createCommonDir(s),f.isValidCommonPath(s+"/"+t)||o(e,t);var a=f.openCommonFile(s+"/"+t,"a");a.writeLine(r(n)),f.closeCommonFile(a)},write:function(e,t,n){g||i();var s=d+"/"+e;f.isValidCommonPath(s)||f.createCommonDir(s),f.isValidCommonPath(s+"/"+t)||o(e,t);var a=f.openCommonFile(s+"/"+t,"w");a.writeLine(r(n)),f.closeCommonFile(a)},deleteFile:function(e,t){g||i();var n=d+"/"+e;return!!f.isValidCommonPath(n)&&(s(e,t),f.deleteCommonFile(n+"/"+t))},read:function(e,t){g||i();var n=d+"/"+e;if(!f.isValidCommonPath(n))return null;var r=f.openCommonFile(n+"/"+t,"r");if(r){for(var o,a=[];o=r.readLine();)a.push(o);return f.closeCommonFile(r),a.join("\n")}return s(e,t),""}};t.exports=v},{19:19}],29:[function(e,t,n){t.exports={dir:function(){return null},append:function(e,t,n){},write:function(e,t,n){},deleteFile:function(){return!1},read:function(){return null}}},{}],30:[function(e,t,n){function i(){null==p&&(h=typeof atv!=l&&typeof atv.device!=l&&atv.device.idForVendor?(p=r.pe(atv.device.idForVendor,""),"62"):(p=+new Date+~~(1e3*Math.random()),"72"),_=null)}var r=e(21),o=e(17),s=e(49).dr,a=e(49).hr(),u=e(45),c=e(29),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g={PLATFORM:"atv",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return i(),_},getAppName:function(){return f},getAppVersion:function(){return f},getVisitorId:function(){return i(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return"Apple TV"},getPlatformVersion:function(){return typeof atv!=l&&typeof atv.device!=l&&r.pe(atv.device.softwareVersion,f)},getPlatformName:function(){return"js"},getRuntimeName:function(){return"atv"},getRuntimeVersion:function(){return typeof atv!=l&&typeof atv.device!=l&&r.pe(atv.device.softwareVersion,f)},getDisplayResolution:function(){return typeof atv.device!=l&&typeof atv.device.screenFrame!=l&&typeof atv.device.screenFrame.height!=l&&typeof atv.device.screenFrame.width!=l?atv.device.screenFrame.height+"x"+atv.device.screenFrame.width:d},getLanguage:function(){return typeof atv!=l&&typeof atv.device!=l&&r.pe(atv.device.language,"")},getPackageName:function(){return""},isConnectionAvailable:function(){return!0},setTimeout:function(e,t){return typeof atv!=l&&typeof atv.setTimeout!=l&&atv.setTimeout(e,t)},setInterval:function(e,t){return typeof atv!=l&&typeof atv.setInterval!=l&&atv.setInterval(e,t)},clearTimeout:function(e){return typeof atv!=l&&typeof atv.clearTimeout!=l&&atv.clearTimeout(e)},clearInterval:function(e){return typeof atv!=l&&typeof atv.clearInterval!=l&&atv.clearInterval(e)},isCompatible:function(){return typeof window==l&&typeof atv!=l},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=g},{17:17,21:21,29:29,45:45,49:49}],31:[function(e,t,n){var i=e(21),r=e(20),o=e(17),s=e(50),a=e(48)._r,u=e(46),c=e(27),l="undefined",f=o.D,d=o.Qt,p={PLATFORM:"chromecast",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return null},getAppName:function(){return typeof ns_.crm===l?f:ns_.crm.getApplicationData().name},getAppVersion:function(){return f},getVisitorId:function(){return+new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceModel:function(){return"chromecast"},getPlatformVersion:function(){return cast.receiver.VERSION+"-"+i.pe(r.ue()+" "+r.se(),f)},getPlatformName:function(){return"js"},getRuntimeName:function(){return"html"},getRuntimeVersion:function(){return"5"},getDisplayResolution:function(){var e=typeof window!=l&&i.tn(window.screen)&&i.tn(window.screen.availWidth)?window.screen.availWidth:0,t=typeof window!=l&&i.tn(window.screen)&&i.tn(window.screen.availHeight)?window.screen.availHeight:0;return 0<e&&0<t?e+"x"+t:d},getLanguage:function(){return typeof window!=l&&i.tn(window.navigator)&&i.pe(window.navigator.language,"")||f},getPackageName:function(){return f},isConnectionAvailable:function(){return!0},isCompatible:function(){return typeof window!==l&&!i.jt(window.cast)&&!i.jt(cast.receiver)},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=p},{17:17,20:20,21:21,27:27,46:46,48:48,50:50}],32:[function(e,t,n){t.exports={SmartTV:0,Netcast:1,Cordova:2,Trilithium:3,AppleTV:4,Chromecast:5,Xbox:6,webOS:7,tvOS:8,nodejs:9,html5:10,JSMAF:11,Skeleton:12}},{}],33:[function(e,t,n){function i(){return typeof device!=d&&typeof device.available!=d&&device.available&&typeof window!=d&&typeof window.navigator!=d}function r(){if(null==_){var e=i()&&typeof device!=d&&o.tn(device.uuid)&&0<device.uuid.length?device.uuid:null;v=null!=e?(g="31",_=e):(_=+new Date+~~(1e3*Math.random()),g="72",null)}}var o=e(21),s=e(17),a=e(50),u=e(48).gr,c=e(48)._r,l=e(46),f=e(27),d="undefined",p=s.D,h=s.Qt,_=null,g=null,v=null,m={PLATFORM:"cordova",httpGet:function(){return typeof Image!=d?a.apply(this,arguments):u.apply(this,arguments)},httpPost:c,Storage:l,IO:f,getCrossPublisherId:function(){return r(),v},getAppName:function(){return p},getAppVersion:function(){return p},getVisitorId:function(){return r(),_},getVisitorIdSuffix:function(){return g},getDeviceModel:function(){return typeof device!=d&&o.tn(device.model)||p},getPlatformVersion:function(){return typeof device!=d&&o.tn(device.cordova)&&device.cordova||p},getPlatformName:function(){return"js"},getRuntimeName:function(){return typeof device!=d&&o.tn(device.platform)&&"cordova"+device.platform||"cordova"},getRuntimeVersion:function(){return typeof device!=d&&o.tn(device.version)||p},getDisplayResolution:function(){var e=typeof window!=d&&o.tn(window.screen)&&o.tn(window.screen.availWidth)&&window.screen.availWidth||0,t=typeof window!=d&&o.tn(window.screen)&&o.tn(window.screen.availHeight)&&window.screen.availHeight||0;return 0<e&&0<t?e+"x"+t:h},getLanguage:function(){return typeof window!=d&&o.tn(window.navigator)&&o.tn(window.navigator.language)&&window.navigator.language||p},getPackageName:function(){return""},isConnectionAvailable:function(){return typeof window==d||!o.tn(window.navigator)||!o.tn(window.navigator.onLine)||window.navigator.onLine},isCompatible:i,isConnectionSecure:function(){return typeof document!=d&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=m},{17:17,21:21,27:27,46:46,48:48,50:50}],34:[function(e,t,n){var i=e(21),r=e(20),o=e(17),s=e(50),a=e(48).gr,u=e(48)._r,c=e(46),l=e(27),f="undefined",d=typeof document!=f&&document||void 0,p=o.D,h=o.Qt,_={PLATFORM:"html5",httpGet:function(){return typeof Image!=f?s.apply(this,arguments):a.apply(this,arguments)},httpPost:u,Storage:c,IO:l,getCrossPublisherId:function(){return null},getAppName:function(){return d&&i.tn(d.title)&&d.title||p},getAppVersion:function(){return p},getVisitorId:function(){return this.getDeviceModel()+ +new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceModel:function(){return typeof window!=f&&i.tn(window.navigator)&&i.pe(window.navigator.platform,"")||""},getPlatformVersion:function(){return i.pe(r.ue()+" "+r.se(),"")},getPlatformName:function(){return"js"},getRuntimeName:function(){return"html"},getRuntimeVersion:function(){return"5"},getDisplayResolution:function(){var e,t;typeof window!=f&&window.screen&&window.screen.width&&(e=window.screen.width),typeof window!=f&&window.screen&&window.screen.width&&(t=window.screen.height);var n=1;return typeof window!=f&&window.devicePixelRatio&&(n=window.devicePixelRatio),0<e&&0<t?(e*=n)+"x"+(t*=n):h},getApplicationResolution:function(){var e,t;typeof window!=f&&window.innerWidth&&(e=window.innerWidth),typeof window!=f&&window.innerHeight&&(t=window.innerHeight);var n=1;return typeof window!=f&&window.devicePixelRatio&&(n=window.devicePixelRatio),0<e&&0<t?(e*=n)+"x"+(t*=n):h},getLanguage:function(){return typeof window!=f&&i.tn(window.navigator)&&i.pe(window.navigator.language,"")||p},getPackageName:function(){return""},isConnectionAvailable:function(){return typeof window==f||!i.tn(window.navigator)||!i.tn(window.navigator.onLine)||window.navigator.onLine},isCompatible:function(){return typeof window!==f&&i.tn(window.navigator)&&i.tn(window.localStorage)&&i.tn(d)&&!!d.createElement("canvas").getContext},isConnectionSecure:function(){return!!d&&"s"===d.location.href.charAt(4)}};t.exports=_},{17:17,20:20,21:21,27:27,46:46,48:48,50:50}],35:[function(e,t,n){function i(){if(null==h)if(typeof jsmaf!=f&&o.tn(jsmaf.hardwareId)){var e=jsmaf.hardwareId;_="31",g=h=e}else h=+new Date+~~(1e3*Math.random()),_="72",g=null}function r(){return typeof jsmaf==f||!o.tn(jsmaf.networkStatus)||"connected"==jsmaf.networkStatus}var o=e(21),s=e(17),a=e(48).gr,u=e(48)._r,c=e(46),l=e(27),f="undefined",d=s.D,p=s.Qt,h=null,_=null,g=null,v={PLATFORM:"jsmaf",httpGet:a,httpPost:u,Storage:c,IO:l,getCrossPublisherId:function(){return i(),g},getAppName:function(){return d},getAppVersion:function(){return d},getVisitorId:function(){return i(),h},getVisitorIdSuffix:function(){return i(),_},getDeviceModel:function(){return typeof jsmaf!=f&&o.tn(jsmaf.platform)?jsmaf.platform:d},getPlatformName:function(){return"js"},getPlatformVersion:function(){return d},getRuntimeName:function(){return"jsmaf"},getRuntimeVersion:function(){return typeof jsmaf!=f&&o.tn(jsmaf.version)?jsmaf.version:d},getDisplayResolution:function(){return typeof jsmaf!=f&&o.tn(jsmaf.screenWidth)&&o.tn(jsmaf.screenHeight)?jsmaf.screenWidth+"x"+jsmaf.screenHeight:p},getLanguage:function(){return typeof jsmaf!=f&&o.tn(jsmaf.locale)?jsmaf.locale:d},getPackageName:function(){return null},isConnectionAvailable:r,isCompatible:function(){return typeof jsmaf!=f},setTimeout:function(e,t){return jsmaf.setTimeout(e,t)},setInterval:function(e,t){return jsmaf.setInterval(e,t)},clearTimeout:function(e){return jsmaf.clearTimeout(e)},clearInterval:function(e){return jsmaf.clearInterval(e)},getDeviceArchitecture:function(){if(typeof jsmaf==f||!o.tn(jsmaf.platform))var e=d;return"ps3"==jsmaf.platform?e="cell":"ps4"==jsmaf.platform?e="ps4":"vita"==jsmaf.platform&&(e="vita"),e},getConnectionType:function(){return r()&&typeof jsmaf!=f&&o.tn(jsmaf.connectionType)?"wired"==jsmaf.connectionType?"eth":"wireless"==jsmaf.connectionType?"wifi":"phone"==jsmaf.connectionType?"wwan":d:d},getDeviceJailBrokenFlag:function(){return d},isConnectionSecure:function(){return typeof document!=f&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=v},{17:17,21:21,27:27,46:46,48:48}],36:[function(e,t,n){var i=e(50),r=e(52).mr,o=e(46),s=e(29),a=e(17),u=a.D,c=a.Qt,l={PLATFORM:"generic",httpGet:i,httpPost:r,Storage:o,IO:s,onDataFetch:function(e){e()},getCrossPublisherId:function(){return null},getAppName:function(){return u},getAppVersion:function(){return u},getVisitorId:function(){return+new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceModel:function(){return u},getPlatformVersion:function(){return u},getPlatformName:function(){return"js"},getRuntimeName:function(){return u},getRuntimeVersion:function(){return u},getDisplayResolution:function(){return c},getApplicationResolution:function(){return c},getLanguage:function(){return u},getPackageName:function(){return null},isConnectionAvailable:function(){return!0},isCompatible:function(){return!0},autoSelect:function(){},autoDetect:function(){},setPlatformAPI:function(){},isCrossPublisherIdChanged:function(){return!1},setTimeout:function(e,t){return setTimeout(e,t)},setInterval:function(e,t){return setInterval(e,t)},clearTimeout:function(e){return clearTimeout(e)},clearInterval:function(e){return clearInterval(e)},getDeviceArchitecture:function(){return u},getConnectionType:function(){return u},getDeviceJailBrokenFlag:function(){return u},isConnectionSecure:function(){return!1},processMeasurementLabels:function(){}};t.exports=l},{17:17,29:29,46:46,50:50,52:52}],37:[function(e,t,n){function i(){if(null==h){var e=function(){if(typeof ns_!=f&&r.tn(ns_.netcastDevice)){if(r.tn(ns_.netcastDevice.net_macAddress)&&r.lt(ns_.netcastDevice.net_macAddress))return ns_.netcastDevice.net_macAddress;if(r.tn(ns_.netcastDevice.serialNumber)&&r.lt(ns_.netcastDevice.serialNumber))return ns_.netcastDevice.serialNumber}return null}();g=null!=e?(_="31",h=e):(h=+new Date+~~(1e3*Math.random()),_="72",null)}}var r=e(21),o=e(17),s=e(50),a=e(48).gr,u=e(52).mr,c=e(46),l=e(29),f="undefined",d=o.D,p=o.Qt,h=null,_=null,g=null,v={PLATFORM:"netcast",httpGet:function(){return typeof Image!=f?s.apply(this,arguments):a.apply(this,arguments)},httpPost:u,Storage:c,IO:l,getCrossPublisherId:function(){return i(),g},getAppName:function(){return d},getAppVersion:function(){return d},getVisitorId:function(){return i(),h},getVisitorIdSuffix:function(){return _},getDeviceModel:function(){return typeof ns_!=f&&r.tn(ns_.netcastDevice)&&r.tn(ns_.netcastDevice.modelName)&&ns_.netcastDevice.modelName||d},getPlatformVersion:function(){return typeof ns_!=f&&r.tn(ns_.netcastDevice)&&r.pe(ns_.netcastDevice.version,d)||d},getPlatformName:function(){return"js"},getRuntimeName:function(){return typeof ns_!=f&&r.tn(ns_.netcastDevice)?"lg-ott"+r.pe(ns_.netcastDevice.platform,d):d},getRuntimeVersion:function(){if(typeof ns_!=f&&r.tn(ns_.netcastDevice)){if(r.tn(ns_.netcastDevice.version))return ns_.netcastDevice.version;if(r.tn(ns_.netcastDevice.hwVersion))return ns_.netcastDevice.hwVersion;if(r.tn(ns_.netcastDevice.swVersion))return ns_.netcastDevice.swVersion}return d},getDisplayResolution:function(){if(typeof ns_!=f&&r.tn(ns_.netcastDevice)&&r.tn(ns_.netcastDevice.osdResolution))switch(ns_.netcastDevice.osdResolution){case 0:return"640x480";case 1:return"720x576";case 2:return"1280x720";case 3:return"1920x1080";case 4:return"1366x768"}return p},getLanguage:function(){return typeof ns_!=f&&r.tn(ns_.netcastDevice)&&r.pe(ns_.netcastDevice.tvLanguage2,r.pe(window.navigator.language))||d},getPackageName:function(){return null},isConnectionAvailable:function(){return typeof ns_.netcastDevice===f||!!ns_.netcastDevice.net_isConnected},getConnectionType:function(){if(typeof ns_.netcastDevice!==f){if(0===ns_.netcastDevice.networkType)return"eth";if(1===ns_.netcastDevice.networkType)return"wifi"}return d},isCompatible:function(){return typeof ns_!=f&&typeof ns_.netcastDevice!=f&&typeof ns_.netcastDevice.version!=f&&typeof window!=f&&typeof window.navigator!=f},isConnectionSecure:function(){return typeof document!=f&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=v},{17:17,21:21,29:29,46:46,48:48,50:50,52:52}],38:[function(e,i,r){(function(t){function o(){null==h&&(h=+new Date+~~(1e3*Math.random()),_="72",g=null)}var s=e(21),a=e(17),u=e(52).mr,c=e(46),l=e(29),f="undefined",d=a.D,p=a.Qt,h=null,_=null,g=null,v={PLATFORM:"nodejs",httpGet:function(t,n){new function(t){var n=this,i=0;n.send=function(r){e("http").get(r,function(e){var r=e.statusCode;if((302==r||301==r)&&i<20&&e.headers&&e.headers.location)return i++,void n.send(e.headers.location);t(r)}).on("error",function(){t()})}}(n).send(t)},httpPost:u,Storage:c,IO:l,getCrossPublisherId:function(){return o(),g},getVisitorId:function(){return o(),h},getVisitorIdSuffix:function(){return _},getPlatformVersion:function(){var t=e("os");return[t.type(),t.platform(),t.release()].join(";")},getPlatformName:function(){return"js"},getRuntimeName:function(){return"nodejs"},getRuntimeVersion:function(){return typeof n===f||s.jt(n.version)?d:n.version},getDisplayResolution:function(){return p},isCompatible:function(){return typeof window===f&&typeof i!==f&&typeof r!==f&&typeof t!==f&&typeof n!==f&&s.tn(n.version)},isConnectionSecure:function(){return!1}};i.exports=v}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{17:17,21:21,29:29,46:46,52:52,undefined:void 0}],39:[function(e,t,n){var i=e(24),r=e(32),o=e(36),s=e(40),a=e(37),u=e(43),c=e(33),l=e(41),f=e(30),d=e(44),p=e(31),h=e(42),_=e(35),g=e(38),v=e(34),m=!1;o.autoDetect=function(){m||(m=!0,s.isCompatible()?i.extend(o,s):a.isCompatible()?i.extend(o,a):u.isCompatible()?i.extend(o,u):c.isCompatible()?i.extend(o,c):l.isCompatible()?i.extend(o,l):f.isCompatible()?i.extend(o,f):d.isCompatible()?i.extend(o,d):p.isCompatible()?i.extend(o,p):h.isCompatible()?i.extend(o,h):_.isCompatible()?i.extend(o,_):g.isCompatible()?i.extend(o,g):v.isCompatible()&&i.extend(o,v))},o.autoSelect=o.autoDetect,o.setPlatformAPI=function(e){switch(m=!0,e){case r.SmartTV:i.extend(o,s);break;case r.Netcast:i.extend(o,a);break;case r.Cordova:i.extend(o,c);break;case r.Trilithium:i.extend(o,l);break;case r.AppleTV:i.extend(o,f);break;case r.Chromecast:i.extend(o,p);break;case r.Xbox:i.extend(o,d);break;case r.webOS:i.extend(o,u);break;case r.tvOS:i.extend(o,h);break;case r.JSMAF:i.extend(o,_);break;case r.nodejs:i.extend(o,g);break;case r.html5:i.extend(o,v);break;case r.Skeleton:break;default:m=!1}}},{24:24,30:30,31:31,32:32,33:33,34:34,35:35,36:36,37:37,38:38,40:40,41:41,42:42,43:43,44:44}],40:[function(e,t,n){function i(){if(null==p){var e=function(){if("object"!=typeof sf||"object"!=typeof sf.core||"function"!=typeof sf.core.sefplugin)return null;var e=sf.core.sefplugin("NNAVI");if("function"!=typeof e.Open||"function"!=typeof e.Execute)return null;e.Open("Network","1.001","Network");var t=e.Execute("GetMAC","0");if(!r.jt(t))return t;if(t=e.Execute("GetMAC","1"),!r.jt(t))return t;var n=e.Execute("GetDeviceID");return r.jt(n)?null:n}();_=null!=e?(h="31",p=e):(p=+new Date+~~(1e3*Math.random()),h="72",null)}}var r=e(21),o=e(17),s=e(48).gr,a=e(52).mr,u=e(47),c=e(28),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g={PLATFORM:"smarttv",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return i(),_},getAppName:function(){return f},getAppVersion:function(){return typeof sf!=l&&r.tn(sf.env)&&r.tn(sf.env.getAppVersion)&&sf.env.getAppVersion()||f},getVisitorId:function(){return i(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return typeof sf!=l&&r.tn(sf.core)&&r.tn(sf.core.getEnvValue)&&sf.core.getEnvValue("modelid")||f},getPlatformVersion:function(){return"2.0.0"},getPlatformName:function(){return"js"},getRuntimeName:function(){if(typeof sf!==l&&r.tn(sf.env)&&r.tn(sf.env.getProductType)&&r.tn(sf.env.PRODUCTTYPE_TV)&&r.tn(sf.env.PRODUCTTYPE_MONITOR)&&r.tn(sf.env.PRODUCTTYPE_BD)){var e=[];return e[sf.env.PRODUCTTYPE_TV]="samsung-smarttv-tv",e[sf.env.PRODUCTTYPE_MONITOR]="samsung-smarttv-monitor",e[sf.env.PRODUCTTYPE_BD]="samsung-smarttv-bd",e[sf.env.getProductType()]}},getRuntimeVersion:function(){return typeof sf!=l&&r.tn(sf.env)&&r.tn(sf.env.getFirmwareVer)&&sf.env.getFirmwareVer().version},getDisplayResolution:function(){if(typeof sf===l||!r.tn(sf.env)||!r.tn(sf.env.getScreenSize))return d;var e=sf.env.getScreenSize();return e.width+"x"+e.height},getLanguage:function(){if(typeof sf!==l&&r.tn(sf.env)&&r.tn(sf.env.getLanguageCode))return sf.env.getLanguageCode()},getPackageName:function(){return null},isConnectionAvailable:function(){return!0},isCompatible:function(){return typeof window!=l&&typeof window.navigator!=l&&typeof sf!=l&&typeof sf.env!=l},getConnectionType:function(){if("object"!=typeof sf||"object"!=typeof sf.core||"function"!=typeof sf.core.sefplugin)return f;var e=sf.core.sefplugin("NETWORK");if("function"!=typeof e.Open||"function"!=typeof e.Execute)return f;e.Open("Network","1.001","Network");var t=e.Execute("GetActiveType");return 0===t?"wired":1===t?"wireless":f},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=g},{17:17,21:21,28:28,47:47,48:48,52:52}],41:[function(e,t,n){function i(){if(null==p){var e=r.lt(engine.stats.device.id)?engine.stats.device.id:r.lt(engine.stats.network.mac)?engine.stats.network.mac:null;_=null!=e?(h="31",p=e):(p=+new Date+~~(1e3*Math.random()),h="72",null)}}var r=e(21),o=e(17),s=e(51),a=e(52),u=e(46),c=e(29),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g={PLATFORM:"trilithium",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return i(),_},getAppName:function(){return r.lt(engine.stats.application.name)?engine.stats.application.name:f},getAppVersion:function(){return r.lt(engine.stats.application.version)?engine.stats.application.version:f},getVisitorId:function(){return i(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return r.pe(engine.stats.device.platform,f)},getPlatformVersion:function(){return""},getPlatformName:function(){return"js"},getRuntimeName:function(){return"trilithium"},getRuntimeVersion:function(){return r.pe(engine.stats.device.version,f)},getDisplayResolution:function(){return typeof screen!=l&&typeof screen.height!=l&&typeof screen.width!=l?screen.height+"x"+screen.width:d},getLanguage:function(){return f},getPackageName:function(){return null},isConnectionAvailable:function(){return!0},isCompatible:function(){return typeof engine!=l&&typeof engine.stats!=l},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=g},{17:17,21:21,29:29,46:46,51:51,52:52}],42:[function(e,t,n){function i(){null==p&&(h=r.jt(Device.vendorIdentifier)?(p=+new Date+~~(1e3*Math.random()),"72"):(p=Device.vendorIdentifier,"62"),_=p)}var r=e(21),o=e(17),s=e(48).gr,a=e(48)._r,u=e(46),c=e(27),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g={PLATFORM:"tvos",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return i(),_},getAppName:function(){return Device.appIdentifier},getAppVersion:function(){return Device.appVersion},getVisitorId:function(){return i(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return Device.productType},getPlatformVersion:function(){return Device.systemVersion},getPlatformName:function(){return"js"},getRuntimeName:function(){return"tvos"},getRuntimeVersion:function(){return Device.systemVersion},getDisplayResolution:function(){return d},getLanguage:function(){return Settings.language},getPackageName:function(){return f},isConnectionAvailable:function(){return!0},isCompatible:function(){return typeof window===l&&typeof Device!==l&&"Apple TV"===Device.model},isConnectionSecure:function(){return!0}};t.exports=g},{17:17,21:21,27:27,46:46,48:48}],43:[function(e,t,n){var i,r,o,s=e(21),a=e(17),u=e(50),c=e(48)._r,l=e(46),f=e(27),d="undefined",p=a.D,h=a.Qt,_={PLATFORM:"webos",httpGet:u,httpPost:c,Storage:l,IO:f,onDataFetch:function(e,t){var n,s,a,u=3,c=function(){0==--u&&e()};n=c,webOS.service.request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["modelName","firmwareVersion","UHD","sdkVersion"]},onSuccess:function(e){e.returnValue&&(i=e),n()},onFailure:function(){n()}}),s=c,webOS.service.request("luna://com.webos.settingsservice",{method:"getSystemSettings",parameters:{category:"option"},onSuccess:function(e){e.returnValue&&(r=e),s()},onFailure:function(){s()}}),a=c,webOS.service.request("luna://com.webos.service.connectionmanager",{method:"getStatus",onSuccess:function(e){e.returnValue&&(o=e),a()},onFailure:function(){a()}})},getCrossPublisherId:function(){return typeof webOS!==d&&webOS.device&&webOS.device.serialNumber&&"Unknown"!=webOS.device.serialNumber?webOS.device.serialNumber:null},getAppName:function(){return p},getAppVersion:function(){return p},getVisitorId:function(){return+new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceModel:function(){return i&&i.modelName?i.modelName:p},getPlatformVersion:function(){return i&&i.sdkVersion?i.sdkVersion:p},getPlatformName:function(){return"js"},getRuntimeName:function(){return"webOS"},getRuntimeVersion:function(){return typeof webOS!==d&&webOS.device?webOS.device.platformVersion:p},getDisplayResolution:function(){var e=0;typeof webOS!==d&&webOS.device?e=webOS.device.screenWidth:typeof window!=d&&window.screen&&(e=window.screen.availWidth);var t=0;return typeof webOS!==d&&typeof webOS.device!==d?t=webOS.device.screenHeight:typeof window!=d&&window.screen&&(t=window.screen.availHeight),0<e&&0<t?e+"x"+t:h},getLanguage:function(){return r&&r.locales&&(r.locales.UI||r.locales.TV)||p},getPackageName:function(){return p},isConnectionAvailable:function(){return!o||!o.isInternetConnectionAvailable||o.isInternetConnectionAvailable},isCompatible:function(){return typeof window!==d&&!s.jt(window.webOS)&&!s.jt(webOS.service)&&!s.jt(webOS.service.request)},getConnectionType:function(){if(o&&(o.wired||o.wifi)){if("connected"===o.wired.state&&"yes"===o.wired.onInternet)return"eth";if("connected"===o.wifi.state&&"yes"===o.wifi.onInternet)return"wifi"}return p},isConnectionSecure:function(){return typeof document!=d&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=_},{17:17,21:21,27:27,46:46,48:48,50:50}],44:[function(e,t,n){function i(){typeof Windows!=l&&Windows&&Windows.Xbox&&Windows.Xbox.ApplicationModel&&Windows.Xbox.ApplicationModel.Core&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.addEventListener("currentuserchanged",function(){v=!0}),r(),m=!0}function r(){var e=null;if(typeof Windows!=l&&Windows&&Windows.Xbox&&Windows.Xbox.ApplicationModel&&Windows.Xbox.ApplicationModel.Core&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser){var t=Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser;null!=t&&!t.br&&t.Ir&&(e=Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser.xboxUserId)}_=e}var o=e(17),s=e(53).wr,a=e(53).yr,u=e(46),c=e(27),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g=!1,v=!1,m=!1,E={PLATFORM:"xbox",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return m||i(),v&&r(),_},getAppName:function(){var e=f;return typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.name&&(e=Windows.ApplicationModel.Package.current.id.name),e},getAppVersion:function(){var e=f;if(typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.version){var t=Windows.ApplicationModel.Package.current.id.version;e=t.major+"."+t.minor+"."+t.build+"."+t.revision}return e},getVisitorId:function(){return g||function(){p=typeof Windows!=l&&Windows&&Windows.Xbox&&Windows.Xbox.System&&Windows.Xbox.System.Console&&Windows.Xbox.System.Console.applicationSpecificDeviceId?Windows.Xbox.System.Console.applicationSpecificDeviceId:this.getDeviceModel()+ +new Date+~~(1e3*Math.random()),h="72",g=!0}(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return"xbox one"},getPlatformVersion:function(){var e=f;return typeof navigator!=l&&navigator&&navigator.userAgent&&navigator.userAgent.split(";").filter(function(e){return-1!=e.indexOf("Windows NT")}).forEach(function(t){e=t.substr(t.indexOf("Windows NT")+11,t.length-1)}),e},getPlatformName:function(){return"xbox"},getRuntimeName:function(){return"winjs"},getRuntimeVersion:function(){var e=f;return typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.dependencies&&Windows.ApplicationModel.Package.current.dependencies.filter(function(e){return e&&e.id&&e.id.name&&-1!=e.id.name.indexOf("WinJS")&&e.id.version}).forEach(function(t){e=t.id.version.major+"."+t.id.version.minor+"."+t.id.version.build+"."+t.id.version.revision}),e},getDisplayResolution:function(){var e=d;if(typeof Windows!=l&&Windows&&Windows.Xbox&&Windows.Xbox.Graphics&&Windows.Xbox.Graphics.Display&&Windows.Xbox.Graphics.Display.DisplayConfiguration&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView()&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode.rawWidth&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode.rawHeight){var t=Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode;e=t.rawWidth+"x"+t.rawHeight}return e},getApplicationResolution:function(){var e=d;return typeof window!=l&&window.innerWidth&&window.innerHeight&&(e=window.innerWidth+"x"+window.innerHeight),e},getLanguage:function(){var e=f;return typeof Windows!=l&&Windows&&Windows.System&&Windows.System.UserProfile&&Windows.System.UserProfile.GlobalizationPreferences&&Windows.System.UserProfile.GlobalizationPreferences.languages&&(e=Windows.System.UserProfile.GlobalizationPreferences.languages.getAt(0)),e},getPackageName:function(){var e=f;return typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.name&&(e=Windows.ApplicationModel.Package.current.id.name),e},isConnectionAvailable:function(){return!(typeof Windows!=l&&Windows&&Windows.Networking&&Windows.Networking.Connectivity&&Windows.Networking.Connectivity.NetworkInformation&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile()&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().getNetworkConnectivityLevel&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().getNetworkConnectivityLevel())||4==Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().getNetworkConnectivityLevel()},isCompatible:function(){return typeof WinJS!=l&&WinJS&&typeof Windows!=l&&Windows&&Windows.Xbox},setPlatformAPI:function(){},isCrossPublisherIdChanged:function(){return m||i(),v},getDeviceArchitecture:function(){var e="unknown";if(typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.architecture)switch(Windows.ApplicationModel.Package.current.id.architecture){case 5:e="arm";break;case 11:e="neutral";break;case 9:e="x64";break;case 0:e="x86"}return e},getConnectionType:function(){var e=f;if(typeof Windows!=l&&Windows&&Windows.Networking&&Windows.Networking.Connectivity&&Windows.Networking.Connectivity.NetworkInformation&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile()&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter.ianaInterfaceType)switch(Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter.ianaInterfaceType){case 6:e="eth";break;case 71:e="wifi"}return e},getDeviceJailBrokenFlag:function(){return f},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=E},{17:17,27:27,46:46,53:53}],45:[function(e,t,n){var i=e(24),r="undefined",o="cs_";t.exports=function(){var e=typeof atv!=r&&typeof atv.localStorage!=r&&atv.localStorage||null;i.extend(this,{get:function(t){return e&&t&&e.getItem(o+t)||null},set:function(t,n){e&&t&&(e[o+t]=n)},has:function(t){return e&&t&&null!=e.getItem(o+t)||!1},remove:function(t){e&&t&&e.removeItem(o+t)},clear:function(){}})}},{24:24}],46:[function(e,t,n){var i=e(24),r="cs_";t.exports=function(){var e="undefined"!=typeof localStorage?localStorage:null;i.extend(this,{get:function(t){try{return e&&"function"==typeof e.getItem?e.getItem(r+t):e?e[r+t]:e}catch(t){}},set:function(t,n){try{e&&"function"==typeof e.setItem?e.setItem(r+t,n):e&&(e[r+t]=n)}catch(t){}},has:function(t){try{return e&&"function"==typeof e.getItem?e.getItem(r+t):e?e[r+t]:e}catch(t){}},remove:function(t){try{e&&"function"==typeof e.removeItem?e.removeItem(r+t):e&&delete e[r+t]}catch(t){}},clear:function(){try{for(var t=0;e&&t<e.length;++t){var n=e.key(t);n.substr(0,r.length)===r&&("function"==typeof e.removeItem?e.removeItem(n):delete e[n])}}catch(t){}}})}},{24:24}],47:[function(e,t,n){var i,r,o=e(24),s="cs_";"undefined"!=typeof sf?r=i=function(e,t){sf.core.localData(e,t)}:(r=function(e,t){$.sf.setData(e,void 0===t?null:t)},i=function(e){return $.sf.getData(e)}),t.exports=function(){o.extend(this,{get:function(e){return i(s+e)},set:function(e,t){r(s+e,t)},has:function(e){return void 0!==i(s+e)},remove:function(e){r(s+e,null)}})}},{24:24}],48:[function(e,t,n){var i="undefined";n.gr=function(e,t){if(typeof XMLHttpRequest!=i){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&(t&&t(n.status),n=null)},n.send()}else"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()},n._r=function(e,t,n){if(typeof XMLHttpRequest!=i){var r=new XMLHttpRequest;r.open("POST",e,!0),r.onreadystatechange=function(){4===r.readyState&&(n&&n(r.status),r=null)},r.send(t)}else"function"==typeof setTimeout?n&&setTimeout(n,0):n&&n()}},{}],49:[function(e,t,n){var i="undefined";n.dr=function(e,t){if(typeof atv!=i&&typeof XMLHttpRequest!=i){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4==n.readyState&&(t&&t(n.status),n=null)},n.send()}else typeof atv!=i&&"function"==typeof atv.setTimeout?t&&atv.setTimeout(t,0):t&&t()},n.hr=function(e,t,n){if(typeof atv!=i&&typeof XMLHttpRequest!=i){var r=new XMLHttpRequest;r.open("POST",e,!0),r.onreadystatechange=function(){4===r.readyState&&(n&&n(r.status),r=null)},r.send(t)}else typeof atv!=i&&"function"==typeof atv.setTimeout?n&&atv.setTimeout(n,0):n&&n()}},{}],50:[function(e,t,n){t.exports=function(e,t){if("undefined"!=typeof Image){var n=new Image;n.onload=function(){t&&t(200),n=null},n.onerror=function(){t&&t(),n=null},n.src=e}else"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()}},{}],51:[function(e,t,n){t.exports=function(e,t){"undefined"!=typeof engine?(engine.createHttpClient().createRequest("GET",e,null).start(),t&&setTimeout(t,0)):"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()}},{}],52:[function(e,t,n){t.exports.Sr=function(e,t){"function"==typeof setTimeout?t&&setTimeout(function(){t(200)},0):t&&t(200)},t.exports.mr=function(e,t,n){"function"==typeof setTimeout?n&&setTimeout(function(){n(200)},0):n&&n(200)}},{}],53:[function(e,t,n){var i="undefined";n.wr=function(e,t){typeof WinJS!=i&&typeof WinJS.xhr!=i?WinJS.xhr({url:e}).then(function(e){t&&t(e.status)},function(){t&&t()}):"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()},n.yr=function(e,t,n){typeof WinJS!=i&&typeof WinJS.xhr!=i?WinJS.xhr({type:"post",url:e,data:t,headers:{"Content-type":"application/xml"}}).then(function(e){n&&n(e.status)},function(){n&&n()}):"function"==typeof setTimeout?n&&setTimeout(n,0):n&&n()}},{}],54:[function(e,t,n){function i(){var e,t,n,i,c,l,f,d,p,h,_,g,v,m,E,y,b,S,A,I,T,P,C,O,w,N,R,L,D,M,B,x,k,U,V,G,F,j,H,W,Y,K,z,q,Q,$,X,J,Z,ee,te,ne,ie,re,oe,se,ae=this,ue=500;r.extend(ae,{Pr:function(){return e},Ar:function(t){e=t},setPlaybackIntervalMergeTolerance:function(e){ue=e},getPlaybackIntervalMergeTolerance:function(){return ue},Cr:function(e,t){i[e]=t},kr:function(e){return i[e]},Er:function(e){return null!=i[e]},setLabels:function(e){e&&r.extend(c,e)},getLabels:function(){return c},setLabel:function(e,t){c[e]=t},getLabel:function(e){return c[e]},dt:function(e){return e in c},Tr:function(){return parseInt(ae.kr("ns_st_cn"))},Nr:function(e){ae.Cr("ns_st_cn",e+"")},Lr:function(){return ae.dt("ns_st_pn")?parseInt(ae.getLabel("ns_st_pn")):parseInt(ae.kr("ns_st_pn"))},Dr:function(e,t,o){var c=e,l=parseInt(c.ns_st_po),f=s.jt(c.ns_st_ap)?T:parseInt(c.ns_st_ap);c.ns_st_dap=o&&se<0&&0<g-l?(c.ns_st_ap=f+g-l,f+g-l-P):o&&0<se&&0<l-g?(c.ns_st_ap=f+l-g,f+l-g-P):(c.ns_st_ap=f)-P;var d=s.jt(c.ns_st_pt)?ae.Rr():parseInt(c.ns_st_pt);c.ns_st_pt=d+(isNaN(p)?0:t-p)+"",c.ns_st_dpt=d+(isNaN(p)?0:t-p)-h+"",c.ns_st_ipt=d+(isNaN(p)?0:t-p)-_+"";var v=s.jt(c.ns_st_et)?ae.Mr():parseInt(c.ns_st_et);c.ns_st_et=v+(isNaN(E)?0:t-E)+"",c.ns_st_det=v+(isNaN(E)?0:t-E)-y+"";var m=s.jt(c.ns_st_bt)?ae.Or():parseInt(c.ns_st_bt);c.ns_st_bt=m+"",c.ns_st_dbt=m+(isNaN(k)?0:t-k)-U+"";var b=C,I=O;o&&(b=a.Wr(u(C),se<0?l:w,se<0?w:l,ue),I=a.Wr(u(O),se<0?l:w,se<0?w:l,ue));for(var x,V=0,F=0,j=0;j<b.length;j++)V+=x=Math.abs(b[j].end-b[j].start),F<x&&(F=x);var H=0,Y=0;for(j=0;j<I.length;j++)H+=x=Math.abs(I[j].end-I[j].start),Y<x&&(Y=x);c.ns_st_upc=V+"",c.ns_st_dupc=V-N+"",c.ns_st_iupc=V-R+"",c.ns_st_iupc=R<V?V-R+"":"0",c.ns_st_lpc=F+"",c.ns_st_dlpc=F-L+"",c.ns_st_upa=H+"",c.ns_st_dupa=H-D+"",c.ns_st_iupa=M<H?H-M+"":"0",c.ns_st_lpa=Y+"",c.ns_st_dlpa=Y-B+"";var K=s.jt(c.ns_st_pc)?ae.Vr():parseInt(c.ns_st_pc);c.ns_st_pc=K+"",c.ns_st_dpc=K-X+"";var z=s.jt(c.ns_st_skc)?ae.xr():parseInt(c.ns_st_skc);c.ns_st_skc=z+"",c.ns_st_dskc=z-Z+"";var Q=s.jt(c.ns_st_bc)?ae.Ur():parseInt(c.ns_st_bc);c.ns_st_bc=Q+"",c.ns_st_dbc=Q-G+"";var $=s.jt(c.ns_st_skt)?ae.Br():parseInt(c.ns_st_skt);c.ns_st_skt=$+"",c.ns_st_dskt=$-W+"";var J=s.jt(c.ns_st_ska)?ae.Fr():parseInt(c.ns_st_ska);c.ns_st_ska=J+"",c.ns_st_dska=J-q+"",n&&(c.ns_st_spc=ee+"",c.ns_st_apc=te+"",c.ns_st_sq=ne+"",c.ns_st_asq=ie+""),c.ns_st_sc=n||0!=re?re+"":"1",c.ns_st_rt=se+"",c.ns_st_ldw=S,c.ns_st_ldo=A,r.extend(c,i)},jr:function(e){h=parseInt(e.ns_st_pt),P=parseInt(e.ns_st_ap),y=parseInt(e.ns_st_et),U=parseInt(e.ns_st_bt),N=parseInt(e.ns_st_upc),L=parseInt(e.ns_st_lpc),D=parseInt(e.ns_st_upa),B=parseInt(e.ns_st_lpa),X=parseInt(e.ns_st_pc),Z=parseInt(e.ns_st_skc),G=parseInt(e.ns_st_bc),W=parseInt(e.ns_st_skt),q=parseInt(e.ns_st_ska),ae.Gr(0)},Kr:function(e){_=parseInt(e.ns_st_pt),R=parseInt(e.ns_st_upc),M=parseInt(e.ns_st_upa)},qr:function(){return ae.kr("ns_st_vt")},Hr:function(e){ae.Cr("ns_st_vt",e+"")},Yr:function(){return ae.kr("ns_st_at")},Jr:function(e){ae.Cr("ns_st_at",e+"")},zr:function(){return ae.kr("ns_st_tt")},Qr:function(e){ae.Cr("ns_st_tt",e+"")},Xr:function(){return ae.kr("ns_st_cdn")},Zr:function(e){ae.Cr("ns_st_cdn",e+"")},$r:function(){return C},no:function(e){C=e},to:function(){return O},eo:function(){$++},io:function(){J++},ro:function(){ne++},oo:function(){return ne},Or:function(){return x},uo:function(e){x=e},so:function(e){if(!isNaN(k)){var t=ae.Or();t+=e-k,ae.uo(t),k=NaN}},ao:function(e){w=parseInt(e)},fo:function(){return w},co:function(e){isNaN(w)||isNaN(e)||(C=a.Wr(C,se<0?e:w,se<0?w:e,ue),O=a.Wr(O,se<0?e:w,se<0?w:e,ue),w=NaN)},Mr:function(){return m},lo:function(e){m=e},po:function(e){if(!isNaN(E)){var t=ae.Mr();t+=e-E,ae.lo(t),E=NaN}},vo:function(){return E},do:function(e){E=e},ho:function(e){isNaN(p)||(d+=e-p,p=NaN)},Rr:function(){return d},_o:function(e){var t=g+I-A;return!f&&isNaN(p)||(t+=Math.floor((e-v)*se/100)),t},mo:function(e,t){return f?g-e+Math.floor((t-v)*se/100)+I:0},wo:function(e,t){g=e,v=t},yo:function(){return p},bo:function(e){p=e},Io:function(e){h=e},So:function(){return k},Po:function(e){k=e},Vr:function(){return $},Ao:function(e){$=e},xr:function(){return J},Co:function(e){J=e},ko:function(e){F=e},Eo:function(){return F},To:function(e){K=e},No:function(){return K},Lo:function(e){t=e},Do:function(){return t},Ro:function(e){n=e},Mo:function(){return n},Oo:function(e){j=e},Wo:function(){return j},Vo:function(e){if(!isNaN(j)){var t=ae.Br();t+=e-j,ae.xo(t),j=NaN}},Br:function(){return H},xo:function(e){H=e},Uo:function(e){Q=e},Bo:function(){return Q},Fo:function(e){Y=e},jo:function(){return Y},Go:function(e){z=e},Fr:function(){return z},Ko:function(e){var t,n=ae.Fr();n+=Math.abs(e-Y),ae.Go(n),Y==e?t=0:e<Y?t=-1:Y<e&&(t=1),ae.Gr(t),Y=0},qo:function(){return parseInt(ae.kr("ns_st_skd"))},Gr:function(e){ae.Cr("ns_st_skd",e+"")},Ho:function(){O=[],Z=J=q=z=W=H=y=m=B=M=D=ne=X=$=G=V=U=x=_=h=d=P=T=0},Yo:function(){ee++},Jo:function(){re++},zo:function(){te++},Qo:function(){return N},Xo:function(e){N=e},Zo:function(){return R},$o:function(e){R=e},nu:function(e){L=e},tu:function(){return L},eu:function(){O=[],B=M=D=0},iu:function(e){ee=e},ru:function(e){re=e},ou:function(e){te=e},uu:function(e){b=e},su:function(){return ee},au:function(){return re},fu:function(){return te},cu:function(){return b},Ur:function(){return V},lu:function(){V++},pu:function(){return U},vu:function(e){ie=e},du:function(){ie++},hu:function(){return ie},_u:function(){return oe},gu:function(e){oe=e},mu:function(e){l=!!e},wu:function(){return l},yu:function(){return se},bu:function(e){se=e},Iu:function(e){se<0&&0<g-e?T+=g-e:0<se&&0<e-g&&(T+=e-g)},Su:function(e){S=e},Pu:function(){return S},Au:function(e){A=e},Cu:function(){return A},ku:function(e){I=e},Eu:function(e){f=e}}),(i={}).ns_st_cl="0",i.ns_st_pn="1",i.ns_st_tp="0",i.ns_st_cn="1",i.ns_st_skd="0",i.ns_st_ci="0",i.c3="*null",i.c4="*null",i.c6="*null",i.ns_st_st="*null",i.ns_st_pu="*null",i.ns_st_pr="*null",i.ns_st_ep="*null",i.ns_st_sn="*null",i.ns_st_en="*null",i.ns_st_ct="*null",t=n=!(c={}),e=o.D,f=!(l=!0),C=[],j=k=w=E=p=NaN,re=ie=ne=te=ee=Z=J=X=$=q=z=W=H=Q=Y=G=V=U=x=B=M=D=L=R=N=P=T=I=A=S=_=y=b=m=h=g=d=0,oe=K=F=!(O=[]),se=100}var r=e(24),o=e(17),s=e(21),a=e(68),u=e(23);i.Tu=function(e,t,n){for(var i=e.getLabels(),r={},o=0;n&&o<n.length;++o)i.hasOwnProperty(n[o])&&(r[n[o]]=i[n[o]]);t.setLabels(r),t.setPlaybackIntervalMergeTolerance(e.getPlaybackIntervalMergeTolerance())},t.exports=i},{17:17,21:21,23:23,24:24,68:68}],55:[function(e,t,n){t.exports={PAGE_NAME_LABEL:"name",HASH_LABELS:["ns_st_st","ns_st_ci","ns_st_pr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_ty","ns_st_ct","ns_st_li","ns_st_ad","ns_st_bn","ns_st_tb","ns_st_an","ns_st_ta","ns_st_pu","c3","c4","c6"]}},{}],56:[function(e,t,n){var i=e(73),r=e(74),o=e(76),s=e(77),a=e(69),u=e(71),c=e(72),l=e(70),f=e(75),d=e(78),p=e(79),h=e(80),_=e(81),g=e(55),v=e(68),m=e(65),E=e(20),y=e(24),b=e(19),S=e(82),A=e(62),I=e(63),T=e(58).Nu,P=e(58).Lu,C=e(58).Du,O=e(61),w=e(60),N=e(59),R=e(18),L=e(66),D=e(17),M=e(2),B="undefined",x="6.2.3.180328";t.exports=function(e){function t(e){var t=V.Mu().Ru();if(t==T.IDLE||t==T.PLAYBACK_NOT_STARTED||t==T.BUFFERING_BEFORE_PLAYBACK||t==T.SEEKING_BEFORE_PLAYBACK){if(e==P.PLAY)return!0}else if(t==T.PLAYING){if(e==P.END||e==P.AD_SKIP||e==P.SEEK_START||e==P.PAUSE)return!0}else if(t==T.PAUSED||t==T.BUFFERING_DURING_PAUSE||t==T.SEEKING_DURING_PLAYBACK||t==T.SEEKING_DURING_BUFFERING||t==T.SEEKING_DURING_PAUSE){if(e==P.END||e==P.AD_SKIP||e==P.PLAY)return!0}else if(t==T.BUFFERING_DURING_PLAYBACK){if(e==P.PAUSE_ON_BUFFERING||e==P.END||e==P.AD_SKIP||e==P.SEEK_START||e==P.PAUSE||e==P.PLAY)return!0}else if(t==T.BUFFERING_DURING_SEEKING){if(e==P.END||e==P.AD_SKIP||e==P.PAUSE||e==P.PLAY)return!0}else if(t==T.PAUSED_DURING_BUFFERING&&(e==P.END||e==P.AD_SKIP||e==P.BUFFER_STOP||e==P.PLAY))return!0;return!1}function n(){Ee||(Ee=!0,S.Ou(k))}function k(e){fe=e,ye=!0}function U(){var e={},t=v.Wu(e);de.Vu(P.END,t,e)}var V,G,F,j,H,W,Y,K,z,q,Q,$,X,J,Z,ee,te,ne,ie,re,oe,se,ae,ue,ce,le,fe,de=this,pe={},he=500,_e=500,ge={},ve=!1,me=!0,Ee=!1,ye=!1;y.extend(de,{getConfiguration:function(){return e||{}},Dr:function(e,t,n){var i=V.getPlaybackSession(),r=i.getAsset(),o=!1;if(e==P.HEARTBEAT){var s=isNaN(ne)?te:ne;((ne=n)<s||ye)&&(ye=!(o=!0),n<s?(i.xu("1"),V.Uu().$t("System clock jump detected","to the far past")):fe?(i.xu("3"),V.Uu().$t("System clock jump detected","to the future")):(i.xu("2"),V.Uu().$t("System clock jump detected","to the near past")),n=s)}var a={};if(ve&&(a.c2=ce),typeof document!=B){var u=document;a.c7=u.URL,a.c8=u.title,a.c9=u.referrer}a.ns_ts=+new Date+"",a.ns_st_ev=P.toString(e),a.ns_st_mp="js_api",a.ns_st_mv=x,a.ns_st_ub="0",a.ns_st_br="0",a.ns_st_pn="1",a.ns_st_tp="0",a.ns_st_it=C.toString(C.Bu),a.ns_st_sv=x,a.ns_st_smv="5.10",a.ns_type="hidden",a.ns_st_ec=V.ju().Fu()+"",a.ns_st_ki=V.S().Gu()+"",t.ns_st_po?a.ns_st_po=t.ns_st_po+"":r.wu()?a.ns_st_po=r._o(n)+"":a.ns_st_po=le+"",le=parseInt(a.ns_st_po),i.Dr(a,n),i.getAsset().Dr(a,n,e==P.HEARTBEAT);var c={};return y.extend(c,ge),y.extend(c,i.getLabels()),y.extend(c,i.getAsset().getLabels()),y.extend(c,t),o&&(r.wo(le,ne),i.bo(ne-parseInt(a.ns_st_dpt)),r.bo(ne-parseInt(a.ns_st_dpt)),r.do(ne-parseInt(a.ns_st_det))),{Wt:e,Ut:a,Ku:c}},Vu:function(i,r,o,s){de.qu();var a=V.Mu().Ru(),u=V.Mu().Hu(i);if(null!=u&&u!=a)if(!de.isThrottlingEnabled()||a!=T.PLAYING&&a!=T.PAUSED||u!=T.PLAYING&&u!=T.PAUSED||s){var c,l;e.systemClockJumpDetection&&(u==T.IDLE?(S.Yu(k),Ee=!1):a==T.IDLE&&n()),me&&v.Ju(a)&&!v.Ju(u)?A.zu(U):me&&!v.Ju(a)&&v.Ju(u)&&A.Qu(U);var f=V.getPlaybackSession(),d=f.getAsset(),p=isNaN(ne)?te:ne,h=!1;((ne=r)<p||ye)&&(ye=!(h=!0),r<p?(f.xu("1"),V.Uu().$t("System clock jump detected","to the far past")):fe?(f.xu("3"),V.Uu().$t("System clock jump detected","to the future")):(f.xu("2"),V.Uu().$t("System clock jump detected","to the near past")),r=p),o.ns_st_po?V.Mu().Ru()==T.IDLE?d.Au(d.Pu()-parseInt(o.ns_st_po)):d.Au(d.mo(parseInt(o.ns_st_po),r)):d.wu()?V.Mu().Ru()==T.IDLE?o.ns_st_po=d.Pu()-d.Cu()+"":o.ns_st_po=d._o(r)+"":o.ns_st_po=le+"";var _,g,m,E,y=parseInt(o.ns_st_po);le=y,_=i,g=r,m=o,E=V.Mu().Ru(),_==P.AD_SKIP&&!m.hasOwnProperty("ns_st_ui")&&t(_)?m.ns_st_ui="skip":_==P.SEEK_START&&!m.hasOwnProperty("ns_st_ui")&&t(_)&&(m.ns_st_ui="seek"),E==T.IDLE?_==P.BUFFER?G.Xu(g,m):_==P.SEEK_START?G.Zu(g,m):_==P.PLAY&&G.$u(g,m):E==T.PLAYBACK_NOT_STARTED?_==P.END||_==P.AD_SKIP?j.ns(g,m):_==P.SEEK_START?j.Zu(g,m):_==P.PLAY?j.$u(g,m):_==P.BUFFER&&j.Xu(g,m):E==T.PLAYING?_==P.END||_==P.AD_SKIP?H.ns(g,m):_==P.BUFFER?H.Xu(g,m):_==P.SEEK_START?H.Zu(g,m):_==P.PAUSE&&H.ts(g,m):E==T.PAUSED?_==P.END||_==P.AD_SKIP?F.ns(g,m):_==P.PLAY?F.$u(g,m):_==P.BUFFER?J.es(g,m):_==P.SEEK_START&&J.rs(g,m):E==T.BUFFERING_BEFORE_PLAYBACK?_==P.END||_==P.AD_SKIP?W.ns(g,m):_==P.BUFFER_STOP?W.os(g,m):_==P.SEEK_START?W.Zu(g,m):_==P.PAUSE?W.ts(g,m):_==P.PLAY&&W.$u(g,m):E==T.BUFFERING_DURING_PLAYBACK?_==P.PAUSE_ON_BUFFERING?Y.us(g,m):_==P.BUFFER_STOP?J.ss(g,m):_==P.END||_==P.AD_SKIP?Y.ns(g,m):_==P.SEEK_START?Y.Zu(g,m):_==P.PAUSE?Y.ts(g,m):_==P.PLAY&&J.ss(g,m):E==T.BUFFERING_DURING_SEEKING?_==P.END||_==P.AD_SKIP?K.ns(g,m):_==P.PAUSE?K.ts(g,m):_==P.PLAY?K.$u(g,m):_==P.BUFFER_STOP&&J.as(g,m):E==T.BUFFERING_DURING_PAUSE?_==P.END||_==P.AD_SKIP?z.fs(g,m):_==P.PAUSE?z.ts(g,m):_==P.PLAY?z.$u(g,m):_==P.SEEK_START?J.rs(g,m):_==P.BUFFER_STOP&&J.as(g,m):E==T.SEEKING_BEFORE_PLAYBACK?_==P.END||_==P.AD_SKIP?Q.ns(g,m):_==P.PAUSE?Q.ts(g,m):_==P.PLAY?Q.$u(g,m):_==P.BUFFER&&J.es(g,m):E==T.SEEKING_DURING_PLAYBACK?_==P.END||_==P.AD_SKIP?X.ns(g,m):_==P.PLAY?X.$u(g,m):_==P.BUFFER?J.es(g,m):_==P.PAUSE&&J.cs(g,m):E==T.SEEKING_DURING_BUFFERING?_==P.PAUSE?$.ts(g,m):_==P.BUFFER?J.es(g,m):_==P.PLAY?J.ls(g,m):_==P.END||_==P.AD_SKIP?J.ps(g,m):_==P.BUFFER_STOP&&J.vs(g,m):E==T.PAUSED_DURING_BUFFERING?_==P.END||_==P.AD_SKIP?q.ns(g,m):_==P.BUFFER_STOP?q.ds(g,m):_==P.SEEK_START?q.Zu(g,m):_==P.PAUSE?q.ts(g,m):_==P.PLAY&&q.ds(g,m):E==T.SEEKING_DURING_PAUSE&&(_==P.BUFFER?J.es(g,m):_==P.PLAY?J.ls(g,m):_==P.PAUSE?J.cs(g,m):_==P.END||_==P.AD_SKIP?J.ps(g,m):_==P.BUFFER_STOP&&J.vs(g,m)),t(_)&&V.getPlaybackSession().hs(!0),d.wo(y,r),d.ku(d.Cu());var b=0;isNaN(V.Mu()._s())||(b=r-V.Mu()._s()),V.Mu().Vu(i,r),h&&(d.wo(y,ne),u!=T.IDLE&&u!=T.PLAYBACK_NOT_STARTED&&u!=T.SEEKING_BEFORE_PLAYBACK&&u!=T.BUFFERING_BEFORE_PLAYBACK&&d.do(ne),u!=T.BUFFERING_BEFORE_PLAYBACK&&u!=T.BUFFERING_DURING_PAUSE&&u!=T.BUFFERING_DURING_PLAYBACK&&u!=T.BUFFERING_DURING_SEEKING&&u!=T.PAUSED_DURING_BUFFERING||(f.Po(ne),d.Po(ne)),u==T.PLAYING&&(f.bo(ne),d.bo(ne)),u!=T.SEEKING_BEFORE_PLAYBACK&&u!=T.SEEKING_DURING_BUFFERING&&u!=T.SEEKING_DURING_PAUSE&&u!=T.SEEKING_DURING_PLAYBACK&&u!=T.BUFFERING_DURING_SEEKING||d.Oo(ne)),V.Uu().log("Transition from",v.gs(a),"to",v.gs(u),"due to event:",P.toString(i));for(var I=0,C=ae.length;I<C;I++)ae[I](a,u,o,b)}else{V.Uu().$t("Throttled event:",P.toString(i),"during state",v.gs(a),o,de.getThrottlingDelay(),"ms");var O=(c=i,l=o,function(){de.Vu(c,r,l,!0)});se=de.getPlatformAPI().setTimeout(O,de.getThrottlingDelay())}else V.Uu().$t("Ignored event:",P.toString(i),"during state",v.gs(a),o)},ms:function(e,t,n){var i=V.Mu().Ru();if(e!=P.LOAD&&e!=P.ENGAGE||i==T.IDLE){e==P.ERROR&&null==n.ns_st_er&&(n.ns_st_er=D.D),e==P.TRANSFER&&null==n.ns_st_rp&&(n.ns_st_rp=D.D);var r,o,s,a,u=!0,c=!1;switch(e){case P.BIT_RATE:r="ns_st_br",o="ns_st_pbr";break;case P.PLAYBACK_RATE:r="ns_st_rt",o="ns_st_prt";break;case P.VOLUME:r="ns_st_vo",o="ns_st_pvo";break;case P.WINDOW_STATE:r="ns_st_ws",o="ns_st_pws";break;case P.AUDIO:r="ns_st_at",o="ns_st_pat";break;case P.VIDEO:r="ns_st_vt",o="ns_st_pvt";break;case P.SUBS:r="ns_st_tt",o="ns_st_ptt";break;case P.CDN:r="ns_st_cdn",o="ns_st_pcdn";break;default:u=!1}var l=V.getPlaybackSession(),f=l.getAsset();if(u&&r in n)switch(a=n[r],e){case P.BIT_RATE:case P.VOLUME:case P.WINDOW_STATE:r in ge&&(s=ge[r],c=a==(n[o]=s)+""),ge[r]=n[r];break;case P.AUDIO:case P.VIDEO:case P.SUBS:case P.CDN:f.Er(r)&&(s=f.kr(r),c=a==(n[o]=s)+""),f.Cr(r,n[r]);break;case P.PLAYBACK_RATE:s=f.yu(),n[o]=s+""}if(u&&i!=T.PLAYING&&i!=T.BUFFERING_DURING_PLAYBACK||u&&c)return e==P.PLAYBACK_RATE&&f.bu(parseInt(n.ns_st_rt)),void V.Uu().$t("No measurement send for the pseudo-event:",P.toString(e),"during state",v.gs(i),n);var d=isNaN(ne)?te:ne,p=!1;((ne=t)<d||ye)&&(ye=!(p=!0),t<d?(l.xu("1"),V.Uu().$t("System clock jump detected","to the far past")):fe?(l.xu("3"),V.Uu().$t("System clock jump detected","to the future")):(l.xu("2"),V.Uu().$t("System clock jump detected","to the near past")),t=d),n.ns_st_po?f.Au(f.mo(parseInt(n.ns_st_po),t)):f.wu()?n.ns_st_po=f._o(t)+"":n.ns_st_po=le+"";var h=parseInt(n.ns_st_po);le=h,V.getPlaybackSession().getAsset().wo(h,t),f.ku(f.Cu()),i!=T.IDLE&&i!=T.PLAYBACK_NOT_STARTED&&i!=T.SEEKING_BEFORE_PLAYBACK&&i!=T.BUFFERING_BEFORE_PLAYBACK&&(f.po(t),f.do(t)),i==T.PLAYING&&(l.ho(t),l.bo(t),f.ho(t),f.bo(t),f.Iu(h),f.co(parseInt(n.ns_st_po)),f.ao(parseInt(n.ns_st_po))),i!=T.BUFFERING_BEFORE_PLAYBACK&&i!=T.BUFFERING_DURING_PAUSE&&i!=T.BUFFERING_DURING_PLAYBACK&&i!=T.BUFFERING_DURING_SEEKING||(l.so(t),l.Po(t),f.so(t),f.Po(t));var _=de.Dr(e,n,t);f.jr(_.Ut),f.Kr(_.Ut),V.ju().Vu(_),e==P.PLAYBACK_RATE&&f.bu(parseInt(n.ns_st_rt)),p&&(f.wo(h,ne),i==T.PLAYING&&(l.bo(ne),f.bo(ne)),i!=T.IDLE&&i!=T.PLAYBACK_NOT_STARTED&&i!=T.SEEKING_BEFORE_PLAYBACK&&i!=T.BUFFERING_BEFORE_PLAYBACK&&f.do(ne),i!=T.BUFFERING_BEFORE_PLAYBACK&&i!=T.BUFFERING_DURING_PAUSE&&i!=T.BUFFERING_DURING_PLAYBACK&&i!=T.BUFFERING_DURING_SEEKING&&i!=T.PAUSED_DURING_BUFFERING||(l.Po(ne),f.Po(ne)),i!=T.SEEKING_BEFORE_PLAYBACK&&i!=T.SEEKING_DURING_BUFFERING&&i!=T.SEEKING_DURING_PAUSE&&i!=T.SEEKING_DURING_PLAYBACK&&i!=T.BUFFERING_DURING_SEEKING||f.Oo(ne))}else V.Uu().$t("Ignored pseudo-event:",P.toString(e),"during state",v.gs(i),n)},getState:function(){return V.Mu().Ru()},addListener:function(e){ae.push(e)},removeListener:function(e){ae.splice(b.indexOf(e,ae),1)},getLabel:function(e){return ge[e]},getLabels:function(){return ge},setLabel:function(e,t){null==t?delete ge[e]:ge[e]=t},setLabels:function(e){for(var t in e)e.hasOwnProperty(t)&&de.setLabel(t,e[t])},getPlatformAPI:function(){return V.ws().getPlatformAPI()},ys:function(){return pe},isProperlyInitialized:function(){var e=V.ws().Wn(),t=V.ws().g(),n=V.ws().getPixelURL();return e&&n&&t},setThrottlingDelay:function(e){_e=e},getThrottlingDelay:function(){return _e},isThrottlingEnabled:function(){return oe},setThrottlingEnabled:function(e){oe=e},bs:function(){return Z},Is:function(e){Z=e},getLoadTimeOffset:function(){return ee},setLoadTimeOffset:function(e){ee=e},Ss:function(){return te},setPauseOnBufferingInterval:function(e){he=e},getPauseOnBufferingInterval:function(){return he},isPauseOnBufferingEnabled:function(){return ie},setPauseOnBufferingEnabled:function(e){ie=e},setExitEndEventEnabled:function(e){if(me!=e){var t=V.Mu().Ru();e||v.Ju(t)?e&&!v.Ju(t)&&A.zu(U):A.Qu(U)}me=e},isExitEndEventEnabled:function(){return me},Ps:function(e,t){de.As(),re=de.getPlatformAPI().setTimeout(function(){var e={},n=v.Wu(e),i=parseInt(t.ns_st_po);e.ns_st_po=i+"",de.Vu(P.PAUSE_ON_BUFFERING,n,e)},he)},As:function(){null!=re&&(de.getPlatformAPI().clearTimeout(re),re=null)},qu:function(){se&&(de.getPlatformAPI().clearTimeout(se),se=null)},setLiveEndpointURL:function(e){if(null==e||0==e.length)return null;var t=decodeURIComponent||unescape,n=e.indexOf("?");if(0<=n){if(n<e.length-1){for(var i=e.substring(n+1).split("&"),r=0,o=i.length;r<o;r++){var s=i[r].split("=");2==s.length?de.setLabel(s[0],t(s[1])):1==s.length&&de.setLabel(g.PAGE_NAME_LABEL,t(s[0]))}e=e.substring(0,n+1)}}else e+="?";return ue=e},getLiveEndpointURL:function(){return ue||(typeof ns_p!==B&&"string"==typeof ns_p.src?ue=ns_p.src.replace(/&amp;/,"&").replace(/&ns__t=\d+/,""):"string"==typeof ns_pixelUrl?ue=ns_pixelUrl.replace(/&amp;/,"&").replace(/&ns__t=\d+/,""):null)},Cs:function(){return V},ks:function(e){var t=V.getPlaybackSession();V.Es(new I(V)),I.ks(V,t,e)},Ts:function(){V.Ns().pause();var e=V.Ns().Ls();V.Ds(new w(V)),V.Ns().Rs(e)},getVersion:function(){return x}}),function(){if((V=new m(de)).Ms(M.getCore()),V.Os(new O(V)),V.Ds(new w(V)),V.Ws(new N(V)),V.Vs(new L),V.xs(new R("STA",e.debug)),V.Es(new I(V)),G=new i(V),F=new r(V),j=new o(V),H=new s(V),W=new a(V),Y=new u(V),K=new c(V),z=new l(V),q=new f(V),Q=new d(V),$=new p(V),X=new h(V),J=new _(V),Z=!1,ee=0,te=+new Date,oe=!(ie=!0),ae=[],e.publisherId){ve=!0,ce=e.publisherId+"";var t=(("secure"in e?e.secure:V.ws()&&V.ws().isProperlyInitialized()?V.ws().isSecure():v.fe()&&E.ce())?"https://web.archive.org/web/20211103195646/https://sb":"http://b")+".scorecardresearch.com/p?c1=2";de.setLiveEndpointURL(t)}e.liveEndpointURL&&de.setLiveEndpointURL(e.liveEndpointURL),e.systemClockJumpDetection&&(S.setPlatformAPI(de.getPlatformAPI()),e.systemClockJumpDetectionInterval?S.Us(parseInt(e.systemClockJumpDetectionInterval),!0):S.Us(),e.systemClockJumpDetectionPrecision?S.Bs(parseInt(e.systemClockJumpDetectionPrecision),!0):S.Bs(),n())}()}},{17:17,18:18,19:19,2:2,20:20,24:24,55:55,58:58,59:59,60:60,61:61,62:62,63:63,65:65,66:66,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82}],57:[function(e,t,n){var i,r,o=e(20),s=e(4),a="undefined";r=o.fe()?(i=window,document):(i={},{location:{href:""},title:"",URL:"",referrer:"",cookie:""}),t.exports=function(e,t){for(var n,u=i.encodeURIComponent||escape,c=[],l=s.k,f=e.split("?"),d=f[0],p=f[1].split("&"),h=0,_=p.length;h<_;h++){var g=p[h].split("="),v=unescape(g[0]),m=unescape(g[1]);v&&(t[v]=m)}for(var E={},y=0,b=l.length;y<b;y++){var S=l[y];if(t.hasOwnProperty(S)){var A=t[S];typeof A!==a&&null!=A&&(E[S]=!0,c.push(u(S)+"="+u(t[S])))}}for(var I in t)if(t.hasOwnProperty(I)){if(E[I])continue;var T=t[I];typeof T!==a&&null!=T&&c.push(u(I)+"="+u(t[I]))}n=(n=d+"?"+c.join("&"))+(n.indexOf("&c8=")<0?"&c8="+u(r.title):"")+(n.indexOf("&c7=")<0?"&c7="+u(r.URL):"")+(n.indexOf("&c9=")<0?"&c9="+u(r.referrer):"");var P=o.Jt()?s.A:s.P;if(n.length>P&&0<n.indexOf("&")){var C=n.substr(0,P-8).lastIndexOf("&");n=(n.substring(0,C)+"&ns_cut="+u(n.substring(C+1))).substr(0,P)}return n}},{20:20,4:4}],58:[function(e,t,n){var i,r,o=(i=["play","pause","pause-on-buffering","end","buffer","buffer-stop","keep-alive","hb","custom","load","start","skstart","adskip","cta","error","trans","drmfa","drmap","drmde","bitrt","playrt","volume","window","audio","video","subs","cdn"],{PLAY:0,PAUSE:1,PAUSE_ON_BUFFERING:2,END:3,BUFFER:4,BUFFER_STOP:5,KEEPALIVE:6,HEARTBEAT:7,CUSTOM:8,LOAD:9,ENGAGE:10,SEEK_START:11,AD_SKIP:12,CTA:13,ERROR:14,TRANSFER:15,DRM_FAILED:16,DRM_APPROVED:17,DRM_DENIED:18,BIT_RATE:19,PLAYBACK_RATE:20,VOLUME:21,WINDOW_STATE:22,AUDIO:23,VIDEO:24,SUBS:25,CDN:26,toString:function(e){return i[e]}}),s=(r=["c","s","r"],{Bu:0,Fs:1,js:2,toString:function(e){return r[e]}});t.exports.Lu=o,t.exports.Nu={IDLE:0,PLAYBACK_NOT_STARTED:1,PLAYING:2,PAUSED:3,BUFFERING_BEFORE_PLAYBACK:4,BUFFERING_DURING_PLAYBACK:5,BUFFERING_DURING_SEEKING:6,BUFFERING_DURING_PAUSE:7,SEEKING_BEFORE_PLAYBACK:8,SEEKING_DURING_PLAYBACK:9,SEEKING_DURING_BUFFERING:10,SEEKING_DURING_PAUSE:11,PAUSED_DURING_BUFFERING:12},t.exports.Du=s},{}],59:[function(e,t,n){var i=e(24),r=e(57),o=e(58).Lu;t.exports=function(e){var t,n,s=this,a=[];i.extend(this,{Vu:function(t){for(var u=i.extend({},t.Ut,t.Ku),c=0;c<a.length;++c)a[c](u);!function(t){n=i.extend({},t);var o=e.Gs().getLiveEndpointURL();e.Gs().isProperlyInitialized()?e.ws().nt(t,o):o&&e.Gs().getPlatformAPI().httpGet(r(o,t))}(u),t.Wt!=o.HEARTBEAT&&s.Ks()},addMeasurementListener:function(e){"function"==typeof e&&a.push(e)},removeMeasurementListener:function(e){for(var t=NaN,n=0;n<a.length;++n)if(a[n]==e){t=n;break}isNaN(t)||a.splice(t,1)},Fu:function(){return t},Ks:function(){t++},qs:function(e){t=e},Hs:function(){return n}}),t=1}},{24:24,57:57,58:58}],60:[function(e,t,n){var i=e(58).Lu,r=e(68),o=e(24),s=[{Ys:6e4,interval:1e4},{Ys:null,interval:6e4}];t.exports=function(e){function t(){c++;var t={},n=r.Wu(t);t.ns_st_hc=e.Ns().Js()+"";var o=e.Gs().Dr(i.HEARTBEAT,t,n);e.getPlaybackSession().getAsset().Kr(o.Ut),e.ju().Vu(o),u=0,l.resume()}function n(){null!=a&&(e.Gs().getPlatformAPI().clearTimeout(a),a=null)}var a,u,c,l=this,f=s;o.extend(this,{Js:function(){return c},Rs:function(e){f=e},Gu:function(e){var t=0;if(null!=f)for(var n=0;n<f.length;n++){var i=f[n],r=i.Ys;if(!r||e<r){t=i.interval;break}}return t},Ls:function(){return f},resume:function(){n();var i=l.Gu(e.getPlaybackSession().getAsset().Rr()+(+new Date-e.getPlaybackSession().getAsset().yo()));if(0<i){var r=0<u?u:i;a=e.Gs().getPlatformAPI().setTimeout(t,r)}u=0},pause:function(){n();var t=l.Gu(e.getPlaybackSession().getAsset().Rr()+(+new Date-e.getPlaybackSession().getAsset().yo()));u=t-(e.getPlaybackSession().getAsset().Rr()+(+new Date-e.getPlaybackSession().getAsset().yo()))%t}}),c=u=0}},{24:24,58:58,68:68}],61:[function(e,t,n){var i=e(58).Lu,r=e(24),o=e(68);t.exports=function(e){function t(){var t={},n=o.Wu(t);e.Gs().ms(i.KEEPALIVE,n,t),a.start()}function n(){null!=s&&(e.Gs().getPlatformAPI().clearTimeout(s),s=null)}var s,a=this,u=12e5;r.extend(a,{start:function(){n(),s=e.Gs().getPlatformAPI().setTimeout(t,u)},stop:n,setInterval:function(e){u=e},Gu:function(){return u}})}},{24:24,58:58,68:68}],62:[function(e,t,n){function i(){for(var e=0;e<o.length;++e)o[e]()}var r=e(20),o=[],s=!1;t.exports={zu:function(e){o.push(e),s||r.fe()&&(window.addEventListener?(window.addEventListener("unload",i,!1),s=!0):window.attachEvent&&(window.attachEvent("onunload",i),s=!0))},Qu:function(e){for(var t=0;t<o.length;++t)if(o[t]==e){o.splice(t,1);break}0==o.length&&r.fe()&&(window.removeEventListener?(window.removeEventListener("unload",i,!1),s=!1):window.detachEvent&&(window.detachEvent("onunload",i),s=!1))}}},{20:20}],63:[function(e,t,n){function i(e){var t,n,i,f,d,p,h,_,g,v,m,E,y,b,S,A,I=this;r.extend(this,{Tu:function(){var e=t;t=new o,o.Tu(e,t)},zs:function(e){return null!=_[e]},Qs:function(e){_[e]={}},Xs:function(e){delete _[e]},Zs:function(){for(var e in _)if(_.hasOwnProperty(e)&&_[e].$s===t.Tr()){r.extend(_[e],{na:t.su(),ta:t.au(),ea:t.fu(),ia:t.cu(),seeking:t.Eo(),ra:t.Bo(),oa:t.jo(),ua:t.$r(),sa:t.qr(),aa:t.Yr(),fa:t.zr(),ca:t.Xr(),la:t.hu(),pa:t.Qo(),va:t.Zo(),da:t.tu()});break}},ha:function(e){return _[e]},Tr:function(e){return _[e].$s},_a:function(){return g},ga:function(e,t){_[e].$s=t,g<t&&(g=t)},setLabels:function(e){null!=e&&r.extend(p,e)},getLabels:function(){return p},setLabel:function(e,t){var n={};n[e]=t,I.setLabels(n)},getLabel:function(e){return p[e]},getAsset:function(){return t},xu:function(e){for(var t=0;t<A.length;++t)if(A[t]==e)return;A.push(e)},Dr:function(e,n){var i=e,o=a.jt(i.ns_st_pa)?I.Rr():parseInt(i.ns_st_pa);i.ns_st_pa=o+(isNaN(f)?0:n-f)+"",i.ns_st_pp=y+"",i.ns_st_sp=b+"",i.ns_st_bp=S+"",v||(i.ns_st_pb=null!=i.ns_st_pb?i.ns_st_pb:"1"),t.Mo()&&(i.ns_st_ppc=m+"",i.ns_st_psq=E+""),0<A.length&&(i.ns_st_ie=(i.ns_st_ie?i.ns_st_ie+";":"")+A.join(";")),r.extend(i,d)},ro:function(){b++},eo:function(){y++},ho:function(e){if(!isNaN(f)){var t=I.Rr();t+=e-f,I.ma(t),f=NaN}},so:function(e){if(!isNaN(n)){var t=I.Or();t+=e-n,I.uo(t),n=NaN}},Or:function(){return S},uo:function(e){S=e},Rr:function(){return i},Po:function(e){n=e},So:function(){return n},ma:function(e){i=e},bo:function(e){f=e},yo:function(){return f},Vr:function(){return y},Ao:function(e){y=e},wa:function(){return h},ya:function(e){h=e},ba:function(){return m},Ia:function(){m++},hs:function(e){v=e},vu:function(e){E=e},du:function(){E++},Sa:function(){return d.ns_st_id},setAsset:function(t,n){e.Uu().Zt("setAsset",t,n),t=s.Pa(t);var i=e.Mu().Ru();if(i!=c.IDLE){e.Uu().$t("Ending the current Clip. It was in state:",s.gs(i));var r={};e.Gs().Vu(l.END,s.Wu(r),r)}var o="",f=0;if(null!=t.ns_st_cn)o=t.ns_st_cn;else for(var d=0;d<u.length;d++)t[u[d]]&&(o+=u[d]+":"+t[u[d]]+";");var p=I,h=p.getAsset();f=h.Do()?(p.zs(h.Pr())||(p.Qs(h.Pr()),p.ga(h.Pr(),h.Tr())),p.Zs(),p.zs(o)?p.Tr(o):a.tn(t.ns_st_cn)?parseInt(t.ns_st_cn):p._a()+1):p.zs(o)?p.Tr(o):h.Tr(),p.Tu(),(h=p.getAsset()).Ar(o),h.Nr(f),h.setLabels(t);var _=p.ha(o);_&&(h.Lo(!0),h.iu(_.na),h.ru(_.ta),h.ou(_.ea),h.uu(_.ia),h.ko(_.seeking),h.Uo(_.ra),h.Fo(_.oa),h.no(_.ua),_.sa&&h.Hr(_.sa),_.aa&&h.Jr(_.aa),_.fa&&h.Qr(_.fa),_.ca&&h.Zr(_.ca),h.vu(_.la),h.Xo(_.pa),h.$o(_.va),h.nu(_.da)),h.Jo(),h.Do()&&n&&p.ro(),n&&(p.vu(0),h.gu(!0)),!a.tn(t.ns_st_tp)&&a.tn(t.ns_st_ad)&&a.lt(t.ns_st_ad)&&"0"!==t.ns_st_ad&&h.Cr("ns_st_tp","1")}}),t=new o,(d={}).ns_st_id=+new Date+"",p={},f=n=NaN,v=h=!(_={}),b=1,S=E=y=m=g=i=0,A=[]}var r=e(24),o=e(54),s=e(68),a=e(21),u=e(55).HASH_LABELS,c=e(58).Nu,l=e(58).Lu;i.ks=function(e,t,n){for(var i=t.getAsset(),r=t.getLabels(),s={},a=0;n&&a<n.length;a++)r.hasOwnProperty(n[a])&&(s[n[a]]=r[n[a]]);e.getPlaybackSession().setLabels(s),o.Tu(i,e.getPlaybackSession().getAsset(),n)},t.exports=i},{21:21,24:24,54:54,55:55,58:58,68:68}],64:[function(e,t,n){var i={LongFormOnDemand:"12",ShortFormOnDemand:"11",Live:"13",UserGeneratedLongFormOnDemand:"22",UserGeneratedShortFormOnDemand:"21",UserGeneratedLive:"23",Bumper:"99",Other:"00"},r={LinearOnDemandPreRoll:"11",LinearOnDemandMidRoll:"12",LinearOnDemandPostRoll:"13",LinearLive:"21",BrandedOnDemandPreRoll:"31",BrandedOnDemandMidRoll:"32",BrandedOnDemandPostRoll:"33",BrandedOnDemandContent:"34",BrandedOnDemandLive:"35",Other:"00"},o=e(67),s=e(58).Nu,a=e(58).Du,u=e(55).HASH_LABELS,c=e(21),l=e(24),f=e(18),d=function(e){function t(e){g.getPlaybackSession().setAsset(e),p=e,g.notifyPlay()}function n(e){var t=e||{};t.ns_st_ad="1",t.ns_st_an=++h+"",g.getPlaybackSession().setAsset(t),g.notifyPlay(),_=!1}function d(e,n){m==v.Aa&&(m=n),_&&m==n&&function(e){for(var t in u)if(u.hasOwnProperty(t)&&(n=u[t],i=p,r=e,!(c.tn(n)&&c.tn(i)&&c.tn(r)&&(i.hasOwnProperty(n)&&r.hasOwnProperty(n)&&i[n]===r[n]||!i.hasOwnProperty(n)&&!r.hasOwnProperty(n)))))return!1;var n,i,r;return!0}(e)?(g.getPlaybackSession().getAsset().setLabels(e),g.getState()!=s.PLAYING&&g.notifyPlay()):t(e),_=!0,m=n}var p=null,h=0,_=!1,g=null,v={Aa:0,Ca:1,ka:2},m=v.Aa,E=new f("TTSTA",(e||{}).debug);l.extend(this,{playVideoAdvertisement:function(e,t){E.Zt("playVideoAdvertisement",e,t);var i={ns_st_ct:"va"};t?i.ns_st_ct="va"+t:E.warn("Calling 'playVideoAdvertisement' without specifying the media type as a second parameter."),t!=r.LinearLive&&t!=r.BrandedOnDemandLive||(i.ns_st_li="1"),e&&l.extend(i,e),n(i)},playAudioAdvertisement:function(e,t){E.Zt("playAudioAdvertisement",e,t);var i={ns_st_ct:"aa"};t?i.ns_st_ct="aa"+t:E.warn("Calling 'playAudioAdvertisement' without specifying the media type as a second parameter."),t!=r.LinearLive&&t!=r.BrandedOnDemandLive||(i.ns_st_li="1"),e&&l.extend(i,e),n(i)},playVideoContentPart:function(e,t){E.Zt("playVideoContentPart",e,t);var n={ns_st_ct:"vc"};t?n.ns_st_ct="vc"+t:E.warn("Calling 'playVideoContentPart' without specifying the media type as a second parameter."),t!=i.Live&&t!=i.UserGeneratedLive||(n.ns_st_li="1"),e&&l.extend(n,e),d(n,v.ka)},playAudioContentPart:function(e,t){E.Zt("playAudioContentPart",e,t);var n={ns_st_ct:"ac"};t?n.ns_st_ct="ac"+t:E.warn("Calling 'playAudioContentPart' without specifying the media type as a second parameter."),t!=i.Live&&t!=i.UserGeneratedLive||(n.ns_st_li="1"),e&&l.extend(n,e),d(n,v.Ca)},stop:function(){E.Zt("stop"),g.notifyPause()}}),(g=new o(e)).setLabel("ns_st_it",a.toString(a.js))};d.ContentType=i,d.AdType=r,t.exports=d},{18:18,21:21,24:24,55:55,58:58,67:67}],65:[function(e,t,n){var i=e(24);t.exports=function(e){var t,n,r,o,s,a,u;i.extend(this,{ws:function(){return t},Gs:function(){return e},ju:function(){return n},Mu:function(){return r},Ns:function(){return o},S:function(){return s},getPlaybackSession:function(){return a},Uu:function(){return u},Ms:function(e){t=e},Os:function(e){s=e},Ds:function(e){o=e},Ws:function(e){n=e},Vs:function(e){r=e},Es:function(e){a=e},xs:function(e){u=e}})}},{24:24}],66:[function(e,t,n){var i=e(58).Nu,r=e(24),o=e(58).Lu;t.exports=function(e){var t,n,s,a=this;r.extend(a,{Hu:function(e){if(s==i.IDLE){if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_BEFORE_PLAYBACK;if(e==o.BUFFER)return i.BUFFERING_BEFORE_PLAYBACK}else if(s==i.PLAYBACK_NOT_STARTED){if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_BEFORE_PLAYBACK;if(e==o.BUFFER)return i.BUFFERING_BEFORE_PLAYBACK;if(e==o.END||e==o.AD_SKIP)return i.IDLE}else if(s==i.PLAYING){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.BUFFER)return i.BUFFERING_DURING_PLAYBACK;if(e==o.PAUSE)return i.PAUSED;if(e==o.SEEK_START)return i.SEEKING_DURING_PLAYBACK}else if(s==i.PAUSED){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.BUFFER)return i.BUFFERING_DURING_PAUSE;if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_DURING_PAUSE}else if(s==i.BUFFERING_BEFORE_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PAUSE||e==o.BUFFER_STOP)return i.PLAYBACK_NOT_STARTED;if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_BEFORE_PLAYBACK}else if(s==i.BUFFERING_DURING_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY||e==o.BUFFER_STOP)return i.PLAYING;if(e==o.PAUSE_ON_BUFFERING)return i.PAUSED_DURING_BUFFERING;if(e==o.SEEK_START)return i.SEEKING_DURING_BUFFERING;if(e==o.PAUSE)return i.PAUSED}else if(s==i.BUFFERING_DURING_SEEKING){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.BUFFER_STOP)return i.SEEKING_DURING_PLAYBACK;if(e==o.PAUSE)return i.PAUSED}else if(s==i.BUFFERING_DURING_PAUSE){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_DURING_PAUSE;if(e==o.BUFFER_STOP||e==o.PAUSE)return i.PAUSED}else if(s==i.SEEKING_BEFORE_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PAUSE)return i.PLAYBACK_NOT_STARTED;if(e==o.PLAY)return i.PLAYING;if(e==o.BUFFER)return i.BUFFERING_BEFORE_PLAYBACK}else if(s==i.SEEKING_DURING_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.PAUSE)return i.PAUSED;if(e==o.BUFFER)return i.BUFFERING_DURING_SEEKING}else if(s==i.SEEKING_DURING_BUFFERING){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.PAUSE||e==o.BUFFER_STOP)return i.PAUSED;if(e==o.BUFFER)return i.BUFFERING_DURING_SEEKING}else if(s==i.SEEKING_DURING_PAUSE){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.PAUSE||e==o.BUFFER_STOP)return i.PAUSED;if(e==o.BUFFER)return i.BUFFERING_DURING_PAUSE}else if(s==i.PAUSED_DURING_BUFFERING){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.SEEK_START)return i.SEEKING_DURING_BUFFERING;if(e==o.PAUSE)return i.PAUSED;if(e==o.PLAY||e==o.BUFFER_STOP)return i.PLAYING}return null},Ru:function(){return s},Vu:function(e,i){var r=a.Hu(e);s!=r&&(n=s,s=r,t=i)},Ea:function(){return n},_s:function(){return t}}),s=i.IDLE,n=null,t=NaN}},{24:24,58:58}],67:[function(e,t,n){function i(e){function t(e,t,i){if(a.toString(e)){i=o.Pa(i);var r=o.Wu(i);i.ns_st_po||isNaN(t)||(i.ns_st_po=parseInt(t)+""),e==a.PLAY||e==a.PAUSE||e==a.BUFFER||e==a.END||e==a.SEEK_START||e==a.AD_SKIP||e==a.BUFFER_STOP?n.Vu(e,r,i):n.ms(e,r,i)}}var n,i=this;for(var l in r.extend(i,{isProperlyInitialized:function(){return n.isProperlyInitialized()},reset:function(e){t(a.END);var i=n;i.Cs().S().stop(),i.Cs().Ns().pause(),n=new s(i.getConfiguration()),c.ks(n.Cs(),i.Cs().getPlaybackSession(),e)},setPauseOnBufferingInterval:function(e){n.setPauseOnBufferingInterval(e)},getPauseOnBufferingInterval:function(){return n.getPauseOnBufferingInterval()},setKeepAliveInterval:function(e){n.Cs().S().setInterval(e)},getKeepAliveInterval:function(){return n.Cs().S().Gu()},setHeartbeatIntervals:function(e){n.Cs().Ns().Rs(e)},getLabels:function(){return n.getLabels()},getState:function(){return n.Cs().Mu().Ru()},setLabels:function(e){n.setLabels(e)},getLabel:function(e){return n.getLabel(e)},setLabel:function(e,t){n.setLabel(e,t)},getLoadTimeOffset:function(){return n.getLoadTimeOffset()},setLoadTimeOffset:function(e){n.setLoadTimeOffset(e)},setLiveEndpointURL:function(e){return n.setLiveEndpointURL(e)},getLiveEndpointURL:function(){return n.getLiveEndpointURL()},isPauseOnBufferingEnabled:function(){return n.isPauseOnBufferingEnabled()},setPauseOnBufferingEnabled:function(e){n.setPauseOnBufferingEnabled(e)},isThrottlingEnabled:function(){return n.isThrottlingEnabled()},setThrottlingEnabled:function(e){n.setThrottlingEnabled(e)},setThrottlingDelay:function(e){n.setThrottlingDelay(e)},getThrottlingDelay:function(){return n.getThrottlingDelay()},setPlaybackIntervalMergeTolerance:function(e){n.Cs().getPlaybackSession().getAsset().setPlaybackIntervalMergeTolerance(e)},getPlaybackIntervalMergeTolerance:function(){return n.Cs().getPlaybackSession().getAsset().getPlaybackIntervalMergeTolerance()},createPlaybackSession:function(e){n.Cs().Uu().Zt("createPlaybackSession",e),e=o.Pa(e);var t=n.Cs().Mu().Ru();t!=u.IDLE&&(n.Cs().Uu().$t("Ending the current Clip. It was in state:",o.gs(t)),i.notifyEnd()),n.Cs().getPlaybackSession().wa()&&n.ks(),n.Cs().getPlaybackSession().setLabels(e)},getVersion:function(){return n.getVersion()},addListener:function(e){n.addListener(e)},removeListener:function(e){n.removeListener(e)},addMeasurementListener:function(e){n.Cs().ju().addMeasurementListener(e)},removeMeasurementListener:function(e){n.Cs().ju().removeMeasurementListener(e)},getPlaybackSession:function(){return n.Cs().getPlaybackSession()},setExitEndEventEnabled:function(e){n.setExitEndEventEnabled(!!e)},isExitEndEventEnabled:function(){return n.isExitEndEventEnabled()},setDvrWindowLength:function(e){n.Cs().getPlaybackSession().getAsset().Su(e),n.Cs().getPlaybackSession().getAsset().Eu(!0)},setDvrWindowOffset:function(e){n.Cs().getPlaybackSession().getAsset().Au(e),n.Cs().getPlaybackSession().getAsset().Eu(!0)},getPlatformAPI:function(){return n.getPlatformAPI()},_getLogHistory:function(){return n.Cs().Uu().te()}}),f)!function(e,r){i[e]=function(i,o){n.Cs().Uu().Zt(e,i,o);var s={},a=NaN;"object"==typeof i?s=i:"object"==typeof o&&(s=o),"number"==typeof i?a=i:"number"==typeof o&&(a=o),t(r,a,s)}}(l,f[l]);for(var p in d)!function(e,r,o){i[e]=function(i,s,a){if(n.Cs().Uu().Zt(e,i,s,a),null!=i){var u={},c=NaN;"object"==typeof s?u=s:"object"==typeof a&&(u=a),"number"==typeof s?c=s:"number"==typeof a&&(c=a),u[o]=i+"",t(r,c,u)}}}(p,d[p][0],d[p][1]);e=r.extend({},e),(n=new s(e)).Cs().Uu().log("New StreamingAnalytics instance with configuration",e)}var r=e(24),o=e(68),s=e(56),a=e(58).Lu,u=e(58).Nu,c=e(63),l=e(55),f={notifyPlay:a.PLAY,notifyPause:a.PAUSE,notifyEnd:a.END,notifyBufferStart:a.BUFFER,notifyBufferStop:a.BUFFER_STOP,notifyLoad:a.LOAD,notifyEngage:a.ENGAGE,notifySeekStart:a.SEEK_START,notifySkipAd:a.AD_SKIP,notifyCallToAction:a.CTA,notifyError:a.ERROR,notifyTransferPlayback:a.TRANSFER,notifyDrmFail:a.DRM_FAILED,notifyDrmApprove:a.DRM_APPROVED,notifyDrmDeny:a.DRM_DENIED,notifyCustomEvent:a.CUSTOM},d={notifyChangeBitrate:[a.BIT_RATE,"ns_st_br"],notifyChangePlaybackRate:[a.PLAYBACK_RATE,"ns_st_rt"],notifyChangeVolume:[a.VOLUME,"ns_st_vo"],notifyChangeWindowState:[a.WINDOW_STATE,"ns_st_ws"],notifyChangeAudioTrack:[a.AUDIO,"ns_st_at"],notifyChangeVideoTrack:[a.VIDEO,"ns_st_vt"],notifyChangeSubtitleTrack:[a.SUBS,"ns_st_tt"],notifyChangeCdn:[a.CDN,"ns_st_cdn"]};i.PlayerEvents=a,i.InternalStates=u,i.Constants=l,t.exports=i},{24:24,55:55,56:56,58:58,63:63,68:68}],68:[function(e,t,n){var i=e(23),r=e(58).Nu;n.Pa=function(e){var t={};for(var n in e){var i=e[n];t[n]=null==i?i:e[n]+""}return t},n.Ta=function(e,t){var n,i=[];for(n in e)t&&!t.test(n)||!e.hasOwnProperty(n)||(i[i.length]=n);return i},n.Wu=function(e){if(e.ns_ts)return parseInt(e.ns_ts);var t=+new Date;return e.ns_ts=t+"",t},n.fe=function(){return"undefined"!=typeof window&&"undefined"!=typeof document},n.Wr=function(e,t,n,r){var o,s,a={};if(!(t<=n))return i(e);if(a.start=t,a.end=n,0==e.length)return e.push(a),i(e);for(o=0;o<e.length;o++)if(a.start>=e[o].start&&a.end<=e[o].end)return i(e);var u=!1;for(s=0;s<e.length;s++)if(s+1===e.length&&a.start>=e[s].start||a.start>=e[s].start&&a.start<e[s+1].start){e.splice(s+1,0,a),u=!0;break}u||e.splice(0,0,a);var c=[e[0]];for(o=1;o<e.length;o++)c[c.length-1].end+r<e[o].start?c.push(e[o]):c[c.length-1].end<e[o].end&&(c[c.length-1].end=e[o].end);return i(c)},n.gs=function(e){for(var t in r)if(r.hasOwnProperty(t)&&r[t]==e)return t},n.Ju=function(e){return e==r.IDLE||e==r.BUFFERING_BEFORE_PLAYBACK||e==r.SEEKING_BEFORE_PLAYBACK||e==r.PLAYBACK_NOT_STARTED}},{23:23,58:58}],69:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),o=i.getAsset();i.so(t),o.so(t),o.Eo()&&o.No()&&o.Uo(t-o.Wo()),o.Ho(),o.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},os:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.Eo()&&r.No()&&(r.Vo(t),r.To(!1))},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);i.so(t),r.so(t),r.Eo()?r.No()||(r.Oo(t),r.To(!0)):r.io(),r.Eo()||(r.ko(!0),r.To(!0),r.Fo(o),r.Oo(t))},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.Eo()&&r.No()&&(r.Vo(t),r.To(!1))},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.so(t),r.so(t),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.Ro(!0),(r._u()||0==i.ba())&&(i.Ia(),r.gu(!1)),i.du(),r.Ro(!0),r.Yo(),r.ro(),i.bo(t),r.bo(t),r.do(t),r.ao(s),(0==r.cu()||r.Lr()<=r.cu())&&(r.uu(r.Lr()),r.zo(),r.vu(0),r.eu()),r.du(),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],70:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{fs:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),i.so(t),s.so(t),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.po(t),r.do(t)},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),r.ro(),i.so(t),r.so(t),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.po(t),r.do(t),i.bo(t),r.bo(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],71:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{us:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();e.Gs().As(),r.po(t),r.do(t),i.so(t),r.so(t),i.eo(),r.eo();var s=e.Gs().Dr(o.PAUSE,n,t);r.jr(s.Ut),r.Kr(s.Ut),e.ju().Vu(s),i.Po(t),r.Po(t)},ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().As(),e.Gs().Ts(),e.S().stop(),i.so(t),s.so(t),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);e.Gs().As(),e.Ns().pause(),e.S().stop(),r.po(t),r.do(t),i.so(t),r.so(t),r.io(),r.ko(!0),r.To(!0),r.Fo(s),r.Oo(t),i.eo(),r.eo();var a=e.Gs().Dr(o.PAUSE,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();e.Gs().As(),r.po(t),r.do(t),i.so(t),r.so(t),i.eo(),r.eo();var s=e.Gs().Dr(o.PAUSE,n,t);r.jr(s.Ut),r.Kr(s.Ut),e.ju().Vu(s)}})}},{24:24,26:26,58:58}],72:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),e.Gs().As(),i.so(t),s.so(t),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),i.eo(),r.eo(),r.Eo()&&r.No()&&(r.Vo(t),r.To(!1)),r.po(t),r.do(t)},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),r.ro(),i.so(t),r.so(t),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.po(t),r.do(t),i.bo(t),r.bo(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],73:[function(e,t,n){var i=e(24),r=e(58).Lu;t.exports=function(e){i.extend(this,{Xu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.ya(!0),r.Lo(!0),r.Eo()&&r.xo(r.Bo()),i.Po(t),r.Po(t)},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);i.ya(!0),r.Lo(!0),r.Eo()&&r.xo(r.Bo()),r.io(),r.ko(!0),r.To(!0),r.Fo(o),r.Oo(t)},$u:function(t,n){var i=e.getPlaybackSession(),o=i.getAsset(),s=parseInt(n.ns_st_po);i.ya(!0),o.Lo(!0),(o._u()||0==i.ba())&&(i.Ia(),o.gu(!1)),o.Eo()&&(o.xo(o.Bo()),o.Ko(s),o.ko(!1)),i.du(),o.Ro(!0),o.Yo(),(0==o.cu()||o.Lr()<=o.cu())&&(o.uu(o.Lr()),o.zo(),o.vu(0),o.eu()),o.du(),o.ro(),i.bo(t),o.bo(t),o.do(t),o.ao(s),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(r.PLAY,n,t);o.jr(a.Ut),o.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,58:58}],74:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.ko(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.ro(),r.du(),i.bo(t),r.bo(t),r.po(t),r.do(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],75:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),i.so(t),s.so(t),s.po(t),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1));var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);i.so(t),r.so(t),r.Eo()?r.No()||(r.Oo(t),r.To(!0)):r.io(),r.Eo()||(r.ko(!0),r.To(!0),r.Fo(o),r.Oo(t)),r.po(t),r.do(t)},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.po(t),r.do(t)},ds:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),i.so(t),r.so(t),r.ro(),i.bo(t),r.bo(t),r.po(t),r.do(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],76:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),o=i.getAsset();o.Eo()&&o.No()&&(o.Uo(t-o.Wo()),o.To(!1)),i.Zs(),o.Ho(),o.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},Zu:function(t,n){var i=e.getPlaybackSession().getAsset(),r=parseInt(n.ns_st_po);i.Eo()?i.Oo(t):i.io(),i.Eo()||(i.ko(!0),i.To(!0),i.Fo(r),i.Oo(t))},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);r.Eo()&&(r.Ko(s),r.ko(!1)),i.ya(!0),(r._u()||0==i.ba())&&(i.Ia(),r.gu(!1)),i.du(),r.Ro(!0),r.Yo(),(0==r.cu()||r.Lr()<=r.cu())&&(r.uu(r.Lr()),r.zo(),r.vu(0),r.eu()),r.du(),r.ro(),i.bo(t),r.bo(t),r.do(t),r.ao(s),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)},Xu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.Po(t),r.Po(t)}})}},{24:24,26:26,58:58}],77:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset(),a=parseInt(n.ns_st_po);e.Gs().Ts(),e.S().stop(),i.ho(t),s.ho(t),s.Iu(a),s.po(t),s.co(a);var u=e.Gs().Dr(o.END,n,t);s.jr(u.Ut),s.Kr(u.Ut),e.ju().Vu(u),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},Xu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);e.Ns().pause(),e.S().stop(),i.ho(t),r.ho(t),r.Iu(o),r.co(o),e.Gs().isPauseOnBufferingEnabled()&&e.Gs().Ps(t,n),r.lu(),i.Po(t),r.Po(t),r.po(t),r.do(t)},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);e.Ns().pause(),e.S().stop(),i.ho(t),r.ho(t),r.Iu(s),r.co(s),r.io(),r.ko(!0),r.To(!0),r.Fo(s),r.Oo(t),r.po(t),r.do(t),i.eo(),r.eo();var a=e.Gs().Dr(o.PAUSE,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);e.Ns().pause(),e.S().stop(),i.ho(t),r.ho(t),r.Iu(s),r.co(s),r.po(t),r.do(t),i.eo(),r.eo();var a=e.Gs().Dr(o.PAUSE,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],78:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),o=i.getAsset();o.Eo()&&o.No()&&(o.Uo(t-o.Wo()),o.To(!1)),i.Zs(),o.Ho(),o.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},ts:function(t,n){var i=e.getPlaybackSession().getAsset();i.Eo()&&i.No()&&(i.Vo(t),i.To(!1))},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),(r._u()||0==i.ba())&&(i.Ia(),r.gu(!1)),i.du(),r.du(),r.ro(),r.Ro(!0),r.Yo(),(0==r.cu()||r.Lr()<=r.cu())&&(r.uu(r.Lr()),r.zo(),r.vu(0),r.eu()),i.bo(t),r.bo(t),r.do(t),r.ao(s),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],79:[function(e,t,n){var i=e(24);t.exports=function(e){i.extend(this,{ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.eo(),r.eo(),r.Eo()&&r.No()&&(r.Vo(t),r.To(!1)),r.po(t),r.do(t)}})}},{24:24}],80:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),r.ro(),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.po(t),r.do(t),i.bo(t),r.bo(t),r.ao(s),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],81:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{rs:function(t,n){var i=e.getPlaybackSession().getAsset(),r=parseInt(n.ns_st_po);i.Eo()?i.No()||(i.Oo(t),i.To(!0)):i.io(),i.Eo()||(i.ko(!0),i.To(!0),i.Fo(r),i.Oo(t)),i.po(t),i.do(t)},es:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.Po(t),r.Po(t),r.po(t),r.do(t)},ls:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.ro(),i.bo(t),r.bo(t),r.po(t),r.do(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)},as:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.po(t),r.do(t)},cs:function(t,n){var i=e.getPlaybackSession().getAsset();i.Eo()&&i.No()&&(i.Vo(t),i.To(!1)),i.po(t),i.do(t)},ps:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},vs:function(t,n){var i=e.getPlaybackSession().getAsset();i.Eo()&&i.No()&&(i.Vo(t),i.To(!1)),i.po(t),i.do(t)},ss:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);e.Gs().As(),i.so(t),r.so(t),i.bo(t),r.bo(t),r.ao(o),r.po(t),r.do(t),e.Ns().resume(),e.S().start()}})}},{24:24,26:26,58:58}],82:[function(e,t,n){function i(){var e=+new Date;u=a.setInterval(function(){var t=e+o,n=+new Date,i=n-t;if(e=n,Math.abs(i)>s)for(var r=0<i,a=0;a<c.length;++a)c[a](r)},o)}function r(){clearInterval(u),u=null}var o,s,a,u=null,c=[];t.exports={Ou:function(e){c.push(e),u||i()},Yu:function(e){for(var t=0;t<c.length;++t)if(c[t]==e){c.splice(t,1);break}c.length||r()},setPlatformAPI:function(e){a=e},Us:function(e,t){!t&&o||(o=e||1e3),(u&&t||!u)&&(r(),i())},Bs:function(e,t){s=e||1e3}}},{}]},{},[16])(16)}).call(this,n(20),n(19))},function(e,t,n){var i,r;i=[n(7)],void 0===(r=function(e){"use strict";function t(e,t,n){this._persistantLabels={},this._urlParams="",this._cut="",this._httpGet=e,this._eventCount=0,this._isApp=t,this._isScorecardDomain=!0===n,this._hasStarted=!1}return t.IS_ECHO_APP_TAG=!0,t.URL_LIMIT=2048,t.prototype.setPixelURL=function(e){this._url=this._makeBaseUrl(e)},t.prototype.setCustomerC2=function(t){this.setLabel(e.COMSCORE_CUSTOMER,t)},t.prototype.start=function(){this._hasStarted||(this._hasStarted=!0)},t.prototype.setLabel=function(e,t){null===t?this.removeLabel(e):this._persistantLabels[e]=t},t.prototype.removeLabels=function(e){for(var t in e)void 0!==this._persistantLabels[e[t]]&&delete this._persistantLabels[e[t]]},t.prototype.removeLabel=function(e){void 0!==this._persistantLabels[e]&&delete this._persistantLabels[e]},t.prototype.view=function(e){this.send("view",e)},t.prototype.hidden=function(e){this.send("hidden",e)},t.prototype.send=function(e,t,n){var i,r,o=this._persistantLabels,s={};if(this._hasStarted){for(r in this._eventCount++,o)s[r]=o[r];for(r in t)s[r]=t[r];s.ns_type=e,this._isApp&&(s.ns_ap_ev=e,s.ns_ap_ec=this._eventCount),s[this._isApp?"ns_ts":"ns__t"]=+new Date,i=this._createUrl(s),this._httpGet(i,n)}},t.prototype._createUrl=function(t){var n,i=window.encodeURIComponent||escape,r=this._url;for(n in this._urlParams="",this._cut="",t.hasOwnProperty("name")&&this._addUrlParam("name",t.name),t)"name"!==n&&"ns_referrer"!==n&&this._addUrlParam(n,t[n]);return t.hasOwnProperty("ns_referrer")&&this._addUrlParam(this._isScorecardDomain?e.ENV_REFERRER:"ns_referrer",t.ns_referrer),r+=this._urlParams,this._cut.length?r+="ns_cut="+i(this._cut.replace(/&$/,"")):r=r.replace(/&$/,""),r},t.prototype._addUrlParam=function(e,n){var i=window.encodeURIComponent||escape,r=i(e)+"="+i(n)+"&",o=t.URL_LIMIT-8;this._url.length+this._urlParams.length+r.length<o?this._urlParams+=r:this._cut+=r},t.prototype._makeBaseUrl=function(e){for(var t=-1,n=e.charAt(e.length-1),i=0,r=e.length;i<r;i++)"?"===e.charAt(i)&&(t=i);return-1===t?e+="?":"?"!==n&&"&"!==n&&(e+="&"),e},t}.apply(t,i))||(e.exports=r)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(){return-1}function i(e,t,n,i){this._sensors=null,this._broker=null,this._media=null,this._meta={},this._stream=null,this._env=i,this._siteCode=n[o.BARB_SITE_CODE],this._debug=n[o.BARB_DEBUG],this._traceId=null,this._isPlaying=!1,this._isEssEnabled=!1,this._isEnabled=!0,this._hasStarted=!1,n[o.ECHO_TRACE]&&this.setTraceId(n[o.ECHO_TRACE]),n[o.USE_ESS]&&(this._isEssEnabled=!0),n&&!1===n[o.ECHO_ENABLED]?this._isEnabled=!1:this._isEnabled=!0}var r=n(38),o=n(3),s=n(2),a=n(1),u=n(39);return i.prototype.start=function(){this._hasStarted||(this._hasStarted=!0)},i.prototype.enable=function(){this._isEnabled||(this._isEnabled=!0)},i.prototype.disable=function(){this._isEnabled&&(this._isEnabled=!1,this.clearMedia())},i.prototype.setTraceId=function(e){this._traceId=e},i.SpringStreams=n(40),i.prototype.addLabels=t,i.prototype.addLabel=t,i.prototype.addManagedLabel=t,i.prototype.removeLabels=t,i.prototype.removeLabel=t,i.prototype.setLoggedInToBBCId=t,i.prototype.setLoggedOutOfBBCId=t,i.prototype.setAppVersion=t,i.prototype.setCounterName=t,i.prototype.setContentLanguage=t,i.prototype.setCacheMode=t,i.prototype.clearCache=t,i.prototype.flushCache=t,i.prototype.setESSEnabled=t,i.prototype.viewEvent=t,i.prototype.errorEvent=t,i.prototype.userActionEvent=t,i.prototype.setPlayerName=function(e){this._meta[r.PLAYER_DESC]=e},i.prototype.setPlayerVersion=function(e){this._meta[r.PLAYER_VERSION]=e},i.prototype.setPlayerIsPopped=t,i.prototype.setPlayerWindowState=t,i.prototype.setPlayerVolume=t,i.prototype.setPlayerIsSubtitled=t,i.prototype.setDestination=t,i.prototype.setProducer=t,i.prototype.setBroker=function(e){return this._broker=e,this},i.prototype.setMedia=function(e){this._eventsEnabled()&&(this.clearMedia(),this._media=e.getClone())},i.prototype.setMediaLength=function(e){this._media.setLength(e)},i.prototype.liveMediaUpdate=function(e){this._media=e.getClone(),this._isPlaying&&this._startTracking()},i.prototype.liveEnrichmentFailed=function(){this._media.getServiceId()||this._media.setServiceId("no-service-id-found"),this._isPlaying&&this._startTracking()},i.prototype.avPlayEvent=function(e,t){this._eventsEnabled()&&this.isValidMedia()&&this._broker&&(this._initSensors(),this._isPlaying=!0,this._media.isLive()&&!this._media.getServiceId()?this._isEssEnabled&&(this._media.getVersionId()||this._media.getVpId())||(this._media.setServiceId("invalid-data"),this._startTracking()):this._startTracking())},i.prototype._initSensors=function(){if(null===this._sensors){if(this._sensors=new i.SpringStreams(this._siteCode),null!==this._env.getSetLocalStorageItem()&&null!==this._env.getGetLocalStorageItem()&&null!==this._env.getHttpGet()){s.info("Using custom PageContext for BARB");var e=new u("com.kma.springstreams",this._env);this._sensors.setPageContext(e)}this._debug&&(this._sensors.debug=function(e){s.info("Spring DEBUG: "+e)})}},i.prototype._startTracking=function(){if(null===this._stream){var e=this._getAttributes(),t=e[r.PID]||" ";this._stream=this._sensors.track(t,e,this._getAdaptor())}},i.prototype._getMostPrecedentIdObject=function(){var e=this._media.getVersionIdObject(),t=this._media.getEpisodeIdObject(),n=this._media.getClipIdObject(),i=this._media.getVpIdObject(),r=this._media.getServiceIdObject();return e.isValueValid()?e:t.isValueValid()?t:n.isValueValid()?n:i.isValueValid()?i:r.isValueValid()?r:null},i.prototype._getAttributes=function(){var e=this._media,t={};if(this._traceId&&(t[o.ECHO_TRACE]=this._traceId),!e.isLive()){var n=this._getMostPrecedentIdObject();null!==n&&(t[r.PID]=n.getValue())}return e.isOnDemand()?t[r.STREAM]="od":e.isDownload()?t[r.STREAM]="dwn":e.isLive()&&e.getServiceIdObject().isValueValid()&&(t[r.STREAM]="live/"+e.getServiceId()),t},i.prototype._getAdaptor=function(){var e,t=this;return e=this._media.isLive()?function(){return t._broker.getTimestamp()}:function(){return t._broker.getPosition()},{getMeta:function(e){return t._meta},getDuration:function(e){var n=0;return t._media.isLive()||(n=Math.floor(t._media.getLength()/1e3)),n},getPosition:function(t){return Math.floor(e()/1e3)}}},i.prototype._eventsEnabled=function(){return this._isEnabled&&this._hasStarted},i.prototype.avPauseEvent=function(){},i.prototype.avBufferEvent=function(){},i.prototype.avEndEvent=function(){this._eventsEnabled()&&(this._isPlaying=!1,this.isValidMedia()&&this.clearMedia())},i.prototype.avRewindEvent=function(){},i.prototype.avFastForwardEvent=function(){},i.prototype.avSeekEvent=function(){},i.prototype.avUserActionEvent=t,i.prototype.clearMedia=function(){this.isValidMedia()&&(this._stream&&this._stream.stop(),this._stream=null,this._media=null)},i.prototype.isValidMedia=function(){return null!==this._media&&this._media.avType===a.AvType.VIDEO},i.prototype.isValidLiveMedia=function(){return this.isValidMedia()&&this._media.isLive()},i.prototype.requiresLabelCleansing=function(){return!0},i}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={STREAM:"stream",PID:"cq",WIDTH:"sx",HEIGHT:"sy",PLAYER_DESC:"pl",PLAYER_VERSION:"plv"}},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(e,t){this.namespace=e,this.env=t}return e.prototype.preloadImage=function(e){return this.env.getHttpGet()(e)},e.prototype.getLocalStorageItem=function(e){return this.env.getGetLocalStorageItem()(e)},e.prototype.setLocalStorageItem=function(e,t){return this.env.getSetLocalStorageItem()(e,t)},e.prototype.getWindowLocationURL=function(){return this.env.getURL()},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){function e(e){function t(e){for(var t=0;t<c.length;++t)try{c[t].update(e)}catch(e){i(e)}}function n(e){for(var t=0;t<c.length;++t)try{c[t].sync(e)}catch(e){i(e)}}function i(e){o("",e)}function r(e,t){return function e(t){var n,i,r,o,s,a=/[+&,;=~]/g;switch(typeof t){case"string":return a.test(t)?escape(t).replace(a,function(e){return(void 0)[e]||e}):escape(t);case"number":return isFinite(t)?t.toString():"null";case"boolean":case"null":return t.toString();case"object":if(!t)return"null";if(n=[],"number"==typeof t.length&&!t.propertyIsEnumerable("length")){for(o=t.length,i=0;i<o;i+=1)n.push(e(t[i])||"null");return","+n.join("+")+";"}for(r in t)"string"==typeof r&&"site"!=r&&(s=e(t[r]))&&n.push(e(r)+"="+s);return","+n.join("+")+";"}return""}([[e,t]])}function o(e,t){var n,i=(void 0===f.pageContext.getWindowLocationURL()?"http://":"https"==f.pageContext.getWindowLocationURL().slice(0,5)?"https://web.archive.org/web/20211103195646/https://ssl-":"http://")+((n=t)&&null!=n.site?n.site:u)+"."+a+"/j0="+r(e,t)+"?lt="+(new Date).getTime().toString(36)+function(){if(!this.nlso)try{var e;if(e=f.pageContext.getLocalStorageItem("i00"))return"&c="+e;var t="0000"+Math.ceil((new Date).getTime()/1e3).toString(16)+(32768|65535*Math.random()).toString(16)+"0000";f.pageContext.setLocalStorageItem("i00",t)}catch(e){console.log("error"+e)}return""}();f.pageContext.preloadImage(i),this.debug(i)}function s(e,t,n,r){function o(e){var t;E=[e,e,Math.round((new Date).getTime()/1e3).toString(36)],t=E,l.length<u.maxstates&&l.push(t),S=!0,y=0}function s(){null!=_&&g<_.length&&(h=_[g++],u.debug("switch syncrate to "+h))}function a(e){if(S){try{c.width&&(d.sx=c.width),c.videoWidth&&(d.sx=c.videoWidth),c.height&&(d.sy=c.height),c.videoHeight&&(d.sy=c.videoHeight)}catch(e){}var t;void 0!==f.pageContext.getDeviceID&&void 0!==f.pageContext.getDeviceID()&&(d[f.pageContext.getDeviceID().id_name]=f.pageContext.getDeviceID().id_value),d.uid=v,d.pst=l;try{d.dur&&0!=d.dur||(d.dur=p.getDuration(c))}catch(e){}try{t=p.getMeta(c)}catch(e){}d.vt=Math.round((new Date).getTime()/1e3)-m,u.send(t,d),b=E[1]}S=!1}var u,c,l,d,p,h,_,g,v=Math.round(1e10*Math.random()).toString(36),m=Math.round((new Date).getTime()/1e3),E=[0,0,m.toString(36)],y=0,b=0,S=!0,A=!1;u=e,c=t,p=r||u.HTML5Adapter,d=function(e){var t=new Object;for(var n in e)t[n]=e[n];return t}(n),(l=new Array).push(E),g=0,h=e.syncrate,_=e.getSyncRates(),s(),this.update=function(e){if(!A){var t=E[1],n=t;try{n=Math.round(p.getPosition(c))}catch(e){}try{if(t==n)return void(0<=y&&++y==u.pausesync&&(S=!0));y>=u.pausesync?o(n):t<n-1?o(n):n<t?o(n):(E[1]=n,E[1]-E[0]>=h&&h<=n-b&&(S=!0,s()),y=0)}catch(e){i=!0,u.error(e)}}},this.stop=function(){A||(A=S=!0,a(null))},this.sync=a}this.version="2.0.0";var a="2cnt.net",u="default",c=new Array;this.namespace="com.kma.springstreams",this.syncrate=20,this.pausesync=6,this.maxstates=50;var l,f=this;this.pageContext,function(e){var t;if(e){for(var n in e)n==a&&(t=e[n]);t&&(i=t.syncrates)&&(l=i)}var i}({"2cnt.net":{syncrates:[3,7,10,10,10,10,10,60]}}),e&&(u=e),setInterval(t,200),setInterval(n,2e3),this.getSyncRates=function(){return l},this.track=function(e,t,n){if(void 0===f.pageContext&&(f.pageContext=f.defaultPageContext),e){var i=new s(this,e,t,n);return c.push(i),i}},this.unload=function(){for(var e=0;e<c.length;++e)try{c[e].stop()}catch(e){i(e)}},this.doUpdate=t,this.doSync=n,this.error=i,this.debug=function(e){},this.send=o,this.defaultPageContext={getLocalStorageItem:function(e){return localStorage.getItem(e)},setLocalStorageItem:function(e,t){localStorage.setItem(e,t)},preloadImage:function(e){(new Image).src=e},getWindowLocationURL:function(){return document.location.href}},this.HTML5Adapter={getMeta:function(e){return{pl:"HTML 5 Video",pv:"HTML 5",sx:screen.width,sy:screen.height}},getPosition:function(e){return e.currentTime},getDuration:function(e){return Math.round(e.duration)}},this.DefaultAdapter={getMeta:function(e){return{pl:"DEF",pv:version,sx:screen.width,sy:screen.height}},getPosition:function(e){return(new Date).getTime()/1e3},getDuration:function(e){return 0}},this.WMStreamAdapter={getMeta:function(e){return{pl:"MSWM",plv:e.versionInfo,sx:screen.width,sy:screen.height}},getPosition:function(e){return e.CurrentPosition?e.CurrentPosition:e.currentPosition?e.currentPosition:e.controls&&e.controls.currentPosition?e.controls.currentPosition:e.Controls&&e.Controls.currentPosition?e.Controls.currentPosition:0},getDuration:function(e){if(e.currentMedia){if(e.currentMedia.Duration)return e.currentMedia.Duration;if(e.currentMedia.duration)return e.currentMedia.duration}else if(e.CurrentMedia){if(e.CurrentMedia.duration)return e.CurrentMedia.duration;if(e.CurrentMedia.Duration)return e.CurrentMedia.Duration}}},this.RVStreamAdapter={getMeta:function(e){return{pl:"RV",plv:e.GetVersionInfo(),sx:screen.width,sy:screen.height}},getPosition:function(e){return e.GetPosition()/1e3},getDuration:function(e){return e.GetLength()/1e3}}}return e.prototype.setPageContext=function(e){this.pageContext=e},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(){return-1}function i(e,t,n,i){if(this._tag=null,this._broker=null,this._media=null,this._mediaLength=null,this._commonMediaParams=null,this._env=i,this._pageValues={},this._customParams={},this._appName=e,this._appType=t,this._config=n,this._bbc_hid=null,this._lastHitUrl=null,this._lastPlayHitUrl=null,this._lastPage=null,this._counterName=null,this._deviceId=n[a.ECHO_DEVICE_ID]||void 0,this._deviceId||(this._deviceId=y.getCookieValueByName("idrxvr")),!this._deviceId){var r=y.getCookieValueByName("atuserid");r&&(this._deviceId=JSON.parse(decodeURIComponent(r)).val)}n[a.ECHO_TRACE]&&this.setTraceId(n[a.ECHO_TRACE]),this._isEnabled=n&&n[a.ECHO_ENABLED],n&&n[a.KEEPALIVE_DURATION]?this._keepAliveDuration=Number(n[a.KEEPALIVE_DURATION]):this._keepAliveDuration=3e5}var r=n(42),o=n(17),s=n(6),a=n(3),u=n(43),c=n(44),l=n(46),f=n(47),d=n(48),p=n(10),h=n(5),_=n(0),g=n(2),v=n(4),m=n(1),E=n(8),y=n(9),b="info",S="move",A="play",I="stop",T="live",P="ati-host.net",C="logw363.ati-host.net",O="logws1363.ati-host.net",w="api.bbc.co.uk",N="a1.api.bbc.co.uk",R="a1.api.bbc.co.uk";return i.SmartTag=r,i.prototype._getHttpGetMethod=function(){return this._env.getHttpGet()||E._defaultHttpGet},i.prototype._setHTTPGetMethod=function(e){var t=this._getHttpGetMethod(),n=this;n._tag.sendUrl=function(i,r){var o=function(t,i,o){return function(s){n._tag.emit(t,{lvl:o,details:{hit:i,event:s}}),r&&"function"==typeof r&&r(),e&&"function"==typeof e&&e()}},s=o("Tracker:Hit:Sent:Ok",i=n._addLengthToMediaHit(i),"INFO"),a=o("Tracker:Hit:Sent:Error",i,"ERROR");t(i,s,a)}},i.prototype._getDestination=function(e,t){var n;return e&&(n=p.get(e[a.DESTINATION])),!n&&t&&(n=p.get(t.destination)),n||(g.info("Destination not found, using default site"),n=p.DEFAULT),n},i.prototype._getProducer=function(e,t,n){var i;return e&&(i=h.getId(e[a.PRODUCER])),!i&&t&&(i=h.getId(t.producer)),!i&&n&&(g.info("Producer not found, using default producer"),i=n.defaultProducer),i},i.prototype.setDestination=function(e){e||(e=p.DEFAULT,g.info("Destination not found, using default site instead")),e&&(this.setProducer(e.defaultProducer),this._setDomain(e.isTest),this._tag.setConfig(s.LEVEL_1_SITE,e.id))},i.prototype.setProducer=function(e){this.addLabel(s.LEVEL_2_SITE,e)},i.prototype._getCookieDomain=function(e){return e&&e.location&&e.location.hostname&&e.location.hostname.match(/.bbc.com$/)?"bbc.com":"bbc.co.uk"},i.prototype._setDomain=function(e){e?(this._tag.setConfig("domain",P),this._tag.setConfig("collectDomain",C),this._tag.setConfig("collectDomainSSL",O)):(this._tag.setConfig("domain",w),this._tag.setConfig("collectDomain",N),this._tag.setConfig("collectDomainSSL",R))},i.prototype._setSection=function(e,t,n){t&&(e&&e[s.SECTION]?(t[s.CHAPTER_1]=v.cleanCustomVariable(e[s.SECTION]),t.customObject&&delete t.customObject[s.SECTION]):n&&n.section&&(t[s.CHAPTER_1]=v.cleanCustomVariable(n.section)))},i.prototype._createAtiOptions=function(e,t){var n;if(e)switch(n={collectDomain:t.isTest?C:N,collectDomainSSL:t.isTest?O:R,cookieDomain:this._getCookieDomain(window),domain:t.isTest?P:w,pixelPath:e[a.ATI_PIXEL_PATH]||"/hit.xiti",secure:!1!==e[a.ATI_FORCE_HTTPS],site:t.id},e[a.ATI_LOG]&&(n.log=e[a.ATI_LOG]),e[a.ATI_SSL_LOG]&&(n.logSSL=e[a.ATI_SSL_LOG]),e[a.ECHO_DEVICE_ID]&&(n.ClientSideUserId={clientSideMode:"required",userIdCookieDuration:397,userIdExpirationMode:"fixed"}),e[a.ECHO_CACHE_MODE]){case m.EchoCacheMode.ALL:n.Offline={storageMode:a.ATI_CACHE_MODE_ALWAYS};break;default:n.Offline={storageMode:a.ATI_CACHE_MODE_REQUIRED}}return n},i.prototype._createTag=function(e){return new i.SmartTag.Tracker.Tag(e)},i.prototype._initTag=function(e){if(!this._tag){var t=this._config,n=this._getDestination(t,e),i=this._createAtiOptions(t,n);this._tag=this._createTag(i),this._tag.onTrigger("Tracker:Hit:Sent:Ok",this._onHitSent.bind(this)),this._debug&&(this._tag.debug=function(e){g.info("ATI DEBUG: "+e)}),this._deviceId&&this._tag.clientSideUserId.set(this._deviceId),this._bbc_hid&&this._tag.setParam(s.HASHED_ID,this._bbc_hid,{hitType:["all"],permanent:!0});var r=this._getProducer(t,e,n);this.setProducer(r),t&&t[a.APP_CATEGORY]&&this.addLabel(s.APP_CATEGORY,t[a.APP_CATEGORY]),this._setHTTPGetMethod(),this._counterName&&this.setCounterName(this._counterName)}},i.prototype.start=function(e){this._isEnabled&&!this._hasStarted&&(this._hasStarted=!0,this._initTag(e))},i.prototype.enable=function(){this._isEnabled||(this._isEnabled=!0)},i.prototype.disable=function(){this._isEnabled&&(this._isEnabled=!1,this.clearMedia())},i.prototype._onHitSent=function(e,t){t&&t.details&&t.details.hit&&this._setLastHitUrl(t.details.hit)},i.prototype._addLengthToMediaHit=function(e){if(e&&"string"==typeof e&&e.match(/a\=(play|pause|stop|info|refresh|move)/)&&this._mediaLength){var t="m1="+Math.ceil(this._mediaLength/1e3);e=e.replace(/m1\=\d+/g,t)}return e},i.prototype._setLastHitUrl=function(e){e&&"string"==typeof e&&e.match(/a\=play/)?this._lastPlayHitUrl=e:this._lastHitUrl=e},i.prototype.setTraceId=function(e){this.addLabel(a.ECHO_TRACE,e)},i.prototype.addLabels=function(e){if("object"==typeof e)for(var t in e.bbc_identity&&(this.setBBCUser({bbc_hid:e.bbc_hid,signed_in:"1"===e.bbc_identity}),delete e.bbc_hid,delete e.bbc_identity),e)e.hasOwnProperty(t)&&this.addLabel(t,e[t])},i.prototype.addLabel=function(e,t){e===s.BBC_COUNTER_NAME||e===s.LEVEL_2_SITE?this._pageValues[e]=t:this._customParams[e]=t},i.prototype.setLoggedInToBBCId=function(e){this.setBBCUser({bbc_hid:e,signed_in:!0})},i.prototype.setLoggedOutOfBBCId=function(){this._tag&&this._tag.delParam(s.HASHED_ID),this._bbc_hid=null},i.prototype.setAppVersion=function(e){e&&this._tag&&this._tag.setParam(s.APP_VERSION,"["+e+"]",{hitType:["all"],permanent:!0})},i.prototype.setBBCUser=function(e){e.bbc_hid?this._bbc_hid=e.bbc_hid:e.signed_in&&(this._bbc_hid="unidentified-user"),this._tag&&!this._customParams.bbc_id_wait&&this._tag.setParam(s.HASHED_ID,this._bbc_hid,{hitType:["all"],permanent:!0})},i.prototype.addManagedLabel=t,i.prototype.removeLabels=function(e){for(var t=0,n=e.length;t<n;t++)this.removeLabel(e[t])},i.prototype.removeLabel=function(e){e===s.BBC_COUNTER_NAME||e===s.LEVEL_2_SITE?delete this._pageValues[e]:delete this._customParams[e]},i.prototype.setCounterName=function(e){var t={name:this._counterName=e,level2:this._pageValues[s.LEVEL_2_SITE]};this._tag&&(this._tag.page.set(t),this._lastPage=t)},i.prototype.setContentLanguage=t,i.prototype.setCacheMode=t,i.prototype.clearCache=function(){this._tag.offline.remove()},i.prototype.flushCache=function(){this._tag.offline.send()},i.prototype.setESSEnabled=t,i.prototype.viewEvent=function(e,t){if(this._eventsEnabled())return this.addLabel(s.BBC_COUNTER_NAME,e),this.counterName=e,o.get().then(function(e){var n=_.clone(this._customParams),i=c.create(this._appName,this._appType,n,t,e,document),r=_.extend(t,!0,s.ECHO_EVENT_NAME,"view"),o=_.combineObjects(n,r,!1),a=_.clone(this._pageValues);a.customObject=o,i&&(a.customVars=i),this._setSection(r,a,e),this._tag.page.send(a),this._lastPage=a}.bind(this))},i.prototype.errorEvent=t,i.prototype.userActionEvent=function(e,t,n){if(this._eventsEnabled()){var i=_.extend(n,!0,s.ECHO_EVENT_NAME,"userAct"),r=_.combineObjects(this._customParams,i,!1),o=_.clone(this._pageValues);o&&(o.actionName=t,o.actionType=e,o.user=this._bbc_hid,o[s.BBC_COUNTER_NAME]=this.counterName,o.customObject=r,Boolean(o.customObject[s.IS_BACKGROUND])?d.sendImpressionEvent(this._tag,o):d.sendClickEvent(this._tag,o))}},i.prototype.setPlayerName=function(e){this._mediaPlayerName=e},i.prototype.setPlayerVersion=function(e){this._mediaPlayerVersion=e},i.prototype.setPlayerIsPopped=t,i.prototype.setPlayerWindowState=t,i.prototype.setPlayerVolume=t,i.prototype.setPlayerIsSubtitled=t,i.prototype.setBroker=function(e){return this._broker=e,this},i.prototype.setMedia=function(e){this._eventsEnabled()&&(this._mediaPlayerName&&!e.getMediaPlayerName()&&e.setMediaPlayerName(this._mediaPlayerName),this._mediaPlayerVersion&&!e.getMediaPlayerVersion()&&e.setMediaPlayerVersion(this._mediaPlayerVersion),this.clearMedia(),this._media=e,this.addMedia(this._media))},i.prototype.setMediaLength=function(e){this._mediaLength=e,this._media.setLength(e)},i.prototype.setMediaBitrate=t,i.prototype.setMediaCodec=t,i.prototype.setMediaCDN=t,i.prototype.liveMediaUpdate=function(e,t,n){_.assert("number"==typeof t,"newPosition must be a number"),_.assert("number"==typeof n,"oldPosition must be a number"),e.setProducerById(this._media.getProducer()),this._sendMediaEvent(I),this._media=e,this.addMedia(this._media),this._sendMediaEvent(A)},i.prototype.liveEnrichmentFailed=t,i.prototype._getIdObjectValue=function(e){return null!==e&&e.isValueValid()?e.getValue():"invalid-data"},i.prototype._getMostPrecedentIdObject=function(){var e=this._media.getVersionIdObject(),t=this._media.getEpisodeIdObject(),n=this._media.getClipIdObject(),i=this._media.getVpIdObject(),r=this._media.getServiceIdObject();return e.isValueValid()?e:t.isValueValid()?t:n.isValueValid()?n:i.isValueValid()?i:r.isValueValid()?r:null},i.prototype._eventsEnabled=function(){return this._isEnabled&&this._hasStarted},i.prototype.addMedia=function(e){if(this._tag&&this._tag.richMedia){this._commonMediaParams={playerId:e.getPlayerId(),mediaLabel:this._getIdObjectValue(this._getMostPrecedentIdObject()),mediaTheme1:l.constructThemeOne(e),mediaTheme2:l.constructThemeTwo(e),mediaTheme3:l.constructThemeThree(e)};var t={mediaType:e.getAvType(),playerId:this._commonMediaParams.playerId,duration:e&&e.getLength()?Math.ceil(e.getLength()/1e3):0,mediaLabel:this._commonMediaParams.mediaLabel,mediaTheme1:this._commonMediaParams.mediaTheme1,mediaTheme2:this._commonMediaParams.mediaTheme2,mediaTheme3:this._commonMediaParams.mediaTheme3,isEmbedded:e.isEmbedded(),broadcastMode:e.getMediaConsumptionMode()===T?T:"clip",refreshDuration:{0:10,1:60}};e.getProducer()?t.mediaLevel2=e.getProducer():t.mediaLevel2=0,this._tag.richMedia.add(t)}},i.prototype._sendMediaEvent=function(e,t){this._commonMediaParams&&f.sendEvent(this._tag,this._commonMediaParams,e,t)},i.prototype.avPlayEvent=function(e,t){this._eventsEnabled()&&!this._media.getPlaying()&&(this._media.getBuffering()?this._sendMediaEvent(b,{isBuffering:!1}):(this._sendMediaEvent(A),this._addKeepAliveEventSchedule()))},i.prototype._addKeepAliveEventSchedule=function(){this._eventsEnabled()&&(this._keepAliveIntervalId||(this._keepAliveIntervalId=setInterval(this._sendKeepAliveEvent.bind(this),this._keepAliveDuration)))},i.prototype._removeKeepAliveEventSchedule=function(){this._keepAliveIntervalId&&(clearInterval(this._keepAliveIntervalId),this._keepAliveIntervalId=void 0)},i.prototype._sendKeepAliveEvent=function(){if(this._eventsEnabled()){var e={name:"keepalive",level2:this._media&&this._media.getProducer()?this._media.getProducer():0};this._tag.page.send(e),this._lastPage&&this._tag.page.set(this._lastPage)}},i.prototype.avPauseEvent=function(){this._eventsEnabled()&&this._sendMediaEvent("pause")},i.prototype.avBufferEvent=function(){this._eventsEnabled()&&this._sendMediaEvent(b,{isBuffering:!0})},i.prototype.avEndEvent=function(){this._eventsEnabled()&&(this._isMediaLoaded=!1,this._removeKeepAliveEventSchedule(),this._sendMediaEvent(I),this.isValidMedia()&&this.clearMedia())},i.prototype.avRewindEvent=function(){this._eventsEnabled()&&this._sendMediaEvent(S)},i.prototype.avFastForwardEvent=function(){this._eventsEnabled()&&this._sendMediaEvent(S)},i.prototype.avSeekEvent=function(){this._eventsEnabled()&&this._sendMediaEvent(S)},i.prototype.avUserActionEvent=function(e,t,n,i){if(this._eventsEnabled()&&"echo_hb"===e&&"echo_hb_5"===t){var r=this._addLengthToMediaHit(this._lastPlayHitUrl);u.sendRefreshEvent(this._tag,this._getHttpGetMethod(),r)}},i.prototype.clearMedia=function(){this.isValidMedia()&&(this._isMediaLoaded&&this.avEndEvent(),this._stream=null,this._media=null,this._commonMediaParams=null,this._tag.richMedia.removeAll())},i.prototype.isValidMedia=function(){return null!==this._media&&this._media.avType===m.AvType.VIDEO},i.prototype.isValidLiveMedia=function(){return this.isValidMedia()&&this._media.isLive()},i.prototype.getDeviceId=function(){return this._deviceId},i.prototype.requiresLabelCleansing=function(){return!0},i}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){return function(){var e,t={site:596068,log:"",logSSL:"",domain:"ati-host.net",collectDomain:"logw363.ati-host.net",collectDomainSSL:"logws1363.ati-host.net",secure:!0,pixelPath:"/hit.xiti",disableCookie:!1,disableStorage:!1,cookieSecure:!1,cookieDomain:"",preview:!1,plgs:["Campaigns","Clicks","ClientSideUserId","ContextVariables","Offline","OnSiteAds","Page","RichMedia"],lazyLoadingPath:"",documentLevel:"document",redirect:!1,activateCallbacks:!0,medium:"",ignoreEmptyChapterValue:!0,base64Storage:!1,sendHitWhenOptOut:!0};(e=window).Echo1200ATInternet=e.Echo1200ATInternet||{},e.Echo1200ATInternet.Tracker=e.Echo1200ATInternet.Tracker||{},e.Echo1200ATInternet.Tracker.Plugins=e.Echo1200ATInternet.Tracker.Plugins||{},window.Echo1200ATInternet.Utils=new function(){function e(e){return null===e?"":(e+"").replace(i,"")}var t=this,n=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g,i=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");t.isLocalStorageAvailable=function(){try{var e=localStorage;return e.setItem("__storage_test__","__storage_test__"),e.removeItem("__storage_test__"),!0}catch(e){return!1}},t.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var n,i,r,o,s,a,u="",c=0;for(e=t.Base64._utf8_encode(e);c<e.length;)o=(n=e.charCodeAt(c++))>>2,n=(3&n)<<4|(i=e.charCodeAt(c++))>>4,s=(15&i)<<2|(r=e.charCodeAt(c++))>>6,a=63&r,isNaN(i)?s=a=64:isNaN(r)&&(a=64),u=u+this._keyStr.charAt(o)+this._keyStr.charAt(n)+this._keyStr.charAt(s)+this._keyStr.charAt(a);return u},decode:function(e){var n,i,r,o,s,a="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)n=(n=this._keyStr.indexOf(e.charAt(u++)))<<2|(i=this._keyStr.indexOf(e.charAt(u++)))>>4,i=(15&i)<<4|(o=this._keyStr.indexOf(e.charAt(u++)))>>2,r=(3&o)<<6|(s=this._keyStr.indexOf(e.charAt(u++))),a+=String.fromCharCode(n),64!=o&&(a+=String.fromCharCode(i)),64!=s&&(a+=String.fromCharCode(r));return t.Base64._utf8_decode(a)},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):(127<i&&i<2048?t+=String.fromCharCode(i>>6|192):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128)),t+=String.fromCharCode(63&i|128))}return t},_utf8_decode:function(e){for(var t,n,i,r="",o=0;o<e.length;)(t=e.charCodeAt(o))<128?(r+=String.fromCharCode(t),o++):191<t&&t<224?(n=e.charCodeAt(o+1),r+=String.fromCharCode((31&t)<<6|63&n),o+=2):(n=e.charCodeAt(o+1),i=e.charCodeAt(o+2),r+=String.fromCharCode((15&t)<<12|(63&n)<<6|63&i),o+=3);return r}},t.loadScript=function(e,t){var n;t=t||function(){},(n=document.createElement("script")).type="text/javascript",n.src=e.url,n.async=!1,n.defer=!1,n.onload=n.onreadystatechange=function(e){("load"===(e=e||window.event).type||/loaded|complete/.test(n.readyState)&&(!document.documentMode||document.documentMode<9))&&(n.onload=n.onreadystatechange=n.onerror=null,t(null,e))},n.onerror=function(e){n.onload=n.onreadystatechange=n.onerror=null,t({msg:"script not loaded",event:e})};var i=document.head||document.getElementsByTagName("head")[0];i.insertBefore(n,i.lastChild)},t.cloneSimpleObject=function(e,n){if("object"!=typeof e||null===e||e instanceof Date)return e;var i,r=new e.constructor;for(i in e)e.hasOwnProperty(i)&&(void 0===i||n&&void 0===e[i]||(r[i]=t.cloneSimpleObject(e[i])));return r},t.jsonSerialize=function(e){try{return"undefined"!=typeof JSON&&JSON.stringify?JSON.stringify(e):function e(t){var n=typeof t;if("object"!==n||null===t)return"string"===n&&(t='"'+t+'"'),String(t);var i,r,o=[],s=t&&t.constructor===Array;for(i in t)t.hasOwnProperty(i)&&"function"!=(n=typeof(r=t[i]))&&"undefined"!==n&&("string"===n?r='"'+r.replace(/[^\\]"/g,'\\"')+'"':"object"===n&&null!==r&&(r=e(r)),o.push((s?"":'"'+i+'":')+String(r)));return(s?"[":"{")+String(o)+(s?"]":"}")}(e)}catch(e){return null}},t.jsonParse=function(t){try{return"undefined"!=typeof JSON&&JSON.parse?JSON.parse(t+""):(o=null,(i=e((i=t)+""))&&!e(i.replace(n,function(e,t,n,i){return r&&t&&(o=0),0===o?e:(r=n||t,o+=!i-!n,"")}))?Function("return "+i)():null)}catch(t){return null}var i,r,o},t.arrayIndexOf=function(e,t){return Array.indexOf?e.indexOf(t):function(e){if(null==this)throw new TypeError;var t=Object(this),n=t.length>>>0;if(0===n)return-1;var i=0;if(1<arguments.length&&((i=Number(arguments[1]))!=i?i=0:0!=i&&1/0!=i&&-1/0!=i&&(i=(0<i||-1)*Math.floor(Math.abs(i)))),n<=i)return-1;for(i=0<=i?i:Math.max(n-Math.abs(i),0);i<n;i++)if(i in t&&t[i]===e)return i;return-1}.apply(e,[t])},t.uuid=function(){return{v4:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},num:function(e){var t,n=new Date,i=function(e){return(e-=100*Math.floor(e/100))<10?"0"+e:String(e)};return i(n.getHours())+""+i(n.getMinutes())+i(n.getSeconds())+(t=e-6,Math.floor((9*Math.random()+1)*Math.pow(10,t-1)))}}},t.getObjectKeys=function(e){var t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t);return n},t.completeFstLevelObj=function(e,t,n){if(e){if(t)for(var i in t)!t.hasOwnProperty(i)||e[i]&&!n||(e[i]=t[i])}else e=t;return e},t.isPreview=function(){return window.navigator&&"preview"===window.navigator.loadPurpose},t.isPrerender=function(e){var n,i=!1,r=["webkit","ms"];if("prerender"===document.visibilityState)n="visibilitychange";else for(var o=0;o<r.length;o++)"prerender"===document[r[o]+"VisibilityState"]&&(n=r[o]+"visibilitychange");if(void 0!==n){var s=function(i){e(i),t.removeEvtListener(document,n,s)};t.addEvtListener(document,n,s),i=!0}return i};var r=t.addEvtListener=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},o=t.removeEvtListener=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n)};t.hashcode=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=0|(t=(t<<5)-t+e.charCodeAt(n));return t},t.setLocation=function(e){var t=e.location;e=window[e.target]||window,t&&(e.location.href=t)},t.dispatchCallbackEvent=function(e){var t;if("function"==typeof window.Event)t=new Event("ATCallbackEvent");else try{(t=document.createEvent("Event")).initEvent&&t.initEvent("ATCallbackEvent",!0,!0)}catch(e){}t&&"function"==typeof document.dispatchEvent&&(t.name=e,document.dispatchEvent(t))},t.addCallbackEvent=function(e){r(document,"ATCallbackEvent",e)},t.removeCallbackEvent=function(e){t.removeEvent("ATCallbackEvent",e)},function(){function e(e,t){var n;t=t||{bubbles:!1,cancelable:!1,detail:void 0};try{(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail)}catch(e){}return n}"function"==typeof window.CustomEvent?window.ATCustomEvent=window.CustomEvent:("function"==typeof window.Event&&(e.prototype=window.Event.prototype),window.ATCustomEvent=e)}(),t.addEvent=function(e,n,i,o){t[e]=new ATCustomEvent(e,{detail:{name:n,id:i}}),r(document,e,o)},t.removeEvent=function(e,t){o(document,e,t)},t.dispatchEvent=function(e,n){t[e]=t[e]||new ATCustomEvent(e,{detail:{name:n,id:-1}});try{document.dispatchEvent(t[e])}catch(e){}},t.addOptOutEvent=function(e,n){t.addEvent("ATOptOutEvent","clientsideuserid",e,n)},t.removeOptOutEvent=function(e){t.removeEvent("ATOptOutEvent",e)},t.dispatchOptOutEvent=function(e){t.optedOut=e,t.dispatchEvent("ATOptOutEvent","clientsideuserid")},t.userOptedOut=function(){t.dispatchOptOutEvent(!0)},t.userOptedIn=function(){t.dispatchOptOutEvent(!1)},t.isOptedOut=function(){if(null===t.optedOut){var e;if(e=null,t.isLocalStorageAvailable()&&(e=localStorage.getItem("atoptedout")),null===e){var n=/(?:^| )atoptedout=([^;]+)/.exec(document.cookie);null!==n&&(e=n[1])}if(null!==e)try{e=decodeURIComponent(e)}catch(e){}e=!(!e||null===(e=t.jsonParse(e)||t.jsonParse(t.Base64.decode(e)))||!e.val),t.optedOut=e}return!!t.optedOut},t.optedOut=null,t.consentReceived=function(e){t.consent=!!e},t.consent=!0,t.isTabOpeningAction=function(e){var t=!1;return e&&(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&1===e.button)&&(t=!0),t}};var n=function(e){var t=this,n=1600,i=["dz"],r=function(e,t,n,i,r,o,s){return{param:e="&"+e+"=",paramSize:e.length,str:t,strSize:t.length,truncate:n,multihit:i,separator:r||"",encode:o,last:s}},o=function(e,t){var n,i="",r=0,o=0,s=0,a=null,u=null;for(n in e)e.hasOwnProperty(n)&&(a=e[n])&&(r=t-o,a.last&&null!==u?u[n]=a:a.strSize+a.paramSize<=r?(i+=a.param+a.str,o+=a.paramSize+a.strSize):((u=u||{})[n]=a).truncate&&(s=r-a.paramSize,a.separator&&(r=a.str.substring(0,r),s=a.encode?r.lastIndexOf(encodeURIComponent(a.separator))||s:r.lastIndexOf(a.separator)||s),i+=a.param+a.str.substring(0,s),o+=a.paramSize+a.str.substring(0,s).size,u[n].str=a.str.substring(s,a.strSize),u[n].strSize=u[n].str.length));return[i,u]},s=function(t,s,a,u,c){!function(t,n){var i=e.getConfig("secure"),r="";if(t)r=t;else{r="https:"===document.location.protocol;var o=(r=i||r)?e.getConfig("logSSL"):e.getConfig("log"),s=e.getConfig("domain");r=o&&s?o+"."+s:r?e.getConfig("collectDomainSSL"):e.getConfig("collectDomain")}o=e.getConfig("baseURL"),"/"!==(s=(s=e.getConfig("pixelPath"))||"/").charAt(0)&&(s="/"+s);var a=e.getConfig("site");if((o||r&&s)&&a){var u="//";i&&(u="https:"+u),n&&n(null,(o||u+r+s)+"?s="+a)}else n&&n({message:"Config error"})}(u,function(u,l){u?c&&c(u):(n=1600-(l.length+27),function(t,s,a,u){var c,l="",f=function(t){if(t==={})return[];var s,a,u,c,f,d,p,h,_,g,v=[],m=!(s={}),E=void 0,y="";for(g in t)if(t.hasOwnProperty(g))if(p=d=f=c=!1,a=t[g].value,"boolean"==typeof(u=t[g].options||{}).encode&&(c=u.encode),"function"==typeof a&&(a=a()),a=a instanceof Array?a.join(u.separator||","):"object"==typeof a?Echo1200ATInternet.Utils.jsonSerialize(a):void 0===a?"undefined":a.toString(),c&&(a=encodeURIComponent(a)),-1<Echo1200ATInternet.Utils.arrayIndexOf(i,g)?f=!0:"boolean"==typeof u.truncate&&(f=u.truncate),"boolean"==typeof u.multihit&&(d=u.multihit),"boolean"==typeof u.last&&(p=u.last),a=r(g,a,f,d,u.separator,c,p),d)n-=a.paramSize+a.strSize,y+=a.param+a.str;else if(p)a.paramSize+a.strSize>n&&(a.str=a.str.substring(0,n-a.paramSize),a.strSize=a.str.length),h=g,_=a;else if(s[g]=a,s[g].paramSize+s[g].strSize>n&&!s[g].truncate){e.emit("Tracker:Hit:Build:Error",{lvl:"ERROR",msg:'Too long parameter: "'+s[g].param+'"',details:{value:s[g].str}}),m=!0,E=g;break}if(h&&(s[h]=_),t=(s=[s,m,E,y])[0],m=s[1],l=s[3],m&&((t=t[s=s[2]]).str=t.str.substring(0,n-t.paramSize),t.strSize=t.str.length,(m={}).mherr=r("mherr","1",!1,!1,"",!1),m[s]=t,t=m),null===(t=o(t,n))[1])v=t[0];else for(v.push(t[0]);null!==t[1];)t=o(t[1],n),v.push(t[0]);return v},d="";if(e.buffer.presentInFilters(a,"hitType")||(a=e.buffer.addInFilters(a,"hitType",["page"])),a=e.buffer.addInFilters(a,"hitType",["all"]),"object"==typeof t&&null!==t){var p,h,_,g;for(c in a=e.buffer.addInFilters(a,"permanent",!0),a=e.buffer.get(a,!0),t)if(t.hasOwnProperty(c)){if(d=t[c],p={},s&&"object"==typeof t[c]){for(g in _=h=!1,t[c])t[c].hasOwnProperty(g)&&("value"===g?h=!0:"options"===g&&"object"==typeof t[c].options&&null!==t[c].options&&(_=!0));h&&_&&(d=t[c].value,p=t[c].options)}a[c]={value:d,options:p}}d=f(a)}else for(c in d=f(a=e.buffer.get(a,!0)),a)!a.hasOwnProperty(c)||a[c].options&&a[c].options.permanent||e.buffer.del(c);u&&u(d,l)}(t,s,a,function(e,t){var n=[],i=Echo1200ATInternet.Utils.uuid().num(13);if(e instanceof Array)for(var r=1;r<=e.length;r++)n.push(l+t+"&mh="+r+"-"+e.length+"-"+i+e[r-1]);else n.push(l+t+e);c&&c(null,n)}))})};t.send=function(n,i,r,o,a){s(n,a,i,o,function(n,i){if(n)e.emit("Tracker:Hit:Build:Error",{lvl:"ERROR",msg:n.message,details:{}}),r&&r();else for(var o=0;o<i.length;o++)t.sendUrl(i[o],r)})},t.sendUrl=function(t,n){var i=function(t,i,r){return function(o){var s="";if("/"===i.charAt(0)){s=e.getConfig("secure");var a="https:"===document.location.protocol;s=s||a?"https:":"http:"}e.emit(t,{lvl:r,details:{hit:s+i,event:o}}),n&&n()}};if(Echo1200ATInternet.Utils.isOptedOut()&&!e.getConfig("sendHitWhenOptOut"))i("Tracker:Hit:Sent:NoTrack",t,"INFO")();else{var r=new Image;r.onload=i("Tracker:Hit:Sent:Ok",t,"INFO"),r.onerror=i("Tracker:Hit:Sent:Error",t,"ERROR"),r.src=t}}},i=function(){function e(e,t,n){for(var i=[],r=0;r<e.length;r++)e[r].callback(t,n),e[r].singleUse||i.push(e[r]);return i}var t={};this.on=function(e,n,i){return i=i||!1,function e(t,n,i,r){var o=t.shift();return"*"===o?(n["*"]=n["*"]||[],n["*"].push({callback:i,singleUse:r}),n["*"].length-1):0===t.length?e([o,"*"],n,i,r):(n["*"]=n["*"]||[],n[o]=n[o]||{},e(t,n[o],i,r))}(e.split(":"),t,n,i)},this.emit=function(n,i){t["*"]&&(t["*"]=e(t["*"],n,i)),function t(n,i,r,o){var s=i.shift();"*"!==s&&(0===i.length?t(n,[s,"*"],r,o):r[s]&&(r[s]["*"]=e(r[s]["*"],n,o),t(n,i,r[s],o)))}(n,n.split(":"),t,i)}},r=function(e){var t={},n={},i=0,r={},o=0,s=function(e){var n=!1;return t[e]&&(n=!0),n},a=this.unload=function(n){return s(n)?(t[n]=void 0,e.emit("Tracker:Plugin:Unload:"+n+":Ok",{lvl:"INFO"})):e.emit("Tracker:Plugin:Unload:"+n+":Error",{lvl:"ERROR",msg:"not a known plugin"}),e},u=this.load=function(r,o){return"function"==typeof o?void 0===e.getConfig.plgAllowed||0===e.getConfig.plgAllowed.length||-1<e.getConfig.plgAllowed.indexOf(r)?(t[r]=new o(e),n[r]&&s(r)&&(n[r]=!1,i--,s(r+"_ll")&&a(r+"_ll"),0===i&&e.emit("Tracker:Plugin:Lazyload:File:Complete",{lvl:"INFO",msg:"LazyLoading triggers are finished"})),e.emit("Tracker:Plugin:Load:"+r+":Ok",{lvl:"INFO"})):e.emit("Tracker:Plugin:Load:"+r+":Error",{lvl:"ERROR",msg:"Plugin not allowed",details:{}}):e.emit("Tracker:Plugin:Load:"+r+":Error",{lvl:"ERROR",msg:"not a function",details:{obj:o}}),e},c=this.isLazyloading=function(e){return e?!0===n[e]:0!==i},l=function(e){return!s(e)&&!c(e)&&s(e+"_ll")},f=function(t){n[t]=!0,i++,Echo1200ATInternet.Utils.loadScript({url:e.getConfig("lazyLoadingPath")+t+".js"})};this.isExecWaitingLazyloading=function(){return 0!==o},e.exec=this.exec=function(n,i,a,u){var d=null,p=function(e,n,i,r){n=n.split("."),s(e)&&t[e][n[0]]&&(d=1<n.length&&t[e][n[0]][n[1]]?t[e][n[0]][n[1]].apply(t[e],i):t[e][n[0]].apply(t[e],i)),r&&r(d)},h=function(t,n,i,s){var a;r[a=t]?r[a]++:r[a]=1,o++,e.onTrigger("Tracker:Plugin:Load:"+t+":Ok",function(){p(t,n,i,function(n){r[t]--,0==--o&&e.emit("Tracker:Plugin:Lazyload:Exec:Complete",{lvl:"INFO",msg:"All exec waiting for lazyloading are done"}),s&&s(n)})},!0)};l(n)?(h(n,i,a,u),f(n)):c(n)?h(n,i,a,u):p(n,i,a,u)},this.waitForDependencies=function(n,i){var r,o=function(e){for(var n={mcount:0,plugins:{}},i=0;i<e.length;i++)t.hasOwnProperty(e[i])||(n.mcount++,n.plugins[e[i]]=!0);return n}(n);if(0===o.mcount)e.emit("Tracker:Plugin:Dependencies:Loaded",{lvl:"INFO",details:{dependencies:n}}),i();else for(var s in o.plugins)o.plugins.hasOwnProperty(s)&&(e.emit("Tracker:Plugin:Dependencies:Error",{lvl:"WARNING",msg:"Missing plugin "+s}),e.onTrigger("Tracker:Plugin:Load:"+s,function(e,t){var n=e.split(":"),r=n[3];"Ok"===n[4]&&(o.plugins[r]=!1,0==--o.mcount&&i())},!0),l(r=s)&&f(r))},this.init=function(){for(var e in Echo1200ATInternet.Tracker.pluginProtos)Echo1200ATInternet.Tracker.pluginProtos.hasOwnProperty(e)&&u(e,Echo1200ATInternet.Tracker.pluginProtos[e])}},o=function(e){var t=this,n={},i=function(e){if(e.name){var n=!0;if("undefined"!=typeof configuration&&(configuration.include instanceof Array&&-1===Echo1200ATInternet.Utils.arrayIndexOf(configuration.include,e.name)&&(n=!1),configuration.exclude instanceof Array&&-1!==Echo1200ATInternet.Utils.arrayIndexOf(configuration.exclude,e.name)&&(n=!1)),Echo1200ATInternet.Callbacks&&Echo1200ATInternet.Callbacks.hasOwnProperty(e.name)){var i={};i[e.name]={function:Echo1200ATInternet.Callbacks[e.name]},n&&t.load(e.name,i[e.name].function),Echo1200ATInternet.Tracker.callbackProtos[e.name]||(Echo1200ATInternet.Tracker.callbackProtos[e.name]=i[e.name])}}};t.load=function(t,n){return"function"==typeof n?(new n(e),e.emit("Tracker:Callback:Load:"+t+":Ok",{lvl:"INFO",details:{obj:n}})):e.emit("Tracker:Callback:Load:"+t+":Error",{lvl:"ERROR",msg:"not a function",details:{obj:n}}),e},t.init=function(){if(e.getConfig("activateCallbacks")){var r=e.getConfig("callbacks");if(void 0!==r&&r.include instanceof Array)for(var o=0;o<r.include.length;o++)Echo1200ATInternet.Callbacks&&Echo1200ATInternet.Callbacks.hasOwnProperty(r.include[o])&&(n[r.include[o]]={function:Echo1200ATInternet.Callbacks[r.include[o]]},Echo1200ATInternet.Tracker.callbackProtos[r.include[o]]||(Echo1200ATInternet.Tracker.callbackProtos[r.include[o]]=n[r.include[o]]));else for(o in Echo1200ATInternet.Callbacks)Echo1200ATInternet.Callbacks.hasOwnProperty(o)&&(n[o]={function:Echo1200ATInternet.Callbacks[o]},Echo1200ATInternet.Tracker.callbackProtos[o]||(Echo1200ATInternet.Tracker.callbackProtos[o]=n[o]));if(void 0!==r&&r.exclude instanceof Array)for(o=0;o<r.exclude.length;o++)n[r.exclude[o]]&&(n[r.exclude[o]]=void 0);for(var s in n)n.hasOwnProperty(s)&&n[s]&&t.load(s,n[s].function);Echo1200ATInternet.Utils.addCallbackEvent(i)}},t.removeCallbackEvent=function(){Echo1200ATInternet.Utils.removeCallbackEvent(i)}},s=function(e){var t={};this.set=function(e,n,i){(i=i||{}).hitType=i.hitType||["page"],t[e]={value:n,options:i}};var n=function(e,t,n){return(e=window.Echo1200ATInternet.Utils.cloneSimpleObject(e[t]))&&!n?e.value:e};this.get=function(e,i){var r={};if("string"==typeof e)r=n(t,e,i);else for(var o=function e(n,i){if(!(n&&i instanceof Array&&n instanceof Array))return[];if(0===n.length)return i;var r,o=n[0],s=[],a=window.Echo1200ATInternet.Utils.cloneSimpleObject(n);a.shift();for(var u=0;u<i.length;u++)if("object"!=typeof o[1])t[i[u]]&&t[i[u]].options[o[0]]===o[1]&&s.push(i[u]);else{r=o[1].length;for(var c=0;c<r;c++)if(t[i[u]]&&t[i[u]].options[o[0]]instanceof Array&&0<=window.Echo1200ATInternet.Utils.arrayIndexOf(t[i[u]].options[o[0]],o[1][c])){s.push(i[u]);break}}return e(a,s)}(e,window.Echo1200ATInternet.Utils.getObjectKeys(t)),s=0;s<o.length;s++)r[o[s]]=n(t,o[s],i);return r},this.presentInFilters=function e(t,n){return!(!t||0===t.length)&&(t[0][0]===n||e(t.slice(1),n))},this.addInFilters=function e(t,n,i,r){if(!t||0===t.length)return r?[]:[[n,i]];var o=t[0][0],s=t[0][1];return o===n&&(s instanceof Array&&-1===window.Echo1200ATInternet.Utils.arrayIndexOf(s,i[0])&&s.push(i[0]),r=!0),[[o,s]].concat(e(t.slice(1),n,i,r))},this.del=function(e){t[e]=void 0},this.clear=function(){t={}}};Echo1200ATInternet.Tracker.Tag=function(e,a,u){a=a||{};var c=this;c.version="5.17.1";var l=window.Echo1200ATInternet.Utils.cloneSimpleObject(a);c.triggers=new i(c),c.emit=c.triggers.emit,c.onTrigger=c.triggers.on;var f,d=window.Echo1200ATInternet.Utils.cloneSimpleObject(t)||{};for(f in e)e.hasOwnProperty(f)&&(d[f]=e[f]);c.getConfig=function(e){return d[e]},c.setConfig=function(e,t,n){void 0!==d[e]&&n||(c.emit("Tracker:Config:Set:"+e,{lvl:"INFO",details:{bef:d[e],aft:t}}),d[e]=t)},c.configPlugin=function(e,t,n){for(var i in d[e]=d[e]||{},t)t.hasOwnProperty(i)&&void 0===d[e][i]&&(d[e][i]=t[i]);return n&&(n(d[e]),c.onTrigger("Tracker:Config:Set:"+e,function(e,t){n(t.details.aft)})),d[e]},c.getContext=function(e){return l[e]},c.setContext=function(e,t){c.emit("Tracker:Context:Set:"+e,{lvl:"INFO",details:{bef:l[e],aft:t}}),l[e]=t},c.delContext=function(e,t){if(c.emit("Tracker:Context:Deleted:"+e+":"+t,{lvl:"INFO",details:{key1:e,key2:t}}),e)l.hasOwnProperty(e)&&(t?l[e]&&l[e].hasOwnProperty(t)&&(l[e][t]=void 0):l[e]=void 0);else if(t)for(var n in l)l.hasOwnProperty(n)&&l[n]&&l[n].hasOwnProperty(t)&&(l[n][t]=void 0)},c.plugins=new r(c),c.buffer=new s(c),c.setParam=c.buffer.set,c.getParams=function(e){return c.buffer.get(e,!1)},c.getParam=c.buffer.get,c.delParam=c.buffer.del,c.builder=new n(c),c.sendHit=c.builder.send,c.sendUrl=c.builder.sendUrl,c.callbacks=new o(c),c.setParam("ts",function(){return(new Date).getTime()},{permanent:!0,hitType:["all"]}),(c.getConfig("disableCookie")||c.getConfig("disableStorage"))&&c.setParam("idclient","Consent-NO",{permanent:!0,hitType:["all"]}),c.getConfig("medium")&&c.setParam("medium",c.getConfig("medium"),{permanent:!0,hitType:["all"]}),c.plugins.init(),c.callbacks.init(),Echo1200ATInternet.Tracker.instances.push(c),c.emit("Tracker:Ready",{lvl:"INFO",msg:"Tracker initialized",details:{tracker:c,args:{config:e,context:a,callback:u}}}),u&&u(c)},Echo1200ATInternet.Tracker.instances=[],Echo1200ATInternet.Tracker.pluginProtos={},Echo1200ATInternet.Tracker.addPlugin=function(e,t){if(t=t||Echo1200ATInternet.Tracker.Plugins[e],!Echo1200ATInternet.Tracker.pluginProtos[e]){Echo1200ATInternet.Tracker.pluginProtos[e]=t;for(var n=0;n<Echo1200ATInternet.Tracker.instances.length;n++)Echo1200ATInternet.Tracker.instances[n].plugins.load(e,t)}},Echo1200ATInternet.Tracker.delPlugin=function(e){if(Echo1200ATInternet.Tracker.pluginProtos[e]){Echo1200ATInternet.Tracker.pluginProtos[e]=void 0;for(var t=0;t<Echo1200ATInternet.Tracker.instances.length;t++)Echo1200ATInternet.Tracker.instances[t].plugins.unload(e)}},Echo1200ATInternet.Tracker.callbackProtos={}}.call(window),function(){var e={lifetime:30,lastPersistence:!0,listEventsForExec:[],domainAttribution:!0,info:!0};window.Echo1200ATInternet.Tracker.Plugins.Campaigns=function(t){t.setConfig("visitLifetime",30,!0),t.setConfig("redirectionLifetime",30,!0);var n,i,r={};t.configPlugin("Campaigns",e,function(e){r=e});var o,s,a,u,c,l,f,d,p,h,_,g,v,m=function(){var e=function(e){var t="";return e&&(t=isNaN(e)&&-1===e.search(/\[(.*?)\]/g)?"["+e+"]":e),t},n=function(e){for(;"-"===e.charAt(e.length-1);)e=e.substring(0,e.length-1);return e};this.SponsoredLinks=function(){var i={google:"goo",yahoo:"ysm",miva:"miv",orange:"wan",msn:"msn",mirago:"mir",sklik:"skl",adfox:"adf",etarget:"etg",yandex:"yan",ebay:"eba",searchalliance:"sal",bing:"bin",naver:"nav",baidu:"bdu",qwant:"qwt"},r={search:"s",content:"c"};this.at_medium="sl",this.at_term=this.at_network=this.at_variant=this.at_creation=this.at_platform=this.at_campaign="",this.format=function(){var t=e(this.at_campaign),o=i[this.at_platform]||"",s=e(this.at_creation),a=e(this.at_variant),u=r[this.at_network]||"",c=e(this.at_term);return n("sec-"+t+"-"+o+"-"+s+"-"+a+"-"+u+"-"+c)},this.setProperties=function(e){this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_platform=t.utils.getQueryStringValue("at_platform",e)||"",this.at_creation=t.utils.getQueryStringValue("at_creation",e)||"",this.at_variant=t.utils.getQueryStringValue("at_variant",e)||"",this.at_network=t.utils.getQueryStringValue("at_network",e)||"",this.at_term=t.utils.getQueryStringValue("at_term",e)||""}},this.Email=function(){var i={acquisition:"erec",retention:"epr",promotion:"es"};this.at_medium="email",this.at_send_time=this.at_recipient_list=this.at_recipient_id=this.at_link=this.at_send_date=this.at_creation=this.at_campaign=this.at_emailtype="",this.format=function(){var t=(t=i[this.at_emailtype]||i.promotion)+"-"+e(this.at_campaign)+"-"+e(this.at_creation)+"-"+this.at_send_date+"-"+e(this.at_link)+"-"+this.at_recipient_id+(this.at_recipient_list?"@"+this.at_recipient_list:"")+"-"+this.at_send_time;return n(t)},this.setProperties=function(e){this.at_emailtype=t.utils.getQueryStringValue("at_emailtype",e)||"",this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_creation=t.utils.getQueryStringValue("at_creation",e)||"",this.at_send_date=t.utils.getQueryStringValue("at_send_date",e)||"",this.at_link=t.utils.getQueryStringValue("at_link",e)||"",this.at_recipient_id=t.utils.getQueryStringValue("at_recipient_id",e)||"",this.at_recipient_list=t.utils.getQueryStringValue("at_recipient_list",e)||"",this.at_send_time=t.utils.getQueryStringValue("at_send_time",e)||""}},this.Affiliate=function(){this.at_medium="affiliate",this.at_variant=this.at_creation=this.at_format=this.at_identifier=this.at_type=this.at_campaign="",this.format=function(){var t=e(this.at_campaign),i=e(this.at_type),r=e(this.at_identifier),o=e(this.at_format),s=e(this.at_creation),a=e(this.at_variant);return n("al-"+t+"-"+i+"-"+r+"-"+o+"-"+s+"-"+a)},this.setProperties=function(e){this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_type=t.utils.getQueryStringValue("at_type",e)||"",this.at_identifier=t.utils.getQueryStringValue("at_identifier",e)||"",this.at_format=t.utils.getQueryStringValue("at_format",e)||"",this.at_creation=t.utils.getQueryStringValue("at_creation",e)||"",this.at_variant=t.utils.getQueryStringValue("at_variant",e)||""}},this.Display=function(){this.at_medium="display",this.at_detail_placement=this.at_general_placement=this.at_channel=this.at_format=this.at_variant=this.at_creation=this.at_campaign="",this.format=function(){var t=e(this.at_campaign),i=e(this.at_creation),r=e(this.at_variant),o=e(this.at_format),s=e(this.at_channel),a=e(this.at_general_placement),u=e(this.at_detail_placement);return n("ad-"+t+"-"+i+"-"+r+"-"+o+"-"+s+"-"+a+"-"+u)},this.setProperties=function(e){this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_creation=t.utils.getQueryStringValue("at_creation",e)||"",this.at_variant=t.utils.getQueryStringValue("at_variant",e)||"",this.at_format=t.utils.getQueryStringValue("at_format",e)||"",this.at_channel=t.utils.getQueryStringValue("at_channel",e)||"",this.at_general_placement=t.utils.getQueryStringValue("at_general_placement",e)||"",this.at_detail_placement=t.utils.getQueryStringValue("at_detail_placement",e)||""}},this.Custom=function(){this.at_custom4=this.at_custom3=this.at_custom2=this.at_custom1=this.at_campaign=this.at_medium="",this.format=function(){var t="";/\d+$/.test(this.at_medium)&&(t=/\d+$/.exec(this.at_medium)[0]),t="cs"+t;var i=e(this.at_campaign),r=e(this.at_custom1),o=e(this.at_custom2),s=e(this.at_custom3),a=e(this.at_custom4);return n(t+"-"+i+"-"+r+"-"+o+"-"+s+"-"+a)},this.setProperties=function(e){this.at_medium=t.utils.getQueryStringValue("at_medium",e)||"",this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_custom1=t.utils.getQueryStringValue("at_custom1",e)||"",this.at_custom2=t.utils.getQueryStringValue("at_custom2",e)||"",this.at_custom3=t.utils.getQueryStringValue("at_custom3",e)||"",this.at_custom4=t.utils.getQueryStringValue("at_custom4",e)||""}},this.medium={sl:this.SponsoredLinks,email:this.Email,affiliate:this.Affiliate,display:this.Display}},E=function(e,r){var o=t.storage[i](e);return null!==o?"object"==typeof o&&!(o instanceof Array):(t.storage[n](e,{},r),!0)},y=function(e,n){var i=t.getContext("campaigns")||{};i[e]=n,t.setContext("campaigns",i)};t.plugins.waitForDependencies(["Storage","Utils"],function(){n="set"+(r.domainAttribution?"":"Private"),i="get"+(r.domainAttribution?"":"Private"),o=t.storage[i](["atredir","gopc"]),s=t.storage[i](["atredir","gopc_err"]),a=t.storage[i](["atredir","camp"]),t.storage.del(["atredir","gopc"]),t.storage.del(["atredir","gopc_err"]),t.storage.del(["atredir","camp"]),u=t.storage[i](["atsession","histo_camp"]),c=t.storage[i](["atreman","camp"]),l=t.storage[i](["atreman","date"]);var e,b=t.utils.getLocation();if(S=t.utils.getQueryStringValue("at_medium",b)){var S,A=new m;(S="function"==typeof A.medium[S]?new A.medium[S]:new A.Custom).setProperties(b),f=S.format()}else f=t.utils.getQueryStringValue("xtor",b);d=t.utils.getQueryStringValue("xtdt",b),p=t.utils.getQueryStringValue("xts",b),h=t.getContext("forcedCampaign"),_=!!t.getConfig("redirect"),v=!1,(g=!!(f&&d&&p))&&(b=(new Date).getTime()/6e4,v=!_&&p!==t.getConfig("site")||b-d<0||b-d>=t.getConfig("visitLifetime")),b=h||a||f,_&&b&&E("atredir",{path:"/",end:t.getConfig("redirectionLifetime")})&&(t.storage[n](["atredir","camp"],b),S=b=!1,h||(S=a?(b=o,s):(b=g,v)),t.storage[n](["atredir","gopc"],b),t.storage[n](["atredir","gopc_err"],S)),!_&&c&&(y("xtor",c),b=(new Date).getTime()/36e5,b=Math.floor(b-l),y("roinbh",0<=b?b:0)),_||(b=null,b=a?o?h||b:h||a:g?h:h||f||b,u&&u instanceof Array&&-1<u.indexOf(b)&&(b=null),b&&y("xto",b)),_||h||(a?s&&(e=a):v&&(e=f),e&&y("pgt",e)),_||!(e=a?h||a:h||f||null)||!h&&!a&&g&&v||!h&&a&&o&&s||((!u||u instanceof Array&&u.indexOf(e)<0)&&E("atsession",{path:"/",session:60*t.getConfig("visitLifetime")})&&t.storage[n](["atsession","histo_camp"],u&&u.push(e)?u:[e]),c&&!r.lastPersistence||!E("atreman",{path:"/",session:86400*r.lifetime})||(t.storage[n](["atreman","camp"],e),t.storage[n](["atreman","date"],(new Date).getTime()/36e5))),t.emit("Campaigns:process:done",{lvl:"INFO"})})},window.Echo1200ATInternet.Tracker.addPlugin("Campaigns")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.Clicks=function(e){var t=function(e){var t="";switch(e){case"exit":t="S";break;case"download":t="T";break;case"action":t="A";break;case"navigation":t="N"}return t},n=function(t){var n=t.name;return e.exec("Utils","manageChapters",[t,"chapter",3],function(e){n=e+(n||"")}),n},i=function(i){var r={p:n(i),s2:i.level2||"",click:t(i.type)||""},o=["click"],s=e.getContext("page")||{};r.pclick=n(s),r.s2click=s.level2||"";var a=!1;(s=i.customObject)&&(a=!0,s=e.processTagObject("stc",o,s),r.stc={value:Echo1200ATInternet.Utils.jsonSerialize(s),options:{hitType:o,encode:!0,separator:",",truncate:!0}}),e.sendHit(r,[["hitType",o]],i.callback,null,a)};e.click={},e.clickListener=this.clickListener={},e.click.send=this.send=function(t){var n=!0,r=null;return t&&t.hasOwnProperty("event")&&(r=t.event||window.event),!Echo1200ATInternet.Utils.isTabOpeningAction(r)&&t.elem&&(n=e.techClicks.manageClick(t.elem,r)),i(t),n},e.clickListener.send=this.clickListener.send=function(t){if(t.elem){var n="click";e.plugins.exec("TechClicks","isFormSubmit",[t.elem],function(e){n=e?"submit":"click"}),Echo1200ATInternet.Utils.addEvtListener(t.elem,n,function(n){Echo1200ATInternet.Utils.isTabOpeningAction(n)||e.techClicks.manageClick(t.elem,n),i(t)})}},e.click.set=this.set=function(i){e.dispatchSubscribe("click"),e.setContext("click",{name:n(i),level2:i.level2||"",customObject:i.customObject}),e.setParam("click",t(i.type)||"",{hitType:["click"]})},e.click.onDispatch=this.onDispatch=function(t){var i=["click"],r=e.getContext("click")||{},o=e.getContext("page")||{};e.setParam("pclick",n(o),{hitType:i}),e.setParam("s2click",o.level2||"",{hitType:i}),e.setParam("p",r.name,{hitType:i}),e.setParam("s2",r.level2,{hitType:i}),(r=r.customObject)?e.processContextObjectAndSendHit("stc",{hitType:i,encode:!0,separator:",",truncate:!0},r,t):e.manageSend(function(){e.sendHit(null,[["hitType",i]],t)}),e.setContext("click",void 0)}},window.Echo1200ATInternet.Tracker.addPlugin("Clicks")}.call(window),function(){var e={clientSideMode:"always",userIdCookieDuration:397,userIdExpirationMode:"relative",optOut:"OPT-OUT",userIdStorageName:"atuserid",optOutStorageName:"atoptedout",info:!0};window.Echo1200ATInternet.Tracker.Plugins.ClientSideUserId=function(t){var n={},i=void 0,r=null,o=!1,s=!1,a=!1,u="",c="",l=!1,f=!1,d=-1;t.configPlugin("ClientSideUserId",e,function(e){n=e});var p=function(){if("relative"===n.userIdExpirationMode||"fixed"===n.userIdExpirationMode&&null===r||l){var e=new Date;e.setTime(e.getTime()+864e5*n.userIdCookieDuration),t.storage.set(c,u,{end:e,path:"/"},f),e=t.storage.get(c,!0),Echo1200ATInternet.Utils.consent&&!l&&u!==e&&t.setParam("idclient",u+"-NO",{multihit:!0,permanent:!0,hitType:["all"]})}},h=function(){t.setParam("idclient",u,{multihit:!0,permanent:!0,hitType:["all"]}),p()},_=function(){i=t.getContext("userIdentifier"),r=t.storage.get("atuserid");var e=!1;if("required"===n.clientSideMode){var d="";window.navigator&&(d=window.navigator.userAgent),(/Safari/.test(d)&&!/Chrome/.test(d)||/iPhone|iPod|iPad/.test(d))&&(e=!0)}else"always"===n.clientSideMode&&(e=!0);o=e,(e=!1)===(d=Echo1200ATInternet.Utils.optedOut)&&(t.storage.del("atoptedout"),t.getParam("idclient")===n.optOut&&t.delParam("idclient"));var p=t.storage.get("atoptedout",!0);!0!==d&&p!==n.optOut||(e=!0),e&&(Echo1200ATInternet.Utils.optedOut=!0),s=e,a=void 0!==i,(o||s||a)&&(c=n.userIdStorageName,f=l=!1,s?(u=n.optOut,c=n.optOutStorageName,f=l=!0):t.getConfig("disableCookie")||t.getConfig("disableStorage")?(u=t.getParam("idclient"),l=!0):a?(u=i,l=!0):u=null!==r?r:Echo1200ATInternet.Utils.uuid().v4(),h())},g=function(e){e&&(e=e.detail)&&"clientsideuserid"===e.name&&e.id===d&&_()};t.plugins.waitForDependencies(["Storage"],function(){var e=Echo1200ATInternet.Utils.uuid();d=parseInt(e.num(8)),Echo1200ATInternet.Utils.removeOptOutEvent(g),Echo1200ATInternet.Utils.addOptOutEvent(d,g),_()}),t.clientSideUserId={},t.clientSideUserId.set=function(e){s||(u=e,l=!0,c=n.userIdStorageName,f=!1,h())},t.clientSideUserId.store=function(){f=l=!0,p()},t.clientSideUserId.get=function(){return u}},window.Echo1200ATInternet.Tracker.addPlugin("ClientSideUserId")}.call(window),function(){var e={domainAttribution:!0,info:!0};window.Echo1200ATInternet.Tracker.Plugins.ContextVariables=function(t){var n,i="",r=null,o="",s="",a={};t.configPlugin("ContextVariables",e,function(e){a=e}),t.setConfig("redirectionLifetime",30,!0);var u=function(e,n){return i="Utils",r=e,o=n,s=null,t.plugins.exec(i,r,o,function(e){s=e}),s;var i,r,o,s},c=function(e,n){var i=null;return t.plugins.exec("Storage",e,n,function(e){i=e}),i};t.plugins.waitForDependencies(["Storage","Utils"],function(){o="set"+(a.domainAttribution?"":"Private"),s="get"+(a.domainAttribution?"":"Private");var e,l=u("getLocation",[]);if(void 0===(i=u("getQueryStringValue",["xtref",l]))&&(i=""),n=t.getContext("forcedReferer"),t.getConfig("redirect")){var f;if(l=u("getDocumentLevel",[]),f=l=n||(null!==i?i:l?l.referrer:"acc_dir")){f={path:"/",end:t.getConfig("redirectionLifetime")};var d=c(s,["atredir"]);f=null!==d?"object"==typeof d&&!(d instanceof Array):(c(o,["atredir",{},f]),!0)}f&&c(o,[["atredir","ref"],l])}else{r=c(s,[["atredir","ref"]]),c("del",[["atredir","ref"]]),t.setParam("vtag",t.version,{permanent:!0,hitType:["all"]}),t.setParam("ptag","js",{permanent:!0,hitType:["all"]}),l="";try{l+=window.screen.width+"x"+window.screen.height+"x"+window.screen.pixelDepth+"x"+window.screen.colorDepth}catch(e){}t.setParam("r",l,{permanent:!0,hitType:["all"]}),l="",window.innerWidth?l+=window.innerWidth+"x"+window.innerHeight:document.body&&document.body.offsetWidth&&(l+=document.body.offsetWidth+"x"+document.body.offsetHeight),t.setParam("re",l,{permanent:!0,hitType:["all"]}),t.setParam("hl",function(){var e=new Date;return e.getHours()+"x"+e.getMinutes()+"x"+e.getSeconds()},{permanent:!0,hitType:["all"]}),window.navigator&&t.setParam("lng",window.navigator.language||window.navigator.userLanguage,{permanent:!0,hitType:["all"]}),l=Echo1200ATInternet.Utils.uuid().num(13),t.setParam("idp",l,{permanent:!0,hitType:["page","clickzone"]}),window.navigator&&t.setParam("jv",window.navigator.javaEnabled()?"1":"0",{hitType:["page"]}),l=u("getDocumentLevel",[]),t.setParam("ref",(e=l,(e=n||("acc_dir"===i?"":null!==i?i:"acc_dir"===r?"":r||(e?e.referrer:"")))&&(e=e.replace(/[<>]/g,"").substring(0,1600).replace(/&/g,"$")),e),{permanent:!0,last:!0,hitType:["page"]})}t.emit("ContextVariables:Ready",{lvl:"INFO"})})},window.Echo1200ATInternet.Tracker.addPlugin("ContextVariables")}.call(window),function(){var e={storageCapacity:1,timeout:500,info:!0};window.Echo1200ATInternet.Tracker.Plugins.Offline=function(t){var n={};t.configPlugin("Offline",e,function(e){n=e});var i=function(){var e=localStorage.getItem("ATOffline"),t={hits:[],length:0};if(e){var n=Echo1200ATInternet.Utils.jsonParse(e)||{hits:[]};t.hits=n.hits,t.length=e.length}return t},r=function(e){try{localStorage.setItem("ATOffline",Echo1200ATInternet.Utils.jsonSerialize(e))}catch(e){}},o=function(){return i().hits},s=function(e){if(e){e=e.split(/&ref=\.*/i);var t="&cn=offline&olt="+String(Math.floor((new Date).getTime()/1e3));e=e[0]+t+"&ref="+(e[1]||"")}return e},a=function(e){var t=i(),o=e.length,s=!0;if(4*((t.length||11)+o)>1048576*n.storageCapacity){s=!1;var a=t.hits.shift();if(void 0!==a){s=!0;for(var u=a.length;u<o;){if(void 0===(a=t.hits.shift())){s=!1;break}u+=a.length}}}s&&(t.hits.push(e),r({hits:t.hits}))},u=function(e,i){if(window.navigator&&window.navigator.onLine){var c=o();if(0<c.length){var l=c.shift();r({hits:c}),t.onTrigger("Tracker:Hit:Sent:Ok",function(){u(e,i)},!0),t.onTrigger("Tracker:Hit:Sent:Error",function(){u(e,i)},!0),t.sendUrl(l)}else if(e){var f=null;t.plugins.exec("Utils","getQueryStringValue",["a",e],function(e){f=e}),f?setTimeout(function(){t.sendUrl(e,i)},n.timeout):t.sendUrl(e,i)}}else e&&(a(s(e)),i&&i())},c=function(e){t.builder.sendUrl=function(t,n){e||window.navigator&&!window.navigator.onLine?(a(s(t)),n&&n()):u(t,n)}};t.offline={},t.offline.getLength=function(){return 4*i().length},t.offline.remove=function(){r({hits:[]})},t.offline.get=o,t.offline.send=function(){u(null,null)},t.plugins.waitForDependencies(["Utils"],function(){var e,i=Echo1200ATInternet.Utils.isLocalStorageAvailable();window.navigator&&(e=window.navigator.onLine),i&&void 0!==e&&("required"===n.storageMode?c(!1):"always"===n.storageMode&&c(!0)),t.emit("Offline:Ready",{lvl:"INFO",details:{isLocalStorageAvailable:i,storageMode:n.storageMode,isOnline:e}})})},window.Echo1200ATInternet.Tracker.addPlugin("Offline")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.OnSiteAds=function(e){var t="",n=function(t){var n=t.name;return e.exec("Utils","manageChapters",[t,"chapter",3],function(e){n=e+(n||"")}),n},i=function(e,t){return e[t]?e[t]:""},r=function(e,t){if(r=i(e,t)){var n=i(e,"prefix");if(r.campaignId){n=n||"PUB";var r,o=i(r,"campaignId"),s=i(r,"creation");return n+"-"+o+"-"+s+"-"+i(r,"variant")+"-"+i(r,"format")+"-"+i(r,"generalPlacement")+"-"+i(r,"detailedPlacement")+"-"+i(r,"advertiserId")+"-"+(r=i(r,"url"))}if(r.adId)return(n=n||"INT")+"-"+(o=i(r,"adId"))+"-"+(s=i(r,"format"))+"||"+(r=i(r,"productId"))}return""},o=function(t,n){var i=e.buffer.get("ati",!0)||{};i.value="string"==typeof i.value?[i.value]:i.value||[],i.options=i.options||{truncate:!0,hitType:[n,"page"]},i.value.push(t),e.buffer.set("ati",i.value,i.options)},s=function(t,n){if(t.click?e.setParam("atc",r(t,"click"),{truncate:!0,hitType:[n,"page"]}):t.impression&&e.setParam("ati",r(t,"impression"),{truncate:!0,hitType:[n,"page"]}),t.customObject){e.setContext("onsiteads",{customObject:t.customObject});var i=e.getContext("page")||{};i.customObject=Echo1200ATInternet.Utils.completeFstLevelObj(i.customObject,t.customObject,!1),e.setContext("page",i)}e.dispatchSubscribe("onSiteAds")};e.selfPromotion=this.selfPromotion={},e.publisher=this.publisher={},e.publisher.set=this.publisher.set=function(e){s(e,"publisher")},e.selfPromotion.set=this.selfPromotion.set=function(e){s(e,"selfPromotion")},e.publisher.add=this.publisher.add=function(t){o(r(t,"impression"),"publisher"),e.dispatchSubscribe("onSiteAds")},e.selfPromotion.add=this.selfPromotion.add=function(t){o(r(t,"impression"),"selfPromotion"),e.dispatchSubscribe("onSiteAds")};var a=this.advertEvent=function(t){var i=!0,o=null;if(t&&t.hasOwnProperty("event")&&(o=t.event||window.event),!Echo1200ATInternet.Utils.isTabOpeningAction(o)&&t.elem&&(i=e.techClicks.manageClick(t.elem,o)),t.click){o=["onSiteAdsClick"];var s=e.getContext("page")||{},a={};a.atc={value:r(t,"click"),options:{truncate:!0}},a.type="AT",a.patc=n(s),a.s2atc=s.level2||"",(s=t.customObject)&&(s=e.processTagObject("stc",o,s),a.stc={value:Echo1200ATInternet.Utils.jsonSerialize(s),options:{hitType:o,encode:!0,separator:",",truncate:!0}}),e.sendHit(a,[["hitType",o]],t.callback,null,!0)}else t.impression&&function(t){var n=["onSiteAdsImpression"],i={};i.ati={value:r(t,"impression"),options:{hitType:n,truncate:!0}},i.type="AT",Echo1200ATInternet.Utils.isPreview()&&e.getConfig("preview")&&(i.pvw=1);var o=t.customObject;o&&(o=e.processTagObject("stc",n,o),i.stc={value:Echo1200ATInternet.Utils.jsonSerialize(o),options:{hitType:n,encode:!0,separator:",",truncate:!0}}),e.manageSend(function(){e.sendHit(i,[["hitType",n]],t.callback,null,!0)})}(t);return i};e.publisher.send=this.publisher.send=function(e){return a(e)},e.selfPromotion.send=this.selfPromotion.send=function(e){return a(e)},e.onSiteAds={},e.onSiteAds.onDispatch=this.onDispatch=function(t){if(!e.dispatchSubscribed("page")){e.setParam("type","AT",{hitType:["publisher","selfPromotion"]});var i=e.getContext("page")||{};e.getParam("atc")&&(e.setParam("patc",n(i),{hitType:["publisher","selfPromotion"]}),e.setParam("s2atc",i.level2||"",{hitType:["publisher","selfPromotion"]})),Echo1200ATInternet.Utils.isPreview()&&e.getConfig("preview")&&e.setParam("pvw",1);var r=["publisher","selfPromotion"];(i=(e.getContext("onsiteads")||{}).customObject)?e.processContextObjectAndSendHit("stc",{hitType:r,encode:!0,separator:",",truncate:!0},i,t):e.manageSend(function(){e.sendHit(null,[["hitType",r]],t)})}},e.plugins.waitForDependencies(["Utils","TechClicks"],function(){t=document.location.href,e.plugins.exec("Utils","getQueryStringValue",["xtatc",t],function(t){t&&e.setParam("atc",t,{hitType:["publisher","selfPromotion","page"]})}),e.emit("OnSiteAds:Ready",{lvl:"INFO",details:{href:t}})})},window.Echo1200ATInternet.Tracker.addPlugin("OnSiteAds")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.Page=function(e){var t=["pageId","chapterLabel","update"],n=["pid","pchap","pidt"],i=["page","site"],r=["f","x"],o=function(t){var n=t.name;return e.exec("Utils","manageChapters",[t,"chapter",3],function(e){n=e+(n||"")}),n},s=function(e,t,n){return t?e=t:e||void 0===n||(e=n),e},a=function(e,t,n){t.hasOwnProperty(n)&&(e[n]=s(e[n],t[n]))},u=function(t,n,o){if(n)for(var s=0;s<i.length;s++)if(n.hasOwnProperty(i[s])&&n[i[s]])for(var a in n[i[s]])n[i[s]].hasOwnProperty(a)&&(o?t[r[s]+a]=n[i[s]][a]:e.setParam(r[s]+a,n[i[s]][a]))},c=function(i,r,o){if(r){e.exec("Utils","manageChapters",[r,"chapter",3],function(e){e&&(r.chapterLabel=e.replace(/::$/gi,""))});for(var s=0;s<n.length;s++)r.hasOwnProperty(t[s])&&(o?i[n[s]]=r[t[s]]:e.setParam(n[s],r[t[s]]))}},l=function(t,n,i){if(n&&n.keywords instanceof Array){var r=n.keywords.length;if(0<r){for(var o="",s=0;s<r;s++)o+="["+n.keywords[s]+"]"+(s<r-1?"|":"");i?t.tag=o:e.setParam("tag",o)}}},f=function(t,n,i){if(n){var r,o=function(e){return e||"0"};r=o(n.category1)+"-",r+=o(n.category2)+"-",r+=o(n.category3),i?t.ptype=r:e.setParam("ptype",r)}},d=function(t,n,i){if(n)for(var r in n)n.hasOwnProperty(r)&&void 0!==n[r]&&(i?t[r]=n[r]:e.setParam(r,n[r]))};e.customVars=this.customVars={},e.customVars.set=this.customVars.set=function(t){var n=e.getContext("page")||{},i=n.customVars;if(i){if(t)for(var r in t)t.hasOwnProperty(r)&&(i[r]=Echo1200ATInternet.Utils.completeFstLevelObj(i[r],t[r],!0))}else i=t;n.customVars=i,e.setContext("page",n)},e.dynamicLabel=this.dynamicLabel={},e.dynamicLabel.set=this.dynamicLabel.set=function(t){var n=e.getContext("page")||{};n.dynamicLabel=Echo1200ATInternet.Utils.completeFstLevelObj(n.dynamicLabel,t,!0),e.setContext("page",n)},e.tags=this.tags={},e.tags.set=this.tags.set=function(t){var n=e.getContext("page")||{};n.tags=Echo1200ATInternet.Utils.completeFstLevelObj(n.tags,t,!0),e.setContext("page",n)},e.customTreeStructure=this.customTreeStructure={},e.customTreeStructure.set=this.customTreeStructure.set=function(t){var n=e.getContext("page")||{};n.customTreeStructure=Echo1200ATInternet.Utils.completeFstLevelObj(n.customTreeStructure,t,!0),e.setContext("page",n)},e.page={},e.page.reset=this.reset=function(){e.setContext("page",void 0)},e.page.set=this.set=function(t){e.dispatchSubscribe("page");var n=e.getContext("page")||{};n.name=s(n.name,t.name,""),n.level2=s(n.level2,t.level2,""),a(n,t,"chapter1"),a(n,t,"chapter2"),a(n,t,"chapter3"),n.customObject=Echo1200ATInternet.Utils.completeFstLevelObj(n.customObject,t.customObject,!0),e.setContext("page",n)},e.page.send=this.send=function(t){var n=!0,i={p:o(t),s2:t.level2||""},r=t.customObject,p=!1;if(r){p=!0;var h=["page"];r=e.processTagObject("stc",h,r),i.stc={value:Echo1200ATInternet.Utils.jsonSerialize(r),options:{hitType:h,encode:!0,separator:",",truncate:!0}}}return(r=e.getContext("page")||{}).vrn&&(i.vrn=r.vrn,r.vrn=void 0,e.setContext("page",r)),void 0!==(h=e.getContext("InternalSearch")||{}).keyword&&(i.mc=Echo1200ATInternet.Utils.cloneSimpleObject(h.keyword),void 0!==h.resultPageNumber&&(i.np=Echo1200ATInternet.Utils.cloneSimpleObject(h.resultPageNumber)),e.setContext("InternalSearch",void 0)),Echo1200ATInternet.Utils.isPreview()&&e.getConfig("preview")&&(i.pvw=1),u(i,t.customVars,!0),c(i,t.dynamicLabel,!0),l(i,t.tags,!0),f(i,t.customTreeStructure,!0),h=e.getContext("campaigns")||{},d(i,h,!0),e.setContext("campaigns",void 0),h=null,t&&t.hasOwnProperty("event")&&(h=t.event||window.event),!Echo1200ATInternet.Utils.isTabOpeningAction(h)&&t.elem&&(n=e.techClicks.manageClick(t.elem,h)),e.manageSend(function(){e.sendHit(i,null,t.callback,null,p)}),r.name=s(r.name,t.name,""),r.level2=s(r.level2,t.level2,""),a(r,t,"chapter1"),a(r,t,"chapter2"),a(r,t,"chapter3"),e.setContext("page",r),n},e.page.onDispatch=this.onDispatch=function(t){var n=e.getContext("page")||{},i=e.getContext("InternalSearch")||{};e.setParam("p",o(n)),e.setParam("s2",n.level2||""),n.vrn&&(e.setParam("vrn",n.vrn),n.vrn=void 0,e.setContext("page",n)),void 0!==i.keyword&&(e.setParam("mc",Echo1200ATInternet.Utils.cloneSimpleObject(i.keyword)),void 0!==i.resultPageNumber&&e.setParam("np",Echo1200ATInternet.Utils.cloneSimpleObject(i.resultPageNumber)),e.setContext("InternalSearch",void 0)),Echo1200ATInternet.Utils.isPreview()&&e.getConfig("preview")&&e.setParam("pvw",1),u(null,n.customVars,!1),c(null,n.dynamicLabel,!1),l(null,n.tags,!1),f(null,n.customTreeStructure,!1),i=e.getContext("campaigns")||{},d(null,i,!1),e.setContext("campaigns",void 0);var r=["page"];(n=n.customObject)?e.processContextObjectAndSendHit("stc",{hitType:r,encode:!0,separator:",",truncate:!0},n,t):e.manageSend(function(){e.sendHit(null,[["hitType",r]],t)})}},window.Echo1200ATInternet.Tracker.addPlugin("Page")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.RichMedia=function(e){var t=function(e,t){var n=parseInt(e,10);return n?Math.max(n,t):0},n=new function(){this.media=function(){this.type=void 0,this.plyr=0,this.clnk=this.s2=void 0,this.p="",this.m9=this.m6=this.m5=this.m1=this.rfsh=this.buf=this.a=void 0},this.mediaAll={},this.setMediaValue=function(e,t,n,i){void 0!==i&&(this.mediaAll[e]=this.mediaAll[e]||{},this.mediaAll[e][t]=this.mediaAll[e][t]||new this.media,this.mediaAll[e][t][n]=i)},this.getMediaValue=function(e,t,n){if(this.mediaAll[e]&&this.mediaAll[e][t])return this.mediaAll[e][t][n]},this.removePlayer=function(e){this.mediaAll[e]={}},this.removeAll=function(){this.mediaAll={}}},i=new function(){this.timeout={},this.setTimeout=function(t,n,i){this.timeout[t]=this.timeout[t]||{},this.timeout[t][n]&&window.clearTimeout(this.timeout[t][n]),this.timeout[t][n]=window.setTimeout(function(){e.richMedia.send({action:"refresh",playerId:t,mediaLabel:n})},1e3*i)},this.setTimeoutObject=function(i,r,o){if(this.timeout[i]=this.timeout[i]||{},void 0===this.timeout[i][r]){var s,a=[];for(s in o)o.hasOwnProperty(s)&&a.push({delay:t(s,0),refresh:t(o[s],5)});a.sort(function(e,t){return e.delay<t.delay?-1:e.delay>t.delay?1:0}),this.timeout[i][r]={refreshTab:a,backupRefreshTab:Echo1200ATInternet.Utils.cloneSimpleObject(a),delayConfiguration:{}}}if(0<(o=this.timeout[i][r]).refreshTab.length&&(a=o.refreshTab[0].delay,s=o.refreshTab[0].refresh,"number"==typeof a&&"number"==typeof s&&0<s)){o.delayConfiguration[a]=o.delayConfiguration[a]||{};var u=void 0;void 0!==o.refreshTab[1]&&(u=o.refreshTab[1].delay);var c=0;void 0===u?c=1:"number"==typeof o.delayConfiguration[a].number?c="refresh"===n.getMediaValue(i,r,"a")?Math.max(o.delayConfiguration[a].number-1,0):o.delayConfiguration[a].number:"number"==typeof u&&(c=Math.floor(60*(u-a)/s)-1),o.delayConfiguration[a].number=c,o.delayConfiguration[a].timeout&&window.clearTimeout(o.delayConfiguration[a].timeout),0<c?o.delayConfiguration[a].timeout=window.setTimeout(function(){e.richMedia.send({action:"refresh",playerId:i,mediaLabel:r})},1e3*s):(o.delayConfiguration[a].number=void 0,o.delayConfiguration[a].timeout=void 0,o.refreshTab.splice(0,1),window.setTimeout(function(){e.richMedia.send({action:"refresh",playerId:i,mediaLabel:r})},1e3*s)),this.timeout[i][r]=o}},this.clearTimeout=function(e,t,n){this.timeout[e]=this.timeout[e]||{};var i=this.timeout[e][t];if("object"==typeof i){if("object"==typeof i.delayConfiguration){var r,o;for(o in i.delayConfiguration)i.delayConfiguration.hasOwnProperty(o)&&void 0!==(r=i.delayConfiguration[o].number)&&0<r&&(i.delayConfiguration[o].timeout&&window.clearTimeout(i.delayConfiguration[o].timeout),i.delayConfiguration[o].timeout=void 0);n&&(i.refreshTab=Echo1200ATInternet.Utils.cloneSimpleObject(i.backupRefreshTab)),this.timeout[e][t]=i}}else i&&window.clearTimeout(i)},this.removePlayer=function(t){for(var i in this.timeout[t])if(this.timeout[t].hasOwnProperty(i)){this.clearTimeout(t,i,!1);var r=n.getMediaValue(t,i,"a");void 0!==this.timeout[t][i]&&"stop"!==r&&e.richMedia.send({action:"stop",playerId:t,mediaLabel:i})}this.timeout[t]={}},this.removeAll=function(){for(var e in this.timeout)this.timeout.hasOwnProperty(e)&&this.removePlayer(e);this.timeout={}}},r=function(t,n,i){var r=t[i]||"";return e.exec("Utils","manageChapters",[t,n,3],function(e){r=e+r}),r},o=function(e,t,n,i){var r=e[t];return"boolean"==typeof e[t]&&(r=e[t]?i:n),r},s=function(e){var t=0;return/^(\-|\+)?([0-9]+)$/.test(e)&&(t=Number(e)),t},a=function(e,t,i,r,o){void 0!==(t=n.getMediaValue(t,i,r))&&(e[r]=o?encodeURIComponent(t):t)},u=function(e,t,n){void 0!==n&&(e[t]=n)};e.richMedia={},e.richMedia.add=function(e){var t=s((e=e||{}).playerId),i=r(e,"mediaTheme","mediaLabel"),a=o(e,"isEmbedded","int","ext");n.setMediaValue(t,i,"plyr",t),n.setMediaValue(t,i,"type",e.mediaType),n.setMediaValue(t,i,"s2",e.mediaLevel2),n.setMediaValue(t,i,"p",i),n.setMediaValue(t,i,"clnk",e.linkedContent||e.previousMedia),n.setMediaValue(t,i,"a",e.action),n.setMediaValue(t,i,"rfsh",e.refreshDuration),n.setMediaValue(t,i,"m1",e.duration),n.setMediaValue(t,i,"m5",a),n.setMediaValue(t,i,"m6",e.broadcastMode),n.setMediaValue(t,i,"m9",e.webdomain)},e.richMedia.send=function(c){var l=s((c=c||{}).playerId),f=r(c,"mediaTheme","mediaLabel"),d=c.action;n.setMediaValue(l,f,"a",d);var p={plyr:l,p:f};if(a(p,l,f,"a",!1),a(p,l,f,"type",!1),a(p,l,f,"s2",!1),a(p,l,f,"m1",!1),a(p,l,f,"m5",!1),a(p,l,f,"m6",!1),"play"===d||"info"===d){c=o(c,"isBuffering","0","1");var h=e.getContext("page")||{},_=r(h,"chapter","name")||void 0;h=h.level2||void 0,u(p,"buf",c),u(p,"prich",_),u(p,"s2rich",h),a(p,l,f,"clnk",!1),a(p,l,f,"m9",!0)}e.sendHit(p,[["hitType",["richmedia"]]]),"pause"===d?i.clearTimeout(l,f,!1):"stop"===d&&i.clearTimeout(l,f,!0),"play"!==d&&"refresh"!==d||("object"==typeof(d=n.getMediaValue(l,f,"rfsh"))&&null!==d?i.setTimeoutObject(l,f,d):0!==(d=t(d,5))&&i.setTimeout(l,f,d))},e.richMedia.remove=function(e){i.removePlayer(e),n.removePlayer(e)},e.richMedia.removeAll=function(){i.removeAll(),n.removeAll()}},window.Echo1200ATInternet.Tracker.addPlugin("RichMedia")}.call(window),function(){var e={info:!1};Echo1200ATInternet.Tracker.Plugins.Cookies=Echo1200ATInternet.Tracker.Plugins.Storage=function(t){var n=this,i=!1,r=null;t.configPlugin("Storage",e,function(e){"localStorage"===e.storageMode&&(i=Echo1200ATInternet.Utils.isLocalStorageAvailable())});var o={},s=function(e){return t.getConfig("base64Storage")?Echo1200ATInternet.Utils.Base64.encode(e):encodeURIComponent(e)},a=function(e){return t.getConfig("base64Storage")?Echo1200ATInternet.Utils.Base64.decode(e):decodeURIComponent(e)};r=i?new function(){var e=function(e){var t,n=+new Date,i=!1;return e.options&&(void 0!==e.options.expires?t=e.options.expires:"function"==typeof(e=e.options.end||{}).getTime?t=e.getTime():"number"==typeof e&&(t=n+1e3*e)),"number"==typeof t&&t<=n&&(i=!0),{itemToDelete:i,timestamp:t}},t=function(e){var t=!1;try{localStorage.removeItem(e),t=!0}catch(e){}return t};this.getData=function(n){var i=null;if(r=localStorage.getItem(n)){var r=a(r),o=Echo1200ATInternet.Utils.jsonParse(r);o&&"object"==typeof o?e(o).itemToDelete&&t(n)||(delete o.options.expires,i=Echo1200ATInternet.Utils.jsonSerialize(o)):i=r}return i},this.setData=function(n){var i=!1;if(n.name&&"string"==typeof n.name){var r=e(n);"number"==typeof r.timestamp&&(n.options.expires=r.timestamp);var o=Echo1200ATInternet.Utils.jsonSerialize(n);if(r.itemToDelete)i=t(n.name);else try{localStorage.setItem(n.name,s(o)),i=!0}catch(n){}}return i}}:new function(){this.getData=function(e){var t=null;return(e=RegExp("(?:^| )"+e+"=([^;]+)").exec(document.cookie)||null)&&(t=a(e[1])),t},this.setData=function(e){var n=!1;if(e.name&&"string"==typeof e.name){var i=e.options||{},r=i.end||{},o=i.domain||t.getConfig("cookieDomain"),a=i.secure||t.getConfig("cookieSecure"),u=Echo1200ATInternet.Utils.jsonSerialize(e);u=(u=(u=e.name+"="+s(u))+(i.path&&"string"==typeof i.path?";path="+i.path:""))+(o&&"string"==typeof o?";domain="+o:"")+(a&&"boolean"==typeof a?";secure":""),"function"==typeof r.toUTCString?u+=";expires="+r.toUTCString():"number"==typeof r&&(u+=";max-age="+r.toString()),document.cookie=u,this.getData(e.name)&&(n=!0)}return n}};var u=function(e,n){var i=!1;return!Echo1200ATInternet.Utils.consent&&!n||t.getConfig("disableCookie")||t.getConfig("disableStorage")||!e||"object"!=typeof e||(i=r.setData(e)),i},c=function(e,t,n){return e={name:e,val:t},n&&n.session&&"number"==typeof n.session&&(n.end=n.session),e.options=n||{},e},l=function(e){var n=null,i=null;return t.getConfig("disableCookie")||t.getConfig("disableStorage")||!e||"string"!=typeof e||(i=r.getData(e)),(e=i)&&(n=Echo1200ATInternet.Utils.jsonParse(e)),n},f=function(e,t){var n=Echo1200ATInternet.Utils.cloneSimpleObject(e);return u(n,t)?Echo1200ATInternet.Utils.jsonParse(Echo1200ATInternet.Utils.jsonSerialize(e)):null},d=function(e,t,n){return!n&&o[e]?n=o[e]:(n=l(e))&&(n.options=n.options||{},n.options.session&&"number"==typeof n.options.session&&(n.options.end=n.options.session,f(n,!1)),o[e]=n),n?t?(e=null,!n||"object"!=typeof n.val||n.val instanceof Array||void 0===n.val[t]||(e=n.val[t]),e):n.val:null},p=function(e,t,n,i,r){return t?(r=l(e))&&(!r||"object"!=typeof r.val||r.val instanceof Array?r=null:void 0===n?delete r.val[t]:r.val[t]=n,r&&(r=f(r,i))):(r=c(e,n,r=r||{}),r=f(r,i)),r?(o[e]=r).val:null},h=function(e,t){if(t)p(e,t,void 0,!1,null);else{o[e]=void 0;var n=c(e,"",{end:new Date("Thu, 01 Jan 1970 00:00:00 UTC"),path:"/"});u(n,!1)}};t.storage={},t.storage.get=n.get=function(e,t){return t=!!t,e instanceof Array?d(e[0],e[1],t):d(e,"",t)},t.storage.getPrivate=n.getPrivate=function(e,i){return e instanceof Array?e[0]+=t.getConfig("site"):e+=t.getConfig("site"),n.get(e,i)},t.storage.set=n.set=function(e,t,n,i){return e instanceof Array?p(e[0],e[1],t,i,null):p(e,null,t,i,n)},t.storage.setPrivate=n.setPrivate=function(e,i,r){return e instanceof Array?e[0]+=t.getConfig("site"):e+=t.getConfig("site"),n.set(e,i,r)},t.storage.del=n.del=function(e){e instanceof Array?h(e[0],e[1]):h(e,"")},t.storage.delPrivate=n.delPrivate=function(e){e instanceof Array?e[0]+=t.getConfig("site"):e+=t.getConfig("site"),n.del(e)},t.storage.cacheInvalidation=n.cacheInvalidation=function(){o={}}},Echo1200ATInternet.Tracker.addPlugin("Storage"),Echo1200ATInternet.Tracker.addPlugin("Cookies")}.call(window),function(){var e={clicksAutoManagementEnabled:!0,clicksAutoManagementTimeout:500,info:!1};window.Echo1200ATInternet.Tracker.Plugins.TechClicks=function(t){var n,i,r=this;t.configPlugin("TechClicks",e,function(e){n=e.clicksAutoManagementEnabled,i=e.clicksAutoManagementTimeout}),r.deactivateAutoManagement=function(){n=!1};var o=function(e){switch(e.target){case"_top":window.top.location.href=e.url;break;case"_parent":window.parent.location.href=e.url;break;default:window.location.href=e.url}},s=function(e){var t=e.timeout;e.mailto?r.timeout=setTimeout(function(){window.location.href=e.mailto},t):e.form?r.timeout=setTimeout(function(){e.form.submit()},t):e.url&&(r.timeout=setTimeout(function(){o({url:e.url,target:e.target})},t))};t.techClicks={},t.techClicks.manageClick=r.manageClick=function(e,a){var u=!0;if(n&&e){var c;e:{for(c=e;c;){if("function"==typeof c.getAttribute&&("_blank"===c.getAttribute("target")||"no"===c.getAttribute("data-atclickmanagement"))){c=!0;break e}c=c.parentNode}c=e;for(var l,f=window.location.href;c;){if((l=c.href)&&0<=l.indexOf("#")&&f.substring(0,0<=f.indexOf("#")?f.indexOf("#"):f.length)===l.substring(0,l.indexOf("#"))){c=!0;break e}c=c.parentNode}c=!1}if(f=function(e){for(;e;){if(e.href){if(0<=e.href.indexOf("mailto:"))return"mailto";if(0===e.href.indexOf("http"))return"redirection"}else if("FORM"===e.nodeName)return"form";e=e.parentNode}return""}(e),!c&&f){switch(f){case"mailto":!function(e){var n=e;for(e=n.timeoutonly;n&&!(n.href&&0<=n.href.indexOf("mailto:"));)n=n.parentNode;n&&(e||t.onTrigger("Tracker:Hit:Sent:Ok",function(){r.timeout&&clearTimeout(r.timeout),window.location.href=n.href}),s({mailto:n.href,timeout:i}))}(e),u=!1;break;case"form":!function(e){var n=e;for(e=n.timeoutonly;n&&"FORM"!==n.nodeName;)n=n.parentNode;n&&(e||t.onTrigger("Tracker:Hit:Sent:Ok",function(){r.timeout&&clearTimeout(r.timeout),n.submit()}),s({form:n,timeout:i}))}(e),u=!1;break;case"redirection":(function(e){for(var n,a="_self",u=e.timeoutonly;e;){if(e.href&&0===e.href.indexOf("http")){n=e.href.split('"').join('\\"'),a=e.target?e.target:a;break}e=e.parentNode}n&&(u||t.onTrigger("Tracker:Hit:Sent:Ok",function(){r.timeout&&clearTimeout(r.timeout),o({url:n,target:a})}),s({url:n,target:a,timeout:i}))})(e),u=!1}a&&(c=a.defaultPrevented,"function"==typeof a.isDefaultPrevented&&(c=a.isDefaultPrevented()),c||a.preventDefault&&a.preventDefault())}}return u}},window.Echo1200ATInternet.Tracker.addPlugin("TechClicks")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.Utils=function(e){var t=this,n={};e.utils={},e.utils.getQueryStringValue=t.getQueryStringValue=function(e,t){var i=Echo1200ATInternet.Utils.hashcode(t).toString();if(!n[i]){n[i]={};var r=RegExp("[&#?]{1}([^&=#?]*)=([^&#]*)?","g"),o=r.exec(t);if(null!==o)for(;null!==o;)n[i][o[1]]=o[2],o=r.exec(t)}return n[i].hasOwnProperty(e)?n[i][e]:null},t.manageChapters=function(t,n,i){var r=e.getConfig("ignoreEmptyChapterValue"),o="";if(t){i=parseInt(i,10);for(var s=1;s<i+1;s++){var a=t[n+s]||"";o=r?o+(a?a+"::":""):o+(t.hasOwnProperty(n+s)?a+"::":"")}}return o},t.getDocumentLevel=function(){var t=e.getConfig("documentLevel");return t.indexOf(".")<0?window[t]||document:(t=t.split("."),window[t[0]][t[1]]||document)},e.utils.getLocation=t.getLocation=function(){return t.getDocumentLevel().location.href},e.dispatchIndex={},e.dispatchStack=[],e.dispatchEventFor={};var i=0;e.dispatchSubscribe=function(t){return!e.dispatchIndex[t]&&(e.dispatchStack.push(t),e.dispatchIndex[t]=!0)},e.dispatchSubscribed=function(t){return!0===e.dispatchIndex[t]},e.addSpecificDispatchEventFor=function(t){return!e.dispatchEventFor[t]&&(e.dispatchEventFor[t]=!0,i++,!0)},e.processSpecificDispatchEventFor=function(t){e.dispatchEventFor[t]&&(e.dispatchEventFor[t]=!1,0==--i&&(e.dispatchEventFor={},e.emit("Tracker:Plugin:SpecificEvent:Exec:Complete",{lvl:"INFO"})))},e.dispatch=function(t){var n=function(){for(var n="",i=null;0<e.dispatchStack.length;)n=e.dispatchStack.pop(),0===e.dispatchStack.length&&(i=t),e[n].onDispatch(i);e.dispatchIndex={},e.delContext(void 0,"customObject")},r=function(){e.plugins.isExecWaitingLazyloading()?e.onTrigger("Tracker:Plugin:Lazyload:Exec:Complete",function(){n()},!0):n()};0===i?r():e.onTrigger("Tracker:Plugin:SpecificEvent:Exec:Complete",function(){r()},!0)},e.dispatchRedirect=function(t){var n=!0,i=null;return t&&(i=null,t&&t.hasOwnProperty("event")&&(i=t.event||window.event),!Echo1200ATInternet.Utils.isTabOpeningAction(i)&&t.elem&&(t.elem.timeoutonly=!0,e.plugins.exec("TechClicks","manageClick",[t.elem,i],function(e){n=e})),i=t.callback),e.dispatch(i),n};var r=e.manageSend=function(t){Echo1200ATInternet.Utils.isPreview()&&!e.getConfig("preview")||Echo1200ATInternet.Utils.isPrerender(function(e){t(e)})||t()};e.processTagObject=function(t,n,i){if((t=e.getParam(t,!0))&&t.options.permanent){for(var r=!1,o=t.options.hitType||[],s=0;s<o.length;s++)if(-1!==Echo1200ATInternet.Utils.arrayIndexOf(n.concat("all"),o[s])){r=!0;break}r&&(i=Echo1200ATInternet.Utils.completeFstLevelObj(t.value||{},i,!0))}return i},e.processContextObjectAndSendHit=function(t,n,i,o){var s=e.getParam(t,!0);if(s){for(var a=!1,u=s.options.hitType||[],c=0;c<u.length;c++)if(-1!==Echo1200ATInternet.Utils.arrayIndexOf(n.hitType.concat("all"),u[c])){a=!0;break}a?((a=Echo1200ATInternet.Utils.cloneSimpleObject(s)).value=Echo1200ATInternet.Utils.completeFstLevelObj(a.value||{},i,!0),e.setParam(t,a.value,{hitType:n.hitType,encode:n.encode,separator:n.separator,truncate:n.truncate}),r(function(){e.sendHit(null,[["hitType",n.hitType]],o,null,!0)}),s.options.permanent&&e.setParam(t,s.value,s.options)):(e.setParam(t,i,{hitType:n.hitType,encode:n.encode,separator:n.separator,truncate:n.truncate}),r(function(){e.sendHit(null,[["hitType",n.hitType]],o,null,!0)}),e.setParam(t,s.value,s.options))}else e.setParam(t,i,{hitType:n.hitType,encode:n.encode,separator:n.separator,truncate:n.truncate}),r(function(){e.sendHit(null,[["hitType",n.hitType]],o,null,!0)})}},window.Echo1200ATInternet.Tracker.addPlugin("Utils")}.call(window),"function"==typeof window.Echo1200ATInternet.onTrackerLoad&&window.Echo1200ATInternet.onTrackerLoad(),Echo1200ATInternet}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){}return e.sendRefreshEvent=function(e,t,n){if(n){var i=n;t(i=(i=(i=i.replace(/a\=play/g,"a=refresh")).replace(/ts\=[0-9\.]+/g,"ts="+(new Date).getTime())).replace(/(prich\=|s2rich\=).*?(&|$)/g,""),function(){e.emit("Tracker:Hit:Sent:Ok",i)}.bind(e))}},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6),i=n(4),r=n(21);return{APP_NAME:void 0,APP_CATEGORY:void 0,bbc_content_id:1,bbc_app_type:2,bbc_app_name:3,language:4,bbc_url:5,bbc_referrer_url:6,bbc_content_type:7,bbc_library_version:8,page_title:9,custom_var_1:11,custom_var_2:12,custom_var_3:13,custom_var_4:14,custom_var_5:15,custom_var_6:16,custom_var_7:17,custom_var_8:18,custom_var_9:19,custom_var_10:20,create:function(e,n,i,o,s,a){var u;return this.APP_NAME=e,i&&i[t.APP_CATEGORY]?this.APP_CATEGORY=i[t.APP_CATEGORY]:this.APP_CATEGORY="",u=this._setCustomVariable(u,t.APP_TYPE,n),u=this._setCustomVariable(u,t.APP_NAME,e),u=this._setCustomVariable(u,t.LIBRARY_VERSION,r.getLibraryName()+"-"+r.getLibraryVersion()),a&&(u=this._setDocumentCustomVariables(u,a)),s&&(u=this._setOrbitCustomVariables(u,s)),this._applyLabels(u,i),this._applyLabels(u,o),u},_initialise:function(){return{site:{}}},_applyLabels:function(e,n){if(n){var i=this._getAppName(n);n[t.APP_CATEGORY]&&(e=this._setCustomVariable(e,t.APP_NAME,i),delete n[t.APP_CATEGORY]),Object.keys(n).forEach(function(r){this._isCustomVariable(r)&&(r===t.APP_NAME&&(n[r]=i),e=this._setCustomVariable(e,r,n[r]),delete n[r])},this)}},_getAppName:function(e){var n="";return e[t.APP_CATEGORY]?n=e[t.APP_CATEGORY]+"-":this.APP_CATEGORY&&(n=this.APP_CATEGORY+"-"),e[t.APP_NAME]?n+=e[t.APP_NAME]:n+=this.APP_NAME,n},_isCustomVariable:function(e){return void 0!==this[e]&&this.hasOwnProperty(e)&&"function"!=typeof this[e]},_setCustomVariable:function(e,t,n){if(n){e||(e=this._initialise());var r=i.removeSensitiveInfo(n),o=i.cleanCustomVariable(r),s=this[t];e.site[s]="["+encodeURIComponent(o)+"]"}return e},_setDocumentCustomVariables:function(e,n){return n&&(e=this._setCustomVariable(e,t.URL,n.URL),e=this._setCustomVariable(e,t.REFERRER_URL,n.referrer),e=this._setCustomVariable(e,t.PAGE_TITLE,n.title)),e},_setOrbitCustomVariables:function(e,n){return n&&(e=this._setCustomVariable(e,t.CONTENT_ID,n.contentId),e=this._setCustomVariable(e,t.CONTENT_TYPE,n.contentType),e=this._setCustomVariable(e,t.LANGUAGE,n.language),e=this._setProductCustomVariables(e,n.additionalProperties)),e},_setProductCustomVariables:function(e,n){return n&&(n.app_category&&(e=this._setCustomVariable(e,t.APP_NAME,this._getAppName(n))),n.content_language&&(e=this._setCustomVariable(e,t.LANGUAGE,n.content_language)),e=this._setCustomVariable(e,t.CUSTOM_VAR_1,n.custom_var_1),e=this._setCustomVariable(e,t.CUSTOM_VAR_2,n.custom_var_2),e=this._setCustomVariable(e,t.CUSTOM_VAR_3,n.custom_var_3),e=this._setCustomVariable(e,t.CUSTOM_VAR_4,n.custom_var_4),e=this._setCustomVariable(e,t.CUSTOM_VAR_5,n.custom_var_5),e=this._setCustomVariable(e,t.CUSTOM_VAR_6,n.custom_var_6),e=this._setCustomVariable(e,t.CUSTOM_VAR_7,n.custom_var_7),e=this._setCustomVariable(e,t.CUSTOM_VAR_8,n.custom_var_8),e=this._setCustomVariable(e,t.CUSTOM_VAR_9,n.custom_var_9),e=this._setCustomVariable(e,t.CUSTOM_VAR_10,n.custom_var_10)),e}}}.call(t,n,t,e))||(e.exports=i)},function(e){e.exports={name:"@bbc/echo-client-js",description:"Client library for sending events",version:"12.4.0",main:"dist/echo-12.4.0.js",scripts:{test:"grunt build",build:"grunt build","build:dev":"webpack --mode=development --config ./config/webpack.dev.config.js","build:dist":"webpack --mode=production --config ./config/webpack.prod.config.js"},"pre-commit":["test"],"echo-client-js":{"barb-spring-version":"2.0.0","comscore-streamsense-version":"6.2.3.180328","ati-smarttag-version":"5.17.1"},devDependencies:{ajv:"^6.6.2","es6-promise":"^4.2.5",eslint:"^5.12.0",grunt:"^1.0.4","grunt-cli":"^1.3.2","grunt-contrib-jshint":"^2.0.0","grunt-contrib-watch":"^1.1.0","grunt-jscs":"^3.0.1","grunt-karma":"^3.0.1","grunt-shell":"^2.1.0",gulp:"^4.0.0",hoek:"^6.1.2","istanbul-instrumenter-loader":"^3.0.1",jasmine:"^3.3.1","jasmine-core":"^3.3.0",jquery:"^3.4.1",karma:"^3.1.4","karma-chrome-launcher":"*","karma-coverage-istanbul-reporter":"^2.0.4","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-jasmine-html-reporter":"^1.4.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^1.1.0","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-story-reporter":"^0.3.1","karma-webpack":"^3.0.0","load-grunt-tasks":"^4.0.0",lodash:"^4.17.11","phantomjs-prebuilt":"^2.1.16","pre-commit":"^1.2.2",requirejs:"^2.3.6",sinon:"^7.2.2","ssc-js":"git+ssh://git@github.com/bbc/ssc-js.git#1.2.0","time-grunt":"^2.0.0","uglifyjs-webpack-plugin":"^2.1.1",webpack:"^4.28.4","webpack-cli":"^3.2.1","webpack-merge":"^4.2.1"}}},function(e,t,n){var i;void 0===(i=function(){"use strict";var e=n(21),t={BRAND:"brand",SERIES:"series",EPISODE:"episode",CLIP:"clip",NAME:"name",TYPE:"type",PLIST:"pList"},i={RETRIEVAL_TYPE:"retType",INITATION_TYPE:"init",ADS_ENABLED:"adEna"},r={PLAYER_NAME:"mpN",PLAYER_VERSION:"mpV",TRANSPORT_MODE:"tMod",LIBRARY_NAME:"mlN",LIBRARY_VERSION:"mlV"};return{buildTheme:function(e,t,n){return e+"="+encodeURIComponent(t||"")+(n?"":"~")},constructThemeOne:function(e){var n="";return e&&(n=this.buildTheme(t.BRAND,e.getBrandId()),n+=this.buildTheme(t.SERIES,e.getSeriesId()),n+=this.buildTheme(t.EPISODE,e.getEpisodeId()),n+=this.buildTheme(t.CLIP,e.getClipId()),n+=this.buildTheme(t.NAME,e.getName()),n+=this.buildTheme(t.TYPE,e.getType()),e.isLive()?n+=this.buildTheme(t.PLIST,e.getServiceId(),!0):n+=this.buildTheme(t.PLIST,e.getPlaylist(),!0)),n},constructThemeTwo:function(e){var t="";return e&&(t=this.buildTheme(i.RETRIEVAL_TYPE,e.getRetrievalType()),t+=this.buildTheme(i.INITATION_TYPE,e.getInitiationType()),t+=this.buildTheme(i.ADS_ENABLED,e.isAdsEnabled()?"1":"0",!0)),t},constructThemeThree:function(t){var n="";return t&&(n=this.buildTheme(r.PLAYER_NAME,t.getMediaPlayerName()),n+=this.buildTheme(r.PLAYER_VERSION,t.getMediaPlayerVersion()),n+=this.buildTheme(r.TRANSPORT_MODE,t.getTransportMode()),n+=this.buildTheme(r.LIBRARY_NAME,e.getLibraryName()),n+=this.buildTheme(r.LIBRARY_VERSION,e.getLibraryVersion(),!0)),n}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){}return e.sendEvent=function(e,t,n,i){if(t){var r={action:n,playerId:t.playerId,mediaLabel:t.mediaLabel,mediaTheme1:t.mediaTheme1,mediaTheme2:t.mediaTheme2,mediaTheme3:t.mediaTheme3};for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o]);e.richMedia.send(r)}},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){}var t=n(6),i=n(4),r="click";return e.sendClickEvent=function(e,t){this._sendEvent(e,t,r)},e.sendImpressionEvent=function(e,t){this._sendEvent(e,t,"impression")},e._sendEvent=function(n,i,o){i||(i={customObject:{}}),i.customObject||(i.customObject={});var s={creation:this._formatEventValue(e._buildCreation(i)),campaignId:this._formatEventValue(i.customObject[t.CONTAINER]||"Page"),variant:this._formatEventValue(i.customObject[t.PERSONALISATION]||""),format:this._formatEventValue(i.customObject[t.METADATA]||""),generalPlacement:this._formatEventValue(i[t.BBC_COUNTER_NAME]||"unknown"),detailedPlacement:this._formatEventValue(i.user||""),advertiserId:this._formatEventValue(i.customObject[t.SOURCE]||""),url:this._formatEventValue(i.customObject[t.RESULT]||"unknown")},a={};o===r?a.click=s:a.impression=s,n&&n.publisher.send(a)},e._buildCreation=function(e){var t=e&&e.actionName||"unknown";return e&&e.actionType&&(t+="~"+e.actionType),t},e._formatEventValue=function(e){return"["+i.cleanCustomVariable(e)+"]"},e}.call(t,n,t,e))||(e.exports=i)}])}()}(window)},function(e,t,n){"use strict";n(33),n(0),n(135),n(33),n(0),n(135);var i=n(225),r=n(226),o=n(138),s=n(227),a=n(228);e.exports=function(e,t,n,u,c){function l(n,i,r,a){var u,c=e.cage.environment,l=e.cage.embedVars.contentType||"",f={};f[t.ConfigKeys.COMSCORE_SITE]="live"===c?"bbc":c,f[t.ConfigKeys.ATI_ENABLED]="true",u="int"===c||"test"===c?{cbbc:t.Enums.Destinations.CBBC_TEST,cbeebies:t.Enums.Destinations.CBEEBIES_TEST,games:t.Enums.Destinations.GAMES_PS_TEST,bitesize:t.Enums.Destinations.BITESIZE_TEST,food:t.Enums.Destinations.FOOD_TEST,sport:t.Enums.Destinations.SPORT_PS_TEST,default:t.Enums.Destinations.BBC}:{cbbc:t.Enums.Destinations.CBBC,cbeebies:t.Enums.Destinations.CBEEBIES,games:t.Enums.Destinations.GAMES_PS,bitesize:t.Enums.Destinations.BITESIZE,food:t.Enums.Destinations.FOOD,sport:t.Enums.Destinations.SPORT_PS,default:t.Enums.Destinations.BBC},f[t.ConfigKeys.DESTINATION]=u[n||"default"],f[t.ConfigKeys.ECHO_AUTO_START]=!1;var d=new t.EchoClient(n,t.Enums.ApplicationType.RESPONSIVE,f),p=function(){var t=Boolean(r);d.viewEvent(t?r:a),d.userActionEvent("cookies","functional",{metadata:(0,o.areFunctionalCookiesEnabled)(e)?"FUN=true":"FUN=false",personalisation:(0,s.isUserEligible)(e)?"EXP=fullscreen::true":"EXP=fullscreen::false"})};return d.addLabel(t.Enums.EchoLabelKeys.CONTENT_TYPE,l),d.addManagedLabel(t.Enums.ManagedLabels.BBC_SITE,n),i&&i.statsLabel&&d.addLabel(i.statsLabel.name,i.statsLabel.value),d.start().then(p),d}var f,d=function(t){return new function o(){function s(t){var n=e.localStorage.getItem(t);try{return JSON.parse(n)}catch(e){}}function f(){try{e.localStorage.setItem(I,JSON.stringify(C))}catch(e){}}var d=this,p=e.cage,h=p.gameId,_=p.gameContainerId,g=p.gameUrl,v=p.gameDir,m=p.embedVars,E=p.environment,y=m.statsCounterName,b=c.baseCounterName,S=c.destination,A=!1;Object.defineProperty(o.prototype,"embedVars",{get:function(){return m}}),Object.defineProperty(o.prototype,"account",{get:function(){return u}}),Object.defineProperty(o.prototype,"gameContainerId",{get:function(){return _}}),Object.defineProperty(o.prototype,"gameUrl",{get:function(){return g}}),Object.defineProperty(o.prototype,"gameDir",{get:function(){return v}}),Object.defineProperty(o.prototype,"environment",{get:function(){return E}}),Object.defineProperty(o.prototype,"shouldShowExitButton",{get:function(){return e.cage.isFullScreen}}),Object.defineProperty(o.prototype,"shouldDisplayMuteButton",{get:function(){return!0}}),Object.defineProperty(o.prototype,"shouldLongPressForSettings",{get:function(){return!1}});var I="bbc_childrens_gmi_data",T="".concat(I,"_").concat(h),P={},C={audio:!0,subtitles:!1,motion:!0};this.stats=l(S,t,y,b),(0,a.initExitTile)(e),o.prototype.getAllSettings=function(){var e=JSON.parse(JSON.stringify(C));return e.muted=!e.audio,e.gameData=P,e},o.prototype.setGameData=function(t,n){var i=function(e){A||(d.sendStatsEvent("save","game",{metadata:"SAV=".concat(e)}),A=!0)};P[t]=n;try{e.localStorage.setItem(T,JSON.stringify(P)),i("successful")}catch(e){i("unsuccessful")}},o.prototype.setMuted=function(e){C.audio=!e,f()},o.prototype.setAudio=function(e){C.audio=Boolean(e),f()},o.prototype.setSubtitles=function(e){C.subtitles=Boolean(e),f()},o.prototype.setMotion=function(e){C.motion=Boolean(e),f()},o.prototype.showPrompt=function(e){return e(),!1},o.prototype.lastStatScreen="",o.prototype.showSettings=function(e,t){var i;if(Boolean(y))i=t;else{var r=d.lastStatScreen;i=function(){d.setStatsScreen(r),t()},d.sendStatsEvent("settings","open"),d.setStatsScreen("settings")}return n({showSettings:!0,onSettingChanged:e,onSettingsClosed:i}),!0},o.prototype.setStatsScreen=function(e,t){b?(d.stats.viewEvent("".concat(b,".").concat(e,".page"),t),d.lastStatScreen=e):console.warn("stats.viewEvent not fired. baseCounterName needs to be set")},o.prototype.sendStatsEvent=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n,o=Boolean(y);"heartbeat"!==e&&"heartbeat"!==t&&(o&&r&&r!=={}&&(r=(0,i.remapLabelsToAti)(e,t,r,y)),d.stats.userActionEvent(t,e,r))},o.prototype.exit=function(){var t=e.cage.exitGameUrl;d.sendStatsEvent("exit","game",{result:e.cage.exitGameUrl}),(0,a.shouldShowExitTile)()?(0,a.showExitTile)():e.open(t,"_top")},o.prototype.debug=function(e){console.log(e)},o.prototype.gameLoaded=function(){},function(){C=s(I)||function(){var e={};return e.audio=!0,e.subtitles=!1,e.motion=!0,e}(),function(){C.audio=Boolean(C.audio),C.subtitles=Boolean(C.subtitles),C.motion=!C.hasOwnProperty("motion")||C.motion}(),P=s(T)||{}}(),o.prototype.achievements=(0,r.createAchievements)(P.achievements,this,n),o.prototype=Object.create(o.prototype)}};return{getGMI:e.getGMI||function(e){return f&&console.warn("Attempted to create multiple copies of the GMI. Only a single instance should be created"),f=d(e),n({gmi:f,gmiOptions:e}),f}}}},function(e,t,n){"use strict";n(0),n(22),n(31),n(50),n(12),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.remapLabelsToAti=void 0,n(22),n(31),n(50),n(12);var i=function(e,t,n,i){var r=n,o=[],s=function(e,t){var n=e[t];return o.push(t),n},a=function(e){return"string"==typeof e?e.replace(/[:+()]/g,"").replace(/\s/g,"_"):e},u={game_click:{play:"SCR=[".concat(s(n,"game_screen"),"]"),interaction:"INT=[".concat(s(n,"game_interaction"),"]"),character:"AVA=[".concat(s(n,"character"),"]"),customised:"CUS=[".concat(s(n,"game_customisation"),"]"),purchased:"ITM=[".concat(s(n,"game_purchase"),"]"),selected:"ITM=[".concat(s(n,"item_name"),"]"),skip:"SCR=[".concat(s(n,"game_screen"),"]"),viewed:"SUB=[".concat(s(n,"submenu"),"]")},game_level:{complete:"SCO=[".concat(s(n,"game_score"),"]~LVT=[").concat(s(n,"game_level_time"),"]~RWL=[").concat(s(n,"stars_awarded"),"]~LVR=[").concat(s(n,"game_level_result"),"]"),continue:"SCR=[".concat(s(n,"game_screen"),"]"),achievement:"ACH=[".concat(s(n,"achievement"),"]"),challenge:"CHA=[".concat(s(n,"game_challenge_name"),"]"),decision:"DEC=[".concat(s(n,"game_decision"),"]~DER=[").concat(s(n,"game_decision_result"),"]"),gameover:"POD=[".concat(s(n,"x_coordinate"),"::").concat(s(n,"y_coordinate"),"]~COD=[").concat(s(n,"obstacle"),"]"),item_collected:"ITM=[".concat(s(n,"item"),"]"),level_up:"LVL=[".concat(s(n,"game_level_name"),"]~DIF=[").concat(s(n,"game_skill_level"),"]"),obstacle:"COD=[".concat(s(n,"obstacle"),"]"),onboarding:"OBC=[".concat(s(n,"onboarding_checkpoint"),"]"),sublevel_started:"SBL=[".concat(s(n,"game_sublevel_name"),"]")},game_character:{selected:"AVA=[".concat(s(n,"character"),"]")},game_world:{selected:"WOR=[".concat(s(n,"game_world_name"),"]")}};t in u&&e in u[t]&&(r.metadata=u[t][e]),n.difficulty&&(r.metadata?r.metadata+="~DIF=[".concat(n.difficulty,"]"):r.metadata="DIF=[".concat(n.difficulty,"]")),n.levelID&&(r.source=n.levelID);var c=[];if(Object.keys(function(e,t){var n={};return Object.keys(e).forEach(function(i){t.indexOf(i)<0&&(n[i]=e[i])}),n}(n,["metadata","difficulty","source"].concat(o))).forEach(function(e){c.push("".concat(e,"-").concat(a(n[e])))}),c.length>0){var l="LAB=[".concat(c.join("::"),"]");r.metadata?r.metadata+="~".concat(l):r.metadata=l}return r.result=i,r};t.remapLabelsToAti=i},function(e,t,n){"use strict";n(0),n(136),n(15),n(137),n(32),n(33),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.createAchievements=void 0,n(136),n(15),n(137),n(32),n(33);var i=function(e,t){var n=Boolean(e&&e.maxProgress),i=Boolean(t&&e&&t.progress>=e.maxProgress);return t&&!n||n&&i},r=function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0,a=[],u=!1,c=function(e,t){e?Object.assign(e,t):r.push(t),o.setGameData("achievements",r)},l=function(t,n,i,r,o){t&&(s({notificationKey:n,notificationName:i,notificationDescription:r,notificationPosition:o}),u=!0,e&&e())};return{init:function(n,i,r){a=n,e=i,t=r},get:function(){return a.map(function(e){var t=r.find(function(t){return t.key===e.key});return Object.assign(e,t,{achieved:i(e,t)})})},set:function(e){var t=a.find(function(t){return e.key===t.key}),n=r.find(function(t){return t.key===e.key}),s=i(t,n),u=i(t,e);if(!t||s)return!1;if(e.progress&&!n&&o.sendStatsEvent("achievement","start",{source:e.key}),u){var f=r.filter(function(e){return void 0===e.progress||e.progress>=e.maxProgress});o.sendStatsEvent("achievement","complete",{metadata:"ACH=[".concat(f.length+1,"/").concat(a.length,"]"),source:e.key})}return c(n,e),l(u,e.key,t.name,t.description,t.position),u},show:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e?(n=o.lastStatScreen,u=!1):(o.sendStatsEvent("achievements","close"),o.setStatsScreen(n),t&&t()),s({showAchievements:e})},get unseen(){return u}}};t.createAchievements=r},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.isUserEligible=t.bucketUserAndSave=void 0;var i=n(138),r=function(e){if(!(Math.random()>=.5)){try{e.localStorage.setItem("bbc_childrens_experiments_fullscreen","false")}catch(e){}return!1}try{return e.localStorage.setItem("bbc_childrens_experiments_fullscreen","true"),!0}catch(e){return!1}};t.bucketUserAndSave=r;var o=function(e){if(!(0,i.areFunctionalCookiesEnabled)(e))return!1;var t=e.localStorage.getItem("bbc_childrens_experiments_fullscreen");return"true"===t||"false"!==t&&r(e)};t.isUserEligible=o},function(e,t,n){"use strict";n(0),n(15),n(32),n(31),n(49),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.shouldShowExitTile=t.initExitTile=t.hideExitTile=t.showExitTile=void 0,n(15),n(32),n(31),n(49);var i,r,o=n(229),s=n(127),a=["childrens-games-starter-pack","genie-starter-pack","genie-runner-the-dumping-ground","genie-driving-bmx","gmm269xwnq","cbbc-tier1-the-next-step-2-rhythm","cbeebies-hey-duggee-paddling-badge-race","cbeebies-numberblocks-ivor","gplxtqsfmf","cbeebies-bitz-and-bob-game","cbeebies-tier-1-waffle-explore","guardians-mathematica","crystal-explorers","galaxy-pugs","karate-cats-2","genie-christmas-2020"],u={test:"https://web.archive.org/web/20211103195646/https://www.test.bbc.co.uk/childrens/assets/games/childrens-games-exit-tile-test/latest/index.html?",live:"https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/childrens/assets/games/childrens-games-exit-tile/latest/index.html?"},c=function(e){var t=Object.keys(e).filter(function(t){return e[t]}).map(function(t){return"".concat(t,"=").concat(encodeURIComponent(e[t]))}).join("&");return"".concat(u[r]).concat(t)},l=function(){"exit-tile__container--hidden"===i.className&&(0,o.exitTileTrap)(i),i.className="exit-tile__container--visible"};t.showExitTile=l;var f=function(){i.className="exit-tile__container--hidden"};t.hideExitTile=f;var d=function(e){var t="test"===e.cage.environment?"https://web.archive.org/web/20211103195646/https://www.test.bbc.co.uk":"https://web.archive.org/web/20211103195646/https://www.bbc.co.uk";r=e.cage.environment,i=document.getElementById("cage-exit-tile");var n=document.createElement("iframe");n.className="exit-tile__frame",n.frameborder="0",n.src=c({gameid:window.cage.gameId,exitGameUrl:e.cage.exitGameUrl}),i.appendChild(n),window.addEventListener("message",function(e){e.origin===t&&"hideExitTile"===e.data&&f()},!1)};t.initExitTile=d;var p=function(){return a.includes(window.cage.gameId)&&!(0,s.getBrowser)().isIe11};t.shouldShowExitTile=p},function(e,t,n){"use strict";n(0),n(22),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.exitTileTrap=void 0,n(22);var i=n(88),r=function(e){e.setAttribute("aria-modal","true"),e.setAttribute("role","dialog");var t=(0,i.getStates)(e);(0,i.setStates)(e),new MutationObserver(function(n,r){"exit-tile__container--hidden"===e.className&&(r.disconnect(),t.forEach(i.restoreState))}).observe(e,{attributes:!0})};t.exitTileTrap=r}]);; });</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('/path/%3Fcontext%3Dgames/service/bbcid-config-couk/version/undefined', {"body":"{\"announce_url\":\"https:\/\/session.bbc.co.uk\/session\/announce\",\"bbcid-v5\":\"GREEN\",\"child_parent_linking_url\":\"https:\/\/account.bbc.com\/account\/settings\/linked-accounts\",\"id-availability\":\"GREEN\",\"identity\":{\"accessTokenCookieName\":\"ckns_atkn\",\"cookieAgeDays\":730,\"idSignedInCookieName\":\"ckns_id\"},\"identityTokenExchangeUrl\":\"https:\/\/session.bbc.co.uk\/session\/token-exchange\",\"nma\":{\"refresh_url\":\"https:\/\/session.bbc.co.uk\/session\/tokens\",\"register_url\":\"https:\/\/session.bbc.co.uk\/session?action=register&context=games\",\"signin_url\":\"https:\/\/session.bbc.co.uk\/session?context=games\",\"signout_url\":\"https:\/\/session.bbc.co.uk\/session\/nma-signout\",\"user_details_url\":\"https:\/\/session.bbc.co.uk\/session\/user-details\"},\"experiments\":{\"usi\":\"17665700397\",\"usiApiName\":\"8435701282_url_targeting_for_accxp_usi_msi\"},\"federated\":{\"authoriseUrl\":\"https:\/\/account.bbc.com\/signin\/federated\/authorise?context=games\",\"callbackUrl\":\"https:\/\/session.bbc.co.uk\/session\/callback\/federated\",\"signInUrl\":\"https:\/\/account.bbc.com\/signin\/federated?context=games\",\"registerUrl\":\"https:\/\/account.bbc.com\/register\/federated?context=games\"},\"features\":{\"showUsiModal\":false,\"clientAnalytics\":false,\"createProfileCta\":true,\"webCoreUsiModal\":true},\"privacy_settings_url\":\"https:\/\/account.bbc.com\/account\/settings\/privacy\",\"profiles\":{\"list\":\"https:\/\/session.bbc.co.uk\/session\/profiles\",\"create\":\"https:\/\/account.bbc.com\/register\/details\/profile?context=games\",\"picker\":\"https:\/\/session.bbc.com\/session\/tokens\/profile-admin?switchTld=0&context=games&ptrt=https%3A%2F%2Faccount.bbc.com%2Faccount%2Fprofile-picker\"},\"register_url\":\"https:\/\/session.bbc.co.uk\/session?action=register&context=games\",\"settings_url\":\"https:\/\/account.bbc.com\/account\/settings?context=games\",\"signin_url\":\"https:\/\/session.bbc.co.uk\/session?context=games\",\"signout_url\":\"https:\/\/account.bbc.com\/signout?context=games\",\"status_url\":\"https:\/\/account.bbc.com\/account?context=games\",\"tokenImprovement\":\"GREEN\",\"tokenRefresh\":true,\"tokenRefresh_signout_url\":\"https:\/\/session.bbc.co.uk\/session\/signout?switchTld=true&context=games&ptrt=https%3A%2F%2Faccount.bbc.com%2Fsignout\",\"tokenRefresh_url\":\"https:\/\/session.bbc.co.uk\/session?ptrt=https%3A%2F%2Fsession.bbc.co.uk%2Fsession%2Fannounce\",\"usiDestinationWhitelist\":[\"homepage_ps\",\"news_ps\",\"sport_ps\",\"account\"],\"translations\":{\"statusbarSignedIn\":\"Your account\",\"statusbarSignedOut\":\"Sign in\"},\"unavailable_url\":\"https:\/\/account.bbc.com\/account\/error?context=games\"}","meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json; charset=utf-8","content-length":"746","server":"Apache","report-to":"{\"group\":\"default\",\"max_age\":3600,\"endpoints\":[{\"url\":\"https:\/\/europe-west1-bbc-otg-traf-mgr-bq-prod-4591.cloudfunctions.net\/report-endpoint\"}],\"include_subdomains\":true}","nel":"{\"report_to\":\"default\",\"max_age\":604800,\"include_subdomains\":true,\"failure_fraction\":0.01}","cache-control":"public, max-age=30","x-frame-options":"DENY","x-content-type-options":"nosniff","x-xss-protection":"1; mode=block","x-permitted-cross-domain-policies":"none","content-security-policy":"base-uri 'self'; frame-src https:\/\/www.bbc.com; child-src edigitalsurvey.com https:\/\/www.bbc.com; connect-src 'self' *.api.bbci.co.uk *.bbc.co.uk logx.optimizely.com api.pwnedpasswords.com; default-src 'none'; font-src 'self' *.files.bbci.co.uk; form-action 'self' http:\/\/bbc.co.uk https:\/\/bbc.co.uk http:\/\/*.bbc.co.uk https:\/\/*.bbc.co.uk http:\/\/bbc.com https:\/\/bbc.com http:\/\/*.bbc.com https:\/\/*.bbc.com; img-src 'self' data: *.files.bbci.co.uk ichef.bbci.co.uk *.bbci.co.uk *.ati-host.net *.bbc.co.uk; report-to default; script-src 'self' 'unsafe-eval' 'unsafe-inline' *.files.bbci.co.uk *.bbci.co.uk *.bbc.co.uk cdn.optimizely.com optimizely.s3.amazonaws.com; style-src 'self' 'unsafe-inline' *.files.bbci.co.uk *.bbci.co.uk *.bbc.co.uk","strict-transport-security":"max-age=31536000","etag":"W\/\"996-99uTpK8gP1eVaTdBtT9GlGCWZJU-gzip\"","content-encoding":"gzip","connection":"keep-alive","vary":"Accept-Encoding"}}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-games-data/baseUrl/%2Fchildrens%2Fassets%2Fgames/game/jigsaw-scream-street/project/childrensgames/version/1.3.4', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"id":"jigsaw-scream-street","title":"[Jigsaw] Scream Street","product":"cbbc","brand":"Scream Street","description":"","url":"\/childrens\/assets\/games\/jigsaw-cbbc-halloween2021\/183\/main","gameDir":"\/childrens\/assets\/games\/jigsaw-cbbc-halloween2021\/183\/","destination":"cbbc","baseCounterName":"","embedVars":{"statsCounterName":"cbbc.games.scream_street_halloween2021_jigsaw.page","statsAppName":"cbbc"},"heroImagePid":"p09yfhgf","responsive":true,"isLegacyGame":true,"width":"","height":"","environment":"live"}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-childrens-games-view","appName":"cbbc","embedUrl":"https:\/\/web.archive.org\/web\/20211103195646\/https:\/\/www.bbc.co.uk\/cbbc\/embed\/game\/","game":"jigsaw-scream-street","showCallToAction":"true","version":"9.9.6","_mrrVersion":"2.2.1"},'u2172995968608382'); });</script> <script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20211103195646/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20211103195646/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20211103195646/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20211103195646/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20211103195646/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20211103195646/https://m.files.bbci.co.uk/modules/morph-push-proxy-client/1.0.13/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(); } /* u2172995968608382 */</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-feature-detection-helper@1.0.1"]={},function(r){function e(t){if(o[t])return o[t].exports;var n=o[t]={exports:{},id:t,loaded:!1};return r[t].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var o={};return e.m=r,e.c=o,e.p="",e(0)}([function(r,e,o){Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.1"]=o(1)},function(r,e){"use strict";var o=function(){return"localStorage"in window},t=function(){var r="bbc-storage";try{return window.localStorage.setItem(r,r),window.localStorage.removeItem(r),!0}catch(r){return!1}};r.exports.browserSupportsLocalStorage=function(){return o()&&t()}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-helper@1.0.0"]={"bbc-morph-local-storage-feature-detection-helper":"1.0.1"},function(e){function o(t){if(r[t])return r[t].exports;var l=r[t]={exports:{},id:t,loaded:!1};return e[t].call(l.exports,l,l.exports,o),l.loaded=!0,l.exports}var r={};return o.m=e,o.c=r,o.p="",o(0)}([function(e,o,r){Morph.modules["bbc-morph-local-storage-helper@1.0.0"]=r(1)},function(e,o,r){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}var l=r(2),a=t(l),n=function(e){return a.default.browserSupportsLocalStorage()?window.localStorage.getItem(e):null},c=function(e,o){a.default.browserSupportsLocalStorage()&&window.localStorage.setItem(e,o)},u=function(e){a.default.browserSupportsLocalStorage()&&window.localStorage.removeItem(e)};e.exports={setItem:c,getItem:n,removeItem:u}},function(e,o){e.exports=Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.1"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-classnames@1.0.1"]={classnames:"2.2.5"},function(r){function e(o){if(n[o])return n[o].exports;var s=n[o]={exports:{},id:o,loaded:!1};return r[o].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var n={};return e.m=r,e.c=n,e.p="",e(0)}([function(r,e,n){Morph.modules["bbc-morph-classnames@1.0.1"]=n(1)},function(r,e,n){var o=n(2);r.exports=o},function(r,e,n){var o,s;!function(){"use strict";function n(){for(var r=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var s=typeof o;if("string"===s||"number"===s)r.push(o);else if(Array.isArray(o))r.push(n.apply(null,o));else if("object"===s)for(var a in o)t.call(o,a)&&o[a]&&r.push(a)}}return r.join(" ")}var t={}.hasOwnProperty;"undefined"!=typeof r&&r.exports?r.exports=n:(o=[],s=function(){return n}.apply(e,o),!(void 0!==s&&(r.exports=s)))}()}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@2.2.0"]={"bbc-morph-classnames":"1.0.1","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(t){if(n[t])return n[t].exports;var i=n[t]={exports:{},id:t,loaded:!1};return e[t].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var n={};return r.m=e,r.c=n,r.p="",r(0)}([function(e,r,n){Morph.modules["bbc-morph-gel-icons@2.2.0"]=n(1)},function(e,r,n){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=n(2),o=t(i),s=n(3),a=t(s),l=n(4),u=t(l),c=o.default.createClass({displayName:"GEL__Icon",propTypes:{iconName:o.default.PropTypes.string,additionalClassNames:o.default.PropTypes.string},render:function(){var e=(0,u.default)("gel-icon","gel-icon--"+this.props.iconName,this.props.additionalClassNames),r=a.default.selfTransitiveThenUpdate("gel-icon-"+this.props.iconName,this);return o.default.createElement("div",{className:e},r?o.default.createElement(r,null):null)}});c.ensureIcon=function(e){"undefined"==typeof window&&a.default.selfTransitive("gel-icon-"+e,null)},r.default=c,e.exports=r.default},function(e,r){e.exports=React},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@2.2.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@2.2.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@2.2.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@2.2.0",e,r,!0)}}},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.1"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.1"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,o,n){return e||"reaction-"+n+"-text--"+t+"-"+o};t.default=n,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p=o(0),l=n(p),f=o(11),d=n(f),y=o(2),h=n(y),b=function(e){function t(o){s(this,t);var n=i(this,e.call(this,o));return n.state={count:o.count},n}return u(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;if(e.count!==this.props.count){var o=function(){return t.setState({count:e.count})};if(this.props.randomUpdateOffset>0){var n=Math.random()*this.props.randomUpdateOffset;clearTimeout(this.timeoutId),this.timeoutId=setTimeout(o,n)}else o()}},t.prototype.render=function(){var e=this.props,t=e.formatter,o=e.className,n=e.id,s=r(e,["formatter","className","id"]);return l.default.createElement("span",c({id:(0,h.default)(n,this.context.type,this.context.uniqueId,"count"),className:o},s),(0,d.default)(this.state.count+this.props.countOffset,t))},t}(l.default.Component);b.displayName="ReactionCount",b.propTypes={count:p.PropTypes.number,countOffset:p.PropTypes.number,className:p.PropTypes.string,id:p.PropTypes.string,formatter:p.PropTypes.string,randomUpdateOffset:p.PropTypes.number},b.defaultProps={count:0,countOffset:0,className:"",id:"",formatter:null,randomUpdateOffset:0},b.contextTypes={uniqueId:p.PropTypes.string,type:p.PropTypes.string},t.default=b,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i=o(1),u=n(i),a=o(0),c=n(a),p=o(2),l=n(p),f=function(e,t){var o=e.children,n=e.className,i=e.id,a=e.hidden,p=r(e,["children","className","id","hidden"]);return c.default.createElement("span",s({id:(0,l.default)(i,t.type,t.uniqueId,"label"),className:(0,u.default)(n,{"gs-u-vh":a})},p),o)};f.displayName="ReactionLabel",f.propTypes={children:a.PropTypes.node,className:a.PropTypes.string,id:a.PropTypes.string,hidden:a.PropTypes.bool},f.defaultProps={children:null,className:"",id:"",hidden:!1},f.contextTypes={uniqueId:a.PropTypes.string,type:a.PropTypes.string},t.default=f,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i=o(1),u=n(i),a=o(0),c=n(a),p=function(e){var t=e.children,o=e.className,n=r(e,["children","className"]);return c.default.createElement("span",s({className:(0,u.default)("gel-icon",o)},n),t)};p.displayName="ReactionIcon",p.propTypes={children:a.PropTypes.node,className:a.PropTypes.string},p.defaultProps={children:null,className:""},t.default=p,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=o(15),i=n(s),u=o(0),a=n(u),c=o(5),p=n(c),l=function(e,t){var o=function(o){var n=o.children,s=o.active,u=o.gelIconClassName,c=r(o,["children","active","gelIconClassName"]);return i.default.ensureIcon(s?t:e),a.default.createElement(p.default,c,a.default.createElement(i.default,{additionalClassNames:u,iconName:s?e:t}),n)};return o.displayName="ThumbReactionIcon",o.propTypes={children:u.PropTypes.node,active:u.PropTypes.bool.isRequired,gelIconClassName:u.PropTypes.string},o.defaultProps={children:null,gelIconClassName:null},o};t.default=l,e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(8),r=o.n(n);Morph.modules["bbc-morph-reactions@4.2.0"]=r.a},function(e,t,o){"use strict";e.exports=o(9)},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DislikeReactionIcon=t.LikeReactionIcon=t.ReactionLabel=t.ReactionIcon=t.ReactionCount=t.Reactions=t.Reaction=void 0;var r=o(10),s=n(r),i=o(12),u=n(i),a=o(3),c=n(a),p=o(5),l=n(p),f=o(4),d=n(f),y=o(14),h=n(y),b=o(16),m=n(b);t.Reaction=s.default,t.Reactions=u.default,t.ReactionCount=c.default,t.ReactionIcon=l.default,t.ReactionLabel=d.default,t.LikeReactionIcon=h.default,t.DislikeReactionIcon=m.default,t.default={Reaction:s.default,Reactions:u.default,ReactionCount:c.default,ReactionIcon:l.default,ReactionLabel:d.default,LikeReactionIcon:h.default,DislikeReactionIcon:m.default}},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":u(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":u(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c=o(1),p=n(c),l=o(0),f=n(l),d=o(3),y=n(d),h=o(4),b=n(h),m=o(2),v=n(m),P=function(e,t,o,n){return function(r){t&&t(o),e&&e(r,o,n)}},O=function e(t,o,n){var r=[];return f.default.Children.forEach(t,function(t){t.type===b.default&&r.push((0,v.default)(t.props.id,o,n,"label")),t.type===y.default&&r.push((0,v.default)(t.props.id,o,n,"count")),r=[].concat(r,e(t.props&&t.props.children,o,n))}),r},T=function(e){function t(){return r(this,t),s(this,e.apply(this,arguments))}return i(t,e),t.prototype.getChildContext=function(){return{type:this.props.type}},t.prototype.render=function(){return f.default.createElement("li",a({},this.props.liProps,{className:this.props.liProps.className}),f.default.createElement("button",a({},this.props.buttonProps,{"aria-pressed":this.props.type===this.context.active,"aria-labelledby":O(this.props.children,this.props.type,this.context.uniqueId).join(" "),className:(0,p.default)("gs-c-reaction",this.props.buttonProps.className),onClick:P(this.props.onClick,this.context.updateActive,this.props.type,this.context.active)}),this.props.children))},t}(f.default.Component);T.displayName="Reaction",T.propTypes={children:l.PropTypes.node,onClick:l.PropTypes.func,liProps:l.PropTypes.objectOf(l.PropTypes.any),buttonProps:l.PropTypes.objectOf(l.PropTypes.any),type:l.PropTypes.string},T.defaultProps={children:null,onClick:null,liProps:{},buttonProps:{},type:null},T.contextTypes={active:l.PropTypes.string,updateActive:l.PropTypes.func,uniqueId:l.PropTypes.string},T.childContextTypes={type:l.PropTypes.string},t.default=T,e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(e){var t=""+e;return e>=1e4?((e/1e3).toFixed(1)+"K").replace(".0",""):e>=1e3?t[0]+","+t[1]+t[2]+t[3]:t}},r=function(e,t){var o=n[t];return o?o(e):""+e};t.default=r,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p=o(13),l=n(p),f=o(0),d=n(f),y=function(e){function t(o){s(this,t);var n=i(this,e.call(this,o)),r=o.active;return n.props.store&&n.props.uniqueId&&"undefined"!=typeof window&&(r=n.props.store.getItem("reactions-"+n.props.uniqueId)),n.state={active:r},n.updateActive=n.updateActive.bind(n),n}return u(t,e),t.prototype.getChildContext=function(){return{active:this.state.active,updateActive:this.updateActive,uniqueId:this.props.uniqueId}},t.prototype.updateActive=function(e){var t=this.state.active===e?null:e;if(this.setState({active:t}),this.props.store&&this.props.uniqueId){var o="reactions-"+this.props.uniqueId;t?this.props.store.setItem(o,t):this.props.store.removeItem(o)}},t.prototype.render=function(){var e=this.props,t=e.children,o=r(e,["children"]),n=t?t(this.state.active):[];return d.default.createElement("ul",c({className:"gs-c-reactions"},o),n)},t}(d.default.Component);y.displayName="Reactions",y.propTypes={active:f.PropTypes.string,children:f.PropTypes.func,uniqueId:f.PropTypes.string,store:f.PropTypes.shape({getItem:f.PropTypes.func,setItem:f.PropTypes.func,removeItem:f.PropTypes.func})},y.defaultProps={active:null,children:null,uniqueId:null,store:l.default},y.childContextTypes={active:f.PropTypes.string,updateActive:f.PropTypes.func,uniqueId:f.PropTypes.string},t.default=y,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-local-storage-helper@1.0.0"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(6),r=function(e){return e&&e.__esModule?e:{default:e}}(n),s=(0,r.default)("thumbs-up-selected-state","thumbs-up-deselected-state");t.default=s,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-gel-icons@2.2.0"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(6),r=function(e){return e&&e.__esModule?e:{default:e}}(n),s=(0,r.default)("thumbs-down-selected-state","thumbs-down-deselected-state");t.default=s,e.exports=t.default}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-helper@1.0.1"]={"bbc-morph-local-storage-feature-detection-helper":"1.0.1"},function(e){function o(t){if(r[t])return r[t].exports;var l=r[t]={exports:{},id:t,loaded:!1};return e[t].call(l.exports,l,l.exports,o),l.loaded=!0,l.exports}var r={};return o.m=e,o.c=r,o.p="",o(0)}([function(e,o,r){Morph.modules["bbc-morph-local-storage-helper@1.0.1"]=r(1)},function(e,o,r){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}var l=r(2),a=t(l),n=function(e){return a.default.browserSupportsLocalStorage()?window.localStorage.getItem(e):null},c=function(e,o){a.default.browserSupportsLocalStorage()&&window.localStorage.setItem(e,o)},u=function(e){a.default.browserSupportsLocalStorage()&&window.localStorage.removeItem(e)};e.exports={setItem:c,getItem:n,removeItem:u}},function(e,o){e.exports=Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.1"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-classnames@1.0.2"]={classnames:"2.2.5"},function(r){function o(s){if(n[s])return n[s].exports;var e=n[s]={exports:{},id:s,loaded:!1};return r[s].call(e.exports,e,e.exports,o),e.loaded=!0,e.exports}var n={};o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-classnames@1.0.2"]=n(1)},function(r,o,n){var s=n(2);r.exports=s},function(r,o,n){var s,e;!function(){"use strict";function n(){for(var r=[],o=0;o<arguments.length;o++){var s=arguments[o];if(s){var e=typeof s;if("string"===e||"number"===e)r.push(s);else if(Array.isArray(s))r.push(n.apply(null,s));else if("object"===e)for(var a in s)t.call(s,a)&&s[a]&&r.push(a)}}return r.join(" ")}var t={}.hasOwnProperty;void 0!==r&&r.exports?r.exports=n:(s=[],void 0!==(e=function(){return n}.apply(o,s))&&(r.exports=e))}()}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-childrens-reactions@1.4.7"]={"babel-runtime":"6.26.0","bbc-morph-childrens-reactions-data":"0.7.1","bbc-morph-classnames":"1.0.2","bbc-morph-id-availability-data":"1.0.0","bbc-morph-local-storage-helper":"1.0.1","bbc-morph-reactions":"4.2.0","@bbc/counting-service-client-library":"2.2.1","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","morph-container":"2.1.16","morph-require":"5.2.1",react:"0.14.7",requirejs:"2.3.6","sass-mq":"4.0.2","whatwg-fetch":"2.0.4"},function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-childrens-reactions@1.4.7"]=r(1)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.urn,r=e.standalone,n=e.idAvailability,o=Boolean(r),i=(0,a.default)({urn:t,data:"bbc-morph-childrens-reactions-data"},o?{standalone:r}:{}),s=n?{availabilityOverride:n}:{};return{reactionsData:{uri:i,requireSuccess:!1,updates:!1},idAvailabilityData:{uri:(0,a.default)({data:"bbc-morph-id-availability-data"},s),requireSuccess:!0,updates:!1}}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(2),a=n(i),s=r(41),u=n(s),c=r(42),l=n(c);t.default=u.default.create(l.default,{data:function(e){return e.styleguide?{}:o(e)}}),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(3),i=n(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},function(e,t,r){e.exports={default:r(4),__esModule:!0}},function(e,t,r){r(5),e.exports=r(8).Object.assign},function(e,t,r){var n=r(6);n(n.S+n.F,"Object",{assign:r(22)})},function(e,t,r){var n=r(7),o=r(8),i=r(9),a=r(11),s=r(21),u="prototype",c=function(e,t,r){var l,f,d,p=e&c.F,h=e&c.G,y=e&c.S,v=e&c.P,m=e&c.B,b=e&c.W,E=h?o:o[t]||(o[t]={}),_=E[u],g=h?n:y?n[t]:(n[t]||{})[u];h&&(r=t);for(l in r)f=!p&&g&&void 0!==g[l],f&&s(E,l)||(d=f?g[l]:r[l],E[l]=h&&"function"!=typeof g[l]?r[l]:m&&f?i(d,n):b&&g[l]==d?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[u]=e[u],t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((E.virtual||(E.virtual={}))[l]=d,e&c.R&&_&&!_[l]&&a(_,l,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.6.6"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(10);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){var n=r(12),o=r(20);e.exports=r(16)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(13),o=r(15),i=r(19),a=Object.defineProperty;t.f=r(16)?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),o)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(14);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){e.exports=!r(16)&&!r(17)(function(){return 7!=Object.defineProperty(r(18)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){e.exports=!r(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(14),o=r(7).document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,r){var n=r(14);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){"use strict";var n=r(16),o=r(23),i=r(38),a=r(39),s=r(40),u=r(26),c=Object.assign;e.exports=!c||r(17)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=n})?function(e,t){for(var r=s(e),c=arguments.length,l=1,f=i.f,d=a.f;c>l;)for(var p,h=u(arguments[l++]),y=f?o(h).concat(f(h)):o(h),v=y.length,m=0;v>m;)p=y[m++],n&&!d.call(h,p)||(r[p]=h[p]);return r}:c},function(e,t,r){var n=r(24),o=r(37);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){var n=r(21),o=r(25),i=r(29)(!1),a=r(33)("IE_PROTO");e.exports=function(e,t){var r,s=o(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~i(c,r)||c.push(r));return c}},function(e,t,r){var n=r(26),o=r(28);e.exports=function(e){return n(o(e))}},function(e,t,r){var n=r(27);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(25),o=r(30),i=r(32);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=o(u.length),l=i(a,c);if(e&&r!=r){for(;c>l;)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(31),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(31),o=Math.max,i=Math.min;e.exports=function(e,t){return e=n(e),e<0?o(e+t,0):i(e,t)}},function(e,t,r){var n=r(34)("keys"),o=r(36);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,r){var n=r(8),o=r(7),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(35)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(28);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-childrens-reactions@1.4.7",e,t)}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(43),i=n(o),a=r(48),s=n(a),u=r(80),c=n(u),l=r(81),f=n(l),d=r(82),p=n(d),h=r(86),y=n(h);r(94);var v=r(95),m=n(v),b=r(96),E=n(b),_=r(100),g=n(_),T=r(154),S=n(T),P=r(119),w=n(P),R=r(114),x=function(e){function t(e){(0,c.default)(this,t);var r=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return r.props=e,r}return(0,y.default)(t,e),(0,p.default)(t,null,[{key:"countsForUrn",value:function(e,t){return t.body&&t.body.countsData[e]?t.body.countsData[e]:{}}},{key:"mapCounts",value:function(e,t){var r="cbeebies"===e?R.CBEEBIES_LABELS:R.CBBC_LABELS;return r.map(function(e){var r=R.LABEL_TO_KEY[e];return{label:e,count:"object"===("undefined"==typeof t?"undefined":(0,s.default)(t))&&r in t?t[r]:0}})}},{key:"totalCountsForUrn",value:function(e,t){return t.body&&t.body.countsTotals[e]?t.body.countsTotals[e]:0}},{key:"getEnv",value:function(e){if(e.body&&"string"==typeof e.body.env){var t=e.body.env;if("int"===t||"test"===t||"stage"===t||"live"===t)return t}return"live"}}]),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,r=e.standalone,n=e.urn,o=e.reactionsData,i=e.product,a=e.resourceType,s=e.styleguide,u=e.pageContext,c=Boolean(r),l=t.countsForUrn(n,o),f=t.mapCounts(i,l),d=t.totalCountsForUrn(n,o),p=t.getEnv(o),h=decodeURIComponent(this.props.resourceTitle),y=decodeURIComponent(this.props.url),v=n.toString().replace("urn:bbc:","").replace("urn:riddle:",""),b="urn:bbc:"+i+":"+a+":"+v,_=!!this.props.forcedError&&new Error(this.props.forcedError),T=Boolean(this.props.acceptanceTestMode);return m.default.createElement("div",{className:"reactions"},s?m.default.createElement(g.default,{product:i}):m.default.createElement(S.default,{enableStandaloneMode:c,countingServiceClientLibrary:E.default,ReactionsModule:w.default,product:i,reactionsCounts:f,reactionsCountTotal:d,urn:n,resourceTitle:h,resourceType:a,url:y,globalId:b,env:p,isIdAvailable:this.props.idAvailabilityData.body.isAvailable,error:_,enableAcceptanceTestMode:T,pageContext:u}))}}]),t}(v.Component);x.displayName="ReactionsBootstrap",x.propTypes={styleguide:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),standalone:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),product:v.PropTypes.string.isRequired,resourceType:v.PropTypes.string.isRequired,urn:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),resourceTitle:v.PropTypes.string.isRequired,url:v.PropTypes.string.isRequired,reactionsData:v.PropTypes.oneOfType([v.PropTypes.shape({body:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.object]),meta:v.PropTypes.object}),v.PropTypes.string]),idAvailabilityData:v.PropTypes.shape({body:v.PropTypes.shape({isAvailable:v.PropTypes.bool})}).isRequired,forcedError:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),acceptanceTestMode:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),pageContext:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool])},x.defaultProps={styleguide:!1,standalone:!1,urn:!1,reactionsData:{},forcedError:!1,idAvailabilityData:{body:{isAvailable:!0}},acceptanceTestMode:!1,pageContext:!1},t.default=x,e.exports=t.default},function(e,t,r){e.exports={default:r(44),__esModule:!0}},function(e,t,r){r(45),e.exports=r(8).Object.getPrototypeOf},function(e,t,r){var n=r(40),o=r(46);r(47)("getPrototypeOf",function(){return function(e){return o(n(e))}})},function(e,t,r){var n=r(21),o=r(40),i=r(33)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){var n=r(6),o=r(8),i=r(17);e.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*i(function(){r(1)}),"Object",a)}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(49),i=n(o),a=r(67),s=n(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t,r){e.exports={default:r(50),__esModule:!0}},function(e,t,r){r(51),r(62),e.exports=r(66).f("iterator")},function(e,t,r){"use strict";var n=r(52)(!0);r(53)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){var n=r(31),o=r(28);e.exports=function(e){return function(t,r){var i,a,s=String(o(t)),u=n(r),c=s.length;return u<0||u>=c?e?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):i:e?s.slice(u,u+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,r){"use strict";var n=r(35),o=r(6),i=r(54),a=r(11),s=r(55),u=r(56),c=r(60),l=r(46),f=r(61)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",y="values",v=function(){return this};e.exports=function(e,t,r,m,b,E,_){u(r,t,m);var g,T,S,P=function(e){if(!d&&e in O)return O[e];switch(e){case h:return function(){return new r(this,e)};case y:return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",R=b==y,x=!1,O=e.prototype,A=O[f]||O[p]||b&&O[b],M=A||P(b),C=b?R?P("entries"):M:void 0,L="Array"==t?O.entries||A:A;if(L&&(S=l(L.call(new e)),S!==Object.prototype&&S.next&&(c(S,w,!0),n||"function"==typeof S[f]||a(S,f,v))),R&&A&&A.name!==y&&(x=!0,M=function(){return A.call(this)}),n&&!_||!d&&!x&&O[f]||a(O,f,M),s[t]=M,s[w]=v,b)if(g={values:R?M:P(y),keys:E?M:P(h),entries:C},_)for(T in g)T in O||i(O,T,g[T]);else o(o.P+o.F*(d||x),t,g);return g}},function(e,t,r){e.exports=r(11)},function(e,t){e.exports={}},function(e,t,r){"use strict";var n=r(57),o=r(20),i=r(60),a={};r(11)(a,r(61)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:o(1,r)}),i(e,t+" Iterator")}},function(e,t,r){var n=r(13),o=r(58),i=r(37),a=r(33)("IE_PROTO"),s=function(){},u="prototype",c=function(){var e,t=r(18)("iframe"),n=i.length,o="<",a=">";for(t.style.display="none",r(59).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),c=e.F;n--;)delete c[u][i[n]];return c()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[u]=n(e),r=new s,s[u]=null,r[a]=e):r=c(),void 0===t?r:o(r,t)}},function(e,t,r){var n=r(12),o=r(13),i=r(23);e.exports=r(16)?Object.defineProperties:function(e,t){o(e);for(var r,a=i(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(7).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(12).f,o=r(21),i=r(61)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,r){var n=r(34)("wks"),o=r(36),i=r(7).Symbol,a="function"==typeof i,s=e.exports=function(e){return n[e]||(n[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=n},function(e,t,r){r(63);for(var n=r(7),o=r(11),i=r(55),a=r(61)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var c=s[u],l=n[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,r){"use strict";var n=r(64),o=r(65),i=r(55),a=r(25);e.exports=r(53)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,r):"values"==t?o(0,e[r]):o(0,[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){t.f=r(61)},function(e,t,r){e.exports={default:r(68),__esModule:!0}},function(e,t,r){r(69),r(77),r(78),r(79),e.exports=r(8).Symbol},function(e,t,r){"use strict";var n=r(7),o=r(21),i=r(16),a=r(6),s=r(54),u=r(70).KEY,c=r(17),l=r(34),f=r(60),d=r(36),p=r(61),h=r(66),y=r(71),v=r(72),m=r(73),b=r(13),E=r(14),_=r(40),g=r(25),T=r(19),S=r(20),P=r(57),w=r(74),R=r(76),x=r(38),O=r(12),A=r(23),M=R.f,C=O.f,L=w.f,I=n.Symbol,k=n.JSON,N=k&&k.stringify,j="prototype",B=p("_hidden"),U=p("toPrimitive"),D={}.propertyIsEnumerable,F=l("symbol-registry"),q=l("symbols"),z=l("op-symbols"),H=Object[j],K="function"==typeof I,W=n.QObject,V=!W||!W[j]||!W[j].findChild,Y=i&&c(function(){return 7!=P(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=M(H,t);n&&delete H[t],C(e,t,r),n&&e!==H&&C(H,t,n)}:C,G=function(e){var t=q[e]=P(I[j]);return t._k=e,t},J=K&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},X=function(e,t,r){return e===H&&X(z,t,r),b(e),t=T(t,!0),b(r),o(q,t)?(r.enumerable?(o(e,B)&&e[B][t]&&(e[B][t]=!1),r=P(r,{enumerable:S(0,!1)})):(o(e,B)||C(e,B,S(1,{})),e[B][t]=!0),Y(e,t,r)):C(e,t,r)},$=function(e,t){b(e);for(var r,n=v(t=g(t)),o=0,i=n.length;i>o;)X(e,r=n[o++],t[r]);return e},Q=function(e,t){return void 0===t?P(e):$(P(e),t)},Z=function(e){var t=D.call(this,e=T(e,!0));return!(this===H&&o(q,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(q,e)||o(this,B)&&this[B][e])||t)},ee=function(e,t){if(e=g(e),t=T(t,!0),e!==H||!o(q,t)||o(z,t)){var r=M(e,t);return!r||!o(q,t)||o(e,B)&&e[B][t]||(r.enumerable=!0),r}},te=function(e){for(var t,r=L(g(e)),n=[],i=0;r.length>i;)o(q,t=r[i++])||t==B||t==u||n.push(t);return n},re=function(e){for(var t,r=e===H,n=L(r?z:g(e)),i=[],a=0;n.length>a;)!o(q,t=n[a++])||r&&!o(H,t)||i.push(q[t]);return i};K||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(r){this===H&&t.call(z,r),o(this,B)&&o(this[B],e)&&(this[B][e]=!1),Y(this,e,S(1,r))};return i&&V&&Y(H,e,{configurable:!0,set:t}),G(e)},s(I[j],"toString",function(){return this._k}),R.f=ee,O.f=X,r(75).f=w.f=te,r(39).f=Z,x.f=re,i&&!r(35)&&s(H,"propertyIsEnumerable",Z,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!K,{Symbol:I});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;ne.length>oe;)p(ne[oe++]);for(var ie=A(p.store),ae=0;ie.length>ae;)y(ie[ae++]);a(a.S+a.F*!K,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!K,"Object",{create:Q,defineProperty:X,defineProperties:$,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:re});var se=c(function(){x.f(1)});a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return x.f(_(e))}}),k&&a(a.S+a.F*(!K||c(function(){var e=I();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(E(t)||void 0!==e)&&!J(e))return m(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!J(t))return t}),n[1]=t,N.apply(k,n)}}),I[j][U]||r(11)(I[j],U,I[j].valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},function(e,t,r){var n=r(36)("meta"),o=r(14),i=r(21),a=r(12).f,s=0,u=Object.isExtensible||function(){return!0},c=!r(17)(function(){return u(Object.preventExtensions({}))}),l=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,n)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[n].i},d=function(e,t){if(!i(e,n)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[n].w},p=function(e){return c&&h.NEED&&u(e)&&!i(e,n)&&l(e),e},h=e.exports={KEY:n,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,r){var n=r(7),o=r(8),i=r(35),a=r(66),s=r(12).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,r){var n=r(23),o=r(38),i=r(39);e.exports=function(e){var t=n(e),r=o.f;if(r)for(var a,s=r(e),u=i.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,r){var n=r(27);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(25),o=r(75).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(n(e))}},function(e,t,r){var n=r(24),o=r(37).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){var n=r(39),o=r(20),i=r(25),a=r(19),s=r(21),u=r(15),c=Object.getOwnPropertyDescriptor;t.f=r(16)?c:function(e,t){if(e=i(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return o(!n.f.call(e,t),e[t])}},function(e,t){},function(e,t,r){r(71)("asyncIterator")},function(e,t,r){r(71)("observable")},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(48),i=n(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(83),i=n(o);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,i.default)(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}()},function(e,t,r){e.exports={default:r(84),__esModule:!0}},function(e,t,r){r(85);var n=r(8).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},function(e,t,r){var n=r(6);n(n.S+n.F*!r(16),"Object",{defineProperty:r(12).f})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(87),i=n(o),a=r(91),s=n(a),u=r(48),c=n(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,r){e.exports={default:r(88),__esModule:!0}},function(e,t,r){r(89),e.exports=r(8).Object.setPrototypeOf},function(e,t,r){var n=r(6);n(n.S,"Object",{setPrototypeOf:r(90).set})},function(e,t,r){var n=r(14),o=r(13),i=function(e,t){if(o(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(9)(Function.call,r(76).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return i(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:i}},function(e,t,r){e.exports={default:r(92),__esModule:!0}},function(e,t,r){r(93);var n=r(8).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(6);n(n.S,"Object",{create:r(57)})},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function r(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return m.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function s(e){var t=new FileReader,r=a(t);return t.readAsArrayBuffer(e),r}function u(e){var t=new FileReader,r=a(t);return t.readAsText(e),r}function c(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function l(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(m.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(m.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(m.arrayBuffer&&m.blob&&E(e))this._bodyArrayBuffer=l(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!_(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=l(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(c(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e){var t=e.toUpperCase();return g.indexOf(t)>-1?t:e}function p(e,t){t=t||{};var r=t.body;if(e instanceof p){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function y(e){var t=new o,r=e.replace(/\r?\n[\t ]+/g," ");return r.split(/\r?\n/).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}}),t}function v(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var m={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(m.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],E=function(e){return e&&DataView.prototype.isPrototypeOf(e)},_=ArrayBuffer.isView||function(e){return e&&b.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,n){e=t(e),n=r(n);var o=this.map[e];this.map[e]=o?o+","+n:n},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,n){this.map[t(e)]=r(n)},o.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),n(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),n(e)},m.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},f.call(p.prototype),f.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];v.redirect=function(e,t){if(T.indexOf(t)===-1)throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=p,e.Response=v,e.fetch=function(e,t){return new Promise(function(r,n){var o=new p(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:y(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;r(new v(t,e))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&m.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t){e.exports=React},function(e,t,r){e.exports={postToUAS:r(97),deleteFromUAS:r(99)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(98),o=function(e,t,r,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;if((0,n.activityTypeIsValid)(e)&&(0,n.dataContainsAllRequiredKeys)(t)&&(0,n.apiKeyIsValid)(r)&&(0,n.envIsValid)(o)&&(0,n.domainExtIsValid)(i)){var u=(0,n.selectUASEndpoint)(o,i,e,a),c=s?(0,n.getUrlWithPreviousAction)(u,s):u,l=(0,n.buildHeaders)(u,r),f=JSON.stringify(t),d=(0,n.buildRequest)(c,l,f,"POST"),p=a?"include":"omit",h={credentials:p};return fetch(d,h)}};t.default=o,e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return"plays"===e||"reactions"===e},n=function(e){return Boolean(e.resourceDomain&&e.resourceType&&e.resourceId&&e.action&&e.actionContext)},o=function(e){return"string"==typeof e&&/^[a-z0-9]{13,}$/i.test(e)},i=function(e){return"string"==typeof e&&("int"===e||"test"===e||"stage"===e||"live"===e)},a=function(e){return".co.uk"===e||".com"===e},s={ int:"int.",test:"test.",stage:"stage.",live:""},u=function(e,t,r,n){var o=s[e],i=n?"":"nsi.";return"https://"+i+"activity."+o+"api.bbc"+t+"/my/"+r},c=function(e,t){return e+"?previousAction="+t},l=function(e,t){var r=new Headers({Host:e,"Content-Type":"application/json","X-API-Key":t});return r},f=function(e,t,r,n){return new Request(e,{method:n,headers:t,body:r})};t.default={buildRequest:f,buildHeaders:l,selectUASEndpoint:u,domainExtIsValid:a,envIsValid:i,apiKeyIsValid:o,dataContainsAllRequiredKeys:n,activityTypeIsValid:r,getUrlWithPreviousAction:c},e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(98),o=function(e,t,r){var n=e+"/"+t;return r?n+"?previousAction="+r:n},i=function(e,t,r,i,a,s,u){var c=(0,n.selectUASEndpoint)(r,i,e,s),l=o(c,a,u),f=(0,n.buildHeaders)(c,t),d=(0,n.buildRequest)(l,f,null,"DELETE"),p=s?"include":"omit",h={credentials:p};return fetch(d,h)},a=function(e,t,r,o,a){var s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,c=void 0;return c=(0,n.activityTypeIsValid)(e)&&(0,n.apiKeyIsValid)(t)&&(0,n.envIsValid)(r)&&(0,n.domainExtIsValid)(o)?i(e,t,r,o,a,s,u):Promise.reject("Invalid parameters")};t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(101),s=n(a),u=r(102),c=r(103),l=n(c),f=r(109),d=n(f),p=r(118),h=n(p),y=r(111),v=n(y),m=r(114),b=r(119),E=n(b),_=r(154),g=n(_),T=r(147),S=n(T),P=r(148),w=r(156),R=n(w),x=function(){},O={postToUas:x,deleteFromUas:x},A="styleguide:urn",M="styleguide:resourceTitle",C="styleguide:url",L="styleguide:globalId",I="game",k=function(e){var t=e.children;return i.default.createElement("h3",{className:"reactions-styleguide__heading"},t)};k.displayName="SectionHeading",k.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]).isRequired};var N=function(e){var t=e.children;return i.default.createElement("h4",{className:"reactions-styleguide__subheading"},t)};N.displayName="SubHeading",N.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]).isRequired};var j=function(e){var t=e.id,r=e.heading,n=e.children,o=e.className;return i.default.createElement("section",{id:t,className:(0,s.default)("reactions-styleguide__section",o)},i.default.createElement(k,null,r),n)};j.displayName="Section",j.propTypes={id:o.PropTypes.string.isRequired,heading:o.PropTypes.string.isRequired,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string},j.defaultProps={children:i.default.createElement("noscript",null),className:""};var B={cbbc:[{count:1e4,label:m.LOVE},{count:123,label:m.LOL},{count:5347890,label:m.APPLAUSE},{count:0,label:m.GOTIT},{count:39,label:m.OMD},{count:834,label:m.SAD}],cbeebies:[{count:1e4,label:m.LOVE},{count:5347890,label:m.FUNNY},{count:0,label:m.CLAP},{count:123,label:m.GOTIT},{count:39,label:m.WOW},{count:834,label:m.SAD}],get"stay-safe"(){return this.cbbc}},U=5358886,D=function(e){return i.default.createElement("div",{className:"reactions-styleguide"},i.default.createElement(j,{heading:"Overview Cluster (CTA)",id:"overview-cluster"},i.default.createElement(N,null,"Open Without Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!0,count:0,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Closed Without Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!1,count:0,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Open With Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!0,count:555,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Closed With Count - not clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!1,count:U,product:e.product,hasBeenClicked:!1})),i.default.createElement(j,{heading:"Reaction Tray",id:"reaction-tray"},i.default.createElement(d.default,{showReactions:!0,product:e.product,reactionsCounts:B[e.product],reactionButtonPressStart:x,reactionButtonPressEnd:x,reactionButtonClick:x,selectedReaction:"Love",updateSelectedReaction:x})),i.default.createElement(j,{heading:"Cookie Disabled Banner",id:"cookie-warning-banner"},i.default.createElement(h.default,null)),i.default.createElement(j,{heading:"Error Message Banner",id:"error-message-banner"},i.default.createElement(S.default,null)),i.default.createElement(j,{heading:"Individual Reactions",id:"reactions-list"},B[e.product].map(function(t,r){return i.default.createElement("div",{key:r},i.default.createElement(N,null,t.label),i.default.createElement(u.Reactions,{uniqueId:"1"},function(){return i.default.createElement(v.default,{product:e.product,label:t.label,count:t.count,clickHandler:x,showReactions:!0,reactionButtonPressStart:x,reactionButtonPressEnd:x,reactionButtonClick:x})}))})),i.default.createElement(j,{heading:"Reactions Module",id:"reactions-module"},i.default.createElement(N,null,"With Cookies banner"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],showCookieBanner:!0,env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I}),i.default.createElement(N,null,"With error message after reaction is clicked"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,error:new Error(P.ErrorTypes.UAS_FAILURE),countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I}),i.default.createElement(N,null,"Without Cookies banner"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I})))};D.propTypes={product:o.PropTypes.string.isRequired},t.default=D,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t){e.exports=Morph.modules["bbc-morph-reactions@4.2.0"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(101),s=n(a),u=r(104),c=n(u),l=function(e){var t=e.count>0?". Total number of reactions: "+e.count:"",r=e.isOpen?"Reactions. Hide Reactions":"Reactions. Show Reactions"+t;return i.default.createElement("button",{className:(0,s.default)("reactions-cta",{"reactions-cta--open":e.isOpen,"reactions-cta--clicked":e.hasBeenClicked}),"aria-pressed":e.isOpen,"aria-label":r,onClick:function(){e.onClick()}},i.default.createElement(c.default,e))};l.displayName="Cta",l.propTypes={onClick:o.PropTypes.func.isRequired,isOpen:o.PropTypes.bool.isRequired,count:o.PropTypes.number.isRequired,product:o.PropTypes.string.isRequired,hasBeenClicked:o.PropTypes.bool.isRequired},t.default=l,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(105),s=n(a),u=r(106),c=n(u),l=r(107),f=n(l),d=r(108),p=n(d),h=function(e){var t={cbeebies:c.default,cbbc:s.default,get"stay-safe"(){return this.cbbc}},r=t[e.product];return i.default.createElement("div",{className:"reactions-cta-image"},i.default.createElement("span",null,i.default.createElement(r,null),e.count>0&&i.default.createElement(p.default,{count:e.count})),i.default.createElement(f.default,null))};h.displayName="CtaImage",h.propTypes={count:o.PropTypes.number.isRequired,product:o.PropTypes.string.isRequired},t.default=h,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaCbbcWithoutCount",s=function(){return i.default.createElement("span",{className:"cta-icon cta-cbbc-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 68"},i.default.createElement("path",{d:"M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z",fill:"#e63f23",fillRule:"evenodd"}),i.default.createElement("path",{d:"M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z",fill:"#ee7966"}),i.default.createElement("circle",{cx:"20",cy:"25",r:"19.94",transform:"rotate(-85 20.002 25.004)",fill:"#efc203"}),i.default.createElement("path",{d:"M6.3 17.19v-.07c.06-.24.12-.47.2-.71s.19-.45.3-.68.25-.43.39-.64a7 7 0 0 1 .47-.59 6.28 6.28 0 0 1 .54-.5 6.16 6.16 0 0 1 .59-.47 6.55 6.55 0 0 1 .64-.41 7.57 7.57 0 0 1 1.39-.61 6.4 6.4 0 0 1 .73-.2 6 6 0 0 1 .74-.13 6 6 0 0 1 .71-.08 6 6 0 0 1 .74 0c.25 0 .49 0 .73.09s.48.09.72.16.47.15.69.24c-.24 0-.48.08-.72.11l-.7.11c-.23 0-.46.08-.68.12s-.45.1-.67.14-.44.11-.65.16-.43.12-.64.19-.42.14-.63.22a6.37 6.37 0 0 0-.61.25 6.39 6.39 0 0 0-.59.28c-.2.09-.38.21-.58.31s-.37.24-.56.35-.36.26-.54.38-.34.28-.53.42-.34.3-.51.46-.32.33-.5.49-.31.35-.49.53zM35.55 22.4v-.07c-.1-.23-.19-.45-.28-.66s-.19-.43-.3-.63-.2-.41-.32-.6-.22-.39-.35-.57-.24-.37-.38-.55-.25-.36-.41-.52-.27-.34-.43-.49a6.39 6.39 0 0 0-.46-.47 6.37 6.37 0 0 0-.49-.44c-.17-.14-.33-.29-.51-.42s-.35-.28-.53-.4-.36-.27-.56-.38-.38-.25-.58-.37-.39-.25-.6-.35l-.62-.35c-.21-.11-.42-.22-.64-.35h.73c.24 0 .48.06.73.1s.48.11.72.17a7.6 7.6 0 0 1 1.38.55 6 6 0 0 1 .65.37 6.4 6.4 0 0 1 .62.44A7.57 7.57 0 0 1 34 17.46a6.55 6.55 0 0 1 .46.6 6.16 6.16 0 0 1 .39.65 6.28 6.28 0 0 1 .32.69 7 7 0 0 1 .24.72c.06.24.1.49.15.73s0 .5.05.74 0 .49-.06.74z",fill:"#9f8214"}),i.default.createElement("circle",{cx:"13.71",cy:"20.6",r:"5.25",transform:"rotate(-79.9 13.71 20.605)",fill:"#fff"}),i.default.createElement("ellipse",{cx:"13.71",cy:"20.74",rx:"3.04",ry:"2.56",transform:"rotate(-79.9 13.711 20.738)",fill:"#2b2b2b"}),i.default.createElement("circle",{cx:"27.2",cy:"23.01",r:"5.25",transform:"rotate(-79.9 27.2 23.006)",fill:"#fff"}),i.default.createElement("ellipse",{cx:"27.15",cy:"23.13",rx:"3.04",ry:"2.56",transform:"rotate(-79.9 27.15 23.127)",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M22.52 34.49c-.51 2.89-2.91 4.88-5.34 4.45s-4-3.13-3.48-6q0-.22.09-.42c.66-2.66 2.94-4.44 5.25-4s3.96 3.08 3.48 5.97z",fill:"#2b2b2b"}),i.default.createElement("circle",{cx:"42.08",cy:"45.87",r:"22.16",transform:"rotate(-81.9 42.082 45.87)",fill:"#ffd201"}),i.default.createElement("path",{"data-name":"<Path>",d:"M66.62 48.07a3.8 3.8 0 0 1-4.5 6.13c-1.7-1.24-5.22-8.51-5.22-8.51s8.02 1.14 9.72 2.38zM18.06 41.1a3.79 3.79 0 1 0 2.54 7.15c2-.71 7.44-6.67 7.44-6.67s-8.04-1.19-9.98-.48z",fill:"#269dc8"}),i.default.createElement("path",{d:"M27.82 44.39a14.18 14.18 0 0 0 28.07 4.11z",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M32.53 57.11a8.31 8.31 0 0 1 15.21 2.22",fill:"#a75916"}),i.default.createElement("path",{d:"M40.86 53.15a8.32 8.32 0 0 0-8.36 4 14.25 14.25 0 0 0 7.27 3.36 13.92 13.92 0 0 0 7.94-1.14 8.22 8.22 0 0 0-6.85-6.22z",fill:"#e63f23"}),i.default.createElement("path",{d:"M53.76 43.64a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13zM39.76 41.65a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13z",fill:"#2b2b2b"})))};s.displayName=a,t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaCbeebiesWithoutCount",s=function(){return i.default.createElement("span",{className:"cta-icon cta-cbeebies-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 68"},i.default.createElement("defs",null,i.default.createElement("clipPath",{id:"a"},i.default.createElement("path",{d:"M16.26 38.31a9.6 9.6 0 0 1-6.72-11.8 19.21 19.21 0 0 1 10-.22l.42.11a19.21 19.21 0 0 1 8.57 5.24 9.6 9.6 0 0 1-11.74 6.82z",fill:"#2b2b2b"}))),i.default.createElement("circle",{cx:"20.16",cy:"25.01",r:"19.9",transform:"rotate(-80 20.16 25.01)",fill:"#efc203"}),i.default.createElement("ellipse",{cx:"14.75",cy:"18.89",rx:"3.3",ry:"2.55",transform:"rotate(-74.9 14.757 18.895)",fill:"#2b2b2b"}),i.default.createElement("ellipse",{cx:"27.9",cy:"22.44",rx:"3.3",ry:"2.55",transform:"rotate(-74.9 27.908 22.442)",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M7.46 14.93v-.07c.08-.23.16-.46.26-.69s.23-.43.36-.65.29-.41.45-.6a7 7 0 0 1 .52-.55 6.27 6.27 0 0 1 .58-.48 6.15 6.15 0 0 1 .63-.42 6.54 6.54 0 0 1 .67-.35 7.55 7.55 0 0 1 1.43-.48 6.38 6.38 0 0 1 .74-.13 6 6 0 0 1 .75-.06 6 6 0 0 1 .75 0 6 6 0 0 1 .74.08c.24.05.49.08.72.15s.47.13.7.22.45.19.67.3h-.72l-.7.05c-.23 0-.46 0-.69.06s-.45.06-.68.08-.44.07-.66.11-.44.09-.65.13-.43.1-.64.16a6.35 6.35 0 0 0-.63.19 6.38 6.38 0 0 0-.62.23c-.21.07-.4.17-.6.26s-.39.2-.59.3-.38.23-.57.33-.37.25-.56.37-.36.27-.54.41L8 14.4c-.17.16-.34.32-.53.48zM36.09 22.66v-.07c-.08-.23-.15-.46-.22-.68s-.15-.44-.24-.65-.17-.42-.27-.63-.19-.41-.3-.6-.2-.39-.33-.58-.22-.38-.36-.55-.24-.36-.39-.53a6.38 6.38 0 0 0-.42-.51 6.35 6.35 0 0 0-.45-.48c-.15-.16-.3-.32-.47-.46s-.32-.3-.5-.44-.34-.3-.52-.43-.35-.29-.54-.41-.37-.28-.56-.4l-.58-.4c-.2-.13-.4-.26-.6-.4.24 0 .49 0 .73.07s.48.11.72.16.46.16.7.23a7.58 7.58 0 0 1 1.33.67 6 6 0 0 1 .62.43 6.38 6.38 0 0 1 .57.49 7.55 7.55 0 0 1 1 1.14 6.54 6.54 0 0 1 .41.64 6.15 6.15 0 0 1 .33.68 6.27 6.27 0 0 1 .26.71 7 7 0 0 1 .17.73c0 .25.06.5.08.74s0 .5 0 .74-.07.49-.12.73z",fill:"#9f8214"}),i.default.createElement("path",{d:"M16.26 38.31a9.6 9.6 0 0 1-6.72-11.8 19.21 19.21 0 0 1 10-.22l.42.11a19.21 19.21 0 0 1 8.57 5.24 9.6 9.6 0 0 1-11.74 6.82z",fill:"#2b2b2b"}),i.default.createElement("g",{clipPath:"url(#a)"},i.default.createElement("ellipse",{cx:"16.36",cy:"39.1",rx:"4.41",ry:"5.64",transform:"rotate(-74.9 16.361 39.1)",fill:"#e63f23"})),i.default.createElement("path",{d:"M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z",fill:"#e63f23",fillRule:"evenodd"}),i.default.createElement("path",{d:"M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z",fill:"#ee7966"}),i.default.createElement("circle",{cx:"42.08",cy:"45.81",r:"22.09",transform:"matrix(.17 -.98 .98 .17 -10.35 79.3)",fill:"#ffd201"}),i.default.createElement("path",{d:"M55.66 49a14.07 14.07 0 0 1-27.69-5",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M32.21 56.72a8.24 8.24 0 0 1 15 2.7",fill:"#a75916"}),i.default.createElement("path",{d:"M40.6 53.07a8.26 8.26 0 0 0-8.42 3.68 14.13 14.13 0 0 0 7.1 3.57 13.8 13.8 0 0 0 7.91-.87 8.15 8.15 0 0 0-6.59-6.38z",fill:"#e63f23"}),i.default.createElement("path",{d:"M53.22 43.65l-7.29-4.21a.94.94 0 0 1 .31-1.73l8.26-1.39a.7.7 0 0 1 .27 1.38l-6 1.37 5.13 3.43a.67.67 0 0 1-.71 1.15zM33.35 32.47l7.29 4.21a.94.94 0 0 1-.31 1.73l-8.27 1.39a.7.7 0 0 1-.27-1.38l6-1.37-5.13-3.43a.67.67 0 0 1 .71-1.15z",fill:"#2b2b2b"})))};s.displayName=a,t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaArrow",s=function(e){return i.default.createElement("div",{className:"cta-arrow-icon"},i.default.createElement("svg",{height:e.height,width:e.width,viewBox:"0 0 20 15"},i.default.createElement("path",{fill:"#db63d9",d:"M18.5 4.7l-2.8-2.9L10 7.5 4.3 1.8 1.5 4.7l8.5 8.5z"})))};s.displayName=a,s.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},s.defaultProps={height:15,width:20},t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=function(e){return i.default.createElement("span",{className:"reactions-count-container"},i.default.createElement("span",{className:"reactions-count-container__count-text"},e.count))};a.displayName="CtaCount",a.propTypes={count:o.PropTypes.number.isRequired},t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=n(o),a=r(43),s=n(a),u=r(80),c=n(u),l=r(82),f=n(l),d=r(81),p=n(d),h=r(86),y=n(h),v=r(95),m=n(v),b=r(101),E=n(b),_=r(102),g=r(110),T=n(g),S=r(116),P=function(e){function t(e){(0,c.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return r.props=e,r.state={shouldDisableAnimation:!0},r}return(0,y.default)(t,e),(0,f.default)(t,[{key:"componentWillReceiveProps",value:function(e){this.props.showReactions!==e.showReactions&&this.setState({shouldDisableAnimation:!1})}},{key:"render",value:function(){var e=this,t=(0,S.getUniqueId)(this.props.urn);return m.default.createElement("div",{className:(0,E.default)("reactions-tray",{"animation-playing":this.props.isAnimationPlaying,"reactions-tray--open":this.props.isOpen})},m.default.createElement("div",{className:(0,E.default)("reactions-tray__reactions-container",{"reactions-tray__reactions-container--open":this.props.showReactions,"reactions-tray__reactions-container--no-animation":this.state.shouldDisableAnimation})},m.default.createElement(_.Reactions,{uniqueId:t,store:S.readOnlyLocalStorageHelper},function(t){var r=(0,i.default)({active:t},e.props);return m.default.createElement(T.default,r)}),m.default.createElement("div",{className:"reactions-tray__reactive-prompt"},"Press and hold for more...")))}}]),t}(v.Component);P.displayName="Tray",P.defaultProps={showReactions:!1,urn:!1,isAnimationPlaying:!1,isOpen:!1},P.propTypes={showReactions:v.PropTypes.bool,product:v.PropTypes.string.isRequired,reactionsCounts:v.PropTypes.arrayOf(v.PropTypes.shape({label:v.PropTypes.string,count:v.PropTypes.number})).isRequired,urn:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),isAnimationPlaying:v.PropTypes.bool,isOpen:v.PropTypes.bool},t.default=P,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=n(o),a=r(43),s=n(a),u=r(80),c=n(u),l=r(82),f=n(l),d=r(81),p=n(d),h=r(86),y=n(h),v=r(95),m=n(v),b=r(111),E=n(b),_=r(114),g=function(e){function t(e){(0,c.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return r.props=e,r.firstButtonRef=null,r}return(0,y.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){var e=(0,_.keyToLabel)(this.props.active,this.props.product),t=e!==this.props.selectedReaction;t&&this.props.updateSelectedReaction(e)}},{key:"componentDidUpdate",value:function(e){var t=e.showReactions===!1&&this.props.showReactions===!0;t&&this.firstButtonRef&&this.firstButtonRef.focus()}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"reactions-list"},this.props.reactionsCounts.map(function(t,r){var n=(0,i.default)({},e.props,t),o={ref:function(t){0===r&&(e.firstButtonRef=t)}};return m.default.createElement(E.default,(0,i.default)({},n,{key:r,buttonProps:o}))}))}}]),t}(v.Component);g.displayName="ReactionsList",g.defaultProps={active:null,selectedReaction:null},g.propTypes={selectedReaction:v.PropTypes.string,active:v.PropTypes.string,updateSelectedReaction:v.PropTypes.func.isRequired,reactionsCounts:v.PropTypes.arrayOf(v.PropTypes.shape({label:v.PropTypes.string,count:v.PropTypes.number})).isRequired,showReactions:v.PropTypes.bool.isRequired,product:v.PropTypes.string.isRequired},t.default=g,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(112),i=n(o),a=r(2),s=n(a),u=r(95),c=n(u),l=r(102),f=r(101),d=n(f),p=r(113),h=n(p),y=r(115),v=n(y),m=r(114),b=function(e){var t,r=e.product,n=e.label,o=e.count,a=e.showReactions,u=e.buttonProps,f=void 0===u?{}:u,p=e.reactionButtonPressStart,y=e.reactionButtonPressEnd,b=e.selectedReaction,E="cbeebies"===r?v.default:h.default,_=E[""+n],g=n.replace("!",""),T="reaction-button--show",S=(0,s.default)({},f,{onMouseDown:function(){return p(n)},onTouchStart:function(){return p(n)},onKeyDown:function(e){e.keyCode!==m.ENTER_KEY&&e.keyCode!==m.SPACE_KEY||e.repeat||p(n)},onKeyUp:function(e){e.keyCode!==m.ENTER_KEY&&e.keyCode!==m.SPACE_KEY||y(n)},onMouseUp:function(){return y(n)},onMouseLeave:function(){return y(n)},onTouchEnd:function(){return y(n)},className:(0,d.default)("reaction-button",(t={},(0,i.default)(t,T,a),(0,i.default)(t,"reaction-button--selected",b===n),t))}),P="reaction-icon reaction-icon-"+m.LABEL_TO_KEY[n];return c.default.createElement(l.Reaction,{key:n,type:m.LABEL_TO_KEY[n],buttonProps:S},c.default.createElement(l.ReactionIcon,{className:P},c.default.createElement(_,null)),c.default.createElement(l.ReactionLabel,{className:"reaction-label","aria-label":"Reaction type "+n+","},n),c.default.createElement(l.ReactionCount,{className:"reaction-count",count:o,"aria-label":"Total number of "+g+"s "+o}),c.default.createElement("div",{className:"reaction-focus-line"}))};b.propTypes={product:u.PropTypes.string.isRequired,label:u.PropTypes.string.isRequired,count:u.PropTypes.number.isRequired,showReactions:u.PropTypes.bool.isRequired,buttonProps:u.PropTypes.shape({class:u.PropTypes.string,arialabel:u.PropTypes.string}),reactionButtonPressStart:u.PropTypes.func.isRequired,reactionButtonPressEnd:u.PropTypes.func.isRequired,selectedReaction:u.PropTypes.string},b.defaultProps={buttonProps:{class:null,arialabel:null},selectedReaction:null},t.default=b,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(83),i=n(o);t.default=function(e,t,r){return t in e?(0,i.default)(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o,i=r(112),a=n(i),s=r(95),u=n(s),c=r(114),l=function(){return u.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 72 72"},u.default.createElement("path",{d:"M13.54 49.73A31.54 31.54 0 0 1 6 30c0-2.08-.06-10.46 6.55-16.17a14.48 14.48 0 0 1 9.1-3.46c7.39 0 11.7 3.42 14.34 8.12 2.64-4.69 7-8.13 14.34-8.12a14.48 14.48 0 0 1 9.1 3.46C66.06 19.54 66 27.93 66 30a31.54 31.54 0 0 1-7.54 19.73C51.28 58.48 36 61.63 36 61.63s-15.28-3.15-22.46-11.9z",fill:"#e63f23",fillRule:"evenodd"}),u.default.createElement("path",{d:"M17.06 16.8C14.9 18.15 14 20.51 15 22.08s3.56 1.75 5.73.4 3.11-3.71 2.11-5.28-3.61-1.75-5.78-.4z",fill:"#ee7966"}))},f=function(){return u.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"35.91",cy:"35.72",r:"30",fill:"#ffd201"}),u.default.createElement("path",{d:"M69.12 34c-2.48-1.34-13.33-1.34-13.33-1.34s6 9.07 8.52 10.41A5.07 5.07 0 0 0 71.18 41a5.15 5.15 0 0 0-2.06-7zM2.86 34a5.15 5.15 0 0 0-2.07 7 5.07 5.07 0 0 0 6.87 2.12c2.48-1.34 8.52-10.41 8.52-10.41S5.34 32.67 2.86 34z",fill:"#269dc8"}),u.default.createElement("path",{d:"M16.37 36.45a19.34 19.34 0 0 0 38.69.16z",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M25.17 52.73a11.33 11.33 0 0 1 21 .08",fill:"#a75916"}),u.default.createElement("path",{d:"M35.66 45.78a11.35 11.35 0 0 0-10.52 7 19.44 19.44 0 0 0 10.47 3.12 19 19 0 0 0 10.5-3.06 11.21 11.21 0 0 0-10.45-7.06z",fill:"#e63f23"}),u.default.createElement("path",{d:"M51.25 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0 1.18 1.18 0 0 1-1.06 1.71zM32 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0A1.18 1.18 0 0 1 32 30.46z",fill:"#2b2b2b"}))},d=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("path",{d:"M52.43 11.33l4.12-7.71a1.09 1.09 0 0 1 1.87 1.09l-4.12 7.71a1.09 1.09 0 0 1-1.87-1.09M43.75 3a1 1 0 0 1 1.79.25l1.23 5.28a1 1 0 0 1-1.89.47l-1.23-5.27a1 1 0 0 1 .1-.74M15.59 11.1l-.7-8.71a1.09 1.09 0 0 1 2.17-.09l.7 8.71a1.09 1.09 0 0 1-2.17.09M3.78 8.77A1 1 0 0 1 5.41 8l3.89 3.79A1 1 0 1 1 8 13.23L4.09 9.45a1 1 0 0 1-.31-.68",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M57.24 56.4c5-7.08 4.75-10.71 2.84-16.46-.37-1.12-.91-2.56-1.4-3.67a96 96 0 0 0-5.2-10.15l-3.54-7.32a4 4 0 0 0-4-2.23 3.72 3.72 0 0 0-2.6 1.36 4.29 4.29 0 0 0-.49 4.61l4 8.31L24 15.42a4 4 0 0 0-5.52 1l-.05.06c-1.55 2.09-.06 4.44.18 4.74l-4.06-2.74-.42-.28a4 4 0 0 0-5.56 1 3.86 3.86 0 0 0-.1 4.12 4.1 4.1 0 0 0 1.25 1.35L13 27.54c-1.84-1.24-4.92-1.62-6.38.54A3.86 3.86 0 0 0 7.8 33.5l5.65 4.66c-1.9-1.29-4.4-1.34-5.6.7a3.79 3.79 0 0 0 1.28 5s18.1 13.05 23.78 16.56c6.15 3.8 8.78 4.25 13.83 3.69 4.27-.47 7-2.71 10.5-7.72",fill:"#9f8214"}),u.default.createElement("path",{d:"M64.75 41.35c-.34-1.13-.83-2.57-1.29-3.68-1.46-3.59-8.23-17.6-8.23-17.6a4 4 0 0 0-3.92-2.32 3.72 3.72 0 0 0-2.79 1.49 4.29 4.29 0 0 0-.44 4.39l3.27 7.23a.33.33 0 0 1-.49.4L29.57 16a4 4 0 0 0-5.51.86l-.06.06a2.53 2.53 0 0 0-.65 2 2.13 2.13 0 0 0 1 1.67l.48.37L39.64 32a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11L22.64 20.63l-2.55-1.81-.34-.25a4.06 4.06 0 0 0-5.68.88 3.45 3.45 0 0 0-.16 3.79 17.84 17.84 0 0 0 2.3 2.17l2.1 1.59 18.37 13.18a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.3-.1L17.21 27.41a4 4 0 0 0-2.55-.72 3.49 3.49 0 0 0-2.72 1.45 3.83 3.83 0 0 0 1 5.42l5 3.7 14.18 10.12a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11l-14-10-.25-.19-.54-.37c-1.93-.94-3.73-.74-4.73 1s.38 4 1.1 4.51c0 0 18.53 14.21 24.09 17.86 6 3.95 8.62 4.45 13.64 4 4.25-.36 7-2.51 10.65-7.39 5.13-6.88 5.01-10.5 3.26-16.26z",fill:"#ffd201"}))},p=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",fill:"#ffd201"}),u.default.createElement("path",{d:"M35.9 14.3a.82.82 0 0 1-.82-.82V9.7a.82.82 0 0 1 1.65 0v3.78a.82.82 0 0 1-.83.82zM61.42 36.51h-3.78a.82.82 0 0 1 0-1.65h3.78a.82.82 0 1 1 0 1.65zM14.16 36.51h-3.78a.82.82 0 1 1 0-1.65h3.78a.82.82 0 0 1 0 1.65zM51.28 20.67a.82.82 0 0 1-.58-1.4l2.67-2.67a.82.82 0 0 1 1.16 1.16l-2.67 2.67a.82.82 0 0 1-.58.24zM20.53 20.67a.82.82 0 0 1-.58-.24l-2.67-2.67a.82.82 0 1 1 1.16-1.16l2.67 2.67a.82.82 0 0 1-.58 1.4zM44 15.87a.82.82 0 0 1-.76-1.13l1.41-3.5a.82.82 0 0 1 1.53.61l-1.41 3.5a.82.82 0 0 1-.77.52zM59.57 46a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 1 1 .62-1.53l3.5 1.41a.82.82 0 0 1-.31 1.59zM15.74 28.39a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 0 1 .61-1.53L16 26.8a.82.82 0 0 1-.31 1.59zM55.91 28a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 0 1 .64 1.51l-3.48 1.48a.82.82 0 0 1-.32.07zM12.43 46.51a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 1 1 .63 1.55l-3.48 1.48a.82.82 0 0 1-.31.03zM27.39 16a.82.82 0 0 1-.76-.5l-1.48-3.48a.82.82 0 0 1 1.51-.64l1.48 3.48a.82.82 0 0 1-.75 1.14zM29.39 48.81c0-2.53-1.63-4.9-3.47-6.63a13.68 13.68 0 0 1 3.68-22.52c9.92-4.66 20.67 2.71 20.67 12.41a13.83 13.83 0 0 1-5.79 11.26 5 5 0 0 0-2.1 4.1v1.39a17 17 0 0 1-5.83 1.34 23.78 23.78 0 0 1-7.16-1.35z",fill:"#fff"}),u.default.createElement("path",{d:"M29.42 48.71v4.8a8.05 8.05 0 0 0 2.33 1.09l.07.18a4.09 4.09 0 1 0 8.17 0v-.06a2.42 2.42 0 0 0 .11-.29 21.91 21.91 0 0 0 2.3-.79v-5.13s-4.92 3.49-12.98.2z",fill:"#d3145b"}))},h=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",transform:"rotate(-5.1 35.96834013 36.0247667)",fill:"#ffd201"}),u.default.createElement("circle",{cx:"25.69",cy:"31.15",r:"7.9",fill:"#fff"}),u.default.createElement("ellipse",{cx:"25.73",cy:"31.35",rx:"3.85",ry:"4.57",fill:"#2b2b2b"}),u.default.createElement("circle",{cx:"46.31",cy:"31.15",r:"7.9",fill:"#fff"}),u.default.createElement("ellipse",{cx:"46.26",cy:"31.35",rx:"3.85",ry:"4.57",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M42.41 49.4c0 4.42-3 8-6.74 8s-6.74-3.58-6.74-8v-.65c.28-4.11 3.18-7.35 6.72-7.35 3.75-.01 6.76 3.6 6.76 8z",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M13.65 28c.4-6.28 7-10.64 13-9.33-5.31 2.14-10.01 4.14-13 9.33zM58.35 28c-.4-6.28-7-10.64-13-9.33 5.31 2.14 10.01 4.14 13 9.33z",fill:"#9f8214"}))},y=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",transform:"rotate(-5.1 35.96834013 36.0247667)",fill:"#ffd201"}),u.default.createElement("path",{d:"M15 40.42c1.16-2.66 8.18-5.59 8.18-5.59s2.59 7.17 1.42 9.79a5.26 5.26 0 0 1-9.6-4.2z",fill:"#269dc8"}),u.default.createElement("path",{d:"M25.81 53.82a1 1 0 0 1-.81-1.55A14.14 14.14 0 0 1 36.35 46a14.1 14.1 0 0 1 11.16 6A1 1 0 1 1 46 53.2a12 12 0 0 0-9.65-5.2 12.22 12.22 0 0 0-9.76 5.44 1 1 0 0 1-.78.38zM26.26 36A6.91 6.91 0 0 1 20 32.2a1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 26.26 36zM45.36 36a6.91 6.91 0 0 1-6.21-3.84 1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 45.36 36z",fill:"#2b2b2b"}))};t.default=(o={},(0,a.default)(o,c.LOVE,l),(0,a.default)(o,c.LOL,f),(0,a.default)(o,c.APPLAUSE,d),(0,a.default)(o,c.GOTIT,p),(0,a.default)(o,c.OMD,h),(0,a.default)(o,c.SAD,y),o),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r="cbeebies"===t?_:g,n=r.reduce(function(e,t){return(0,s.default)({},e,(0,c.default)({},T[t],t))},{});return n[e]}Object.defineProperty(t,"__esModule",{value:!0}),t.KEY_TO_UAS_CONTEXT=t.LABEL_TO_KEY=t.CBBC_LABELS=t.CBEEBIES_LABELS=t.SPACE_KEY=t.ENTER_KEY=t.SPRITE_REVERSE_EFFECT_DELAY=t.SPRITE_EFFECT_DELAY=t.SPRITE_SLIDE_NUMBER_DEFAULT=t.SPRITE_SLIDE_DECREMENT_INTERVAL=t.SPRITE_SLIDE_INCREMENT_INTERVAL=t.SPRITE_TOTAL_SLIDES=t.NO_REACTION=t.CLAP=t.WOW=t.FUNNY=t.SAD=t.OMD=t.GOTIT=t.APPLAUSE=t.LOL=t.LOVE=void 0;var i,a=r(2),s=n(a),u=r(112),c=n(u);t.keyToLabel=o;var l=t.LOVE="Love",f=t.LOL="LOL",d=t.APPLAUSE="Applause",p=t.GOTIT="Got It!",h=t.OMD="OMD",y=t.SAD="Sad",v=t.FUNNY="Funny",m=t.WOW="Wow",b=t.CLAP="Clap",E=(t.NO_REACTION="No Content",t.SPRITE_TOTAL_SLIDES=10,t.SPRITE_SLIDE_INCREMENT_INTERVAL=100),_=(t.SPRITE_SLIDE_DECREMENT_INTERVAL=E/2,t.SPRITE_SLIDE_NUMBER_DEFAULT=0,t.SPRITE_EFFECT_DELAY=300,t.SPRITE_REVERSE_EFFECT_DELAY=1e3,t.ENTER_KEY=13,t.SPACE_KEY=32,t.CBEEBIES_LABELS=[l,v,b,p,m,y]),g=t.CBBC_LABELS=[l,f,d,p,h,y],T=t.LABEL_TO_KEY=(i={},(0,c.default)(i,d,"applause"),(0,c.default)(i,b,"applause"),(0,c.default)(i,v,"lol"),(0,c.default)(i,p,"inspired"),(0,c.default)(i,l,"loved"),(0,c.default)(i,f,"lol"),(0,c.default)(i,h,"omd"),(0,c.default)(i,y,"sad"),(0,c.default)(i,m,"omd"),i);t.KEY_TO_UAS_CONTEXT={applause:"emotion-inspired",lol:"emotion-funny",inspired:"emotion-inspired",loved:"emotion-positive",omd:"emotion-shocked",sad:"emotion-sad"}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(112),s=o(a),u=r(95),c=o(u),l=r(114),f=r(113),d=n(f),p=function(){return c.default.createElement("svg",{ "data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},c.default.createElement("path",{d:"M33.34 6.12A30 30 0 1 1 6.12 38.66 30 30 0 0 1 33.34 6.12",fill:"#ffd201"}),c.default.createElement("path",{d:"M55.14 37.21a19.14 19.14 0 1 1-38.29-.16",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M25.56 53.17a11.22 11.22 0 0 1 20.75.07",fill:"#a75916"}),c.default.createElement("path",{d:"M35.95 46.29a11.24 11.24 0 0 0-10.41 6.91 19.23 19.23 0 0 0 10.36 3.11 18.78 18.78 0 0 0 10.39-3 11.1 11.1 0 0 0-10.34-7",fill:"#e63f23"}),c.default.createElement("path",{d:"M21.36 20.41l10.76 3.91a1.27 1.27 0 0 1 0 2.4l-10.75 3.81a1 1 0 0 1-.69-1.78l7.7-3.25-7.69-3.39a.92.92 0 0 1 .68-1.7M51.32 22.11l-7.7 3.38 7.71 3.25a1 1 0 0 1-.69 1.78l-10.74-3.8a1.27 1.27 0 0 1 0-2.4l10.76-3.91a.92.92 0 0 1 .68 1.7",fill:"#2b2b2b"}))},h=function(){return c.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},c.default.createElement("circle",{cx:"35.91",cy:"35.72",r:"30",fill:"#ffd201"}),c.default.createElement("ellipse",{cx:"25.73",cy:"29.22",rx:"3.85",ry:"4.98",fill:"#2b2b2b"}),c.default.createElement("ellipse",{cx:"46.27",cy:"29.22",rx:"3.85",ry:"4.98",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M13.57 26.32v-.1c0-.37.06-.73.11-1.1s.17-.72.27-1.08.26-.71.41-1a10.55 10.55 0 0 1 .54-1 9.46 9.46 0 0 1 .65-.93 9.27 9.27 0 0 1 .75-.86 9.86 9.86 0 0 1 .84-.77A11.39 11.39 0 0 1 19 18.14a9.62 9.62 0 0 1 1-.49 9 9 0 0 1 1.06-.38 11.43 11.43 0 0 1 2.19-.45c.37 0 .74-.07 1.11-.07s.74 0 1.11.05.73.1 1.09.18c-.35.14-.69.25-1 .35l-1 .35c-.33.1-.66.24-1 .36s-.64.26-1 .39-.62.28-.93.42-.6.3-.9.45-.58.32-.87.49a9.58 9.58 0 0 0-.84.53 9.62 9.62 0 0 0-.81.57c-.28.18-.51.41-.77.62s-.48.45-.74.66-.46.48-.7.71-.44.51-.67.76-.42.54-.63.81-.39.57-.6.86-.37.6-.59.91zM58.27 26.32v-.1c-.21-.31-.4-.61-.59-.91s-.4-.58-.6-.86-.41-.55-.63-.81-.43-.52-.67-.76-.45-.49-.7-.71-.47-.47-.74-.66-.5-.43-.77-.62a9.61 9.61 0 0 0-.81-.57 9.58 9.58 0 0 0-.84-.53c-.28-.17-.57-.34-.87-.49s-.59-.32-.9-.45-.61-.3-.93-.42-.63-.28-1-.39-.64-.26-1-.36l-1-.35c-.34-.11-.69-.22-1-.35.36-.08.72-.13 1.09-.18s.73 0 1.11-.05.74 0 1.11.07a11.43 11.43 0 0 1 2.19.45 9 9 0 0 1 1.06.38 9.62 9.62 0 0 1 1 .49 11.39 11.39 0 0 1 1.89 1.27 9.86 9.86 0 0 1 .84.77 9.28 9.28 0 0 1 .75.86A9.45 9.45 0 0 1 57 22a10.54 10.54 0 0 1 .54 1c.16.34.28.7.41 1s.19.73.27 1.08.09.74.11 1.1z",fill:"#9f8214"}),c.default.createElement("path",{d:"M35.55 56.89a14.47 14.47 0 0 1-14.42-14.53 29 29 0 0 1 14.54-4.26h.66a29 29 0 0 1 14.54 4.26 14.47 14.47 0 0 1-14.42 14.53z",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M28.43 55a14.31 14.31 0 0 0 7.11 2h.91a14.31 14.31 0 0 0 7.11-2A9 9 0 0 0 36 51.41 9 9 0 0 0 28.43 55z",fill:"#e63f23"}))};t.default=(i={},(0,s.default)(i,l.LOVE,d[l.LOVE]),(0,s.default)(i,l.FUNNY,p),(0,s.default)(i,l.CLAP,d[l.APPLAUSE]),(0,s.default)(i,l.GOTIT,d[l.GOTIT]),(0,s.default)(i,l.WOW,h),(0,s.default)(i,l.SAD,d[l.SAD]),i),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(117),i=n(o),a=function(){},s=function(e){return"childrens-reactions-"+e},u=function(e){return"reactions-"+s(e)};t.default={localStorageHelper:i.default,readOnlyLocalStorageHelper:{getItem:i.default.getItem,setItem:a,removeItem:a},getUniqueId:s,getLocalStorageKey:u},e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-local-storage-helper@1.0.1"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(114),s=r(113),u=n(s),c=function(){var e=u.default[a.SAD];return i.default.createElement("div",{className:"reactions-cookie-warning"},i.default.createElement("div",{className:"reactions-cookie-warning__inner"},i.default.createElement("div",{className:"reactions-cookie-warning__icon"},i.default.createElement(e,null)),i.default.createElement("div",{className:"reactions-cookie-warning__text"},i.default.createElement("span",null,"To make your reaction count, you’ll need to ask your parent/guardian to enable cookies. See our "),i.default.createElement("a",{className:"reactions-cookie-warning__link",href:"/usingthebbc/cookies/"},"cookies policy"),i.default.createElement("span",null," for more information"))))};c.displayName="CookieWarning",c.propTypes={},t.default=c,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(43),c=n(u),l=r(80),f=n(l),d=r(81),p=n(d),h=r(82),y=n(h),v=r(86),m=n(v),b=r(95),E=n(b),_=r(101),g=n(_),T=r(109),S=n(T),P=r(103),w=n(P),R=r(118),x=n(R),O=r(146),A=n(O),M=r(114),C=r(147),L=n(C),I=r(148),k=r(116),N=r(153),j=n(N),B=function(){return E.default.createElement("noscript",null)};B.displayName="NoopComponent";var U=function(e){function t(e){(0,f.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,c.default)(t)).call(this,e));return r.state={showReactions:!1,hasCtaBeenClicked:!1,SpriteTagName:B,startSpriteAnimation:!1,endSpriteAnimation:!1,selectedReaction:null,prevSelectedReaction:null,currentCounts:e.reactionsCounts,hasReactionButtonPressStarted:!1,errorMessage:!1,endSlideNumber:M.SPRITE_SLIDE_NUMBER_DEFAULT,windowDimensions:{width:0,height:0}},r.renderElement=null,r.moduleElement=null,r.ctaClickHandler=r.ctaClickHandler.bind(r),r.reactionButtonPressStartHandler=r.reactionButtonPressStartHandler.bind(r),r.reactionButtonPressEndHandler=r.reactionButtonPressEndHandler.bind(r),r.updateSelectedReaction=r.updateSelectedReaction.bind(r),r.updateWindowDimensions=r.updateWindowDimensions.bind(r),r.handleChange=r.handleChange.bind(r),r}return(0,m.default)(t,e),(0,y.default)(t,null,[{key:"calculateReactionCounts",value:function(e,r,n){return n.map(function(n){return t.calculateCountForReaction(n.label,n.count,r,e)})}},{key:"calculateCountForReaction",value:function(e,t,r,n){var o=Math.max(t+(r===e?1:0)+(n===e?-1:0),0);return{label:e,count:o}}},{key:"calculateCountsTotal",value:function(e,t,r){return Math.max(r+(e&&!t?1:0)+(!e&&t?-1:0),0)}}]),(0,y.default)(t,[{key:"componentDidMount",value:function(){this.moduleElement=this.renderElement,this.updateWindowDimensions(),window.addEventListener("resize",this.updateWindowDimensions),this.props.spriteService.fetchSprites()}},{key:"componentWillReceiveProps",value:function(e){if(e.uasSelectedReaction){var t=e.uasSelectedReaction===M.NO_REACTION?null:e.uasSelectedReaction;this.setState({selectedReaction:t,initialSelectedReaction:t})}}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateWindowDimensions)}},{key:"getAnimationPosition",value:function(){var e={x:0,y:0},t=this.state.selectedReaction?this.state.selectedReaction:this.state.prevSelectedReaction,r=M.LABEL_TO_KEY[t];if(r&&this.moduleElement){var n=this.moduleElement.querySelector(".reaction-icon-"+r);if(n){var o=n.getBoundingClientRect(),i=this.moduleElement.getBoundingClientRect();e.x=o.left+Math.floor(o.width/2),e.y=i.top}}return e}},{key:"handleError",value:function(e,r){var n=(0,I.getStandardisedErrorType)(e);this.props.istatsService.logError(n);var o=t.calculateReactionCounts(this.state.initialSelectedReaction,r,this.props.reactionsCounts);this.setState({errorMessage:n,selectedReaction:r,currentCounts:o})}},{key:"handleChange",value:function(e){this.setState({endSlideNumber:e})}},{key:"updateWindowDimensions",value:function(){this.setState({width:window.innerWidth,height:window.innerHeight})}},{key:"isWindowLandscape",value:function(){return this.state.width>this.state.height}},{key:"ctaClickHandler",value:function(){var e=this;this.setState(function(t){var r={showReactions:!t.showReactions,hasCtaBeenClicked:!0},n=t.showReactions?j.default.CtaClose:j.default.CtaOpen;return e.props.istatsService.logCtaEvent(n),r})}},{key:"reactionButtonPressStartHandler",value:function(e){var r=this.isWindowLandscape();this.setState(function(n,o){var i={};if(!n.hasReactionButtonPressStarted&&!n.shouldThrottleEventHandling){var a=t.calculateReactionCounts(n.initialSelectedReaction,e,o.reactionsCounts),s=n.selectedReaction,u=s!==e;i={currentCounts:a,prevSelectedReaction:s,hasReactionButtonPressStarted:!0,startSpriteAnimation:u,endSpriteAnimation:!1,SpriteTagName:o.spriteService.getSprite(e,r),selectedReaction:e,errorMessage:!1}}return i})}},{key:"reactionButtonPressEndHandler",value:function(e){var r=this,n=!this.state.shouldThrottleEventHandling,o=!1;e===this.state.selectedReaction&&this.setState(function(e,n){var i={};if(e.hasReactionButtonPressStarted){var a=e.errorMessage||e.selectedReaction!==e.prevSelectedReaction,s=a?e.selectedReaction:null,u=t.calculateReactionCounts(e.initialSelectedReaction,s,n.reactionsCounts);i={startSpriteAnimation:!1,endSpriteAnimation:!0,selectedReaction:s,currentCounts:u,hasReactionButtonPressStarted:!1,shouldThrottleEventHandling:!0},setTimeout(function(){return r.setState({shouldThrottleEventHandling:!1})},500),o=!0}return i},function(){if(o&&n){var e=r.state.selectedReaction,t=r.state.prevSelectedReaction;r.recordOrDeleteReaction(e,t)}})}},{key:"recordOrDeleteReaction",value:function(e,t){e?this.recordReaction(e,t):this.deleteReaction(t)}},{key:"recordReaction",value:function(){function e(e,r){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t,r){var n,o,a,s,u,c,l,f,d,p,h=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props.countingServiceClientLibrary.postToUAS,o=M.LABEL_TO_KEY[t],a=(0,k.getLocalStorageKey)(this.props.urn),e.prev=3,e.next=6,this.props.uasConfigService.configureUAS({clickedReaction:o,urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,product:this.props.product,env:this.props.env,signedInState:this.props.isSignedIn,isIdAvailable:this.props.isIdAvailable,idctaService:this.props.idctaService,error:this.props.error,endSlideNumber:this.state.endSlideNumber});case 6:s=e.sent,u=s.UASdata,c=s.apiKey,l=s.env,f=s.domain,d=s.isSignedIn,p=r?M.LABEL_TO_KEY[r]:null,n("reactions",u,c,l,f,d,p).then(function(e){if(!e.ok)throw new Error(I.ErrorTypes.UAS_FAILURE);k.localStorageHelper.setItem(a,o),h.props.istatsService.logSelection(o,h.state.endSlideNumber,p,h.props.pageContext)}).catch(function(e){h.handleError(e,h.state.prevSelectedReaction)}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(3),this.handleError(e.t0,this.state.prevSelectedReaction);case 19:case"end":return e.stop()}},e,this,[[3,16]])}));return e}()},{key:"deleteReaction",value:function(){function e(e){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t){var r,n,o,a,s,u,c,l,f,d=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props.countingServiceClientLibrary.deleteFromUAS,n=this.props.globalId,o=M.LABEL_TO_KEY[t],a=(0,k.getLocalStorageKey)(this.props.urn),e.prev=4,e.next=7,this.props.uasConfigService.configureUAS({clickedReaction:M.LABEL_TO_KEY[t],urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,product:this.props.product,env:this.props.env,signedInState:this.props.isSignedIn,isIdAvailable:this.props.isIdAvailable,idctaService:this.props.idctaService,error:this.props.error});case 7:s=e.sent,u=s.apiKey,c=s.env,l=s.domain,f=s.isSignedIn,r("reactions",u,c,l,n,f,o).then(function(e){if(!e.ok)throw new Error(I.ErrorTypes.UAS_FAILURE);k.localStorageHelper.removeItem(a),d.props.istatsService.logDeselection(o,d.props.pageContext)}).catch(function(e){d.handleError(e,d.state.prevSelectedReaction)}),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),this.handleError(e.t0,this.state.prevSelectedReaction);case 18:case"end":return e.stop()}},e,this,[[4,15]])}));return e}()},{key:"updateSelectedReaction",value:function(e){this.props.uasSelectedReaction||this.state.errorMessage||this.props.error||this.setState({selectedReaction:e,initialSelectedReaction:e})}},{key:"render",value:function(){var e=this,r=(0,g.default)("reactions-module",{"landscape-animation":this.isWindowLandscape()}),n=t.calculateCountsTotal(this.state.selectedReaction,this.state.initialSelectedReaction,this.props.reactionsCountTotal);return E.default.createElement("div",{ref:function(t){e.renderElement=t},className:r},E.default.createElement(A.default,{showAnimation:this.state.startSpriteAnimation,endAnimation:this.state.endSpriteAnimation,onSlideNumberChange:this.handleChange,animationPosition:this.getAnimationPosition()},E.default.createElement(this.state.SpriteTagName,null)),E.default.createElement(S.default,{showReactions:this.state.showReactions,product:this.props.product,reactionButtonPressStart:this.reactionButtonPressStartHandler,reactionButtonPressEnd:this.reactionButtonPressEndHandler,reactionsCounts:this.state.currentCounts,selectedReaction:this.state.selectedReaction,urn:this.props.urn,updateSelectedReaction:this.updateSelectedReaction,isAnimationPlaying:this.state.startSpriteAnimation,isOpen:this.state.showReactions}),this.props.showCookieBanner&&this.state.showReactions&&E.default.createElement(x.default,null),this.state.errorMessage&&this.state.showReactions&&E.default.createElement(L.default,{errorType:this.state.errorMessage}),E.default.createElement(w.default,{onClick:this.ctaClickHandler,isOpen:this.state.showReactions,count:n,product:this.props.product,hasBeenClicked:this.state.hasCtaBeenClicked}))}}]),t}(b.Component);U.displayName="ReactionsModule",U.propTypes={product:b.PropTypes.string.isRequired,showCookieBanner:b.PropTypes.bool.isRequired,error:b.PropTypes.oneOfType([b.PropTypes.shape({Error:b.PropTypes.string}),b.PropTypes.bool]),reactionsCounts:b.PropTypes.arrayOf(b.PropTypes.object).isRequired,reactionsCountTotal:b.PropTypes.number.isRequired,countingServiceClientLibrary:b.PropTypes.shape({postToUAS:b.PropTypes.func.isRequired,deleteFromUAS:b.PropTypes.func.isRequired}).isRequired,urn:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool]),globalId:b.PropTypes.string.isRequired,env:b.PropTypes.string.isRequired,isSignedIn:b.PropTypes.bool.isRequired,isIdAvailable:b.PropTypes.bool.isRequired,uasSelectedReaction:b.PropTypes.string,resourceTitle:b.PropTypes.string.isRequired,resourceType:b.PropTypes.string.isRequired,url:b.PropTypes.string.isRequired,idctaService:b.PropTypes.shape({refreshToken:b.PropTypes.func,isCurrentUserSignedIn:b.PropTypes.func}).isRequired,uasConfigService:b.PropTypes.shape({configureUAS:b.PropTypes.func,getMyReaction:b.PropTypes.func}).isRequired,istatsService:b.PropTypes.shape({logSelection:b.PropTypes.func,logDeselection:b.PropTypes.func,logCtaEvent:b.PropTypes.func,logError:b.PropTypes.func}).isRequired,spriteService:b.PropTypes.shape({fetchSprites:b.PropTypes.func,getSprite:b.PropTypes.func}).isRequired,pageContext:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool])},U.defaultProps={showCookieBanner:!1,error:!1,reactionsData:{},urn:!1,isSignedIn:!1,isIdAvailable:!1,uasSelectedReaction:null,resourceTitle:"resourceTitle",url:"url",pageContext:!1},t.default=U,e.exports=t.default},function(e,t,r){e.exports=r(121)},function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(122),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function r(e,t,r,n){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(n||[]);return a._invoke=c(e,r,s),a}function n(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){function t(r,o,i,a){var s=n(e[r],e,o);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&b.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function r(e,r){function n(){return new Promise(function(n,o){t(e,r,n,o)})}return o=o?o.then(n,n):n()}var o;this._invoke=r}function c(e,t,r){var o=w;return function(i,a){if(o===x)throw new Error("Generator is already running");if(o===O){if("throw"===i)throw a;return y()}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var u=l(s,r);if(u){if(u===A)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===w)throw o=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=x;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?O:R,c.arg===A)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=O,r.method="throw",r.arg=c.arg)}}}function l(e,t){var r=e.iterator[t.method];if(r===v){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=v,l(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var o=n(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,A;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=v),t.delegate=null,A):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[_];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(b.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=v,t.done=!0,t};return n.next=n}}return{next:y}}function y(){return{value:v,done:!0}}var v,m=Object.prototype,b=m.hasOwnProperty,E="function"==typeof Symbol?Symbol:{},_=E.iterator||"@@iterator",g=E.asyncIterator||"@@asyncIterator",T=E.toStringTag||"@@toStringTag",S="object"==typeof e,P=t.regeneratorRuntime;if(P)return void(S&&(e.exports=P));P=t.regeneratorRuntime=S?e.exports:{},P.wrap=r;var w="suspendedStart",R="suspendedYield",x="executing",O="completed",A={},M={};M[_]=function(){return this};var C=Object.getPrototypeOf,L=C&&C(C(h([])));L&&L!==m&&b.call(L,_)&&(M=L);var I=a.prototype=o.prototype=Object.create(M);i.prototype=I.constructor=a,a.constructor=i,a[T]=i.displayName="GeneratorFunction",P.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},P.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,T in e||(e[T]="GeneratorFunction")),e.prototype=Object.create(I),e},P.awrap=function(e){return{__await:e}},s(u.prototype),u.prototype[g]=function(){return this},P.AsyncIterator=u,P.async=function(e,t,n,o){var i=new u(r(e,t,n,o));return P.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(I),I[T]="Generator",I[_]=function(){return this},I.toString=function(){return"[object Generator]"},P.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},P.values=h,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(d),!e)for(var t in this)"t"===t.charAt(0)&&b.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,n){return i.type="throw",i.arg=e,r.next=t,n&&(r.method="next",r.arg=v),!!n}if(this.done)throw e;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&b.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),A},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),d(r),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;d(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:h(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=v),A}}}(function(){return this}()||Function("return this")())},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(124),i=n(o);t.default=function(e){return function(){var t=e.apply(this,arguments);return new i.default(function(e,r){function n(o,a){try{var s=t[o](a),u=s.value}catch(e){return void r(e)}return s.done?void e(u):i.default.resolve(u).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}},function(e,t,r){e.exports={default:r(125),__esModule:!0}},function(e,t,r){r(77),r(51),r(62),r(126),r(144),r(145),e.exports=r(8).Promise},function(e,t,r){"use strict";var n,o,i,a,s=r(35),u=r(7),c=r(9),l=r(127),f=r(6),d=r(14),p=r(10),h=r(128),y=r(129),v=r(133),m=r(134).set,b=r(136)(),E=r(137),_=r(138),g=r(139),T=r(140),S="Promise",P=u.TypeError,w=u.process,R=w&&w.versions,x=R&&R.v8||"",O=u[S],A="process"==l(w),M=function(){},C=o=E.f,L=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[r(61)("species")]=function(e){e(M,M)};return(A||"function"==typeof PromiseRejectionEvent)&&e.then(M)instanceof t&&0!==x.indexOf("6.6")&&g.indexOf("Chrome/66")===-1}catch(e){}}(),I=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},k=function(e,t){if(!e._n){e._n=!0;var r=e._c;b(function(){for(var n=e._v,o=1==e._s,i=0,a=function(t){var r,i,a,s=o?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{s?(o||(2==e._h&&B(e),e._h=1),s===!0?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),a=!0)),r===t.promise?c(P("Promise-chain cycle")):(i=I(r))?i.call(r,u,c):u(r)):c(n)}catch(e){l&&!a&&l.exit(),c(e)}};r.length>i;)a(r[i++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){m.call(u,function(){var t,r,n,o=e._v,i=j(e);if(i&&(t=_(function(){A?w.emit("unhandledRejection",o,e):(r=u.onunhandledrejection)?r({promise:e,reason:o}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=A||j(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(e){m.call(u,function(){var t;A?w.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},U=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),k(t,!0))},D=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw P("Promise can't be resolved itself");(t=I(e))?b(function(){var n={_w:r,_d:!1};try{t.call(e,c(D,n,1),c(U,n,1))}catch(e){U.call(n,e)}}):(r._v=e,r._s=1,k(r,!1))}catch(e){U.call({_w:r,_d:!1},e)}}};L||(O=function(e){h(this,O,S,"_h"),p(e),n.call(this);try{e(c(D,this,1),c(U,this,1))}catch(e){U.call(this,e)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(141)(O.prototype,{then:function(e,t){var r=C(v(this,O));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=A?w.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&k(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n;this.promise=e,this.resolve=c(D,e,1),this.reject=c(U,e,1)},E.f=C=function(e){return e===O||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!L,{Promise:O}),r(60)(O,S),r(142)(S),a=r(8)[S],f(f.S+f.F*!L,S,{reject:function(e){var t=C(this),r=t.reject;return r(e),t.promise}}),f(f.S+f.F*(s||!L),S,{resolve:function(e){return T(s&&this===a?O:this,e)}}),f(f.S+f.F*!(L&&r(143)(function(e){O.all(e).catch(M)})),S,{all:function(e){var t=this,r=C(t),n=r.resolve,o=r.reject,i=_(function(){var r=[],i=0,a=1;y(e,!1,function(e){var s=i++,u=!1;r.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,r[s]=e,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(e){var t=this,r=C(t),n=r.reject,o=_(function(){y(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},function(e,t,r){var n=r(27),o=r(61)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),o))?r:i?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(9),o=r(130),i=r(131),a=r(13),s=r(30),u=r(132),c={},l={},t=e.exports=function(e,t,r,f,d){var p,h,y,v,m=d?function(){return e}:u(e),b=n(r,f,t?2:1),E=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(p=s(e.length);p>E;E++)if(v=t?b(a(h=e[E])[0],h[1]):b(e[E]),v===c||v===l)return v}else for(y=m.call(e);!(h=y.next()).done;)if(v=o(y,b,h.value,t),v===c||v===l)return v};t.BREAK=c,t.RETURN=l},function(e,t,r){var n=r(13);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},function(e,t,r){var n=r(55),o=r(61)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||i[o]===e)}},function(e,t,r){var n=r(127),o=r(61)("iterator"),i=r(55);e.exports=r(8).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(13),o=r(10),i=r(61)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[i])?t:o(r)}},function(e,t,r){var n,o,i,a=r(9),s=r(135),u=r(59),c=r(18),l=r(7),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,y=l.Dispatch,v=0,m={},b="onreadystatechange",E=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},_=function(e){E.call(e.data)};d&&p||(d=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return m[++v]=function(){s("function"==typeof e?e:Function(e),t)},n(v),v},p=function(e){delete m[e]},"process"==r(27)(f)?n=function(e){f.nextTick(a(E,e,1))}:y&&y.now?n=function(e){y.now(a(E,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=_,n=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",_,!1)):n=b in c("script")?function(e){u.appendChild(c("script"))[b]=function(){u.removeChild(this),E.call(e)}}:function(e){setTimeout(a(E,e,1),0)}),e.exports={set:d,clear:p}},function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){var n=r(7),o=r(134).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,u="process"==r(27)(a);e.exports=function(){var e,t,r,c=function(){var n,o;for(u&&(n=a.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(u)r=function(){a.nextTick(c)};else if(!i||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);r=function(){l.then(c)}}else r=function(){o.call(n,c)};else{var f=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),r=function(){d.data=f=!f}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},function(e,t,r){"use strict";function n(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=o(t),this.reject=o(r)}var o=r(10);e.exports.f=function(e){return new n(e)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){var n=r(7),o=n.navigator;e.exports=o&&o.userAgent||""},function(e,t,r){var n=r(13),o=r(14),i=r(137);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},function(e,t,r){var n=r(11);e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}},function(e,t,r){"use strict";var n=r(7),o=r(8),i=r(12),a=r(16),s=r(61)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(61)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},e(i)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(6),o=r(8),i=r(7),a=r(133),s=r(140);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(6),o=r(137),i=r(138);n(n.S,"Promise",{try:function(e){var t=o.f(this),r=i(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(43),i=n(o),a=r(80),s=n(a),u=r(82),c=n(u),l=r(81),f=n(l),d=r(86),p=n(d),h=r(95),y=n(h),v=r(114),m=function(e){function t(e){(0,s.default)(this,t);var r=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return r.props=e,r.handleChange=r.handleChange.bind(r),r.state={slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT},r}return(0,p.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;clearInterval(this.startAnimationInterval),clearTimeout(this.startAnimationTimeout);var r=this.props.showAnimation===!1&&e.showAnimation===!0,n=this.props.endAnimation===!1&&e.endAnimation===!0,o=this.props.children.type.displayName!==e.children.type.displayName;o&&this.setState({slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT}),r?(this.setState({slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT}),clearInterval(this.stopAnimationinterval),clearTimeout(this.stopAnimationTimeout),this.startAnimationTimeout=setTimeout(function(){t.startAnimationInterval=setInterval(t.incrementSlides.bind(t),v.SPRITE_SLIDE_INCREMENT_INTERVAL)},v.SPRITE_EFFECT_DELAY)):n&&(this.stopAnimationTimeout=setTimeout(function(){t.stopAnimationinterval=setInterval(t.decrementSlides.bind(t),v.SPRITE_SLIDE_DECREMENT_INTERVAL)},v.SPRITE_REVERSE_EFFECT_DELAY), this.handleChange(this.state.slideNumber))}},{key:"handleChange",value:function(e){this.props.onSlideNumberChange(e)}},{key:"decrementSlides",value:function(){this.state.slideNumber-1>=0?this.setState({slideNumber:this.state.slideNumber-1}):clearInterval(this.stopAnimationinterval)}},{key:"incrementSlides",value:function(){var e=Math.min(this.state.slideNumber+1,v.SPRITE_TOTAL_SLIDES);this.setState({slideNumber:e>v.SPRITE_TOTAL_SLIDES?v.SPRITE_TOTAL_SLIDES:e})}},{key:"render",value:function(){var e=this.props.animationPosition.x,t=this.props.animationPosition.y,r="reactions-sprite-animation-wrapper",n="reactions-sprite-animation reactions-sprite-animation__slide--"+this.state.slideNumber;return y.default.createElement("div",{className:r},y.default.createElement("div",{className:n,style:{left:e,top:t}},this.props.children))}}]),t}(h.Component);m.propTypes={showAnimation:h.PropTypes.bool.isRequired,children:h.PropTypes.element.isRequired,endAnimation:h.PropTypes.bool,onSlideNumberChange:h.PropTypes.func.isRequired,animationPosition:h.PropTypes.shape({x:h.PropTypes.number,y:h.PropTypes.number}).isRequired},m.defaultProps={endAnimation:!1},t.default=m,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(148),s=function(e){return i.default.createElement("div",{className:"reactions-error-message"},i.default.createElement("div",{className:"reactions-error-message__inner"},i.default.createElement("div",{role:"alert",className:"reactions-error-message__text"},(0,a.getMessageForError)(e.errorType))))};s.displayName="ErrorMessage",s.defaultProps={errorType:"ERR_MSG_OTHER"},s.propTypes={errorType:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.bool]).isRequired},t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageForError=t.getStandardisedErrorType=t.ErrorTypes=void 0;var o=r(149),i=n(o),a=t.ErrorTypes={UAS_FAILURE:"uasFailure",TOKEN_REFRESH_FAILURE:"tokenRefreshFailure",OTHER_ERROR:"otherError"};t.getStandardisedErrorType=function(e){var t=(0,i.default)(a).indexOf(e.message)>-1;return t?e.message:a.OTHER_ERROR},t.getMessageForError=function(e){switch(e){case a.UAS_FAILURE:return"Sorry, there was a problem recording your reaction. Please try again.";case a.TOKEN_REFRESH_FAILURE:return"Sorry, there was a problem. Please refresh the page and try again.";case a.OTHER_ERROR:default:return"Sorry, there was a problem. Please try again."}}},function(e,t,r){e.exports={default:r(150),__esModule:!0}},function(e,t,r){r(151),e.exports=r(8).Object.values},function(e,t,r){var n=r(6),o=r(152)(!1);n(n.S,"Object",{values:function(e){return o(e)}})},function(e,t,r){var n=r(16),o=r(23),i=r(25),a=r(39).f;e.exports=function(e){return function(t){for(var r,s=i(t),u=o(s),c=u.length,l=0,f=[];c>l;)r=u[l++],n&&!a.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={CtaOpen:"cta_open",CtaClose:"cta_close"};t.default=r,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(43),c=n(u),l=r(80),f=n(l),d=r(81),p=n(d),h=r(82),y=n(h),v=r(86),m=n(v),b=r(95),E=n(b),_=r(155),g=n(_),T=r(119),S=n(T),P=r(156),w=n(P),R=r(157),x=n(R),O=r(158),A=n(O),M=r(159),C=n(M),L=r(161),I=n(L),k=r(162),N=n(k),j=r(163),B=n(j),U=r(164),D=n(U),F=r(148),q=r(114),z=function(e){function t(e){(0,f.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,c.default)(t)).call(this,e));return r.props=e,r.state={isSignedIn:!1,error:!1,uasSelectedReaction:null},r}return(0,m.default)(t,e),(0,y.default)(t,null,[{key:"getCountingServiceClient",value:function(e,t,r){return t?g.default.getClient(r):e}},{key:"getIdctaService",value:function(e,t,r,n){return!t&&r?n?x.default:A.default:e}},{key:"getUasConfigService",value:function(e,t,r){return t?(0,I.default)(r):e}},{key:"getIstatsService",value:function(e,t){return t?B.default:e}}]),(0,y.default)(t,[{key:"componentDidMount",value:function(){function e(){return r.apply(this,arguments)}var r=(0,s.default)(i.default.mark(function e(){var r,n,o,a,s,u,c,l,f,d,p=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.getIdctaService(w.default,this.props.enableAcceptanceTestMode,this.props.enableStandaloneMode,this.props.error),e.next=3,r.isCurrentUserSignedIn(this.props.error).catch(function(){p.setState({error:new Error(F.ErrorTypes.TOKEN_REFRESH_FAILURE)})});case 3:if(n=e.sent,o="undefined"!=typeof n&&n,this.setState({isSignedIn:o}),!o){e.next=21;break}return a=this.props,s=a.resourceType,u=a.urn,c=a.env,l=a.product,e.next=10,w.default.refreshToken();case 10:return e.prev=10,e.next=13,C.default.getMyReaction(c,l,s,u,this.props.enableAcceptanceTestMode);case 13:f=e.sent,d=f===q.NO_REACTION?q.NO_REACTION:(0,q.keyToLabel)(f,l),this.setState({isSignedIn:o,error:!1,uasSelectedReaction:d}),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),this.setState({isSignedIn:o,error:new Error(F.ErrorTypes.UAS_FAILURE)});case 21:case"end":return e.stop()}},e,this,[[10,18]])}));return e}()},{key:"render",value:function(){var e=this.props.enableStandaloneMode,r=this.props.error||this.state.error,n=t.getCountingServiceClient(this.props.countingServiceClientLibrary,e,r),o=E.default.createElement(S.default,{countingServiceClientLibrary:n,env:this.props.env,urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,globalId:this.props.globalId,idctaService:t.getIdctaService(w.default,this.props.enableAcceptanceTestMode,e,r),isIdAvailable:this.props.isIdAvailable,isSignedIn:this.state.isSignedIn,product:this.props.product,reactionsCounts:this.props.reactionsCounts,reactionsCountTotal:this.props.reactionsCountTotal,error:r,uasSelectedReaction:this.state.uasSelectedReaction,uasConfigService:t.getUasConfigService(C.default,e,r),istatsService:t.getIstatsService(N.default,e),spriteService:D.default,pageContext:this.props.pageContext});return E.default.createElement("div",null,this.props.enableStandaloneMode?E.default.createElement("div",{className:"reactions__standalone"},E.default.createElement("div",{className:"content-item-description"},E.default.createElement("div",{className:"reactions-container"},o))):E.default.createElement("div",null,o))}}]),t}(b.Component);z.propTypes={enableStandaloneMode:b.PropTypes.bool.isRequired,countingServiceClientLibrary:b.PropTypes.shape({postToUAS:b.PropTypes.func.isRequired,deleteFromUAS:b.PropTypes.func.isRequired}).isRequired,error:b.PropTypes.oneOfType([b.PropTypes.shape({Error:b.PropTypes.string}),b.PropTypes.bool]),env:b.PropTypes.string.isRequired,urn:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool]).isRequired,resourceTitle:b.PropTypes.string.isRequired,resourceType:b.PropTypes.string.isRequired,url:b.PropTypes.string.isRequired,globalId:b.PropTypes.string.isRequired,isIdAvailable:b.PropTypes.bool.isRequired,product:b.PropTypes.string.isRequired,reactionsCounts:b.PropTypes.arrayOf(b.PropTypes.object).isRequired,reactionsCountTotal:b.PropTypes.number.isRequired,enableAcceptanceTestMode:b.PropTypes.bool,pageContext:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool])},z.defaultProps={error:!1,enableAcceptanceTestMode:!1,pageContext:!1},t.default=z,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return u.default.resolve({ok:!0})}function i(e){return function(){throw e}}function a(e){return e.message===c.ErrorTypes.UAS_FAILURE?i(e):o}Object.defineProperty(t,"__esModule",{value:!0});var s=r(124),u=n(s),c=r(148);t.default={getClient:function(e){return{postToUAS:a(e),deleteFromUAS:a(e)}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(124),c=n(u),l=function(){return new c.default(function(e,t){requirejs(["idcta-v2/idcta-1"],e,t)})};t.default={refreshToken:function(){var e=this;return(0,s.default)(i.default.mark(function t(){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:return r=e.sent,e.abrupt("return",r.initiateTokenRefresh());case 4:case"end":return e.stop()}},t,e)}))()},isCurrentUserSignedIn:function(){var e=this;return(0,s.default)(i.default.mark(function t(){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:return r=e.sent,e.abrupt("return",r.hasCookie());case 4:case"end":return e.stop()}},t,e)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(124),s=n(a),u=r(123),c=n(u),l=r(148),f=r(158),d=n(f);t.default={refreshToken:function(e){if(e.message===l.ErrorTypes.TOKEN_REFRESH_FAILURE)throw e;return d.default.refreshToken()},isCurrentUserSignedIn:function(e){var t=this;return(0,c.default)(i.default.mark(function r(){return i.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.message!==l.ErrorTypes.TOKEN_REFRESH_FAILURE){t.next=2;break}return t.abrupt("return",s.default.reject(e));case 2:return t.abrupt("return",s.default.resolve(!0));case 3:case"end":return t.stop()}},r,t)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(124),c=n(u);t.default={refreshToken:function(){return c.default.resolve(!0)},isCurrentUserSignedIn:function(){var e=this;return(0,s.default)(i.default.mark(function t(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.default.resolve(!0));case 1:case"end":return e.stop()}},t,e)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(114),c=r(160),l=r(148),f=function(e){if(e&&"undefined"!=typeof e){if("live"===e)return"ocivkho3fups2";if("int"===e||"test"===e)return"8d6f5s2dqp0pc"}throw Error(l.ErrorTypes.API_KEY_ERROR)},d=function(){var e=window.document&&window.document.domain||"";return e.indexOf(".com")>-1?".com":".co.uk"},p=function(e){return u.KEY_TO_UAS_CONTEXT[e]},h=function(e){return"ownit"===e?"stay-safe":e},y=function(e,t,r){var n=r.replace("urn:bbc:","");return"urn:bbc:"+e+":"+t+":"+n},v=function(e,t,r,n,o){var i="live"===e?"":e+".",a=y(t,r,n);return o?"https://web.archive.org/web/20211103195646/http://localhost:3000/wiremock/session/"+Morph.contextId+"/uas/myreaction/"+a:"https://web.archive.org/web/20211103195646/https://activity."+i+"api."+c.bbcTldSuffix+"/my/reactions/"+a},m=function(){var e=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(204!==t.status){e.next=2;break}return e.abrupt("return",u.NO_REACTION);case 2:return e.next=4,t.json();case 4:return r=e.sent,e.abrupt("return",r.action);case 6:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=(0,s.default)(i.default.mark(function e(t){var r,n,o,a,s,u=t.clickedReaction,c=t.urn,y=t.resourceTitle,v=t.resourceType,m=t.url,b=t.product,E=t.env,_=t.signedInState,g=t.isIdAvailable,T=t.idctaService,S=t.error,P=t.endSlideNumber;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!_||!g){e.next=3;break}return e.next=3,T.refreshToken(S).catch(function(){throw new Error(l.ErrorTypes.TOKEN_REFRESH_FAILURE)});case 3:return r=void 0,P&&(r={reactLevel:u+"_"+P}),n={resourceDomain:h(b),resourceType:v,resourceId:c,resourceTitle:y,url:m,action:u,actionContext:p(u),metadata:r},o=f(E),a=d(),e.next=10,T.isCurrentUserSignedIn(S).catch(function(){throw new Error(l.ErrorTypes.TOKEN_REFRESH_FAILURE)});case 10:return s=e.sent,e.abrupt("return",{UASdata:n,apiKey:o,env:E,domain:a,isSignedIn:s});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=(0,s.default)(i.default.mark(function e(t,r,n,o,a){var s,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=v(t,h(r),n,o,a),e.next=3,fetch(s,{credentials:"include",headers:{"x-api-key":f(t),Accept:"application/json"}});case 3:return u=e.sent,e.abrupt("return",m(u));case 5:case"end":return e.stop()}},e,void 0)}));return function(t,r,n,o,i){return e.apply(this,arguments)}}();t.default={configureUAS:b,getMyReaction:E},e.exports=t.default},function(e,t){"use strict";function r(){return"undefined"==typeof document?"":document.location.href}Object.defineProperty(t,"__esModule",{value:!0});var n="https://web.archive.org/web/20211103195646/http://localhost:3000",o=t.bbcTldSuffix=r().indexOf("bbc.com")!==-1?"bbc.com":"bbc.co.uk";t.getBBCDomain=function(e){switch(e){case"acc":return n;case"live":return"https://www."+o;default:return"https://www."+e+"."+o}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(124),i=n(o),a=function(e){return function(){throw e}},s=function(){return i.default.resolve(!0)},u=function(){},c=function(e){return e?a(e):s},l=function(e){return{configureUAS:c(e),getMyReaction:u}};t.default=l,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return new c.default(function(e){requirejs(["istats-1"],function(t){e(t)})})}function i(e){o().then(function(t){t.log(d,f,(0,s.default)({},l,e))})}Object.defineProperty(t,"__esModule",{value:!0});var a=r(2),s=n(a),u=r(124),c=n(u),l={page_type:"content",children_interaction_type:"reactions"},f="web_button",d="click";t.default={logSelection:function(e,t,r,n){i({children_interaction_variant:e+"_"+t,children_interaction_location:n}),r&&this.logDeselection(r,n)},logDeselection:function(e,t){i({children_interaction_variant:e+"_deselect",children_interaction_location:t})},logCtaEvent:function(e){i({children_interaction_variant:""+e})},logError:function(e){i({children_interaction_variant:"error_"+e})}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return s.default.resolve(u)}function i(){o().then(function(e){e.log()})}Object.defineProperty(t,"__esModule",{value:!0});var a=r(124),s=n(a),u={log:function(){}};t.default={logSelection:function(e,t,r){i(),r&&this.logDeselection(r)},logDeselection:function(){i()},logCtaEvent:function(){i()},logError:function(){i()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){a.default&&a.default.selfTransitive&&a.default.selfTransitive("assets",function(e){s=e})}Object.defineProperty(t,"__esModule",{value:!0});var i=r(165),a=n(i),s={},u=function(e,t){return t?s.landscape[e]:s.portrait[e]};t.default={fetchSprites:o,getSprite:u},e.exports=t.default},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-childrens-reactions@1.4.7",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-childrens-reactions@1.4.7",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-childrens-reactions@1.4.7",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-childrens-reactions@1.4.7",e,t,!0)}}}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-id-availability-data/version/1.0.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"isAvailable":true}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-childrens-reactions-data/urn/urn%3Abbc%3Aisite2%3Afile_id%3Achildrensgames%3Ajigsaw-scream-street/version/0.7.1', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"countsData":{"urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street":{"loved":7,"lol":5,"applause":1,"omd":1,"sad":3,"inspired":0}},"countsTotals":{"urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street":17},"env":"live"}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-childrens-reactions","product":"cbbc","resourceType":"game","urn":"urn:bbc:isite2:file_id:childrensgames:jigsaw-scream-street","resourceTitle":"Jigsaw:+Scream+Street","url":"https:\/\/web.archive.org\/web\/20211103195646\/https:\/\/www.bbc.co.uk\/cbbc\/puzzles\/scream-street-jigsaw","pageContext":"primary_content","version":"1.4.7","_mrrVersion":"2.2.1"},'u39935251324059373'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u39935251324059373 */</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.67.1"]={"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.67.1"]=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=n(41),s=r(a),u=n(44),l=r(u),c=n(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.67.1",e,t)}}},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return g.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function u(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function l(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(g.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(g.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(g.arrayBuffer&&g.blob&&_(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!g.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!b(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(l(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function m(e){var t=e.toUpperCase();return T.indexOf(t)>-1?t:e}function f(e,t){t=t||{};var n=t.body;if(e instanceof f){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=m(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function h(e){var t=new o,n=e.replace(/\r?\n[\t ]+/g," ");return n.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var g={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=function(e){return e&&DataView.prototype.isPrototypeOf(e)},b=ArrayBuffer.isView||function(e){return e&&v.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var T=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})},d.call(f.prototype),d.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var 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/20211103195646/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",{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,t){var n=e.commentNumber,r=e.commentLinks,o=e.authorDisplayName,i=r.reportCommentUrl,a=r.viewModerationHistoryUrl,s=r.makeTopPickUrl,u=r.memberDetailsUrl,m=a||s||u,f=t.theme.formatMessage("reportComment"),p=t.theme.formatMessage("opensNewTab");return l.default.createElement("div",null,i&&l.default.createElement(c.ActionLinks,{className:"action-links--comment-links"},l.default.createElement(c.ActionLink,{href:i,icon:l.default.createElement(v.default,{height:13,width:13,alignBaseline:!0}),className:"action-link--report"},l.default.createElement("span",null,f),l.default.createElement("span",{className:"action-link__text--not-bold"}," (",p,")"))),m&&l.default.createElement(c.ActionLinks,{className:"action-links--admin-links"},s&&l.default.createElement(c.ActionLink,{href:s,className:"action-link--makeTopPick"},"Make ",l.default.createElement(d.A11yText,{contents:"comment number "+n+" "}),"Editor's Pick"),a&&l.default.createElement(c.ActionLink,{href:a,className:"action-link--viewModerationHistory"},l.default.createElement(d.A11yText,{contents:"View "}),"Moderation History",l.default.createElement(d.A11yText,{contents:" for comment number "+n})),u&&l.default.createElement(c.ActionLink,{href:u,className:"action-link--memberDetails"},l.default.createElement(d.A11yText,{contents:"View "}),"Member Details",l.default.createElement(d.A11yText,{contents:" for "+o}))))};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:{}},b.contextTypes={theme:u.PropTypes.shape({formatMessage:u.PropTypes.func})},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,target:"_blank",rel:"noopener noreferrer"},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",{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.67.1",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@3.67.1",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@3.67.1",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@3.67.1",e,t,!0)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(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/20211103195646/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.67.1",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.67.1"]={"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.67.1/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.67.1"]={"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.67.1/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,iVBORw0KGgoAAAANSUhEUgAAADwAAABACAYAAABGHBTIAAAABGdBTUEAALGOfPtRkwAACcNJREFUaAXVWwtQVNcZ/s65dxcWK0Qg0SGxgoQqxmp9xcRMW+ljErWmk7SSCUimxieiSZx01Ka23XZiE207tRJfjUYnWnwwNtPGYNpkitOJVqMCKh3fYtXiExEQBXbvPf3vElZYdu/uuXsBe2d29p5z/v/7/+/ec8//n3PuZejCozrFHdcnud+TClOHgWE4AxsihEhmjCUJiFpnxYxUn/mlW0sYE4Oo7SIHP6kLlMPr/RzuvApq1+10UbUTzMBqeHTlgzFfcmUz8ElMIIuIxra3QWR9RQHU3qvX48D4QGobSPXf9EkoKsRbRbUQogQesROVZz5Csbvlno61M9sI3xn6x3GqwubSHZpCrjh97rRys+YZaVGP6APGcgktV4zIqMHwbRvgbSiEe+Ylq6DcqmKgnlPlJZzxXPKylWygQJRlxngSU8RCOHudw9JtazFrlsMKpGXCq/6Nfu+ex3QrRqPRoW7vYFzMRlxmLys4lgivO4+cmF44LhgmWzFqp059PqbRb1CkmFKE3aWIpbv6nsLZn8DZA5Ea6Uo5GgNp9FfK6mZjaiR2Iia84hj6PpyGUsbZtEiAu1OGcSVOUZ2b6wv422TXdKiMiPDK03gkLh57iewTthERaLYN6wsgDnVRQ4GyZQeghMIOS9ggG+vAXs5YeigQK/V0G6qt6IXToe6dM6FAeT8UaVPC7xxHksuJTzhnXw5nSLadEoxKWZ1I5VtJ4/fB5EMSHl8KNdaFYgoDg4MpRlsnoP8jWgwzfUoH5tfNcSwIlAlJOCeNL6eROCtQwZaywK0LjcdKbMEyAVEUffnNOXiqvUhQwmuq8DTnotPVaa8YzbnG2JqMM4W2D1qdfVJUB1O2ns5FfFtbJ8LLTqC3wrG+TcD2f4FrjfXXltmOGwKQQlb/vg84ftfW3Ilwn1j+SxqRH2kTsPvfCzY98dziOrtxzfA42Iy6fPhCagfCFILSGdPnmSlH08Z07Y3YIy/vigbDqi5j6grSZR2mhy4HfmUk51ZBQ+rRbJ9SwEXK0Vm/CSnTxQ00kxtbPxff8xNecxypjOMFu+3qEBd0zTsjtnLOJ3Zjy+OpP/V3acXFX6E7HjIlkwXXhagSAq/fvFw75P4gSwyYVuu7w+4dNGlnel6YvNuU8/WWa2UKeJOTOyrimGun81h+GeFRQnV/HAza2ds3RZ6PcMpoPEMjc7KsazQfPtimc7Xp8kh6/hOoPIG68czy9PkfeLS5qx8/v9pYiOvRQ9f10x6P9q2UrbjR2qUVPCfrEXXZs5WV+G0wPQoDybS2NTNGUcvLB84r2p82o28wue6o0+H5uLbOOzZpPS4Z9nyEabCaKG1cx5uFE8NP8Wh0fNHFXEfKB8wdJ20jCgWhaxc1reWl+FViwoCieyukvPAkBjPBHpLBFrq4Un0QRRHrMNaXKcqnB1PnjY9Yx4KggHYb0HZBtOSc/FxLT1iLzYEwaoyzNQMJbDAra8Bmdzak1ojp+XY5FPylfODs0SPOrTtthi/T5tGxnomWP3uAy6vX4aw7zMK9KjiGyxgwZGns3Smr49MDi6dpW5EbGEs/W3YUEtfKzas5PcSZMs4LTTR8ehCHZHQ6yDI2+tmBBT/qUNeNBQ4BudUMhsPF2aBebf2gbZjFpG262GYd3VyTIgjkBiyGk+aQ4Vsp5meUDSiwb0EwvEm/BNlmSf5SBCeUbFyMQCysCFPY02GFukCgNfGQAOYeNEqIhxRV6FkO2diFDdKE7fKFhug0u7BkcKQJ6w5Y2sTq5JQQ9uB0Ajav4LTrXmMu0rGVYnD/jjX/XyUjLF2TcZkIR7xTJ4MrLfvffQ3SOqRghKULUooCo6bsCL13I4VlUZhy+YsoLraUC3CaoZ+QsUvhpPd3xqBHRli/n5T8+M8lT1TKaCtk7xfF4h+QnQOStuwT13T/rkXDUGR6VCR6vLjStxLnyIjpKgtvbsF+WU9o4SvPtywkq2iDvBB6I2quF/uhVMx2quyzXrHsTP1I3GociZ23hiO7FPAvUPpl6YTPH2R0aXG9fWW4c9on7pcyBjnh5LqkXRMrsWLBrWDYtMsZLzh7nvZXto8ZiTN1I5EbKOeLw/Qi2EeBDWHLHEvmlyAmrJyNArQKegENzW9FBMnZAHo1Y8vtUdhVlQr/6xmtiYeGDyICaSdESXj6sKF4vV1Vl55SvtAMXXsBy6fLhSPGJiX3wYGaYfBtH/kIVx/Cx7Qod0PWY7rij8vqWJEnsi3QtGwsmSo93hj2KLJ8xenAnouPIdFH2LdcI3in9R8rztmtQ7s01RRJvo2f5f01GmyaFaYnOLGltUsTknZXX0mDl6VgHo0joXQpuWgSXlGIultDsSTns1ByUvUMif6hOz8T5989j+20ZNszoy95Tl33Gt3Ncuj0QmnTne349cyrUoTCCy/1EzZk73rwc5dTTKHbb/8Oopkzz7AbtJhYRXuMl4j1Caj6Kbz5d+kxxcyErosD8WXY5e/ShvArGTgrBH/HTLFL2lSRTG/NptE7JV+Hwl+FcOzGT56vwpFt+ZgyhfKc6A/hxWuEQtc14Kht0n9BI/algOruL3LWn5LE1Xjjuf04tCk9GgeIz/qEo60ZZSfCiwajQdMxIxoDtuoyPhrcuR8H3rc0YTFmVlfr7uULnQgbzuan4W+6zoK+2GUrmUjBOE+GQ92N8o0Zkar45ITw0s7EixlnUN+mF5Sw0VhUpS+kq7OnTbDH/w3SiNkBt7vDQGvmF8XYHydWYG97mZCE92TB23wXP6RQITVfbg9u+znjX8Ozma9Ggkt+FyYcxh8CZUMSNgTnZaLmbgu+q9HXJoGKPVZmWIhSd6yZfSJbtPswgr5YZ0rYAKVQdYnmzOOMDXAzI93WxsRDiH/0+6HsfUH2pWxKHoPJhCVsKBmk79TjKSN4BwPp9jquTg5mk27Kst6HMTUUWUMnIsKG4GtfxdXqKoyngWyjUe7RQxcd9qV0TTRqusiLP4zF5Jf5Eo+M4+4sNM1MxcsEnkv5btBVBxk8y7KKoF0LWlmjg9hVNGsYlVCGLZHgRXyH24PNTkVRcyMyaY36w/b13XdO29qlmxIMe/EV2PTg0ch3NCOOaYFkCh7DFarbEFjf5WUhPHRz38Opf1na1LNMOJCY0LSJQlHmcgb6FI/Z/3Wa0GqgKxvguV2IJ6x/imcb4RH/Wb2PLsK+f/abtqC3Ky6bPp6cRA9ZFk01TWNm4IXrUBZ6LY2rJdC9O3GWPrbMvo8+tmxz9BtXNhpLvquM34cpk+Mejk15ksMxTBd8uMoxhEIHTQWR1Cbv+9f4HXD9HHXVC1Q+RSMRLQLQ57S76HNatz0vv7TZ+x8wAfgeqPyGEgAAAABJRU5ErkJggg=="}))};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,iVBORw0KGgoAAAANSUhEUgAAANAAAADpCAYAAABV0bkRAAAABGdBTUEAALGOfPtRkwAANNpJREFUeAHtXQeYFMUSrt3LcMdxRzjyHRklSRAxgyiCmBPJgAIKCqISzAEjT32C+amgBDOiiIoYUJCHIKI8RBSUcBwIAkc+jku7+/4a2GN3b0P3zGzu+r7anemuru6umZrurq7utpCCaJBAAgqZAUwFpgFTgBagE8pw4cRDuD4CdDgj1b+SQLxJoC4qfB1wBnAt0AZkhRDF/aBdALwd2AyoQEkg5iVQEzW8FbgMaAeKKosI3X/B71ogt1wKlARiSgInojYzgSVAEWUwQrMDeXCrxN1ABUoCUS2BDij9XKDZrY2Igm1DvtcDXcdRuFWgJBD5EqiDIr4KlB3XiCiGLM1SlKNd5ItMlVBJ4KgEhuBvH1D2RQ8mfSnKcx+QLX0KlAQiUgINUarPgcFUBKO8l6B8jSJSeqpQcS2B81H7QqDRFzwU6bmcPeP6aanKR4wEuEv0CDAcRgIjylaOMrM5XYGSQNgkUA05s4XNyIsc7rRs6EgMmwRVxnErgfqo+c/AcCuAGfl/inrwx0CBkkBIJNACuWwCmvHyRgqP71GfzJBIT2US1xLg+RSeoIyUF9/McqxGvXj+SoGSQFAk0B5cdwPNfGkjjdca1E8pUVBen/hm2hrVj3XlcSozt0SqO+fyvitfKBdh6LjkMc8iIE+Umg4JCRZq3SyZOrZJo0b1koCJlF49gdJSLZSSbKHiIw6gnbbvKqf1m0rp599K6K98diwIKqwA997AA0HNJUqYKwXS/6C4O7MM2Fw/i6opWzVNoQt6ZFC/nhnUrUMaVUuzViXyE7Ltn3L6YtEhenveflr6c7EfSkNRbFhgJQq6thoqZQgSKwXSJ+TqSLYY2EVfcvdU6dWsNOiSmjTk8iw6GUpjFvy6roRefnsPvTPvAB0p4flcU+FDcOsPNJ2xqaUMMjOlQPICZg+Dz4B95JO6p6hZI4FGX1eLbr22FtWqyWyDA9wqPfTcLnpr7j6ym/u6P48SjwlOqaODq1Ig+ec0xehLk4ixzYjB2fTg6LqUBSUKFaz9q4RGPbyD/rvysJlZjgezZ8xkGE28lALJPa2bQM4uLrqhS7s0emNSIzqxZYpuHkYSOmBPe3HWHnrg2Z10GAYIE4CZXALkVjnuQCmQ+CM/HaTfAZPEkxynTEq0aC3O+OG1ia1r4Yb8bWU08PattHINb+BjGHgnoO7A3w1zijIG4X+S0SGweijmKiD/SwOboN97rjGdclJkuZWVlTvozsd30Kvv7pWuk5cEmxDWDbjHS1zMBoWuAx69IuQWh7snbfVU4Yyu1embWU2pZV54umz+yswtIZvMW+Qla6ZvGy8y1w9ZSMpWybeBPPEaF6AUKPBjfgokAwKTVaW49tKa9MELTYjN1JEM7VunUo/u6fTpwoMwdxt695uhnrwE4ttIrq+ZZVNdOP/S7Ivo+f5JvMdOuKkOPT42x3tkhIayF8OFw7fQpgLe5NQQXIjUnxviECWJlQL5flDsnsO+X7V8k3iPefSOHLp7BDsqRB8U7rPReddtpt/+LDFS+H1IzN25zUaYREPayO5bhE+CLJe3gNLK88S46FUeFnftrAT6emZTOulE3oZbN/B4aDYwWTeHKEmoFMj7g+LJwR7eo3yH3ntLHRo/PDpbHtdasRItnNWMunU05FbELdDjrnxj8Vp14ao+1U4IWg6U+nqOgkvO5Pt4NXfswMEiO/UYtInWrDfUnTsfEvkqdqTiXhOlQO7y4H7LL8AT3IP9311+fg16d0oTssZge85jorMGbDKyTOIfSK8jcJd/KUZnbAw+ckMP4lGkllIenhyd8XTjmFQeluTRMVEe5TbQ5YDBLHjy+U1gTH6sY7JS/NR0QFek+REo/FFhD4Plc5pTTm2e+oht4AV7Z/bfRPsO6p5tvRkSei3WpKQU6OgTZTcB3opK2NsgLdVKi99pSp3aGhpoR9X7tOSnw9TnhnxiFyAdcBhpeO+ImDJtC39tdQgsmpI8iMIKKw9X7MWHG8SV8nCdzzy5Ok19siFZ9H12q4PFTGBMvXPKlYeIu27TZR7s0Kuz6L5b6iJJ/AG7/fCSiO9XcIMiDU2Q4hBwmXTKCE2g71sSoZXRUSzprluHNqn0w+zm2qYeOvKLmSRX3lpAn3xzUE99eB8Ftsqt15M40tLEVHOqQ7j3Io1w1606Nvh4Z3LjuFcelvP0pxtR25a6vBX4ozUVGBMf75ioBD9QHdAaaX4FCk+YvvpYQ7rxKvZSiRFIrE+WpAZ4lfEdtWCIYiskR8VOoopCVDCwoYAX5XW7bKNey9woZPJStEsyXhWI680u9z1EH+DFvWrQnJe5Cx/FkFiHrOm9yMKYCoOYlcf1XsC2nxxHVpGjeDnZD30BxWLfUO/w2beH6PJbtmjjIu8UPkN5LNQOWOCTIgoi4lWBhuDZvCn6fHjHnNWft4za+R5Lci5ZsoeRNQOrDCySc1YOGzkOf0/2vVPJUcINdlW495md9PTru6tGBA6BdtIFgckilyIeFYg9rHkAy/9CMPOZRjTwoppCtBFFZEkma/ZwDcli3ODqOLyU7LufJkfZRrdq2mwO6j0kX69lrj+YfeDGMIpu4lGB3sDzuUH0GV3Wu4a2qlSUPlLoLElwL2owhSwprcwtkqMcrdE0IJwKcO2EHbsrqPNFfxH7zkkC+8rxeFSXSU8yL9PJjX+WTC9SUBmeDe7PieZQJzuRPpuaJ729rij/YNHx+Cah8TQYCIJwZjBaMku1rrA5nIau3VLsS1qkVSOjupXaNEulD+YfkK1WOhLUAOpa+Submdn08aRAbG37HFhbVIjTJjWkru2jy1XHknoiJTSClTghU7SauugsiTlkrXERxkWrYbXbofHgfb25Bfrp1yOyPHkym8dD22UThps+nuaBboew24gKvO/ZGXRln+C+hKJlEabDS53Q8GVY1/ijHgJIyIKyvobW6IzKzJ66qx6xt4Ik8Hv4CjDq3sd4aYF4f4PZQKE5Hz4R4dPX86hmRjSJx6opjyW5GaoZQoBVz5rRhxylsMuU5xNvW3x6l2o0fc4+ktwmCxNSxOOhlSEsveGsoukNMVLZ15G4syiDibfX1fZLE6WPBDprrZFalyosZcFErDWjF+aOfkJ37h+qWyuRkpIstPAHaX+501B+9D9Jug8Ylnoj03iwwp2Dei4UFTC7p6z8pLn2JRVNo9GxmTihFjyVj86zOGwYTNulXyCpLJ3ElqQmlJA3F09T96I3Jytj/7aDZNs6CGbuLdopED0Hb6IffimW5fkqEoyQTRQu+lhXIH6jMMoVW2XKbvqL321Gp3aqFvB5sHnYUu00YBeYik/AdoJ1kMajC88z+uUF+DL/jFn9H4Er3Ey/ATMRJEho+CLGIWxgDD84Sv8kW8Eg1LNU21+uyyUbqKjYLlMwJmajwiqZROGijfUuHBsOBosKl/3cRg72M79qrUbWmgPJmvMgWWvdoplyLcl5xwbtXr5F1lRM/OeQJa0TulcXIm1/KBqMgOXb0DpJm3u9VsOS2pasdcZ5jQtHoCUR8kMdHYcXUVZmArF5e8H3RTJFYUG2Awp7isgwN5vWy1M3O4uw8auPnNnjIEOkBHzY1e9ftiSe+6kC6BpZs64F3oBumgkeCXCPsR+cQ/Y9MDxpjptVchQOSKj/b7Jk9BamDxWh7e9boERLNB+5c67ZrOdMIt5O+f1QlVdvPh59Dr1sIjLdUyiVkPJw6fmwK2/KY0ntSAm5H5C19h3mKA9nhvGSNfNqSsydS5Ya/ThEH3DrlnGevrRBTpWAVpqdVblb/PoTDSk1Rfpb/S8UMeIn4WK1C3cqhP+c6DvCh11NxUO2Wl0fsgU+ZEMpof4kvO9+unWimXijQxfPmn4uxv6NNYdN2eNGuUtoqcZVjUDguSj44jmKf6BsOOOmJlvpm6VSXTlu6tkatyQCa1dZJNc3pjIwyi+4Vf0R2FW0Hl9Oz6NzTnWZfMSDT6j3ZEi7Rrx8wLZ9jN+lA571Scj9CAaMlp7BkXPvqCBbfj8YUrZjTshBp161iVatlbJQsxmzBZDnhyISYrELdwMkLaw8l55Xw0N5UjEh+UpIlYffDDY08Ky+sBcBd98iWXm0SmGStdZovtJO5XvlkQayp/NVR9LHNQYR+hNrXTj2vcGECLHgAwL3y+f+J5fYgKABjAXsCmOpdkrAtMEgsMB6xXk7Dn4O9hV+s9C6funn+KWJhEhWcq0+sDo2qJtE+w7Y6MfVUq1QR9TjY+CuSKiPZxlirQV6ABUU3i5nzJDalNvQ6d1joYSciWFTHueD0Typcx5y3vr8t1Tr5jMusiIsZMm6prJIE2/Pocb1eXpOGPgdnSRMHWLCWFIgXlNym6j8eDfRu27myc+jYM0aAovYRc7bsP5btDmjgf7LkNLGf3wExVozL0MfjjsHpJ3W96z8JvwXIGkvjUGE/cSSAk2BbIU/bQ/fVleb5OPnwZ4E1tpjIurRWOuM9b2eB+5CluTmEVVev4WxwNqYwTpwFHjcef6ZLkYbZ4T/f56WiDijV6wo0IUQbh//8j8ey/5uN1yZdTSAlz3Xx7MxYcnz8RxMuLKkwOPhYa+M2Pct4srrtaTHA7lVdYUXHmogOzfEzsA8uRpREAsKxIOYyTJSferuepXWIGvWdfia58kkDxktGxQs6T2r5pcoPMyrmjZMIZbUDpBzbmXuTRsn07hhx7vQlRH+Lx5FtBdXEf+JghkbCwoEFwFtrkBITtx16H3Gse4DXkRrrZuF0oWL6KgZ2OMxsT9dFIKluvvHgMegeY2cRhyhCnG/lacpIgY8nkzElEu0IHz2zH2ixAlY7PXUXfUrydnTABukVd5H4gWbgT1bIQtWgkYjuK5c5fLzNAKvYJUEtrSmSKYJGnm0KxCbN4X93a6/vCax244GCdnwR7siaII1kzF7gLtBuNf9uBVG/MaShmGMxweLdz3qcYrQtJ0zo8a4GOm8Cfd/NCsQz3ZeLypAXqb98JicSnLtpcRAPRpAGwsl5x0vqsdLeDwiwq+g+Ja0jlUKOeWB+rILGO8BE2kzXpWMTQiIVgVic+bzMvW/44baVL+Oc/yJJcg1LpZJHnZaS8b5YS+DGQWwpLarwoatosMHSHVL2YoiPOdXJUMTA6JVgbjlEZ6K5zX644YfH3hbqp2MGSPewyJ6wAKv7Uo4thdb5X0UXVhSTvRa2gdH51Cm3CYuE8DIhMVZXosjHOj8JAsniABC3oSPxz7C8MCoutoMuDMBb64ebWBhzwM2X1fswqqHYkPF37BhA82fP5/y8/M1Pnl5edSnTx9q1aqVIb5CiVNaeyXjw4zvurk28T7bgsCuDaxE9wrSK7JjEngG/w5RbJmX4ij5va2jfH27SrSXbXNEI1RsH6fVoWL7eF3F3759u+OKK67wKTsokWPdunW6eAsnspejDh0qn4Xrczn0a1sHTgP3WT4vz7wIYccHtrgJNURbFw6fYZLyuXliHDYbhPnaCdpJBUm8TVz0gSXtpKOFLv9buvC///47de3alebMmeMz7YIFC6hz5840e/ZsnzSGI3jXIm0Dlqqc2Kz9yJ1S+sDmOzYohA2iTYGeg6SEu528wR/7XbkBlmibDfj6EneLFi1aRD/++CMVFfGH0XzQunFg65BUoL1791Lfvn0JLVDAQhUXF9OAAQNo7lxeFRIcsCQdn4vzzGEQTsHo0k5qJffN4CE9meSZr977aFKgS1HJ3qIV5bX4k8ZXlavFRx9clK8rXXl5OT399NOUm5tLLVu2pJ49e1L37t0pOzubrrrqKuKvvpnAS781sO2BFpUIs7777rupoKBAmN5ut9O1115LmzZtEk4jRWj1P3X3L7nJ1VTkfbtU/iYSR4sCsZCelan35Zig6+5lfzfefN0M2L17N51xxhk0YcIE2rp1qxtLVqwPP/yQOnXqRNOmTXOLM3TDRoRjc0C8/5oI7Ny5k6ZPny5C6kbDrejo0aPdwky78XUy3rEMzu5WnS48x7+SeZRlFO6Pm1k9IoN5Gy0KNA5CaCoqiKRECz0+tmrro6VPNG6+5pfr3HPPpRUrVvgtUllZGQ0bNozefPNNv3QykZbEbI3cUbJWKNmMGTOIFVoPsKXul19+0ZPUbxqLwAT2vybUk5lc5bEQvyMhh2hQIO63SJkqbxqYTc1zk70IE6sjTfBkvv/+++nXX3/1wt970IgRI2jtWrEX3jsHl9Bj3R9HyW8ugb4vFy9e7DtSIEZP6yXANiAJH5Vyg9yBzreAac2AjE0miAYF4q6b8KiyRrqV7r8VXR1vwLtmshXIAPz555/04osvSnHglui++4R9Xv3zdh5dcmSlf7pjsTKK7o3hV1995S04JGH33VKH0lKFX1Hu84V8LCRcupBIrGomfRB0ZdVg3yETbqpDPCnnDSxYPGcUpk6dii2abNJsPvnkE/rjjz+k01VJwEfSA3irKEdZvnbt74ctcEZg/fr1tG/fPiMsqqR1CG663zAniW6Sc/FhBQppKxTJCpQCYbxQRfp+AhrVSyLeKMQnmODF/PHHH/tkHyjCSNpK3vYjlZeOw/+tvPZ1oXf848pPxPztSh/w2n4oIImT4J6R7l4kznAf/5kIv9VHXFCCI1mBxqHGLWRq/cgdOf6XCVuEe4Jes+WvOc/36AWeJzIM2KzQCY7D3zovff7Xr+97zsVnIo+IwsJCjxCDt+yOJAi1sKvpHTf6+ShW5cMLLNOrBgcnJFIViC1uUoOGk05MpWsuCdB6S3z5vIlbZi7FW3oz5lUctuNdMkfxz/CN8+871rx5c29FkQrLypLylA7I21GxOyCNK8GYIbWIFUkQMNAlNiiEBCJVgdjjQKq54JWmPHnqDxwGvZiPHDneffKXj684419yu8dpDnac8vCZr+y08F69evmNF4ls0MC46b8yH80ZtqjyVuSCvbTHDpNuhYwPeAUKF4kK1A/lvkig7JUkF/TIoJ7deSogAGgKxL6K+iAjQ2pyr0omqak8H2wAtKNQoEQu4DjIYzLfdbroIilRunA+esktWO3aUi9vFR6uAaITwK5p+Hr0da7ruTxjq9zzJOB1VUKDEBBpCsStjpThgA+1fXKcj0lTT4HhXB4+w1MvsNu/EahTR3oXGrfsHGUb3e75ho9TdBQtqhLuDOjQoQOdddZZzlvp/379+HtmHmiHEetgx46mbFCQgPGgDfr7HfQMJCrMpA8AefwjDDzZVrnPgUAqR1mBAJV3kvT0dDrxxBO9RwqEsje0EXCUeDeD2/fN8Mt20iQc0RKof+uFA6cZNYq9ZMwDPupSLwzrn0VNGgjvndkK+VyqNy/RdJGkQO1RaP5qCAP3jSeOkfoq4Yu9WZi/N8KLL77YW7BQWO/evYXofBE5Sr17Mxw9g/UnX8no1FNPpXHjxvmM9xUxdOhQzUnWV7x0uKMM58X+Ip3MmYBdtMYPl2rF73KmDdZ/pCgQl+NVoJSbwL0j63g9Vc6fsBwl4i443viMHDkSR7gLfwUrWbAl67LLLqu8l79w4LAq30piL5zsl+WTTz5JAwcO9EvjGtm+fXuaPNk/T1d6keujhyyXipD6pBlyRZbL3hY+yZwR3XBxtvMmGP+RokAjULlTZSrIO1uOvp4tlpKAg6yMQJMmTYiVSBbuueceMmJE0JxHbft8ZusoWUOOQ1/6jE9ISKBZs2YRl8Nq9f/YTz/9dFq4cCFxl9VMsB/6zDA7HguNh7eJBAS1FQpg+JUopn5StpGuA0qZuGa/2KTqYjnBMiQ2xYtmYFMR9sbmdT+iDqK87OG7776jxESpBtatNvY9Lx89lNgt1OMGjrKJeZ8EPKRr9erV9NRTT9G8efPcFv+ddNJJ2seBu26scKYC9nGo2NQD+zkYmwrgMpWUOqhVr/W0Y/fxSeUAZe2IeGNdDx8ZRIICzUHZLvdRPq/BvF7km1lStgY3PtY643HitjEr57Zt27RVnr/99psbb8+bLl260BdffEFGLXC2zRfA/22rJ/sq99bMK7Ep/UNVwr0FVFRU0JYtW4hXoTZq1IjMnjB1zdO+/22y75rkGmTo+oWZe+jOx3eI8ngbhNeIEsvQ+W/LZTjpo+URuZTycO9Dx/kybqVzFC10u9dzwy/c8uXL6c477/TaNePu2l133UVLliwxrDw88BZRHq6H/cAcHFgc2EeOablF5HkeHu8EU3kI0wf2vf4thVweGRjeP1tmLDQAvBvL8BelDWcLVAOFZLNSI9HCMt0wCI7P2jQGOI0OXR1Lsv5WzDV/9lb++uuviZc6sOmXl3eff/75lJmZ6Uqm+9q2YzzGNwvE02Pv7MTcD6AhgvNj4px1UdoPfEj2nRN1pfWX6Lnpe2jck8Kt0DPgNd4fPz1x4VSgl1BgKZ+lLJxl+vtXrXwuV5ARgLXmYLLWvVsmSVhoueWxbb4Qebt7IAQqDB8nktD4Dax/Yqf2MILtIFXko/x+DCB6S3f4iJ1a9FxPhftsIiz2g4hboSIRYlGacHXheGpcSnm4Quxt7Wutj2iFnXT2gxhs4+FGOjj2vIYiyikP14nN9bYdbICST8vpzQJ74ZSgKA+Xrzr2Ox91nbAllj2Nh3A6MyEcClQNFZgmW4mOJ6RicVW2bDLf9PCLs++TLoZvfkGIcZSug7PoPN2ceaxn3/mo7vRGEzqKvsaYbLZRNn7T33pNLbddZ/0SH12xauo7b7KtMkDxj0Y/gT/ukwgDe6G8/3wTGTcOId7YshRHnMDbI8AuMULMgkBk3zEWvnvbDXF2lP6u7SNn1U66C12PnX30bH+PYmc9Q+UPlDg1xUr7Dtpo2ariQKQcz19gdoVYzzdmgKnaKFCgk0FzpwCdGwmv8zmtMzdcJoOjlGy7HjOZqTns7PvfNeT24loKB1ox2/bb0ZszPgfjytfnNZYs2P/GZLPB9Vc++XtE3I6TN5KThD8O0u+fR3Zut6FsgXg0Ox+Y41aCADe8SchHr+TKNNMBOHpEl+XDGtcMY+0WHhHhu2Wva/t2fs428wqBejqKviXtrKFgnnCHvRps24YKm93NqGBGdStt3VFOq9aWiLDLAxEGwKTfLd8ll1C2QPcg37YueQtdPnRbDtWrrX8GXyQT285HQvrA/ZaJx2asPGgdzQZWTFvBQLLvfwesfa8h0psvz1dVbB0MWRboZaE73QQ4mQbwUHLlbVorJNzuueau4/okpGFPSClNYMPBj3Oau20OryNvoSTcAiU0ebdy50+hRGYTYb8D298j4DSq3+VftEhs5rbWvQsbnXYQTeKbDspuL3weRpm3QBM+q9/gO7bSB/MP+C7n8RjeabIJ0HArFIouHCvNPKDUhCl/Tea8lEuN68t7PiMvecBeA2z6tfJJcAb3jpPPHClYef65F14Ei3Qll06EvRQcBz5CndegunXIop1YIfk9ZcU58AHM5ROg9Eu5EtLFMDNBMzgYv/6+b4dbl7z4vef5oMUuYbouJSWmKw/eHOQx2ZS8u+hLDxv1OJDNFbpT/WxKaPBvXIRwAtJRjpdwLMYo38kX2KwU8FqwZvQ9Okbic0ydGzh68kcXU1t/hPGUHUi2/Z4UYb3vff1m+m75YZEy7ABRLpBbI90QbAVqh5L9DEyWKWEOxjy/fdGSasLzIBxgSW1PCQ1fIEoQnqTTX0xYrGzb79BaP/1MzE6J5p9bpUTYexIhA95LAv5sjvJtMKvvMjszU/l9sfgQXXzTFlGeA0D4viixN7pgKhC//cuAbLqWghnPNCI+JyaskFifEuo9ji+ydPGFi81On7Z/7sdXfI9wGkUYWALtL/iL1m0UMsIsAbezAnP0TRHMT/w4ZDvEd9beY3h3Hd6iKuzAXRX2AkAXxZLWCV06qUbUf/Gxu45t1yMYeE/Glz1EczP+SxRTsanJVvrs20MideIu3FzgThFibzTBaoHaILP/AaUGEinJFlr1aQvCuabeyhq+MJyIYM0eRtaaV/seG4iUDhsK2ve9CTPyB1AcoS+kCFdF4yGB0jIHNYeT6c7CCo8Yr7evI/QmrzECgcFogXhuiSeq8gTydyO575a6dFlvc5YAuDE2esObYRQvx8v/NsYBW7BkIUWzXMF0FZgzvJAdh79HazOF7LufQIPD3xUTJ0gDlyDuKHirM161uuhHIWPCCRDQK0ChWVhPYQajBRqDTKZ4ZhTonlsdbn24FYoKsCTAUId54eQ86BGshVan4sOUayuEou0gwilyjrJNqA7CFIRUAnv226jp2evpSIldJF+eWEV/Wh7MfluboghrgNVlisLOol9Obyq2u6gMY0Ub1xIY+eB2mvr+XhEZbARRS6D0l467W2YBK+OrQCnl4czZWVRoa14mVqAkICiBUddmC1JScxCeI0rsSmemAg0B4/NcmYtc8677T90dAVY3kcIqmqiSQNuWqTIf5pv1VM4sBaqHzHX1IZ/EUfRmrTLVIwCVJrYlMPr62qIVvBSE/B5LgVkKxFYM5yhauAC8xueGK7OE6RWhkoCsBC7smUF5jYTm8NikeqMsfzMU6HJkytorBWxqfGli6H3dpAqpiKNeAmyguvUa4bHQMFRYSiekiL1IMwNhz3sJDxh0G04da9cqNSCdIlASMCqBG6/K1jYgEeDDVuRzBegqSYxOpD4FTtKGA16iwHscSCzDrSywulASkJUAzy1u2V5Ov6wVcptiKzJcRcTASAvUGVmMFsvGnerf99YX/SK4J1R3SgI6JTBykHA37mJkIWxM0KtA3HLxnI90+r5nZ8Bdp4ZOMahkSgL6JNChTSp171RNJHEiiK4VIWQaaQU4xngk/rseuxb+4y6b0X2thTOLEEJbhYW2bxOyAkVIiWO3GDdjkaYgDBWk06VAPOv5hGgGrnRjhtSmFrnx8zLt3JFMtw9rTmNubEHTXhLuFbiKTF2bKIGr+maKzjm2Rrani2Stx4jwHzCWbn3q10mk9+LIcGCHD+Njd+fS1i0p2nPYsD6NupxSRNm1hFzsRZ6dopGUAE+d8D7ay34R2oSRuc8LlIVsF+40MBwciKm3+CfgcZBeTTY7b5yiI2z5khq0aYO7mX76KznkkHZXDF19Dxfp+Z6Grnxm5DTkcuGJeyz+ovRAecq80Uz7QiCG3uJ58MYOo/EESxdVdcxYt7YafTlPuB8eEnHZbBZa9FVNGj+yGc18LSckeYYzkzbNU+jkDmkiRWDlYSXyCzIKdD04dfbLzUskzwRPvi/+nEU3e7Q+TtHMeDWHuDsXCbDpr1SaAMV56ZkGlL8xldqdJLQALRKKbqgMN+CgYkG4LhCdqAKx/e+xQMy8xV9xfiZ1bR8ZL4y38gUrzFd3qAJWuX891Jj+2R5eY8r8udl035imVJB/dIyWmOigTicXBUscEcX36n6ZxIcVC8BZoGnoj05UgcaCibTjGg/aHrsz9rsF3gScWdO3sWD/3kR6aFweFWw++vJ6Sx+sMFbgV/7dgN58uR7xtRO6dD9E6RnxsdQ8MyOBLjlXaC6SBTTAKSNv/yIKxP7gd3lLHChs6NVZ1DyOzNau8ujQ2X93aG9hIt1/e1P6YbHQg3Rlrfu6+LCVnrivCX37ZdXx6LkX7NfNNxoT9r+wqgx81GOQj3AtWESB7gOl9CpTPj3s/lF1/eUd03EDb9hFdXLK/dbxyBErTX68ET37WCPavZO96YMHrLAPjs2jNauqPspmLUvopK7x0X1zSvi809NFrcI87ud5Ia8QyG7J/b+ZQHZvkILxN9Wmi84J3ddVqnAhIE5OdlDrtkdo8dc1yW4/3lXylvU2zBUt+DSb9hYmUa06FVQz23f3z1v6QGFstJg4Ic/nuOvmO3ZQg0ZlgdjEVHxiooV++7OE1v5VKlIv3vlykTfCQAr0NBJ195bQXxhvyfvulMYYqIk0cP44RXdcdu0Kqg2F+OkHXvXhHxxQsk1/pdHXn2fRz8syqLTUSnXRgqWmCe0q45U5zzl9CcWc8mQj8mXU4Jan//W7vaaP9UA+UX32FwdEqskD+Ze8Efr7NLLteRPQfTbQGxePsAdH16UH4rj75iEOmvV6Ds2bXcszOOA9TwF06FxEZ55zgE4+7RBVqy6uTDv+TqY34D70v5W+5wKTUxz0zCsbqX6ctT5OwfOWVzmnrBPd+qoF0vHuPW7grwV6GJRsxpMC9jaY9WxjqpYa362Pq9DYoMAvdEG+9LeI2J9uxQ816POPa9HGP9Oo+HACVU+3A23Y4NE1FxwzUGbBGCed3p9Zh15/voGWpzuF+92Nt/6DsY9/Y4d7iti6S0I3buWaI7R+s1A3bjNqv9xTAr7GNjxdPsKTWOR+OE7S5p12FByXAL/ot47frnWjVv3ku0U4nqLqFSsHdwWd3UHu2jVoWEZp1W04gIyocFcS7fonyc00XZXL8ZDuZx6k8/rtOx4Qp1e9z0yneQsPitT+YhBN8ST0+IZVRrPZelLlneAFz/us/6aV6adpC2Yf8WSsBGxxW7k88JgomJVhq9sjz+ZTSop4lzCY5Qkn7/xtZdSy158iRWDLTh2gm73fWz+LW6VbRTh60lzZt4ZSHk+huNwnwTI39sFtxF//cEGTvFK69/ECpTzHHgDv2CM4V8l60cfzuXlToEtB1NiTUOR+xCD5gbII31iiYZeZO+/fRpf2Lwx5tZo0LaWHns4nf14SIS9UBGTY+wzhbnU/z+J6U6CbPYlE7nkXyNO7CC2ZFWEX0zQ8Jho8dBeNuftvQ2ZqGSGdcsZBemzKZqqRGR/uOjKyOReTqoLQ05PO04iQC4JenkQi9zcNEPZwFWEXFzRnwDzdss0RzNM0DJqHNpuqB9+4k/peureK1S4uhCxQydM6Vxeg0kjYsaAFcIMzgWcLNAQRvgwLzjRV/tkceHU/Yd+iKunjOSCnQRk9/txmGn7bDs00baYsOncromdf3UgXXKaUx59ceWtpiUPd3FohT3vzq8iInUeloM9ZGTT0KtUCSQnNhZi7dM1blVCvvvuJDQ0Fm1OprMzz2+aSIMAlr+u5ZewOunxQYdx4WAcQScBo3jNu9bqSgHQg4PXgHzoJXVub9gj81Rkh8z8ThwIPDPehwDIFjnDaEjiZrliaQUu+zdScP3nVaCBgx1Ue5/Q47wDlNhN6EQKxjKt4PkeIzxMSgJ2gqeekc30yjyLwfmeE6D/P/exY3iZsR9KLljNa6cpK4SO3IY02/ZlK+7CO6OCBRLLDDlAN3ggZWL/TBMrSrEUJ1a7r3/M7WusfqnL/DqfSjhf+JZpdGxCuZ2JXI8KFoqld6c7oWk0pj6tATL5mI0CbtsUamsxasXORQOtmydpW02Xl8MANDF1BoimQs6PNC3dOCpyuKsUFPcI7q161RCpESUBeAgnoSZ3QQniFMCuQBk4Fkt4g3sng7FOETYDOJOpfSSAiJdC2Rapoubo5CZ0KdI4zQOafPa87Ys9hBUoCsSCBdq2FWyDurWkWbKcCnaJHALy/Fjd9CpQEYkECJ4q3QOxyw4YEbW9s9mM4gW9koeMJ8bddlayMFH30SKBlntRWY124ZtwCdTr2z/dSwEdGKFASiBUJ8MFvElDZArWSSORG2rqpcJ/RLZ26URKIRAmkYRW1xInxrbkO3AJpmqSnQrkNpTRWTxYqjZJASCXQuIFwN05reFiB2LtUGvjcyZzarvOw0ixUAiWBiJNAbgPhRqElCm9lBaqvpxbZmZ5+qHq4qDRKApElgVrwzBYEHr80YQXStYy0BvYXVqAkEGsS4H2zJaAlKxBvGicNgrvbS/NVCZQEwimBzHQpBWrACqSc2cL5xFTeESWBzAxWCWGoL0UtzFYRKglEqQQy5FqgeroVKJLP+ozSZ6eKHX0S0K9Ae3DasQIlgTiXgNaF07U58p795h7BEecPQlU/OiVQi7twurbJLCl10MEitTVsdD53VWqTJJDOCiR0QIq3DDduKfUWrMKUBKJWAna70JJuZ/1wDiPRVued7P/6zfF1qpmsfBR99ElAcmyvHSGXr7ea6zaqFkiv7FS6yJTAnv1SxjFt1ihfb1VW/Mp7zClQEogdCUgaxzRn0nV6q//j/4pJzQfplZ5KF4kSKNwr1QJp64F+0VsRtsKt/UvtgqlXfipd5Elgy3a5cT0bEfKBus/6W/B9UeRJQZVISUCHBLg39Ve+lAIdYgViWHn0T/53/qJD8olUCiWBCJRAwY5yKj4iNbdpdyrQd3rrs+yXYtp7QK7fqDcvlU5JIJgS0GFVLnYq0Nd6C1Zhc9Ds+brnYvVmq9IpCZgugTXrpcfzh50KxIYE3eOgtz7Zb3plFEMlgVBLYPkq6WmZPU4F4o7fAr0F5ow3bpEafOnNSqVTEgiKBNiAsPRnab/qQqcCcaHeNVKyl9/eYyS5SqskEFYJ8Al1hfJLdLa5KtBXqIEuz2yu+fQ5+6ioWMqCEVaBqcyVBFwl8OlCXdbkAlcFYse2T1yZylzzpOoMKJECJYFolMCHC3QZwja7KhDX+w0jlX/2jUIqr5ByBzeSnUqrJGCKBFah+7Z+ky7H6HWeCrQYJfpTb6kKtpfT9A9VK6RXfipdeCQwbbaud5ZbivWeCsSB/zFSjUmv7latkBEBqrQhlQA7AbytbxqGG5rKiVTXQs/AzRHXAJlrboX+885emSSKVkkgbBJ4adYevcavn7nQni0Qh/Hb/zpf6IVHX9il3Hv0Ck+lC5kEePHcc9N1T78s44J6UyAO/zewnC/0wL6DNnr4uZ16kqo0SgIhkwC/owcO6fbjXMQF9aVABYh7hwn0wuvv7VNrhfQKT6ULugRWrD5Cr72ne6ixCwVcy4X0pUAcNwmoWz3ZyXTEA9vVilWWpIKIksBhLFm4bvxWsuuf95+PCmnzNf62oi8EUWNgZ7213/ZPOdWqmUDdOvKhxgqUBCJDAjfetY2W/CTtOOpa+Im4WccBgc6obwCajUDdpwlnVLfS6s9bkuQBrlw2BUoCpkvg0Rd30SMwchkAdlngI4G0mVd/XTjOYzvwOb7QC4cO22n4vX/rTa7SKQmYJoHJ8JQxqDxcltnASrcFf104Z8F5ufdQYHVngOz/5q1llIUjIU9RXTlZ0Sl6kyQw8fld9MBkUyzDN6NI3LBoEKgL56S7ERfTnDd6/vlEuxUftaATWqToSa7SKAnokoDWA7pnG835UvdCA9d8V+DmFNeAQF04J+2buFjuvNHzz5vRXzN2K5WWacYLPSxUGiUBKQl8v+Iwdb54g1nKw3k/6VkAUQXit/4WoG6zNmf867oSGvVwZevHQQqUBEyXwJESO419Ygedd/1myt9WZhb/1WD0iSczkTGQM80/uMgCdncG6Pn/3x8lmkWu04lpepKrNEoCfiXAu+X2vTGfvlhcZPYc5BBkvMEzc9ExkDMdT+iwJrZwBuj5T0m20JfTm9LpXZidAiUB4xLgIcLDz++kKW/uIRsm8U2Gz8DvIm88ZRWIeZwJXAzUk5bTa8ATrEveb0Yt85RRwSkT9a9PAl//t4hGTdxOmwpM6665FoTXercDFrgGOq9Fx0BOev5fAnzFNUDPNXvC9hu2Rc9GDnqyU2liUAL/FFbQ4Du20gVD84OlPCy124BelYcj9bYi6Uj7P2BzZmIE2rVKpa9nNqXaWTLDMSM5qrTRLgHegorXnPG8jgFvahExzADREH+EehWIeXYDLgUm8o0RYCX67u2mVLOGUiIjcoyHtD9gK+k7HttBvA1VkIHf7XOBJf7yMaJAzHcC8F/+MhCNYyVa8GYe5dQ2rI+iWSq6KJIAm6PveXon6dw9R7amvyFBD2DA1XZGFYjTfwy8BGgYmucm0xfT8qhp42TDvBSD2JAAb5c26T+76fkZhaGahF8DyfUC7haRoFEF4jwygezi0IpvjEL9Oon00Su51LW9micyKstoTs/bo019fx899tIu2rWnIlRVWYCMBgAPiGZohgJxXq2By4A80WoY0lKt9PoTDal/P9ZNBfEkAZ7Dmfnxfk1xeIOaEAEvrWM3nYeAUt42Zo3aua/4E3AQ0DDPCnx9Pv7qIB0pcVCPU6qT1WqWnqN0CiJSAmxZe/ez/dT/tq0086P9sK7pXy4qWcH1oL8cOB0oPQNr9pvZH4V4D2gasLfC25MbU8OcJNN4KkaRIwFucT7A+VJPYpzzx4bKZTahKCDPuk4CPgHUnbHZCsQVHwV8gS/MAp4jenFiQ7ri/BpmsVR8wiwBdr3hAwmemVpIW/4OigeBvxouQeTNwD/8EYnEBUOBON+7gdynNBUGXVSTJj9Qn7KxOE9BdEqAJz5ffmsvvTBzD+3eGzLjgFNYfBIcT71MBUp315xMXP+DpUCcR1CUqB7miZ66ux4NhDIpiB4JcPeMz5B6a+5+vTuBGqksK8sMIL+TpixLdRYmmArEebAf0XPOzMz8Z+PCCw81oDbNU8xkq3iZKAEe33z23SF6Ea3NYixuY0NBGGAZ8hwDZCOX6RBsBeICDwG+BjTdCpCYYKGhV2fR/aPqErdMCiJDAn/vLNcsaVM/2EshNEV7Vv5vBHB37V1g0FQ3FArEFesDnA1kJ1TTIb2alW6/oTawFmVmqPGR6QIWYMhL9T/55qB2yNo3PxQZ2bRQIDe/JCWIfRrILmbSh5765ewlMlQKxFl3BM4DNuGbYECNdCuNGFSL7hxaW9vQMRh5KJ7uEuAtcmfN3UfvfXaA9mNP9DACZz4NOBEYsn0DQqlALNscILdEZ/JNsKB6mpUGX1qTRl1TS+0CFAQhs9KwU+ccYBi7aM6acffsfeADwA3OwFD9h1qBuF48WHkKeAffBBMsqN25p6fT8P7ZdOE5GZSUGI7qBrOGoeHNg3/ea+AjeIdEiNI4Kz4fF/cDVzkDQv0fzjfqUlT2DaAp/nOBBFcnO5EGXZxJ11+eRe1bpwYij/t43k/tKyyVnv/dQW2DjjDM2fh7Bl8iciKQLWxhhXAqEFe8EXAWsAcwZNC6WQpd2SeTruxbg3gdkgJ4UMLk/CO6ZgthAPhmaRFxN41P2Igg4MLMBT4KDFuL4ymPcCsQl4fLMBrIfkkhX8OQ2yCJ+pydQRf0yKCe3asTe4LHA7ArzYrVxbT052L678rDxCs9i4pD5sApI2I2DrAp+kng7zIJQ0EbCQrkrGdzXLwK7OUMCPV/cpKFTu6QRmdjkvask6trx7Lw6RLRDnwODh/j/tOvxfTTmiO0EsibXJaVR1QL4ynmIgS8CeSJ+I2ekZFyH0kKxDLh8lwDZBt+fWBYwQrdadU0hbpBqTq3TdPGTm3R5eMtuSIReLBfsKOc/tpcSn9sLKXVUJLf1pfQ73Cj4d06owQ2o5zsjDwNaMqG1sGsd6QpkLOuPOHKfktjgRE3SGGvh1YYRzVvkkzNsPy8Gf6b1E+i+nUTgUnELVkwgCcrd2IrJ16hyebjrVCWgu1l2vWGLWW0YUspcdcsSmERyj0F+CkwarQ9OE8aEjAJmoAPt0YDTOIXEjbcQmXXTMSRLlbKwk5DfJ0EpeKJXnY/4n9P4Be/pNSOgTtpY5GiwzZtURl7L/PiMlaaIG/h5FmkUNzzQsy3gHwqvHbmaCgyjcc8OqHSbIHhz6vC6JYBty7fAPmjmAJUEEIJKEWKXuXJx3vCJuhmIXxfVFY+JMCKNBPIS3FVixS5MtiJ58MGgVOBkT5cQBHjD+qiyuzKsQ2oFCkyZHAAz4ItaOcBI9NciYIpcJcA+9ddDfwKiGG4UqYQy2AL8nseeC7Q9HVf4KkghBJogLzY/P0/oGqVgieDlZDvg0BephK3EOv90rZ4soOAFwHbx+1TNqfi3Mqw9Wzhsf/d5rCNbi6xrkCuTycPN6xIFwPPBqquBoTgB3YgbinwW+DXwA1ABR4SiCcFcq06bzB3OpAVqQewKzCeB7w8buQu7w/AZUBWnAKgggASiFcF8hQLuw6dATwT2BnIZnJePRuLUIxKrQGuBrLSOP85XIGkBJQC+RZYQ0R1OYbt8N8CyCdQRJxvHsrkDfYicB2Qu16MvAsnKw5fc4ujwAQJKAWSEyLLi/3zWJnaABsDWdHYc5z/GTOAwYYSZMAbZzBuO4bO+024ZyXZB1QQZAkoBTJfwDyWYgMF/ye6IN9bgQx87U32doQzMlQA2QzP/4zlLtdOGgQpCKcE/g8C4WERZygPTwAAAABJRU5ErkJggg==" }))};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.67.1"]={"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.67.1/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",reportComment:"Report comment",opensNewTab:"opens new tab"},e.exports=t.default}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-comments-data/apiKey/1aa590aa-06ec-4ced-86a5-e9d01abb243c/forumId/__CBBC__comments__scream_street_jigsaw/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":"Scream Street - Jigsaw: Scream Street","idcta":{"policy":"u16comment"},"siteName":"cbbccomments","moderation":{"rulesPageUrl":"\/cbbc\/findoutmore\/rules","status":"reactively-moderated"},"comments":[{"id":147694233,"index":2,"dateCreated":"2021-10-30T10:30:17.617Z","author":{"userId":20412065,"displayName":"Mila","isNotable":false,"description":null,"avatarUrl":null},"text":"this is so hard😐","rating":{"positive":0,"negative":0},"replies":[],"totalReplies":0,"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20211103195646\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=147694233"},"status":"pass","checkingForReplies":false},{"id":147687037,"index":1,"dateCreated":"2021-10-29T13:22:08.207Z","author":{"userId":18352212,"displayName":"Rose","isNotable":false,"description":null,"avatarUrl":null},"text":"U to<BR \/>Also the new series is so funny 😂😂😂😂😂😂","rating":{"positive":0,"negative":0},"replies":[],"totalReplies":0,"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20211103195646\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=147687037"},"status":"pass","checkingForReplies":false},{"id":147593312,"index":0,"dateCreated":"2021-10-25T10:47:51.93Z","author":{"userId":20409565,"displayName":"sleepycat","isNotable":false,"description":null,"avatarUrl":null},"text":"Happy Halloween evreyone🎃🎃🎃[Edited By Moderator]","rating":{"positive":1,"negative":0},"replies":[],"totalReplies":0,"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20211103195646\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=147593312"},"status":"pass","checkingForReplies":false}],"totalCommentsCount":3,"canLoadMore":false,"commentTextLimit":600,"env":"live","isClosed":false,"displayNameModerationMessage":"Where's my display name?","displayNameModerationUrl":"\/cbbc\/findoutmore\/web-help-general-web-faqs#where-is-my-display-name","createForum":false,"config":{"featureToggles":{"downRatings":false,"liveUpdate":true,"ratings":true,"replies":true,"sort":false},"initialView":"comments","pageSize":20,"subtheme":"cbbc","theme":"childrens"},"sortOrder":"NewestFirst"}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-comments-data/apiKey/1aa590aa-06ec-4ced-86a5-e9d01abb243c/forumId/__CBBC__comments__scream_street_jigsaw/sinceIndex/2/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.payloads.push(function() { Morph.setPayload('/data/bbc-morph-comments-data/apiKey/1aa590aa-06ec-4ced-86a5-e9d01abb243c/forumId/__CBBC__comments__scream_street_jigsaw/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":"1aa590aa-06ec-4ced-86a5-e9d01abb243c","commentsTitle":"Join the conversation","containerId":"comments","forumId":"__CBBC__comments__scream_street_jigsaw","idctaEnv":"live","mode":"embedded","product":"cbbc","signInContext":"cbbc","themeVariant":"childrens","toggleOverrides":"ratings:on,liveUpdate:on,replies:on","version":"3.67.1","_mrrVersion":"2.2.1"},'u677142591994812'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u677142591994812 */</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, cbbc"}; _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/20211103195646/https://static.chartbeat.com/js/chartbeat.js"); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != "function") ? loadChartbeat : function () { oldonload(); loadChartbeat(); }; })(); } </script> </div> <div id="orb-footer" class="orb-footer" dir="ltr"> <div id="navp-orb-footer-promo"></div><aside role="complementary"><div id="orb-aside" class="orb-nav-sec b-r b-g-p"><div class="orb-footer-inner" role="navigation" aria-label="BBC"><h2 class="orb-footer-lead">Explore the BBC</h2><div class="orb-footer-primary-links"><ul><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20211103195646/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/20211103195646/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 = window.orb || {}; window.orb.worldwideFooterlinks = '<li class="orb-footer-ads"><a href="https://web.archive.org/web/20211103195646/https://www.bbcglobalnews.com/">Advertise with us<' + '/a><' + '/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.com/usingthebbc/cookies/how-does-the-bbc-use-cookies-for-advertising/">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/20211103195646/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20211103195646/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20211103195646/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/20211103195646/https://www.bbc.co.uk/editorialguidelines/guidance/feeds-and-links" class="orb-hilight">Read about our approach to external linking.</a></span></small></div></div></div></footer></div><script type="importmap">{"imports":{"orbit-drawer":"https://web.archive.org/web/20211103195646/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/drawer-api.bundle.js","bbccookies":"https://web.archive.org/web/20211103195646/https://static.files.bbci.co.uk/cookies/6868f40b6841deedfcf9895de775e1ab/cookie-banner/cookie-library.module.js"}}</script><script type="text/javascript" src="https://web.archive.org/web/20211103195646js_/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/redirect.bundle.js" async=""></script><script type="text/javascript" src="https://web.archive.org/web/20211103195646js_/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/performance.bundle.js" data-release="3.0.0-1719.65af99a0" data-ux="orb" async=""></script><script id="orb-js-script" data-assetpath="https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/" src="https://web.archive.org/web/20211103195646js_/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/orb.min.js"></script><script type="module" src="https://web.archive.org/web/20211103195646jm_/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/orbit.js" async=""></script><script nomodule="" type="text/javascript" src="https://web.archive.org/web/20211103195646js_/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/legacyOrbit.js" async=""></script><script type="text/javascript">/*<![CDATA[*/ require(['orb/nav'], function(nav) { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { nav.loadJs('https://web.archive.org/web/20211103195646/https://static.files.bbci.co.uk/orbit/0b0a71ff229422fc63da1ec4b9726123/js/edr.min.js'); } }); }); /*]]>*/</script> <script type="module">if (window.bbcuser && window.bbcuser.isUKCombined) { bbcuser.isUKCombined().then(function (isUK) { if (isUK) { const isOrbUx = !!document.querySelector('.orb-nav-pri-container'); if (isOrbUx) { const script = document.createElement('script'); script.src = 'https://web.archive.org/web/20211103195646/https://nav.files.bbci.co.uk/searchbox/eeaabba0195c5483bf5b00915e258921//js/old-search-suggest.js'; script.async = true; script.setAttribute('data-static-prefix', 'https://web.archive.org/web/20211103195646/https://nav.files.bbci.co.uk/searchbox/eeaabba0195c5483bf5b00915e258921/'); script.setAttribute('data-variant', 'cbbc'); script.setAttribute('data-scope', 'cbbc'); document.head.appendChild(script); } else { import('https://web.archive.org/web/20211103195646/https://nav.files.bbci.co.uk/searchbox/eeaabba0195c5483bf5b00915e258921//js/search-suggest.js').then(drawer => { drawer.setupSearchDrawer({ searchboxAppStaticPrefix: 'https://web.archive.org/web/20211103195646/https://nav.files.bbci.co.uk/searchbox/eeaabba0195c5483bf5b00915e258921/', variant: 'cbbc', searchScope: 'cbbc', }); }); } } }); }</script> <script type="text/javascript" src="https://web.archive.org/web/20211103195646js_/https://nav.files.bbci.co.uk/navpromo/34f98a4c8573fabed16dc8acea28feb8/js/footerpromo.js" data-base="https://navpromo.api.bbci.co.uk" data-variant="cbbc" async=""></script> <script type="text/javascript">window.COOKIES_STATIC_HOST="https://web.archive.org/web/20211103195646/https://static.files.bbci.co.uk/cookies/6868f40b6841deedfcf9895de775e1ab/cookie-banner/cookie-prompt/"</script><script src="https://web.archive.org/web/20211103195646js_/https://static.files.bbci.co.uk/cookies/6868f40b6841deedfcf9895de775e1ab/cookie-banner/cookie-banners.bundle.js" async=""></script> <script src="https://web.archive.org/web/20211103195646js_/https://nav.files.bbci.co.uk//user-activity-helper/5a08eeec4b85ac14cd5e09e2fab845eb/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 19:56:46 Nov 03, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 16:38:44 Nov 25, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.588 exclusion.robots: 0.031 exclusion.robots.policy: 0.019 esindex: 0.012 cdx.remote: 31.021 LoadShardBlock: 135.15 (3) PetaboxLoader3.datanode: 263.341 (5) load_resource: 379.682 PetaboxLoader3.resolve: 184.306 loaddict: 135.612 -->

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