CINXE.COM
CBBC Help - 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/curations/cbbc-help","20200219081601","https://web.archive.org/","web","/_static/", "1582100161"); </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/20200219081601js_/https://cdn.optimizely.com/public/4621041136/s/childrens_prod.js"></script> <title>CBBC Help - CBBC - BBC</title> <meta name="DCTERMS.title" content="CBBC Help - CBBC - BBC"/> <meta name="description" content="This is the place to get help and to answer your questions: all the tips and tricks about how the CBBC website works, information about our TV Shows, apps and more."/> <meta name="DCTERMS.description" content="This is the place to get help and to answer your questions: all the tips and tricks about how the CBBC website works, information about our TV Shows, apps and more."/> <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="2015-12-03T14:30:48.480Z"/> <meta name="DCTERMS.modified" content="2016-03-14T06:00:14.185Z"/> <link rel="canonical" href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/cbbc/curations/cbbc-help"/> <script type="text/javascript"> var _sf_startpt = (new Date()).getTime() </script> <link rel="copyright" href="https://web.archive.org/web/20200219081601/http://www.bbc.co.uk/terms/" title="Terms of Use"/> <link href="/web/20200219081601im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/apple-touch-icon.png" rel="apple-touch-icon"/> <link href="/web/20200219081601im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon.ico" rel="shortcut icon" type="image/x-icon"/> <link href="/web/20200219081601im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon-16x16.png" rel="icon" type="image/png" sizes="16x16"/> <link href="/web/20200219081601im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon-32x32.png" rel="icon" type="image/png" sizes="32x32"/> <link href="/web/20200219081601im_/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/20200219081601cs_/https://static.bbci.co.uk/gelstyles/0.11.0/style/core.css"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20200219081601cs_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/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/eb9931f/stylesheets/cbbc.ie8.min.css"/> <![endif]--> <link rel="stylesheet" type="text/css" href="/web/20200219081601cs_/https://www.bbc.co.uk/cbbc/stylesheets/immersive/curation/1457935214/eb9931f/cbbc-help.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> <!-- Environment: live --> <!-- Orbit: 3.0.0-829.0513d625 --> <!-- Analytics Web Module: 0.0.2-441.b5f0561 --> <!-- NavID Web Module: 0.2.0-115.cd9b944 --> <!-- Detectview Web Module: 0.0.2-441.b5f0561 --> <!-- Searchbox Web Module: 3.0.0-68.81b45a6 --> <!-- Promo Web Module: 3.0.0-95.e26a429 --> <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta property="fb:admins" content="100004154058350"><link rel="stylesheet" href="https://web.archive.org/web/20200219081601cs_/https://nav.files.bbci.co.uk/orbit/1b2e292884201dd13064a9204e177864/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/1b2e292884201dd13064a9204e177864/css/orb-ie-ltr.min.css"> <![endif]--><script type="text/javascript">/*<![CDATA[*/ window.orb = { lang: 'en', bbcBaseUrl: 'https://web.archive.org/web/20200219081601/https://www.bbc.co.uk', bbcUrlPrefix: 'https://web.archive.org/web/20200219081601/https://www.', staticHost: 'https://web.archive.org/web/20200219081601/https://nav.files.bbci.co.uk/orbit/1b2e292884201dd13064a9204e177864', figUrl: 'https://web.archive.org/web/20200219081601/https://fig.bbc.co.uk/frameworks/fig/2/fig.js', partialCookieOvenUrl: 'https://web.archive.org/web/20200219081601/https://cookie-oven.api.bbc' }; document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js'; window.orb.worldwideNavlinks = ''; /*]]>*/</script><script>// Promise polyfill from https://github.com/bramstein/promis (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} function r(a,b){if(a.a==p){if(b==a)throw new TypeError;a.a=1;a.b=b;v(a)}}function v(a){l(function(){if(a.a!=p)for(;a.f.length;){var b=a.f.shift(),c=b[0],d=b[1],e=b[2],b=b[3];try{0==a.a?"function"==typeof c?e(c.call(void 0,a.b)):e(a.b):1==a.a&&("function"==typeof d?e(d.call(void 0,a.b)):b(a.b))}catch(h){b(h)}}})}n.prototype.g=function(a){return this.c(void 0,a)};n.prototype.c=function(a,b){var c=this;return new n(function(d,e){c.f.push([a,b,d,e]);v(c)})}; function w(a){return new n(function(b,c){function d(c){return function(d){h[c]=d;e+=1;e==a.length&&b(h)}}var e=0,h=[];0==a.length&&b(h);for(var k=0;k<a.length;k+=1)u(a[k]).c(d(k),c)})}function x(a){return new n(function(b,c){for(var d=0;d<a.length;d+=1)u(a[d]).c(b,c)})};window.Promise||(window.Promise=n,window.Promise.resolve=u,window.Promise.reject=t,window.Promise.race=x,window.Promise.all=w,window.Promise.prototype.then=n.prototype.c,window.Promise.prototype["catch"]=n.prototype.g);}()); // Polyfill Event constructor for IE ref: https://jira.dev.bbc.co.uk/browse/ORBITEN-919 // see: https://stackoverflow.com/questions/26596123 (function () { if (typeof window.CustomEvent === "function") { return false; } function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: undefined }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.Event = CustomEvent; })(); //Element.prototype.matches polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; } //NodeList.forEach Polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill if (window.NodeList && !NodeList.prototype.forEach) { NodeList.prototype.forEach = Array.prototype.forEach; } // Object.assign polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill if (typeof Object.assign != 'function') { // Must be writable: true, enumerable: false, configurable: true Object.defineProperty(Object, "assign", { value: function assign(target, varArgs) { // .length of function is 2 'use strict'; if (target == null) { // TypeError if undefined or null throw new TypeError('Cannot convert undefined or null to object'); } var to = Object(target); for (var index = 1; index < arguments.length; index++) { var nextSource = arguments[index]; if (nextSource != null) { // Skip over if undefined or null for (var nextKey in nextSource) { // Avoid bugs when hasOwnProperty is shadowed if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) { to[nextKey] = nextSource[nextKey]; } } } } return to; }, writable: true, configurable: true }); } // window.fetch polyfill https://github.com/github/fetch/blob/v0.11.0/fetch.js - chosen for IE9 compatibility if(typeof window.fetch !== 'function') { (function(self){"use strict";if(self.fetch){return}function normalizeName(name){if(typeof name!=="string"){name=String(name)}if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)){throw new TypeError("Invalid character in header field name")}return name.toLowerCase()}function normalizeValue(value){if(typeof value!=="string"){value=String(value)}return value}function Headers(headers){this.map={};if(headers instanceof Headers){headers.forEach(function(value,name){this.append(name,value)},this)}else if(headers){Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var list=this.map[name];if(!list){list=[];this.map[name]=list}list.push(value)};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null};Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]};Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};function consumed(body){if(body.bodyUsed){return Promise.reject(new TypeError("Already read"))}body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader;reader.readAsArrayBuffer(blob);return fileReaderReady(reader)}function readBlobAsText(blob){var reader=new FileReader;reader.readAsText(blob);return fileReaderReady(reader)}var support={blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(typeof body==="string"){this._bodyText=body}else if(support.blob&&Blob.prototype.isPrototypeOf(body)){this._bodyBlob=body}else if(support.formData&&FormData.prototype.isPrototypeOf(body)){this._bodyFormData=body}else if(!body){this._bodyText=""}else if(support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(body)){}else{throw new Error("unsupported BodyInit type")}if(!this.headers.get("content-type")){if(typeof body==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}}};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){return this.blob().then(readBlobAsArrayBuffer)};this.text=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return readBlobAsText(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}}}else{this.text=function(){var rejected=consumed(this);return rejected?rejected:Promise.resolve(this._bodyText)}}if(support.formData){this.formData=function(){return this.text().then(decode)}}this.json=function(){return this.text().then(JSON.parse)};return this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed){throw new TypeError("Already read")}this.url=input.url;this.credentials=input.credentials;if(!options.headers){this.headers=new Headers(input.headers)}this.method=input.method;this.mode=input.mode;if(!body){body=input._bodyInit;input.bodyUsed=true}}else{this.url=input}this.credentials=options.credentials||this.credentials||"omit";if(options.headers||!this.headers){this.headers=new Headers(options.headers)}this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&body){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(body)}Request.prototype.clone=function(){return new Request(this)};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function headers(xhr){var head=new Headers;var pairs=xhr.getAllResponseHeaders().trim().split("\n");pairs.forEach(function(header){var split=header.trim().split(":");var key=split.shift().trim();var value=split.join(":").trim();head.append(key,value)});return head}Body.call(Request.prototype);function Response(bodyInit,options){if(!options){options={}}this.type="default";this.status=options.status;this.ok=this.status>=200&&this.status<300;this.statusText=options.statusText;this.headers=options.headers instanceof Headers?options.headers:new Headers(options.headers);this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1){throw new RangeError("Invalid status code")}return new Response(null,{status:status,headers:{location:url}})};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request;if(Request.prototype.isPrototypeOf(input)&&!init){request=input}else{request=new Request(input,init)}var xhr=new XMLHttpRequest;function responseURL(){if("responseURL"in xhr){return xhr.responseURL}if(/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())){return xhr.getResponseHeader("X-Request-URL")}return}xhr.onload=function(){var status=xhr.status===1223?204:xhr.status;if(status<100||status>599){reject(new TypeError("Network request failed"));return}var options={status:status,statusText:xhr.statusText,headers:headers(xhr),url:responseURL()};var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.open(request.method,request.url,true);if(request.credentials==="include"){xhr.withCredentials=true}if("responseType"in xhr&&support.blob){xhr.responseType="blob"}request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});xhr.send(typeof request._bodyInit==="undefined"?null:request._bodyInit)})};self.fetch.polyfill=true})(typeof self!=="undefined"?self:this); } if (typeof window.CustomEvent !== 'function') { function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: null }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.CustomEvent = CustomEvent; } (function() { var language = 'en'; language = 'en'; var modal = false; var istatsLabels = {name: 'cbbc.curations.cbbc_help.page' || undefined}; istatsLabels['app_name'] = 'cbbc'; istatsLabels['app_type'] = 'responsive'; function getMetaValue(propertyName) { var metaTag = document.querySelector( "meta[property='" + propertyName + "'], " + "meta[name='" + propertyName + "']"); if (metaTag) { return metaTag.getAttribute("content"); } else { throw new Error('No meta tag called: ' + propertyName) } } function generateCountername() { if (window.location.protocol === 'file:') { return 'local.file'; } var pathName = window.location.pathname .replace(/\/$/, "") .replace(/^\//, "") .replace(/\//g, '.'); return pathName + '.page'; } var additionalPageProperties = {}; additionalPageProperties['custom_var_1'] = 'none'; additionalPageProperties['custom_var_2'] = 'not-applicable'; additionalPageProperties['custom_var_3'] = 'not-applicable'; additionalPageProperties['custom_var_4'] = 'cbbc-help'; additionalPageProperties['custom_var_5'] = 'not-applicable'; additionalPageProperties['custom_var_6'] = '2015-12-03T14:30:48.480Z'; additionalPageProperties['custom_var_7'] = '2016-03-14T06:00:14.185Z'; additionalPageProperties['custom_var_10'] = 'not-applicable'; additionalPageProperties['app_name'] = 'cbbc'; var page = { name: '' || istatsLabels.name || generateCountername(), destination: 'cbbc' || null, producer: 'cbbc' || null, section: '' || null, site: '' || istatsLabels.bbc_site || istatsLabels.app_name || istatsLabels.prod_name || null, contentId: 'urn:bbc:isite2:d6da69b0-eedc-4652-b8d7-b93e8b46e4a5' || null, contentType: 'list-curated' || null, edition: '' || null, additionalProperties: additionalPageProperties }; function updatePageData(newData) { page = Object.assign(page, newData); } document.addEventListener('bbc-page-reset', function(event) { if (event.detail && event.detail.page) { updatePageData(event.detail.page); } document.dispatchEvent(new Event('bbc-page-updated')); }); window.bbcpage = { loadModule: function(deps) { return new Promise(function (resolve, reject) { window.require(deps, function () { resolve.apply(this, arguments); }, function (error) { reject(error); }); }) }, loadCSS: function (url, timeout) { return window.bbcpage.loadModule(['orb/lib/_$']) .then(function($) { return new Promise(function(resolve, reject) { var stylesheet = loadCSS(url); $.onloadCSS(stylesheet, function() { resolve(); }); if (timeout) { setTimeout(function () { reject(); }, timeout); } }); }); }, isModal: function () { return modal; }, getLanguage: function () { return new Promise(function(resolve, reject) { resolve(language); }); }, trackRegion: function (region, labels) { return window.bbcpage.loadModule(['istats-1']) .then(function(istats) { var trackLabels = { region: region }; for (var label in labels) { trackLabels[label] = labels[label]; } var linkType = labels.linkType || 'internal'; istats.track(linkType, trackLabels); }); }, getName: function() { return Promise.resolve(page.name); }, getDestination: function() { return Promise.resolve(page.destination); }, getProducer: function() { return Promise.resolve(page.producer); }, getSite: function() { return Promise.resolve(page.site); }, getSection: function() { return Promise.resolve(page.section); }, getContentType: function() { return Promise.resolve(page.contentType); }, getContentId: function() { return Promise.resolve(page.contentId); }, getEdition: function() { return new Promise(function (resolve, reject) { if (page.edition) { resolve(page.edition); return; } try { resolve(getMetaValue('x-audience').toLowerCase()); } catch (err){ // This property is related to Chartbeat; see http://support.chartbeat.com/docs/ if (window._sf_async_config) { resolve(window._sf_async_config.region || null); } } resolve(null); }); }, getReferrer: function() { return Promise.resolve(window.orb && window.orb.referrer !== null && window.orb.referrer !== undefined ? window.orb.referrer : document.referrer); }, getAdditionalProperties: function() { return Promise.resolve(page.additionalProperties); } }; var USERINFO_URL = ""; var USERINFO_PREFIX = "www." || "www."; function initUserCache(orbitUser) { var availableAttr = [ 'X-Country', 'X-Ip_is_advertise_combined', 'X-Ip_is_uk_combined' ]; var userCache = availableAttr.reduce(function(user, curr, i) { if (!orbitUser[curr]) { return user; } var res = Object.assign({}, user); res[curr] = orbitUser[curr]; return res; }, {}); if (Object.keys(userCache).length !== availableAttr.length) { userCache._partial = true; } return userCache; } var user = initUserCache({ }); function checkStatus(response) { if (response.status >= 200 && response.status < 300) { return response; } else { var error = new Error(response.statusText); error.response = response; throw error; } } function parseJSON(response) { return response.json(); } var supportsCors = function() { return typeof XMLHttpRequest !== 'undefined' && 'withCredentials' in new XMLHttpRequest(); }; var getUserInfoFallback = function() { return window.bbcpage.loadModule(['orb/fig']) .then(function(orbFig) { return new Promise(function(resolve, reject) { orbFig.load(function(fig) { var getCountryFallback = function() { if (fig.geo.isUK()) { return 'GB'; } else if (fig.geo.isEU()) { return 'EU'; } }; resolve({ 'X-Country': user.country || getCountryFallback(), 'X-Ip_is_uk_combined': fig().uk ? 'yes' : 'no', 'X-Ip_is_advertise_combined': fig().ad ? 'yes' : 'no' }); }, function () { reject('Error determining country. Timeout?'); }); }); }); }; var _userInfoRequest; var getUserInfo = function() { var host = window.location.host.toString().match(/bbc\.com$/) ? 'bbc.com' : 'bbc.co.uk'; var userInfoUrl = USERINFO_URL || window.location.protocol + "//" + USERINFO_PREFIX + host + '/userinfo'; if (!user._partial) { return Promise.resolve(user); } if (!_userInfoRequest) { if (typeof window.fetch === 'undefined' || !supportsCors()) { _userInfoRequest = getUserInfoFallback(); } else { _userInfoRequest = window.fetch(userInfoUrl, { credentials: 'same-origin' }) .then(checkStatus) .then(parseJSON) .then(function(userInfo) { user = userInfo; return user; }); } } return _userInfoRequest; }; window.bbcuser = { getHashedId: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return idcta.getCookieInstance().getHidFromCookie(); }); }, getCountry: function() { if (user['X-Country']) { return Promise.resolve(user['X-Country']); } return getUserInfo().then(function(userInfo) { return userInfo['X-Country'] || 'GB'; }); }, isUKCombined: function() { return getUserInfo().then(function(userInfo) { if (!userInfo['X-Ip_is_uk_combined']) { throw new Error('missing isUKCombined from userinfo response'); } return userInfo['X-Ip_is_uk_combined'].toLowerCase() === 'yes'; }) }, canSeeAdverts: function() { return getUserInfo().then(function(userInfo) { if (!userInfo['X-Ip_is_advertise_combined']) { throw new Error('missing canSeeAdverts from userinfo response'); } return userInfo['X-Ip_is_advertise_combined'].toLowerCase() === "yes"; }); }, isSignedIn: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return (idcta && idcta.getCookieInstance().hasCookie()); }); }, allowsPerformanceCookies: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('performance'); }); }, allowsFunctionalCookies: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('personalisation'); }); }, getCookieValue: function(cookieName) { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return bbccookies.get(cookieName); }); }, resetCookiesPreferences: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { bbccookies.setDefaultCookiesSingleDomain(); }); }, hasCookiesEnabled: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled(); }); }, hasSeenCookieBanner: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function (bbccookies) { return !!bbccookies.isCookiePolicySet(); }); }, logEvent: function (verb, noun, extraLabels) { return window.bbcuser.hasCookiesEnabled() .then(function(allowsCookies) { if (allowsCookies) { return window.bbcpage.loadModule(['istats-1']) .then(function(istats) { istats.log(verb, noun, extraLabels); }); } else { throw new Error('User cannot be tracked due to cookies preferences.'); } }); }, }; }());</script><script src="https://web.archive.org/web/20200219081601js_/https://nav.files.bbci.co.uk/orbit/1b2e292884201dd13064a9204e177864/js/require.min.js"></script> <script src="https://web.archive.org/web/20200219081601js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-441.b5f0561/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">if (window.define !== undefined) { define('orb/cookies', function() { return window.bbccookies; }); }</script> <script src="https://web.archive.org/web/20200219081601js_/https://nav.files.bbci.co.uk/orbit/1b2e292884201dd13064a9204e177864/js/api.min.js"></script><script type="text/javascript">window.bbcFlagpoles_istats="ON",require.config({paths:{"istats-1":"https://web.archive.org/web/20200219081601/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-441.b5f0561/istats/istats-1"}}),require(["istats-1","orb/cookies"],function(t,a){if(a.isAllowed("s1")){var e=(o=document.location.href.match(/^(?:https|http):\/\/\w*\.(?:(int|test|stage|live|)\.)?bbc\.(?:co\.uk|com)/))?void 0===o[1]||""===o[1]||"live"===o[1]?"//web.archive.org/web/20200219081601/https://sa.bbc.co.uk/bbc/bbc/s":"//web.archive.org/web/20200219081601/https://sa.bbc.co.uk/bbc/"+o[1]+"/s":"//web.archive.org/web/20200219081601/https://sa.bbc.co.uk/bbc/test/s";t.addCollector({name:"default",url:e,separator:"&"});var s="cbbc.curations.cbbc_help.page";t.setCountername(s),window.istats_countername&&t.setCountername(window.istats_countername),t.addLabels("ml_name=webmodule&ml_version=0.0.2-441.b5f0561&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=cbbc&language=en&app_name=cbbc&app_type=responsive")}var o});</script><link rel="stylesheet" href="https://web.archive.org/web/20200219081601cs_/https://static.files.bbci.co.uk/account/id-cta/1.36.1/style/id-cta.css"><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.36.1/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/20200219081601/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&context=cbbc&ptrt=' + encodeURIComponent((ptrt ? ptrt[1] : document.location.href))).replace(/\&/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/20200219081601/https://static.files.bbci.co.uk/account/id-cta/1.36.1/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/20200219081601/https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20200219081601/https://static.files.bbci.co.uk/account/id-cta/1.36.1/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = 'https://web.archive.org/web/20200219081601/https://cdn.optimizely.com/public/4621041136/s/idcta_live';const idctaShim = {deps: ['idcta-v2/idcta-1'],};require({shim: {'idcta-v2/statusbar': idctaShim,'idcta-v2/id-config': idctaShim},map: {'*': {'idcta/idcta-1': 'idcta-v2/idcta-1','idcta': 'idcta-v2',}},paths: map});window.idctaBaseUrl = ENDPOINT_URL;define('idcta/config', ['idcta-v2/config'], function(data) {return data;});define('idcta/translations', ['idcta-v2/translations'], function(data) {return data;});})();</script> <!-- BBCDOTCOM head --><script type="text/javascript">/*<![CDATA[*/ var _sf_startpt = (new Date()).getTime(); /*]]>*/</script><style type="text/css">.bbccom_display_none{display:none;}</style><script type="text/javascript">/*<![CDATA[*/ var bbcdotcomConfig, googletag = googletag || {}; googletag.cmd = googletag.cmd || [], bbcdotcomScripts = [], tp = window.tp || []; var bbcdotcom = false; (function(){ if(typeof require !== 'undefined') { require({ paths:{ "bbcdotcom":"https://web.archive.org/web/20200219081601/https://static.bbc.co.uk/bbcdotcom/3.6.969/script" } }); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ var bbcdotcom = { adverts: { keyValues: { set: function() {} } }, advert: { write: function () {}, show: function () {}, isActive: function () { return false; }, layout: function() { return { reset: function() {} } } }, config: { init: function() {}, isActive: function() {}, setSections: function() {}, isAdsEnabled: function() {}, setAdsEnabled: function() {}, isAnalyticsEnabled: function() {}, setAnalyticsEnabled: function() {}, setAssetPrefix: function() {}, setFlagpoles: function() {}, setVersion: function () {}, setJsPrefix: function() {}, setSwfPrefix: function() {}, setCssPrefix: function() {}, setConfig: function() {}, getAssetPrefix: function() {}, getJsPrefix: function () {}, getSwfPrefix: function () {}, getCssPrefix: function () {}, isOptimizelyEnabled: function() {} }, survey: { init: function(){ return false; } }, data: {}, init: function() {}, objects: function(str) { return false; }, locale: { set: function() {}, get: function() {} }, setAdKeyValue: function() {}, utils: { addEvent: function() {}, addHtmlTagClass: function() {}, log: function () {} }, addLoadEvent: function() {} }; /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb !== 'undefined' && typeof orb.fig === 'function') { if (orb.fig('ad') && orb.fig('uk') == 0) { bbcdotcom.data = { ads: (orb.fig('ad') ? 1 : 0), stats: (orb.fig('uk') == 0 ? 1 : 0), statsProvider: orb.fig('ap') }; } } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200219081601/https://www.bbc.com/wwscripts/data">\x3C/script>'); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb === 'undefined' || typeof orb.fig !== 'function') { bbcdotcom.data = { ads: bbcdotcom.data.a, stats: bbcdotcom.data.b, statsProvider: bbcdotcom.data.c }; } if (bbcdotcom.data.ads == 1) { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200219081601/https://www.bbc.com/wwscripts/flag">\x3C/script>'); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (window.bbcdotcom && (typeof bbcdotcom.flag == 'undefined' || (typeof bbcdotcom.data.ads !== 'undefined' && bbcdotcom.flag.a != 1))) { bbcdotcom.data.ads = 0; } if (/[?|&]ads/.test(window.location.href) || /(^|; )ads=on; /.test(document.cookie) || /; ads=on(; |$)/.test(document.cookie)) { bbcdotcom.data.ads = 1; bbcdotcom.data.stats = 1; } if (window.bbcdotcom && (bbcdotcom.data.ads == 1 || bbcdotcom.data.stats == 1)) { bbcdotcom.assetPrefix = "https://web.archive.org/web/20200219081601/https://static.bbc.co.uk/bbcdotcom/3.6.969/"; if (/(sandbox|int)(.dev)*.bbc.co*/.test(window.location.href) || /[?|&]ads-debug/.test(window.location.href) || document.cookie.indexOf('ads-debug=') !== -1) { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200219081601/https://static.bbc.co.uk/bbcdotcom/3.6.969/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200219081601/https://static.bbc.co.uk/bbcdotcom/3.6.969/script/dist/bbcdotcom.js">\x3C/script>'); } } })(); /*]]>*/</script><script type="text/javascript">if (window.bbcdotcom && bbcdotcom.data.stats == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200219081601/https://secure-us.imrworldwide.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200219081601/https://me-cdn.effectivemeasure.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200219081601/https://ssc.api.bbc.com/">'); } if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200219081601/https://www.googletagservices.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200219081601/https://bbc.gscontxt.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200219081601/https://tags.crwdcntrl.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200219081601/https://ad.crwdcntrl.net/">'); }</script><script type="text/javascript">if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<meta name="google-site-verification" content="auTeTTwSt_KBY_4iDoR00Lwb7-qzx1IgzJy6ztaWgEI" />'); }</script><script type="text/javascript">/*<![CDATA[*/ (function(){ var GDPR_COUNTRIES = ['AT', 'BE', 'BG', 'HR', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'NL', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'IS', 'LI', 'NO', 'CH']; if (window.bbcdotcom && (bbcdotcom.data.ads == 1 || bbcdotcom.data.stats == 1)) { bbcdotcomConfig = {"adFormat":"standard","adKeyword":"","adMode":"smart","adsEnabled":true,"appAnalyticsSections":"","asyncEnabled":true,"disableInitialLoad":false,"advertInfoPageUrl":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/www.bbc.com\/privacy\/cookies\/international\/","advertisementText":"Advertisement","analyticsEnabled":true,"sherlockEnabled":false,"appName":"cbbc","assetPrefix":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/static.bbc.co.uk\/bbcdotcom\/3.6.969\/","customAdParams":[],"customStatsParams":[],"headline":"","id":"","inAssociationWithText":"in association with","keywords":"","language":"","orbTransitional":false,"optimizelyEnabled":true,"palEnv":"live","productName":"cbbc","sections":[],"comScoreEnabled":true,"comscoreSite":"bbc","comscoreID":"19293874","comscorePageName":"","slots":"","sponsoredByText":"is sponsored by","adsByGoogleText":"Ads by Google","summary":"","type":"","features":{"testfeature":{"name":"testfeature","envs":["sandbox","int","test"],"on":true,"options":{},"override":null},"lxadverts":{"name":"lxadverts","envs":[],"on":true,"options":{},"override":null}},"staticBase":"\/bbcdotcom","staticHost":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/static.bbc.co.uk","staticVersion":"3.6.969","staticPrefix":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/static.bbc.co.uk\/bbcdotcom\/3.6.969","dataHttp":"tps.bbc.com","dataHttps":"www.bbc.com","flagHttp":"www.bbc.co.uk","flagHttps":"www.bbc.co.uk","analyticsHttp":"sa.bbc.com","analyticsHttps":"ssa.bbc.com"}; bbcdotcom.config.init(bbcdotcomConfig, bbcdotcom.data, window.location, window.document); bbcdotcom.config.setFlagpoles(bbcdotcom.flag || {}); bbcdotcom.config.setAssetPrefix("https://web.archive.org/web/20200219081601/https://static.bbc.co.uk/bbcdotcom/3.6.969/"); bbcdotcom.config.setVersion("3.6.969"); if (window.bbcuser && window.bbcuser.getCountry && typeof(window.bbcuser.getCountry) === 'function') { window.bbcuser.getCountry().then(function(countryCode) { var isEU = countryCode ? GDPR_COUNTRIES.indexOf(countryCode.toUpperCase()) !== -1 : false; bbcdotcom.config.setEU(isEU); }); } else if (window.orb && window.orb.fig && typeof(window.orb.fig) === 'function') { bbcdotcom.config.setEU(window.orb.fig('eu')); } document.write('<!--[if IE 7]><script type="text/javascript">bbcdotcom.config.setIE7(true);\x3C/script><![endif]-->'); document.write('<!--[if IE 8]><script type="text/javascript">bbcdotcom.config.setIE8(true);\x3C/script><![endif]-->'); document.write('<!--[if IE 9]><script type="text/javascript">bbcdotcom.config.setIE9(true);\x3C/script><![endif]-->'); if (/[?|&]ex-dp/.test(window.location.href) || document.cookie.indexOf('ex-dp=') !== -1) { bbcdotcom.utils.addHtmlTagClass('bbcdotcom-ex-dp'); } } })(); /*]]>*/</script><script type="text/javascript">var initOptimizely = (function(isEnabled){ if(!isEnabled) return; var logger = window.bbcdotcom.Logger('bbcdotcom:head:optimizely'); /* Allow Optimizely in these paths */ var allowPaths = ['/', '/wwhp']; /* Only run on optimizely on homepage */ if (bbcdotcom.utils && allowPaths.indexOf(window.location.pathname) !== -1){ /* set correct OptimizelyURL for prod or sandbox */ var optimizelyURL = "https://web.archive.org/web/20200219081601/https://cdn.optimizely.com/public/4621041136/s/bbccom_sandbox.js"; if(window.location.hostname === 'www.bbc.com') { optimizelyURL = "https://web.archive.org/web/20200219081601/https://cdn.optimizely.com/public/4621041136/s/bbccom_prod.js"; } /* Set cookie to 1 year */ window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({ "type": "cookieExpiration", "cookieExpirationDays": 365 }); document.write('<script type="text/javascript" src="'+optimizelyURL+'">\x3C/script>'); } })( bbcdotcom.config.isOptimizelyEnabled() );</script><script type="text/javascript">/*<![CDATA[*/ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isGrapeshotEnabled && bbcdotcom.config.isGrapeshotEnabled() && bbcdotcom.config.isWorldService && !bbcdotcom.config.isWorldService() ) { var gs_channels="DEFAULT"; (function () { var gsurl = window.location.href.split("?")[0]; bbcdotcomScripts.push({src:'https://web.archive.org/web/20200219081601/https://bbc.gscontxt.net/?url='+encodeURIComponent(gsurl)}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.config && bbcdotcom.config.isLotameActive && bbcdotcom.config.isLotameActive()&& bbcdotcom.config.isLotameEnabled && bbcdotcom.config.isLotameEnabled()){ (function () { var clientId, lotameUrl, lotameAudienceUrl; clientId = (bbcdotcom.config.isWorldService && bbcdotcom.config.isWorldService()) ? '10826' : '10816'; lotameUrl = 'https://web.archive.org/web/20200219081601/https://tags.crwdcntrl.net/c/'+clientId+'/cc.js?ns='+clientId; lotameAudienceUrl = 'https://web.archive.org/web/20200219081601/https://ad.crwdcntrl.net/5/c=10815/pe=y/var=ccauds'; bbcdotcomScripts.push({src:lotameUrl,id:"LOTCC"+clientId}); bbcdotcomScripts.push({src:lotameAudienceUrl}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /** * ASYNC waits to make any gpt requests until the bottom of the page */ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isAsync && bbcdotcom.config.isAsync() ) { (function () { bbcdotcomScripts.push({src:'https://web.archive.org/web/20200219081601/https://securepubads.g.doubleclick.net/tag/js/gpt.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /* Load Lotame, Grapeshot and GPT without blocking rendering but executing in order */ if ( bbcdotcomScripts && bbcdotcomScripts.length > 0 ) { (function () { bbcdotcomScripts.forEach(function(item) { var script = document.createElement('script'); script.async = false; if(item.id) script.id = item.id; script.src = item.src; document.head.appendChild(script); }); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script><script type="text/javascript">// Globally available search context window.SEARCHBOX={"variant":"cbbc","locale":"en","feature":"akamai-idcta","navSearchboxStaticPrefix":"https://web.archive.org/web/20200219081601/https://nav.files.bbci.co.uk/searchbox/c3832368b067cb95b274bc5796e4249c/","searchboxAppStaticPrefix":"https://web.archive.org/web/20200219081601/https://nav.files.bbci.co.uk/searchbox/c3832368b067cb95b274bc5796e4249c/drawer","searchFormHtml":"<div tabindex=\"-1\" data-reactroot=\"\" data-reactid=\"1\" data-react-checksum=\"842287743\"><div data-reactid=\"2\"><section class=\"se-searchbox-panel\" data-reactid=\"3\"><div class=\"se-g-wrap\" data-reactid=\"4\"><div class=\"se-g-layout\" data-reactid=\"5\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\" data-reactid=\"6\">search</div><div class=\"se-g-layout__item se-searchbox\" data-reactid=\"7\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\" data-reactid=\"8\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\" data-reactid=\"9\"><span class=\"se-sr-only\" data-reactid=\"10\">Search Term</span><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxlength=\"512\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\" data-reactid=\"11\"/></label><input type=\"hidden\" name=\"scope\" value=\"\" data-reactid=\"12\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"search-icon\" data-bbc-metadata=\"{"PAR":"form::1","CHD":"button::1"}\" data-reactid=\"13\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"clear-icon\" data-bbc-metadata=\"{"PAR":"form::1","CHD":"button::2"}\" data-reactid=\"14\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\" data-reactid=\"15\"><section class=\"se-g-wrap\" data-reactid=\"16\"></section></div></div></div>","searchScopePlaceholder":"<input type=\"hidden\" name=\"scope\" id=\"orb-search-scope\" value=\"cbbc\">","searchScopeParam":"?scope=cbbc","searchScopeTemplate":"cbbc","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""}; window.SEARCHBOX.suppress = false; window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://web.archive.org/web/20200219081601cs_/https://nav.files.bbci.co.uk/searchbox/c3832368b067cb95b274bc5796e4249c/css/main.css"><!--[if IE 8]> <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/c3832368b067cb95b274bc5796e4249c/script/html5shiv.min.js"></script> <script type="text/javascript">window['searchboxIEVersion'] = 8;</script> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/c3832368b067cb95b274bc5796e4249c/css/ie8.css"> <![endif]--><!--[if IE 9]> <script type="text/javascript">window['searchboxIEVersion'] = 9;</script> <![endif]--><script type="text/javascript">require.config({ "paths": { "orb/async/_footerpromo": 'https://web.archive.org/web/20200219081601/https://nav.files.bbci.co.uk/navpromo/14e5b4661a09bc7754808edab113a159/js/async/_footerpromo' } });</script> <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://web.archive.org/web/20200219081601/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.18.2",window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,n){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=n}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var n=function(r,d){window.__reverb.__reverbLoadedPromise.then(function(e){if(r&&r.detail){var n=r.detail.label,t=r.detail.type,i=r.detail.elem,o=r.detail.originalEvent;r.detail.isClick&&(d=r.detail.isClick),e.userActionEvent(t,n,r.detail,i,o,d)}},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){n(e,!1)}),document.addEventListener("bbc-user-click",function(e){n(e,!0)}),document.addEventListener("bbc-page-updated",function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})})}();</script><script type="text/javascript" src="https://web.archive.org/web/20200219081601js_/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.3.0.js" async=""></script> <script> require.config({ paths: { 'optimizely-ati': ['https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/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"> require(['orb/fig'], function(orbFig) { orbFig.load(function(fig) { if (!fig.geo.isUK()) { window.location = "https://web.archive.org/web/20200219081601/http://www.bbcchannels.com/cbbc"; } }); }); </script> <script type="text/javascript" src="https://web.archive.org/web/20200219081601js_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/modernizr.js"></script> <script> define('modernizr', [], Modernizr); </script> <script type="text/javascript" src="https://web.archive.org/web/20200219081601js_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/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>/*! * bbc-cards * @version 0.18.7 * @link http://bbc.github.io/bbc-cards/ * @license MIT */.u-posAbsolute{position:absolute !important}.u-posAbsoluteCenter{bottom:0 !important;left:0 !important;margin:auto !important;position:absolute !important;right:0 !important;top:0 !important}.u-posFixed{position:fixed !important;-webkit-backface-visibility:hidden;backface-visibility:hidden}.u-posRelative{position:relative !important}.u-posStatic{position:static !important}.c-Headline{margin-top:0;margin-bottom:0;color:#282b32;font-weight:normal}.c-Icon{width:16px;height:16px;vertical-align:middle;display:inline-block;fill:#767676}.c-Icon-label{vertical-align:middle;padding-left:10px}.c-Icon--whatsApp{fill:#4dc247}.c-Icon--facebook{fill:#3b5998}.c-Icon--twitter{fill:#55acee}.c-Timestamp{display:inline-block;color:#767676;text-decoration:none}.c-Timestamp:hover{color:#767676;text-decoration:none}.c-Timestamp .c-Icon-label{padding-left:6px}.c-Text{color:#505564;line-height:1.4}.c-Text p{margin-bottom:12px}.c-Text p:last-child{margin-bottom:0}.c-Text a{text-decoration:none}.c-Text a:hover{text-decoration:underline}.c-Text ul,.c-Text ol{margin:20px 0 20px 20px}.c-Text ul{list-style-type:disc}.c-Text ol{list-style-type:decimal}.c-Media{display:block;overflow:hidden;position:relative}.c-Media::before{content:"";display:block;width:100%;padding-bottom:56.25%}.c-Media-content{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;background-color:#323232}.c-Media-video{position:absolute;top:0;left:0;width:100%;height:100%}.c-Media-wrapCta{display:block}.c-Media-wrapCta .c-Cta{position:absolute;bottom:0;left:0}.c-Media-wrapCta:hover .c-Cta{color:#323232;background-color:rgba(255,255,255,0.8)}.c-Media-wrapCta:hover .c-Cta-icon{fill:#323232}.c-Media-wrapCta:hover .c-Cta--youtube{background-color:transparent;color:#cc181e;opacity:1}.c-Media--1by1::before{padding-bottom:100%}.c-Media--flexible::before{padding-bottom:0}.c-Media--flexible .c-Media-content{position:static;max-height:30em}.c-Media--flexible .c-Image{margin:0 auto}.c-Media--centred .c-Image{position:absolute;top:-100%;right:-100%;bottom:-100%;left:-100%;margin:auto}.c-Media--centred .c-Media-content .c-Cta{position:absolute}.c-Brand{border-left:2px solid;color:#767676;line-height:.9;margin-top:0;margin-bottom:0;padding-left:5px}.c-Brand--three{border-color:#d41c6f}.c-Brand--iplayer{border-color:#f54997}.c-Brand--news{border-color:#bb1919}.c-Brand--trending{border-color:#bb1919}.c-Brand--newsbeat{border-color:#14b4b7}.c-Brand--sport{border-color:#ffdf43}.c-Brand--radio1{border-color:#1e1e1e}.c-Brand--radio1Xtra{border-color:#1e1e1e}.u-block{display:block !important}.u-hidden{display:none !important}.u-hiddenVisually{position:absolute !important;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.u-inline{display:inline !important}.u-inlineBlock{display:inline-block !important;max-width:100%}.u-table{display:table !important}.u-tableCell{display:table-cell !important}.u-tableRow{display:table-row !important}.c-Image{display:block;max-width:100%;height:auto}.c-Tag{display:inline-block;color:#fff;text-decoration:none;background-color:#505564;margin-bottom:0;padding:5px 15px}.c-Tag:hover{color:#fff;text-decoration:underline}.c-TagList{list-style:none;margin:0;padding:0}.c-TagList-item{float:left;margin:0 5px 5px 0}.c-TagList-item:only-child,.c-TagList-item:last-child{margin-right:0}.u-cf:before,.u-cf:after{content:" ";display:table}.u-cf:after{clear:both}.u-nbfc{overflow:hidden !important}.u-nbfcAlt{display:table-cell !important;width:10000px !important}.u-floatLeft{float:left !important}.u-floatRight{float:right !important}@media (max-width: 599px){.u-xs-hidden{display:none !important}}@media (min-width: 600px) and (max-width: 769px){.u-sm-hidden{display:none !important}}@media (min-width: 770px) and (max-width: 1007px){.u-md-hidden{display:none !important}}@media (min-width: 1008px){.u-lg-hidden{display:none !important}}.c-Share{display:inline-block;width:66px}.c-Share>.s-b-container{top:2px !important}.c-Share .s-b-button .s-b-icon{padding-left:0 !important;padding-right:5px !important}.c-Share>:not([data-variant="transparent"]) .s-b-labels span,.c-Share .s-b-icon .s-b-s{color:#767676 !important}.c-Toolbar{border-top:1px solid #e2e3e5;min-height:44px}.c-Toolbar-actionGroup,.c-Toolbar-action{margin-bottom:0}.c-Toolbar-actionGroup{margin-top:3px}.c-Toolbar-actionGroup:first-child:not(:only-child){line-height:2.25em;float:left}.c-Toolbar-actionGroup:nth-child(2),.c-Toolbar-actionGroup:first-child{float:right}.c-Toolbar-action{display:inline-block;vertical-align:middle;margin-top:0;margin-right:12px}.c-Toolbar-action:last-child{margin-right:0 !important}.c-Toolbar-text{vertical-align:middle}.c-Toolbar-link{text-decoration:none;color:#767676}.c-Toolbar-link:hover{text-decoration:none;color:#767676}.c-Toolbar--slim .c-Toolbar-action{margin-right:20px}.c-Toolbar--slim .c-Toolbar-text{position:absolute !important;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.c-Card{background-color:#fff;position:relative;box-shadow:0 9px 0 -6px rgba(0,0,0,0.4)}.c-Card-wrapHeadline{border-bottom-width:3px;border-bottom-style:solid}.c-Card-wrapHeadline .c-Social-headline{border-bottom:0}.c-Card-wrapHeadline .c-Text{margin-bottom:0;padding:0 16px 16px}.c-Card-alert{position:relative;font-size:12px;-webkit-font-smoothing:antialiased;color:#fff;background-color:#af372a;margin-bottom:0;line-height:1.1;padding:5px 12px 5px 32px}.c-Card-alert a{color:#fff;text-decoration:underline}.c-Card-alert a:hover{text-decoration:none}.c-Card-alert .c-Icon{margin:-2px 0 -2px -20px;float:left}.c-Card-body{padding:20px 16px 24px}@media (min-width: 600px){.c-Card-body{padding:28px 24px 32px}}.c-Card-headline{margin-bottom:16px}@media (min-width: 600px){.c-Card-subtitle{margin-bottom:15px}}.c-Card-contributor{margin:16px 0}.c-Card-brand{margin-top:24px}.c-Card-tags{padding:0 16px 14px}@media (min-width: 600px){.c-Card-tags{padding:0 24px 22px}}.c-Article-text{margin-bottom:10px}.c-BBCIplayer{background-color:#262525}.c-BBCIplayer .c-BBCIplayer-description,.c-BBCIplayer .c-BBCIplayer-availability{color:#bcbcbc}.c-BBCIplayer-headline{color:#fff;margin-bottom:5px}@media (min-width: 600px){.c-BBCIplayer-headline{margin-bottom:10px}}.c-BBCIplayer-episode{color:#bcbcbc;margin-bottom:10px}.c-BBCIplayer-brand{color:#bcbcbc}.c-BBCIplayer-toolbar{border-top-color:#404040}.c-Cta-body,.c-Cta-text,.c-Cta-icon{display:block}.c-Cta{width:80px;height:80px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#fff;background-color:rgba(1,1,1,0.8)}.c-Cta:hover,.c-Cta:active{text-decoration:none;color:#323232;background-color:rgba(255,255,255,0.8)}.c-Cta:hover .c-Cta-icon,.c-Cta:active .c-Cta-icon{fill:#323232}.c-Cta--youtube{right:0;top:0;margin:auto;background:none;color:#1f1f1e;opacity:.81;-webkit-transition:opacity .25s;transition:opacity .25s}.c-Cta--youtube .c-Cta-icon{width:68px;height:48px;margin-bottom:0}.c-Cta-text{text-align:center}.c-Cta-icon{width:24px;height:24px;fill:#fff;margin-left:auto;margin-right:auto;margin-bottom:7px}.no-flexbox.no-flexboxtweener .c-Cta{display:block}.no-flexbox.no-flexboxtweener .c-Cta-body{position:absolute;top:0;right:0;bottom:0;left:0;height:43px;margin:auto}.c-Promo{display:block}.c-Promo:hover .c-Promo-headline{text-decoration:underline}.c-Promo-body{position:absolute;bottom:16px;left:16px;right:16px;z-index:3}@media (min-width: 600px){.c-Promo-body{bottom:24px}}.c-Promo-img{z-index:1}.c-Promo-media::after{content:"";position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0.5)}.c-Promo-readMore{display:inline-block;font-weight:bold;color:#fff;background-color:#d41c6f;margin-bottom:20px;padding:3px 7px}.c-Promo-headline,.c-Promo-brand{color:#fff}.c-Promo-headline{font-weight:bold;margin-bottom:20px}@media (min-width: 600px){.c-Promo-headline{margin-bottom:24px}}.c-Propaganda{color:#fff}.c-Propaganda .c-Media-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.c-Propaganda-content{position:relative;z-index:1;padding-right:10%;padding-left:10%}.c-Propaganda-tag{margin-bottom:5px}.c-Propaganda-image{width:100%;height:auto}.no-flexbox .c-Propaganda-content{padding-top:10%}.flexboxtweener .c-Propaganda-content{-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.c-Propaganda-text{margin-bottom:2%}.c-Propaganda-text a{text-decoration:none}.c-Propaganda-text a:hover{text-decoration:underline}.c-Propaganda-brand{color:#fff}.c-Quote-headline{border-bottom-width:3px;border-bottom-style:solid;padding:16px}.c-Quote-text{font-style:italic;font-family:Georgia;margin-top:20px;margin-bottom:20px}.c-Quote-icon{width:40px;height:40px;fill:#000}.c-Quote-meta{font-style:normal;display:block}.c-Quote-meta::before{content:"";margin-bottom:8px;background-color:#e2e3e5;display:block;width:40px;height:3px}.c-Quote-source{font-weight:bold;display:block}.c-Quote-profession{color:#505564}.c-Quote--three{border-top:3px solid #d41c6f}.c-Quote--three .c-Quote-headline{border-color:#d41c6f;background-color:#fff;margin-top:-3px}.c-Quote--three .c-Quote-icon{fill:#d41c6f}.c-Contributor-avatar{float:left;margin-right:10px;border-radius:50%}.c-Contributor-titlePrimary,.c-Contributor-titleSecondary{margin-bottom:0}.c-Contributor-titlePrimary{font-weight:bold;color:#282b32}.c-Contributor-titlePrimary a{color:#282b32;text-decoration:none}.c-Contributor-titleSecondary{color:#505564}.c-Contributor-titleSecondary a{color:#505564;text-decoration:none}@media (min-width: 1008px){.u-lg-sizeFull{box-sizing:border-box !important;display:block !important;width:100% !important}}.c-Social-headline{border-bottom-width:3px;border-bottom-style:solid;padding:16px}.c-Social-contributor{margin-bottom:20px}.c-Social-icon{text-transform:uppercase}.c-Social--youtube .c-Card-wrapHeadline,.c-Social--youtube .c-Social-headline,.c-Social--youtube .c-Toolbar{border-color:#cd201f}.c-Social--youtube .c-Text{margin-bottom:20px}.c-Social--youtube .c-Social-icon .c-Icon{fill:#cd201f;width:34px;height:34px}.c-Social--twitter .c-Card-wrapHeadline,.c-Social--twitter .c-Social-headline{border-color:#55acee}.c-Social--twitter .c-Text{margin-bottom:10px}.c-Social--twitter .c-Text p{white-space:pre-wrap}.c-Social--twitter .c-Text a{color:#55acee}.c-Social--twitter .c-Timestamp{margin-bottom:20px}.c-Social--twitter .c-Toolbar{border-color:#55acee}.c-Social--twitter .c-Social-icon .c-Icon{fill:#55acee;width:24px;height:24px}.c-Social--instagram .c-Card-wrapHeadline,.c-Social--instagram .c-Social-headline{border-color:#125688}.c-Social--instagram .c-Media .c-Image{width:100%}.c-Social--instagram .c-Text{margin-bottom:10px}.c-Social--instagram .c-Text a{color:#125688}.c-Social--instagram .c-Timestamp{margin-bottom:20px}.c-Social--instagram .c-Contributor-titleSecondary{font-weight:bold;padding-top:12px}.c-Social--instagram .c-Toolbar{border-color:#125688}.c-Social--instagram .c-Social-icon .c-Icon{fill:#125688;width:20px;height:20px}.c-Social--vine .c-Card-wrapHeadline,.c-Social--vine .c-Social-headline{border-color:#00b488}.c-Social--vine .c-Text{margin-bottom:10px}.c-Social--vine .c-Text a{color:#00b488}.c-Social--vine .c-Timestamp{margin-bottom:20px}.c-Social--vine .c-Social-icon .c-Icon{fill:#00b488;width:20px;height:20px}.c-CardsList,.c-CardsList-item{margin:0;padding:0;list-style-type:none}.c-CardsList{margin-left:-8px}@media (min-width: 37.5em){.c-CardsList{margin-left:-16px}}.c-CardsList-item{display:inline-block;padding-left:8px}@media (min-width: 37.5em){.c-CardsList-item{padding-left:16px}}.c-CardsList--grid .c-CardsList-item{width:100%}@media (min-width: 25em) and (orientation: landscape){.c-CardsList--grid .c-CardsList-item{width:50%}}@media (min-width: 37.5em){.c-CardsList--grid .c-CardsList-item{width:50%}}@media (min-width: 56.25em){.c-CardsList--grid .c-CardsList-item{width:33.3333333%}}@media (min-width: 80em){.c-CardsList--grid .c-CardsList-item{width:25%}}.c-CardsList--stream .c-CardsList-item{left:0;margin-left:auto;margin-right:auto;right:0;width:100%}@media (min-width: 43.75em){.c-CardsList--stream .c-CardsList-item{width:80%}}@media (min-width: 56.25em){.c-CardsList--stream .c-CardsList-item{width:66%}}@media (min-width: 80em){.c-CardsList--stream .c-CardsList-item{width:52%}}.c-CardsList{text-align:center}.c-CardsList,.c-CardsList *{box-sizing:border-box}.c-CardsList-item{text-align:left;margin-bottom:12px;vertical-align:top}@media (min-width: 37.5em){.c-CardsList-item{margin-bottom:20px}}.c-Headline>a{color:#252525;z-index:1;position:relative}.c-Card-headline{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem}.c-Article-text{line-height:18px;line-height:1.125rem}.c-Article-text b,.c-Article-text strong{font-weight:bold}.c-Article-text i,.c-Article-text em{font-style:italic}.c-Article-text a{color:#252525}.c-Media-content>img{width:100%}.c-Card--small .c-Card-body{padding:16px}.u-isActionable{cursor:pointer}.c-Brand{border-left:none;padding-left:0}.c-Card--cbbc,.c-Card--stay-safe{box-shadow:0 1px 1px rgba(0,0,0,0.3);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.c-Card--cbeebies{background-color:#FFE513;box-shadow:0 3px 2px rgba(0,0,0,0.3);border-bottom-left-radius:16px;border-bottom-right-radius:16px}.c-Card--cbeebies .c-Card-body{border:2px solid #E4C704;border-top:2px solid #FFF49B;border-bottom-left-radius:16px;border-bottom-right-radius:16px}.rid-load{padding-top:56%}.c-Riddle .c-Card-riddle{display:none}.experiment-in-situ-quizzes .c-Riddle .c-Media{position:absolute;width:100%;z-index:0}.experiment-in-situ-quizzes .c-Riddle .c-Card-riddle{display:block;position:relative;z-index:1} /*# sourceMappingURL=core.css.map */</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-cards-list-view/1.29.2"]=true; Morph.styleSrc.push("<style>/*!\n * bbc-cards\n * @version 0.18.7\n * @link http://bbc.github.io/bbc-cards/\n * @license MIT\n */.u-posAbsolute{position:absolute !important}.u-posAbsoluteCenter{bottom:0 !important;left:0 !important;margin:auto !important;position:absolute !important;right:0 !important;top:0 !important}.u-posFixed{position:fixed !important;-webkit-backface-visibility:hidden;backface-visibility:hidden}.u-posRelative{position:relative !important}.u-posStatic{position:static !important}.c-Headline{margin-top:0;margin-bottom:0;color:#282b32;font-weight:normal}.c-Icon{width:16px;height:16px;vertical-align:middle;display:inline-block;fill:#767676}.c-Icon-label{vertical-align:middle;padding-left:10px}.c-Icon--whatsApp{fill:#4dc247}.c-Icon--facebook{fill:#3b5998}.c-Icon--twitter{fill:#55acee}.c-Timestamp{display:inline-block;color:#767676;text-decoration:none}.c-Timestamp:hover{color:#767676;text-decoration:none}.c-Timestamp .c-Icon-label{padding-left:6px}.c-Text{color:#505564;line-height:1.4}.c-Text p{margin-bottom:12px}.c-Text p:last-child{margin-bottom:0}.c-Text a{text-decoration:none}.c-Text a:hover{text-decoration:underline}.c-Text ul,.c-Text ol{margin:20px 0 20px 20px}.c-Text ul{list-style-type:disc}.c-Text ol{list-style-type:decimal}.c-Media{display:block;overflow:hidden;position:relative}.c-Media::before{content:\"\";display:block;width:100%;padding-bottom:56.25%}.c-Media-content{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;background-color:#323232}.c-Media-video{position:absolute;top:0;left:0;width:100%;height:100%}.c-Media-wrapCta{display:block}.c-Media-wrapCta .c-Cta{position:absolute;bottom:0;left:0}.c-Media-wrapCta:hover .c-Cta{color:#323232;background-color:rgba(255,255,255,0.8)}.c-Media-wrapCta:hover .c-Cta-icon{fill:#323232}.c-Media-wrapCta:hover .c-Cta--youtube{background-color:transparent;color:#cc181e;opacity:1}.c-Media--1by1::before{padding-bottom:100%}.c-Media--flexible::before{padding-bottom:0}.c-Media--flexible .c-Media-content{position:static;max-height:30em}.c-Media--flexible .c-Image{margin:0 auto}.c-Media--centred .c-Image{position:absolute;top:-100%;right:-100%;bottom:-100%;left:-100%;margin:auto}.c-Media--centred .c-Media-content .c-Cta{position:absolute}.c-Brand{border-left:2px solid;color:#767676;line-height:.9;margin-top:0;margin-bottom:0;padding-left:5px}.c-Brand--three{border-color:#d41c6f}.c-Brand--iplayer{border-color:#f54997}.c-Brand--news{border-color:#bb1919}.c-Brand--trending{border-color:#bb1919}.c-Brand--newsbeat{border-color:#14b4b7}.c-Brand--sport{border-color:#ffdf43}.c-Brand--radio1{border-color:#1e1e1e}.c-Brand--radio1Xtra{border-color:#1e1e1e}.u-block{display:block !important}.u-hidden{display:none !important}.u-hiddenVisually{position:absolute !important;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.u-inline{display:inline !important}.u-inlineBlock{display:inline-block !important;max-width:100%}.u-table{display:table !important}.u-tableCell{display:table-cell !important}.u-tableRow{display:table-row !important}.c-Image{display:block;max-width:100%;height:auto}.c-Tag{display:inline-block;color:#fff;text-decoration:none;background-color:#505564;margin-bottom:0;padding:5px 15px}.c-Tag:hover{color:#fff;text-decoration:underline}.c-TagList{list-style:none;margin:0;padding:0}.c-TagList-item{float:left;margin:0 5px 5px 0}.c-TagList-item:only-child,.c-TagList-item:last-child{margin-right:0}.u-cf:before,.u-cf:after{content:\" \";display:table}.u-cf:after{clear:both}.u-nbfc{overflow:hidden !important}.u-nbfcAlt{display:table-cell !important;width:10000px !important}.u-floatLeft{float:left !important}.u-floatRight{float:right !important}@media (max-width: 599px){.u-xs-hidden{display:none !important}}@media (min-width: 600px) and (max-width: 769px){.u-sm-hidden{display:none !important}}@media (min-width: 770px) and (max-width: 1007px){.u-md-hidden{display:none !important}}@media (min-width: 1008px){.u-lg-hidden{display:none !important}}.c-Share{display:inline-block;width:66px}.c-Share>.s-b-container{top:2px !important}.c-Share .s-b-button .s-b-icon{padding-left:0 !important;padding-right:5px !important}.c-Share>:not([data-variant=\"transparent\"]) .s-b-labels span,.c-Share .s-b-icon .s-b-s{color:#767676 !important}.c-Toolbar{border-top:1px solid #e2e3e5;min-height:44px}.c-Toolbar-actionGroup,.c-Toolbar-action{margin-bottom:0}.c-Toolbar-actionGroup{margin-top:3px}.c-Toolbar-actionGroup:first-child:not(:only-child){line-height:2.25em;float:left}.c-Toolbar-actionGroup:nth-child(2),.c-Toolbar-actionGroup:first-child{float:right}.c-Toolbar-action{display:inline-block;vertical-align:middle;margin-top:0;margin-right:12px}.c-Toolbar-action:last-child{margin-right:0 !important}.c-Toolbar-text{vertical-align:middle}.c-Toolbar-link{text-decoration:none;color:#767676}.c-Toolbar-link:hover{text-decoration:none;color:#767676}.c-Toolbar--slim .c-Toolbar-action{margin-right:20px}.c-Toolbar--slim .c-Toolbar-text{position:absolute !important;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.c-Card{background-color:#fff;position:relative;box-shadow:0 9px 0 -6px rgba(0,0,0,0.4)}.c-Card-wrapHeadline{border-bottom-width:3px;border-bottom-style:solid}.c-Card-wrapHeadline .c-Social-headline{border-bottom:0}.c-Card-wrapHeadline .c-Text{margin-bottom:0;padding:0 16px 16px}.c-Card-alert{position:relative;font-size:12px;-webkit-font-smoothing:antialiased;color:#fff;background-color:#af372a;margin-bottom:0;line-height:1.1;padding:5px 12px 5px 32px}.c-Card-alert a{color:#fff;text-decoration:underline}.c-Card-alert a:hover{text-decoration:none}.c-Card-alert .c-Icon{margin:-2px 0 -2px -20px;float:left}.c-Card-body{padding:20px 16px 24px}@media (min-width: 600px){.c-Card-body{padding:28px 24px 32px}}.c-Card-headline{margin-bottom:16px}@media (min-width: 600px){.c-Card-subtitle{margin-bottom:15px}}.c-Card-contributor{margin:16px 0}.c-Card-brand{margin-top:24px}.c-Card-tags{padding:0 16px 14px}@media (min-width: 600px){.c-Card-tags{padding:0 24px 22px}}.c-Article-text{margin-bottom:10px}.c-BBCIplayer{background-color:#262525}.c-BBCIplayer .c-BBCIplayer-description,.c-BBCIplayer .c-BBCIplayer-availability{color:#bcbcbc}.c-BBCIplayer-headline{color:#fff;margin-bottom:5px}@media (min-width: 600px){.c-BBCIplayer-headline{margin-bottom:10px}}.c-BBCIplayer-episode{color:#bcbcbc;margin-bottom:10px}.c-BBCIplayer-brand{color:#bcbcbc}.c-BBCIplayer-toolbar{border-top-color:#404040}.c-Cta-body,.c-Cta-text,.c-Cta-icon{display:block}.c-Cta{width:80px;height:80px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#fff;background-color:rgba(1,1,1,0.8)}.c-Cta:hover,.c-Cta:active{text-decoration:none;color:#323232;background-color:rgba(255,255,255,0.8)}.c-Cta:hover .c-Cta-icon,.c-Cta:active .c-Cta-icon{fill:#323232}.c-Cta--youtube{right:0;top:0;margin:auto;background:none;color:#1f1f1e;opacity:.81;-webkit-transition:opacity .25s;transition:opacity .25s}.c-Cta--youtube .c-Cta-icon{width:68px;height:48px;margin-bottom:0}.c-Cta-text{text-align:center}.c-Cta-icon{width:24px;height:24px;fill:#fff;margin-left:auto;margin-right:auto;margin-bottom:7px}.no-flexbox.no-flexboxtweener .c-Cta{display:block}.no-flexbox.no-flexboxtweener .c-Cta-body{position:absolute;top:0;right:0;bottom:0;left:0;height:43px;margin:auto}.c-Promo{display:block}.c-Promo:hover .c-Promo-headline{text-decoration:underline}.c-Promo-body{position:absolute;bottom:16px;left:16px;right:16px;z-index:3}@media (min-width: 600px){.c-Promo-body{bottom:24px}}.c-Promo-img{z-index:1}.c-Promo-media::after{content:\"\";position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0.5)}.c-Promo-readMore{display:inline-block;font-weight:bold;color:#fff;background-color:#d41c6f;margin-bottom:20px;padding:3px 7px}.c-Promo-headline,.c-Promo-brand{color:#fff}.c-Promo-headline{font-weight:bold;margin-bottom:20px}@media (min-width: 600px){.c-Promo-headline{margin-bottom:24px}}.c-Propaganda{color:#fff}.c-Propaganda .c-Media-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.c-Propaganda-content{position:relative;z-index:1;padding-right:10%;padding-left:10%}.c-Propaganda-tag{margin-bottom:5px}.c-Propaganda-image{width:100%;height:auto}.no-flexbox .c-Propaganda-content{padding-top:10%}.flexboxtweener .c-Propaganda-content{-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.c-Propaganda-text{margin-bottom:2%}.c-Propaganda-text a{text-decoration:none}.c-Propaganda-text a:hover{text-decoration:underline}.c-Propaganda-brand{color:#fff}.c-Quote-headline{border-bottom-width:3px;border-bottom-style:solid;padding:16px}.c-Quote-text{font-style:italic;font-family:Georgia;margin-top:20px;margin-bottom:20px}.c-Quote-icon{width:40px;height:40px;fill:#000}.c-Quote-meta{font-style:normal;display:block}.c-Quote-meta::before{content:\"\";margin-bottom:8px;background-color:#e2e3e5;display:block;width:40px;height:3px}.c-Quote-source{font-weight:bold;display:block}.c-Quote-profession{color:#505564}.c-Quote--three{border-top:3px solid #d41c6f}.c-Quote--three .c-Quote-headline{border-color:#d41c6f;background-color:#fff;margin-top:-3px}.c-Quote--three .c-Quote-icon{fill:#d41c6f}.c-Contributor-avatar{float:left;margin-right:10px;border-radius:50%}.c-Contributor-titlePrimary,.c-Contributor-titleSecondary{margin-bottom:0}.c-Contributor-titlePrimary{font-weight:bold;color:#282b32}.c-Contributor-titlePrimary a{color:#282b32;text-decoration:none}.c-Contributor-titleSecondary{color:#505564}.c-Contributor-titleSecondary a{color:#505564;text-decoration:none}@media (min-width: 1008px){.u-lg-sizeFull{box-sizing:border-box !important;display:block !important;width:100% !important}}.c-Social-headline{border-bottom-width:3px;border-bottom-style:solid;padding:16px}.c-Social-contributor{margin-bottom:20px}.c-Social-icon{text-transform:uppercase}.c-Social--youtube .c-Card-wrapHeadline,.c-Social--youtube .c-Social-headline,.c-Social--youtube .c-Toolbar{border-color:#cd201f}.c-Social--youtube .c-Text{margin-bottom:20px}.c-Social--youtube .c-Social-icon .c-Icon{fill:#cd201f;width:34px;height:34px}.c-Social--twitter .c-Card-wrapHeadline,.c-Social--twitter .c-Social-headline{border-color:#55acee}.c-Social--twitter .c-Text{margin-bottom:10px}.c-Social--twitter .c-Text p{white-space:pre-wrap}.c-Social--twitter .c-Text a{color:#55acee}.c-Social--twitter .c-Timestamp{margin-bottom:20px}.c-Social--twitter .c-Toolbar{border-color:#55acee}.c-Social--twitter .c-Social-icon .c-Icon{fill:#55acee;width:24px;height:24px}.c-Social--instagram .c-Card-wrapHeadline,.c-Social--instagram .c-Social-headline{border-color:#125688}.c-Social--instagram .c-Media .c-Image{width:100%}.c-Social--instagram .c-Text{margin-bottom:10px}.c-Social--instagram .c-Text a{color:#125688}.c-Social--instagram .c-Timestamp{margin-bottom:20px}.c-Social--instagram .c-Contributor-titleSecondary{font-weight:bold;padding-top:12px}.c-Social--instagram .c-Toolbar{border-color:#125688}.c-Social--instagram .c-Social-icon .c-Icon{fill:#125688;width:20px;height:20px}.c-Social--vine .c-Card-wrapHeadline,.c-Social--vine .c-Social-headline{border-color:#00b488}.c-Social--vine .c-Text{margin-bottom:10px}.c-Social--vine .c-Text a{color:#00b488}.c-Social--vine .c-Timestamp{margin-bottom:20px}.c-Social--vine .c-Social-icon .c-Icon{fill:#00b488;width:20px;height:20px}.c-CardsList,.c-CardsList-item{margin:0;padding:0;list-style-type:none}.c-CardsList{margin-left:-8px}@media (min-width: 37.5em){.c-CardsList{margin-left:-16px}}.c-CardsList-item{display:inline-block;padding-left:8px}@media (min-width: 37.5em){.c-CardsList-item{padding-left:16px}}.c-CardsList--grid .c-CardsList-item{width:100%}@media (min-width: 25em) and (orientation: landscape){.c-CardsList--grid .c-CardsList-item{width:50%}}@media (min-width: 37.5em){.c-CardsList--grid .c-CardsList-item{width:50%}}@media (min-width: 56.25em){.c-CardsList--grid .c-CardsList-item{width:33.3333333%}}@media (min-width: 80em){.c-CardsList--grid .c-CardsList-item{width:25%}}.c-CardsList--stream .c-CardsList-item{left:0;margin-left:auto;margin-right:auto;right:0;width:100%}@media (min-width: 43.75em){.c-CardsList--stream .c-CardsList-item{width:80%}}@media (min-width: 56.25em){.c-CardsList--stream .c-CardsList-item{width:66%}}@media (min-width: 80em){.c-CardsList--stream .c-CardsList-item{width:52%}}.c-CardsList{text-align:center}.c-CardsList,.c-CardsList *{box-sizing:border-box}.c-CardsList-item{text-align:left;margin-bottom:12px;vertical-align:top}@media (min-width: 37.5em){.c-CardsList-item{margin-bottom:20px}}.c-Headline>a{color:#252525;z-index:1;position:relative}.c-Card-headline{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem}.c-Article-text{line-height:18px;line-height:1.125rem}.c-Article-text b,.c-Article-text strong{font-weight:bold}.c-Article-text i,.c-Article-text em{font-style:italic}.c-Article-text a{color:#252525}.c-Media-content>img{width:100%}.c-Card--small .c-Card-body{padding:16px}.u-isActionable{cursor:pointer}.c-Brand{border-left:none;padding-left:0}.c-Card--cbbc,.c-Card--stay-safe{box-shadow:0 1px 1px rgba(0,0,0,0.3);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.c-Card--cbeebies{background-color:#FFE513;box-shadow:0 3px 2px rgba(0,0,0,0.3);border-bottom-left-radius:16px;border-bottom-right-radius:16px}.c-Card--cbeebies .c-Card-body{border:2px solid #E4C704;border-top:2px solid #FFF49B;border-bottom-left-radius:16px;border-bottom-right-radius:16px}.rid-load{padding-top:56%}.c-Riddle .c-Card-riddle{display:none}.experiment-in-situ-quizzes .c-Riddle .c-Media{position:absolute;width:100%;z-index:0}.experiment-in-situ-quizzes .c-Riddle .c-Card-riddle{display:block;position:relative;z-index:1}\n\n/*# sourceMappingURL=enhanced.css.map */</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.smp--audio{height:100%} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-smp/2.12.6"]=true; Morph.styleSrc.push("<style>.smp--audio{height:100%}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u4324296886068049 */</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/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts', 'cbeebies': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/cbeebies', 'cbbc': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/cbbc', 'jquery': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/jquery', 'jquery-1': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/jquery/jquery', 'jquery-1.9': 'https://web.archive.org/web/20200219081601/https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1', 'lib': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries', 'bump-3': 'https://web.archive.org/web/20200219081601/https://emp.bbci.co.uk/emp/bump-3/bump-3', 'bump-4': 'https://web.archive.org/web/20200219081601/https://emp.bbci.co.uk/emp/bump-4/bump-4', 'embed': 'https://web.archive.org/web/20200219081601/https://play.bbc.co.uk/play/sdk/embed/v1/latest', 'lib/Imager': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/Imager.min', 'TweenMax': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/gsap/TweenMax.min', 'TimelineMax': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/gsap/TweenMax.min', 'echo-11.2.2': 'https://web.archive.org/web/20200219081601/https://mybbc-analytics.files.bbci.co.uk/echo-client-js/echo-11.2.2.min', 'lib/riddle': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/riddle/embed-3.3.min', 'lib/minpubsub': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/minpubsub.min', 'uasclient': 'https://web.archive.org/web/20200219081601/https://static.bbci.co.uk/uasclient/0.1.40/modules/uasclient', 'activity-button': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/activity-button', 'activity-button/activity-button': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/personalisation/personalisation.min', 'reads': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/reads', 'reads/reads': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/personalisation/personalisation.min', 'reads-carousel': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/reads-carousel', 'reads-carousel/reads-carousel': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/personalisation/personalisation.min', 'angular': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/angular', 'angular/app': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/angular/app.min', 'stats': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/stats', 'stats/riddle-events': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/stats/riddle-events.min', 'stats/stats': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/stats/stats.min', 'confetti': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/confetti', 'confetti/confetti': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/confetti/confetti.min', 'follows-panel': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/follows-panel', 'follows-panel/childrens-follows-panel': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/personalisation/personalisation.min', 'personalisation': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/personalisation', 'domReady': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/libraries/require/domReady.min', 'relay-1': 'https://web.archive.org/web/20200219081601/https://static.bbci.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1', 'jssignals-1': 'https://web.archive.org/web/20200219081601/https://static.bbci.co.uk/frameworks/jssignals/0.3.6/modules/jssignals-1', 'vote-wrapper': 'https://web.archive.org/web/20200219081601/https://account-wrapper.files.bbci.co.uk/vote-wrapper.min', 'event-stream': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/javascripts/event-stream/event-stream.min', 'riddle/auto-scroll': 'https://web.archive.org/web/20200219081601/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/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 () {}); } }; require(['local/utils/config'], function (config) { }); require(["istats-1"], function (istats) { if (istats.setSite !== undefined) { istats.setSite('cbbc'); } istats.addLabels({ "page_type" : "curation", "children_curation" : "cbbc-help", "children_show" : "none", "children_collection" : "cbbc-help" }); }); </script> <script> require(['childrens-mandolin'], function (Mandolin) { //cleanup collection-position test var storage = new Mandolin.Storage('ckpf_childrens_mandolin'); var experimentName = 'childrens_collection_position'; if (storage.getItem(experimentName)) { storage.removeItem(experimentName); } }); </script> <script type="text/javascript"> define('local/utils/experiments', ['childrens-mandolin'], function (Mandolin) { "use strict"; function setupMandolin(experiment, variants, config) { var mandolin = new Mandolin(experiment, variants, config); return mandolin.getSegment(); } function addClasses(wrapper, experiment, variant) { var experimentPrefix = " experiment-"; var experimentClass = experimentPrefix + experiment; wrapper.className += experimentClass + experimentClass + "--" + variant; } function addAttribute(wrapper, experiment, variant) { if (!wrapper.hasAttribute("data-active-experiment")) { var att = document.createAttribute("data-active-experiment"); att.value = experiment + ":" + variant; wrapper.setAttributeNode(att); } } return { setup: function(experiment, variants, config) { var variant = setupMandolin(experiment, variants, config); var wrapper = document.querySelector(".childrens-wrapper"); if (variant) { addClasses(wrapper, experiment, variant); } addAttribute(wrapper, experiment, variant); return variant; } } }); </script> </head> <body class="b-pw-1280"> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20200219081601im_/https://a1.api.bbc.co.uk/hit.xiti?&col=1&from=p&ptag=js&s=598253&p=unknown&x1=[urn:bbc:isite2:d6da69b0-eedc-4652-b8d7-b93e8b46e4a5]&x2=[responsive]&x3=[bbc_website]&x4=[en]&x7=[list-curated]&x8=[reverb-1.3.0-nojs]&x11=[cbbc]&x12=[cbbc]" height="1" width="1" alt=""></p></noscript> <!-- BBCDOTCOM bodyFirst --><div id="bbccom_interstitial_ad" class="bbccom_display_none"></div><div id="bbccom_interstitial" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { googletag.cmd.push(function() { googletag.display('bbccom_interstitial'); }); } }()); /*]]>*/</script></div><div id="bbccom_wallpaper_ad" class="bbccom_display_none"></div><div id="bbccom_wallpaper" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { var wallpaper; if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { if (bbcdotcom.config.isAsync()) { googletag.cmd.push(function() { googletag.display('bbccom_wallpaper'); }); } else if (typeof googletag !== "undefined" && typeof googletag.display === "function") { googletag.display("wallpaper"); } wallpaper = bbcdotcom.adverts.adRegister.getAd('wallpaper'); } }()); /*]]>*/</script></div><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isActive('analytics')) { document.write(unescape('%3Cscript id="gnlAnalyticsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } }()); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyFirst = true; }()); /*]]>*/</script> <div id="cookiePrompt"></div> <!--[if (gt IE 8) | (IEMobile)]><!--><header id="orb-banner" role="banner" aria-label="BBC"><!--<![endif]--><!--[if (lt IE 9) & (!IEMobile)]> <![if (IE 8)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie8" aria-label="BBC"> <![endif]> <![if (IE 7)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie7" aria-label="BBC"> <![endif]> <![if (IE 6)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie6" aria-label="BBC"> <![endif]> <![endif]--><div id="orb-header" class="orb-nav-pri orb-nav-pri-white orb-nav-empty" dir="ltr"><div class="orb-nav-pri-container b-r b-g-p"><div class="orb-nav-section orb-nav-blocks"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#main-content">Skip to content</a></li><li><a id="orb-accessibility-help" href="/web/20200219081601/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="{"id-cta-type": "statusbar-orb"}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://web.archive.org/web/20200219081601/https://account.bbc.com/account?context=cbbc&ptrt=https://www.bbc.co.uk/cbbc/curations/cbbc-help"><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/20200219081601/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20200219081601/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/20200219081601/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/20200219081601/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/20200219081601/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" id="orb-search-scope" value="cbbc"><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" name="q" placeholder="Search"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form></div></div><div id="orb-panels"></div></div></header> <!-- Styling hook for shared modules only --> <div id="orb-modules"> <div id="unsupported-browser-banner-wrapper"> <!--[if lt IE 10]> <div class="unsupported-browser-banner" role="complementary"> <div class="unsupported-browser-banner__window"> <div class="grid__container"> <div class="grid__item"> <img class="unsupported-browser-banner__icon" aria-hidden="true" alt="" src="https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/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--curation childrens-wrapper--unknown 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="curation" data-stats-children-curation="cbbc-help" data-stats-children-show="none" data-stats-children-collection="cbbc-help"> <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/20200219081601/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/20200219081601im_/https://www.bbc.co.uk/cbbc/curations/cbbc-help#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/20200219081601/https://www.bbc.co.uk/cbbc" data-stats-interaction="navigation" data-stats-interaction-variant="home" data-bbc-container="Navigation" data-bbc-metadata="{"PAR":"navigation","CHD":"home::1"}" 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/20200219081601im_/https://www.bbc.co.uk/cbbc/curations/cbbc-help#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/20200219081601/https://www.bbc.co.uk/cbbc/shows" data-stats-interaction="navigation" data-stats-interaction-variant="shows" data-bbc-container="Navigation" data-bbc-metadata="{"PAR":"navigation","CHD":"shows::2"}" 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/20200219081601/https://www.bbc.co.uk/cbbc/games" data-stats-interaction="navigation" data-stats-interaction-variant="games" data-bbc-container="Navigation" data-bbc-metadata="{"PAR":"navigation","CHD":"games::3"}" 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/20200219081601/https://www.bbc.co.uk/cbbc/quizzes" data-stats-interaction="navigation" data-stats-interaction-variant="quizzes" data-bbc-container="Navigation" data-bbc-metadata="{"PAR":"navigation","CHD":"quizzes::4"}" 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/20200219081601/https://www.bbc.co.uk/cbbc/watch" data-stats-interaction="navigation" data-stats-interaction-variant="watch" data-bbc-container="Navigation" data-bbc-metadata="{"PAR":"navigation","CHD":"watch::5"}" 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/20200219081601/https://www.bbc.co.uk/cbbc/joinin" data-stats-interaction="navigation" data-stats-interaction-variant="joinin" data-bbc-container="Navigation" data-bbc-metadata="{"PAR":"navigation","CHD":"joinin::6"}" 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"> <a class="menu__link" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/puzzles" data-stats-interaction="navigation" data-stats-interaction-variant="puzzles" data-bbc-container="Navigation" data-bbc-metadata="{"PAR":"navigation","CHD":"puzzles::7"}" 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/20200219081601/https://www.bbc.co.uk/newsround" data-stats-interaction="navigation" data-stats-interaction-variant="newsround" data-bbc-container="Navigation" data-bbc-metadata="{"PAR":"navigation","CHD":"newsround::8"}" 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/20200219081601/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/20200219081601/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="page-hero page-hero--curation"> <div class="page-hero__inner window"><!-- --> <div class="page-hero__characters"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20200219081601/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/cbbc-help_onward_journey_image_bid.png"></span> <noscript> <img src="https://web.archive.org/web/20200219081601im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/cbbc-help_onward_journey_image_bid.png" alt=""/> </noscript> </span> </div><!-- --><div class="page-hero__logo"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20200219081601/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/cbbc_help_logo.png"></span> <noscript> <img src="https://web.archive.org/web/20200219081601im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/cbbc_help_logo.png" alt=""/> </noscript> </span> </div><!-- --></div> </div> <h1 class="vh" id="main-content">CBBC Help</h1> <div class="curation-page" role="main" itemscope> <div class="window grid-container"> <div class="programme-info"> <div class="programme-info__details programme-info__details--no-availability "> <div class="programme-info__text-container"> <h2 class="programme-info__title">CBBC Help</h2> <p class="programme-info__description">This is the place to get help and to answer your questions: all the tips and tricks about how the CBBC website works, information about our TV Shows, apps and more.</p> <div class="programme-info__notice"> <p class="privacy-notice"> We collect information on how quizzes are used so we can make them even better. <a href="/web/20200219081601/https://www.bbc.co.uk/cbbc/findoutmore/riddle-quizzes-privacy">Find out more</a> </p> </div> </div> </div><!-- --><div class="programme-info__availability"> </div><!-- --></div> </div> <div class="window window--extra-wide grid-container"> <div id="cards-list-container" class="curation-page__content curation-page__supported-browser"><div id="u4324296886068049"><div data-reactid=".ntij03f1r0" data-react-checksum="-1797185823"><ol class="c-CardsList c-CardsList--stream" data-reactid=".ntij03f1r0.0"><li class="c-CardsList-item" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0"><div class="c-Card--cbbc c-Promo c-Card c-Card--small" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0"><div class="u-posRelative u-isActionable" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0.0"><div class="c-Media" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0.0.0"><div class="c-Media-content" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0.0.0.0"><img src="https://web.archive.org/web/20200219081601im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/480xn/amz/cbbc/cbbc-help-2_1024x576.jpg" alt="" class="c-Image" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0.0.0.0.0"/></div></div><div class="c-Card-body" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0.0.1"><h2 class="c-Card-headline c-Headline " data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0.0.1.0"><a class="c-Headline-link u-inlineBlock c-Link" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/findoutmore/web-help-general-web-faqs?collection=cbbc-help" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0.0.1.0.0">Website Help</a></h2></div><a class="c-OnwardJourneyLink u-posAbsoluteCenter" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/findoutmore/web-help-general-web-faqs?collection=cbbc-help" tabindex="-1" aria-hidden="true" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-general-web-faqs-0.0.0.2"></a></div></div></li><li class="c-CardsList-item" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1"><div class="c-Card--cbbc c-Promo c-Card c-Card--small" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0"><div class="u-posRelative u-isActionable" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0.0"><div class="c-Media" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0.0.0"><div class="c-Media-content" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0.0.0.0"><img src="https://web.archive.org/web/20200219081601im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/480xn/amz/cbbc/cbbc-help-2_1024x576.jpg" alt="" class="c-Image" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0.0.0.0.0"/></div></div><div class="c-Card-body" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0.0.1"><h2 class="c-Card-headline c-Headline " data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0.0.1.0"><a class="c-Headline-link u-inlineBlock c-Link" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/findoutmore/web-help-technical-faqs?collection=cbbc-help" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0.0.1.0.0">Technical Help</a></h2></div><a class="c-OnwardJourneyLink u-posAbsoluteCenter" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/findoutmore/web-help-technical-faqs?collection=cbbc-help" tabindex="-1" aria-hidden="true" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-web-help-technical-faqs-1.0.0.2"></a></div></div></li><li class="c-CardsList-item" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2"><div class="c-Card--cbbc c-Promo c-Card c-Card--small" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0"><div class="u-posRelative u-isActionable" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0.0"><div class="c-Media" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0.0.0"><div class="c-Media-content" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0.0.0.0"><img src="https://web.archive.org/web/20200219081601im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-ck/480xn/amz/cbbc/cbbc-help-2_1024x576.jpg" alt="" class="c-Image" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0.0.0.0.0"/></div></div><div class="c-Card-body" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0.0.1"><h2 class="c-Card-headline c-Headline " data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0.0.1.0"><a class="c-Headline-link u-inlineBlock c-Link" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/findoutmore/contact-cbbc?collection=cbbc-help" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0.0.1.0.0">Contact CBBC</a></h2></div><a class="c-OnwardJourneyLink u-posAbsoluteCenter" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/findoutmore/contact-cbbc?collection=cbbc-help" tabindex="-1" aria-hidden="true" data-reactid=".ntij03f1r0.0.$urn=2bbc=2cbbc=2content-contact-cbbc-2.0.0.2"></a></div></div></li></ol></div></div></div> <noscript> <div class="curation-page__no-js-messaging 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/20200219081601/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 class="unsupported-browser-messaging curation-page__unsupported-browser-messaging"> <h2 class="unsupported-browser-messaging__title">Oops you can't see this activity!</h2> <p class="unsupported-browser-messaging__text">To enjoy this content you need to update your browser to the latest version.</p> <a href="/web/20200219081601/https://www.bbc.co.uk/cbbc/findoutmore/how-to-upgrade-your-browser" class="unsupported-browser-messaging__link"> Find out how to update your browser <span class="gel-icon gelicon--next"></span> </a> </div> </div> </div> <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/20200219081601/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/20200219081601/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/20200219081601im_/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/20200219081601/https://www.bbc.co.uk/cbbc/shows/the-dumping-ground" 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/20200219081601/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/the_dumping_ground_s8a_shows_index.png" data-alt="A boy and girl standing together smiling, Tyler and Jody from Series 8 of The Dumping Ground."></span> <noscript> <img src="https://web.archive.org/web/20200219081601im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/the_dumping_ground_s8a_shows_index.png" alt="A boy and girl standing together smiling, Tyler and Jody from Series 8 of The Dumping Ground."/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/shows/saturday-mash-up" 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/20200219081601/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/BSP_a_z_index_template_SMU_S3_1.png"></span> <noscript> <img src="https://web.archive.org/web/20200219081601im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/BSP_a_z_index_template_SMU_S3_1.png" alt=""/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20200219081601/https://www.bbc.co.uk/cbbc/shows/horrible-histories" 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/20200219081601/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/20200219081601im_/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/20200219081601/https://www.bbc.co.uk/cbbc/shows/danger-mouse" 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/20200219081601/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/20200219081601im_/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/20200219081601/https://www.bbc.co.uk/cbbc/shows/blue-peter" 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/20200219081601/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/BP-Shows-Brand-Shelf-2019-V2.png" data-alt="The Blue Peter team: Lindsey, Henry and Richie."></span> <noscript> <img src="https://web.archive.org/web/20200219081601im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/BP-Shows-Brand-Shelf-2019-V2.png" alt="The Blue Peter team: Lindsey, Henry and Richie."/> </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/20200219081601/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/20200219081601/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/20200219081601im_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/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/20200219081601/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/20200219081601/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/20200219081601im_/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/20200219081601/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/20200219081601/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/20200219081601im_/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/20200219081601/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/20200219081601/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/20200219081601im_/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/20200219081601/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/20200219081601/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/20200219081601im_/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鈥檒l 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'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'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/20200219081601im_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/eb9931f/images/feedback/feedbackImage.png" alt=""/> </div> </div> </div> </section> </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-promise@1.0.6"]={"es6-promise":"3.2.1"},function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){Morph.modules["bbc-morph-promise@1.0.6"]=e(1)},function(t,n,e){var r=e(2).Promise;t.exports=r},function(t,n,e){var r;(function(t,o,i){(function(){"use strict";function s(t){return"function"==typeof t||"object"==typeof t&&null!==t}function u(t){return"function"==typeof t}function c(t){V=t}function a(t){tt=t}function f(){return function(){t.nextTick(v)}}function l(){return function(){R(v)}}function h(){var t=0,n=new rt(v),e=document.createTextNode("");return n.observe(e,{characterData:!0}),function(){e.data=t=++t%2}}function p(){var t=new MessageChannel;return t.port1.onmessage=v,function(){t.port2.postMessage(0)}}function d(){return function(){setTimeout(v,1)}}function v(){for(var t=0;t<$;t+=2){var n=st[t],e=st[t+1];n(e),st[t]=void 0,st[t+1]=void 0}$=0}function _(){try{var t=e(5);return R=t.runOnLoop||t.runOnContext,l()}catch(t){return d()}}function y(t,n){var e=this,r=new this.constructor(w);void 0===r[at]&&N(r);var o=e._state;if(o){var i=arguments[o-1];tt(function(){F(o,r,i,e._result)})}else C(e,r,t,n);return r}function m(t){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var e=new n(w);return j(e,t),e}function w(){}function b(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function A(t){try{return t.then}catch(t){return pt.error=t,pt}}function x(t,n,e,r){try{t.call(n,e,r)}catch(t){return t}}function E(t,n,e){tt(function(t){var r=!1,o=x(e,n,function(e){r||(r=!0,n!==e?j(t,e):M(t,e))},function(n){r||(r=!0,k(t,n))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,k(t,o))},t)}function T(t,n){n._state===lt?M(t,n._result):n._state===ht?k(t,n._result):C(n,void 0,function(n){j(t,n)},function(n){k(t,n)})}function S(t,n,e){n.constructor===t.constructor&&e===ut&&constructor.resolve===ct?T(t,n):e===pt?k(t,pt.error):void 0===e?M(t,n):u(e)?E(t,n,e):M(t,n)}function j(t,n){t===n?k(t,b()):s(n)?S(t,n,A(n)):M(t,n)}function P(t){t._onerror&&t._onerror(t._result),O(t)}function M(t,n){t._state===ft&&(t._result=n,t._state=lt,0!==t._subscribers.length&&tt(O,t))}function k(t,n){t._state===ft&&(t._state=ht,t._result=n,tt(P,t))}function C(t,n,e,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=n,o[i+lt]=e,o[i+ht]=r,0===i&&t._state&&tt(O,t)}function O(t){var n=t._subscribers,e=t._state;if(0!==n.length){for(var r,o,i=t._result,s=0;s<n.length;s+=3)r=n[s],o=n[s+e],r?F(e,r,o,i):o(i);t._subscribers.length=0}}function L(){this.error=null}function Y(t,n){try{return t(n)}catch(t){return dt.error=t,dt}}function F(t,n,e,r){var o,i,s,c,a=u(e);if(a){if(o=Y(e,r),o===dt?(c=!0,i=o.error,o=null):s=!0,n===o)return void k(n,g())}else o=r,s=!0;n._state!==ft||(a&&s?j(n,o):c?k(n,i):t===lt?M(n,o):t===ht&&k(n,o))}function D(t,n){try{n(function(n){j(t,n)},function(n){k(t,n)})}catch(n){k(t,n)}}function K(){return vt++}function N(t){t[at]=vt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function U(t){return new bt(this,t).promise}function W(t){var n=this;return new n(Z(t)?function(e,r){for(var o=t.length,i=0;i<o;i++)n.resolve(t[i]).then(e,r)}:function(t,n){n(new TypeError("You must pass an array to race."))})}function q(t){var n=this,e=new n(w);return k(e,t),e}function z(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function B(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function G(t){this[at]=K(),this._result=this._state=void 0,this._subscribers=[],w!==t&&("function"!=typeof t&&z(),this instanceof G?D(this,t):B())}function H(t,n){this._instanceConstructor=t,this.promise=new t(w),this.promise[at]||N(this.promise),Z(n)?(this._input=n,this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&M(this.promise,this._result))):k(this.promise,I())}function I(){return new Error("Array Methods must be provided an Array")}function J(){var t;if("undefined"!=typeof o)t=o;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;n&&"[object Promise]"===Object.prototype.toString.call(n.resolve())&&!n.cast||(t.Promise=wt)}var Q;Q=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var R,V,X,Z=Q,$=0,tt=function(t,n){st[$]=t,st[$+1]=n,$+=2,2===$&&(V?V(v):X())},nt="undefined"!=typeof window?window:void 0,et=nt||{},rt=et.MutationObserver||et.WebKitMutationObserver,ot="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),it="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,st=new Array(1e3);X=ot?f():rt?h():it?p():void 0===nt?_():d();var ut=y,ct=m,at=Math.random().toString(36).substring(16),ft=void 0,lt=1,ht=2,pt=new L,dt=new L,vt=0,_t=U,yt=W,mt=q,wt=G;G.all=_t,G.race=yt,G.resolve=ct,G.reject=mt,G._setScheduler=c,G._setAsap=a,G._asap=tt,G.prototype={constructor:G,then:ut,catch:function(t){return this.then(null,t)}};var bt=H;H.prototype._enumerate=function(){for(var t=this.length,n=this._input,e=0;this._state===ft&&e<t;e++)this._eachEntry(n[e],e)},H.prototype._eachEntry=function(t,n){var e=this._instanceConstructor,r=e.resolve;if(r===ct){var o=A(t);if(o===ut&&t._state!==ft)this._settledAt(t._state,n,t._result);else if("function"!=typeof o)this._remaining--,this._result[n]=t;else if(e===wt){var i=new e(w);S(i,t,o),this._willSettleAt(i,n)}else this._willSettleAt(new e(function(n){n(t)}),n)}else this._willSettleAt(r(t),n)},H.prototype._settledAt=function(t,n,e){var r=this.promise;r._state===ft&&(this._remaining--,t===ht?k(r,e):this._result[n]=e),0===this._remaining&&M(r,this._result)},H.prototype._willSettleAt=function(t,n){var e=this;C(t,void 0,function(t){e._settledAt(lt,n,t)},function(t){e._settledAt(ht,n,t)})};var gt=J,At={Promise:wt,polyfill:gt};e(6).amd?(r=function(){return At}.call(n,e,n,i),!(void 0!==r&&(i.exports=r))):"undefined"!=typeof i&&i.exports?i.exports=At:"undefined"!=typeof this&&(this.ES6Promise=At),gt()}).call(this)}).call(n,e(3),function(){return this}(),e(4)(t))},function(t,n){function e(){l&&a&&(l=!1,a.length?f=a.concat(f):h=-1,f.length&&r())}function r(){if(!l){var t=s(e);l=!0;for(var n=f.length;n;){for(a=f,f=[];++h<n;)a&&a[h].run();h=-1,n=f.length}a=null,l=!1,u(t)}}function o(t,n){this.fun=t,this.array=n}function i(){}var s,u,c=t.exports={};!function(){try{s=setTimeout}catch(t){s=function(){throw new Error("setTimeout is not defined")}}try{u=clearTimeout}catch(t){u=function(){throw new Error("clearTimeout is not defined")}}}();var a,f=[],l=!1,h=-1;c.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];f.push(new o(t,n)),1!==f.length||l||s(r,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=i,c.addListener=i,c.once=i,c.off=i,c.removeListener=i,c.removeAllListeners=i,c.emit=i,c.binding=function(t){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(t){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n){},function(t,n){t.exports=function(){throw new Error("define cannot be used indirect")}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-istats@1.3.0"]={"bbc-morph-promise":"1.0.6",requirejs:"2.3.5"},function(n){function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{},id:e,loaded:!1};return n[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var t={};return r.m=n,r.c=t,r.p="",r(0)}([function(n,r,t){Morph.modules["bbc-morph-istats@1.3.0"]=t(1)},function(n,r,t){function e(){return p?a.resolve(p):new a(function(n){requirejs(["istats-1"],function(r){p=r,n(p)})})}function o(n){return"string"==typeof n&&n[0]}function u(n,r){return o(n)&&o(r)}function i(n,r,t){return e().then(function(e){e.log(n,r,t)})}function c(n,r){return e().then(function(t){t.track(n,r)})}function s(n,r,t){return u(n,r)?i(r,n,t):a.reject("Invalid parameters")}function f(){return e().then(function(n){return n.getCountername()})}var p,a=t(2);r.track=s,r.trackRegion=c,r.getCountername=f,r.log=i},function(n,r){n.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bump@1.0.2"]={"bbc-morph-promise":"1.0.6"},function(r){function o(e){if(n[e])return n[e].exports;var t=n[e]={exports:{},id:e,loaded:!1};return r[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}var n={};return o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-bump@1.0.2"]=n(1)},function(r,o,n){function e(){return new p(function(r){requirejs(["bump-3"],function(o){u=o,r(u)})})}function t(){return u?p.resolve(u):e()}var u,p=n(2);o.load=t},function(r,o){r.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-smp@2.12.6"]={"bbc-morph-bump":"1.0.2","bbc-morph-classnames":"1.0.1","bbc-morph-istats":"1.3.0","bbc-morph-promise":"1.0.6",lodash:"4.17.5",morph:"3.10.0",react:"0.14.7","react-dom":"0.14.7",requirejs:"2.3.5"},function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){Morph.modules["bbc-morph-smp@2.12.6"]=e(1)},function(t,n,e){function r(){var t;if(document&&document.cookie&&(t=document.cookie.match(/ckps_morph_smp_mediator_host=([a-z]{3,4})/i)))return t[1]}function o(t){var n=r(),e="live";return n&&(e=n),t.mediator&&t.mediator.host?t.mediator.host:"open."+e+".bbc.co.uk"}function i(t){return void 0===t||t}function a(t){return void 0!==t&&t}function u(t){return"false"!==t&&!!t}function c(t){var n;return t.playlistObject?t.playlistObject:(n={title:t.title,holdingImageURL:t.holdingImageUrl,items:[{vpid:t.vpid,kind:t.mediaType}]},t.guidance&&t.guidance.trim().length&&(n.guidance=t.guidance),n)}function s(t){return"clip"===t||"episode"===t?t+"PID":"PID"}function p(t){var n={playlistLabels:{title:t.title,status:t.status}},e=s(t.mediaForm);return n[e]=t.parentPid,"undefined"!=typeof t.sessionLabels&&(n.sessionLabels=t.sessionLabels),n}function f(t,n,e){return{product:t.product,delayEmbed:t.delayEmbed,appName:t.appName,appType:t.appType,playlistObject:c(e),statsObject:p(t),counterName:n,mediator:{host:o(t)},ui:d(t),responsive:t.responsive,superResponsive:t.superResponsive,autoplay:t.autoplay,mediaProfile:t.mediaProfile,allowCasting:t.allowCasting,plugins:{toLoad:t.plugins},significantTime:t.significantTime||10,preferHtmlOnMobile:t.preferHtmlOnMobile,preferHtmlControls:t.preferHtmlControls}}function l(t){return{cta:{enabled:!0,backgroundColour:"#000000"},controls:{availableOnMediaEnded:t.availableOnMediaEnded},markers:{enabled:!1},fullscreen:{enabled:!0},poster:{enabled:!0}}}function d(t){var n=l(t);return b(n,t.ui),n}function v(t){return{title:t.title||"",holdingImageUrl:t.holdingImageUrl,vpid:t.sid||t.vpid,guidance:t.guidance,status:"string"==typeof t.status?t.status.toLowerCase():"",mediaForm:"string"==typeof t.mediaForm?t.mediaForm.toLowerCase():"",parentPid:t.parentPid,product:t.product||"news",delayEmbed:i(t.delayEmbed),appName:t.appName||t.product,appType:t.appType||"responsive",availableOnMediaEnded:t.controlsAvailableOnMediaEnded!==!1,responsive:a(t.responsive),superResponsive:i(t.superResponsive),autoplay:t.autoplay||!1,mediaProfile:t.mediaProfile||"journalism",mediaType:t.mediaType,sessionLabels:t.sessionLabels,allowCasting:u(t.allowCasting)||!1,plugins:t.plugins||[],playlistObject:t.playlistObject,ui:t.ui||{},mediator:t.mediator,significantTime:t.significantTime,preferHtmlOnMobile:t.preferHtmlOnMobile||!1,preferHtmlControls:t.preferHtmlControls}}e(2);var h=e(3),y=e(4),b=e(5),m=e(102),x=e(103);t.exports=h.createClass({displayName:"Smp",componentWillReceiveProps:function(t){var t=v(t);this.setState({title:t.title,holdingImageUrl:t.holdingImageUrl,vpid:t.vpid,mediaType:t.mediaType,guidance:t.guidance,playlistObject:t.playlistObject})},shouldComponentUpdate:function(t,n){function e(t){return t.vpid!==n.vpid}function r(t){return JSON.stringify(t.playlistObject)!==JSON.stringify(n.playlistObject)}return this.state&&(e(this.state)||r(this.state))},componentWillUpdate:function(t,n){if(this.player){var e={autoplay:!0,statsObject:p(t)};this.player.loadPlaylist(c(n),e)}},componentDidMount:function(){var t=v(this.props);this.setState({title:t.title,holdingImageUrl:t.holdingImageUrl,vpid:t.vpid,mediaType:t.mediaType,guidance:t.guidance,playlistObject:t.playlistObject}),x.load().then(function(n){m.getCountername().then(function(e){var r=n(y.findDOMNode(this)),o=f(t,e,this.state),i=r.player(o);this.player=i,this.player.bind("initialised",function(){this.props.onPlayerLoaded&&this.props.onPlayerLoaded(this.player)}.bind(this)),this.player.bind("playing",function(){this.props.onPlaying&&this.props.onPlaying(this.player)}.bind(this)),this.player.bind("pause",function(){this.props.onPause&&this.props.onPause(this.player)}.bind(this)),this.player.bind("error",function(t){this.props.onError&&this.props.onError(this.player,t)}.bind(this)),this.player.bind("playlistEnded",function(){this.props.onPlaylistEnded&&this.props.onPlaylistEnded(this.player)}.bind(this)),this.player.load()}.bind(this))}.bind(this))},playerInstance:function(){return this.player},render:function(){return h.createElement("div",{className:"smp"})}})},function(t,n){t.exports=Morph.modules["bbc-morph-promise@1.0.6"]},function(t,n){t.exports=React},function(t,n){t.exports=ReactDOM},function(t,n,e){var r=e(6),o=e(92),i=o(function(t,n,e){r(t,n,e)});t.exports=i},function(t,n,e){function r(t,n,e,f,l){t!==n&&a(n,function(a,s){if(c(a))l||(l=new o),u(t,n,s,e,r,f,l);else{var d=f?f(p(t,s),a,s+"",t,n,l):void 0;void 0===d&&(d=a),i(t,s,d)}},s)}var o=e(7),i=e(51),a=e(54),u=e(56),c=e(31),s=e(86),p=e(82);t.exports=r},function(t,n,e){function r(t){var n=this.__data__=new o(t);this.size=n.size}var o=e(8),i=e(16),a=e(17),u=e(18),c=e(19),s=e(20);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=c,r.prototype.set=s,t.exports=r},function(t,n,e){function r(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}var o=e(9),i=e(10),a=e(13),u=e(14),c=e(15);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,n){function e(){this.__data__=[],this.size=0}t.exports=e},function(t,n,e){function r(t){var n=this.__data__,e=o(n,t);if(e<0)return!1;var r=n.length-1;return e==r?n.pop():a.call(n,e,1),--this.size,!0}var o=e(11),i=Array.prototype,a=i.splice;t.exports=r},function(t,n,e){function r(t,n){for(var e=t.length;e--;)if(o(t[e][0],n))return e;return-1}var o=e(12);t.exports=r},function(t,n){function e(t,n){return t===n||t!==t&&n!==n}t.exports=e},function(t,n,e){function r(t){var n=this.__data__,e=o(n,t);return e<0?void 0:n[e][1]}var o=e(11);t.exports=r},function(t,n,e){function r(t){return o(this.__data__,t)>-1}var o=e(11);t.exports=r},function(t,n,e){function r(t,n){var e=this.__data__,r=o(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}var o=e(11);t.exports=r},function(t,n,e){function r(){this.__data__=new o,this.size=0}var o=e(8);t.exports=r},function(t,n){function e(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}t.exports=e},function(t,n){function e(t){return this.__data__.get(t)}t.exports=e},function(t,n){function e(t){return this.__data__.has(t)}t.exports=e},function(t,n,e){function r(t,n){var e=this.__data__;if(e instanceof o){var r=e.__data__;if(!i||r.length<u-1)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new a(r)}return e.set(t,n),this.size=e.size,this}var o=e(8),i=e(21),a=e(36),u=200;t.exports=r},function(t,n,e){var r=e(22),o=e(27),i=r(o,"Map");t.exports=i},function(t,n,e){function r(t,n){var e=i(t,n);return o(e)?e:void 0}var o=e(23),i=e(35);t.exports=r},function(t,n,e){function r(t){if(!a(t)||i(t))return!1;var n=o(t)?v:s;return n.test(u(t))}var o=e(24),i=e(32),a=e(31),u=e(34),c=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,p=Function.prototype,f=Object.prototype,l=p.toString,d=f.hasOwnProperty,v=RegExp("^"+l.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,n,e){function r(t){if(!i(t))return!1;var n=o(t);return n==u||n==c||n==a||n==s}var o=e(25),i=e(31),a="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";t.exports=r},function(t,n,e){function r(t){return null==t?void 0===t?c:u:s&&s in Object(t)?i(t):a(t)}var o=e(26),i=e(29),a=e(30),u="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;t.exports=r},function(t,n,e){var r=e(27),o=r.Symbol;t.exports=o},function(t,n,e){var r=e(28),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,n){(function(n){var e="object"==typeof n&&n&&n.Object===Object&&n;t.exports=e}).call(n,function(){return this}())},function(t,n,e){function r(t){var n=a.call(t,c),e=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(n?t[c]=e:delete t[c]),o}var o=e(26),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,n){function e(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=e},function(t,n){function e(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=e},function(t,n,e){function r(t){return!!i&&i in t}var o=e(33),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,n,e){var r=e(27),o=r["__core-js_shared__"];t.exports=o},function(t,n){function e(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=e},function(t,n){function e(t,n){return null==t?void 0:t[n]}t.exports=e},function(t,n,e){function r(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}var o=e(37),i=e(45),a=e(48),u=e(49),c=e(50);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,n,e){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=e(38),i=e(8),a=e(21);t.exports=r},function(t,n,e){function r(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}var o=e(39),i=e(41),a=e(42),u=e(43),c=e(44);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,n,e){function r(){this.__data__=o?o(null):{},this.size=0}var o=e(40);t.exports=r},function(t,n,e){var r=e(22),o=r(Object,"create");t.exports=o},function(t,n){function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}t.exports=e},function(t,n,e){function r(t){var n=this.__data__;if(o){var e=n[t];return e===i?void 0:e}return u.call(n,t)?n[t]:void 0}var o=e(40),i="__lodash_hash_undefined__",a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,n,e){function r(t){var n=this.__data__;return o?void 0!==n[t]:a.call(n,t)}var o=e(40),i=Object.prototype,a=i.hasOwnProperty;t.exports=r},function(t,n,e){function r(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=o&&void 0===n?i:n,this}var o=e(40),i="__lodash_hash_undefined__";t.exports=r},function(t,n,e){function r(t){var n=o(this,t).delete(t);return this.size-=n?1:0,n}var o=e(46);t.exports=r},function(t,n,e){function r(t,n){var e=t.__data__;return o(n)?e["string"==typeof n?"string":"hash"]:e.map}var o=e(47);t.exports=r},function(t,n){function e(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=e},function(t,n,e){function r(t){return o(this,t).get(t)}var o=e(46);t.exports=r},function(t,n,e){function r(t){return o(this,t).has(t)}var o=e(46);t.exports=r},function(t,n,e){function r(t,n){var e=o(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this}var o=e(46);t.exports=r},function(t,n,e){function r(t,n,e){(void 0===e||i(t[n],e))&&(void 0!==e||n in t)||o(t,n,e)}var o=e(52),i=e(12);t.exports=r},function(t,n,e){function r(t,n,e){"__proto__"==n&&o?o(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}var o=e(53);t.exports=r},function(t,n,e){var r=e(22),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,e){var r=e(55),o=r();t.exports=o},function(t,n){function e(t){return function(n,e,r){for(var o=-1,i=Object(n),a=r(n),u=a.length;u--;){var c=a[t?u:++o];if(e(i[c],c,i)===!1)break}return n}}t.exports=e},function(t,n,e){function r(t,n,e,r,x,_,g){var j=b(t,e),O=b(n,e),w=g.get(O);if(w)return void o(t,e,w);var P=_?_(j,O,e+"",t,n,g):void 0,T=void 0===P;if(T){var A=p(O),z=!A&&l(O),M=!A&&!z&&y(O);P=O,A||z||M?p(j)?P=j:f(j)?P=u(j):z?(T=!1,P=i(O,!0)):M?(T=!1,P=a(O,!0)):P=[]:h(O)||s(O)?(P=j,s(j)?P=m(j):(!v(j)||r&&d(j))&&(P=c(O))):T=!1}T&&(g.set(O,P),x(P,O,r,_,g),g.delete(O)),o(t,e,P)}var o=e(51),i=e(57),a=e(59),u=e(62),c=e(63),s=e(68),p=e(71),f=e(72),l=e(75),d=e(24),v=e(31),h=e(77),y=e(78),b=e(82),m=e(83);t.exports=r},function(t,n,e){(function(t){function r(t,n){if(n)return t.slice();var e=t.length,r=s?s(e):new t.constructor(e);return t.copy(r),r}var o=e(27),i="object"==typeof n&&n&&!n.nodeType&&n,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,c=u?o.Buffer:void 0,s=c?c.allocUnsafe:void 0;t.exports=r}).call(n,e(58)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n,e){function r(t,n){var e=n?o(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}var o=e(60);t.exports=r},function(t,n,e){function r(t){var n=new t.constructor(t.byteLength);return new o(n).set(new o(t)),n}var o=e(61);t.exports=r},function(t,n,e){var r=e(27),o=r.Uint8Array;t.exports=o},function(t,n){function e(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e<r;)n[e]=t[e];return n}t.exports=e},function(t,n,e){function r(t){return"function"!=typeof t.constructor||a(t)?{}:o(i(t))}var o=e(64),i=e(65),a=e(67);t.exports=r},function(t,n,e){var r=e(31),o=Object.create,i=function(){function t(){}return function(n){if(!r(n))return{};if(o)return o(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();t.exports=i},function(t,n,e){var r=e(66),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,n){function e(t,n){return function(e){return t(n(e))}}t.exports=e},function(t,n){function e(t){var n=t&&t.constructor,e="function"==typeof n&&n.prototype||r;return t===e}var r=Object.prototype;t.exports=e},function(t,n,e){var r=e(69),o=e(70),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=c},function(t,n,e){function r(t){return i(t)&&o(t)==a}var o=e(25),i=e(70),a="[object Arguments]";t.exports=r},function(t,n){function e(t){return null!=t&&"object"==typeof t}t.exports=e},function(t,n){var e=Array.isArray;t.exports=e},function(t,n,e){function r(t){return i(t)&&o(t)}var o=e(73),i=e(70);t.exports=r},function(t,n,e){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=e(24),i=e(74);t.exports=r},function(t,n){function e(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=e},function(t,n,e){(function(t){var r=e(27),o=e(76),i="object"==typeof n&&n&&!n.nodeType&&n,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,c=u?r.Buffer:void 0,s=c?c.isBuffer:void 0,p=s||o;t.exports=p}).call(n,e(58)(t))},function(t,n){function e(){return!1}t.exports=e},function(t,n,e){function r(t){if(!a(t)||o(t)!=u)return!1;var n=i(t);if(null===n)return!0;var e=f.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&p.call(e)==l}var o=e(25),i=e(65),a=e(70),u="[object Object]",c=Function.prototype,s=Object.prototype,p=c.toString,f=s.hasOwnProperty,l=p.call(Object);t.exports=r},function(t,n,e){var r=e(79),o=e(80),i=e(81),a=i&&i.isTypedArray,u=a?o(a):r;t.exports=u},function(t,n,e){function r(t){return a(t)&&i(t.length)&&!!S[o(t)]}var o=e(25),i=e(74),a=e(70),u="[object Arguments]",c="[object Array]",s="[object Boolean]",p="[object Date]",f="[object Error]",l="[object Function]",d="[object Map]",v="[object Number]",h="[object Object]",y="[object RegExp]",b="[object Set]",m="[object String]",x="[object WeakMap]",_="[object ArrayBuffer]",g="[object DataView]",j="[object Float32Array]",O="[object Float64Array]",w="[object Int8Array]",P="[object Int16Array]",T="[object Int32Array]",A="[object Uint8Array]",z="[object Uint8ClampedArray]",M="[object Uint16Array]",E="[object Uint32Array]",S={};S[j]=S[O]=S[w]=S[P]=S[T]=S[A]=S[z]=S[M]=S[E]=!0,S[u]=S[c]=S[_]=S[s]=S[g]=S[p]=S[f]=S[l]=S[d]=S[v]=S[h]=S[y]=S[b]=S[m]=S[x]=!1,t.exports=r},function(t,n){function e(t){return function(n){return t(n)}}t.exports=e},function(t,n,e){(function(t){var r=e(28),o="object"==typeof n&&n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o,u=a&&r.process,c=function(){try{return u&&u.binding&&u.binding("util")}catch(t){}}();t.exports=c}).call(n,e(58)(t))},function(t,n){function e(t,n){return"__proto__"==n?void 0:t[n]}t.exports=e},function(t,n,e){function r(t){return o(t,i(t))}var o=e(84),i=e(86);t.exports=r},function(t,n,e){function r(t,n,e,r){var a=!e;e||(e={});for(var u=-1,c=n.length;++u<c;){var s=n[u],p=r?r(e[s],t[s],s,e,t):void 0;void 0===p&&(p=t[s]),a?i(e,s,p):o(e,s,p)}return e}var o=e(85),i=e(52);t.exports=r},function(t,n,e){function r(t,n,e){var r=t[n];u.call(t,n)&&i(r,e)&&(void 0!==e||n in t)||o(t,n,e)}var o=e(52),i=e(12),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,n,e){function r(t){return a(t)?o(t,!0):i(t)}var o=e(87),i=e(90),a=e(73);t.exports=r},function(t,n,e){function r(t,n){var e=a(t),r=!e&&i(t),p=!e&&!r&&u(t),l=!e&&!r&&!p&&s(t),d=e||r||p||l,v=d?o(t.length,String):[],h=v.length;for(var y in t)!n&&!f.call(t,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||l&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,h))||v.push(y);return v}var o=e(88),i=e(68),a=e(71),u=e(75),c=e(89),s=e(78),p=Object.prototype,f=p.hasOwnProperty;t.exports=r},function(t,n){function e(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}t.exports=e},function(t,n){function e(t,n){var e=typeof t;return n=null==n?r:n,!!n&&("number"==e||"symbol"!=e&&o.test(t))&&t>-1&&t%1==0&&t<n}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=e},function(t,n,e){function r(t){if(!o(t))return a(t);var n=i(t),e=[];for(var r in t)("constructor"!=r||!n&&c.call(t,r))&&e.push(r);return e}var o=e(31),i=e(67),a=e(91),u=Object.prototype,c=u.hasOwnProperty;t.exports=r},function(t,n){function e(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}t.exports=e},function(t,n,e){function r(t){return o(function(n,e){var r=-1,o=e.length,a=o>1?e[o-1]:void 0,u=o>2?e[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&i(e[0],e[1],u)&&(a=o<3?void 0:a,o=1),n=Object(n);++r<o;){var c=e[r];c&&t(n,c,r,a)}return n})}var o=e(93),i=e(101);t.exports=r},function(t,n,e){function r(t,n){return a(i(t,n,o),t+"")}var o=e(94),i=e(95),a=e(97);t.exports=r},function(t,n){function e(t){return t}t.exports=e},function(t,n,e){function r(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var r=arguments,a=-1,u=i(r.length-n,0),c=Array(u);++a<u;)c[a]=r[n+a];a=-1;for(var s=Array(n+1);++a<n;)s[a]=r[a];return s[n]=e(c),o(t,this,s)}}var o=e(96),i=Math.max;t.exports=r},function(t,n){function e(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}t.exports=e},function(t,n,e){var r=e(98),o=e(100),i=o(r);t.exports=i},function(t,n,e){var r=e(99),o=e(53),i=e(94),a=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(n),writable:!0})}:i;t.exports=a},function(t,n){function e(t){return function(){return t}}t.exports=e},function(t,n){function e(t){var n=0,e=0;return function(){var a=i(),u=o-(a-e);if(e=a,u>0){if(++n>=r)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=e},function(t,n,e){function r(t,n,e){if(!u(e))return!1;var r=typeof n;return!!("number"==r?i(e)&&a(n,e.length):"string"==r&&n in e)&&o(e[n],t)}var o=e(12),i=e(73),a=e(89),u=e(31);t.exports=r},function(t,n){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(t,n){t.exports=Morph.modules["bbc-morph-bump@1.0.2"]}]);; });</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.0.3"]={"bbc-morph-debouncer":"1.0.1",morph:"3.4.0",react:"0.14.7","react-dom":"0.14.7"},function(e){function t(s){if(r[s])return r[s].exports;var i=r[s]={exports:{},id:s,loaded:!1};return e[s].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-responsive-image@1.0.3"]=r(1)},function(e,t,r){r(2);var s=r(3),i=r(4),o=[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=s.createClass({displayName:"ResponsiveImage",propTypes:{src:s.PropTypes.string.isRequired,alt:s.PropTypes.string,className:s.PropTypes.string,width:s.PropTypes.number,availableWidths:s.PropTypes.arrayOf(s.PropTypes.number),delayed:s.PropTypes.bool},getDefaultProps:function(){return{width:320,delayed:!1,background:!1}},getInitialState:function(){return{delayed:this.props.delayed,width:this.getClosestGreaterWidth(this.props.width),background:this.props.background}},componentWillUnmount:function(){window.removeEventListener&&window.removeEventListener("resize-debounced",this.state.resizeHandler)},componentDidMount:function(){var e=function(){var e=this.getClosestGreaterWidth(i.findDOMNode(this).parentNode.clientWidth);e>this.state.width&&this.setState({width:e})}.bind(this);window.addEventListener&&window.addEventListener("resize-debounced",e),this.setState({delayed:!1,width:this.getClosestGreaterWidth(i.findDOMNode(this).parentNode.clientWidth),resizeHandler:e})},hdpiEnabled:function(){return this.props.hasOwnProperty("hidpi")&&this.props.hidpi===!0&&window.devicePixelRatio>1},defaultInterpolator:function(e,t){var r="";return this.hdpiEnabled()&&(r="-hidpi"),e.replace(/{width}/g,t+r)},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||o,r=0;r<t.length;r+=1){var s=t[r];if(s>=e)return s}return t[t.length-1]},render:function(){var e,t;return this.state.delayed?t=s.createElement("img",{src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}):this.state.background?(e={backgroundImage:"url("+this.interpolate(this.props.src,this.state.width)+")"},t=s.createElement("div",{style:e,className:this.props.className})):t=s.createElement("img",{src:this.interpolate(this.props.src,this.state.width),alt:this.props.alt,className:this.props.className}),t}})},function(e,t){e.exports=Morph.modules["bbc-morph-debouncer@1.0.1"]},function(e,t){e.exports=React},function(e,t){e.exports=ReactDOM}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-cards-list-view@1.29.2"]={"babel-runtime":"6.26.0","bbc-morph-cards-list-data":"1.24.1","bbc-morph-istats":"1.3.0","bbc-morph-responsive-image":"1.0.3","bbc-morph-smp":"2.12.6",classnames:"2.2.6",lodash:"4.17.11","morph-container":"2.1.16","morph-static-prefix":"3.0.0",react:"0.14.7","react-masonry-component":"5.0.7"},function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){Morph.modules["bbc-morph-cards-list-view@1.29.2"]=n(1)},function(t,e,n){t.exports=n(2)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=n(3),o=r(i),u=n(4);t.exports=o.default.create(u.CardList,{data:function(t){return{cardsList:{uri:{data:"bbc-morph-cards-list-data",collection:t.collection||"",sourceName:t.sourceName,sourceId:t.sourceId,style:t.style},requireSuccess:!0}}}})},function(t,e){t.exports={create:function(t,e){return Morph.createContainerWithCaller("bbc-morph-cards-list-view@1.29.2",t,e)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.CardList=void 0;var i=n(5),o=r(i),u=n(32),a=r(u),s=n(33),c=r(s),f=n(37),l=r(f),p=n(82),h=r(p),d=n(90),v=r(d),y=n(91),m=r(y),g=n(117),_=n(118),b=r(_),w=n(119),E=r(w),x=function(t,e){return t.metadata.id+"-"+e},O=e.CardList=function(t){function e(t){(0,a.default)(this,e);var n=(0,l.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return n.state={lastSentValue:0},n.sendScrollStat=n.sendScrollStat.bind(n),n}return(0,h.default)(e,t),(0,c.default)(e,[{key:"sendScrollStat",value:function(t){var e=10*Math.floor(t/10);e>this.state.lastSentValue&&(this.setState({lastSentValue:e}),b.default.track("curation_view_"+e,"view"))}},{key:"render",value:function(){function t(t){return i&&"stay-safe"===i.toLowerCase()?v.default.createElement(E.default,{className:"c-CardsList c-CardsList--grid",elementType:"ol",options:{transitionDuration:0},disableImagesLoaded:!1,updateOnEachImageLoad:!1},t):v.default.createElement("ol",{className:"c-CardsList c-CardsList--stream"},t)}var e=this.props,n=e.cardsList,r=e.style,i=e.appName,o=e.page,u=n.body.items,a=r?"c-Card--"+r:null,s={appName:i,isPageView:Boolean(o),className:a},c=u.map(function(t,e){var n=(0,m.default)(t,s),r=x(t,e);return n?v.default.createElement("li",{className:"c-CardsList-item",key:r},n):null});return v.default.createElement(g.ScrollTracker,{onScrolled:this.sendScrollStat,idleTime:2e3,enabled:!0},t(c))}}]),e}(d.Component);O.displayName="CardsList",O.propTypes={cardsList:d.PropTypes.shape({body:d.PropTypes.shape({items:d.PropTypes.array.isRequired})}).isRequired,style:d.PropTypes.string,appName:d.PropTypes.string,page:d.PropTypes.string}},function(t,e,n){t.exports={default:n(6),__esModule:!0}},function(t,e,n){n(7),t.exports=n(14).Object.getPrototypeOf},function(t,e,n){var r=n(8),i=n(10);n(18)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(9);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(11),i=n(8),o=n(12)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(13)("keys"),i=n(17);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(14),i=n(15),o="__core-js_shared__",u=i[o]||(i[o]={});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(16)?"pure":"global",copyright:"漏 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=t.exports={version:"2.6.8"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=!0},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(19),i=n(14),o=n(28);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(15),i=n(14),o=n(20),u=n(22),a=n(11),s="prototype",c=function(t,e,n){var f,l,p,h=t&c.F,d=t&c.G,v=t&c.S,y=t&c.P,m=t&c.B,g=t&c.W,_=d?i:i[e]||(i[e]={}),b=_[s],w=d?r:v?r[e]:(r[e]||{})[s];d&&(n=e);for(f in n)l=!h&&w&&void 0!==w[f],l&&a(_,f)||(p=l?w[f]:n[f],_[f]=d&&"function"!=typeof w[f]?n[f]:m&&l?o(p,r):g&&w[f]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(p):y&&"function"==typeof p?o(Function.call,p):p,y&&((_.virtual||(_.virtual={}))[f]=p,t&c.R&&b&&!b[f]&&u(b,f,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(21);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(23),i=n(31);t.exports=n(27)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(24),i=n(26),o=n(30),u=Object.defineProperty;e.f=n(27)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(25);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(27)&&!n(28)(function(){return 7!=Object.defineProperty(n(29)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=!n(28)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(25),i=n(15).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(25);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(34),o=r(i);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){t.exports={default:n(35),__esModule:!0}},function(t,e,n){n(36);var r=n(14).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(19);r(r.S+r.F*!n(27),"Object",{defineProperty:n(23).f})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(38),o=r(i);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"==typeof e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(39),o=r(i),u=n(67),a=r(u),s="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===s(o.default)?function(t){return"undefined"==typeof t?"undefined":s(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":s(t)}},function(t,e,n){t.exports={default:n(40),__esModule:!0}},function(t,e,n){n(41),n(62),t.exports=n(66).f("iterator")},function(t,e,n){"use strict";var r=n(42)(!0);n(44)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(43),i=n(9);t.exports=function(t){return function(e,n){var o,u,a=String(i(e)),s=r(n),c=a.length;return s<0||s>=c?t?"":void 0:(o=a.charCodeAt(s),o<55296||o>56319||s+1===c||(u=a.charCodeAt(s+1))<56320||u>57343?t?a.charAt(s):o:t?a.slice(s,s+2):(o-55296<<10)+(u-56320)+65536)}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r=n(16),i=n(19),o=n(45),u=n(22),a=n(46),s=n(47),c=n(60),f=n(10),l=n(61)("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",d="keys",v="values",y=function(){return this};t.exports=function(t,e,n,m,g,_,b){s(n,e,m);var w,E,x,O=function(t){if(!p&&t in j)return j[t];switch(t){case d:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",N=g==v,T=!1,j=t.prototype,C=j[l]||j[h]||g&&j[g],I=C||O(g),A=g?N?O("entries"):I:void 0,k="Array"==e?j.entries||C:C;if(k&&(x=f(k.call(new t)),x!==Object.prototype&&x.next&&(c(x,S,!0),r||"function"==typeof x[l]||u(x,l,y))),N&&C&&C.name!==v&&(T=!0,I=function(){return C.call(this)}),r&&!b||!p&&!T&&j[l]||u(j,l,I),a[e]=I,a[S]=y,g)if(w={values:N?I:O(v),keys:_?I:O(d),entries:A},b)for(E in w)E in j||o(j,E,w[E]);else i(i.P+i.F*(p||T),e,w);return w}},function(t,e,n){t.exports=n(22)},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(48),i=n(31),o=n(60),u={};n(22)(u,n(61)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(24),i=n(49),o=n(58),u=n(12)("IE_PROTO"),a=function(){},s="prototype",c=function(){var t,e=n(29)("iframe"),r=o.length,i="<",u=">";for(e.style.display="none",n(59).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+u+"document.F=Object"+i+"/script"+u),t.close(),c=t.F;r--;)delete c[s][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[s]=r(t),n=new a,a[s]=null,n[u]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(23),i=n(24),o=n(50);t.exports=n(27)?Object.defineProperties:function(t,e){i(t);for(var n,u=o(e),a=u.length,s=0;a>s;)r.f(t,n=u[s++],e[n]);return t}},function(t,e,n){var r=n(51),i=n(58);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(11),i=n(52),o=n(55)(!1),u=n(12)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),s=0,c=[];for(n in a)n!=u&&r(a,n)&&c.push(n);for(;e.length>s;)r(a,n=e[s++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(53),i=n(9);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(54);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(52),i=n(56),o=n(57);t.exports=function(t){return function(e,n,u){var a,s=r(e),c=i(s.length),f=o(u,c);if(t&&n!=n){for(;c>f;)if(a=s[f++],a!=a)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(43),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(43),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(15).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(23).f,i=n(11),o=n(61)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(13)("wks"),i=n(17),o=n(15).Symbol,u="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))};a.store=r},function(t,e,n){n(63);for(var r=n(15),i=n(22),o=n(46),u=n(61)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<a.length;s++){var c=a[s],f=r[c],l=f&&f.prototype;l&&!l[u]&&i(l,u,c),o[c]=o.Array}},function(t,e,n){"use strict";var r=n(64),i=n(65),o=n(46),u=n(52);t.exports=n(44)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){e.f=n(61)},function(t,e,n){t.exports={default:n(68),__esModule:!0}},function(t,e,n){n(69),n(79),n(80),n(81),t.exports=n(14).Symbol},function(t,e,n){"use strict";var r=n(15),i=n(11),o=n(27),u=n(19),a=n(45),s=n(70).KEY,c=n(28),f=n(13),l=n(60),p=n(17),h=n(61),d=n(66),v=n(71),y=n(72),m=n(75),g=n(24),_=n(25),b=n(8),w=n(52),E=n(30),x=n(31),O=n(48),S=n(76),N=n(78),T=n(73),j=n(23),C=n(50),I=N.f,A=j.f,k=S.f,P=r.Symbol,R=r.JSON,L=R&&R.stringify,M="prototype",D=h("_hidden"),z=h("toPrimitive"),W={}.propertyIsEnumerable,F=f("symbol-registry"),B=f("symbols"),V=f("op-symbols"),$=Object[M],H="function"==typeof P&&!!T.f,U=r.QObject,q=!U||!U[M]||!U[M].findChild,Y=o&&c(function(){return 7!=O(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=I($,e);r&&delete $[e],A(t,e,n),r&&t!==$&&A($,e,r)}:A,G=function(t){var e=B[t]=O(P[M]);return e._k=t,e},J=H&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},K=function(t,e,n){return t===$&&K(V,e,n),g(t),e=E(e,!0),g(n),i(B,e)?(n.enumerable?(i(t,D)&&t[D][e]&&(t[D][e]=!1),n=O(n,{enumerable:x(0,!1)})):(i(t,D)||A(t,D,x(1,{})),t[D][e]=!0),Y(t,e,n)):A(t,e,n)},Q=function(t,e){g(t);for(var n,r=y(e=w(e)),i=0,o=r.length;o>i;)K(t,n=r[i++],e[n]);return t},Z=function(t,e){return void 0===e?O(t):Q(O(t),e)},X=function(t){var e=W.call(this,t=E(t,!0));return!(this===$&&i(B,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,D)&&this[D][t])||e)},tt=function(t,e){if(t=w(t),e=E(e,!0),t!==$||!i(B,e)||i(V,e)){var n=I(t,e);return!n||!i(B,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},et=function(t){for(var e,n=k(w(t)),r=[],o=0;n.length>o;)i(B,e=n[o++])||e==D||e==s||r.push(e);return r},nt=function(t){for(var e,n=t===$,r=k(n?V:w(t)),o=[],u=0;r.length>u;)!i(B,e=r[u++])||n&&!i($,e)||o.push(B[e]);return o};H||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===$&&e.call(V,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),Y(this,t,x(1,n))};return o&&q&&Y($,t,{configurable:!0,set:e}),G(t)},a(P[M],"toString",function(){return this._k}),N.f=tt,j.f=K,n(77).f=S.f=et,n(74).f=X,T.f=nt,o&&!n(16)&&a($,"propertyIsEnumerable",X,!0),d.f=function(t){return G(h(t))}),u(u.G+u.W+u.F*!H,{Symbol:P});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)h(rt[it++]);for(var ot=C(h.store),ut=0;ot.length>ut;)v(ot[ut++]);u(u.S+u.F*!H,"Symbol",{for:function(t){return i(F,t+="")?F[t]:F[t]=P(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),u(u.S+u.F*!H,"Object",{create:Z,defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=c(function(){T.f(1)});u(u.S+u.F*at,"Object",{getOwnPropertySymbols:function(t){return T.f(b(t))}}),R&&u(u.S+u.F*(!H||c(function(){var t=P();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!J(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,L.apply(R,r)}}),P[M][z]||n(22)(P[M],z,P[M].valueOf),l(P,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){var r=n(17)("meta"),i=n(25),o=n(11),u=n(23).f,a=0,s=Object.isExtensible||function(){return!0},c=!n(28)(function(){return s(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!s(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return c&&d.NEED&&s(t)&&!o(t,r)&&f(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e,n){var r=n(15),i=n(14),o=n(16),u=n(66),a=n(23).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},function(t,e,n){var r=n(50),i=n(73),o=n(74);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var u,a=n(t),s=o.f,c=0;a.length>c;)s.call(t,u=a[c++])&&e.push(u);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(54);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(52),i=n(77).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,e,n){var r=n(51),i=n(58).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(74),i=n(31),o=n(52),u=n(30),a=n(11),s=n(26),c=Object.getOwnPropertyDescriptor;e.f=n(27)?c:function(t,e){if(t=o(t),e=u(e,!0),s)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(71)("asyncIterator")},function(t,e,n){n(71)("observable")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(83),o=r(i),u=n(87),a=r(u),s=n(38),c=r(s);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof e?"undefined":(0,c.default)(e)));t.prototype=(0,a.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(o.default?(0,o.default)(t,e):t.__proto__=e)}},function(t,e,n){t.exports={default:n(84),__esModule:!0}},function(t,e,n){n(85),t.exports=n(14).Object.setPrototypeOf},function(t,e,n){var r=n(19);r(r.S,"Object",{setPrototypeOf:n(86).set})},function(t,e,n){var r=n(25),i=n(24),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(20)(Function.call,n(78).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){t.exports={default:n(88),__esModule:!0}},function(t,e,n){n(89);var r=n(14).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(19);r(r.S,"Object",{create:n(48)})},function(t,e){t.exports=React},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isServerRendered:!1},n=(0,a.default)({},e,(0,f.pick)(t,"metadata","content"));switch(t.id){case"promo":return[p.default,n];case"short-article":return[m.default,n];case"bbc-video":return[v.default,n];case"bbc-riddle":return[h.QuizCard,n];default:return null}}function o(t,e){e.appName||console.warn("cards-list-view: props.appName has not been set or passed through");var n=i(t,e);return n||console.warn("cards-list-view: failed to find card: "+t.id),n?c.default.createElement.apply(this,n):n}Object.defineProperty(e,"__esModule",{value:!0});var u=n(92),a=r(u);e.default=o;var s=n(90),c=r(s),f=n(97),l=n(99),p=r(l),h=n(114),d=n(115),v=r(d),y=n(116),m=r(y);t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(93),o=r(i);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){t.exports={default:n(94),__esModule:!0}},function(t,e,n){n(95),t.exports=n(14).Object.assign},function(t,e,n){var r=n(19);r(r.S+r.F,"Object",{assign:n(96)})},function(t,e,n){"use strict";var r=n(27),i=n(50),o=n(73),u=n(74),a=n(8),s=n(53),c=Object.assign;t.exports=!c||n(28)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,f=1,l=o.f,p=u.f;c>f;)for(var h,d=s(arguments[f++]),v=l?i(d).concat(l(d)):i(d),y=v.length,m=0;y>m;)h=v[m++],r&&!p.call(d,h)||(n[h]=d[h]);return n}:c},function(t,e,n){var r;(function(t,i){(function(){function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function u(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];e(r,u,n(u),t)}return r}function a(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function s(t,e){for(var n=null==t?0:t.length;n--&&e(t[n],n,t)!==!1;);return t}function c(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function f(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var u=t[n];e(u,n,t)&&(o[i++]=u)}return o}function l(t,e){var n=null==t?0:t.length;return!!n&&E(t,e,0)>-1}function p(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function h(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function d(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function v(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function y(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function m(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function g(t){return t.split("")}function _(t){return t.match(Fe)||[]}function b(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function w(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function E(t,e,n){return e===e?J(t,e,n):w(t,O,n)}function x(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function O(t){return t!==t}function S(t,e){var n=null==t?0:t.length;return n?I(t,e)/n:Lt}function N(t){return function(e){return null==e?nt:e[t]}}function T(t){return function(e){return null==t?nt:t[e]}}function j(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function C(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function I(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==nt&&(n=n===nt?o:n+o)}return n}function A(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function k(t,e){return h(e,function(e){return[e,t[e]]})}function P(t){return function(e){return t(e)}}function R(t,e){return h(e,function(e){return t[e]})}function L(t,e){return t.has(e)}function M(t,e){for(var n=-1,r=t.length;++n<r&&E(e,t[n],0)>-1;);return n}function D(t,e){for(var n=t.length;n--&&E(e,t[n],0)>-1;);return n}function z(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function W(t){return"\\"+Xn[t]}function F(t,e){return null==t?nt:t[e]}function B(t){return Hn.test(t)}function V(t){return Un.test(t)}function $(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function H(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function U(t,e){return function(n){return t(e(n))}}function q(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var u=t[n];u!==e&&u!==ct||(t[n]=ct,o[i++]=n)}return o}function Y(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function G(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function J(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function K(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function Q(t){return B(t)?X(t):yr(t)}function Z(t){return B(t)?tt(t):g(t)}function X(t){for(var e=Vn.lastIndex=0;Vn.test(t);)++e;return e}function tt(t){return t.match(Vn)||[]}function et(t){return t.match($n)||[]}var nt,rt="4.17.11",it=200,ot="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ut="Expected a function",at="__lodash_hash_undefined__",st=500,ct="__lodash_placeholder__",ft=1,lt=2,pt=4,ht=1,dt=2,vt=1,yt=2,mt=4,gt=8,_t=16,bt=32,wt=64,Et=128,xt=256,Ot=512,St=30,Nt="...",Tt=800,jt=16,Ct=1,It=2,At=3,kt=1/0,Pt=9007199254740991,Rt=1.7976931348623157e308,Lt=NaN,Mt=4294967295,Dt=Mt-1,zt=Mt>>>1,Wt=[["ary",Et],["bind",vt],["bindKey",yt],["curry",gt],["curryRight",_t],["flip",Ot],["partial",bt],["partialRight",wt],["rearg",xt]],Ft="[object Arguments]",Bt="[object Array]",Vt="[object AsyncFunction]",$t="[object Boolean]",Ht="[object Date]",Ut="[object DOMException]",qt="[object Error]",Yt="[object Function]",Gt="[object GeneratorFunction]",Jt="[object Map]",Kt="[object Number]",Qt="[object Null]",Zt="[object Object]",Xt="[object Promise]",te="[object Proxy]",ee="[object RegExp]",ne="[object Set]",re="[object String]",ie="[object Symbol]",oe="[object Undefined]",ue="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",ce="[object DataView]",fe="[object Float32Array]",le="[object Float64Array]",pe="[object Int8Array]",he="[object Int16Array]",de="[object Int32Array]",ve="[object Uint8Array]",ye="[object Uint8ClampedArray]",me="[object Uint16Array]",ge="[object Uint32Array]",_e=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ee=/&(?:amp|lt|gt|quot|#39);/g,xe=/[&<>"']/g,Oe=RegExp(Ee.source),Se=RegExp(xe.source),Ne=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,je=/<%=([\s\S]+?)%>/g,Ce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ie=/^\w*$/,Ae=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ke=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(ke.source),Re=/^\s+|\s+$/g,Le=/^\s+/,Me=/\s+$/,De=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,We=/,? & /,Fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Be=/\\(\\)?/g,Ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$e=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,qe=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,Ge=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ke=/($^)/,Qe=/['\n\r\u2028\u2029\\]/g,Ze="\\ud800-\\udfff",Xe="\\u0300-\\u036f",tn="\\ufe20-\\ufe2f",en="\\u20d0-\\u20ff",nn=Xe+tn+en,rn="\\u2700-\\u27bf",on="a-z\\xdf-\\xf6\\xf8-\\xff",un="\\xac\\xb1\\xd7\\xf7",an="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sn="\\u2000-\\u206f",cn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fn="A-Z\\xc0-\\xd6\\xd8-\\xde",ln="\\ufe0e\\ufe0f",pn=un+an+sn+cn,hn="['鈥橾",dn="["+Ze+"]",vn="["+pn+"]",yn="["+nn+"]",mn="\\d+",gn="["+rn+"]",_n="["+on+"]",bn="[^"+Ze+pn+mn+rn+on+fn+"]",wn="\\ud83c[\\udffb-\\udfff]",En="(?:"+yn+"|"+wn+")",xn="[^"+Ze+"]",On="(?:\\ud83c[\\udde6-\\uddff]){2}",Sn="[\\ud800-\\udbff][\\udc00-\\udfff]",Nn="["+fn+"]",Tn="\\u200d",jn="(?:"+_n+"|"+bn+")",Cn="(?:"+Nn+"|"+bn+")",In="(?:"+hn+"(?:d|ll|m|re|s|t|ve))?",An="(?:"+hn+"(?:D|LL|M|RE|S|T|VE))?",kn=En+"?",Pn="["+ln+"]?",Rn="(?:"+Tn+"(?:"+[xn,On,Sn].join("|")+")"+Pn+kn+")*",Ln="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Dn=Pn+kn+Rn,zn="(?:"+[gn,On,Sn].join("|")+")"+Dn,Wn="(?:"+[xn+yn+"?",yn,On,Sn,dn].join("|")+")",Fn=RegExp(hn,"g"),Bn=RegExp(yn,"g"),Vn=RegExp(wn+"(?="+wn+")|"+Wn+Dn,"g"),$n=RegExp([Nn+"?"+_n+"+"+In+"(?="+[vn,Nn,"$"].join("|")+")",Cn+"+"+An+"(?="+[vn,Nn+jn,"$"].join("|")+")",Nn+"?"+jn+"+"+In,Nn+"+"+An,Mn,Ln,mn,zn].join("|"),"g"),Hn=RegExp("["+Tn+Ze+nn+ln+"]"),Un=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Yn=-1,Gn={};Gn[fe]=Gn[le]=Gn[pe]=Gn[he]=Gn[de]=Gn[ve]=Gn[ye]=Gn[me]=Gn[ge]=!0,Gn[Ft]=Gn[Bt]=Gn[se]=Gn[$t]=Gn[ce]=Gn[Ht]=Gn[qt]=Gn[Yt]=Gn[Jt]=Gn[Kt]=Gn[Zt]=Gn[ee]=Gn[ne]=Gn[re]=Gn[ue]=!1;var Jn={};Jn[Ft]=Jn[Bt]=Jn[se]=Jn[ce]=Jn[$t]=Jn[Ht]=Jn[fe]=Jn[le]=Jn[pe]=Jn[he]=Jn[de]=Jn[Jt]=Jn[Kt]=Jn[Zt]=Jn[ee]=Jn[ne]=Jn[re]=Jn[ie]=Jn[ve]=Jn[ye]=Jn[me]=Jn[ge]=!0,Jn[qt]=Jn[Yt]=Jn[ue]=!1;var Kn={"脌":"A","脕":"A","脗":"A","脙":"A","脛":"A","脜":"A","脿":"a","谩":"a","芒":"a","茫":"a","盲":"a","氓":"a","脟":"C","莽":"c","脨":"D","冒":"d","脠":"E","脡":"E","脢":"E","脣":"E","猫":"e","茅":"e","锚":"e","毛":"e","脤":"I","脥":"I","脦":"I","脧":"I","矛":"i","铆":"i","卯":"i","茂":"i","脩":"N","帽":"n","脪":"O","脫":"O","脭":"O","脮":"O","脰":"O","脴":"O","貌":"o","贸":"o","么":"o","玫":"o","枚":"o","酶":"o","脵":"U","脷":"U","脹":"U","脺":"U","霉":"u","煤":"u","没":"u","眉":"u","脻":"Y","媒":"y","每":"y","脝":"Ae","忙":"ae","脼":"Th","镁":"th","脽":"ss","膧":"A","膫":"A","膭":"A","膩":"a","膬":"a","膮":"a","膯":"C","膱":"C","膴":"C","膶":"C","膰":"c","膲":"c","膵":"c","膷":"c","膸":"D","膼":"D","膹":"d","膽":"d","膾":"E","臄":"E","臇":"E","臉":"E","臍":"E","膿":"e","臅":"e","臈":"e","臋":"e","臎":"e","臏":"G","臑":"G","臓":"G","蘑":"G","臐":"g","臒":"g","摹":"g","模":"g","膜":"H","摩":"H","磨":"h","魔":"h","抹":"I","莫":"I","默":"I","漠":"I","陌":"I","末":"i","墨":"i","沫":"i","寞":"i","谋":"i","拇":"J","牡":"j","亩":"K","姆":"k","母":"k","墓":"L","幕":"L","慕":"L","目":"L","艁":"L","暮":"l","募":"l","木":"l","艀":"l","艂":"l","艃":"N","艆":"N","艊":"N","艎":"N","艅":"n","艈":"n","艌":"n","艐":"n","艑":"O","艓":"O","艕":"O","艒":"o","艔":"o","艖":"o","艛":"R","艝":"R","艠":"R","艜":"r","艞":"r","艡":"r","艢":"S","艤":"S","艦":"S","艩":"S","艣":"s","艥":"s","艧":"s","拧":"s","泞":"T","扭":"T","纽":"T","牛":"t","钮":"t","脓":"t","浓":"U","弄":"U","努":"U","女":"U","虐":"U","挪":"U","农":"u","奴":"u","怒":"u","暖":"u","疟":"u","懦":"u","糯":"W","诺":"w","哦":"Y","欧":"y","鸥":"Y","殴":"Z","呕":"Z","沤":"Z","藕":"z","偶":"z","啪":"z","牟":"IJ","某":"ij","艗":"Oe","艙":"oe","艍":"'n","趴":"s" },Qn={"&":"&","<":"<",">":">",'"':""","'":"'"},Zn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tr=parseFloat,er=parseInt,nr="object"==typeof t&&t&&t.Object===Object&&t,rr="object"==typeof self&&self&&self.Object===Object&&self,ir=nr||rr||Function("return this")(),or="object"==typeof e&&e&&!e.nodeType&&e,ur=or&&"object"==typeof i&&i&&!i.nodeType&&i,ar=ur&&ur.exports===or,sr=ar&&nr.process,cr=function(){try{var t=ur&&ur.require&&ur.require("util").types;return t?t:sr&&sr.binding&&sr.binding("util")}catch(t){}}(),fr=cr&&cr.isArrayBuffer,lr=cr&&cr.isDate,pr=cr&&cr.isMap,hr=cr&&cr.isRegExp,dr=cr&&cr.isSet,vr=cr&&cr.isTypedArray,yr=N("length"),mr=T(Kn),gr=T(Qn),_r=T(Zn),br=function t(e){function n(t){if(os(t)&&!mp(t)&&!(t instanceof g)){if(t instanceof i)return t;if(mf.call(t,"__wrapped__"))return nu(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=nt}function g(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Mt,this.__views__=[]}function T(){var t=new g(this.__wrapped__);return t.__actions__=Li(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Li(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Li(this.__views__),t}function J(){if(this.__filtered__){var t=new g(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function X(){var t=this.__wrapped__.value(),e=this.__dir__,n=mp(t),r=e<0,i=n?t.length:0,o=So(0,i,this.__views__),u=o.start,a=o.end,s=a-u,c=r?a:u-1,f=this.__iteratees__,l=f.length,p=0,h=Yf(s,this.__takeCount__);if(!n||!r&&i==s&&h==s)return gi(t,this.__actions__);var d=[];t:for(;s--&&p<h;){c+=e;for(var v=-1,y=t[c];++v<l;){var m=f[v],g=m.iteratee,_=m.type,b=g(y);if(_==It)y=b;else if(!b){if(_==Ct)continue t;break t}}d[p++]=y}return d}function tt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Fe(){this.__data__=rl?rl(null):{},this.size=0}function Ze(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Xe(t){var e=this.__data__;if(rl){var n=e[t];return n===at?nt:n}return mf.call(e,t)?e[t]:nt}function tn(t){var e=this.__data__;return rl?e[t]!==nt:mf.call(e,t)}function en(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=rl&&e===nt?at:e,this}function nn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function rn(){this.__data__=[],this.size=0}function on(t){var e=this.__data__,n=In(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Af.call(e,n,1),--this.size,!0}function un(t){var e=this.__data__,n=In(e,t);return n<0?nt:e[n][1]}function an(t){return In(this.__data__,t)>-1}function sn(t,e){var n=this.__data__,r=In(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function cn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function fn(){this.size=0,this.__data__={hash:new tt,map:new(Xf||nn),string:new tt}}function ln(t){var e=wo(this,t).delete(t);return this.size-=e?1:0,e}function pn(t){return wo(this,t).get(t)}function hn(t){return wo(this,t).has(t)}function dn(t,e){var n=wo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function vn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new cn;++e<n;)this.add(t[e])}function yn(t){return this.__data__.set(t,at),this}function mn(t){return this.__data__.has(t)}function gn(t){var e=this.__data__=new nn(t);this.size=e.size}function _n(){this.__data__=new nn,this.size=0}function bn(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function wn(t){return this.__data__.get(t)}function En(t){return this.__data__.has(t)}function xn(t,e){var n=this.__data__;if(n instanceof nn){var r=n.__data__;if(!Xf||r.length<it-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new cn(r)}return n.set(t,e),this.size=n.size,this}function On(t,e){var n=mp(t),r=!n&&yp(t),i=!n&&!r&&_p(t),o=!n&&!r&&!i&&Op(t),u=n||r||i||o,a=u?A(t.length,ff):[],s=a.length;for(var c in t)!e&&!mf.call(t,c)||u&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Po(c,s))||a.push(c);return a}function Sn(t){var e=t.length;return e?t[Xr(0,e-1)]:nt}function Nn(t,e){return Zo(Li(t),Mn(e,0,t.length))}function Tn(t){return Zo(Li(t))}function jn(t,e,n){(n===nt||Ua(t[e],n))&&(n!==nt||e in t)||Rn(t,e,n)}function Cn(t,e,n){var r=t[e];mf.call(t,e)&&Ua(r,n)&&(n!==nt||e in t)||Rn(t,e,n)}function In(t,e){for(var n=t.length;n--;)if(Ua(t[n][0],e))return n;return-1}function An(t,e,n,r){return vl(t,function(t,i,o){e(r,t,n(t),o)}),r}function kn(t,e){return t&&Mi(e,Fs(e),t)}function Pn(t,e){return t&&Mi(e,Bs(e),t)}function Rn(t,e,n){"__proto__"==e&&Lf?Lf(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Ln(t,e){for(var n=-1,r=e.length,i=nf(r),o=null==t;++n<r;)i[n]=o?nt:Ds(t,e[n]);return i}function Mn(t,e,n){return t===t&&(n!==nt&&(t=t<=n?t:n),e!==nt&&(t=t>=e?t:e)),t}function Dn(t,e,n,r,i,o){var u,s=e&ft,c=e<,f=e&pt;if(n&&(u=i?n(t,r,i,o):n(t)),u!==nt)return u;if(!is(t))return t;var l=mp(t);if(l){if(u=jo(t),!s)return Li(t,u)}else{var p=Tl(t),h=p==Yt||p==Gt;if(_p(t))return Si(t,s);if(p==Zt||p==Ft||h&&!i){if(u=c||h?{}:Co(t),!s)return c?zi(t,Pn(u,t)):Di(t,kn(u,t))}else{if(!Jn[p])return i?t:{};u=Io(t,p,s)}}o||(o=new gn);var d=o.get(t);if(d)return d;if(o.set(t,u),xp(t))return t.forEach(function(r){u.add(Dn(r,e,n,r,t,o))}),u;if(wp(t))return t.forEach(function(r,i){u.set(i,Dn(r,e,n,i,t,o))}),u;var v=f?c?mo:yo:c?Bs:Fs,y=l?nt:v(t);return a(y||t,function(r,i){y&&(i=r,r=t[i]),Cn(u,i,Dn(r,e,n,i,t,o))}),u}function zn(t){var e=Fs(t);return function(n){return Wn(n,t,e)}}function Wn(t,e,n){var r=n.length;if(null==t)return!r;for(t=sf(t);r--;){var i=n[r],o=e[i],u=t[i];if(u===nt&&!(i in t)||!o(u))return!1}return!0}function Vn(t,e,n){if("function"!=typeof t)throw new lf(ut);return Il(function(){t.apply(nt,n)},e)}function $n(t,e,n,r){var i=-1,o=l,u=!0,a=t.length,s=[],c=e.length;if(!a)return s;n&&(e=h(e,P(n))),r?(o=p,u=!1):e.length>=it&&(o=L,u=!1,e=new vn(e));t:for(;++i<a;){var f=t[i],d=null==n?f:n(f);if(f=r||0!==f?f:0,u&&d===d){for(var v=c;v--;)if(e[v]===d)continue t;s.push(f)}else o(e,d,r)||s.push(f)}return s}function Hn(t,e){var n=!0;return vl(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Un(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],u=e(o);if(null!=u&&(a===nt?u===u&&!ys(u):n(u,a)))var a=u,s=o}return s}function Kn(t,e,n,r){var i=t.length;for(n=Es(n),n<0&&(n=-n>i?0:i+n),r=r===nt||r>i?i:Es(r),r<0&&(r+=i),r=n>r?0:xs(r);n<r;)t[n++]=e;return t}function Qn(t,e){var n=[];return vl(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Zn(t,e,n,r,i){var o=-1,u=t.length;for(n||(n=ko),i||(i=[]);++o<u;){var a=t[o];e>0&&n(a)?e>1?Zn(a,e-1,n,r,i):d(i,a):r||(i[i.length]=a)}return i}function Xn(t,e){return t&&ml(t,e,Fs)}function nr(t,e){return t&&gl(t,e,Fs)}function rr(t,e){return f(e,function(e){return es(t[e])})}function or(t,e){e=xi(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Xo(e[n++])];return n&&n==r?t:nt}function ur(t,e,n){var r=e(t);return mp(t)?r:d(r,n(t))}function sr(t){return null==t?t===nt?oe:Qt:Rf&&Rf in sf(t)?Oo(t):Uo(t)}function cr(t,e){return t>e}function yr(t,e){return null!=t&&mf.call(t,e)}function br(t,e){return null!=t&&e in sf(t)}function Er(t,e,n){return t>=Yf(e,n)&&t<qf(e,n)}function xr(t,e,n){for(var r=n?p:l,i=t[0].length,o=t.length,u=o,a=nf(o),s=1/0,c=[];u--;){var f=t[u];u&&e&&(f=h(f,P(e))),s=Yf(f.length,s),a[u]=!n&&(e||i>=120&&f.length>=120)?new vn(u&&f):nt}f=t[0];var d=-1,v=a[0];t:for(;++d<i&&c.length<s;){var y=f[d],m=e?e(y):y;if(y=n||0!==y?y:0,!(v?L(v,m):r(c,m,n))){for(u=o;--u;){var g=a[u];if(!(g?L(g,m):r(t[u],m,n)))continue t}v&&v.push(m),c.push(y)}}return c}function Or(t,e,n,r){return Xn(t,function(t,i,o){e(r,n(t),i,o)}),r}function Sr(t,e,n){e=xi(e,t),t=Yo(t,e);var r=null==t?t:t[Xo(wu(e))];return null==r?nt:o(r,t,n)}function Nr(t){return os(t)&&sr(t)==Ft}function Tr(t){return os(t)&&sr(t)==se}function jr(t){return os(t)&&sr(t)==Ht}function Cr(t,e,n,r,i){return t===e||(null==t||null==e||!os(t)&&!os(e)?t!==t&&e!==e:Ir(t,e,n,r,Cr,i))}function Ir(t,e,n,r,i,o){var u=mp(t),a=mp(e),s=u?Bt:Tl(t),c=a?Bt:Tl(e);s=s==Ft?Zt:s,c=c==Ft?Zt:c;var f=s==Zt,l=c==Zt,p=s==c;if(p&&_p(t)){if(!_p(e))return!1;u=!0,f=!1}if(p&&!f)return o||(o=new gn),u||Op(t)?lo(t,e,n,r,i,o):po(t,e,s,n,r,i,o);if(!(n&ht)){var h=f&&mf.call(t,"__wrapped__"),d=l&&mf.call(e,"__wrapped__");if(h||d){var v=h?t.value():t,y=d?e.value():e;return o||(o=new gn),i(v,y,n,r,o)}}return!!p&&(o||(o=new gn),ho(t,e,n,r,i,o))}function Ar(t){return os(t)&&Tl(t)==Jt}function kr(t,e,n,r){var i=n.length,o=i,u=!r;if(null==t)return!o;for(t=sf(t);i--;){var a=n[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){a=n[i];var s=a[0],c=t[s],f=a[1];if(u&&a[2]){if(c===nt&&!(s in t))return!1}else{var l=new gn;if(r)var p=r(c,f,s,t,e,l);if(!(p===nt?Cr(f,c,ht|dt,r,l):p))return!1}}return!0}function Pr(t){if(!is(t)||zo(t))return!1;var e=es(t)?xf:qe;return e.test(tu(t))}function Rr(t){return os(t)&&sr(t)==ee}function Lr(t){return os(t)&&Tl(t)==ne}function Mr(t){return os(t)&&rs(t.length)&&!!Gn[sr(t)]}function Dr(t){return"function"==typeof t?t:null==t?Ic:"object"==typeof t?mp(t)?$r(t[0],t[1]):Vr(t):zc(t)}function zr(t){if(!Wo(t))return Uf(t);var e=[];for(var n in sf(t))mf.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Wr(t){if(!is(t))return Ho(t);var e=Wo(t),n=[];for(var r in t)("constructor"!=r||!e&&mf.call(t,r))&&n.push(r);return n}function Fr(t,e){return t<e}function Br(t,e){var n=-1,r=qa(t)?nf(t.length):[];return vl(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Vr(t){var e=Eo(t);return 1==e.length&&e[0][2]?Bo(e[0][0],e[0][1]):function(n){return n===t||kr(n,t,e)}}function $r(t,e){return Lo(t)&&Fo(e)?Bo(Xo(t),e):function(n){var r=Ds(n,t);return r===nt&&r===e?Ws(n,t):Cr(e,r,ht|dt)}}function Hr(t,e,n,r,i){t!==e&&ml(e,function(o,u){if(is(o))i||(i=new gn),Ur(t,e,u,n,Hr,r,i);else{var a=r?r(Jo(t,u),o,u+"",t,e,i):nt;a===nt&&(a=o),jn(t,u,a)}},Bs)}function Ur(t,e,n,r,i,o,u){var a=Jo(t,n),s=Jo(e,n),c=u.get(s);if(c)return void jn(t,n,c);var f=o?o(a,s,n+"",t,e,u):nt,l=f===nt;if(l){var p=mp(s),h=!p&&_p(s),d=!p&&!h&&Op(s);f=s,p||h||d?mp(a)?f=a:Ya(a)?f=Li(a):h?(l=!1,f=Si(s,!0)):d?(l=!1,f=Ii(s,!0)):f=[]:hs(s)||yp(s)?(f=a,yp(a)?f=Ss(a):is(a)&&!es(a)||(f=Co(s))):l=!1}l&&(u.set(s,f),i(f,s,r,o,u),u.delete(s)),jn(t,n,f)}function qr(t,e){var n=t.length;if(n)return e+=e<0?n:0,Po(e,n)?t[e]:nt}function Yr(t,e,n){var r=-1;e=h(e.length?e:[Ic],P(bo()));var i=Br(t,function(t,n,i){var o=h(e,function(e){return e(t)});return{criteria:o,index:++r,value:t}});return C(i,function(t,e){return ki(t,e,n)})}function Gr(t,e){return Jr(t,e,function(e,n){return Ws(t,n)})}function Jr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var u=e[r],a=or(t,u);n(a,u)&&oi(o,xi(u,t),a)}return o}function Kr(t){return function(e){return or(e,t)}}function Qr(t,e,n,r){var i=r?x:E,o=-1,u=e.length,a=t;for(t===e&&(e=Li(e)),n&&(a=h(t,P(n)));++o<u;)for(var s=0,c=e[o],f=n?n(c):c;(s=i(a,f,s,r))>-1;)a!==t&&Af.call(a,s,1),Af.call(t,s,1);return t}function Zr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Po(i)?Af.call(t,i,1):vi(t,i)}}return t}function Xr(t,e){return t+Ff(Kf()*(e-t+1))}function ti(t,e,n,r){for(var i=-1,o=qf(Wf((e-t)/(n||1)),0),u=nf(o);o--;)u[r?o:++i]=t,t+=n;return u}function ei(t,e){var n="";if(!t||e<1||e>Pt)return n;do e%2&&(n+=t),e=Ff(e/2),e&&(t+=t);while(e);return n}function ni(t,e){return Al(qo(t,e,Ic),t+"")}function ri(t){return Sn(Xs(t))}function ii(t,e){var n=Xs(t);return Zo(n,Mn(e,0,n.length))}function oi(t,e,n,r){if(!is(t))return t;e=xi(e,t);for(var i=-1,o=e.length,u=o-1,a=t;null!=a&&++i<o;){var s=Xo(e[i]),c=n;if(i!=u){var f=a[s];c=r?r(f,s,a):nt,c===nt&&(c=is(f)?f:Po(e[i+1])?[]:{})}Cn(a,s,c),a=a[s]}return t}function ui(t){return Zo(Xs(t))}function ai(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=nf(i);++r<i;)o[r]=t[r+e];return o}function si(t,e){var n;return vl(t,function(t,r,i){return n=e(t,r,i),!n}),!!n}function ci(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=zt){for(;r<i;){var o=r+i>>>1,u=t[o];null!==u&&!ys(u)&&(n?u<=e:u<e)?r=o+1:i=o}return i}return fi(t,e,Ic,n)}function fi(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,u=e!==e,a=null===e,s=ys(e),c=e===nt;i<o;){var f=Ff((i+o)/2),l=n(t[f]),p=l!==nt,h=null===l,d=l===l,v=ys(l);if(u)var y=r||d;else y=c?d&&(r||p):a?d&&p&&(r||!h):s?d&&p&&!h&&(r||!v):!h&&!v&&(r?l<=e:l<e);y?i=f+1:o=f}return Yf(o,Dt)}function li(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var u=t[n],a=e?e(u):u;if(!n||!Ua(a,s)){var s=a;o[i++]=0===u?0:u}}return o}function pi(t){return"number"==typeof t?t:ys(t)?Lt:+t}function hi(t){if("string"==typeof t)return t;if(mp(t))return h(t,hi)+"";if(ys(t))return hl?hl.call(t):"";var e=t+"";return"0"==e&&1/t==-kt?"-0":e}function di(t,e,n){var r=-1,i=l,o=t.length,u=!0,a=[],s=a;if(n)u=!1,i=p;else if(o>=it){var c=e?null:xl(t);if(c)return Y(c);u=!1,i=L,s=new vn}else s=e?[]:a;t:for(;++r<o;){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,u&&h===h){for(var d=s.length;d--;)if(s[d]===h)continue t;e&&s.push(h),a.push(f)}else i(s,h,n)||(s!==a&&s.push(h),a.push(f))}return a}function vi(t,e){return e=xi(e,t),t=Yo(t,e),null==t||delete t[Xo(wu(e))]}function yi(t,e,n,r){return oi(t,e,n(or(t,e)),r)}function mi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ai(t,r?0:o,r?o+1:i):ai(t,r?o+1:0,r?i:o)}function gi(t,e){var n=t;return n instanceof g&&(n=n.value()),v(e,function(t,e){return e.func.apply(e.thisArg,d([t],e.args))},n)}function _i(t,e,n){var r=t.length;if(r<2)return r?di(t[0]):[];for(var i=-1,o=nf(r);++i<r;)for(var u=t[i],a=-1;++a<r;)a!=i&&(o[i]=$n(o[i]||u,t[a],e,n));return di(Zn(o,1),e,n)}function bi(t,e,n){for(var r=-1,i=t.length,o=e.length,u={};++r<i;){var a=r<o?e[r]:nt;n(u,t[r],a)}return u}function wi(t){return Ya(t)?t:[]}function Ei(t){return"function"==typeof t?t:Ic}function xi(t,e){return mp(t)?t:Lo(t,e)?[t]:kl(Ts(t))}function Oi(t,e,n){var r=t.length;return n=n===nt?r:n,!e&&n>=r?t:ai(t,e,n)}function Si(t,e){if(e)return t.slice();var n=t.length,r=Tf?Tf(n):new t.constructor(n);return t.copy(r),r}function Ni(t){var e=new t.constructor(t.byteLength);return new Nf(e).set(new Nf(t)),e}function Ti(t,e){var n=e?Ni(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function ji(t){var e=new t.constructor(t.source,$e.exec(t));return e.lastIndex=t.lastIndex,e}function Ci(t){return pl?sf(pl.call(t)):{}}function Ii(t,e){var n=e?Ni(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ai(t,e){if(t!==e){var n=t!==nt,r=null===t,i=t===t,o=ys(t),u=e!==nt,a=null===e,s=e===e,c=ys(e);if(!a&&!c&&!o&&t>e||o&&u&&s&&!a&&!c||r&&u&&s||!n&&s||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||a&&n&&i||!u&&i||!s)return-1}return 0}function ki(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,u=i.length,a=n.length;++r<u;){var s=Ai(i[r],o[r]);if(s){if(r>=a)return s;var c=n[r];return s*("desc"==c?-1:1)}}return t.index-e.index}function Pi(t,e,n,r){for(var i=-1,o=t.length,u=n.length,a=-1,s=e.length,c=qf(o-u,0),f=nf(s+c),l=!r;++a<s;)f[a]=e[a];for(;++i<u;)(l||i<o)&&(f[n[i]]=t[i]);for(;c--;)f[a++]=t[i++];return f}function Ri(t,e,n,r){for(var i=-1,o=t.length,u=-1,a=n.length,s=-1,c=e.length,f=qf(o-a,0),l=nf(f+c),p=!r;++i<f;)l[i]=t[i];for(var h=i;++s<c;)l[h+s]=e[s];for(;++u<a;)(p||i<o)&&(l[h+n[u]]=t[i++]);return l}function Li(t,e){var n=-1,r=t.length;for(e||(e=nf(r));++n<r;)e[n]=t[n];return e}function Mi(t,e,n,r){var i=!n;n||(n={});for(var o=-1,u=e.length;++o<u;){var a=e[o],s=r?r(n[a],t[a],a,n,t):nt;s===nt&&(s=t[a]),i?Rn(n,a,s):Cn(n,a,s)}return n}function Di(t,e){return Mi(t,Sl(t),e)}function zi(t,e){return Mi(t,Nl(t),e)}function Wi(t,e){return function(n,r){var i=mp(n)?u:An,o=e?e():{};return i(n,t,bo(r,2),o)}}function Fi(t){return ni(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:nt,u=i>2?n[2]:nt;for(o=t.length>3&&"function"==typeof o?(i--,o):nt,u&&Ro(n[0],n[1],u)&&(o=i<3?nt:o,i=1),e=sf(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e})}function Bi(t,e){return function(n,r){if(null==n)return n;if(!qa(n))return t(n,r);for(var i=n.length,o=e?i:-1,u=sf(n);(e?o--:++o<i)&&r(u[o],o,u)!==!1;);return n}}function Vi(t){return function(e,n,r){for(var i=-1,o=sf(e),u=r(e),a=u.length;a--;){var s=u[t?a:++i];if(n(o[s],s,o)===!1)break}return e}}function $i(t,e,n){function r(){var e=this&&this!==ir&&this instanceof r?o:t;return e.apply(i?n:this,arguments)}var i=e&vt,o=qi(t);return r}function Hi(t){return function(e){e=Ts(e);var n=B(e)?Z(e):nt,r=n?n[0]:e.charAt(0),i=n?Oi(n,1).join(""):e.slice(1);return r[t]()+i}}function Ui(t){return function(e){return v(Sc(oc(e).replace(Fn,"")),t,"")}}function qi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=dl(t.prototype),r=t.apply(n,e);return is(r)?r:n}}function Yi(t,e,n){function r(){for(var u=arguments.length,a=nf(u),s=u,c=_o(r);s--;)a[s]=arguments[s];var f=u<3&&a[0]!==c&&a[u-1]!==c?[]:q(a,c);if(u-=f.length,u<n)return io(t,e,Ki,r.placeholder,nt,a,f,nt,nt,n-u);var l=this&&this!==ir&&this instanceof r?i:t;return o(l,this,a)}var i=qi(t);return r}function Gi(t){return function(e,n,r){var i=sf(e);if(!qa(e)){var o=bo(n,3);e=Fs(e),n=function(t){return o(i[t],t,i)}}var u=t(e,n,r);return u>-1?i[o?e[u]:u]:nt}}function Ji(t){return vo(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new lf(ut);if(o&&!a&&"wrapper"==go(u))var a=new i([],!0)}for(r=a?r:n;++r<n;){u=e[r];var s=go(u),c="wrapper"==s?Ol(u):nt;a=c&&Do(c[0])&&c[1]==(Et|gt|bt|xt)&&!c[4].length&&1==c[9]?a[go(c[0])].apply(a,c[3]):1==u.length&&Do(u)?a[s]():a.thru(u)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&mp(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function Ki(t,e,n,r,i,o,u,a,s,c){function f(){for(var m=arguments.length,g=nf(m),_=m;_--;)g[_]=arguments[_];if(d)var b=_o(f),w=z(g,b);if(r&&(g=Pi(g,r,i,d)),o&&(g=Ri(g,o,u,d)),m-=w,d&&m<c){var E=q(g,b);return io(t,e,Ki,f.placeholder,n,g,E,a,s,c-m)}var x=p?n:this,O=h?x[t]:t;return m=g.length,a?g=Go(g,a):v&&m>1&&g.reverse(),l&&s<m&&(g.length=s),this&&this!==ir&&this instanceof f&&(O=y||qi(O)),O.apply(x,g)}var l=e&Et,p=e&vt,h=e&yt,d=e&(gt|_t),v=e&Ot,y=h?nt:qi(t);return f}function Qi(t,e){return function(n,r){return Or(n,t,e(r),{})}}function Zi(t,e){return function(n,r){var i;if(n===nt&&r===nt)return e;if(n!==nt&&(i=n),r!==nt){if(i===nt)return r;"string"==typeof n||"string"==typeof r?(n=hi(n),r=hi(r)):(n=pi(n),r=pi(r)),i=t(n,r)}return i}}function Xi(t){return vo(function(e){return e=h(e,P(bo())),ni(function(n){var r=this;return t(e,function(t){return o(t,r,n)})})})}function to(t,e){e=e===nt?" ":hi(e);var n=e.length;if(n<2)return n?ei(e,t):e;var r=ei(e,Wf(t/Q(e)));return B(e)?Oi(Z(r),0,t).join(""):r.slice(0,t)}function eo(t,e,n,r){function i(){for(var e=-1,s=arguments.length,c=-1,f=r.length,l=nf(f+s),p=this&&this!==ir&&this instanceof i?a:t;++c<f;)l[c]=r[c];for(;s--;)l[c++]=arguments[++e];return o(p,u?n:this,l)}var u=e&vt,a=qi(t);return i}function no(t){return function(e,n,r){return r&&"number"!=typeof r&&Ro(e,n,r)&&(n=r=nt),e=ws(e),n===nt?(n=e,e=0):n=ws(n),r=r===nt?e<n?1:-1:ws(r),ti(e,n,r,t)}}function ro(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Os(e),n=Os(n)),t(e,n)}}function io(t,e,n,r,i,o,u,a,s,c){var f=e>,l=f?u:nt,p=f?nt:u,h=f?o:nt,d=f?nt:o;e|=f?bt:wt,e&=~(f?wt:bt),e&mt||(e&=~(vt|yt));var v=[t,e,i,h,l,d,p,a,s,c],y=n.apply(nt,v);return Do(t)&&Cl(y,v),y.placeholder=r,Ko(y,t,e)}function oo(t){var e=af[t];return function(t,n){if(t=Os(t),n=null==n?0:Yf(Es(n),292)){var r=(Ts(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(Ts(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function uo(t){return function(e){var n=Tl(e);return n==Jt?H(e):n==ne?G(e):k(e,t(e))}}function ao(t,e,n,r,i,o,u,a){var s=e&yt;if(!s&&"function"!=typeof t)throw new lf(ut);var c=r?r.length:0;if(c||(e&=~(bt|wt),r=i=nt),u=u===nt?u:qf(Es(u),0),a=a===nt?a:Es(a),c-=i?i.length:0,e&wt){var f=r,l=i;r=i=nt}var p=s?nt:Ol(t),h=[t,e,n,r,i,f,l,o,u,a];if(p&&$o(h,p),t=h[0],e=h[1],n=h[2],r=h[3],i=h[4],a=h[9]=h[9]===nt?s?0:t.length:qf(h[9]-c,0),!a&&e&(gt|_t)&&(e&=~(gt|_t)),e&&e!=vt)d=e==gt||e==_t?Yi(t,e,a):e!=bt&&e!=(vt|bt)||i.length?Ki.apply(nt,h):eo(t,e,n,r);else var d=$i(t,e,n);var v=p?_l:Cl;return Ko(v(d,h),t,e)}function so(t,e,n,r){return t===nt||Ua(t,df[n])&&!mf.call(r,n)?e:t}function co(t,e,n,r,i,o){return is(t)&&is(e)&&(o.set(e,t),Hr(t,e,nt,co,o),o.delete(e)),t}function fo(t){return hs(t)?nt:t}function lo(t,e,n,r,i,o){var u=n&ht,a=t.length,s=e.length;if(a!=s&&!(u&&s>a))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var f=-1,l=!0,p=n&dt?new vn:nt;for(o.set(t,e),o.set(e,t);++f<a;){var h=t[f],d=e[f];if(r)var v=u?r(d,h,f,e,t,o):r(h,d,f,t,e,o);if(v!==nt){if(v)continue;l=!1;break}if(p){if(!m(e,function(t,e){if(!L(p,e)&&(h===t||i(h,t,n,r,o)))return p.push(e)})){l=!1;break}}else if(h!==d&&!i(h,d,n,r,o)){l=!1;break}}return o.delete(t),o.delete(e),l}function po(t,e,n,r,i,o,u){switch(n){case ce:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case se:return!(t.byteLength!=e.byteLength||!o(new Nf(t),new Nf(e)));case $t:case Ht:case Kt:return Ua(+t,+e);case qt:return t.name==e.name&&t.message==e.message;case ee:case re:return t==e+"";case Jt:var a=H;case ne:var s=r&ht;if(a||(a=Y),t.size!=e.size&&!s)return!1;var c=u.get(t);if(c)return c==e;r|=dt,u.set(t,e);var f=lo(a(t),a(e),r,i,o,u);return u.delete(t),f;case ie:if(pl)return pl.call(t)==pl.call(e)}return!1}function ho(t,e,n,r,i,o){var u=n&ht,a=yo(t),s=a.length,c=yo(e),f=c.length;if(s!=f&&!u)return!1;for(var l=s;l--;){var p=a[l];if(!(u?p in e:mf.call(e,p)))return!1}var h=o.get(t);if(h&&o.get(e))return h==e;var d=!0;o.set(t,e),o.set(e,t);for(var v=u;++l<s;){p=a[l];var y=t[p],m=e[p];if(r)var g=u?r(m,y,p,e,t,o):r(y,m,p,t,e,o);if(!(g===nt?y===m||i(y,m,n,r,o):g)){d=!1;break}v||(v="constructor"==p)}if(d&&!v){var _=t.constructor,b=e.constructor;_!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b)&&(d=!1)}return o.delete(t),o.delete(e),d}function vo(t){return Al(qo(t,nt,hu),t+"")}function yo(t){return ur(t,Fs,Sl)}function mo(t){return ur(t,Bs,Nl)}function go(t){for(var e=t.name+"",n=ol[e],r=mf.call(ol,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function _o(t){var e=mf.call(n,"placeholder")?n:t;return e.placeholder}function bo(){var t=n.iteratee||Ac;return t=t===Ac?Dr:t,arguments.length?t(arguments[0],arguments[1]):t}function wo(t,e){var n=t.__data__;return Mo(e)?n["string"==typeof e?"string":"hash"]:n.map}function Eo(t){for(var e=Fs(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Fo(i)]}return e}function xo(t,e){var n=F(t,e);return Pr(n)?n:nt}function Oo(t){var e=mf.call(t,Rf),n=t[Rf];try{t[Rf]=nt;var r=!0}catch(t){}var i=bf.call(t);return r&&(e?t[Rf]=n:delete t[Rf]),i}function So(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":e-=u;break;case"take":e=Yf(e,t+u);break;case"takeRight":t=qf(t,e-u)}}return{start:t,end:e}}function No(t){var e=t.match(ze);return e?e[1].split(We):[]}function To(t,e,n){e=xi(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var u=Xo(e[r]);if(!(o=null!=t&&n(t,u)))break;t=t[u]}return o||++r!=i?o:(i=null==t?0:t.length,!!i&&rs(i)&&Po(u,i)&&(mp(t)||yp(t)))}function jo(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&mf.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Co(t){return"function"!=typeof t.constructor||Wo(t)?{}:dl(jf(t))}function Io(t,e,n){var r=t.constructor;switch(e){case se:return Ni(t);case $t:case Ht:return new r(+t);case ce:return Ti(t,n);case fe:case le:case pe:case he:case de:case ve:case ye:case me:case ge:return Ii(t,n);case Jt:return new r;case Kt:case re:return new r(t);case ee:return ji(t);case ne:return new r;case ie:return Ci(t)}}function Ao(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(De,"{\n/* [wrapped with "+e+"] */\n")}function ko(t){return mp(t)||yp(t)||!!(kf&&t&&t[kf])}function Po(t,e){var n=typeof t;return e=null==e?Pt:e,!!e&&("number"==n||"symbol"!=n&&Ge.test(t))&&t>-1&&t%1==0&&t<e}function Ro(t,e,n){if(!is(n))return!1;var r=typeof e;return!!("number"==r?qa(n)&&Po(e,n.length):"string"==r&&e in n)&&Ua(n[e],t)}function Lo(t,e){if(mp(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ys(t))||(Ie.test(t)||!Ce.test(t)||null!=e&&t in sf(e))}function Mo(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Do(t){var e=go(t),r=n[e];if("function"!=typeof r||!(e in g.prototype))return!1;if(t===r)return!0;var i=Ol(r);return!!i&&t===i[0]}function zo(t){return!!_f&&_f in t}function Wo(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||df;return t===n}function Fo(t){return t===t&&!is(t)}function Bo(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==nt||t in sf(n)))}}function Vo(t){var e=Aa(t,function(t){return n.size===st&&n.clear(),t}),n=e.cache;return e}function $o(t,e){var n=t[1],r=e[1],i=n|r,o=i<(vt|yt|Et),u=r==Et&&n==gt||r==Et&&n==xt&&t[7].length<=e[8]||r==(Et|xt)&&e[7].length<=e[8]&&n==gt;if(!o&&!u)return t;r&vt&&(t[2]=e[2],i|=n&vt?0:mt);var a=e[3];if(a){var s=t[3];t[3]=s?Pi(s,a,e[4]):a,t[4]=s?q(t[3],ct):e[4]}return a=e[5],a&&(s=t[5],t[5]=s?Ri(s,a,e[6]):a,t[6]=s?q(t[5],ct):e[6]),a=e[7],a&&(t[7]=a),r&Et&&(t[8]=null==t[8]?e[8]:Yf(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function Ho(t){var e=[];if(null!=t)for(var n in sf(t))e.push(n);return e}function Uo(t){return bf.call(t)}function qo(t,e,n){return e=qf(e===nt?t.length-1:e,0),function(){for(var r=arguments,i=-1,u=qf(r.length-e,0),a=nf(u);++i<u;)a[i]=r[e+i];i=-1;for(var s=nf(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),o(t,this,s)}}function Yo(t,e){return e.length<2?t:or(t,ai(e,0,-1))}function Go(t,e){for(var n=t.length,r=Yf(e.length,n),i=Li(t);r--;){var o=e[r];t[r]=Po(o,n)?i[o]:nt}return t}function Jo(t,e){if("__proto__"!=e)return t[e]}function Ko(t,e,n){var r=e+"";return Al(t,Ao(r,eu(No(r),n)))}function Qo(t){var e=0,n=0;return function(){var r=Gf(),i=jt-(r-n);if(n=r,i>0){if(++e>=Tt)return arguments[0]}else e=0;return t.apply(nt,arguments)}}function Zo(t,e){var n=-1,r=t.length,i=r-1;for(e=e===nt?r:e;++n<e;){var o=Xr(n,i),u=t[o];t[o]=t[n],t[n]=u}return t.length=e,t}function Xo(t){if("string"==typeof t||ys(t))return t;var e=t+"";return"0"==e&&1/t==-kt?"-0":e}function tu(t){if(null!=t){try{return yf.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function eu(t,e){return a(Wt,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function nu(t){if(t instanceof g)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=Li(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ru(t,e,n){e=(n?Ro(t,e,n):e===nt)?1:qf(Es(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,u=nf(Wf(r/e));i<r;)u[o++]=ai(t,i,i+=e);return u}function iu(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function ou(){var t=arguments.length;if(!t)return[];for(var e=nf(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return d(mp(n)?Li(n):[n],Zn(e,1))}function uu(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Es(e),ai(t,e<0?0:e,r)):[]}function au(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Es(e),e=r-e,ai(t,0,e<0?0:e)):[]}function su(t,e){return t&&t.length?mi(t,bo(e,3),!0,!0):[]}function cu(t,e){return t&&t.length?mi(t,bo(e,3),!0):[]}function fu(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Ro(t,e,n)&&(n=0,r=i),Kn(t,e,n,r)):[]}function lu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Es(n);return i<0&&(i=qf(r+i,0)),w(t,bo(e,3),i)}function pu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==nt&&(i=Es(n),i=n<0?qf(r+i,0):Yf(i,r-1)),w(t,bo(e,3),i,!0)}function hu(t){var e=null==t?0:t.length;return e?Zn(t,1):[]}function du(t){var e=null==t?0:t.length;return e?Zn(t,kt):[]}function vu(t,e){var n=null==t?0:t.length;return n?(e=e===nt?1:Es(e),Zn(t,e)):[]}function yu(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}function mu(t){return t&&t.length?t[0]:nt}function gu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Es(n);return i<0&&(i=qf(r+i,0)),E(t,e,i)}function _u(t){var e=null==t?0:t.length;return e?ai(t,0,-1):[]}function bu(t,e){return null==t?"":Hf.call(t,e)}function wu(t){var e=null==t?0:t.length;return e?t[e-1]:nt}function Eu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==nt&&(i=Es(n),i=i<0?qf(r+i,0):Yf(i,r-1)),e===e?K(t,e,i):w(t,O,i,!0)}function xu(t,e){return t&&t.length?qr(t,Es(e)):nt}function Ou(t,e){return t&&t.length&&e&&e.length?Qr(t,e):t}function Su(t,e,n){return t&&t.length&&e&&e.length?Qr(t,e,bo(n,2)):t}function Nu(t,e,n){return t&&t.length&&e&&e.length?Qr(t,e,nt,n):t}function Tu(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=bo(e,3);++r<o;){var u=t[r];e(u,r,t)&&(n.push(u),i.push(r))}return Zr(t,i),n}function ju(t){return null==t?t:Qf.call(t)}function Cu(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Ro(t,e,n)?(e=0,n=r):(e=null==e?0:Es(e),n=n===nt?r:Es(n)),ai(t,e,n)):[]}function Iu(t,e){return ci(t,e)}function Au(t,e,n){return fi(t,e,bo(n,2))}function ku(t,e){var n=null==t?0:t.length;if(n){var r=ci(t,e);if(r<n&&Ua(t[r],e))return r}return-1}function Pu(t,e){return ci(t,e,!0)}function Ru(t,e,n){return fi(t,e,bo(n,2),!0)}function Lu(t,e){var n=null==t?0:t.length;if(n){var r=ci(t,e,!0)-1;if(Ua(t[r],e))return r}return-1}function Mu(t){return t&&t.length?li(t):[]}function Du(t,e){return t&&t.length?li(t,bo(e,2)):[]}function zu(t){var e=null==t?0:t.length;return e?ai(t,1,e):[]}function Wu(t,e,n){return t&&t.length?(e=n||e===nt?1:Es(e),ai(t,0,e<0?0:e)):[]}function Fu(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Es(e),e=r-e,ai(t,e<0?0:e,r)):[]}function Bu(t,e){return t&&t.length?mi(t,bo(e,3),!1,!0):[]}function Vu(t,e){return t&&t.length?mi(t,bo(e,3)):[]}function $u(t){return t&&t.length?di(t):[]}function Hu(t,e){return t&&t.length?di(t,bo(e,2)):[]}function Uu(t,e){return e="function"==typeof e?e:nt,t&&t.length?di(t,nt,e):[]}function qu(t){if(!t||!t.length)return[];var e=0;return t=f(t,function(t){if(Ya(t))return e=qf(t.length,e),!0}),A(e,function(e){return h(t,N(e))})}function Yu(t,e){if(!t||!t.length)return[];var n=qu(t);return null==e?n:h(n,function(t){return o(e,nt,t)})}function Gu(t,e){return bi(t||[],e||[],Cn)}function Ju(t,e){return bi(t||[],e||[],oi)}function Ku(t){var e=n(t);return e.__chain__=!0,e}function Qu(t,e){return e(t),t}function Zu(t,e){return e(t)}function Xu(){return Ku(this)}function ta(){return new i(this.value(),this.__chain__)}function ea(){this.__values__===nt&&(this.__values__=bs(this.value()));var t=this.__index__>=this.__values__.length,e=t?nt:this.__values__[this.__index__++];return{done:t,value:e}}function na(){return this}function ra(t){for(var e,n=this;n instanceof r;){var i=nu(n);i.__index__=0,i.__values__=nt,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e}function ia(){var t=this.__wrapped__;if(t instanceof g){var e=t;return this.__actions__.length&&(e=new g(this)),e=e.reverse(),e.__actions__.push({func:Zu,args:[ju],thisArg:nt}),new i(e,this.__chain__)}return this.thru(ju)}function oa(){ return gi(this.__wrapped__,this.__actions__)}function ua(t,e,n){var r=mp(t)?c:Hn;return n&&Ro(t,e,n)&&(e=nt),r(t,bo(e,3))}function aa(t,e){var n=mp(t)?f:Qn;return n(t,bo(e,3))}function sa(t,e){return Zn(da(t,e),1)}function ca(t,e){return Zn(da(t,e),kt)}function fa(t,e,n){return n=n===nt?1:Es(n),Zn(da(t,e),n)}function la(t,e){var n=mp(t)?a:vl;return n(t,bo(e,3))}function pa(t,e){var n=mp(t)?s:yl;return n(t,bo(e,3))}function ha(t,e,n,r){t=qa(t)?t:Xs(t),n=n&&!r?Es(n):0;var i=t.length;return n<0&&(n=qf(i+n,0)),vs(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&E(t,e,n)>-1}function da(t,e){var n=mp(t)?h:Br;return n(t,bo(e,3))}function va(t,e,n,r){return null==t?[]:(mp(e)||(e=null==e?[]:[e]),n=r?nt:n,mp(n)||(n=null==n?[]:[n]),Yr(t,e,n))}function ya(t,e,n){var r=mp(t)?v:j,i=arguments.length<3;return r(t,bo(e,4),n,i,vl)}function ma(t,e,n){var r=mp(t)?y:j,i=arguments.length<3;return r(t,bo(e,4),n,i,yl)}function ga(t,e){var n=mp(t)?f:Qn;return n(t,ka(bo(e,3)))}function _a(t){var e=mp(t)?Sn:ri;return e(t)}function ba(t,e,n){e=(n?Ro(t,e,n):e===nt)?1:Es(e);var r=mp(t)?Nn:ii;return r(t,e)}function wa(t){var e=mp(t)?Tn:ui;return e(t)}function Ea(t){if(null==t)return 0;if(qa(t))return vs(t)?Q(t):t.length;var e=Tl(t);return e==Jt||e==ne?t.size:zr(t).length}function xa(t,e,n){var r=mp(t)?m:si;return n&&Ro(t,e,n)&&(e=nt),r(t,bo(e,3))}function Oa(t,e){if("function"!=typeof e)throw new lf(ut);return t=Es(t),function(){if(--t<1)return e.apply(this,arguments)}}function Sa(t,e,n){return e=n?nt:e,e=t&&null==e?t.length:e,ao(t,Et,nt,nt,nt,nt,e)}function Na(t,e){var n;if("function"!=typeof e)throw new lf(ut);return t=Es(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=nt),n}}function Ta(t,e,n){e=n?nt:e;var r=ao(t,gt,nt,nt,nt,nt,nt,e);return r.placeholder=Ta.placeholder,r}function ja(t,e,n){e=n?nt:e;var r=ao(t,_t,nt,nt,nt,nt,nt,e);return r.placeholder=ja.placeholder,r}function Ca(t,e,n){function r(e){var n=p,r=h;return p=h=nt,g=e,v=t.apply(r,n)}function i(t){return g=t,y=Il(a,e),_?r(t):v}function o(t){var n=t-m,r=t-g,i=e-n;return b?Yf(i,d-r):i}function u(t){var n=t-m,r=t-g;return m===nt||n>=e||n<0||b&&r>=d}function a(){var t=op();return u(t)?s(t):void(y=Il(a,o(t)))}function s(t){return y=nt,w&&p?r(t):(p=h=nt,v)}function c(){y!==nt&&El(y),g=0,p=m=h=y=nt}function f(){return y===nt?v:s(op())}function l(){var t=op(),n=u(t);if(p=arguments,h=this,m=t,n){if(y===nt)return i(m);if(b)return y=Il(a,e),r(m)}return y===nt&&(y=Il(a,e)),v}var p,h,d,v,y,m,g=0,_=!1,b=!1,w=!0;if("function"!=typeof t)throw new lf(ut);return e=Os(e)||0,is(n)&&(_=!!n.leading,b="maxWait"in n,d=b?qf(Os(n.maxWait)||0,e):d,w="trailing"in n?!!n.trailing:w),l.cancel=c,l.flush=f,l}function Ia(t){return ao(t,Ot)}function Aa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new lf(ut);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var u=t.apply(this,r);return n.cache=o.set(i,u)||o,u};return n.cache=new(Aa.Cache||cn),n}function ka(t){if("function"!=typeof t)throw new lf(ut);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Pa(t){return Na(2,t)}function Ra(t,e){if("function"!=typeof t)throw new lf(ut);return e=e===nt?e:Es(e),ni(t,e)}function La(t,e){if("function"!=typeof t)throw new lf(ut);return e=null==e?0:qf(Es(e),0),ni(function(n){var r=n[e],i=Oi(n,0,e);return r&&d(i,r),o(t,this,i)})}function Ma(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new lf(ut);return is(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ca(t,e,{leading:r,maxWait:e,trailing:i})}function Da(t){return Sa(t,1)}function za(t,e){return lp(Ei(e),t)}function Wa(){if(!arguments.length)return[];var t=arguments[0];return mp(t)?t:[t]}function Fa(t){return Dn(t,pt)}function Ba(t,e){return e="function"==typeof e?e:nt,Dn(t,pt,e)}function Va(t){return Dn(t,ft|pt)}function $a(t,e){return e="function"==typeof e?e:nt,Dn(t,ft|pt,e)}function Ha(t,e){return null==e||Wn(t,e,Fs(e))}function Ua(t,e){return t===e||t!==t&&e!==e}function qa(t){return null!=t&&rs(t.length)&&!es(t)}function Ya(t){return os(t)&&qa(t)}function Ga(t){return t===!0||t===!1||os(t)&&sr(t)==$t}function Ja(t){return os(t)&&1===t.nodeType&&!hs(t)}function Ka(t){if(null==t)return!0;if(qa(t)&&(mp(t)||"string"==typeof t||"function"==typeof t.splice||_p(t)||Op(t)||yp(t)))return!t.length;var e=Tl(t);if(e==Jt||e==ne)return!t.size;if(Wo(t))return!zr(t).length;for(var n in t)if(mf.call(t,n))return!1;return!0}function Qa(t,e){return Cr(t,e)}function Za(t,e,n){n="function"==typeof n?n:nt;var r=n?n(t,e):nt;return r===nt?Cr(t,e,nt,n):!!r}function Xa(t){if(!os(t))return!1;var e=sr(t);return e==qt||e==Ut||"string"==typeof t.message&&"string"==typeof t.name&&!hs(t)}function ts(t){return"number"==typeof t&&$f(t)}function es(t){if(!is(t))return!1;var e=sr(t);return e==Yt||e==Gt||e==Vt||e==te}function ns(t){return"number"==typeof t&&t==Es(t)}function rs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Pt}function is(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function os(t){return null!=t&&"object"==typeof t}function us(t,e){return t===e||kr(t,e,Eo(e))}function as(t,e,n){return n="function"==typeof n?n:nt,kr(t,e,Eo(e),n)}function ss(t){return ps(t)&&t!=+t}function cs(t){if(jl(t))throw new of(ot);return Pr(t)}function fs(t){return null===t}function ls(t){return null==t}function ps(t){return"number"==typeof t||os(t)&&sr(t)==Kt}function hs(t){if(!os(t)||sr(t)!=Zt)return!1;var e=jf(t);if(null===e)return!0;var n=mf.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&yf.call(n)==wf}function ds(t){return ns(t)&&t>=-Pt&&t<=Pt}function vs(t){return"string"==typeof t||!mp(t)&&os(t)&&sr(t)==re}function ys(t){return"symbol"==typeof t||os(t)&&sr(t)==ie}function ms(t){return t===nt}function gs(t){return os(t)&&Tl(t)==ue}function _s(t){return os(t)&&sr(t)==ae}function bs(t){if(!t)return[];if(qa(t))return vs(t)?Z(t):Li(t);if(Pf&&t[Pf])return $(t[Pf]());var e=Tl(t),n=e==Jt?H:e==ne?Y:Xs;return n(t)}function ws(t){if(!t)return 0===t?t:0;if(t=Os(t),t===kt||t===-kt){var e=t<0?-1:1;return e*Rt}return t===t?t:0}function Es(t){var e=ws(t),n=e%1;return e===e?n?e-n:e:0}function xs(t){return t?Mn(Es(t),0,Mt):0}function Os(t){if("number"==typeof t)return t;if(ys(t))return Lt;if(is(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=is(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Re,"");var n=Ue.test(t);return n||Ye.test(t)?er(t.slice(2),n?2:8):He.test(t)?Lt:+t}function Ss(t){return Mi(t,Bs(t))}function Ns(t){return t?Mn(Es(t),-Pt,Pt):0===t?t:0}function Ts(t){return null==t?"":hi(t)}function js(t,e){var n=dl(t);return null==e?n:kn(n,e)}function Cs(t,e){return b(t,bo(e,3),Xn)}function Is(t,e){return b(t,bo(e,3),nr)}function As(t,e){return null==t?t:ml(t,bo(e,3),Bs)}function ks(t,e){return null==t?t:gl(t,bo(e,3),Bs)}function Ps(t,e){return t&&Xn(t,bo(e,3))}function Rs(t,e){return t&&nr(t,bo(e,3))}function Ls(t){return null==t?[]:rr(t,Fs(t))}function Ms(t){return null==t?[]:rr(t,Bs(t))}function Ds(t,e,n){var r=null==t?nt:or(t,e);return r===nt?n:r}function zs(t,e){return null!=t&&To(t,e,yr)}function Ws(t,e){return null!=t&&To(t,e,br)}function Fs(t){return qa(t)?On(t):zr(t)}function Bs(t){return qa(t)?On(t,!0):Wr(t)}function Vs(t,e){var n={};return e=bo(e,3),Xn(t,function(t,r,i){Rn(n,e(t,r,i),t)}),n}function $s(t,e){var n={};return e=bo(e,3),Xn(t,function(t,r,i){Rn(n,r,e(t,r,i))}),n}function Hs(t,e){return Us(t,ka(bo(e)))}function Us(t,e){if(null==t)return{};var n=h(mo(t),function(t){return[t]});return e=bo(e),Jr(t,n,function(t,n){return e(t,n[0])})}function qs(t,e,n){e=xi(e,t);var r=-1,i=e.length;for(i||(i=1,t=nt);++r<i;){var o=null==t?nt:t[Xo(e[r])];o===nt&&(r=i,o=n),t=es(o)?o.call(t):o}return t}function Ys(t,e,n){return null==t?t:oi(t,e,n)}function Gs(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:oi(t,e,n,r)}function Js(t,e,n){var r=mp(t),i=r||_p(t)||Op(t);if(e=bo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:is(t)&&es(o)?dl(jf(t)):{}}return(i?a:Xn)(t,function(t,r,i){return e(n,t,r,i)}),n}function Ks(t,e){return null==t||vi(t,e)}function Qs(t,e,n){return null==t?t:yi(t,e,Ei(n))}function Zs(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:yi(t,e,Ei(n),r)}function Xs(t){return null==t?[]:R(t,Fs(t))}function tc(t){return null==t?[]:R(t,Bs(t))}function ec(t,e,n){return n===nt&&(n=e,e=nt),n!==nt&&(n=Os(n),n=n===n?n:0),e!==nt&&(e=Os(e),e=e===e?e:0),Mn(Os(t),e,n)}function nc(t,e,n){return e=ws(e),n===nt?(n=e,e=0):n=ws(n),t=Os(t),Er(t,e,n)}function rc(t,e,n){if(n&&"boolean"!=typeof n&&Ro(t,e,n)&&(e=n=nt),n===nt&&("boolean"==typeof e?(n=e,e=nt):"boolean"==typeof t&&(n=t,t=nt)),t===nt&&e===nt?(t=0,e=1):(t=ws(t),e===nt?(e=t,t=0):e=ws(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Kf();return Yf(t+i*(e-t+tr("1e-"+((i+"").length-1))),e)}return Xr(t,e)}function ic(t){return Kp(Ts(t).toLowerCase())}function oc(t){return t=Ts(t),t&&t.replace(Je,mr).replace(Bn,"")}function uc(t,e,n){t=Ts(t),e=hi(e);var r=t.length;n=n===nt?r:Mn(Es(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function ac(t){return t=Ts(t),t&&Se.test(t)?t.replace(xe,gr):t}function sc(t){return t=Ts(t),t&&Pe.test(t)?t.replace(ke,"\\$&"):t}function cc(t,e,n){t=Ts(t),e=Es(e);var r=e?Q(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return to(Ff(i),n)+t+to(Wf(i),n)}function fc(t,e,n){t=Ts(t),e=Es(e);var r=e?Q(t):0;return e&&r<e?t+to(e-r,n):t}function lc(t,e,n){t=Ts(t),e=Es(e);var r=e?Q(t):0;return e&&r<e?to(e-r,n)+t:t}function pc(t,e,n){return n||null==e?e=0:e&&(e=+e),Jf(Ts(t).replace(Le,""),e||0)}function hc(t,e,n){return e=(n?Ro(t,e,n):e===nt)?1:Es(e),ei(Ts(t),e)}function dc(){var t=arguments,e=Ts(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function vc(t,e,n){return n&&"number"!=typeof n&&Ro(t,e,n)&&(e=n=nt),(n=n===nt?Mt:n>>>0)?(t=Ts(t),t&&("string"==typeof e||null!=e&&!Ep(e))&&(e=hi(e),!e&&B(t))?Oi(Z(t),0,n):t.split(e,n)):[]}function yc(t,e,n){return t=Ts(t),n=null==n?0:Mn(Es(n),0,t.length),e=hi(e),t.slice(n,n+e.length)==e}function mc(t,e,r){var i=n.templateSettings;r&&Ro(t,e,r)&&(e=nt),t=Ts(t),e=Cp({},e,i,so);var o,u,a=Cp({},e.imports,i.imports,so),s=Fs(a),c=R(a,s),f=0,l=e.interpolate||Ke,p="__p += '",h=cf((e.escape||Ke).source+"|"+l.source+"|"+(l===je?Ve:Ke).source+"|"+(e.evaluate||Ke).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Yn+"]")+"\n";t.replace(h,function(e,n,r,i,a,s){return r||(r=i),p+=t.slice(f,s).replace(Qe,W),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),a&&(u=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=s+e.length,e}),p+="';\n";var v=e.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(_e,""):p).replace(be,"$1").replace(we,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Qp(function(){return uf(s,d+"return "+p).apply(nt,c)});if(y.source=p,Xa(y))throw y;return y}function gc(t){return Ts(t).toLowerCase()}function _c(t){return Ts(t).toUpperCase()}function bc(t,e,n){if(t=Ts(t),t&&(n||e===nt))return t.replace(Re,"");if(!t||!(e=hi(e)))return t;var r=Z(t),i=Z(e),o=M(r,i),u=D(r,i)+1;return Oi(r,o,u).join("")}function wc(t,e,n){if(t=Ts(t),t&&(n||e===nt))return t.replace(Me,"");if(!t||!(e=hi(e)))return t;var r=Z(t),i=D(r,Z(e))+1;return Oi(r,0,i).join("")}function Ec(t,e,n){if(t=Ts(t),t&&(n||e===nt))return t.replace(Le,"");if(!t||!(e=hi(e)))return t;var r=Z(t),i=M(r,Z(e));return Oi(r,i).join("")}function xc(t,e){var n=St,r=Nt;if(is(e)){var i="separator"in e?e.separator:i;n="length"in e?Es(e.length):n,r="omission"in e?hi(e.omission):r}t=Ts(t);var o=t.length;if(B(t)){var u=Z(t);o=u.length}if(n>=o)return t;var a=n-Q(r);if(a<1)return r;var s=u?Oi(u,0,a).join(""):t.slice(0,a);if(i===nt)return s+r;if(u&&(a+=s.length-a),Ep(i)){if(t.slice(a).search(i)){var c,f=s;for(i.global||(i=cf(i.source,Ts($e.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var l=c.index;s=s.slice(0,l===nt?a:l)}}else if(t.indexOf(hi(i),a)!=a){var p=s.lastIndexOf(i);p>-1&&(s=s.slice(0,p))}return s+r}function Oc(t){return t=Ts(t),t&&Oe.test(t)?t.replace(Ee,_r):t}function Sc(t,e,n){return t=Ts(t),e=n?nt:e,e===nt?V(t)?et(t):_(t):t.match(e)||[]}function Nc(t){var e=null==t?0:t.length,n=bo();return t=e?h(t,function(t){if("function"!=typeof t[1])throw new lf(ut);return[n(t[0]),t[1]]}):[],ni(function(n){for(var r=-1;++r<e;){var i=t[r];if(o(i[0],this,n))return o(i[1],this,n)}})}function Tc(t){return zn(Dn(t,ft))}function jc(t){return function(){return t}}function Cc(t,e){return null==t||t!==t?e:t}function Ic(t){return t}function Ac(t){return Dr("function"==typeof t?t:Dn(t,ft))}function kc(t){return Vr(Dn(t,ft))}function Pc(t,e){return $r(t,Dn(e,ft))}function Rc(t,e,n){var r=Fs(e),i=rr(e,r);null!=n||is(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=rr(e,Fs(e)));var o=!(is(n)&&"chain"in n&&!n.chain),u=es(t);return a(i,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Li(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,d([this.value()],arguments))})}),t}function Lc(){return ir._===this&&(ir._=Ef),this}function Mc(){}function Dc(t){return t=Es(t),ni(function(e){return qr(e,t)})}function zc(t){return Lo(t)?N(Xo(t)):Kr(t)}function Wc(t){return function(e){return null==t?nt:or(t,e)}}function Fc(){return[]}function Bc(){return!1}function Vc(){return{}}function $c(){return""}function Hc(){return!0}function Uc(t,e){if(t=Es(t),t<1||t>Pt)return[];var n=Mt,r=Yf(t,Mt);e=bo(e),t-=Mt;for(var i=A(r,e);++n<t;)e(n);return i}function qc(t){return mp(t)?h(t,Xo):ys(t)?[t]:Li(kl(Ts(t)))}function Yc(t){var e=++gf;return Ts(t)+e}function Gc(t){return t&&t.length?Un(t,Ic,cr):nt}function Jc(t,e){return t&&t.length?Un(t,bo(e,2),cr):nt}function Kc(t){return S(t,Ic)}function Qc(t,e){return S(t,bo(e,2))}function Zc(t){return t&&t.length?Un(t,Ic,Fr):nt}function Xc(t,e){return t&&t.length?Un(t,bo(e,2),Fr):nt}function tf(t){return t&&t.length?I(t,Ic):0}function ef(t,e){return t&&t.length?I(t,bo(e,2)):0}e=null==e?ir:wr.defaults(ir.Object(),e,wr.pick(ir,qn));var nf=e.Array,rf=e.Date,of=e.Error,uf=e.Function,af=e.Math,sf=e.Object,cf=e.RegExp,ff=e.String,lf=e.TypeError,pf=nf.prototype,hf=uf.prototype,df=sf.prototype,vf=e["__core-js_shared__"],yf=hf.toString,mf=df.hasOwnProperty,gf=0,_f=function(){var t=/[^.]+$/.exec(vf&&vf.keys&&vf.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),bf=df.toString,wf=yf.call(sf),Ef=ir._,xf=cf("^"+yf.call(mf).replace(ke,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Of=ar?e.Buffer:nt,Sf=e.Symbol,Nf=e.Uint8Array,Tf=Of?Of.allocUnsafe:nt,jf=U(sf.getPrototypeOf,sf),Cf=sf.create,If=df.propertyIsEnumerable,Af=pf.splice,kf=Sf?Sf.isConcatSpreadable:nt,Pf=Sf?Sf.iterator:nt,Rf=Sf?Sf.toStringTag:nt,Lf=function(){try{var t=xo(sf,"defineProperty");return t({},"",{}),t}catch(t){}}(),Mf=e.clearTimeout!==ir.clearTimeout&&e.clearTimeout,Df=rf&&rf.now!==ir.Date.now&&rf.now,zf=e.setTimeout!==ir.setTimeout&&e.setTimeout,Wf=af.ceil,Ff=af.floor,Bf=sf.getOwnPropertySymbols,Vf=Of?Of.isBuffer:nt,$f=e.isFinite,Hf=pf.join,Uf=U(sf.keys,sf),qf=af.max,Yf=af.min,Gf=rf.now,Jf=e.parseInt,Kf=af.random,Qf=pf.reverse,Zf=xo(e,"DataView"),Xf=xo(e,"Map"),tl=xo(e,"Promise"),el=xo(e,"Set"),nl=xo(e,"WeakMap"),rl=xo(sf,"create"),il=nl&&new nl,ol={},ul=tu(Zf),al=tu(Xf),sl=tu(tl),cl=tu(el),fl=tu(nl),ll=Sf?Sf.prototype:nt,pl=ll?ll.valueOf:nt,hl=ll?ll.toString:nt,dl=function(){function t(){}return function(e){if(!is(e))return{};if(Cf)return Cf(e);t.prototype=e;var n=new t;return t.prototype=nt,n}}();n.templateSettings={escape:Ne,evaluate:Te,interpolate:je,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,i.prototype=dl(r.prototype),i.prototype.constructor=i,g.prototype=dl(r.prototype),g.prototype.constructor=g,tt.prototype.clear=Fe,tt.prototype.delete=Ze,tt.prototype.get=Xe,tt.prototype.has=tn,tt.prototype.set=en,nn.prototype.clear=rn,nn.prototype.delete=on,nn.prototype.get=un,nn.prototype.has=an,nn.prototype.set=sn,cn.prototype.clear=fn,cn.prototype.delete=ln,cn.prototype.get=pn,cn.prototype.has=hn,cn.prototype.set=dn,vn.prototype.add=vn.prototype.push=yn,vn.prototype.has=mn,gn.prototype.clear=_n,gn.prototype.delete=bn,gn.prototype.get=wn,gn.prototype.has=En,gn.prototype.set=xn;var vl=Bi(Xn),yl=Bi(nr,!0),ml=Vi(),gl=Vi(!0),_l=il?function(t,e){return il.set(t,e),t}:Ic,bl=Lf?function(t,e){return Lf(t,"toString",{configurable:!0,enumerable:!1,value:jc(e),writable:!0})}:Ic,wl=ni,El=Mf||function(t){return ir.clearTimeout(t)},xl=el&&1/Y(new el([,-0]))[1]==kt?function(t){return new el(t)}:Mc,Ol=il?function(t){return il.get(t)}:Mc,Sl=Bf?function(t){return null==t?[]:(t=sf(t),f(Bf(t),function(e){return If.call(t,e)}))}:Fc,Nl=Bf?function(t){for(var e=[];t;)d(e,Sl(t)),t=jf(t);return e}:Fc,Tl=sr;(Zf&&Tl(new Zf(new ArrayBuffer(1)))!=ce||Xf&&Tl(new Xf)!=Jt||tl&&Tl(tl.resolve())!=Xt||el&&Tl(new el)!=ne||nl&&Tl(new nl)!=ue)&&(Tl=function(t){var e=sr(t),n=e==Zt?t.constructor:nt,r=n?tu(n):"";if(r)switch(r){case ul:return ce;case al:return Jt;case sl:return Xt;case cl:return ne;case fl:return ue}return e});var jl=vf?es:Bc,Cl=Qo(_l),Il=zf||function(t,e){return ir.setTimeout(t,e)},Al=Qo(bl),kl=Vo(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ae,function(t,n,r,i){e.push(r?i.replace(Be,"$1"):n||t)}),e}),Pl=ni(function(t,e){return Ya(t)?$n(t,Zn(e,1,Ya,!0)):[]}),Rl=ni(function(t,e){var n=wu(e);return Ya(n)&&(n=nt),Ya(t)?$n(t,Zn(e,1,Ya,!0),bo(n,2)):[]}),Ll=ni(function(t,e){var n=wu(e);return Ya(n)&&(n=nt),Ya(t)?$n(t,Zn(e,1,Ya,!0),nt,n):[]}),Ml=ni(function(t){var e=h(t,wi);return e.length&&e[0]===t[0]?xr(e):[]}),Dl=ni(function(t){var e=wu(t),n=h(t,wi);return e===wu(n)?e=nt:n.pop(),n.length&&n[0]===t[0]?xr(n,bo(e,2)):[]}),zl=ni(function(t){var e=wu(t),n=h(t,wi);return e="function"==typeof e?e:nt,e&&n.pop(),n.length&&n[0]===t[0]?xr(n,nt,e):[]}),Wl=ni(Ou),Fl=vo(function(t,e){var n=null==t?0:t.length,r=Ln(t,e);return Zr(t,h(e,function(t){return Po(t,n)?+t:t}).sort(Ai)),r}),Bl=ni(function(t){return di(Zn(t,1,Ya,!0))}),Vl=ni(function(t){var e=wu(t);return Ya(e)&&(e=nt),di(Zn(t,1,Ya,!0),bo(e,2))}),$l=ni(function(t){var e=wu(t);return e="function"==typeof e?e:nt,di(Zn(t,1,Ya,!0),nt,e)}),Hl=ni(function(t,e){return Ya(t)?$n(t,e):[]}),Ul=ni(function(t){return _i(f(t,Ya))}),ql=ni(function(t){var e=wu(t);return Ya(e)&&(e=nt),_i(f(t,Ya),bo(e,2))}),Yl=ni(function(t){var e=wu(t);return e="function"==typeof e?e:nt,_i(f(t,Ya),nt,e)}),Gl=ni(qu),Jl=ni(function(t){var e=t.length,n=e>1?t[e-1]:nt;return n="function"==typeof n?(t.pop(),n):nt,Yu(t,n)}),Kl=vo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Ln(e,t)};return!(e>1||this.__actions__.length)&&r instanceof g&&Po(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Zu,args:[o],thisArg:nt}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(nt),t})):this.thru(o)}),Ql=Wi(function(t,e,n){mf.call(t,n)?++t[n]:Rn(t,n,1)}),Zl=Gi(lu),Xl=Gi(pu),tp=Wi(function(t,e,n){mf.call(t,n)?t[n].push(e):Rn(t,n,[e])}),ep=ni(function(t,e,n){var r=-1,i="function"==typeof e,u=qa(t)?nf(t.length):[];return vl(t,function(t){u[++r]=i?o(e,t,n):Sr(t,e,n)}),u}),np=Wi(function(t,e,n){Rn(t,n,e)}),rp=Wi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ip=ni(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Ro(t,e[0],e[1])?e=[]:n>2&&Ro(e[0],e[1],e[2])&&(e=[e[0]]),Yr(t,Zn(e,1),[])}),op=Df||function(){return ir.Date.now()},up=ni(function(t,e,n){var r=vt;if(n.length){var i=q(n,_o(up));r|=bt}return ao(t,r,e,n,i)}),ap=ni(function(t,e,n){var r=vt|yt;if(n.length){var i=q(n,_o(ap));r|=bt}return ao(e,r,t,n,i)}),sp=ni(function(t,e){return Vn(t,1,e)}),cp=ni(function(t,e,n){return Vn(t,Os(e)||0,n)});Aa.Cache=cn;var fp=wl(function(t,e){e=1==e.length&&mp(e[0])?h(e[0],P(bo())):h(Zn(e,1),P(bo()));var n=e.length;return ni(function(r){for(var i=-1,u=Yf(r.length,n);++i<u;)r[i]=e[i].call(this,r[i]);return o(t,this,r)})}),lp=ni(function(t,e){var n=q(e,_o(lp));return ao(t,bt,nt,e,n)}),pp=ni(function(t,e){var n=q(e,_o(pp));return ao(t,wt,nt,e,n)}),hp=vo(function(t,e){return ao(t,xt,nt,nt,nt,e)}),dp=ro(cr),vp=ro(function(t,e){return t>=e}),yp=Nr(function(){return arguments}())?Nr:function(t){return os(t)&&mf.call(t,"callee")&&!If.call(t,"callee")},mp=nf.isArray,gp=fr?P(fr):Tr,_p=Vf||Bc,bp=lr?P(lr):jr,wp=pr?P(pr):Ar,Ep=hr?P(hr):Rr,xp=dr?P(dr):Lr,Op=vr?P(vr):Mr,Sp=ro(Fr),Np=ro(function(t,e){return t<=e}),Tp=Fi(function(t,e){if(Wo(e)||qa(e))return void Mi(e,Fs(e),t);for(var n in e)mf.call(e,n)&&Cn(t,n,e[n])}),jp=Fi(function(t,e){Mi(e,Bs(e),t)}),Cp=Fi(function(t,e,n,r){Mi(e,Bs(e),t,r)}),Ip=Fi(function(t,e,n,r){Mi(e,Fs(e),t,r)}),Ap=vo(Ln),kp=ni(function(t,e){t=sf(t);var n=-1,r=e.length,i=r>2?e[2]:nt;for(i&&Ro(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],u=Bs(o),a=-1,s=u.length;++a<s;){var c=u[a],f=t[c];(f===nt||Ua(f,df[c])&&!mf.call(t,c))&&(t[c]=o[c])}return t}),Pp=ni(function(t){return t.push(nt,co),o(zp,nt,t)}),Rp=Qi(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=bf.call(e)),t[e]=n},jc(Ic)),Lp=Qi(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=bf.call(e)),mf.call(t,e)?t[e].push(n):t[e]=[n]},bo),Mp=ni(Sr),Dp=Fi(function(t,e,n){Hr(t,e,n)}),zp=Fi(function(t,e,n,r){Hr(t,e,n,r)}),Wp=vo(function(t,e){var n={};if(null==t)return n;var r=!1;e=h(e,function(e){return e=xi(e,t),r||(r=e.length>1),e}),Mi(t,mo(t),n),r&&(n=Dn(n,ft|lt|pt,fo));for(var i=e.length;i--;)vi(n,e[i]);return n}),Fp=vo(function(t,e){return null==t?{}:Gr(t,e)}),Bp=uo(Fs),Vp=uo(Bs),$p=Ui(function(t,e,n){return e=e.toLowerCase(),t+(n?ic(e):e)}),Hp=Ui(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Up=Ui(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),qp=Hi("toLowerCase"),Yp=Ui(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Gp=Ui(function(t,e,n){return t+(n?" ":"")+Kp(e)}),Jp=Ui(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Kp=Hi("toUpperCase"),Qp=ni(function(t,e){try{return o(t,nt,e)}catch(t){return Xa(t)?t:new of(t)}}),Zp=vo(function(t,e){return a(e,function(e){e=Xo(e),Rn(t,e,up(t[e],t))}),t}),Xp=Ji(),th=Ji(!0),eh=ni(function(t,e){return function(n){return Sr(n,t,e)}}),nh=ni(function(t,e){return function(n){return Sr(t,n,e)}}),rh=Xi(h),ih=Xi(c),oh=Xi(m),uh=no(),ah=no(!0),sh=Zi(function(t,e){return t+e},0),ch=oo("ceil"),fh=Zi(function(t,e){return t/e},1),lh=oo("floor"),ph=Zi(function(t,e){return t*e},1),hh=oo("round"),dh=Zi(function(t,e){return t-e},0);return n.after=Oa,n.ary=Sa,n.assign=Tp,n.assignIn=jp,n.assignInWith=Cp,n.assignWith=Ip,n.at=Ap,n.before=Na,n.bind=up,n.bindAll=Zp,n.bindKey=ap,n.castArray=Wa,n.chain=Ku,n.chunk=ru,n.compact=iu,n.concat=ou,n.cond=Nc,n.conforms=Tc,n.constant=jc,n.countBy=Ql,n.create=js,n.curry=Ta,n.curryRight=ja,n.debounce=Ca,n.defaults=kp,n.defaultsDeep=Pp,n.defer=sp,n.delay=cp,n.difference=Pl,n.differenceBy=Rl,n.differenceWith=Ll,n.drop=uu,n.dropRight=au,n.dropRightWhile=su,n.dropWhile=cu,n.fill=fu,n.filter=aa,n.flatMap=sa,n.flatMapDeep=ca,n.flatMapDepth=fa,n.flatten=hu,n.flattenDeep=du,n.flattenDepth=vu,n.flip=Ia,n.flow=Xp,n.flowRight=th,n.fromPairs=yu,n.functions=Ls,n.functionsIn=Ms,n.groupBy=tp,n.initial=_u,n.intersection=Ml,n.intersectionBy=Dl,n.intersectionWith=zl,n.invert=Rp,n.invertBy=Lp,n.invokeMap=ep,n.iteratee=Ac,n.keyBy=np,n.keys=Fs,n.keysIn=Bs,n.map=da,n.mapKeys=Vs,n.mapValues=$s,n.matches=kc,n.matchesProperty=Pc,n.memoize=Aa,n.merge=Dp,n.mergeWith=zp,n.method=eh,n.methodOf=nh,n.mixin=Rc,n.negate=ka,n.nthArg=Dc,n.omit=Wp,n.omitBy=Hs,n.once=Pa,n.orderBy=va,n.over=rh,n.overArgs=fp,n.overEvery=ih,n.overSome=oh,n.partial=lp,n.partialRight=pp,n.partition=rp,n.pick=Fp,n.pickBy=Us,n.property=zc,n.propertyOf=Wc,n.pull=Wl,n.pullAll=Ou,n.pullAllBy=Su,n.pullAllWith=Nu,n.pullAt=Fl,n.range=uh,n.rangeRight=ah,n.rearg=hp,n.reject=ga,n.remove=Tu,n.rest=Ra,n.reverse=ju,n.sampleSize=ba,n.set=Ys,n.setWith=Gs,n.shuffle=wa,n.slice=Cu,n.sortBy=ip,n.sortedUniq=Mu,n.sortedUniqBy=Du,n.split=vc,n.spread=La,n.tail=zu,n.take=Wu,n.takeRight=Fu,n.takeRightWhile=Bu,n.takeWhile=Vu,n.tap=Qu,n.throttle=Ma,n.thru=Zu,n.toArray=bs,n.toPairs=Bp,n.toPairsIn=Vp,n.toPath=qc,n.toPlainObject=Ss,n.transform=Js,n.unary=Da,n.union=Bl,n.unionBy=Vl,n.unionWith=$l,n.uniq=$u,n.uniqBy=Hu,n.uniqWith=Uu,n.unset=Ks,n.unzip=qu,n.unzipWith=Yu,n.update=Qs,n.updateWith=Zs,n.values=Xs,n.valuesIn=tc,n.without=Hl,n.words=Sc,n.wrap=za,n.xor=Ul,n.xorBy=ql,n.xorWith=Yl,n.zip=Gl,n.zipObject=Gu,n.zipObjectDeep=Ju,n.zipWith=Jl,n.entries=Bp,n.entriesIn=Vp,n.extend=jp,n.extendWith=Cp,Rc(n,n),n.add=sh,n.attempt=Qp,n.camelCase=$p,n.capitalize=ic,n.ceil=ch,n.clamp=ec,n.clone=Fa,n.cloneDeep=Va,n.cloneDeepWith=$a,n.cloneWith=Ba,n.conformsTo=Ha,n.deburr=oc,n.defaultTo=Cc,n.divide=fh,n.endsWith=uc,n.eq=Ua,n.escape=ac,n.escapeRegExp=sc,n.every=ua,n.find=Zl,n.findIndex=lu,n.findKey=Cs,n.findLast=Xl,n.findLastIndex=pu,n.findLastKey=Is,n.floor=lh,n.forEach=la,n.forEachRight=pa,n.forIn=As,n.forInRight=ks,n.forOwn=Ps,n.forOwnRight=Rs,n.get=Ds,n.gt=dp,n.gte=vp,n.has=zs,n.hasIn=Ws,n.head=mu,n.identity=Ic,n.includes=ha,n.indexOf=gu,n.inRange=nc,n.invoke=Mp,n.isArguments=yp,n.isArray=mp,n.isArrayBuffer=gp,n.isArrayLike=qa,n.isArrayLikeObject=Ya,n.isBoolean=Ga,n.isBuffer=_p,n.isDate=bp,n.isElement=Ja,n.isEmpty=Ka,n.isEqual=Qa,n.isEqualWith=Za,n.isError=Xa,n.isFinite=ts,n.isFunction=es,n.isInteger=ns,n.isLength=rs,n.isMap=wp,n.isMatch=us,n.isMatchWith=as,n.isNaN=ss,n.isNative=cs,n.isNil=ls,n.isNull=fs,n.isNumber=ps,n.isObject=is,n.isObjectLike=os,n.isPlainObject=hs,n.isRegExp=Ep,n.isSafeInteger=ds,n.isSet=xp,n.isString=vs,n.isSymbol=ys,n.isTypedArray=Op,n.isUndefined=ms,n.isWeakMap=gs,n.isWeakSet=_s,n.join=bu,n.kebabCase=Hp,n.last=wu,n.lastIndexOf=Eu,n.lowerCase=Up,n.lowerFirst=qp,n.lt=Sp,n.lte=Np,n.max=Gc,n.maxBy=Jc,n.mean=Kc,n.meanBy=Qc,n.min=Zc,n.minBy=Xc,n.stubArray=Fc,n.stubFalse=Bc,n.stubObject=Vc,n.stubString=$c,n.stubTrue=Hc,n.multiply=ph,n.nth=xu,n.noConflict=Lc,n.noop=Mc,n.now=op,n.pad=cc,n.padEnd=fc,n.padStart=lc,n.parseInt=pc,n.random=rc,n.reduce=ya,n.reduceRight=ma,n.repeat=hc,n.replace=dc,n.result=qs,n.round=hh,n.runInContext=t,n.sample=_a,n.size=Ea,n.snakeCase=Yp,n.some=xa,n.sortedIndex=Iu,n.sortedIndexBy=Au,n.sortedIndexOf=ku,n.sortedLastIndex=Pu,n.sortedLastIndexBy=Ru,n.sortedLastIndexOf=Lu,n.startCase=Gp,n.startsWith=yc,n.subtract=dh,n.sum=tf,n.sumBy=ef,n.template=mc,n.times=Uc,n.toFinite=ws,n.toInteger=Es,n.toLength=xs,n.toLower=gc,n.toNumber=Os,n.toSafeInteger=Ns,n.toString=Ts,n.toUpper=_c,n.trim=bc,n.trimEnd=wc,n.trimStart=Ec,n.truncate=xc,n.unescape=Oc,n.uniqueId=Yc,n.upperCase=Jp,n.upperFirst=Kp,n.each=la,n.eachRight=pa,n.first=mu,Rc(n,function(){var t={};return Xn(n,function(e,r){mf.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION=rt,a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),a(["drop","take"],function(t,e){g.prototype[t]=function(n){n=n===nt?1:qf(Es(n),0);var r=this.__filtered__&&!e?new g(this):this.clone();return r.__filtered__?r.__takeCount__=Yf(n,r.__takeCount__):r.__views__.push({size:Yf(n,Mt),type:t+(r.__dir__<0?"Right":"")}),r},g.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==Ct||n==At;g.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:bo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");g.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");g.prototype[t]=function(){return this.__filtered__?new g(this):this[n](1)}}),g.prototype.compact=function(){return this.filter(Ic)},g.prototype.find=function(t){return this.filter(t).head()},g.prototype.findLast=function(t){return this.reverse().find(t)},g.prototype.invokeMap=ni(function(t,e){return"function"==typeof t?new g(this):this.map(function(n){return Sr(n,t,e)})}),g.prototype.reject=function(t){return this.filter(ka(bo(t)))},g.prototype.slice=function(t,e){t=Es(t);var n=this;return n.__filtered__&&(t>0||e<0)?new g(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==nt&&(e=Es(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},g.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},g.prototype.toArray=function(){return this.take(Mt)},Xn(g.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),u=n[o?"take"+("last"==e?"Right":""):e],a=o||/^find/.test(e);u&&(n.prototype[e]=function(){var e=this.__wrapped__,s=o?[1]:arguments,c=e instanceof g,f=s[0],l=c||mp(e),p=function(t){var e=u.apply(n,d([t],s));return o&&h?e[0]:e};l&&r&&"function"==typeof f&&1!=f.length&&(c=l=!1);var h=this.__chain__,v=!!this.__actions__.length,y=a&&!h,m=c&&!v;if(!a&&l){e=m?e:new g(this);var _=t.apply(e,s);return _.__actions__.push({func:Zu,args:[p],thisArg:nt}),new i(_,h)}return y&&m?t.apply(this,s):(_=this.thru(p),y?o?_.value()[0]:_.value():_)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var e=pf[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(mp(n)?n:[],t)}return this[r](function(n){return e.apply(mp(n)?n:[],t)})}}),Xn(g.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"",o=ol[i]||(ol[i]=[]);o.push({name:e,func:r})}}),ol[Ki(nt,yt).name]=[{name:"wrapper",func:nt}],g.prototype.clone=T,g.prototype.reverse=J,g.prototype.value=X,n.prototype.at=Kl,n.prototype.chain=Xu,n.prototype.commit=ta,n.prototype.next=ea,n.prototype.plant=ra,n.prototype.reverse=ia,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=oa,n.prototype.first=n.prototype.head,Pf&&(n.prototype[Pf]=na),n},wr=br();ir._=wr,r=function(){return wr}.call(e,n,e,i),!(r!==nt&&(i.exports=r))}).call(this)}).call(e,function(){return this}(),n(98)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){"use strict";var r=n(90),i=n(100),o=n(101),u=n(113),a=r.DOM.div;t.exports=r.createClass({displayName:"PromoCard",propTypes:{className:r.PropTypes.string,content:r.PropTypes.arrayOf(r.PropTypes.object)},render:function(){var t=this.props.content,e=r.createElement(u,{ref:"media"},o("image",t,{ref:"image"})),n=o("headline",t,{className:"c-Card-headline",ref:"headline"}),s=o("onwardJourneyLink",t,{ref:"onward-journey-link"});return a({ref:"promo",className:i(this.props.className,"c-Promo c-Card c-Card--small")},a({className:"u-posRelative u-isActionable",ref:"promo-inner"},e,a({className:"c-Card-body",ref:"card-body"},n),s))}})},function(t,e,n){var r,i;!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var u=n.apply(null,r);u&&t.push(u)}else if("object"===i)for(var a in r)o.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}var o={}.hasOwnProperty;"undefined"!=typeof t&&t.exports?(n.default=n,t.exports=n):(r=[],i=function(){return n}.apply(e,r),!(void 0!==i&&(t.exports=i)))}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return t?T[t](t,e,n):null}Object.defineProperty(e,"__esModule",{value:!0});var o=n(92),u=r(o);e.default=i;var a=n(90),s=r(a),c=n(102),f=r(c),l=n(103),p=r(l),h=n(97),d=r(h),v=n(104),y=r(v),m=n(105),g=r(m),_=n(106),b=r(_),w=n(107),E=r(w),x=n(108),O=r(x),S=n(109),N=n(112),T={headline:function(t,e,n){function r(t){var r=(0,h.get)((0,N.findItemByView)(e,"onward-journey-link"),"data");return r?s.default.createElement(E.default,{href:r.href,fontSize:n.fontSize,className:"c-Headline-link u-inlineBlock"},t):t}var i=(0, h.get)((0,N.findItemByView)(e,t),"data.text");return i?s.default.createElement(b.default,n,r(i)):null},articleText:function(t,e,n){function r(t){var e=(0,h.get)(t,"view");if("paragraph"===e)return a.DOM.p({dangerouslySetInnerHTML:{__html:(0,h.get)(t,"data.html")}});if("list"===e){var n="ordered"===t.format?a.DOM.ol:a.DOM.ul,r=(0,h.get)(t,"data.items")||[],i=r.map(function(t,e){return a.DOM.li({dangerouslySetInnerHTML:{__html:t},key:"listItem"+e})});return n({},i)}return null}var i=(0,N.findItemsByView)(e,["paragraph","list"]),o=i.map(r);return o.length?s.default.createElement(y.default,n,o):null},image:function(t,e,n){function r(t){if(t.sizes&&t.sizes.templateUrl){var e=function(e,n){var r="{width}",i=(t.sizes.widthReplacement||r).replace(r,n);return e.replace(t.sizes.widthPlaceholder||"$recipe",r).replace(r,i)},n=function(t,e){return e.indexOf(t)?t:d.default.min(e)};return{src:t.sizes.templateUrl||t.src,availableWidths:t.sizes.availableWidths||[],customInterpolator:e,alt:t.alt,width:n(480,t.sizes.availableWidths)}}return{src:t.src,alt:t.alt}}var i=(0,h.get)((0,N.findItemByView)(e,t),"data");return i?s.default.createElement(f.default,(0,u.default)({className:"c-Image"},n,r(i))):null},onwardJourneyLink:function(t,e,n){var r=(0,h.get)((0,N.findItemByView)(e,"onward-journey-link"),"data");return r?s.default.createElement(O.default,(0,u.default)({},r,n)):null},attribution:function(t,e,n){var r=(0,h.get)((0,N.findItemByView)(e,"attribution"),"data.text");return r?s.default.createElement(g.default,n,r):null},video:function(t,e,n){var r=(0,h.get)((0,N.findItemByView)(e,"bbc-video"),"data"),i=r.items[0];return s.default.createElement(p.default,(0,u.default)({title:r.title,parentPid:i.parentPid,vpid:i.vpid,holdingImageUrl:r.holdingImage,product:"iplayer",appName:n.appName,mediaType:r.kind,mediaForm:"clip",delayEmbed:!0,superResponsive:!0,controlsAvailableOnMediaEnded:!1,appType:"responsive",ui:{useFontSalt:!0}},n))},riddle:function(t,e,n){var r=(0,h.get)((0,N.findItemByView)(e,"bbc-riddle"),"data"),i=r.items[0];return s.default.createElement(S.Riddle,(0,u.default)({},i,n))}};t.exports=e.default},function(t,e){t.exports=Morph.modules["bbc-morph-responsive-image@1.0.3"]},function(t,e){t.exports=Morph.modules["bbc-morph-smp@2.12.6"]},function(t,e,n){"use strict";var r=n(90),i=n(100),o=r.DOM.div;t.exports=r.createClass({displayName:"ArticleText",propTypes:{className:r.PropTypes.string,fontSize:r.PropTypes.string},render:function(){var t=this.props.fontSize?this.props.fontSize:"gel-long-primer";return o({className:i(this.props.className,"c-Article-text c-Text",t),ref:"article-text"},this.props.children)}})},function(t,e,n){"use strict";var r=n(90),i=n(100),o=r.DOM.p;t.exports=r.createClass({displayName:"Attribution",propTypes:{className:r.PropTypes.string,fontSize:r.PropTypes.string},render:function(){var t=this.props.fontSize?this.props.fontSize:"gel-minion";return o({className:i(this.props.className,"c-Brand",t),ref:"Attribution"},this.props.children)}})},function(t,e,n){"use strict";var r=n(90),i=n(100),o=r.DOM.h2;t.exports=r.createClass({displayName:"Headline",propTypes:{className:r.PropTypes.string,fontSize:r.PropTypes.string},render:function(){var t=this.props.fontSize?this.props.fontSize:"";return o({className:i(this.props.className,"c-Headline "+t)},this.props.children)}})},function(t,e,n){"use strict";var r=n(90),i=n(100),o=r.DOM.a;t.exports=r.createClass({displayName:"Link",propTypes:{className:r.PropTypes.string,href:r.PropTypes.string.isRequired,fontSize:r.PropTypes.string},render:function(){var t=this.props.fontSize?this.props.fontSize:null;return o({className:i(this.props.className,"c-Link",t),href:this.props.href,ref:"Link"},this.props.children)}})},function(t,e,n){"use strict";var r=n(90),i=n(100),o=r.DOM.a;t.exports=r.createClass({displayName:"OnwardJourneyLink",propTypes:{className:r.PropTypes.string,href:r.PropTypes.string.isRequired},render:function(){return o({className:i(this.props.className,"c-OnwardJourneyLink","u-posAbsoluteCenter"),href:this.props.href,ref:"OnwardJourneyLink",tabIndex:"-1","aria-hidden":"true"})}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Riddle=void 0;var i=n(5),o=r(i),u=n(32),a=r(u),s=n(33),c=r(s),f=n(37),l=r(f),p=n(82),h=r(p),d=n(90),v=r(d),y=n(110),m=r(y),g=n(97),_=n(111),b=e.Riddle=function(t){function e(t){(0,a.default)(this,e);var n=(0,l.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return n.state={riddleClassName:"riddle_initial"},n.revealWhenVisible=n.revealWhenVisible.bind(n),n.setRiddleRef=n.setRiddleRef.bind(n),n}return(0,h.default)(e,t),(0,c.default)(e,[{key:"componentDidMount",value:function(){this.addEmbedScript(),this.throttledRevealWhenVisible=(0,g.throttle)(this.revealWhenVisible,1e3),(0,_.addBrowserEventListener)("scroll",this.throttledRevealWhenVisible,{passive:!0}),this.revealWhenVisible()}},{key:"componentWillUnmount",value:function(){(0,_.removeBrowserEventListener)("scroll",this.throttledRevealWhenVisible)}},{key:"componentDidUpdate",value:function(){window.riddleAPI&&window.riddleAPI.update()}},{key:"addEmbedScript",value:function(){var t=document.createElement("script");t.src=(0,m.default)()+"/riddle-embed.min.js",t.defer=!0,document.body.appendChild(t)}},{key:"revealWhenVisible",value:function(){(0,_.elementVisibleInViewport)(this.riddleRef,600)&&((0,_.removeBrowserEventListener)("scroll",this.throttledRevealWhenVisible),this.setState({riddleClassName:"riddle_target"}))}},{key:"setRiddleRef",value:function(t){this.riddleRef=t}},{key:"render",value:function(){var t="//web.archive.org/web/20200219081601/https://www.riddle.com/a/"+this.props.parentRid+"?wide=1";return v.default.createElement("div",{className:this.state.riddleClassName,"data-url":t,"data-auto-scroll":"false",ref:this.setRiddleRef},v.default.createElement("div",{className:"rid-load"}))}}]),e}(d.Component);b.displayName="Riddle",b.propTypes={parentRid:d.PropTypes.string.isRequired}},function(t,e){t.exports=function(){return"//"+Morph.config.cdn+"/modules/bbc-morph-cards-list-view/1.29.2"}},function(t,e){"use strict";function n(){return window.innerHeight||(document.element||document.body).clientHeight}function r(t){return Math.max(t.clientHeight,t.offsetHeight,t.scrollHeight)}function i(t){return t.getBoundingClientRect()}function o(t){return i(t).top}function u(t){return i(t).bottom}Object.defineProperty(e,"__esModule",{value:!0}),e.default={addBrowserEventListener:function(t,e,n){return window.addEventListener(t,e,n)},removeBrowserEventListener:function(t,e){return window.removeEventListener(t,e)},getScrollPercentage:function(t){var e=n()-o(t);return Math.floor(e/r(t)*100)},elementVisibleInViewport:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=t.offsetWidth>0&&t.offsetHeight>0;if(!r)return!1;var i=o(t)<n()+e,a=u(t)>0-e,s=i&&a;return s}},t.exports=e.default},function(t,e){"use strict";function n(t,e){return e=Array.isArray(e)?e:[e],t.filter(function(t){return e.indexOf(t.view)!==-1})}function r(t,e){var r=n(t,e);return r.length>0?r[0]:void 0}t.exports={findItemByView:r,findItemsByView:n}},function(t,e,n){"use strict";var r=n(90),i=n(100),o=r.DOM.div;t.exports=r.createClass({displayName:"Media",propTypes:{className:r.PropTypes.string,backgroundImage:r.PropTypes.string},constructAttributes:function(){var t={};return this.props.backgroundImage&&(t.style={backgroundImage:"url("+this.props.backgroundImage+")"}),t.className="c-Media-content",t},render:function(){return o({className:i("c-Media",this.props.className)},o(this.constructAttributes(),this.props.children))}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){var e=t.className,n=t.content;return u.default.createElement("div",{className:(0,s.default)(e,"c-Riddle c-Card c-Card--small")},u.default.createElement("div",{className:"u-posRelative"},u.default.createElement(p.default,null,(0,f.default)("image",n,{})),u.default.createElement("div",{className:"c-Card-riddle"},(0,f.default)("riddle",n,{className:"c-Card-riddle"})),u.default.createElement("div",{className:"c-Card-body"},(0,f.default)("headline",n,{className:"c-Card-headline"}))))}Object.defineProperty(e,"__esModule",{value:!0}),e.QuizCard=i;var o=n(90),u=r(o),a=n(100),s=r(a),c=n(101),f=r(c),l=n(113),p=r(l);i.displayName="QuizCard",i.propTypes={className:o.PropTypes.string,content:o.PropTypes.arrayOf(o.PropTypes.object)}},function(t,e,n){"use strict";var r=n(90),i=n(100),o=n(101),u=n(113),a=r.DOM.div;t.exports=r.createClass({displayName:"VideoCard",propTypes:{className:r.PropTypes.string,content:r.PropTypes.arrayOf(r.PropTypes.object)},render:function(){var t=this.props.content,e=r.createElement(u,{ref:"media"},o("video",t,{ref:"video",appName:this.props.appName})),n=o("headline",t,{className:"c-Card-headline",ref:"headline"});return a({ref:"video",className:i(this.props.className,"c-Video c-Card c-Card--small")},a({className:"u-posRelative",ref:"video-inner"},e,a({className:"c-Card-body",ref:"card-body"},n)))}})},function(t,e,n){"use strict";var r=n(90),i=n(100),o=n(101),u=n(113),a=r.DOM.div;t.exports=r.createClass({displayName:"ShortArticleCard",propTypes:{className:r.PropTypes.string,content:r.PropTypes.arrayOf(r.PropTypes.object)},render:function(){var t=this.props.content,e=r.createElement(u,{ref:"media"},o("video",t,{ref:"video",appName:this.props.appName})),n=o("headline",t,{className:"c-Card-headline",ref:"headline"}),s=o("articleText",t,{ref:"article-text"}),c=o("attribution",t,{fontSize:"gel-brevier",ref:"attribution"});return a({ref:"short-article",className:i(this.props.className,"c-Card","c-Card--small","c-ShortArticle")},a({className:"u-posRelative",ref:"short-article-inner"},e,a({className:"c-Card-body",ref:"card-body"},n,s,c)))}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollTracker=void 0;var i=n(5),o=r(i),u=n(32),a=r(u),s=n(33),c=r(s),f=n(37),l=r(f),p=n(82),h=r(p),d=n(90),v=r(d),y=n(97),m=n(111),g=e.ScrollTracker=function(t){function e(t){(0,a.default)(this,e);var n=(0,l.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return n.setTrackerRef=n.setTrackerRef.bind(n),n.notifyCallback=n.notifyCallback.bind(n),n.debounceNotifyCallback=(0,y.debounce)(n.notifyCallback,t.idleTime),n}return(0,h.default)(e,t),(0,c.default)(e,[{key:"componentWillUnmount",value:function(){(0,m.removeBrowserEventListener)("scroll",this.debounceNotifyCallback)}},{key:"componentDidMount",value:function(){this.props.enabled?(this.notifyCallback(),(0,m.addBrowserEventListener)("scroll",this.debounceNotifyCallback)):(0,m.removeBrowserEventListener)("scroll",this.debounceNotifyCallback)}},{key:"componentDidUpdate",value:function(t){this.props.enabled!==t.enabled&&(this.props.enabled?(0,m.addBrowserEventListener)("scroll",this.debounceNotifyCallback):(0,m.removeBrowserEventListener)("scroll",this.debounceNotifyCallback))}},{key:"setTrackerRef",value:function(t){this.scrollTracker=t}},{key:"notifyCallback",value:function(){this.props.onScrolled((0,m.getScrollPercentage)(this.scrollTracker))}},{key:"render",value:function(){var t=this.props.children;return v.default.createElement("div",{ref:this.setTrackerRef},t)}}]),e}(d.Component);g.displayName="ScrollTracker",g.propTypes={children:d.PropTypes.node.isRequired,onScrolled:d.PropTypes.func.isRequired,idleTime:d.PropTypes.number,enabled:d.PropTypes.bool}},function(t,e){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(t,e,n){var r="undefined"!=typeof window,i=r?window.Masonry||n(120):null,o=r?n(127):null,u=n(128),a=n(129),s=n(142),c=n(143),f=n(144),l=n(90),p=n(154),h="masonryContainer",d={enableResizableChildren:f.bool,disableImagesLoaded:f.bool,onImagesLoaded:f.func,updateOnEachImageLoad:f.bool,options:f.object,elementType:f.string,onLayoutComplete:f.func,onRemoveComplete:f.func},v=p({masonry:!1,erd:void 0,latestKnownDomChildren:[],displayName:"MasonryComponent",propTypes:d,getDefaultProps:function(){return{enableResizableChildren:!1,disableImagesLoaded:!1,updateOnEachImageLoad:!1,options:{},className:"",elementType:"div",onLayoutComplete:function(){},onRemoveComplete:function(){}}},initializeMasonry:function(t){this.masonry&&!t||(this.masonry=new i(this.refs[h],this.props.options),this.props.onLayoutComplete&&this.masonry.on("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.on("removeComplete",this.props.onRemoveComplete),this.latestKnownDomChildren=this.getCurrentDomChildren())},getCurrentDomChildren:function(){var t=this.refs[h],e=this.props.options.itemSelector?t.querySelectorAll(this.props.options.itemSelector):t.children;return Array.prototype.slice.call(e)},diffDomChildren:function(){var t=!1,e=this.latestKnownDomChildren.filter(function(t){return!!t.parentNode});e.length!==this.latestKnownDomChildren&&(t=!0);var n=this.getCurrentDomChildren(),r=e.filter(function(t){return!~n.indexOf(t)}),i=n.filter(function(t){return!~e.indexOf(t)}),o=0,u=i.filter(function(t){var e=o===n.indexOf(t);return e&&o++,e}),a=i.filter(function(t){return u.indexOf(t)===-1}),s=[];return 0===r.length&&(s=e.filter(function(t,e){return e!==n.indexOf(t)})),this.latestKnownDomChildren=n,{old:e,new:n,removed:r,appended:a,prepended:u,moved:s,forceItemReload:t}},performLayout:function(){var t=this.diffDomChildren();t.removed.length>0&&(this.props.enableResizableChildren&&t.removed.forEach(this.erd.removeAllListeners,this.erd),this.masonry.remove(t.removed),this.masonry.reloadItems()),t.appended.length>0&&(this.masonry.appended(t.appended),0===t.prepended.length&&this.masonry.reloadItems(),this.props.enableResizableChildren&&t.appended.forEach(this.listenToElementResize,this)),t.prepended.length>0&&(this.masonry.prepended(t.prepended),this.props.enableResizableChildren&&t.prepended.forEach(this.listenToElementResize,this)),(t.forceItemReload||t.moved.length>0)&&this.masonry.reloadItems(),this.masonry.layout()},imagesLoaded:function(){this.props.disableImagesLoaded||o(this.refs[h]).on(this.props.updateOnEachImageLoad?"progress":"always",s(function(t){this.props.onImagesLoaded&&this.props.onImagesLoaded(t),this.masonry.layout()}.bind(this),100))},initializeResizableChildren:function(){this.props.enableResizableChildren&&(this.erd=a({strategy:"scroll"}),this.latestKnownDomChildren.forEach(this.listenToElementResize,this))},listenToElementResize:function(t){this.erd.listenTo(t,function(){this.masonry.layout()}.bind(this))},destroyErd:function(){this.erd&&this.latestKnownDomChildren.forEach(this.erd.uninstall,this.erd)},componentDidMount:function(){this.initializeMasonry(),this.initializeResizableChildren(),this.imagesLoaded()},componentDidUpdate:function(){this.performLayout(),this.imagesLoaded()},componentWillUnmount:function(){this.destroyErd(),this.props.onLayoutComplete&&this.masonry.off("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.off("removeComplete",this.props.onRemoveComplete),this.masonry.destroy()},render:function(){var t=c(this.props,Object.keys(d));return l.createElement(this.props.elementType,u({},t,{ref:h}),this.props.children)}});t.exports=v,t.exports.default=v},function(t,e,n){var r,i,o;!function(u,a){i=[n(121),n(123)],r=a,o="function"==typeof r?r.apply(e,i):r,!(void 0!==o&&(t.exports=o))}(window,function(t,e){"use strict";var n=t.create("masonry");n.compatOptions.fitWidth="isFitWidth";var r=n.prototype;return r._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},r.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],n=t&&t.element;this.columnWidth=n&&e(n).outerWidth||this.containerWidth}var r=this.columnWidth+=this.gutter,i=this.containerWidth+this.gutter,o=i/r,u=r-i%r,a=u&&u<1?"round":"floor";o=Math[a](o),this.cols=Math.max(o,1)},r.getContainerWidth=function(){var t=this._getOption("fitWidth"),n=t?this.element.parentNode:this.element,r=e(n);this.containerWidth=r&&r.innerWidth},r._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=e&&e<1?"round":"ceil",r=Math[n](t.size.outerWidth/this.columnWidth);r=Math.min(r,this.cols);for(var i=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",o=this[i](r,t),u={x:this.columnWidth*o.col,y:o.y},a=o.y+t.size.outerHeight,s=r+o.col,c=o.col;c<s;c++)this.colYs[c]=a;return u},r._getTopColPosition=function(t){var e=this._getTopColGroup(t),n=Math.min.apply(Math,e);return{col:e.indexOf(n),y:n}},r._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,r=0;r<n;r++)e[r]=this._getColGroupY(r,t);return e},r._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var n=this.colYs.slice(t,t+e);return Math.max.apply(Math,n)},r._getHorizontalColPosition=function(t,e){var n=this.horizontalColIndex%this.cols,r=t>1&&n+t>this.cols;n=r?0:n;var i=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=i?n+t:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,t)}},r._manageStamp=function(t){var n=e(t),r=this._getElementOffset(t),i=this._getOption("originLeft"),o=i?r.left:r.right,u=o+n.outerWidth,a=Math.floor(o/this.columnWidth);a=Math.max(0,a);var s=Math.floor(u/this.columnWidth);s-=u%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var c=this._getOption("originTop"),f=(c?r.top:r.bottom)+n.outerHeight,l=a;l<=s;l++)this.colYs[l]=Math.max(f,this.colYs[l])},r._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},r._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},r.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},n})},function(t,e,n){var r,i;!function(o,u){"use strict";r=[n(122),n(123),n(124),n(126)],i=function(t,e,n,r){return u(o,t,e,n,r)}.apply(e,r),!(void 0!==i&&(t.exports=i))}(window,function(t,e,n,r,i){"use strict";function o(t,e){var n=r.getQueryElement(t);if(!n)return void(s&&s.error("Bad element for "+this.constructor.namespace+": "+(n||t)));this.element=n,c&&(this.$element=c(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e);var i=++l;this.element.outlayerGUID=i,p[i]=this,this._create();var o=this._getOption("initLayout");o&&this.layout()}function u(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),n=e&&e[1],r=e&&e[2];if(!n.length)return 0;n=parseFloat(n);var i=d[r]||1;return n*i}var s=t.console,c=t.jQuery,f=function(){},l=0,p={};o.namespace="outlayer",o.Item=i,o.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=o.prototype;r.extend(h,e.prototype),h.option=function(t){r.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},o.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,r=[],i=0;i<e.length;i++){var o=e[i],u=new n(o,this);r.push(u)}return r},h._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=n(this.element)},h._getMeasurement=function(t,e){var r,i=this.options[t];i?("string"==typeof i?r=this.element.querySelector(i):i instanceof HTMLElement&&(r=i),this[t]=r?n(r)[e]:i):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var n=[];t.forEach(function(t){var r=this._getItemLayoutPosition(t);r.item=t,r.isInstant=e||t.isLayoutInstant,n.push(r)},this),this._processLayoutQueue(n)}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},h.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},h._positionItem=function(t,e,n,r,i){r?t.goTo(e,n):(t.stagger(i*this.stagger),t.moveTo(e,n))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},h._getContainerSize=f,h._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},h._emitCompleteOnItems=function(t,e){function n(){i.dispatchEvent(t+"Complete",null,[e])}function r(){u++,u==o&&n()}var i=this,o=e.length;if(!e||!o)return void n();var u=0;e.forEach(function(e){e.once(t,r)})},h.dispatchEvent=function(t,e,n){var r=e?[e].concat(n):n;if(this.emitEvent(t,r),c)if(this.$element=this.$element||c(this.element),e){var i=c.Event(e);i.type=t,this.$element.trigger(i,n)}else this.$element.trigger(t,n)},h.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){r.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=r.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=f,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),r=this._boundingRect,i=n(t),o={left:e.left-r.left-i.marginLeft,top:e.top-r.top-i.marginTop,right:r.right-e.right-i.marginRight,bottom:r.bottom-e.bottom-i.marginBottom};return o},h.handleEvent=r.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},r.debounceMethod(o,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=n(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n)}},h.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,n){t.stagger(n*e),t.reveal()})}},h.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,n){t.stagger(n*e),t.hide()})}},h.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},h.getItems=function(t){t=r.makeArray(t);var e=[];return t.forEach(function(t){var n=this.getItem(t);n&&e.push(n)},this),e},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),r.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete p[e],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},o.data=function(t){t=r.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&p[e]},o.create=function(t,e){var n=u(o);return n.defaults=r.extend({},o.defaults),r.extend(n.defaults,e),n.compatOptions=r.extend({},o.compatOptions),n.namespace=t,n.data=o.data,n.Item=u(i),r.htmlInit(n,t),c&&c.bridget&&c.bridget(t,n),n};var d={ms:1,s:1e3};return o.Item=i,o})},function(t,e,n){var r,i;!function(o,u){r=u,i="function"==typeof r?r.call(e,n,e,t):r,!(void 0!==i&&(t.exports=i))}("undefined"!=typeof window?window:this,function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},r=n[t]=n[t]||[];return r.indexOf(e)==-1&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{},r=n[t]=n[t]||{};return r[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var r=n.indexOf(e);return r!=-1&&n.splice(r,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var r=this._onceEvents&&this._onceEvents[t],i=0;i<n.length;i++){var o=n[i],u=r&&r[o];u&&(this.off(t,o),delete r[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})},function(t,e,n){var r,i;!function(o,u){r=u,i="function"==typeof r?r.call(e,n,e,t):r,!(void 0!==i&&(t.exports=i))}(window,function(){"use strict";function t(t){var e=parseFloat(t),n=t.indexOf("%")==-1&&!isNaN(e);return n&&e}function e(){}function n(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<c;e++){var n=s[e];t[n]=0}return t}function r(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function i(){if(!f){f=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(e);var i=r(e);u=200==Math.round(t(i.width)),o.isBoxSizeOuter=u,n.removeChild(e)}}function o(e){if(i(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var o=r(e);if("none"==o.display)return n();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var f=a.isBorderBox="border-box"==o.boxSizing,l=0;l<c;l++){var p=s[l],h=o[p],d=parseFloat(h);a[p]=isNaN(d)?0:d}var v=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,m=a.marginLeft+a.marginRight,g=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,b=a.borderTopWidth+a.borderBottomWidth,w=f&&u,E=t(o.width);E!==!1&&(a.width=E+(w?0:v+_));var x=t(o.height);return x!==!1&&(a.height=x+(w?0:y+b)),a.innerWidth=a.width-(v+_),a.innerHeight=a.height-(y+b),a.outerWidth=a.width+m,a.outerHeight=a.height+g,a}}var u,a="undefined"==typeof console?e:function(t){console.error(t)},s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],c=s.length,f=!1;return o})},function(t,e,n){var r,i;!function(o,u){r=[n(125)],i=function(t){return u(o,t)}.apply(e,r),!(void 0!==i&&(t.exports=i))}(window,function(t,e){"use strict";var n={};n.extend=function(t,e){for(var n in e)t[n]=e[n];return t},n.modulo=function(t,e){return(t%e+e)%e};var r=Array.prototype.slice;n.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?r.call(t):[t]},n.removeFrom=function(t,e){var n=t.indexOf(e);n!=-1&&t.splice(n,1)},n.getParent=function(t,n){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,n))return t},n.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.filterFindElements=function(t,r){t=n.makeArray(t);var i=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!r)return void i.push(t);e(t,r)&&i.push(t);for(var n=t.querySelectorAll(r),o=0;o<n.length;o++)i.push(n[o])}}),i},n.debounceMethod=function(t,e,n){n=n||100;var r=t.prototype[e],i=e+"Timeout";t.prototype[e]=function(){var t=this[i];clearTimeout(t);var e=arguments,o=this;this[i]=setTimeout(function(){r.apply(o,e),delete o[i]},n)}},n.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},n.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()};var i=t.console;return n.htmlInit=function(e,r){n.docReady(function(){var o=n.toDashed(r),u="data-"+o,a=document.querySelectorAll("["+u+"]"),s=document.querySelectorAll(".js-"+o),c=n.makeArray(a).concat(n.makeArray(s)),f=u+"-options",l=t.jQuery;c.forEach(function(t){var n,o=t.getAttribute(u)||t.getAttribute(f);try{n=o&&JSON.parse(o)}catch(e){return void(i&&i.error("Error parsing "+u+" on "+t.className+": "+e))}var a=new e(t,n);l&&l.data(t,r,a)})})},n})},function(t,e,n){var r,i;!function(o,u){"use strict";r=u,i="function"==typeof r?r.call(e,n,e,t):r,!(void 0!==i&&(t.exports=i))}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var r=e[n],i=r+"MatchesSelector";if(t[i])return i}}();return function(e,n){return e[t](n)}})},function(t,e,n){var r,i,o;!function(u,a){i=[n(122),n(123)],r=a,o="function"==typeof r?r.apply(e,i):r,!(void 0!==o&&(t.exports=o))}(window,function(t,e){"use strict";function n(t){for(var e in t)return!1;return e=null,!0}function r(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function i(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var o=document.documentElement.style,u="string"==typeof o.transition?"transition":"WebkitTransition",a="string"==typeof o.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[u],c={transform:a,transition:u,transitionDuration:u+"Duration",transitionProperty:u+"Property",transitionDelay:u+"Delay"},f=r.prototype=Object.create(t.prototype); f.constructor=r,f._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},f.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},f.getSize=function(){this.size=e(this.element)},f.css=function(t){var e=this.element.style;for(var n in t){var r=c[n]||n;e[r]=t[n]}},f.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),r=t[e?"left":"right"],i=t[n?"top":"bottom"],o=parseFloat(r),u=parseFloat(i),a=this.layout.size;r.indexOf("%")!=-1&&(o=o/100*a.width),i.indexOf("%")!=-1&&(u=u/100*a.height),o=isNaN(o)?0:o,u=isNaN(u)?0:u,o-=e?a.paddingLeft:a.paddingRight,u-=n?a.paddingTop:a.paddingBottom,this.position.x=o,this.position.y=u},f.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop"),i=n?"paddingLeft":"paddingRight",o=n?"left":"right",u=n?"right":"left",a=this.position.x+t[i];e[o]=this.getXValue(a),e[u]="";var s=r?"paddingTop":"paddingBottom",c=r?"top":"bottom",f=r?"bottom":"top",l=this.position.y+t[s];e[c]=this.getYValue(l),e[f]="",this.css(e),this.emitEvent("layout",[this])},f.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},f.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},f._transitionTo=function(t,e){this.getPosition();var n=this.position.x,r=this.position.y,i=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),i&&!this.isTransitioning)return void this.layoutPosition();var o=t-n,u=e-r,a={};a.transform=this.getTranslate(o,u),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},f.getTranslate=function(t,e){var n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop");return t=n?t:-t,e=r?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},f.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},f.moveTo=f._transitionTo,f.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},f._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},f.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);if(t.from){this.css(t.from);var r=this.element.offsetHeight;r=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+i(a);f.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},f.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},f.onotransitionend=function(t){this.ontransitionend(t)};var p={"-webkit-transform":"transform"};f.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,r=p[t.propertyName]||t.propertyName;if(delete e.ingProperties[r],n(e.ingProperties)&&this.disableTransition(),r in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[r]),r in e.onEnd){var i=e.onEnd[r];i.call(this),delete e.onEnd[r]}this.emitEvent("transitionEnd",[this])}},f.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},f._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return f.removeTransitionStyles=function(){this.css(h)},f.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},f.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},f.remove=function(){return u&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},f.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},n=this.getHideRevealTransitionEndProperty("visibleStyle");e[n]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},f.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},f.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var n in e)return n},f.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},n=this.getHideRevealTransitionEndProperty("hiddenStyle");e[n]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},f.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},f.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},r})},function(t,e,n){var r,i;!function(o,u){"use strict";r=[n(122)],i=function(t){return u(o,t)}.apply(e,r),!(void 0!==i&&(t.exports=i))}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(t,e){for(var n in e)t[n]=e[n];return t}function r(t){if(Array.isArray(t))return t;var e="object"==typeof t&&"number"==typeof t.length;return e?c.call(t):[t]}function i(t,e,o){if(!(this instanceof i))return new i(t,e,o);var u=t;return"string"==typeof t&&(u=document.querySelectorAll(t)),u?(this.elements=r(u),this.options=n({},this.options),"function"==typeof e?o=e:n(this.options,e),o&&this.on("always",o),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void s.error("Bad element for imagesLoaded "+(u||t))}function o(t){this.img=t}function u(t,e){this.url=t,this.element=e,this.img=new Image}var a=t.jQuery,s=t.console,c=Array.prototype.slice;i.prototype=Object.create(e.prototype),i.prototype.options={},i.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},i.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),this.options.background===!0&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&f[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++){var i=n[r];this.addImage(i)}if("string"==typeof this.options.background){var o=t.querySelectorAll(this.options.background);for(r=0;r<o.length;r++){var u=o[r];this.addElementBackgroundImages(u)}}}};var f={1:!0,9:!0,11:!0};return i.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var i=r&&r[2];i&&this.addBackground(i,t),r=n.exec(e.backgroundImage)}},i.prototype.addImage=function(t){var e=new o(t);this.images.push(e)},i.prototype.addBackground=function(t,e){var n=new u(t,e);this.images.push(n)},i.prototype.check=function(){function t(t,n,r){setTimeout(function(){e.progress(t,n,r)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},i.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&s&&s.log("progress: "+n,t,e)},i.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},o.prototype=Object.create(e.prototype),o.prototype.check=function(){var t=this.getIsImageComplete();return t?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},o.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},o.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},u.prototype=Object.create(o.prototype),u.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var t=this.getIsImageComplete();t&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},u.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},u.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},i.makeJQueryPlugin=function(e){e=e||t.jQuery,e&&(a=e,a.fn.imagesLoaded=function(t,e){var n=new i(this,t,e);return n.jqDeferred.promise(a(this))})},i.makeJQueryPlugin(),i})},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function r(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function i(t,e){return function(n){return t(e(n))}}function o(t,e){var n=L(t)||v(t)?r(t.length,String):[],i=n.length,o=!!i;for(var u in t)!e&&!C.call(t,u)||o&&("length"==u||l(u,i))||n.push(u);return n}function u(t,e,n){var r=t[e];C.call(t,e)&&d(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function a(t){if(!h(t))return k(t);var e=[];for(var n in Object(t))C.call(t,n)&&"constructor"!=n&&e.push(n);return e}function s(t,e){return e=P(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=P(r.length-e,0),u=Array(o);++i<o;)u[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=u,n(t,this,a)}}function c(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;u(n,a,void 0===s?t[a]:s)}return n}function f(t){return s(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&p(n[0],n[1],u)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e})}function l(t,e){return e=null==e?x:e,!!e&&("number"==typeof t||T.test(t))&&t>-1&&t%1==0&&t<e}function p(t,e,n){if(!b(n))return!1;var r=typeof e;return!!("number"==r?y(n)&&l(e,n.length):"string"==r&&e in n)&&d(n[e],t)}function h(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||j;return t===n}function d(t,e){return t===e||t!==t&&e!==e}function v(t){return m(t)&&C.call(t,"callee")&&(!A.call(t,"callee")||I.call(t)==O)}function y(t){return null!=t&&_(t.length)&&!g(t)}function m(t){return w(t)&&y(t)}function g(t){var e=b(t)?I.call(t):"";return e==S||e==N}function _(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=x}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function w(t){return!!t&&"object"==typeof t}function E(t){return y(t)?o(t):a(t)}var x=9007199254740991,O="[object Arguments]",S="[object Function]",N="[object GeneratorFunction]",T=/^(?:0|[1-9]\d*)$/,j=Object.prototype,C=j.hasOwnProperty,I=j.toString,A=j.propertyIsEnumerable,k=i(Object.keys,Object),P=Math.max,R=!A.call({valueOf:1},"valueOf"),L=Array.isArray,M=f(function(t,e){if(R||h(e)||y(e))return void c(e,E(e),t);for(var n in e)C.call(e,n)&&u(t,n,e[n])});t.exports=M},function(t,e,n){"use strict";function r(t){return Array.isArray(t)||void 0!==t.length}function i(t){if(Array.isArray(t))return t;var e=[];return a(t,function(t){e.push(t)}),e}function o(t){return t&&1===t.nodeType}function u(t,e,n){var r=t[e];return void 0!==r&&null!==r||void 0===n?r:n}var a=n(130).forEach,s=n(131),c=n(132),f=n(133),l=n(134),p=n(135),h=n(136),d=n(137),v=n(139),y=n(140),m=n(141);t.exports=function(t){function e(t,e,n){function s(t){var e=N.get(t);a(e,function(e){e(t)})}function c(t,e,n){N.add(e,n),t&&n(e)}if(n||(n=e,e=t,t={}),!e)throw new Error("At least one element required.");if(!n)throw new Error("Listener required.");if(o(e))e=[e];else{if(!r(e))return w.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=i(e)}var f=0,l=u(t,"callOnAdd",O.callOnAdd),p=u(t,"onReady",function(){}),h=u(t,"debug",O.debug);a(e,function(t){v.getState(t)||(v.initState(t),g.set(t));var r=g.get(t);return h&&w.log("Attaching listener to element",r,t),T.isDetectable(t)?(h&&w.log(r,"Already detecable, adding listener."),c(l,t,n),void f++):(h&&w.log(r,"Not detectable."),T.isBusy(t)?(h&&w.log(r,"System busy making it detectable"),c(l,t,n),I[r]=I[r]||[],void I[r].push(function(){f++,f===e.length&&p()})):(h&&w.log(r,"Making detectable..."),T.markBusy(t,!0),S.makeDetectable({debug:h},t,function(t){if(h&&w.log(r,"onElementDetectable"),v.getState(t)){T.markAsDetectable(t),T.markBusy(t,!1),S.addListener(t,s),c(l,t,n);var i=v.getState(t);if(i&&i.startSize){var o=t.offsetWidth,u=t.offsetHeight;i.startSize.width===o&&i.startSize.height===u||s(t)}I[r]&&a(I[r],function(t){t()})}else h&&w.log(r,"Element uninstalled before being detectable.");delete I[r],f++,f===e.length&&p()})))}),f===e.length&&p()}function n(t){if(!t)return w.error("At least one element is required.");if(o(t))t=[t];else{if(!r(t))return w.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");t=i(t)}a(t,function(t){N.removeAllListeners(t),S.uninstall(t),v.cleanState(t)})}t=t||{};var g;if(t.idHandler)g={get:function(e){return t.idHandler.get(e,!0)},set:t.idHandler.set};else{var _=f(),b=l({idGenerator:_,stateHandler:v});g=b}var w=t.reporter;if(!w){var E=w===!1;w=p(E)}var x=u(t,"batchProcessor",d({reporter:w})),O={};O.callOnAdd=!!u(t,"callOnAdd",!0),O.debug=!!u(t,"debug",!1);var S,N=c(g),T=s({stateHandler:v}),j=u(t,"strategy","object"),C={reporter:w,batchProcessor:x,stateHandler:v,idHandler:g};if("scroll"===j&&(h.isLegacyOpera()?(w.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),j="object"):h.isIE(9)&&(w.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),j="object")),"scroll"===j)S=m(C);else{if("object"!==j)throw new Error("Invalid strategy name: "+j);S=y(C)}var I={};return{listenTo:e,removeListener:N.removeListener,removeAllListeners:N.removeAllListeners,uninstall:n}}},function(t,e){"use strict";var n=t.exports={};n.forEach=function(t,e){for(var n=0;n<t.length;n++){var r=e(t[n]);if(r)return r}}},function(t,e){"use strict";t.exports=function(t){function e(t){var e=o(t);return e&&!!e.isDetectable}function n(t){o(t).isDetectable=!0}function r(t){return!!o(t).busy}function i(t,e){o(t).busy=!!e}var o=t.stateHandler.getState;return{isDetectable:e,markAsDetectable:n,isBusy:r,markBusy:i}}},function(t,e){"use strict";t.exports=function(t){function e(e){var n=t.get(e);return void 0===n?[]:o[n]||[]}function n(e,n){var r=t.get(e);o[r]||(o[r]=[]),o[r].push(n)}function r(t,n){for(var r=e(t),i=0,o=r.length;i<o;++i)if(r[i]===n){r.splice(i,1);break}}function i(t){var n=e(t);n&&(n.length=0)}var o={};return{get:e,add:n,removeListener:r,removeAllListeners:i}}},function(t,e){"use strict";t.exports=function(){function t(){return e++}var e=1;return{generate:t}}},function(t,e){"use strict";t.exports=function(t){function e(t){var e=i(t);return e&&void 0!==e.id?e.id:null}function n(t){var e=i(t);if(!e)throw new Error("setId required the element to have a resize detection state.");var n=r.generate();return e.id=n,n}var r=t.idGenerator,i=t.stateHandler.getState;return{get:e,set:n}}},function(t,e){"use strict";t.exports=function(t){function e(){}var n={log:e,warn:e,error:e};if(!t&&window.console){var r=function(t,e){t[e]=function(){var t=console[e];if(t.apply)t.apply(console,arguments);else for(var n=0;n<arguments.length;n++)t(arguments[n])}};r(n,"log"),r(n,"warn"),r(n,"error")}return n}},function(t,e){"use strict";var n=t.exports={};n.isIE=function(t){function e(){var t=navigator.userAgent.toLowerCase();return t.indexOf("msie")!==-1||t.indexOf("trident")!==-1||t.indexOf(" edge/")!==-1}if(!e())return!1;if(!t)return!0;var n=function(){var t,e=3,n=document.createElement("div"),r=n.getElementsByTagName("i");do n.innerHTML="<!--[if gt IE "+ ++e+"]><i></i><![endif]-->";while(r[0]);return e>4?e:t}();return t===n},n.isLegacyOpera=function(){return!!window.opera}},function(t,e,n){"use strict";function r(){function t(t,e){e||(e=t,t=0),t>o?o=t:t<u&&(u=t),r[t]||(r[t]=[]),r[t].push(e),i++}function e(){for(var t=u;t<=o;t++)for(var e=r[t],n=0;n<e.length;n++){var i=e[n];i()}}function n(){return i}var r={},i=0,o=0,u=0;return{add:t,process:e,size:n}}var i=n(138);t.exports=function(t){function e(t,e){!d&&l&&f&&0===h.size()&&u(),h.add(t,e)}function n(){for(d=!0;h.size();){var t=h;h=r(),t.process()}d=!1}function o(t){d||(void 0===t&&(t=f),p&&(a(p),p=null),t?u():n())}function u(){p=s(n)}function a(t){var e=clearTimeout;return e(t)}function s(t){var e=function(t){return setTimeout(t,0)};return e(t)}t=t||{};var c=t.reporter,f=i.getOption(t,"async",!0),l=i.getOption(t,"auto",!0);l&&!f&&(c&&c.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),f=!0);var p,h=r(),d=!1;return{add:e,force:o}}},function(t,e){"use strict";function n(t,e,n){var r=t[e];return void 0!==r&&null!==r||void 0===n?r:n}var r=t.exports={};r.getOption=n},function(t,e){"use strict";function n(t){return t[o]={},r(t)}function r(t){return t[o]}function i(t){delete t[o]}var o="_erd";t.exports={initState:n,getState:r,cleanState:i}},function(t,e,n){"use strict";var r=n(136);t.exports=function(t){function e(t,e){function n(){e(t)}if(!i(t))throw new Error("Element is not detectable by this strategy.");if(r.isIE(8))s(t).object={proxy:n},t.attachEvent("onresize",n);else{var o=i(t);o.contentDocument.defaultView.addEventListener("resize",n)}}function n(t,e,n){function i(t,e){function n(){function n(){if("static"===c.position){t.style.position="relative";var e=function(t,e,n,r){function i(t){return t.replace(/[^-\d\.]/g,"")}var o=n[r];"auto"!==o&&"0"!==i(o)&&(t.warn("An element that is positioned static has style."+r+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",e),e.style[r]=0)};e(u,t,c,"top"),e(u,t,c,"right"),e(u,t,c,"bottom"),e(u,t,c,"left")}}function a(){function r(t,e){return t.contentDocument?void e(t.contentDocument):void setTimeout(function(){r(t,e)},100)}o||n();var i=this;r(i,function(n){e(t)})}""!==c.position&&(n(c),o=!0);var f=document.createElement("object");f.style.cssText=i,f.tabIndex=-1,f.type="text/html",f.setAttribute("aria-hidden","true"),f.onload=a,r.isIE()||(f.data="about:blank"),t.appendChild(f),s(t).object=f,r.isIE()&&(f.data="about:blank")}var i="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;",o=!1,c=window.getComputedStyle(t),f=t.offsetWidth,l=t.offsetHeight;s(t).startSize={width:f,height:l},a?a.add(n):n()}n||(n=e,e=t,t=null),t=t||{};t.debug;r.isIE(8)?n(e):i(e,n)}function i(t){return s(t).object}function o(t){r.isIE(8)?t.detachEvent("onresize",s(t).object.proxy):t.removeChild(i(t)),delete s(t).object}t=t||{};var u=t.reporter,a=t.batchProcessor,s=t.stateHandler.getState;if(!u)throw new Error("Missing required dependency: reporter.");return{makeDetectable:n,addListener:e,uninstall:o}}},function(t,e,n){"use strict";var r=n(130).forEach;t.exports=function(t){function e(){var t=500,e=500,n=document.createElement("div");n.style.cssText="position: absolute; width: "+2*t+"px; height: "+2*e+"px; visibility: hidden; margin: 0; padding: 0;";var r=document.createElement("div");r.style.cssText="position: absolute; width: "+t+"px; height: "+e+"px; overflow: scroll; visibility: none; top: "+3*-t+"px; left: "+3*-e+"px; visibility: hidden; margin: 0; padding: 0;",r.appendChild(n),document.body.insertBefore(r,document.body.firstChild);var i=t-r.clientWidth,o=e-r.clientHeight;return document.body.removeChild(r),{width:i,height:o}}function n(t,e){function n(e,n){n=n||function(t){document.head.appendChild(t)};var r=document.createElement("style");return r.innerHTML=e,r.id=t,n(r),r}if(!document.getElementById(t)){var r=e+"_animation",i=e+"_animation_active",o="/* Created by the element-resize-detector library. */\n";o+="."+e+" > div::-webkit-scrollbar { display: none; }\n\n",o+="."+i+" { -webkit-animation-duration: 0.1s; animation-duration: 0.1s; -webkit-animation-name: "+r+"; animation-name: "+r+"; }\n",o+="@-webkit-keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",o+="@keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",n(o)}}function i(t){t.className+=" "+g+"_animation_active"}function o(t,e,n){if(t.addEventListener)t.addEventListener(e,n);else{if(!t.attachEvent)return p.error("[scroll] Don't know how to add event listeners.");t.attachEvent("on"+e,n)}}function u(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n);else{if(!t.detachEvent)return p.error("[scroll] Don't know how to remove event listeners.");t.detachEvent("on"+e,n)}}function a(t){return d(t).container.childNodes[0].childNodes[0].childNodes[0]}function s(t){return d(t).container.childNodes[0].childNodes[0].childNodes[1]}function c(t,e){var n=d(t).listeners;if(!n.push)throw new Error("Cannot add listener to an element that is not detectable.");d(t).listeners.push(e)}function f(t,e,n){function u(){if(t.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(v.get(e),"Scroll: "),p.log.apply)p.log.apply(null,n);else for(var r=0;r<n.length;r++)p.log(n[r])}}function c(t){function e(t){return t===t.ownerDocument.body||t.ownerDocument.body.contains(t)}return!e(t)||null===window.getComputedStyle(t)}function f(t){var e=d(t).container.childNodes[0],n=window.getComputedStyle(e);return!n.width||n.width.indexOf("px")===-1}function l(){var t=window.getComputedStyle(e),n={};return n.position=t.position,n.width=e.offsetWidth,n.height=e.offsetHeight,n.top=t.top,n.right=t.right,n.bottom=t.bottom,n.left=t.left,n.widthCSS=t.width,n.heightCSS=t.height,n}function m(){var t=l();d(e).startSize={width:t.width,height:t.height},u("Element start size",d(e).startSize)}function _(){d(e).listeners=[]}function b(){if(u("storeStyle invoked."),!d(e))return void u("Aborting because element has been uninstalled");var t=l();d(e).style=t}function w(t,e,n){d(t).lastWidth=e,d(t).lastHeight=n}function E(t){return a(t).childNodes[0]}function x(){return 2*y.width+1}function O(){return 2*y.height+1}function S(t){return t+10+x()}function N(t){return t+10+O()}function T(t){return 2*t+x()}function j(t){return 2*t+O()}function C(t,e,n){var r=a(t),i=s(t),o=S(e),u=N(n),c=T(e),f=j(n);r.scrollLeft=o,r.scrollTop=u,i.scrollLeft=c,i.scrollTop=f}function I(){var t=d(e).container;if(!t){t=document.createElement("div"),t.className=g,t.style.cssText="visibility: hidden; display: inline; width: 0px; height: 0px; z-index: -1; overflow: hidden; margin: 0; padding: 0;",d(e).container=t,i(t),e.appendChild(t);var n=function(){d(e).onRendered&&d(e).onRendered()};o(t,"animationstart",n),d(e).onAnimationStart=n}return t}function A(){function t(){var t=d(e).style;if("static"===t.position){e.style.position="relative";var n=function(t,e,n,r){function i(t){return t.replace(/[^-\d\.]/g,"")}var o=n[r];"auto"!==o&&"0"!==i(o)&&(t.warn("An element that is positioned static has style."+r+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",e),e.style[r]=0)};n(p,e,t,"top"),n(p,e,t,"right"),n(p,e,t,"bottom"),n(p,e,t,"left")}}function n(t,e,n,r){return t=t?t+"px":"0",e=e?e+"px":"0",n=n?n+"px":"0",r=r?r+"px":"0","left: "+t+"; top: "+e+"; right: "+r+"; bottom: "+n+";"}function r(){d(e).onExpand&&d(e).onExpand()}function i(){d(e).onShrink&&d(e).onShrink()}if(u("Injecting elements"),!d(e))return void u("Aborting because element has been uninstalled");t();var a=d(e).container;a||(a=I());var s=y.width,c=y.height,f="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; width: 100%; height: 100%; left: 0px; top: 0px;",l="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; "+n(-(1+s),-(1+c),-c,-s),h="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",v="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",m="position: absolute; left: 0; top: 0;",_="position: absolute; width: 200%; height: 200%;",b=document.createElement("div"),w=document.createElement("div"),E=document.createElement("div"),x=document.createElement("div"),O=document.createElement("div"),S=document.createElement("div");b.dir="ltr",b.style.cssText=f,b.className=g,w.className=g,w.style.cssText=l,E.style.cssText=h,x.style.cssText=m,O.style.cssText=v,S.style.cssText=_,E.appendChild(x),O.appendChild(S),w.appendChild(E),w.appendChild(O),b.appendChild(w),a.appendChild(b),o(E,"scroll",r),o(O,"scroll",i),d(e).onExpandScroll=r,d(e).onShrinkScroll=i}function k(){function n(t,e,n){var r=E(t),i=S(e),o=N(n);r.style.width=i+"px",r.style.height=o+"px"}function i(r){var i=e.offsetWidth,a=e.offsetHeight;u("Storing current size",i,a),w(e,i,a),h.add(0,function(){if(!d(e))return void u("Aborting because element has been uninstalled");if(!o())return void u("Aborting because element container has not been initialized");if(t.debug){var r=e.offsetWidth,s=e.offsetHeight;r===i&&s===a||p.warn(v.get(e),"Scroll: Size changed before updating detector elements.")}n(e,i,a)}),h.add(1,function(){return d(e)?o()?void C(e,i,a):void u("Aborting because element container has not been initialized"):void u("Aborting because element has been uninstalled")}),r&&h.add(2,function(){return d(e)?o()?void r():void u("Aborting because element container has not been initialized"):void u("Aborting because element has been uninstalled")})}function o(){return!!d(e).container}function c(){function t(){return void 0===d(e).lastNotifiedWidth}u("notifyListenersIfNeeded invoked");var n=d(e);return t()&&n.lastWidth===n.startSize.width&&n.lastHeight===n.startSize.height?u("Not notifying: Size is the same as the start size, and there has been no notification yet."):n.lastWidth===n.lastNotifiedWidth&&n.lastHeight===n.lastNotifiedHeight?u("Not notifying: Size already notified"):(u("Current size not notified, notifying..."),n.lastNotifiedWidth=n.lastWidth,n.lastNotifiedHeight=n.lastHeight,void r(d(e).listeners,function(t){t(e)}))}function l(){if(u("startanimation triggered."),f(e))return void u("Ignoring since element is still unrendered...");u("Element rendered.");var t=a(e),n=s(e);0!==t.scrollLeft&&0!==t.scrollTop&&0!==n.scrollLeft&&0!==n.scrollTop||(u("Scrollbars out of sync. Updating detector elements..."),i(c))}function y(){if(u("Scroll detected."),f(e))return void u("Scroll event fired while unrendered. Ignoring...");var t=e.offsetWidth,n=e.offsetHeight;t!==d(e).lastWidth||n!==d(e).lastHeight?(u("Element size changed."),i(c)):u("Element size has not changed ("+t+"x"+n+").")}if(u("registerListenersAndPositionElements invoked."),!d(e))return void u("Aborting because element has been uninstalled");d(e).onRendered=l,d(e).onExpand=y,d(e).onShrink=y;var m=d(e).style;n(e,m.width,m.height)}function P(){if(u("finalizeDomMutation invoked."),!d(e))return void u("Aborting because element has been uninstalled");var t=d(e).style;w(e,t.width,t.height),C(e,t.width,t.height)}function R(){n(e)}function L(){u("Installing..."),_(),m(),h.add(0,b),h.add(1,A),h.add(2,k),h.add(3,P),h.add(4,R)}n||(n=e,e=t,t=null),t=t||{},u("Making detectable..."),c(e)?(u("Element is detached"),I(),u("Waiting until element is attached..."),d(e).onRendered=function(){u("Element is now attached"),L()}):L()}function l(t){var e=d(t);e&&(e.onExpandScroll&&u(a(t),"scroll",e.onExpandScroll),e.onShrinkScroll&&u(s(t),"scroll",e.onShrinkScroll),e.onAnimationStart&&u(e.container,"animationstart",e.onAnimationStart),e.container&&t.removeChild(e.container))}t=t||{};var p=t.reporter,h=t.batchProcessor,d=t.stateHandler.getState,v=(t.stateHandler.hasState,t.idHandler);if(!h)throw new Error("Missing required dependency: batchProcessor");if(!p)throw new Error("Missing required dependency: reporter.");var y=e(),m="erd_scroll_detection_scrollbar_style",g="erd_scroll_detection_container";return n(m,g),{makeDetectable:f,addListener:c,uninstall:l}}},function(t,e){(function(e){function n(t,e,n){function i(e){var n=v,r=y;return v=y=void 0,O=e,g=t.apply(r,n)}function o(t){return O=t,_=setTimeout(f,e),S?i(t):g}function s(t){var n=t-x,r=t-O,i=e-n;return N?w(i,m-r):i}function c(t){var n=t-x,r=t-O;return void 0===x||n>=e||n<0||N&&r>=m}function f(){var t=E();return c(t)?l(t):void(_=setTimeout(f,s(t)))}function l(t){return _=void 0,T&&v?i(t):(v=y=void 0,g)}function p(){void 0!==_&&clearTimeout(_),O=0,v=x=y=_=void 0}function h(){return void 0===_?g:l(E())}function d(){var t=E(),n=c(t);if(v=arguments,y=this,x=t,n){if(void 0===_)return o(x);if(N)return _=setTimeout(f,e),i(x)}return void 0===_&&(_=setTimeout(f,e)),g}var v,y,m,g,_,x,O=0,S=!1,N=!1,T=!0;if("function"!=typeof t)throw new TypeError(a);return e=u(e)||0,r(n)&&(S=!!n.leading,N="maxWait"in n,m=N?b(u(n.maxWait)||0,e):m,T="trailing"in n?!!n.trailing:T),d.cancel=p,d.flush=h,d}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i(t){return!!t&&"object"==typeof t}function o(t){return"symbol"==typeof t||i(t)&&_.call(t)==c}function u(t){if("number"==typeof t)return t;if(o(t))return s;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var n=p.test(t);return n||h.test(t)?d(t.slice(2),n?2:8):l.test(t)?s:+t}var a="Expected a function",s=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,d=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,y="object"==typeof self&&self&&self.Object===Object&&self,m=v||y||Function("return this")(),g=Object.prototype,_=g.toString,b=Math.max,w=Math.min,E=function(){return m.Date.now()};t.exports=n}).call(e,function(){return this}())},function(t,e){(function(e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function r(t,e){var n=t?t.length:0;return!!n&&s(t,e,0)>-1}function i(t,e,n){for(var r=-1,i=t?t.length:0;++r<i;)if(n(e,t[r]))return!0;return!1}function o(t,e){for(var n=-1,r=t?t.length:0,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function u(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function a(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function s(t,e,n){if(e!==e)return a(t,c,n);for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function c(t){return t!==t}function f(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function l(t){return function(e){return t(e)}}function p(t,e){return t.has(e)}function h(t,e){return null==t?void 0:t[e]}function d(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function v(t,e){return function(n){return t(e(n))}}function y(t){var e=-1,n=t?t.length:0; for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function m(){this.__data__=qt?qt(null):{}}function g(t){return this.has(t)&&delete this.__data__[t]}function _(t){var e=this.__data__;if(qt){var n=e[t];return n===yt?void 0:n}return Lt.call(e,t)?e[t]:void 0}function b(t){var e=this.__data__;return qt?void 0!==e[t]:Lt.call(e,t)}function w(t,e){var n=this.__data__;return n[t]=qt&&void 0===e?yt:e,this}function E(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function x(){this.__data__=[]}function O(t){var e=this.__data__,n=z(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Bt.call(e,n,1),!0}function S(t){var e=this.__data__,n=z(e,t);return n<0?void 0:e[n][1]}function N(t){return z(this.__data__,t)>-1}function T(t,e){var n=this.__data__,r=z(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function j(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function C(){this.__data__={hash:new y,map:new(Ut||E),string:new y}}function I(t){return G(this,t).delete(t)}function A(t){return G(this,t).get(t)}function k(t){return G(this,t).has(t)}function P(t,e){return G(this,t).set(t,e),this}function R(t){var e=-1,n=t?t.length:0;for(this.__data__=new j;++e<n;)this.add(t[e])}function L(t){return this.__data__.set(t,yt),this}function M(t){return this.__data__.has(t)}function D(t,e){var n=Jt(t)||ot(t)?f(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!Lt.call(t,o)||i&&("length"==o||Q(o,r))||n.push(o);return n}function z(t,e){for(var n=t.length;n--;)if(it(t[n][0],e))return n;return-1}function W(t,e,n,u){var a=-1,s=r,c=!0,f=t.length,h=[],d=e.length;if(!f)return h;n&&(e=o(e,l(n))),u?(s=i,c=!1):e.length>=vt&&(s=p,c=!1,e=new R(e));t:for(;++a<f;){var v=t[a],y=n?n(v):v;if(v=u||0!==v?v:0,c&&y===y){for(var m=d;m--;)if(e[m]===y)continue t;h.push(v)}else s(e,y,u)||h.push(v)}return h}function F(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=K),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?F(s,e-1,n,r,i):u(i,s):r||(i[i.length]=s)}return i}function B(t,e,n){var r=e(t);return Jt(t)?r:u(r,n(t))}function V(t){if(!ft(t)||X(t))return!1;var e=st(t)||d(t)?Dt:Ot;return e.test(rt(t))}function $(t){if(!ft(t))return et(t);var e=tt(t),n=[];for(var r in t)("constructor"!=r||!e&&Lt.call(t,r))&&n.push(r);return n}function H(t,e){return t=Object(t),U(t,e,function(e,n){return n in t})}function U(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var u=e[r],a=t[u];n(a,u)&&(o[u]=a)}return o}function q(t,e){return e=Ht(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=Ht(r.length-e,0),u=Array(o);++i<o;)u[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=u,n(t,this,a)}}function Y(t){return B(t,ht,Gt)}function G(t,e){var n=t.__data__;return Z(e)?n["string"==typeof e?"string":"hash"]:n.map}function J(t,e){var n=h(t,e);return V(n)?n:void 0}function K(t){return Jt(t)||ot(t)||!!(Vt&&t&&t[Vt])}function Q(t,e){return e=null==e?gt:e,!!e&&("number"==typeof t||St.test(t))&&t>-1&&t%1==0&&t<e}function Z(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function X(t){return!!Pt&&Pt in t}function tt(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||At;return t===n}function et(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}function nt(t){if("string"==typeof t||pt(t))return t;var e=t+"";return"0"==e&&1/t==-mt?"-0":e}function rt(t){if(null!=t){try{return Rt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function it(t,e){return t===e||t!==t&&e!==e}function ot(t){return at(t)&&Lt.call(t,"callee")&&(!Ft.call(t,"callee")||Mt.call(t)==_t)}function ut(t){return null!=t&&ct(t.length)&&!st(t)}function at(t){return lt(t)&&ut(t)}function st(t){var e=ft(t)?Mt.call(t):"";return e==bt||e==wt}function ct(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=gt}function ft(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function lt(t){return!!t&&"object"==typeof t}function pt(t){return"symbol"==typeof t||lt(t)&&Mt.call(t)==Et}function ht(t){return ut(t)?D(t,!0):$(t)}function dt(){return[]}var vt=200,yt="__lodash_hash_undefined__",mt=1/0,gt=9007199254740991,_t="[object Arguments]",bt="[object Function]",wt="[object GeneratorFunction]",Et="[object Symbol]",xt=/[\\^$.*+?()[\]{}|]/g,Ot=/^\[object .+?Constructor\]$/,St=/^(?:0|[1-9]\d*)$/,Nt="object"==typeof e&&e&&e.Object===Object&&e,Tt="object"==typeof self&&self&&self.Object===Object&&self,jt=Nt||Tt||Function("return this")(),Ct=Array.prototype,It=Function.prototype,At=Object.prototype,kt=jt["__core-js_shared__"],Pt=function(){var t=/[^.]+$/.exec(kt&&kt.keys&&kt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Rt=It.toString,Lt=At.hasOwnProperty,Mt=At.toString,Dt=RegExp("^"+Rt.call(Lt).replace(xt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zt=jt.Symbol,Wt=v(Object.getPrototypeOf,Object),Ft=At.propertyIsEnumerable,Bt=Ct.splice,Vt=zt?zt.isConcatSpreadable:void 0,$t=Object.getOwnPropertySymbols,Ht=Math.max,Ut=J(jt,"Map"),qt=J(Object,"create");y.prototype.clear=m,y.prototype.delete=g,y.prototype.get=_,y.prototype.has=b,y.prototype.set=w,E.prototype.clear=x,E.prototype.delete=O,E.prototype.get=S,E.prototype.has=N,E.prototype.set=T,j.prototype.clear=C,j.prototype.delete=I,j.prototype.get=A,j.prototype.has=k,j.prototype.set=P,R.prototype.add=R.prototype.push=L,R.prototype.has=M;var Yt=$t?v($t,Object):dt,Gt=$t?function(t){for(var e=[];t;)u(e,Yt(t)),t=Wt(t);return e}:dt,Jt=Array.isArray,Kt=q(function(t,e){return null==t?{}:(e=o(F(e,1),nt),H(t,W(Y(t),e)))});t.exports=Kt}).call(e,function(){return this}())},function(t,e,n){(function(e){if("production"!==e.env.NODE_ENV){var r=n(146),i=!0;t.exports=n(149)(r.isElement,i)}else t.exports=n(153)()}).call(e,n(145))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function o(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function u(){v&&h&&(v=!1,h.length?d=h.concat(d):y=-1,d.length&&a())}function a(){if(!v){var t=i(u);v=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,v=!1,o(t)}}function s(t,e){this.fun=t,this.array=e}function c(){}var f,l,p=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var h,d=[],v=!1,y=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new s(t,e)),1!==d.length||v||i(a)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){(function(e){"use strict";"production"===e.env.NODE_ENV?t.exports=n(147):t.exports=n(148)}).call(e,n(145))},function(t,e){"use strict";function n(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case p:case h:case a:case c:case s:case v:return t;default:switch(t=t&&t.$$typeof){case l:case d:case f:return t;default:return e}}case m:case y:case u:return e}}}function r(t){return n(t)===h}Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,u=i?Symbol.for("react.portal"):60106,a=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,f=i?Symbol.for("react.provider"):60109,l=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.async_mode"):60111,h=i?Symbol.for("react.concurrent_mode"):60111,d=i?Symbol.for("react.forward_ref"):60112,v=i?Symbol.for("react.suspense"):60113,y=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116;e.typeOf=n,e.AsyncMode=p,e.ConcurrentMode=h,e.ContextConsumer=l,e.ContextProvider=f,e.Element=o,e.ForwardRef=d,e.Fragment=a,e.Lazy=m,e.Memo=y,e.Portal=u,e.Profiler=c,e.StrictMode=s,e.Suspense=v,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===h||t===c||t===s||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===y||t.$$typeof===f||t.$$typeof===l||t.$$typeof===d)},e.isAsyncMode=function(t){return r(t)||n(t)===p},e.isConcurrentMode=r,e.isContextConsumer=function(t){return n(t)===l},e.isContextProvider=function(t){return n(t)===f},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return n(t)===d},e.isFragment=function(t){return n(t)===a},e.isLazy=function(t){return n(t)===m},e.isMemo=function(t){return n(t)===y},e.isPortal=function(t){return n(t)===u},e.isProfiler=function(t){return n(t)===c},e.isStrictMode=function(t){return n(t)===s},e.isSuspense=function(t){return n(t)===v}},function(t,e,n){(function(t){"use strict";"production"!==t.env.NODE_ENV&&!function(){function t(t){return"string"==typeof t||"function"==typeof t||t===_||t===S||t===w||t===b||t===T||"object"==typeof t&&null!==t&&(t.$$typeof===C||t.$$typeof===j||t.$$typeof===E||t.$$typeof===x||t.$$typeof===N)}function n(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case m:var n=t.type;switch(n){case O:case S:case _:case w:case b:case T:return n;default:var r=n&&n.$$typeof;switch(r){case x:case N:case E:return r;default:return e}}case C:case j:case g:return e}}}function r(t){return q||(q=!0,k(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),i(t)||n(t)===O}function i(t){return n(t)===S}function o(t){return n(t)===x}function u(t){return n(t)===E}function a(t){return"object"==typeof t&&null!==t&&t.$$typeof===m}function s(t){return n(t)===N}function c(t){return n(t)===_}function f(t){return n(t)===C}function l(t){return n(t)===j}function p(t){return n(t)===g}function h(t){return n(t)===w}function d(t){return n(t)===b}function v(t){return n(t)===T}Object.defineProperty(e,"__esModule",{value:!0});var y="function"==typeof Symbol&&Symbol.for,m=y?Symbol.for("react.element"):60103,g=y?Symbol.for("react.portal"):60106,_=y?Symbol.for("react.fragment"):60107,b=y?Symbol.for("react.strict_mode"):60108,w=y?Symbol.for("react.profiler"):60114,E=y?Symbol.for("react.provider"):60109,x=y?Symbol.for("react.context"):60110,O=y?Symbol.for("react.async_mode"):60111,S=y?Symbol.for("react.concurrent_mode"):60111,N=y?Symbol.for("react.forward_ref"):60112,T=y?Symbol.for("react.suspense"):60113,j=y?Symbol.for("react.memo"):60115,C=y?Symbol.for("react.lazy"):60116,I=function(){},A=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.warn(o);try{throw new Error(o)}catch(t){}};I=function(t,e){if(void 0===e)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];A.apply(void 0,[e].concat(r))}};var k=I,P=O,R=S,L=x,M=E,D=m,z=N,W=_,F=C,B=j,V=g,$=w,H=b,U=T,q=!1;e.typeOf=n,e.AsyncMode=P,e.ConcurrentMode=R,e.ContextConsumer=L,e.ContextProvider=M,e.Element=D,e.ForwardRef=z,e.Fragment=W,e.Lazy=F,e.Memo=B,e.Portal=V,e.Profiler=$,e.StrictMode=H,e.Suspense=U,e.isValidElementType=t,e.isAsyncMode=r,e.isConcurrentMode=i,e.isContextConsumer=o,e.isContextProvider=u,e.isElement=a,e.isForwardRef=s,e.isFragment=c,e.isLazy=f,e.isMemo=l,e.isPortal=p,e.isProfiler=h,e.isStrictMode=d,e.isSuspense=v}()}).call(e,n(145))},function(t,e,n){(function(e){"use strict";function r(){return null}var i=n(146),o=n(150),u=n(151),a=n(152),s=Function.call.bind(Object.prototype.hasOwnProperty),c=function(){};"production"!==e.env.NODE_ENV&&(c=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}),t.exports=function(t,n){function f(t){var e=t&&(k&&t[k]||t[P]);if("function"==typeof e)return e}function l(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function p(t){this.message=t,this.stack=""}function h(t){function r(r,a,s,f,l,h,d){if(f=f||R,h=h||s,d!==u){if(n){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}if("production"!==e.env.NODE_ENV&&"undefined"!=typeof console){var y=f+":"+s;!i[y]&&o<3&&(c("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),i[y]=!0,o++)}}return null==a[s]?r?new p(null===a[s]?"The "+l+" `"+h+"` is marked as required "+("in `"+f+"`, but its value is `null`."):"The "+l+" `"+h+"` is marked as required in "+("`"+f+"`, but its value is `undefined`.")):null:t(a,s,f,l,h)}if("production"!==e.env.NODE_ENV)var i={},o=0;var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function d(t){function e(e,n,r,i,o,u){var a=e[n],s=j(a);if(s!==t){var c=C(a);return new p("Invalid "+i+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+t+"`."))}return null}return h(e)}function v(){return h(r)}function y(t){function e(e,n,r,i,o){if("function"!=typeof t)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=e[n];if(!Array.isArray(a)){var s=j(a);return new p("Invalid "+i+" `"+o+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<a.length;c++){var f=t(a,c,r,i,o+"["+c+"]",u);if(f instanceof Error)return f}return null}return h(e)}function m(){function e(e,n,r,i,o){var u=e[n];if(!t(u)){var a=j(u);return new p("Invalid "+i+" `"+o+"` of type "+("`"+a+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return h(e)}function g(){function t(t,e,n,r,o){var u=t[e];if(!i.isValidElementType(u)){var a=j(u);return new p("Invalid "+r+" `"+o+"` of type "+("`"+a+"` supplied to `"+n+"`, expected a single ReactElement type."))}return null}return h(t)}function _(t){function e(e,n,r,i,o){if(!(e[n]instanceof t)){var u=t.name||R,a=A(e[n]);return new p("Invalid "+i+" `"+o+"` of type "+("`"+a+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return h(e)}function b(t){function n(e,n,r,i,o){for(var u=e[n],a=0;a<t.length;a++)if(l(u,t[a]))return null;var s=JSON.stringify(t,function(t,e){var n=C(e);return"symbol"===n?String(e):e});return new p("Invalid "+i+" `"+o+"` of value `"+String(u)+"` "+("supplied to `"+r+"`, expected one of "+s+"."))}return Array.isArray(t)?h(n):("production"!==e.env.NODE_ENV&&c(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function w(t){function e(e,n,r,i,o){if("function"!=typeof t)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=e[n],c=j(a);if("object"!==c)return new p("Invalid "+i+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an object."));for(var f in a)if(s(a,f)){var l=t(a,f,r,i,o+"."+f,u);if(l instanceof Error)return l}return null}return h(e)}function E(t){function n(e,n,r,i,o){for(var a=0;a<t.length;a++){var s=t[a];if(null==s(e,n,r,i,o,u))return null}return new p("Invalid "+i+" `"+o+"` supplied to "+("`"+r+"`."))}if(!Array.isArray(t))return"production"!==e.env.NODE_ENV?c("Invalid argument supplied to oneOfType, expected an instance of array."):void 0,r;for(var i=0;i<t.length;i++){var o=t[i];if("function"!=typeof o)return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+I(o)+" at index "+i+"."),r}return h(n)}function x(){function t(t,e,n,r,i){return N(t[e])?null:new p("Invalid "+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return h(t)}function O(t){function e(e,n,r,i,o){var a=e[n],s=j(a);if("object"!==s)return new p("Invalid "+i+" `"+o+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."));for(var c in t){var f=t[c];if(f){var l=f(a,c,r,i,o+"."+c,u);if(l)return l}}return null}return h(e)}function S(t){function e(e,n,r,i,a){var s=e[n],c=j(s);if("object"!==c)return new p("Invalid "+i+" `"+a+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));var f=o({},e[n],t);for(var l in f){var h=t[l];if(!h)return new p("Invalid "+i+" `"+a+"` key `"+l+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(e[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var d=h(s,l,r,i,a+"."+l,u);if(d)return d}return null}return h(e)}function N(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(N);if(null===e||t(e))return!0;var n=f(e);if(!n)return!1;var r,i=n.call(e);if(n!==e.entries){for(;!(r=i.next()).done;)if(!N(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!N(o[1]))return!1}return!0;default:return!1}}function T(t,e){return"symbol"===t||!!e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function j(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":T(e,t)?"symbol":e}function C(t){if("undefined"==typeof t||null===t)return""+t;var e=j(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function I(t){var e=C(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}function A(t){return t.constructor&&t.constructor.name?t.constructor.name:R}var k="function"==typeof Symbol&&Symbol.iterator,P="@@iterator",R="<<anonymous>>",L={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:v(),arrayOf:y,element:m(),elementType:g(),instanceOf:_,node:x(),objectOf:w,oneOf:b,oneOfType:E,shape:O,exact:S};return p.prototype=Error.prototype,L.checkPropTypes=a,L.resetWarningCache=a.resetWarningCache,L.PropTypes=L,L}}).call(e,n(145))},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,s=n(t),c=1;c<arguments.length;c++){r=Object(arguments[c]);for(var f in r)o.call(r,f)&&(s[f]=r[f]);if(i){a=i(r);for(var l=0;l<a.length;l++)u.call(r,a[l])&&(s[a[l]]=r[a[l]])}}return s}},function(t,e){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,e,n){(function(e){"use strict";function r(t,n,r,s,c){if("production"!==e.env.NODE_ENV)for(var f in t)if(a(t,f)){var l;try{if("function"!=typeof t[f]){var p=Error((s||"React class")+": "+r+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[f]+"`.");throw p.name="Invariant Violation",p}l=t[f](n,f,s,r,null,o)}catch(t){l=t}if(!l||l instanceof Error||i((s||"React class")+": type specification of "+r+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in u)){u[l.message]=!0;var h=c?c():"";i("Failed "+r+" type: "+l.message+(null!=h?h:""))}}}var i=function(){};if("production"!==e.env.NODE_ENV){var o=n(151),u={},a=Function.call.bind(Object.prototype.hasOwnProperty);i=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}}r.resetWarningCache=function(){"production"!==e.env.NODE_ENV&&(u={})},t.exports=r}).call(e,n(145))},function(t,e,n){"use strict";function r(){}function i(){}var o=n(151);i.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,i,u){if(u!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(t,e,n){"use strict";var r=n(90),i=n(155);if("undefined"==typeof r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=(new r.Component).updater;t.exports=i(r.Component,r.isValidElement,o)},function(t,e,n){(function(e){"use strict";function r(t){return t}function i(t,n,i){function l(t,n,r){for(var i in n)n.hasOwnProperty(i)&&"production"!==e.env.NODE_ENV&&s("function"==typeof n[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",t.displayName||"ReactClass",c[r],i)}function p(t,e){var n=E.hasOwnProperty(e)?E[e]:null;T.hasOwnProperty(e)&&a("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&a("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function h(t,r){if(r){a("function"!=typeof r,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!n(r),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var i=t.prototype,o=i.__reactAutoBindPairs;r.hasOwnProperty(f)&&O.mixins(t,r.mixins);for(var u in r)if(r.hasOwnProperty(u)&&u!==f){var c=r[u],l=i.hasOwnProperty(u);if(p(l,u),O.hasOwnProperty(u))O[u](t,c);else{var h=E.hasOwnProperty(u),d="function"==typeof c,v=d&&!h&&!l&&r.autobind!==!1;if(v)o.push(u,c),i[u]=c;else if(l){var g=E[u];a(h&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,u),"DEFINE_MANY_MERGED"===g?i[u]=y(i[u],c):"DEFINE_MANY"===g&&(i[u]=m(i[u],c))}else i[u]=c,"production"!==e.env.NODE_ENV&&"function"==typeof c&&r.displayName&&(i[u].displayName=r.displayName+"_"+u)}}}else if("production"!==e.env.NODE_ENV){var _=typeof r,b="object"===_&&null!==r;"production"!==e.env.NODE_ENV&&s(b,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",t.displayName||"ReactClass",null===r?null:_)}}function d(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var i=n in O;a(!i,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var o=n in t;if(o){var u=x.hasOwnProperty(n)?x[n]:null;return a("DEFINE_MANY_MERGED"===u,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(t[n]=y(t[n],r))}t[n]=r}}}function v(t,e){a(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in e)e.hasOwnProperty(n)&&(a(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function y(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return v(i,n),v(i,r),i}}function m(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function g(t,n){var r=n.bind(t);if("production"!==e.env.NODE_ENV){r.__reactBoundContext=t,r.__reactBoundMethod=n,r.__reactBoundArguments=null;var i=t.constructor.displayName,o=r.bind;r.bind=function(u){for(var a=arguments.length,c=Array(a>1?a-1:0),f=1;f<a;f++)c[f-1]=arguments[f];if(u!==t&&null!==u)"production"!==e.env.NODE_ENV&&s(!1,"bind(): React component methods may only be bound to the component instance. See %s",i);else if(!c.length)return"production"!==e.env.NODE_ENV&&s(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",i),r;var l=o.apply(r,arguments);return l.__reactBoundContext=t,l.__reactBoundMethod=n,l.__reactBoundArguments=c,l}}return r}function _(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];t[r]=g(t,i)}}function b(t){var n=r(function(t,r,o){"production"!==e.env.NODE_ENV&&s(this instanceof n,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindPairs.length&&_(this),this.props=t,this.context=r,this.refs=u,this.updater=o||i,this.state=null;var c=this.getInitialState?this.getInitialState():null;"production"!==e.env.NODE_ENV&&void 0===c&&this.getInitialState._isMockFunction&&(c=null),a("object"==typeof c&&!Array.isArray(c),"%s.getInitialState(): must return an object or null",n.displayName||"ReactCompositeComponent"),this.state=c});n.prototype=new j,n.prototype.constructor=n,n.prototype.__reactAutoBindPairs=[],w.forEach(h.bind(null,n)),h(n,S),h(n,t),h(n,N),n.getDefaultProps&&(n.defaultProps=n.getDefaultProps()),"production"!==e.env.NODE_ENV&&(n.getDefaultProps&&(n.getDefaultProps.isReactClassApproved={}),n.prototype.getInitialState&&(n.prototype.getInitialState.isReactClassApproved={})),a(n.prototype.render,"createClass(...): Class specification must implement a `render` method."),"production"!==e.env.NODE_ENV&&(s(!n.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",t.displayName||"A component"),s(!n.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",t.displayName||"A component"),s(!n.prototype.UNSAFE_componentWillRecieveProps,"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",t.displayName||"A component"));for(var o in E)n.prototype[o]||(n.prototype[o]=null);return n}var w=[],E={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},x={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},O={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)h(t,e[n])},childContextTypes:function(t,n){"production"!==e.env.NODE_ENV&&l(t,n,"childContext"),t.childContextTypes=o({},t.childContextTypes,n)},contextTypes:function(t,n){"production"!==e.env.NODE_ENV&&l(t,n,"context"),t.contextTypes=o({},t.contextTypes,n)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=y(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,n){"production"!==e.env.NODE_ENV&&l(t,n,"prop"),t.propTypes=o({},t.propTypes,n)},statics:function(t,e){d(t,e)},autobind:function(){}},S={componentDidMount:function(){this.__isMounted=!0}},N={componentWillUnmount:function(){this.__isMounted=!1}},T={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t,e)},isMounted:function(){return"production"!==e.env.NODE_ENV&&(s(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component"),this.__didWarnIsMounted=!0),!!this.__isMounted}},j=function(){};return o(j.prototype,t.prototype,T),b}var o=n(156),u=n(157),a=n(158);if("production"!==e.env.NODE_ENV)var s=n(159);var c,f="mixins";c="production"!==e.env.NODE_ENV?{prop:"prop",context:"context",childContext:"child context"}:{},t.exports=i}).call(e,n(145))},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,s=n(t),c=1;c<arguments.length;c++){r=Object(arguments[c]);for(var f in r)o.call(r,f)&&(s[f]=r[f]);if(i){a=i(r);for(var l=0;l<a.length;l++)u.call(r,a[l])&&(s[a[l]]=r[a[l]])}}return s}},function(t,e,n){(function(e){"use strict";var n={};"production"!==e.env.NODE_ENV&&Object.freeze(n),t.exports=n}).call(e,n(145))},function(t,e,n){(function(e){"use strict";function n(t,e,n,i,o,u,a,s){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,i,o,u,a,s],l=0;c=new Error(e.replace(/%s/g,function(){return f[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(t){};"production"!==e.env.NODE_ENV&&(r=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=n}).call(e,n(145))},function(t,e,n){(function(e){"use strict";var r=n(160),i=r;if("production"!==e.env.NODE_ENV){var o=function(t){ for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(t){}};i=function(t,e){if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==e.indexOf("Failed Composite propType: ")&&!t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];o.apply(void 0,[e].concat(r))}}}t.exports=i}).call(e,n(145))},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-cards-list-data/collection/cbbc-help/sourceId/a49dc523-b442-4b18-9c4f-20d91d85fe33/sourceName/curationkit-reader/style/cbbc/version/1.24.1', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"feedId":"cards-list","lastModified":"2018-04-27T16:27:57.000Z","items":[{"id":"promo","theme":"default","content":[{"view":"image","format":"image","data":{"src":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/ichef.bbci.co.uk\/childrens-responsive-ichef-ck\/240x135\/amz\/cbbc\/cbbc-help-2_1024x576.jpg","alt":"","sizes":{"availableWidths":[64,80,96,128,160,240,320,400,480,512,624,704,800,912,960,1024,1056,1104,1152,1200,1248,1440,1600,1680],"templateUrl":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/ichef.bbci.co.uk\/childrens-responsive-ichef-ck\/$recipe\/amz\/cbbc\/cbbc-help-2_1024x576.jpg","widthPlaceholder":"$recipe","widthReplacement":"{width}xn"}}},{"view":"headline","format":"string","data":{"text":"Website Help"}},{"view":"onward-journey-link","format":"link","data":{"href":"\/cbbc\/findoutmore\/web-help-general-web-faqs?collection=cbbc-help"}}],"metadata":{"id":"urn:bbc:cbbc:content-web-help-general-web-faqs"}},{"id":"promo","theme":"default","content":[{"view":"image","format":"image","data":{"src":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/ichef.bbci.co.uk\/childrens-responsive-ichef-ck\/240x135\/amz\/cbbc\/cbbc-help-2_1024x576.jpg","alt":"","sizes":{"availableWidths":[64,80,96,128,160,240,320,400,480,512,624,704,800,912,960,1024,1056,1104,1152,1200,1248,1440,1600,1680],"templateUrl":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/ichef.bbci.co.uk\/childrens-responsive-ichef-ck\/$recipe\/amz\/cbbc\/cbbc-help-2_1024x576.jpg","widthPlaceholder":"$recipe","widthReplacement":"{width}xn"}}},{"view":"headline","format":"string","data":{"text":"Technical Help"}},{"view":"onward-journey-link","format":"link","data":{"href":"\/cbbc\/findoutmore\/web-help-technical-faqs?collection=cbbc-help"}}],"metadata":{"id":"urn:bbc:cbbc:content-web-help-technical-faqs"}},{"id":"promo","theme":"default","content":[{"view":"image","format":"image","data":{"src":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/ichef.bbci.co.uk\/childrens-responsive-ichef-ck\/240x135\/amz\/cbbc\/cbbc-help-2_1024x576.jpg","alt":"","sizes":{"availableWidths":[64,80,96,128,160,240,320,400,480,512,624,704,800,912,960,1024,1056,1104,1152,1200,1248,1440,1600,1680],"templateUrl":"https:\/\/web.archive.org\/web\/20200219081601\/https:\/\/ichef.bbci.co.uk\/childrens-responsive-ichef-ck\/$recipe\/amz\/cbbc\/cbbc-help-2_1024x576.jpg","widthPlaceholder":"$recipe","widthReplacement":"{width}xn"}}},{"view":"headline","format":"string","data":{"text":"Contact CBBC"}},{"view":"onward-journey-link","format":"link","data":{"href":"\/cbbc\/findoutmore\/contact-cbbc?collection=cbbc-help"}}],"metadata":{"id":"urn:bbc:cbbc:content-contact-cbbc"}}]}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-cards-list-view","appName":"cbbc","collection":"cbbc-help","sourceId":"a49dc523-b442-4b18-9c4f-20d91d85fe33","sourceName":"curationkit-reader","style":"cbbc","version":"1.29.2","_mrrVersion":"2.0.16"},'u4324296886068049'); });</script> <script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200219081601/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200219081601/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200219081601/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200219081601/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200219081601/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200219081601/https://m.files.bbci.co.uk/modules/morph-push-proxy-client/1.0.9/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(); } /* u4324296886068049 */</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/20200219081601/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/20200219081601/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20200219081601/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/20200219081601/https://www.bbc.co.uk/cbbc/curations/cbbc-help">CBBC Help</a></li></ul></div></div></div></aside><footer role="contentinfo"><div id="orb-contentinfo" class="orb-nav-sec b-r b-g-p"><script>window.orb.worldwideFooterlinks = '<li class="orb-footer-ads"><a href="https://web.archive.org/web/20200219081601/https://advertising.bbcworldwide.com/">Advertise with us<'+'/a><'+'/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.com/usingthebbc/cookies/how-can-i-change-my-bbc-cookie-settings/">AdChoices / Do Not Sell My Info<'+'/a><'+'/li>';</script><div class="orb-footer-inner"> <ul><li class="orb-footer-terms"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright © 2020 BBC.</em> The BBC is not responsible for the content of external sites. <span class="orb-footer-links"><a href="https://web.archive.org/web/20200219081601/https://www.bbc.co.uk/help/web/links/" class="orb-hilight">Read about our approach to external linking.</a></span></small></div></div></div></footer></div><script id="orb-js-script" data-assetpath="https://nav.files.bbci.co.uk/orbit/1b2e292884201dd13064a9204e177864/" src="https://web.archive.org/web/20200219081601js_/https://nav.files.bbci.co.uk/orbit/1b2e292884201dd13064a9204e177864/js/orb.min.js"></script><script type="text/javascript">require(['orb/lib/_$'], function($) { $.ready(function() { initialiseFooter(); }); var scrollCheckTimer; var didScroll; var previousPosition = 0; var delta = 5; var PROMO_SHOW_BREAKPOINT = 1500; var pageLength = 0; function initialiseFooter() { // Suppress this feature on browsers we no longer test var myNav = navigator.userAgent.toLowerCase(); var oldIE = (myNav.indexOf('msie') !== -1) && parseInt(myNav.split('msie')[1], 10) <= 10; if (!oldIE) { require(['orb/cookies'], function (bbccookies) { var disabledByCookie = (parseInt(bbccookies.get('ckns_nav_promofail')) || 0) >= 3; if (!disabledByCookie) { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { setUpLazyLoading(); } }); } }); } } function setUpLazyLoading() { // offsetHeight is expensive to calculate, only do it once. pageLength = Math.abs(document.body.offsetHeight); if (pageLength < getViewportHeight() + 300 || pageLength - getCurrentPosition() < PROMO_SHOW_BREAKPOINT) { loadPromo(); } else { window.onscroll = function () { didScroll = true; }; scrollCheckTimer = setInterval(function () { if (didScroll) { hasScrolled(); didScroll = false; } }, 250); } } function loadPromo() { clearInterval(scrollCheckTimer); require(['orb/async/_footerpromo'], function(promo) { promo.init('https://web.archive.org/web/20200219081601/https://navpromo.api.bbci.co.uk', 'cbbc'); }); } function getViewportHeight() { return window.innerHeight; } function getCurrentPosition() { return Math.abs(window.scrollY || document.body.scrollTop || document.documentElement.scrollTop); } function hasScrolled() { var currentPosition = getCurrentPosition(); if (Math.abs(previousPosition - currentPosition) <= delta) { return; } if (currentPosition > previousPosition) { if ((pageLength - currentPosition) <= PROMO_SHOW_BREAKPOINT) { loadPromo(); } } previousPosition = currentPosition; } })</script><script type="text/javascript">/*<![CDATA[*/ require(['orb/nav'], function(nav) { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { nav.loadJs('https://web.archive.org/web/20200219081601/https://nav.files.bbci.co.uk/orbit/1b2e292884201dd13064a9204e177864/js/edr.min.js'); } }); }); /*]]>*/</script> <!-- BBCDOTCOM bodyLast --><div class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && window.bbcdotcom.analytics && bbcdotcom.config && !bbcdotcom.config.isSportApp() && !bbcdotcom.config.isReel()) { bbcdotcom.analytics.page(); } /*]]>*/</script><noscript><img src="//web.archive.org/web/20200219081601im_/https://ssc.api.bbc.com/?c1=2&c2=19293874&ns_site=bbc&name=" height="1" width="1" alt=""></noscript><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.write(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.postWrite(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats === 1 && bbcdotcom.utils && window.location.pathname === '/') { var wwhpEdition = bbcdotcom.utils.getMetaPropertyContent('wwhp-edition'); var _sf_async_config={}; /** CONFIGURATION START **/ _sf_async_config.uid = 50924; _sf_async_config.domain = "bbc.co.uk"; _sf_async_config.title = "Homepage"+(wwhpEdition !== '' ? ' - '+wwhpEdition : ''); _sf_async_config.sections = "Homepage"+(wwhpEdition !== '' ? ', Homepage - '+wwhpEdition : ''); _sf_async_config.region = wwhpEdition; _sf_async_config.path = "/"+(wwhpEdition !== '' ? '?'+wwhpEdition : ''); /** CONFIGURATION END **/ (function(){ function loadChartbeat() { window._sf_endpt=(new Date()).getTime(); var e = document.createElement("script"); e.setAttribute("language", "javascript"); e.setAttribute("type", "text/javascript"); e.setAttribute('src', '//web.archive.org/web/20200219081601/https://static.chartbeat.com/js/chartbeat.js'); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != "function") ? loadChartbeat : function() { oldonload(); loadChartbeat(); }; })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyLast = true; }()); /*]]>*/</script></div><!-- BBCDOTCOM all code in page --><script type="text/javascript">if (window.SEARCHBOX.suppress === false && window.SEARCHBOX.locale && /^en-?.*?/.test(window.SEARCHBOX.locale)) { require.config({ paths: { "search/searchbox": window.SEARCHBOX.searchboxAppStaticPrefix, } }); if (bbcuser && bbcuser.isUKCombined) { bbcuser.isUKCombined().then(function (isUK) { if (isUK) { require(['search/searchbox/searchboxDrawer'], function (SearchboxDrawer) { SearchboxDrawer.run(window.SEARCHBOX); }); } }); } }</script> <script type="text/javascript">window.COOKIES_STATIC_HOST = 'https://web.archive.org/web/20200219081601/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-441.b5f0561/cookie-banner/cookie-prompt/';</script><script src="https://web.archive.org/web/20200219081601js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-441.b5f0561/cookie-banner/cookie-banners.bundle.js" async=""></script><script type="text/javascript">require(["istats-1","orb/cookies"],function(o,t){if(t.isAllowed("s1"))try{if(!require.s.contexts._.config.paths.idcta)return void i();require(["idcta/idcta-1"],function(t){t&&"function"==typeof t.getIStatsLabels&&o.addLabels(t.getIStatsLabels()),i()},function(t){throw t})}catch(t){console&&"function"==typeof console.log&&console.log("an exception occurred while adding idcta labels to istats, invoking istats without them",t),i()}function i(){o.invoke()}});</script><script type="text/javascript">"use strict";window.__reverb.__reverbLoadedPromise.then(function(e){return e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Failed to load reverb. No event sent")});</script><script src="https://web.archive.org/web/20200219081601js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-441.b5f0561/detectview/detectview.bundle.js" async=""></script> </body> </html> <!-- FILE ARCHIVED ON 08:16:01 Feb 19, 2020 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 15:44:44 Nov 24, 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.619 exclusion.robots: 0.03 exclusion.robots.policy: 0.018 esindex: 0.01 cdx.remote: 13.427 LoadShardBlock: 93.465 (3) PetaboxLoader3.datanode: 112.31 (4) load_resource: 181.237 PetaboxLoader3.resolve: 95.063 -->