CINXE.COM
Be social media smart: Is seeing believing? - BBC Bitesize
<!DOCTYPE html><html lang="en-GB" class="b-header--white--black b-footer--transparent--dark-grey b-reith-sans-font"><head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://www.bbc.co.uk/bitesize/articles/z7s992p","20200804200456","https://web.archive.org/","web","/_static/", "1596571496"); </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 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><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><script type="text/javascript">Morph.initStyles(); /* u7191594538744539 */</script> <script> window.orb_fig_blocking = false window.bbcredirection = { geo: false, device: false }; </script> <!-- Environment: live --> <!-- Orbit: 3.0.0-1060.22bda07e --> <!-- istats Web Module: 0.0.2-468.5f3cdf8 --> <!-- navid Web Module: 0.2.0-18.e56419b --> <!-- User Activity Helper Web Module: 1.0.0-74.225a0ae --> <!-- cookiebanner Web Module: 0.0.2-468.5f3cdf8 --> <!-- searchbox Web Module: 3.0.0-156.4e49805 --> <!-- navpromo Web Module: 3.0.0-147.11a9f4d --> <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/20200804200456cs_/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/css/orb-ie-ltr.min.css"> <![endif]--><script type="text/javascript">/*<![CDATA[*/ window.orb = { lang: 'en', bbcBaseUrl: 'https://web.archive.org/web/20200804200456/https://www.bbc.co.uk', bbcUrlPrefix: 'https://web.archive.org/web/20200804200456/https://www.', staticHost: 'https://web.archive.org/web/20200804200456/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a', figUrl: 'https://web.archive.org/web/20200804200456/https://fig.bbc.co.uk/frameworks/fig/2/fig.js', partialCookieOvenUrl: 'https://web.archive.org/web/20200804200456/https://cookie-oven.api.bbc' }; document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js'; window.orb.worldwideNavlinks = '<li class="orb-nav-homedotcom"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/">Home</a></li><li class="orb-nav-newsdotcom"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/sport">Sport</a></li><li class="orb-nav-reeldotcom"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/reel">Reel</a></li><li class="orb-nav-worklife"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/worklife">Worklife</a></li><li class="orb-nav-traveldotcom"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/travel">Travel</a></li><li class="orb-nav-future"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/future">Future</a></li><li class="orb-nav-culture"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/culture">Culture</a></li><li class="orb-nav-music"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/culture/music">Music</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/schedules/p00fzl9m">TV</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.com/weather">Weather</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/sounds">Sounds</a></li>'; /*]]>*/</script><script>// Promise polyfill from https://github.com/bramstein/promis (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} function r(a,b){if(a.a==p){if(b==a)throw new TypeError;a.a=1;a.b=b;v(a)}}function v(a){l(function(){if(a.a!=p)for(;a.f.length;){var b=a.f.shift(),c=b[0],d=b[1],e=b[2],b=b[3];try{0==a.a?"function"==typeof c?e(c.call(void 0,a.b)):e(a.b):1==a.a&&("function"==typeof d?e(d.call(void 0,a.b)):b(a.b))}catch(h){b(h)}}})}n.prototype.g=function(a){return this.c(void 0,a)};n.prototype.c=function(a,b){var c=this;return new n(function(d,e){c.f.push([a,b,d,e]);v(c)})}; function w(a){return new n(function(b,c){function d(c){return function(d){h[c]=d;e+=1;e==a.length&&b(h)}}var e=0,h=[];0==a.length&&b(h);for(var k=0;k<a.length;k+=1)u(a[k]).c(d(k),c)})}function x(a){return new n(function(b,c){for(var d=0;d<a.length;d+=1)u(a[d]).c(b,c)})};window.Promise||(window.Promise=n,window.Promise.resolve=u,window.Promise.reject=t,window.Promise.race=x,window.Promise.all=w,window.Promise.prototype.then=n.prototype.c,window.Promise.prototype["catch"]=n.prototype.g);}()); // Polyfill Event constructor for IE ref: https://jira.dev.bbc.co.uk/browse/ORBITEN-919 // see: https://stackoverflow.com/questions/26596123 (function () { if (typeof window.CustomEvent === "function") { return false; } function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: undefined }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.Event = CustomEvent; })(); //Element.prototype.matches polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; } //NodeList.forEach Polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill if (window.NodeList && !NodeList.prototype.forEach) { NodeList.prototype.forEach = Array.prototype.forEach; } // Object.assign polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill if (typeof Object.assign != 'function') { // Must be writable: true, enumerable: false, configurable: true Object.defineProperty(Object, "assign", { value: function assign(target, varArgs) { // .length of function is 2 'use strict'; if (target == null) { // TypeError if undefined or null throw new TypeError('Cannot convert undefined or null to object'); } var to = Object(target); for (var index = 1; index < arguments.length; index++) { var nextSource = arguments[index]; if (nextSource != null) { // Skip over if undefined or null for (var nextKey in nextSource) { // Avoid bugs when hasOwnProperty is shadowed if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) { to[nextKey] = nextSource[nextKey]; } } } } return to; }, writable: true, configurable: true }); } // window.fetch polyfill https://github.com/github/fetch/blob/v0.11.0/fetch.js - chosen for IE9 compatibility if(typeof window.fetch !== 'function') { (function(self){"use strict";if(self.fetch){return}function normalizeName(name){if(typeof name!=="string"){name=String(name)}if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)){throw new TypeError("Invalid character in header field name")}return name.toLowerCase()}function normalizeValue(value){if(typeof value!=="string"){value=String(value)}return value}function Headers(headers){this.map={};if(headers instanceof Headers){headers.forEach(function(value,name){this.append(name,value)},this)}else if(headers){Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var list=this.map[name];if(!list){list=[];this.map[name]=list}list.push(value)};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null};Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]};Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};function consumed(body){if(body.bodyUsed){return Promise.reject(new TypeError("Already read"))}body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader;reader.readAsArrayBuffer(blob);return fileReaderReady(reader)}function readBlobAsText(blob){var reader=new FileReader;reader.readAsText(blob);return fileReaderReady(reader)}var support={blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(typeof body==="string"){this._bodyText=body}else if(support.blob&&Blob.prototype.isPrototypeOf(body)){this._bodyBlob=body}else if(support.formData&&FormData.prototype.isPrototypeOf(body)){this._bodyFormData=body}else if(!body){this._bodyText=""}else if(support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(body)){}else{throw new Error("unsupported BodyInit type")}if(!this.headers.get("content-type")){if(typeof body==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}}};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){return this.blob().then(readBlobAsArrayBuffer)};this.text=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return readBlobAsText(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}}}else{this.text=function(){var rejected=consumed(this);return rejected?rejected:Promise.resolve(this._bodyText)}}if(support.formData){this.formData=function(){return this.text().then(decode)}}this.json=function(){return this.text().then(JSON.parse)};return this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed){throw new TypeError("Already read")}this.url=input.url;this.credentials=input.credentials;if(!options.headers){this.headers=new Headers(input.headers)}this.method=input.method;this.mode=input.mode;if(!body){body=input._bodyInit;input.bodyUsed=true}}else{this.url=input}this.credentials=options.credentials||this.credentials||"omit";if(options.headers||!this.headers){this.headers=new Headers(options.headers)}this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&body){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(body)}Request.prototype.clone=function(){return new Request(this)};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function headers(xhr){var head=new Headers;var pairs=xhr.getAllResponseHeaders().trim().split("\n");pairs.forEach(function(header){var split=header.trim().split(":");var key=split.shift().trim();var value=split.join(":").trim();head.append(key,value)});return head}Body.call(Request.prototype);function Response(bodyInit,options){if(!options){options={}}this.type="default";this.status=options.status;this.ok=this.status>=200&&this.status<300;this.statusText=options.statusText;this.headers=options.headers instanceof Headers?options.headers:new Headers(options.headers);this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1){throw new RangeError("Invalid status code")}return new Response(null,{status:status,headers:{location:url}})};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request;if(Request.prototype.isPrototypeOf(input)&&!init){request=input}else{request=new Request(input,init)}var xhr=new XMLHttpRequest;function responseURL(){if("responseURL"in xhr){return xhr.responseURL}if(/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())){return xhr.getResponseHeader("X-Request-URL")}return}xhr.onload=function(){var status=xhr.status===1223?204:xhr.status;if(status<100||status>599){reject(new TypeError("Network request failed"));return}var options={status:status,statusText:xhr.statusText,headers:headers(xhr),url:responseURL()};var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.open(request.method,request.url,true);if(request.credentials==="include"){xhr.withCredentials=true}if("responseType"in xhr&&support.blob){xhr.responseType="blob"}request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});xhr.send(typeof request._bodyInit==="undefined"?null:request._bodyInit)})};self.fetch.polyfill=true})(typeof self!=="undefined"?self:this); } if (typeof window.CustomEvent !== 'function') { function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: null }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.CustomEvent = CustomEvent; } (function() { var language = 'en'; language = 'en'; var modal = false; var istatsLabels = {name: 'kl.education.blocks.bitesize.article.z7s992p.page' || undefined}; istatsLabels['app_type'] = 'responsive'; istatsLabels['app_name'] = 'blocks'; istatsLabels['bbc_site'] = 'bitesize'; istatsLabels['ml_name'] = 'webmodule'; istatsLabels['ml_version'] = 'current_version'; 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_6'] = 'fact_or_fake'; var page = { name: 'bitesize.articles.z7s992p.page' || istatsLabels.name || generateCountername(), destination: 'BITESIZE' || null, producer: 'BITESIZE' || null, section: 'support' || null, site: '' || istatsLabels.bbc_site || istatsLabels.app_name || istatsLabels.prod_name || null, contentId: 'urn:bbc:isite2:z7s992p' || null, contentType: 'article' || null, edition: 'domestic' || 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_PREFIX = "www." || "www."; function initUserCache(orbitUser) { var availableAttr = [ 'X-Country', 'X-Ip_is_advertise_combined', 'X-Ip_is_uk_combined' ]; var userCache = availableAttr.reduce(function(user, curr, i) { if (!orbitUser[curr]) { return user; } var res = Object.assign({}, user); res[curr] = orbitUser[curr]; return res; }, {}); if (Object.keys(userCache).length !== availableAttr.length) { userCache._partial = true; } return userCache; } var user = initUserCache({ }); function checkStatus(response) { if (response.status >= 200 && response.status < 300) { return response; } else { var error = new Error(response.statusText); error.response = response; throw error; } } function parseJSON(response) { return response.json(); } var supportsCors = function() { return typeof XMLHttpRequest !== 'undefined' && 'withCredentials' in new XMLHttpRequest(); }; var getUserInfoFallback = function() { return window.bbcpage.loadModule(['orb/fig']) .then(function(orbFig) { return new Promise(function(resolve, reject) { orbFig.load(function(fig) { var getCountryFallback = function() { if (fig.geo.isUK()) { return 'GB'; } else if (fig.geo.isEU()) { return 'EU'; } }; resolve({ 'X-Country': user.country || getCountryFallback(), 'X-Ip_is_uk_combined': fig().uk ? 'yes' : 'no', 'X-Ip_is_advertise_combined': fig().ad ? 'yes' : 'no' }); }, function () { reject('Error determining country. Timeout?'); }); }); }); }; var _userInfoRequest; var getUserInfo = function() { var host = window.location.host.toString().match(/bbc\.com$/) ? 'bbc.com' : 'bbc.co.uk'; var userInfoUrl = "https://" + USERINFO_PREFIX + host + '/userinfo'; if (!user._partial) { return Promise.resolve(user); } if (!_userInfoRequest) { if (typeof window.fetch === 'undefined' || !supportsCors()) { _userInfoRequest = getUserInfoFallback(); } else { _userInfoRequest = window.fetch(userInfoUrl, { credentials: 'same-origin' }) .then(checkStatus) .then(parseJSON) .then(function(userInfo) { user = userInfo; return user; }); } } return _userInfoRequest; }; var USER_PROFILE_URL = "https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/userprofile";; var _helloRequest; var getSegmentations = function() { if (user.ageBand) { return Promise.resolve(user); } if (!_helloRequest) { if (typeof window.fetch === 'undefined' || !supportsCors()) { return Promise.resolve(user); } else { _helloRequest = window.bbcpage.loadModule(['idcta-v2/idcta-1']).then(function(idcta) { return idcta.initiateTokenRefresh().then(function() { return window.fetch(USER_PROFILE_URL, { credentials: 'include' }) .then(checkStatus) .then(parseJSON) .then(function(profileInfo) { Object.assign(user, profileInfo); return user; }); }); }); } } return _helloRequest; }; window.bbcuser = { getHashedId: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return idcta.getCookieInstance().getHidFromCookie(); }); }, getAgeBand: function() { if (user['X-Age-Band']) { return Promise.resolve(user['X-Age-Band']); } return bbcuser.isSignedIn().then(function(isSignedIn) { if (isSignedIn) { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { user['X-Age-Band'] = idcta.getUserDetailsFromCookie().ab; if (user['X-Age-Band'] === 'u13') { user['X-Age-Band'] = '0-12'; return user['X-Age-Band']; } else if (user['X-Age-Band'] === 'u16') { user['X-Age-Band'] = '13-15'; return user['X-Age-Band']; } else if (user['X-Age-Band'] === 'u18') { user['X-Age-Band'] = '16-17'; return user['X-Age-Band']; } else { user['X-Age-Band'] = undefined; return getSegmentations().then(function(userInfo) { user['X-Age-Band'] = userInfo['X-Age-Band']; return user['X-Age-Band'] || undefined; }).catch(function(error) { return user['X-Age-Band'] || undefined; }); } }); } else { return undefined; } }); }, getCountry: function() { if (user['X-Country']) { return Promise.resolve(user['X-Country']); } return getUserInfo().then(function(userInfo) { return userInfo['X-Country'] || 'GB'; }); }, isUKCombined: function() { return getUserInfo().then(function(userInfo) { if (!userInfo['X-Ip_is_uk_combined']) { throw new Error('missing isUKCombined from userinfo response'); } return userInfo['X-Ip_is_uk_combined'].toLowerCase() === 'yes'; }) }, canSeeAdverts: function() { return getUserInfo().then(function(userInfo) { if (!userInfo['X-Ip_is_advertise_combined']) { throw new Error('missing canSeeAdverts from userinfo response'); } return userInfo['X-Ip_is_advertise_combined'].toLowerCase() === "yes"; }); }, isSignedIn: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return (idcta && idcta.getCookieInstance().hasCookie()); }); }, allowsPerformanceCookies: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('performance'); }); }, allowsFunctionalCookies: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('personalisation'); }); }, getCookieValue: function(cookieName) { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return bbccookies.get(cookieName); }); }, resetCookiesPreferences: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { bbccookies.setDefaultCookiesSingleDomain(); }); }, hasCookiesEnabled: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled(); }); }, hasSeenCookieBanner: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function (bbccookies) { return !!bbccookies.isCookiePolicySet(); }); }, logEvent: function (verb, noun, extraLabels) { return window.bbcuser.hasCookiesEnabled() .then(function(allowsCookies) { if (allowsCookies) { return window.bbcpage.loadModule(['istats-1']) .then(function(istats) { istats.log(verb, noun, extraLabels); }); } else { throw new Error('User cannot be tracked due to cookies preferences.'); } }); }, }; }());</script><script src="https://web.archive.org/web/20200804200456js_/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/js/require.min.js"></script> <script src="https://web.archive.org/web/20200804200456js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-468.5f3cdf8/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/20200804200456js_/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/js/api.min.js"></script><script type="text/javascript">window.bbcFlagpoles_istats="ON",require.config({paths:{"istats-1":"https://web.archive.org/web/20200804200456/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-468.5f3cdf8/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/20200804200456/https://sa.bbc.co.uk/bbc/bbc/s":"//web.archive.org/web/20200804200456/https://sa.bbc.co.uk/bbc/"+o[1]+"/s":"//web.archive.org/web/20200804200456/https://sa.bbc.co.uk/bbc/test/s";t.addCollector({name:"default",url:e,separator:"&"});var s="kl.education.blocks.bitesize.article.z7s992p.page";t.setCountername(s),window.istats_countername&&t.setCountername(window.istats_countername),t.addLabels("ml_name=webmodule&ml_version=0.0.2-468.5f3cdf8&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=default&language=en&app_type=responsive&app_name=blocks&bbc_site=bitesize&ml_name=webmodule&ml_version=current_version")}var o});</script><link rel="stylesheet" href="https://web.archive.org/web/20200804200456cs_/https://static.files.bbci.co.uk/account/id-cta/1.48.0/style/id-cta.css"><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.48.0/style/ie8.css" rel="stylesheet"/> <![endif]--><script type="text/javascript">(function() {if (!window.require) {throw new Error('idcta: could not find require module');}if (typeof(map) == 'undefined') {var map = {};}if (!!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect) {document.documentElement.className += ' id-svg';}var ptrt = new RegExp("[\\?&]ptrt=([^&]*)").exec(document.location.href);var ENDPOINT_URL = 'https://web.archive.org/web/20200804200456/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&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/20200804200456/https://static.files.bbci.co.uk/account/id-cta/1.48.0/modules/idcta-v2';map['idcta-v2/config'] = ENDPOINT_URL + ENDPOINT_CONFIG;map['idcta-v2/translations'] = ENDPOINT_URL + ENDPOINT_TRANSLATIONS;map['idcta'] = 'https://web.archive.org/web/20200804200456/https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20200804200456/https://static.files.bbci.co.uk/account/id-cta/1.48.0/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = 'https://web.archive.org/web/20200804200456/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/20200804200456/https://static.bbc.co.uk/bbcdotcom/4.5.1093/script" } }); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ var bbcdotcom = { adverts: { keyValues: { set: function() {} } }, advert: { write: function () {}, show: function () {}, isActive: function () { return false; }, layout: function() { return { reset: function() {} } } }, config: { init: function() {}, isActive: function() {}, setSections: function() {}, isAdsEnabled: function() {}, setAdsEnabled: function() {}, isAnalyticsEnabled: function() {}, setAnalyticsEnabled: function() {}, setAssetPrefix: function() {}, setFlagpoles: function() {}, setVersion: function () {}, setJsPrefix: function() {}, setSwfPrefix: function() {}, setCssPrefix: function() {}, setConfig: function() {}, getAssetPrefix: function() {}, getJsPrefix: function () {}, getSwfPrefix: function () {}, getCssPrefix: function () {}, isOptimizelyEnabled: function() {}, isThirdPartyDisabled: function() {}, isThirdPartyDisabledEU: function() {}, setEU: function() {} }, survey: { init: function(){ return false; } }, data: {}, init: function() {}, objects: function(str) { return false; }, locale: { set: function() {}, get: function() {} }, setAdKeyValue: function() {}, utils: { addEvent: function() {}, addHtmlTagClass: function() {}, log: function () {} }, addLoadEvent: function() {} }; /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb !== 'undefined' && typeof orb.fig === 'function') { if (orb.fig('ad') && orb.fig('uk') == 0) { bbcdotcom.data = { ads: (orb.fig('ad') ? 1 : 0), stats: (orb.fig('uk') == 0 ? 1 : 0), statsProvider: orb.fig('ap') }; } } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200804200456/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/20200804200456/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/20200804200456/https://static.bbc.co.uk/bbcdotcom/4.5.1093/"; 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/20200804200456/https://static.bbc.co.uk/bbcdotcom/4.5.1093/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200804200456/https://static.bbc.co.uk/bbcdotcom/4.5.1093/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/20200804200456/https://secure-us.imrworldwide.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804200456/https://me-cdn.effectivemeasure.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804200456/https://ssc.api.bbc.com/">'); } if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804200456/https://www.googletagservices.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804200456/https://bbc.gscontxt.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804200456/https://tags.crwdcntrl.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804200456/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\/20200804200456\/https:\/\/www.bbc.com\/privacy\/cookies\/international\/","advertisementText":"Advertisement","analyticsEnabled":true,"thirdPartyDisabled":false,"sherlockEnabled":false,"permutiveEnabled":false,"appName":"","assetPrefix":"https:\/\/web.archive.org\/web\/20200804200456\/https:\/\/static.bbc.co.uk\/bbcdotcom\/4.5.1093\/","customAdParams":[],"customStatsParams":[],"headline":"","id":"","inAssociationWithText":"in association with","keywords":"","language":"","orbTransitional":false,"optimizelyEnabled":true,"palEnv":"live","productName":"","sections":[],"comScoreEnabled":true,"comscoreSite":"bbc","comscoreID":"19293874","comscorePageName":"","slots":"","sponsoredByText":"is sponsored by","adsByGoogleText":"Ads by Google","summary":"","type":"","features":{"testfeature":{"name":"testfeature","envs":["sandbox","int","test"],"on":true,"options":{},"override":null},"lxadverts":{"name":"lxadverts","envs":[],"on":true,"options":{},"override":null}},"staticBase":"\/bbcdotcom","staticHost":"https:\/\/web.archive.org\/web\/20200804200456\/https:\/\/static.bbc.co.uk","staticVersion":"4.5.1093","staticPrefix":"https:\/\/web.archive.org\/web\/20200804200456\/https:\/\/static.bbc.co.uk\/bbcdotcom\/4.5.1093","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/20200804200456/https://static.bbc.co.uk/bbcdotcom/4.5.1093/"); bbcdotcom.config.setVersion("4.5.1093"); 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/20200804200456/https://cdn.optimizely.com/public/4621041136/s/bbccom_sandbox.js"; if(window.location.hostname === 'www.bbc.com') { optimizelyURL = "https://web.archive.org/web/20200804200456/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/20200804200456/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/20200804200456/https://tags.crwdcntrl.net/c/'+clientId+'/cc.js?ns='+clientId; lotameAudienceUrl = 'https://web.archive.org/web/20200804200456/https://ad.crwdcntrl.net/5/c=10815/pe=y/var=ccauds'; bbcdotcomScripts.push({src:lotameUrl,id:"LOTCC"+clientId}); bbcdotcomScripts.push({src:lotameAudienceUrl}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.config && bbcdotcom.config.isPermutiveEnabled && bbcdotcom.config.isPermutiveEnabled() && bbcdotcom.config.isWorldService && !bbcdotcom.config.isWorldService()){ (function () { !function(n,e,o,r,i){if(!e){e=e||{},window.permutive=e,e.q=[],e.config=i||{},e.config.projectId=o,e.config.apiKey=r,e.config.environment=e.config.environment||"production";for(var t=["addon","identify","track","trigger","query","segment","segments","ready","on","once","user","consent"],c=0;c<t.length;c++){var f=t[c];e[f]=function(n){return function(){var o=Array.prototype.slice.call(arguments,0);e.q.push({functionName:n,arguments:o})}}(f)}}}(document,window.permutive,"e488cdb0-e7cb-4d91-9648-60d437d8e491","1bb84885-9325-4fef-adda-a208032b2715",{"consentRequired":true}); bbcdotcomScripts.push({src:'https://web.archive.org/web/20200804200456/https://cdn.permutive.com/e488cdb0-e7cb-4d91-9648-60d437d8e491-web.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /** * ASYNC waits to make any gpt requests until the bottom of the page */ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isAsync && bbcdotcom.config.isAsync() && bbcdotcom.config.isAdsEnabled && bbcdotcom.config.isAdsEnabled() ) { (function () { bbcdotcomScripts.push({src:'https://web.archive.org/web/20200804200456/https://securepubads.g.doubleclick.net/tag/js/gpt.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /* Load Lotame, Grapeshot and GPT without blocking rendering but executing in order */ if ( window.bbcdotcom && bbcdotcom.config && bbcdotcomScripts.length > 0 ) { (function () { bbcdotcom.checkThirdPartyFirst(function(){ if (!bbcdotcom.config.isThirdPartyDisabledEU()){ bbcdotcomScripts.forEach(function(item) { var script = document.createElement('script'); script.async = false; if(item.id) script.id = item.id; script.src = item.src; document.head.appendChild(script); }); } }); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script> <script type="text/javascript">// Globally available search context window.SEARCHBOX={"variant":"default","locale":"en","feature":"akamai-idcta","navSearchboxStaticPrefix":"https://web.archive.org/web/20200804200456/https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/","searchboxAppStaticPrefix":"https://web.archive.org/web/20200804200456/https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/drawer","searchFormHtml":"<div tabindex=\"-1\"><div><section class=\"se-searchbox-panel\"><div class=\"se-g-wrap\"><div class=\"se-g-layout\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\">search</div><div class=\"se-g-layout__item se-searchbox\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\"><span class=\"se-sr-only\">Search Term</span><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxLength=\"100\" autoComplete=\"off\" autoCorrect=\"off\" autoCapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\"/></label><input type=\"hidden\" name=\"scope\" value=\"\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"search-icon\" data-bbc-metadata=\"{"PAR":"form::1","CHD":"button::1"}\" data-bbc-personalisation=\"{"QRY":""}\">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-bbc-personalisation=\"{"QRY":""}\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\"><section class=\"se-g-wrap\"></section></div></div></div>","searchScopePlaceholder":"","searchScopeParam":"","searchScopeTemplate":"","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""}; window.SEARCHBOX.suppress = false; window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://web.archive.org/web/20200804200456cs_/https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/css/main.css"><!--[if IE 8]> <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/script/html5shiv.min.js"></script> <script type="text/javascript">window['searchboxIEVersion'] = 8;</script> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/css/ie8.css"> <![endif]--><!--[if IE 9]> <script type="text/javascript">window['searchboxIEVersion'] = 9;</script> <![endif]--> <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://web.archive.org/web/20200804200456/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.20.0",window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,n){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=n}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var n=function(r,d){window.__reverb.__reverbLoadedPromise.then(function(e){if(r&&r.detail){var n=r.detail.label,t=r.detail.type,i=r.detail.elem,o=r.detail.originalEvent;r.detail.isClick&&(d=r.detail.isClick),e.userActionEvent(t,n,r.detail,i,o,d)}},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){n(e,!1)}),document.addEventListener("bbc-user-click",function(e){n(e,!0)}),document.addEventListener("bbc-page-updated",function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})})}();</script><script type="text/javascript" src="https://web.archive.org/web/20200804200456js_/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.5.0.js" async=""></script><script type="text/javascript">window.__detectview={clickManagementEnabled:false};</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><script type="text/javascript">Morph.initStyles(); /* u6613821873924177 */</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]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.69.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-header-view/8.69.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.69.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.46.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-global-navigation-view/1.46.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.46.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-messaging-view/1.35.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-messaging-view/1.35.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-messaging-view/1.35.1/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u16097532357109956 */</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]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-search-view/1.17.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-search-view/1.17.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-search-view/1.17.1/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u3796500156979845 */</script><link rel="preload" as="script" href="//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-article-view/13.91.0/link-location.js"/><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]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-text/1.15.4/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-blocks-text/1.15.4"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-blocks-text/1.15.4/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-video/1.9.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-blocks-video/1.9.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-blocks-video/1.9.0/enhanced.css\"/>"); }</script><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/3.0.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-gel-icons/3.0.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-smp/6.0.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-smp/6.0.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-smp/6.0.1/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-promo/1.2.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-blocks-promo/1.2.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-blocks-promo/1.2.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-article-view/13.91.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-blocks-article-view/13.91.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-blocks-article-view/13.91.0/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u58168777082849 */</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]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-blocks-article-topic-progression-view/1.15.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-blocks-article-topic-progression-view/1.15.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-blocks-article-topic-progression-view/1.15.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-core-components/13.0.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-core-components/13.0.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-core-components/13.0.0/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u5936914350827154 */</script><title>Be social media smart: Is seeing believing? - BBC Bitesize</title><meta name="description" content="BBC newsreader Tina Daheley looks at how to check what can and can’t be believed."/><script type="application/ld+json">{"@context":"https://web.archive.org/web/20200804200456/http://schema.org","@type":"Article","description":"BBC newsreader Tina Daheley looks at how to check what can and can’t be believed.","headline":"Be social media smart: Is seeing believing?","publisher":{"@type":"Organization","name":"BBC","logo":{"@type":"ImageObject","url":"https://web.archive.org/web/20200804200456/https://static.bbci.co.uk/frameworks/barlesque/3.21.31/desktop/3.5/img/blq-blocks_grey_alpha.png","width":84,"height":24}},"image":{"@type":"ImageObject","url":"https://web.archive.org/web/20200804200456/https://ichef.bbci.co.uk/images/ic/704xn/p08lmpzt.jpg","width":704},"datePublished":"2020-07-23"}</script><meta property="twitter:card" content="summary_large_image"/><meta property="twitter:site" content="BBC Bitesize"/><meta property="twitter:title" content="Be social media smart: Is seeing believing?"/><meta property="twitter:domain" content="www.bbc.co.uk"/><meta property="twitter:description" content="BBC newsreader Tina Daheley looks at how to check what can and can’t be believed."/><meta property="twitter:image:src" content="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1200xn/p08lmpzt.jpg"/><meta property="og:locale" content="en_GB"/><meta property="og:type" content="article"/><meta property="og:site_name" content="BBC Bitesize"/><meta property="og:title" content="Be social media smart: Is seeing believing?"/><meta property="og:description" content="BBC newsreader Tina Daheley looks at how to check what can and can’t be believed."/><meta property="og:image" content="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1200xn/p08lmpzt.jpg"/><meta property="og:image:secure_url" content="https://ichef.bbci.co.uk/images/ic/1200xn/p08lmpzt.jpg"/><meta property="og:image:width" content="1200"/><link href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/articles/z7s992p" rel="canonical"/><meta property="og:url" content="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/articles/z7s992p"/><script type="text/javascript"> var domain = "co.uk"; var _sf_async_config = _sf_async_config || {}; var _sf_startpt=(new Date()).getTime(); _sf_async_config.domain = "www" + ".bbc." + domain; _sf_async_config.uid = 50924; _sf_async_config.title = window.document.title; _sf_async_config.path = "bbc." + domain + window.location.pathname + ""; _sf_async_config.sections = "bitesize"; </script><link href="//web.archive.org/web/20200804200456cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-page/15.17.0/blocks.css" rel="stylesheet"></head><body><div id="u7191594538744539"><script data-reactid=".78ukwfk3y8" data-react-checksum="-218123317"> (function() { function hasTouchscreen () { if ('ontouchstart' in window) { return true; } if (window.hasOwnProperty && window.hasOwnProperty('ontouchstart')) { return true; } if (window.DocumentTouch && document instanceof DocumentTouch) { return true; } if (navigator.msMaxTouchPoints) { return true; } return false; }; if (!hasTouchscreen()) { document.documentElement.classList.add('n-no-touchevents'); } })(); </script></div> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20200804200456im_/https://a1.api.bbc.co.uk/hit.xiti?&col=1&from=p&ptag=js&s=598253&p=support::bitesize.articles.z7s992p.page&x1=[urn:bbc:isite2:z7s992p]&x2=[responsive]&x3=[bbc_website]&x4=[en-GB]&x7=[article]&x8=[reverb-1.5.0-nojs]&x11=[BITESIZE]&x12=[BITESIZE]" height="1" width="1" alt=""></p></noscript> <!-- BBCDOTCOM bodyFirst --><div id="bbccom_interstitial_ad" class="bbccom_display_none"></div><div id="bbccom_interstitial" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { googletag.cmd.push(function() { googletag.display('bbccom_interstitial'); }); } }()); /*]]>*/</script></div><div id="bbccom_wallpaper_ad" class="bbccom_display_none"></div><div id="bbccom_wallpaper" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { var wallpaper; if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { if (bbcdotcom.config.isAsync()) { googletag.cmd.push(function() { googletag.display('bbccom_wallpaper'); }); } else if (typeof googletag !== "undefined" && typeof googletag.display === "function") { googletag.display("wallpaper"); } wallpaper = bbcdotcom.adverts.adRegister.getAd('wallpaper'); } }()); /*]]>*/</script></div><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isAnalyticsEnabled()) { document.write(unescape('%3Cscript id="gnlAnalyticsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } }()); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyFirst = true; }()); /*]]>*/</script> <div id="cookiePrompt"></div> <!--[if (gt IE 8) | (IEMobile)]><!--><header id="orb-banner" role="banner" aria-label="BBC"><!--<![endif]--><!--[if (lt IE 9) & (!IEMobile)]> <![if (IE 8)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie8" aria-label="BBC"> <![endif]> <![if (IE 7)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie7" aria-label="BBC"> <![endif]> <![if (IE 6)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie6" aria-label="BBC"> <![endif]> <![endif]--><div id="orb-header" class="orb-nav-pri orb-nav-pri-white orb-nav-empty" dir="ltr"><div class="orb-nav-pri-container b-r b-g-p"><div class="orb-nav-section orb-nav-blocks"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#orb-modules">Skip to content</a></li><li><a id="orb-accessibility-help" href="https://web.archive.org/web/20200804200456/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/20200804200456/https://account.bbc.com/account"><span id="idcta-username">BBC Account</span></a></div><script type="text/javascript">require(['idcta/statusbar'], function (statusbar) {new statusbar.Statusbar({id: 'idcta-statusbar', publiclyCacheable: true});});</script><!-- Because we are now loading the notification bell CSS asynchronously, we need this inline style hack to ensure that the notification div is hidden by default, and shown only if and when the bell code is loaded from notification-ui --><a id="notification-link" class="js-notification-link animated three" href="#" style="display: none"><span class="hidden-span">Notifications</span><div class="notification-link--triangle"></div><div class="notification-link--triangle"></div><span id="not-num"></span></a> </div><nav role="navigation" aria-label="BBC" class="orb-nav"><div class="orb-nav-section orb-nav-links orb-nav-focus" id="orb-nav-links"><ul><li class="orb-nav-home"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bbcthree">Three</a></li><li id="orb-nav-more" style="width: 88px" aria-controls="orb-panel-more"><a href="#orb-footer" data-alt="More" class="istats-notrack">Menu<span class="orb-icon orb-icon-arrow"></span></a></li></ul></div></nav><div class="orb-nav-section orb-nav-search"> <a class="orb-search__button" href="https://web.archive.org/web/20200804200456/https://search.bbc.co.uk/search" title="Search the BBC">Search</a><form class="b-f" id="orb-search-form" role="search" method="get" action="https://web.archive.org/web/20200804200456/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" maxlength="100" name="q" placeholder="Search"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form> </div></div><div id="orb-panels"></div></div></header> <!-- Styling hook for shared modules only --> <div id="orb-modules"> <div id="u6613821873924177"><noscript data-reactid=".1391nb51yew" data-react-checksum="-1403186989"></noscript></div><div id="u16097532357109956"><div data-reactid=".ryklnwpsya" data-react-checksum="-367029323"><div class="bitesize-header-background" data-reactid=".ryklnwpsya.0"></div><noscript data-reactid=".ryklnwpsya.1"></noscript><div data-reactid=".ryklnwpsya.2"><div class="global-navigation" data-reactid=".ryklnwpsya.2.0"><header class="global-navigation__header" data-reactid=".ryklnwpsya.2.0.0"><div class="global-navigation__header__wrap" data-reactid=".ryklnwpsya.2.0.0.0"><span class="global-navigation__header__logo" tabindex="-1" data-reactid=".ryklnwpsya.2.0.0.0.0"><a class="global-navigation__header__logo__link--animate global-navigation__header__logo__link--delay-animation global-navigation__header__logo__link" href="/web/20200804200456/https://www.bbc.co.uk/bitesize" data-reactid=".ryklnwpsya.2.0.0.0.0.0">Bitesize</a></span><button type="button" class="global-navigation__header__menu-button" aria-label="Open menu" data-reactid=".ryklnwpsya.2.0.0.0.1"><i class="gel-icon gel-icon--list-view global-navigation__header__menu-button__list-view" data-reactid=".ryklnwpsya.2.0.0.0.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".ryklnwpsya.2.0.0.0.1.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".ryklnwpsya.2.0.0.0.1.0.0.0"></path></svg></i><span class="global-navigation__header__menu-button__text" data-reactid=".ryklnwpsya.2.0.0.0.1.1">All Bitesize</span></button><div class="global-navigation__mobile-nav" data-reactid=".ryklnwpsya.2.0.0.0.2"></div></div></header><nav class="global-navigation__primary-nav" data-reactid=".ryklnwpsya.2.0.1"><div class="global-navigation__primary-nav__wrap" data-reactid=".ryklnwpsya.2.0.1.0"><div class="global-language-selector" data-reactid=".ryklnwpsya.2.0.1.0.0"><button type="button" class="global-language-selector__drawer global-language-selector__drawer--closed" data-reactid=".ryklnwpsya.2.0.1.0.0.0"><span class="global-language-selector__drawer-text" data-reactid=".ryklnwpsya.2.0.1.0.0.0.0">Change language</span></button><div class="global-language-selector__container global-language-selector__container--hidden" data-reactid=".ryklnwpsya.2.0.1.0.0.1"><ol class="global-language-selector__list" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0"><li class="global-language-selector__language global-language-selector__language--selected" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.0"><button type="button" tabindex="0" lang="en-GB" class="global-language-selector__language-link" aria-label="English, selected" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.0.0"><span class="global-language-selector__language-label" lang="en-GB" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.0.0.0">English</span><span class="global-language-selector__icon-yes gel-icon gel-icon--yes" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.0.0.1"><svg class="bitesize-yes-svg" version="1.1" x="0px" y="0px" width="31.8px" height="32px" viewbox="0 0 31.8 32" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.0.0.1.0"><polygon points="12.8,28.9 31.8,6.3 28,3.1 12.2,21.9 3.2,14.4 0,18.2 " data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.0.0.1.0.0"></polygon></svg></span></button></li><li class="global-language-selector__language" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$cy-GB"><button type="button" tabindex="0" lang="cy-GB" class="global-language-selector__language-link" aria-label="Cymraeg" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$cy-GB.0"><span class="global-language-selector__language-label" lang="cy-GB" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$cy-GB.0.0">Cymraeg</span></button></li><li class="global-language-selector__language" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$ga-GB"><button type="button" tabindex="0" lang="ga-GB" class="global-language-selector__language-link" aria-label="Gaeilge" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$ga-GB.0"><span class="global-language-selector__language-label" lang="ga-GB" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$ga-GB.0.0">Gaeilge</span></button></li><li class="global-language-selector__language" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$gd-GB"><button type="button" tabindex="0" lang="gd-GB" class="global-language-selector__language-link" aria-label="Gàidhlig" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$gd-GB.0"><span class="global-language-selector__language-label" lang="gd-GB" data-reactid=".ryklnwpsya.2.0.1.0.0.1.0.1:$gd-GB.0.0">Gàidhlig</span></button></li></ol></div></div><ul class="global-navigation__list" data-reactid=".ryklnwpsya.2.0.1.0.1"><li class="global-navigation__list__item" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$home"><a class="global-navigation__list__link" href="/web/20200804200456/https://www.bbc.co.uk/bitesize" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$home.0"><span class="global-navigation__list__link-text" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$home.0.0">Home</span></a></li><li class="global-navigation__list__item" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$daily-lessons"><a class="global-navigation__list__link" href="/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$daily-lessons.0"><span class="global-navigation__list__link-text" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$daily-lessons.0.0">Daily lessons</span></a></li><li class="global-navigation__list__item" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$learn"><a class="global-navigation__list__link" href="/web/20200804200456/https://www.bbc.co.uk/bitesize/learn" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$learn.0"><span class="global-navigation__list__link-text" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$learn.0.0">Learn</span></a></li><li class="global-navigation__list__item" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$support"><a class="global-navigation__list__link" href="/web/20200804200456/https://www.bbc.co.uk/bitesize/support" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$support.0"><span class="global-navigation__list__link-text" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$support.0.0">Support</span></a></li><li class="global-navigation__list__item" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$careers"><a class="global-navigation__list__link" href="/web/20200804200456/https://www.bbc.co.uk/bitesize/careers" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$careers.0"><span class="global-navigation__list__link-text" data-reactid=".ryklnwpsya.2.0.1.0.1.0:$careers.0.0">Careers</span></a></li><li data-reactid=".ryklnwpsya.2.0.1.0.1.1"><ul class="global-navigation__list__items--pinned" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0"><li class="global-navigation__list__item" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$my-bitesize"><a class="global-navigation__list__link" href="/web/20200804200456/https://www.bbc.co.uk/bitesize/my" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$my-bitesize.0"><span class="global-navigation__list__link-my-bitesize" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$my-bitesize.0.0">My Bitesize</span></a></li><li class="global-navigation__list__item global-navigation__list__item--pinned global-navigation__list__item--all-bitesize" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$all-bitesize"><button type="button" class="global-navigation__list__link--button global-navigation__list__link--button--pinned" aria-live="polite" aria-label="Menu button, this menu is closed" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$all-bitesize.0"><span class="gel-icon gel-icon--list-view" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$all-bitesize.0.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$all-bitesize.0.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$all-bitesize.0.0.0.0"></path></svg></span><span class="global-navigation__list__link-text" data-reactid=".ryklnwpsya.2.0.1.0.1.1.0.$all-bitesize.0.1">All Bitesize</span></button></li></ul></li></ul></div></nav></div><span data-reactid=".ryklnwpsya.2.1"></span><div class="header-image-container header-image-container--homepage header-image-no-logo header-image-container--no-illustration" aria-hidden="false" data-reactid=".ryklnwpsya.2.3"><div class="header-image-container__wrap" data-reactid=".ryklnwpsya.2.3.0"><header class="context-panel" data-reactid=".ryklnwpsya.2.3.0.1"><div data-reactid=".ryklnwpsya.2.3.0.1.1"><div class="context-panel__header-container" data-reactid=".ryklnwpsya.2.3.0.1.1.0"><h1 class="context-panel__header" data-reactid=".ryklnwpsya.2.3.0.1.1.0.1">Be social media smart: Is seeing believing?</h1></div><span data-reactid=".ryklnwpsya.2.3.0.1.1.1"></span><div class="context-label" data-reactid=".ryklnwpsya.2.3.0.1.1.2"><div class="context-label__title" data-reactid=".ryklnwpsya.2.3.0.1.1.2.0">Part of</div><div class="context-label__items" data-reactid=".ryklnwpsya.2.3.0.1.1.2.1"><div class="context-label__item" data-reactid=".ryklnwpsya.2.3.0.1.1.2.1.0"><a class="context-label__item-link" href="/web/20200804200456/https://www.bbc.co.uk/bitesize/support" data-bbc-container="context-navigation" data-bbc-metadata="{"CHD":"part-of-section"}" data-reactid=".ryklnwpsya.2.3.0.1.1.2.1.0.0">Support</a></div></div></div><noscript data-reactid=".ryklnwpsya.2.3.0.1.1.5"></noscript></div></header></div></div></div></div></div><div id="u3796500156979845"><div class="bitesize-article-search-view-wrapper" data-reactid=".qghz9ormri" data-react-checksum="107355672"></div></div><div id="u58168777082849"><article class="blocks-block blocks-article" data-reactid=".gyl5mdqrwm" data-react-checksum="1141321695"><script data-reactid=".gyl5mdqrwm.0"> (function() { function hasTouchscreen () { if ('ontouchstart' in window) { return true; } if (window.hasOwnProperty && window.hasOwnProperty('ontouchstart')) { return true; } if (window.DocumentTouch && document instanceof DocumentTouch) { return true; } if (navigator.msMaxTouchPoints) { return true; } return false; }; if (!hasTouchscreen()) { document.documentElement.classList.add('blocks-touchscreen-disabled'); } })(); </script><h1 class="blocks-article__headline" data-reactid=".gyl5mdqrwm.1">Be social media smart: Is seeing believing?</h1><div class="blocks-article__grid" data-reactid=".gyl5mdqrwm.3"><div class="blocks-article__grid-row blocks-article__grid-row--0" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0"><div id="zkcmmfr" class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10"><div class="blocks-block blocks-text-block" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.0"></span><div class="blocks-text-block__text" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.1"><h2 class="blocks-text-block__heading blocks-text-block__h2" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.1.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.1.$0.0">Flicking through social media, it’s easy to be taken in by a flawless selfie, dramatic videos or shocking stories. But not every image we see is real.</span></h2><p class="blocks-text-block__paragraph" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.1.$1"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.1.$1.$0">BBC journalist </span><strong class="blocks-text-block__strong" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.1.$1.$1"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.1.$1.$1.0">Tina Daheley</span></strong><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-0.$zkcmmfr-0=10.1.1.$1.$2"> looks at how to check what can and can’t be believed.</span></p></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--1" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1"><div id="zmy88xs" class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10"><figure class="blocks-block blocks-video-block blocks-video-block__figure blocks-video-block--horizontal" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1"><div class="blocks-video__placeholder-container blocks-video-block__placeholder-container" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.0"><div class="blocks-video__placeholder-image blocks-video-block__placeholder-image blocks__placeholder-image" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.0.0"></div></div><div class="smp" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.1"></div><div class="blocks-caption" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.0"></span><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.1"></span><div class="blocks-transcript blocks-video__transcript blocks-transcript--closed blocks-video__transcript--closed" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2"><button aria-controls="#blocks-transcript_zmy88xs" aria-expanded="false" class="blocks-transcript__button blocks-video__transcript__button" type="button" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0"><span class="blocks-transcript__button-text blocks-video__transcript__button-text" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.0">Video Transcript</span><div class="gel-icon gel-icon--up blocks-transcript__button__icon blocks-video__transcript__button__icon blocks-transcript__button__icon--up blocks-video__transcript__button__icon--up" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.1"><svg viewbox="0 0 32 32" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.1.0"><title data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.1.0.0">up</title><path d="M16 3L0 29h7.2L16 13.7 24.8 29H32L16 3z" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.1.0.1"></path></svg></div><div class="gel-icon gel-icon--down blocks-transcript__button__icon blocks-video__transcript__button__icon blocks-transcript__button__icon--down blocks-video__transcript__button__icon--down" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.2"><svg viewbox="0 0 32 32" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.2.0"><title data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.2.0.0">down</title><path d="M16 29L32 3h-7.2L16 18.3 7.2 3H0l16 26z" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.0.2.0.1"></path></svg></div></button><div aria-hidden="true" class="blocks-transcript__text blocks-video__transcript__text" id="blocks-transcript_zmy88xs" tabindex="-1" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.1"><div data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.1.0"><div><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Student: There’s millions of memes.</span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Student: Sometimes I spend three, four hours just on that.</span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Student: A pastime is scrolling through memes, and liking and saving them. </span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Student: My favourite memes are all the Shrek memes, they’re just amazing.</span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Student: There’s a little kid bouncing on a bed and there’s a dad who runs at him with one of those bouncy ball things and he goes flying off the bed. It’s just funny to watch. </span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Student: They’re funny because they make fun of serious issues.</span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Tina Daheley: Everyone loves a funny GIF and when you’re watching videos or sharing memes a couple of hours can just fly by. But not every video or image you see is real. So how can you spot the fake from the fact? Mostly it’s not the image that’s fake but the story the picture’s being used to tell.</span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Claire Milne: For example, we fact checked a photograph of a jaguar and the claim was that this jaguar had thrown itself into the river to escape the recent forest fires in the Amazon. Actually the photograph had been taken many years earlier and showed a jaguar that was the local army mascot and had nothing to do with the forest fires at all. </span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Tina Daheley: There are lots of clues to check the truth behind any picture. Are there street signs in a different language to the one you’d expect? Maybe there are buildings or landmarks you can identify. One of the simplest checks is a reverse image search.</span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Matt Cooke: It’ll give you clues around where the photograph was originally taken and that will give you some information and some evidence to start making up your own mind about where this photo actually came from. Let’s say you found an image of the Golden Gate Bridge and a crash has just happened, let’s inspect the photograph, right-click and save the image to my desktop, and now we can go over to the Google reverse image search. I’ll click on a camera and I can either paste in the URL or upload the image which I’m going to do in this case. Let’s put that in and it’ll now search that file and it’ll give me information, in this case we’re seeing actually it’s not the Golden Gate Bridge instead a very different location, it’s a famous bridge in Lisbon, Portugal.</span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Tina Daheley: Taking things out of context with photos is so easy you really have to keep your wits about you. This photo of Prince William looks very rude from one angle but run it through an image search and from another it’s quite innocent. He’s indicating how many children he now has. There are tools for checking videos too. Take this video of a bear chasing a snowboarder, it’s definitely got the whoa factor.</span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Matt Cooke: You’re seeing a snowboarder preparing to go down the slopes – she’s filming herself and she’s wearing headphones. </span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Student: Is that a real bear? </span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Matt Cooke: Let’s take a closer look. Let’s go to a new tab. Watchframebyframe.com as one example. Collect the URL and put that into this search engine, it’ll now give me an opportunity to watch this video in frame by frame instances here. And as we go through you can see the bear quickly disappears. Let’s watch that again. You can see the bear, top left there and very quickly it disappears and actually it’s because the bear was never there. It was digitally added. </span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Alastair Reed: Fake pictures and videos are designed to give us that strong emotional reaction so whether it’s shocking, whether it’s funny or whether it’s scary. That’s something that we need to pay attention to when we’re online. </span></p><p class="blocks-transcript__text__paragraph blocks-video-block__transcript__text__paragraph"><span>Tina Daheley: So there are some very simple ideas that we can use if we want to make sure that what we are looking at can be believed. One, look out for clues in the picture. Two, do a reverse image search. And three, use a video checking tool. So next time you see something incredible and go whoa, why not pause, take a minute to do a couple of simple checks before you share.</span></p></div></div><div class="blocks-transcript__text-cover blocks-video__transcript__text-cover" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-1.$zmy88xs-1=10.1.2.2.1.1"></div></div></div></div></figure></div></div><div class="blocks-article__grid-row blocks-article__grid-row--2" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2"><div id="zj8hhbk" class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10"><div class="blocks-block blocks-text-block" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.0"></span><div class="blocks-text-block__text" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1"><h2 class="blocks-text-block__heading blocks-text-block__h2" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$0.0">Tips for checking what is and isn't real:</span></h2><ol start="1" class="blocks-text-block__list" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1"><li class="blocks-text-block__listitem" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1.$0"><strong class="blocks-text-block__strong" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1.$0.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1.$0.$0.0">Images</span></strong><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1.$0.$1"> - look for clues in the picture and do a reverse image search to find where it came from </span></li><li class="blocks-text-block__listitem" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1.$1"><strong class="blocks-text-block__strong" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1.$1.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1.$1.$0.0">Video</span></strong><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-2.$zj8hhbk-2=10.1.1.$1.$1.$1"> - use a video checking tool to see the action frame by frame, where you can spot anything that doesn't look quite right.</span></li></ol></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--3" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3"><div id="zd966v4" class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10"><div class="blocks-block blocks-text-block" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.0"></span><div class="blocks-text-block__text" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1"><h3 class="blocks-text-block__heading blocks-text-block__h3" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$0.0">You can also look out for:</span></h3><ol start="1" class="blocks-text-block__list" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1"><li class="blocks-text-block__listitem" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$0"><strong class="blocks-text-block__strong" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$0.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$0.$0.0">Source</span></strong><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$0.$1"> – who’s posted the story? Have a look at their previous posts and their bio or ‘about’ section to find out why they are sharing</span></li><li class="blocks-text-block__listitem" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$1"><strong class="blocks-text-block__strong" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$1.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$1.$0.0">Followers</span></strong><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$1.$1"> – how many followers do they have and who are they? This can tell you a lot about the person or page that is posting the stories</span></li><li class="blocks-text-block__listitem" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$2"><strong class="blocks-text-block__strong" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$2.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$2.$0.0">Verified</span></strong><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$2.$1"> – do they have a blue tick? Many social platforms use this to show verified accounts, which means they are real and most likely trustworthy. </span></li><li class="blocks-text-block__listitem" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$3"><strong class="blocks-text-block__strong" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$3.$0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$3.$0.0">Response</span></strong><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-3.$zd966v4-3=10.1.1.$1.$3.$1"> – what are other people saying? Replies, comments or trending posts might show different sides to the story.</span></li></ol></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--4" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-4"><div id="znmrrj6" class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-4.$znmrrj6-4=10"><div class="blocks-block blocks-text-block" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-4.$znmrrj6-4=10.1"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-4.$znmrrj6-4=10.1.0"></span><div class="blocks-text-block__text" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-4.$znmrrj6-4=10.1.1"><h2 class="blocks-text-block__heading blocks-text-block__h2" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-4.$znmrrj6-4=10.1.1.0"><span data-reactid=".gyl5mdqrwm.3.$blocks-article-row-4.$znmrrj6-4=10.1.1.0.0">Where next?</span></h2></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--5" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5"><div id="zkqvvk7" class="blocks-article__grid-cell blocks-article__grid-cell--one-third-width" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zkqvvk7-5=10"><a class="blocks-block blocks-promo-block" href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/articles/zrprrj6" data-bbc-container="blocks-promo" data-bbc-title="Tips for spotting fake news online" data-bbc-result="https://www.bbc.co.uk/bitesize/articles/zrprrj6" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zkqvvk7-5=10.1"><div class="blocks-promo-block__image-wrapper" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zkqvvk7-5=10.1.0"><img src="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1280xn/p08lmpsj.jpg" class="blocks-promo-block__image" alt="Tips for spotting fake news online" srcset="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1280xn/p08lmpsj.jpg 1280w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1008xn/p08lmpsj.jpg 1008w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/608xn/p08lmpsj.jpg 608w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/320xn/p08lmpsj.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,(min-width: 0px) 320px" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zkqvvk7-5=10.1.0.0"/></div><div class="blocks-promo-block__footer" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zkqvvk7-5=10.1.1"><h2 class="blocks-promo-block__title" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zkqvvk7-5=10.1.1.0">Tips for spotting fake news online</h2><p class="blocks-promo-block__description" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zkqvvk7-5=10.1.1.1">Nihal Arthanayake looks at some simple steps which will help separate fact from fake.</p></div></a></div><div id="zb8nnrd" class="blocks-article__grid-cell blocks-article__grid-cell--one-third-width " data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zb8nnrd-5=11"><a class="blocks-block blocks-promo-block" href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/articles/z63wwty" data-bbc-container="blocks-promo" data-bbc-title="Think like a journalist: How to check a story" data-bbc-result="https://www.bbc.co.uk/bitesize/articles/z63wwty" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zb8nnrd-5=11.1"><div class="blocks-promo-block__image-wrapper" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zb8nnrd-5=11.1.0"><img src="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1280xn/p08lmq6z.jpg" class="blocks-promo-block__image" alt="Think like a journalist: How to check a story" srcset="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1280xn/p08lmq6z.jpg 1280w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1008xn/p08lmq6z.jpg 1008w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/608xn/p08lmq6z.jpg 608w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/320xn/p08lmq6z.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,(min-width: 0px) 320px" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zb8nnrd-5=11.1.0.0"/></div><div class="blocks-promo-block__footer" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zb8nnrd-5=11.1.1"><h2 class="blocks-promo-block__title" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zb8nnrd-5=11.1.1.0">Think like a journalist: How to check a story</h2><p class="blocks-promo-block__description" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$zb8nnrd-5=11.1.1.1">BBC journalist Tina Daheley explains how she checks the facts when reporting on the latest news.</p></div></a></div><div id="z7n88xs" class="blocks-article__grid-cell blocks-article__grid-cell--one-third-width " data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$z7n88xs-5=12"><a class="blocks-block blocks-promo-block" href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/articles/zf6rrj6" data-bbc-container="blocks-promo" data-bbc-title="Fake news and BBC Young Reporter" data-bbc-result="https://www.bbc.co.uk/bitesize/articles/zf6rrj6" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$z7n88xs-5=12.1"><div class="blocks-promo-block__image-wrapper" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$z7n88xs-5=12.1.0"><img src="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1280xn/p08lmrgb.jpg" class="blocks-promo-block__image" alt="Fake news and BBC Young Reporter" srcset="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1280xn/p08lmrgb.jpg 1280w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1008xn/p08lmrgb.jpg 1008w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/608xn/p08lmrgb.jpg 608w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/320xn/p08lmrgb.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,(min-width: 0px) 320px" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$z7n88xs-5=12.1.0.0"/></div><div class="blocks-promo-block__footer" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$z7n88xs-5=12.1.1"><h2 class="blocks-promo-block__title" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$z7n88xs-5=12.1.1.0">Fake news and BBC Young Reporter</h2><p class="blocks-promo-block__description" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-5.$z7n88xs-5=12.1.1.1">As part of BBC Young Reporter, top journalists give you the lowdown on how to weigh up what’s real and what’s fake.</p></div></a></div></div><div class="blocks-article__grid-row blocks-article__grid-row--6" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-6"><div id="zvgmmfr" class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-6.$zvgmmfr-6=10"><a class="blocks-block blocks-promo-block" href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/tags/zr2yscw/fact-or-fake/1" data-bbc-container="blocks-promo" data-bbc-title="Fact or Fake?" data-bbc-result="https://www.bbc.co.uk/bitesize/tags/zr2yscw/fact-or-fake/1" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-6.$zvgmmfr-6=10.1"><div class="blocks-promo-block__image-wrapper" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-6.$zvgmmfr-6=10.1.0"><img src="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1280xn/p086z6qf.jpg" class="blocks-promo-block__image" alt="Fact or Fake?" srcset="https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1280xn/p086z6qf.jpg 1280w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/1008xn/p086z6qf.jpg 1008w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/608xn/p086z6qf.jpg 608w, https://web.archive.org/web/20200804200456im_/https://ichef.bbci.co.uk/images/ic/320xn/p086z6qf.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,(min-width: 0px) 320px" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-6.$zvgmmfr-6=10.1.0.0"/></div><div class="blocks-promo-block__footer" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-6.$zvgmmfr-6=10.1.1"><h2 class="blocks-promo-block__title" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-6.$zvgmmfr-6=10.1.1.0">Fact or Fake?</h2><p class="blocks-promo-block__description" data-reactid=".gyl5mdqrwm.3.$blocks-article-row-6.$zvgmmfr-6=10.1.1.1">Find out how to spot and stop fake news with BBC Bitesize.</p></div></a></div></div></div><noscript data-reactid=".gyl5mdqrwm.4"></noscript></article></div><div id="u5936914350827154"><div data-reactid=".286ss930fwo" data-react-checksum="46337162"></div></div> <script>require.config({"paths":{"bump-3":"https://web.archive.org/web/20200804200456/https://emp.bbci.co.uk/emp/bump-3/bump-3","jquery-1.9":"https://web.archive.org/web/20200804200456/https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1","istats-1":"https://web.archive.org/web/20200804200456/https://nav.files.bbci.co.uk/nav-analytics/0.1.0-43/js/istats-1"}})</script><script>Morph.toInit.bundles.push(function() { !function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=0)}([function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t(1),o=t.n(r);Morph.modules["bbc-morph-detect-touchscreen-view@2.0.1"]=o.a},function(n,e,t){"use strict";n.exports=t(2)},function(n,e,t){"use strict";n.exports=function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=0)}([function(n,e,t){Object.defineProperty(e,"__esModule",{value:!0});var r=t(1),o=function(n){return n&&n.__esModule?n:{default:n}}(r),u=function(n){return"\n(function() {\n function hasTouchscreen () {\n if ('ontouchstart' in window) {\n return true;\n }\n\n if (window.hasOwnProperty && window.hasOwnProperty('ontouchstart')) {\n return true;\n }\n\n if (window.DocumentTouch && document instanceof DocumentTouch) {\n return true;\n }\n\n if (navigator.msMaxTouchPoints) {\n return true;\n }\n\n return false;\n };\n\n if (!hasTouchscreen()) {\n document.documentElement.classList.add('"+n+"');\n }\n})();\n"},c=function(n){if(!/^[a-z_][a-z\d_-]*$/i.test(n))throw new Error("'"+n+"' is not a valid class name")},s=function(n){var e=n.disabledClass;return c(e),o.default.createElement("script",{dangerouslySetInnerHTML:{__html:u(e)}})};s.propTypes={disabledClass:r.PropTypes.string},s.defaultProps={disabledClass:"no-touch"},e.default=s,n.exports=e.default},function(n,e){n.exports=t(3)}])},function(n,e){n.exports=React}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-detect-touchscreen-view","disabledClass":"n-no-touchevents","language":"en-GB","version":"2.0.1","_mrrVersion":"2.0.16"},'u7191594538744539'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200804200456/https://push.api.bbci.co.uk/public/client' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script><script>if (!Morph.manualInit) { Morph.init(); } /* u7191594538744539 */</script></div> <div id="orb-footer" class="orb-footer" dir="ltr"><div id="navp-orb-footer-promo"></div><aside role="complementary"><div id="orb-aside" class="orb-nav-sec b-r b-g-p"><div class="orb-footer-inner" role="navigation" aria-label="BBC"><h2 class="orb-footer-lead">Explore the BBC</h2><div class="orb-footer-primary-links"><ul><li class="orb-nav-home"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bbcthree">Three</a></li></ul></div></div></div></aside><footer role="contentinfo"><div id="orb-contentinfo" class="orb-nav-sec b-r b-g-p"><script>window.orb.worldwideFooterlinks = '<li class="orb-footer-ads"><a href="https://web.archive.org/web/20200804200456/https://advertising.bbcworldwide.com/">Advertise with us<'+'/a><'+'/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20200804200456/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/20200804200456/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20200804200456/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/20200804200456/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/6b039c00c475f4acb06f62e06c48907a/" src="https://web.archive.org/web/20200804200456js_/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/js/orb.min.js"></script> <script type="text/javascript">require.config({ "paths": { "orb/async/_footerpromo": 'https://web.archive.org/web/20200804200456/https://nav.files.bbci.co.uk/navpromo/1a758b67be1b457163af81ff41c92946/js/async/_footerpromo' } }); (function() { document.addEventListener("DOMContentLoaded", function(event) { initialiseFooter(); }); var scrollCheckTimer; var didScroll; var previousPosition = 0; var delta = 5; var PROMO_SHOW_BREAKPOINT = 1500; var pageLength = 0; function getCookie(key) { if (!key) { return document.cookie; } return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null; } function initialiseFooter() { // Suppress this feature on browsers we no longer test var myNav = navigator.userAgent.toLowerCase(); var oldIE = (myNav.indexOf('msie') !== -1) && parseInt(myNav.split('msie')[1], 10) <= 10; if (!oldIE) { var disabledByCookie = (parseInt(getCookie('ckns_nav_promofail')) || 0) >= 3; if (!disabledByCookie) { window.bbcpage.getLanguage().then(function(language) { if (language === 'en') { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { setUpLazyLoading(); } }); } }); } } } function setUpLazyLoading() { // offsetHeight is expensive to calculate, only do it once. pageLength = Math.abs(document.body.offsetHeight); if (pageLength < getViewportHeight() + 300 || pageLength - getCurrentPosition() < PROMO_SHOW_BREAKPOINT) { loadPromo(); } else { window.onscroll = function () { didScroll = true; }; scrollCheckTimer = setInterval(function () { if (didScroll) { hasScrolled(); didScroll = false; } }, 250); } } function loadPromo() { clearInterval(scrollCheckTimer); require(['orb/async/_footerpromo'], function(promo) { promo.init('https://web.archive.org/web/20200804200456/https://navpromo.api.bbci.co.uk', ''); }); } function getViewportHeight() { return window.innerHeight; } function getCurrentPosition() { return Math.abs(window.scrollY || document.body.scrollTop || document.documentElement.scrollTop); } function hasScrolled() { var currentPosition = getCurrentPosition(); if (Math.abs(previousPosition - currentPosition) <= delta) { return; } if (currentPosition > previousPosition) { if ((pageLength - currentPosition) <= PROMO_SHOW_BREAKPOINT) { loadPromo(); } } previousPosition = currentPosition; } })();</script> <script type="text/javascript">/*<![CDATA[*/ require(['orb/nav'], function(nav) { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { nav.loadJs('https://web.archive.org/web/20200804200456/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/js/edr.min.js'); } }); }); /*]]>*/</script> <script type="text/javascript">require.config({ paths: { "mybbc/templates": '//web.archive.org/web/20200804200456/https://mybbc.files.bbci.co.uk/notification-ui/4.1.3/templates', "mybbc/notifications": '//web.archive.org/web/20200804200456/https://mybbc.files.bbci.co.uk/notification-ui/4.1.3/js' } }); require(['mybbc/notifications/NotificationsMain', 'idcta/idcta-1'], function (NotificationsMain, idcta) { var loadNotifications = function (isUK) { if (isUK) { window.bbcpage.loadCSS('//web.archive.org/web/20200804200456/https://mybbc.files.bbci.co.uk/notification-ui/4.1.3/css/main.min.css').then(function() { NotificationsMain.run(idcta, '//web.archive.org/web/20200804200456/https://mybbc.files.bbci.co.uk/notification-ui/4.1.3/'); }); } }; window.bbcuser.isUKCombined().then(function(isUK) { loadNotifications(isUK); }); });</script> <!-- BBCDOTCOM bodyLast --><div class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && window.bbcdotcom.analytics && bbcdotcom.config && !bbcdotcom.config.isSportApp() && !bbcdotcom.config.isReel()) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.analytics.page, bbcdotcom.analytics); } /*]]>*/</script><noscript><img src="//web.archive.org/web/20200804200456im_/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.checkThirdPartyFirst(bbcdotcom.currencyProviders.write, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.currencyProviders.postWrite, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ 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/20200804200456/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) { 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/20200804200456/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-468.5f3cdf8/cookie-banner/cookie-prompt/';</script><script src="https://web.archive.org/web/20200804200456js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-468.5f3cdf8/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/20200804200456js_/https://nav.files.bbci.co.uk//user-activity-helper/1d5fa47d9ba60d5c52b377ec3208b7be/js/detectview.bundle.js" async=""></script><script>Morph.toInit.bundles.push(function() { Morph.versions['bbc-morph-optimizely-ati@1.0.2']={'amd-loader':'0.0.8','optimizely-ati':'1.0.0','react':'0.14.7',};/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ exports: {}, /******/ id: moduleId, /******/ loaded: false /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ // Load entry module and return exports /******/ return __webpack_require__(0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { Morph.modules["bbc-morph-optimizely-ati@1.0.2"] = __webpack_require__(1); /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = __webpack_require__(1); function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } __webpack_require__(2); var optimizelyATI = __webpack_require__(3); var OptimizelyATI = /*#__PURE__*/ function (_Component) { _inherits(OptimizelyATI, _Component); function OptimizelyATI() { _classCallCheck(this, OptimizelyATI); return _possibleConstructorReturn(this, _getPrototypeOf(OptimizelyATI).apply(this, arguments)); } _createClass(OptimizelyATI, [{ key: "componentDidMount", value: function componentDidMount() { optimizelyATI.init(); } }, { key: "render", value: function render() { return null; } }]); return OptimizelyATI; }(_react.Component); var _default = OptimizelyATI; exports.default = _default; module.exports = exports.default; /***/ }), /* 1 */ /***/ (function(module, exports) { module.exports = __webpack_require__(2); /***/ }), /* 2 */ /***/ (function(module, exports) { module.exports = __webpack_require__(3); /***/ }), /* 3 */ /***/ (function(module, exports) { module.exports = __webpack_require__(4); /***/ }) /******/ ]); /***/ }), /* 2 */ /***/ (function(module, exports) { module.exports = React; /***/ }), /* 3 */ /***/ (function(module, exports) { module.exports = Morph.modules["amd-loader@0.0.8"]; /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () { // Provides an initialisation method function init() { registerCurrentlyActiveExperiments(); registerFutureActiveExperiments(); } function experimentEventTest(experimentObject) { //trigger custom experiment event const { experiment, variation } = experimentObject; if (experiment && variation) { const experimentEvent = new CustomEvent('bbc-user-event', { detail: { personalisation: { EXP: experiment + '::' + variation } } }); document.dispatchEvent(experimentEvent); } } return { init: init, experimentTest: experimentEventTest }; function registerCurrentlyActiveExperiments() { var activeCampaigns = getAllActiveOptimizelyCampaigns(); if (activeCampaigns) { var experiments = []; for (var campaignId in activeCampaigns) { if (activeCampaigns.hasOwnProperty(campaignId)) { var experimentData = getExperimentData(campaignId); experiments.push(experimentData); } } for (var i = 0; i < experiments.length; i++) { experimentEventTest(experiments[i]); } } } // Register an event handler whenever the campaignDecided event is triggered function registerFutureActiveExperiments() { window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({ type: 'addListener', filter: { type: 'lifecycle', name: 'campaignDecided' }, handler: function (event) { var id = event.data.campaign.id; var experimentData = [getExperimentData(id)]; experimentEventTest(experimentData); } }); } function getExperimentData(campaignId) { var campaign = getActiveOptimizelyCampaignById(campaignId); var experimentData = {}; if (campaign) { var browserIsSeeingTheExperiment = !campaign.isInCampaignHoldback; // true if (browserIsSeeingTheExperiment) { // construct an object with the experiment name and variation experimentData = { experiment: campaign.experiment.name, variation: campaign.variation.name }; } // } } return experimentData; } // Gets a campaign object from the Optimizely API for a given campaign ID function getAllActiveOptimizelyCampaigns() { return getOptimizelyCampaignState(); } function getActiveOptimizelyCampaignById(campaignId) { return getOptimizelyCampaignState()[campaignId]; } function getOptimizelyCampaignState() { var state = window['optimizely'] && window['optimizely'].get('state'); if (state) { return state.getCampaignStates({ isActive: true }); } return {}; } }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }) /******/ ]);; });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-optimizely-ati","language":"en-GB","version":"1.0.2","_mrrVersion":"2.0.16"},'u6613821873924177'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200804200456/https://push.api.bbci.co.uk/public/client' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script><script>if (!Morph.manualInit) { Morph.init(); } /* u6613821873924177 */</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-bitesize-messaging-view@1.35.1"]={"@bbc/education-button":"0.4.0","@bbc/education-gel-icons":"0.10.0","@bbc/education-link-button":"0.1.3","morph-container":"4.0.0",react:"0.14.7","react-dom":"0.14.7"},function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){Morph.modules["bbc-morph-bitesize-messaging-view@1.35.1"]=n(1)},function(e,t,n){e.exports=n(2)},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4)}([function(e,t){e.exports=n(3)},function(e,t){e.exports=n(4)},function(e,t){e.exports=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["default","primary","secondary","planning"],a={getAllowedBanner:function(e){return r.indexOf(e)>-1?e:"default"}};t.default=a,e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(5)),o=r(n(6)),i=n(3),l=a.default.create(o.default,{data:function(e){var t=e.bannerType;return{messageData:{uri:{service:"bitesize-files",path:"/messaging/bannerType/".concat((0,i.getAllowedBanner)(t),".json")},updates:!1,requireSuccess:!1}}}});t.default=l,e.exports=t.default},function(e,t){e.exports=n(7)},function(e,t,n){"use strict";var r=n(0),a=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(2)),i=r(n(7)),l=r(n(17)),u=n(3),s=function(e){var t=e.language,n=e.bannerType,r=e.messageData,a=r.meta.responseCode,s=r.body,c=(0,u.getAllowedBanner)(n),f=200===a?function(e){return"string"==typeof e?JSON.parse(e):Object(e)}(s):l.default[c],d=f[t];d||(d=l.default[c][t]);var p={url:d.linkUrl,text:d.linkText};return o.default.createElement("div",{className:"messaging-banner-container messaging-banner-container-".concat(c)},o.default.createElement(i.default,{title:d.title,subtitle:d.subtitle,link:p,bannerType:c}))};s.propTypes={language:o.PropTypes.string,bannerType:o.PropTypes.string,messageData:o.PropTypes.shape({meta:o.PropTypes.shape({responseCode:o.PropTypes.number}).isRequired,body:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.shape({})]).isRequired}).isRequired},s.defaultProps={language:"en-GB",bannerType:"default"};var c=s;t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){var t=a();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var o=n(1),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(n(8)),u=i(n(9)),s=i(n(10)),c=i(n(11)),f=i(n(12)),d=i(n(13)),p=o(n(2)),y=n(14),v=i(n(15)),m=i(n(16)),b=function(e){function t(e){var r;return(0,l.default)(this,t),r=n.call(this,e),r.state={showBanner:!0},r.closeBanner=r.closeBanner.bind((0,s.default)(r)),r}(0,c.default)(t,e);var n=r(t);return(0,u.default)(t,[{key:"getSubtitle",value:function(){var e=this.props,t=e.subtitle;return"planning"===e.bannerType?"".concat(t," "):t}},{key:"getLinkButton",value:function(){var e=this.props,t=e.link;return"planning"!==e.bannerType?p.default.createElement(v.default,{onClick:function(){},href:t.url,disabled:!1,dataATIProps:{"data-bbc-container":"global-banner"},theme:"bitesize-banner",ariaLabel:t.text},p.default.createElement("span",{className:"messaging-banner-content__link-text"},t.text)):p.default.createElement("a",{href:t.url,className:"messaging-banner-content__link","data-bbc-container":"global-banner"},t.text)}},{key:"closeBanner",value:function(){this.setState(function(){return{showBanner:!1}})}},{key:"render",value:function(){var e=this.props,t=e.link,n=e.title,r=e.bannerType,a=this.state.showBanner;return p.default.createElement("div",null,!0===a?p.default.createElement("div",{className:"messaging-banner__container messaging-banner__container-".concat(r)},p.default.createElement("div",{className:"messaging-banner messaging-banner-".concat(r)},p.default.createElement("div",{className:"messaging-banner-close"},p.default.createElement(m.default,{ariaLabel:"Close",buttonClass:"messaging-banner-close__button",dataAtiProps:{"data-bbc-container":"global-banner","data-bbc-title":"close"},onClick:this.closeBanner,theme:"bitesize-banner"},p.default.createElement("div",{className:"messaging-banner-close__button-icon"},p.default.createElement(y.GelCloseIcon,null)))),p.default.createElement("div",{className:"messaging-banner-image-".concat(r)}),p.default.createElement("div",{className:"messaging-banner-content"},p.default.createElement("div",{className:"messaging-banner-content__title"},p.default.createElement("p",{className:"messaging-banner-content__title-text"},n)),p.default.createElement("div",{className:"messaging-banner-content__subtitle"},p.default.createElement("p",{className:"messaging-banner-content__subtitle-text"},this.getSubtitle())),t?p.default.createElement("div",{className:"messaging-banner-content__link-container"},this.getLinkButton()):null))):null)}}]),t}(p.default.Component);b.propTypes={link:p.PropTypes.shape({url:p.PropTypes.string,text:p.PropTypes.string}),title:p.PropTypes.string.isRequired,subtitle:p.PropTypes.string.isRequired,bannerType:p.PropTypes.string},b.defaultProps={link:null,bannerType:"default"};var h=b;t.default=h,e.exports=t.default},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(9)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(13)},function(e,t){e.exports=n(14)},function(e,t){e.exports=n(15)},function(e,t){e.exports=n(42)},function(e,t){e.exports=n(45)},function(e,t,n){"use strict";var r=n(0),a=r(n(18)),o=r(n(19)),i=r(n(20));e.exports={planning:i.default,primary:o.default,secondary:a.default,default:a.default}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"New daily lessons!",subtitle:"We’re adding three new lessons every weekday for each year until 24 July.",linkText:"Start a lesson",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons"},"ga-GB":{title:"Ceachtanna úra laethúla!",subtitle:"Beidh trí cheacht úra do gach bliain ar fáil, gach lá ó Luan go hAoine.",linkText:"Tosaigh ceacht",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons"},"cy-GB":{title:"Gwersi dyddiol newydd!",subtitle:"Mae gan Bitesize Dyddiol gasgliad o wersi newydd i ti bob dydd.",linkText:"Dewis gwers",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons"},"gd-GB":{title:"Leasanan làitheil ùra!",subtitle:"Bidh trì leasanan ùra dha gach clas ann gach latha-seachdain.",linkText:"Tòisich leasan",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"New lessons every day!",subtitle:"We’re adding videos and fun things to learn every weekday until 24 July.",linkText:"Start a lesson",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons"},"ga-GB":{title:"Ceachtanna úra gach lá!",subtitle:"Beidh físeáin úra mar aon le rudaí sultmhara le foghlaim ar fáil, gach lá ó Luan go hAoine.",linkText:"Tosaigh ceacht",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons"},"cy-GB":{title:"Gwersi newydd bob dydd!",subtitle:"Parha i ddysgu gyda fideos a gweithgareddau hwyliog.",linkText:"Dewis gwers",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons"},"gd-GB":{title:"Leasanan ùra gach latha!",subtitle:"Bidh bhidiothan is rudan spòrsail ri fhaighinn gach latha-seachdain.",linkText:"Tòisich leasan",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/dailylessons"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"",subtitle:"Planning ahead? Take a look at our upcoming daily lessons on",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"gd-GB":{title:"",subtitle:"A' planadh air thoiseach? Seall ri leasanan làitheil a tha ri thighinn air",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"ga-GB":{title:"",subtitle:"Ag pleanáil chun cinn? Caith súil ar na ceachtanna laethúla a bheidh ar",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"cy-GB":{title:"",subtitle:"Planning ahead? Take a look at our upcoming daily lessons on",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"}}}])},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var o=n(5);e.exports=a},function(e,t){function n(t){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=React},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-bitesize-messaging-view@1.35.1",e,t)}}},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}var a=n(12);e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){function r(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?o(e):t}var a=n(5),o=n(10);e.exports=r},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(3),a=r(n(16)),o=r(n(27)),i=r(n(28)),l=r(n(29)),u=r(n(30)),s=r(n(31)),c=r(n(32)),f=r(n(33)),d=r(n(34)),p=r(n(35)),y=r(n(36)),v=r(n(37)),m=r(n(38)),b=r(n(39)),h=r(n(40)),g=r(n(41));e.exports={GelAddIcon:a.default,GelChevronRightIcon:o.default,GelCloseIcon:i.default,GelDownIcon:l.default,GelIconDuration:u.default,GelListenIcon:s.default,GelNextIcon:c.default,GelNoIcon:f.default,GelPlayIcon:d.default,GelPreviousIcon:p.default,GelRecentActivityIcon:y.default,GelStopIcon:v.default,GelSearchIcon:m.default,GelYesIcon:b.default,GelLoadingIcon:h.default,GelAlertIcon:g.default}},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"white"},a.default.createElement("polygon",{points:"31.5,13.5 18.5,13.5 18.5,0.5 13.5,0.5 13.5,13.5 0.5,13.5 0.5,18.5 13.5,18.5 13.5,31.5 18.5,31.5 18.5,18.5 31.5,18.5"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r=n(19);e.exports=n(22)(r.isElement,!0)}else e.exports=n(26)()}).call(t,n(18))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){v&&p&&(v=!1,p.length?y=p.concat(y):m=-1,y.length&&l())}function l(){if(!v){var e=a(i);v=!0;for(var t=y.length;t;){for(p=y,y=[];++m<t;)p&&p[m].run();m=-1,t=y.length}p=null,v=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function s(){}var c,f,d=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var p,y=[],v=!1,m=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];y.push(new u(e,t)),1!==y.length||v||a(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=s,d.addListener=s,d.once=s,d.off=s,d.removeListener=s,d.removeAllListeners=s,d.emit=s,d.prependListener=s,d.prependOnceListener=s,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";"production"===t.env.NODE_ENV?e.exports=n(20):e.exports=n(21)}).call(t,n(18))},function(e,t){"use strict";function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case p:case l:case s:case u:case v:return e;default:switch(e=e&&e.$$typeof){case f:case y:case h:case b:case c:return e;default:return t}}case i:return t}}}function r(e){return n(e)===p}var a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,s=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.async_mode"):60111,p=a?Symbol.for("react.concurrent_mode"):60111,y=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,m=a?Symbol.for("react.suspense_list"):60120,b=a?Symbol.for("react.memo"):60115,h=a?Symbol.for("react.lazy"):60116,g=a?Symbol.for("react.block"):60121,w=a?Symbol.for("react.fundamental"):60117,x=a?Symbol.for("react.responder"):60118,E=a?Symbol.for("react.scope"):60119;t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=f,t.ContextProvider=c,t.Element=o,t.ForwardRef=y,t.Fragment=l,t.Lazy=h,t.Memo=b,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=v,t.isAsyncMode=function(e){return r(e)||n(e)===d},t.isConcurrentMode=r,t.isContextConsumer=function(e){return n(e)===f},t.isContextProvider=function(e){return n(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return n(e)===y},t.isFragment=function(e){return n(e)===l},t.isLazy=function(e){return n(e)===h},t.isMemo=function(e){return n(e)===b},t.isPortal=function(e){return n(e)===i},t.isProfiler=function(e){return n(e)===s},t.isStrictMode=function(e){return n(e)===u},t.isSuspense=function(e){return n(e)===v},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===p||e===s||e===u||e===v||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===b||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===w||e.$$typeof===x||e.$$typeof===E||e.$$typeof===g)},t.typeOf=n},function(e,t,n){(function(e){"use strict";"production"!==e.env.NODE_ENV&&function(){function e(e){return"string"==typeof e||"function"==typeof e||e===g||e===k||e===x||e===w||e===O||e===S||"object"==typeof e&&null!==e&&(e.$$typeof===N||e.$$typeof===j||e.$$typeof===E||e.$$typeof===_||e.$$typeof===P||e.$$typeof===C||e.$$typeof===B||e.$$typeof===$||e.$$typeof===M)}function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case b:var n=e.type;switch(n){case T:case k:case g:case x:case w:case O:return n;default:var r=n&&n.$$typeof;switch(r){case _:case P:case N:case j:case E:return r;default:return t}}case h:return t}}}function r(e){return Y||(Y=!0,console.warn("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.")),a(e)||n(e)===T}function a(e){return n(e)===k}function o(e){return n(e)===_}function i(e){return n(e)===E}function l(e){return"object"==typeof e&&null!==e&&e.$$typeof===b}function u(e){return n(e)===P}function s(e){return n(e)===g}function c(e){return n(e)===N}function f(e){return n(e)===j}function d(e){return n(e)===h}function p(e){return n(e)===x}function y(e){return n(e)===w}function v(e){return n(e)===O}var m="function"==typeof Symbol&&Symbol.for,b=m?Symbol.for("react.element"):60103,h=m?Symbol.for("react.portal"):60106,g=m?Symbol.for("react.fragment"):60107,w=m?Symbol.for("react.strict_mode"):60108,x=m?Symbol.for("react.profiler"):60114,E=m?Symbol.for("react.provider"):60109,_=m?Symbol.for("react.context"):60110,T=m?Symbol.for("react.async_mode"):60111,k=m?Symbol.for("react.concurrent_mode"):60111,P=m?Symbol.for("react.forward_ref"):60112,O=m?Symbol.for("react.suspense"):60113,S=m?Symbol.for("react.suspense_list"):60120,j=m?Symbol.for("react.memo"):60115,N=m?Symbol.for("react.lazy"):60116,M=m?Symbol.for("react.block"):60121,C=m?Symbol.for("react.fundamental"):60117,B=m?Symbol.for("react.responder"):60118,$=m?Symbol.for("react.scope"):60119,A=T,I=k,R=_,z=E,G=b,D=P,L=g,V=N,q=j,U=h,W=x,F=w,J=O,Y=!1;t.AsyncMode=A,t.ConcurrentMode=I,t.ContextConsumer=R,t.ContextProvider=z,t.Element=G,t.ForwardRef=D,t.Fragment=L,t.Lazy=V,t.Memo=q,t.Portal=U,t.Profiler=W,t.StrictMode=F,t.Suspense=J,t.isAsyncMode=r,t.isConcurrentMode=a,t.isContextConsumer=o,t.isContextProvider=i,t.isElement=l,t.isForwardRef=u,t.isFragment=s,t.isLazy=c,t.isMemo=f,t.isPortal=d,t.isProfiler=p,t.isStrictMode=y,t.isSuspense=v,t.isValidElementType=e,t.typeOf=n}()}).call(t,n(18))},function(e,t,n){(function(t){"use strict";function r(){return null}var a=n(19),o=n(23),i=n(24),l=n(25),u=Function.call.bind(Object.prototype.hasOwnProperty),s=function(){};"production"!==t.env.NODE_ENV&&(s=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function c(e){var t=e&&(S&&e[S]||e[j]);if("function"==typeof t)return t}function f(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function d(e){this.message=e,this.stack=""}function p(e){function r(r,l,u,c,f,p,y){if(c=c||N,p=p||u,y!==i){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"!==t.env.NODE_ENV&&"undefined"!=typeof console){var m=c+":"+u;!a[m]&&o<3&&(s("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. 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."),a[m]=!0,o++)}}return null==l[u]?r?new d(null===l[u]?"The "+f+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`.":"The "+f+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(l,u,c,f,p)}if("production"!==t.env.NODE_ENV)var a={},o=0;var l=r.bind(null,!1);return l.isRequired=r.bind(null,!0),l}function y(e){function t(t,n,r,a,o,i){var l=t[n];if(T(l)!==e)return new d("Invalid "+a+" `"+o+"` of type `"+k(l)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return p(t)}function v(e){function t(t,n,r,a,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l)){return new d("Invalid "+a+" `"+o+"` of type `"+T(l)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<l.length;u++){var s=e(l,u,r,a,o+"["+u+"]",i);if(s instanceof Error)return s}return null}return p(t)}function m(e){function t(t,n,r,a,o){if(!(t[n]instanceof e)){var i=e.name||N;return new d("Invalid "+a+" `"+o+"` of type `"+O(t[n])+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}return null}return p(t)}function b(e){function n(t,n,r,a,o){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var u=JSON.stringify(e,function(e,t){return"symbol"===k(t)?String(t):t});return new d("Invalid "+a+" `"+o+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+u+".")}return Array.isArray(e)?p(n):("production"!==t.env.NODE_ENV&&s(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 h(e){function t(t,n,r,a,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],s=T(l);if("object"!==s)return new d("Invalid "+a+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var c in l)if(u(l,c)){var f=e(l,c,r,a,o+"."+c,i);if(f instanceof Error)return f}return null}return p(t)}function g(e){function n(t,n,r,a,o){for(var l=0;l<e.length;l++){if(null==(0,e[l])(t,n,r,a,o,i))return null}return new d("Invalid "+a+" `"+o+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&s("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var a=0;a<e.length;a++){var o=e[a];if("function"!=typeof o)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+P(o)+" at index "+a+"."),r}return p(n)}function w(e){function t(t,n,r,a,o){var l=t[n],u=T(l);if("object"!==u)return new d("Invalid "+a+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var c=e[s];if(c){var f=c(l,s,r,a,o+"."+s,i);if(f)return f}}return null}return p(t)}function x(e){function t(t,n,r,a,l){var u=t[n],s=T(u);if("object"!==s)return new d("Invalid "+a+" `"+l+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");var c=o({},t[n],e);for(var f in c){var p=e[f];if(!p)return new d("Invalid "+a+" `"+l+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=p(u,f,r,a,l+"."+f,i);if(y)return y}return null}return p(t)}function E(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(E);if(null===t||e(t))return!0;var n=c(t);if(!n)return!1;var r,a=n.call(t);if(n!==t.entries){for(;!(r=a.next()).done;)if(!E(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!E(o[1]))return!1}return!0;default:return!1}}function _(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function T(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function k(e){if(void 0===e||null===e)return""+e;var t=T(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function P(e){var t=k(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function O(e){return e.constructor&&e.constructor.name?e.constructor.name:N}var S="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",N="<<anonymous>>",M={array:y("array"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:function(){return p(r)}(),arrayOf:v,element:function(){function t(t,n,r,a,o){var i=t[n];if(!e(i)){return new d("Invalid "+a+" `"+o+"` of type `"+T(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return p(t)}(),elementType:function(){function e(e,t,n,r,o){var i=e[t];if(!a.isValidElementType(i)){return new d("Invalid "+r+" `"+o+"` of type `"+T(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}return null}return p(e)}(),instanceOf:m,node:function(){function e(e,t,n,r,a){return E(e[t])?null:new d("Invalid "+r+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")}return p(e)}(),objectOf:h,oneOf:b,oneOfType:g,shape:w,exact:x};return d.prototype=Error.prototype,M.checkPropTypes=l,M.resetWarningCache=l.resetWarningCache,M.PropTypes=M,M}}).call(t,n(18))},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var i,l,u=n(e),s=1;s<arguments.length;s++){i=Object(arguments[s]);for(var c in i)a.call(i,c)&&(u[c]=i[c]);if(r){l=r(i);for(var f=0;f<l.length;f++)o.call(i,l[f])&&(u[l[f]]=i[l[f]])}}return u}},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){"use strict";function r(e,n,r,u,s){if("production"!==t.env.NODE_ENV)for(var c in e)if(l(e,c)){var f;try{if("function"!=typeof e[c]){var d=Error((u||"React class")+": "+r+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw d.name="Invariant Violation",d}f=e[c](n,c,u,r,null,o)}catch(e){f=e}if(!f||f instanceof Error||a((u||"React class")+": type specification of "+r+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in i)){i[f.message]=!0;var p=s?s():"";a("Failed "+r+" type: "+f.message+(null!=p?p:""))}}}var a=function(){};if("production"!==t.env.NODE_ENV){var o=n(24),i={},l=Function.call.bind(Object.prototype.hasOwnProperty);a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}r.resetWarningCache=function(){"production"!==t.env.NODE_ENV&&(i={})},e.exports=r}).call(t,n(18))},function(e,t,n){"use strict";function r(){}function a(){}var o=n(24);a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,i){if(i!==o){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=n(6).PropTypes||n(17),d=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this,t=this.props.className;return c.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(t){e.icon=t}},c.default.createElement("polygon",{points:"29 16 3 0 3 7.2 17.6 16 3 24.8 3 32 29 16"}))}}]),t}(c.Component);d.propTypes={className:f.string},d.defaultProps={className:""};var p=d;t.default=p},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(8)),o=r(n(9)),i=r(n(13)),l=r(n(14)),u=r(n(11)),s=r(n(6)),c=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return s.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"18px",height:"18px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32",xmlSpace:"preserve",ref:function(t){e.node=t}},s.default.createElement("polygon",{points:"32,3.5 28.5,0 16,12.5 3.5,0 0,3.5 12.5,16 0,28.5 3.5,32 16,19.5 28.5,32 32,28.5 19.5,16"}))}}]),t}(s.default.Component),f=c;t.default=f},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{version:"1.1",x:"0px",y:"0px",width:"18px",height:"18px",viewBox:"0 0 32 32",ref:function(t){e.icon=t}},c.default.createElement("g",{id:"Grid","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.0"}),c.default.createElement("g",{id:"Layer_2","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.1"}),c.default.createElement("polygon",{points:"16,29 32,3 24.8,3 16,18.3 7.2,3 0,3","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.1.0"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("polygon",{points:"17 15.4 17 6 15 6 15 16.6 23.8 21.7 24.8 19.9 17 15.4"}),a.default.createElement("path",{d:"M16,4A12,12,0,1,1,4,16,12,12,0,0,1,16,4m0-4A16,16,0,1,0,32,16,16,16,0,0,0,16,0Z"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3) ;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"listen"),a.default.createElement("path",{d:"M21.4,4.8,20,6.2a14,14,0,0,1,0,19.6l1.4,1.4a16,16,0,0,0,0-22.4Z"}),a.default.createElement("path",{d:"M25.6.5,24.2,2a19.9,19.9,0,0,1,0,28.1l1.4,1.4A22,22,0,0,0,25.6.5Z"}),a.default.createElement("polygon",{points:"16 4 10 10 0 10 0 22 10 22 16 28 16 4"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-labelledby":"next-chevron-title",ref:function(t){e.icon=t}},c.default.createElement("title",{id:"next-chevron-title"},"Next"),c.default.createElement("desc",null,"Move to the next page"),c.default.createElement("polygon",{points:"26,16 0,0 0,7.2 14.6,16 0,24.8 0,32"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"no"),a.default.createElement("polygon",{points:"32 3.5 28.5 0 16 12.5 3.5 0 0 3.5 12.5 16 0 28.5 3.5 32 16 19.5 28.5 32 32 28.5 19.5 16 32 3.5"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"play"),a.default.createElement("polygon",{points:"3 32 29 16 3 0 3 32"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-labelledby":"previous-chevron-title",ref:function(t){e.icon=t}},c.default.createElement("title",{id:"previous-chevron-title"},"Previous"),c.default.createElement("desc",null,"Move to the previous page"),c.default.createElement("polygon",{points:"0,16 26,0 26,7.2 11.4,16 26,24.8 26,32"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("path",{d:"M16 28C9.4 28 4 22.6 4 16S9.4 4 16 4c.3 0 .7 0 1 .1v-4c-.3-.1-.7-.1-1-.1C7.2 0 0 7.2 0 16s7.2 16 16 16c6.3 0 11.7-3.6 14.3-8.9l-3.5-2c-1.9 4.1-6 6.9-10.8 6.9z"}),a.default.createElement("path",{d:"M15 6v10.6l8.8 5.1 1-1.8-7.8-4.5V6"}),a.default.createElement("circle",{cx:"30",cy:"16",r:"2"}),a.default.createElement("circle",{cx:"28",cy:"9",r:"2"}),a.default.createElement("circle",{cx:"23",cy:"4",r:"2"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className,n=e.height,r=e.width;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:n,viewBox:"0 0 ".concat(r," ").concat(n)},a.default.createElement("title",null,"stop"),a.default.createElement("rect",{width:r,height:n}))};i.propTypes={className:o.string,height:o.number,width:o.number},i.defaultProps={className:"",height:32,width:32};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"search"),a.default.createElement("path",{d:"M32,28.5l-8.2-8.2a13,13,0,1,0-3.5,3.5L28.5,32ZM6.6,19.4A9,9,0,1,1,13,22,8.9,8.9,0,0,1,6.6,19.4Z"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"yes"),a.default.createElement("polygon",{points:"12.9 28.9 31.9 6.3 28.1 3.1 12.3 21.9 3.3 14.4 0.1 18.2 12.9 28.9"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(t){e.svg=t}},c.default.createElement("path",{d:"M29.8 8l-3.5 2c1 1.8 1.6 3.8 1.6 6 0 6.6-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4V0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16c0-2.9-.8-5.6-2.2-8z"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(8)),o=r(n(9)),i=r(n(13)),l=r(n(14)),u=r(n(11)),s=r(n(6)),c=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return s.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"32px",height:"32px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32",xmlSpace:"preserve",ref:function(t){e.node=t}},s.default.createElement("g",{id:"Grid"}),s.default.createElement("g",{id:"Layer_2"},s.default.createElement("g",null,s.default.createElement("path",{d:"M16,2L0,30h32L16,2z M18,27h-4v-4h4V27z M14,21V11h4v10H14z"}))))}}]),t}(s.default.Component),f=c;t.default=f},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(43)),o=a.default;t.default=o},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(44)),o=r(n(6)),i=n(6).PropTypes||n(17),l=function(e){var t=e.text,n=e.onClick,r=e.disabled,i=e.theme,l=e.children,u=e.href,s=e.ariaLabel,c=e.dataATIProps;return o.default.createElement("div",{className:"ec-link-button__container"},o.default.createElement("a",(0,a.default)({tabIndex:0,href:u,className:"ec-link-button__".concat(i),disabled:r,onClick:n,"aria-label":s||t},c),t?o.default.createElement("span",{className:"ec-link-button__text"},t):l))};l.propTypes={text:i.string,onClick:i.func.isRequired,disabled:i.bool,theme:i.string.isRequired,children:i.element,href:i.string.isRequired,ariaLabel:i.string,dataATIProps:i.shape({})},l.defaultProps={text:void 0,disabled:!1,children:null,ariaLabel:void 0,dataATIProps:{}};var u=l;t.default=u},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(46)),o=a.default;t.default=o},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(44)),o=r(n(6)),i=n(6).PropTypes||n(17),l=function(e){var t=e.text,n=e.onClick,r=e.disabled,i=e.theme,l=e.children,u=e.ariaLabel,s=e.buttonClass,c=e.dataAtiProps;return o.default.createElement("div",{className:"ec-button__container ec-button__container-".concat(s)},o.default.createElement("button",(0,a.default)({type:"button",className:"ec-button__".concat(i," ").concat(s),disabled:r,onClick:n,"aria-label":u||t},c),t?o.default.createElement("span",{className:"ec-button__text"},t):l))};l.propTypes={text:i.string,onClick:i.func.isRequired,disabled:i.bool,theme:i.string.isRequired,children:i.element,ariaLabel:i.string,buttonClass:i.string,dataAtiProps:i.shape({})},l.defaultProps={text:null,disabled:!1,children:null,ariaLabel:null,buttonClass:"ec-button__default-class",dataAtiProps:{}};var u=l;t.default=u}]);; });</script><script>Morph.toInit.bundles.push(function() { !function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=46)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(13),a=n(29),o=n(18),i=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),a)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(14)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=React},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(61),a=n(62);e.exports=function(e){return r(a(e))}},function(e,t,n){function r(e){return null==e?void 0===e?l:u:c&&c in Object(e)?o(e):i(e)}var a=n(24),o=n(79),i=n(80),u="[object Null]",l="[object Undefined]",c=a?a.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){n(27)("asyncIterator")},function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(11),a=n(0),o=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(16)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(0),a=n(3),o=n(2),i=n(54),u=n(31),l=n(58).KEY,c=n(14),f=n(12),s=n(59),d=n(5),p=n(17),g=n(28),b=n(27),h=n(60),y=n(66),v=n(13),m=n(6),_=n(7),w=n(18),x=n(20),O=n(67),j=n(70),E=n(71),k=n(1),S=n(21),z=E.f,P=k.f,N=j.f,C=r.Symbol,R=r.JSON,T=R&&R.stringify,q=p("_hidden"),D=p("toPrimitive"),M={}.propertyIsEnumerable,A=f("symbol-registry"),B=f("symbols"),L=f("op-symbols"),G=Object.prototype,I="function"==typeof C,F=r.QObject,W=!F||!F.prototype||!F.prototype.findChild,K=o&&c(function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=z(G,t);r&&delete G[t],P(e,t,n),r&&e!==G&&P(G,t,r)}:P,U=function(e){var t=B[e]=O(C.prototype);return t._k=e,t},H=I&&"symbol"==typeof C.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof C},Z=function(e,t,n){return e===G&&Z(L,t,n),v(e),t=w(t,!0),v(n),a(B,t)?(n.enumerable?(a(e,q)&&e[q][t]&&(e[q][t]=!1),n=O(n,{enumerable:x(0,!1)})):(a(e,q)||P(e,q,x(1,{})),e[q][t]=!0),K(e,t,n)):P(e,t,n)},Y=function(e,t){v(e);for(var n,r=h(t=_(t)),a=0,o=r.length;o>a;)Z(e,n=r[a++],t[n]);return e},$=function(e,t){return void 0===t?O(e):Y(O(e),t)},J=function(e){var t=M.call(this,e=w(e,!0));return!(this===G&&a(B,e)&&!a(L,e))&&(!(t||!a(this,e)||!a(B,e)||a(this,q)&&this[q][e])||t)},V=function(e,t){if(e=_(e),t=w(t,!0),e!==G||!a(B,t)||a(L,t)){var n=z(e,t);return!n||!a(B,t)||a(e,q)&&e[q][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=N(_(e)),r=[],o=0;n.length>o;)a(B,t=n[o++])||t==q||t==l||r.push(t);return r},X=function(e){for(var t,n=e===G,r=N(n?L:_(e)),o=[],i=0;r.length>i;)!a(B,t=r[i++])||n&&!a(G,t)||o.push(B[t]);return o};I||(C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(L,n),a(this,q)&&a(this[q],e)&&(this[q][e]=!1),K(this,e,x(1,n))};return o&&W&&K(G,e,{configurable:!0,set:t}),U(e)},u(C.prototype,"toString",function(){return this._k}),E.f=V,k.f=Z,n(37).f=j.f=Q,n(23).f=J,n(36).f=X,o&&!n(16)&&u(G,"propertyIsEnumerable",J,!0),g.f=function(e){return U(p(e))}),i(i.G+i.W+i.F*!I,{Symbol:C});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)p(ee[te++]);for(var ne=S(p.store),re=0;ne.length>re;)b(ne[re++]);i(i.S+i.F*!I,"Symbol",{for:function(e){return a(A,e+="")?A[e]:A[e]=C(e)},keyFor:function(e){if(!H(e))throw TypeError(e+" is not a symbol!");for(var t in A)if(A[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),i(i.S+i.F*!I,"Object",{create:$,defineProperty:Z,defineProperties:Y,getOwnPropertyDescriptor:V,getOwnPropertyNames:Q,getOwnPropertySymbols:X}),R&&i(i.S+i.F*(!I||c(function(){var e=C();return"[null]"!=T([e])||"{}"!=T({a:e})||"{}"!=T(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=t=r[1],(m(t)||void 0!==e)&&!H(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!H(t))return t}),r[1]=t,T.apply(R,r)}}),C.prototype[D]||n(19)(C.prototype,D,C.prototype.valueOf),s(C,"Symbol"),s(Math,"Math",!0),s(r.JSON,"JSON",!0)},function(e,t){e.exports=!1},function(e,t,n){var r=n(12)("wks"),a=n(5),o=n(0).Symbol,i="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=i&&o[e]||(i?o:a)("Symbol."+e))}).store=r},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(1),a=n(20);e.exports=n(2)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(32),a=n(22);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(39),a=r.Symbol;e.exports=a},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(111);e.exports=r},function(e,t,n){var r=n(0),a=n(11),o=n(16),i=n(28),u=n(1).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:i.f(e)})}},function(e,t,n){t.f=n(17)},function(e,t,n){e.exports=!n(2)&&!n(14)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(6),a=n(0).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){var r=n(0),a=n(19),o=n(3),i=n(5)("src"),u=n(55),l=(""+u).split("toString");n(11).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var c="function"==typeof n;c&&(o(n,"name")||a(n,"name",t)),e[t]!==n&&(c&&(o(n,i)||a(n,i,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[i]||u.call(this)})},function(e,t,n){var r=n(3),a=n(7),o=n(63)(!1),i=n(35)("IE_PROTO");e.exports=function(e,t){var n,u=a(e),l=0,c=[];for(n in u)n!=i&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(12)("keys"),a=n(5);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(32),a=n(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(77),o=n(42);e.exports=r},function(e,t,n){var r=n(40),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(78))},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||o(e)&&a(e)==i}var a=n(8),o=n(9),i="[object Symbol]";e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(47),a=n.n(r);Morph.modules["bbc-morph-bitesize-global-navigation-view@1.46.0"]=a.a},function(e,t,n){"use strict";e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=9)}([function(e,t){e.exports=n(4)},function(e,t){e.exports=n(48)},function(e,t){e.exports=n(51)},function(e,t){e.exports=n(52)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={"en-GB":{england:"England","northern-ireland":"Northern Ireland",scotland:"Scotland",wales:"Wales",home:"Home","daily-lessons":"Daily lessons","learn-revise":"Learn & revise",learn:"Learn",support:"Support",careers:"Careers","about-us":"About us","my-bitesize":"My Bitesize","all-bitesize":"All Bitesize",menu:"Menu",primary:"Primary",secondary:"Secondary","post-16":"Post-16",subjects:"Subjects",maths:"Maths",science:"Science",geography:"Geography",spanish:"Spanish",english:"English",history:"History",french:"French","63-more-subjects":"63 more subjects"},"cy-GB":{england:"Lloegr","northern-ireland":"Gogledd Iwerddon",scotland:"Yr Alban",wales:"Cymru",home:"Hafan","learn-revise":"Dysgu ac adolygu",support:"Cyngor",careers:"Gyrfaoedd","about-us":"Amdanom ni","my-bitesize":"Fy Bitesize","all-bitesize":"Pob pwnc",menu:"Dewislen",primary:"Cynradd",secondary:"Uwchradd","post-16":"Ôl 16",subjects:"Pynciau",maths:"Mathemateg",science:"Gwyddoniaeth",geography:"Daearyddiaeth",spanish:"Sbaeneg",english:"Saesneg",history:"Hanes",french:"Ffrangeg","all-subjects":"Pob pwnc...","63-more-subjects":"63 o bynciau eraill"},"ga-GB":{england:"Sasana","northern-ireland":"Tuaisceart Eireann",scotland:"Albain",wales:"An Bhreatain Bheag",home:"Baile","learn-revise":"Foghlaim",support:"Tacaíocht",careers:"Gairmeacha","about-us":"Fúinn","my-bitesize":"Mo Bitesize","all-bitesize":"Bitesize Uilig",menu:"Clàr",primary:"Bunoideachas",secondary:"Meánoideachas","post-16":"Iar-16",subjects:"Ábhair",maths:"Matamaitic",science:"Eolaíocht",geography:"Tíreolaíocht",spanish:"Spáinnis",english:"Béarla",history:"Stair",french:"Fraincis","63-more-subjects":"63 ábhar eile"},"gd-GB":{england:"Sasainn","northern-ireland":"Eirinn a Tuath",scotland:"Alba",wales:"A'Chuimrigh",home:"Dachaigh","learn-revise":"Ionnsaich",support:"Taic",careers:"Dreuchdan","about-us":"Mu ar deidhinn","my-bitesize":"Bitesize agamsa","all-bitesize":"Bitesize gu lèir",menu:"Roghchlár",primary:"Bun-sgoil",secondary:"Àrd-sgoil","post-16":"Nas sine na 16",subjects:"Cuspairean",maths:"Matamataig",science:"Saidheans",geography:"Cruinn-eòlas",spanish:"Spàinntis",english:"Beurla",history:"Eachdraidh",french:"Fraingis","63-more-subjects":"63 cuspairean a bharrachd"}};t.default=r,e.exports=t.default},function(e,t){e.exports=n(53)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(2)),u=r(n(13)),l=r(n(5)),c=r(n(3)),f=r(n(7)),s=r(n(4)),d=function(e){return e.toLowerCase().replace(/[^\w]+/,"-")},p=function(e,t,n){return(0,u.default)([n,t],"/bitesize".concat(e.href))},g=function(e){var t=e.buckets,n=e.pageType,r=e.language,o=e.href,u=e.onClick,g=e.showDrawer,b=e.includeLanguageSelector,h=e.linkToHighlight;return c.default.initLocalisations({language:r,localisations:s.default}),a.default.createElement("ul",{className:"global-navigation__list"},t.map(function(e){var t=(0,i.default)("global-navigation__list__item",{"global-navigation__list__item--highlighted":p(e,o,h)});return a.default.createElement("li",{className:t,key:d(e.title)},a.default.createElement("a",{className:"global-navigation__list__link",href:"/bitesize".concat(e.href)},a.default.createElement("span",{className:"global-navigation__list__link-text"},c.default.localise(d(e.title)))))}),a.default.createElement("li",null,a.default.createElement("ul",{className:"global-navigation__list__items--pinned"},a.default.createElement("li",{className:(0,i.default)("global-navigation__list__item",{"global-navigation__list__item--highlighted":"my"===n}),key:"my-bitesize"},a.default.createElement("a",{className:"global-navigation__list__link",href:"/bitesize/my"},a.default.createElement("span",{className:(0,i.default)("global-navigation__list__link-my-bitesize",{"global-navigation__list__link-my-bitesize--no-border":g})},c.default.localise("my-bitesize")))),b&&a.default.createElement("li",{className:"global-navigation__list__item",key:"language-selector"},a.default.createElement(f.default,{language:r})),a.default.createElement("li",{className:"global-navigation__list__item global-navigation__list__item--pinned global-navigation__list__item--all-bitesize",key:"all-bitesize"},a.default.createElement("button",{type:"button",onClick:u,className:(0,i.default)("global-navigation__list__link--button","global-navigation__list__link--button--pinned",{"global-navigation__list__link--button--pinned--open":g}),"aria-live":"polite","aria-label":"Menu button, this menu is ".concat(g?"open":"closed")},a.default.createElement("span",{className:"gel-icon gel-icon--list-view"},a.default.createElement(l.default,null)),a.default.createElement("span",{className:"global-navigation__list__link-text"},c.default.localise("all-bitesize")))))))};g.defaultProps={pageType:"",language:"en-GB",includeLanguageSelector:!1,href:null,linkToHighlight:""},g.propTypes={buckets:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}).isRequired).isRequired,href:o.default.string,pageType:o.default.string,language:o.default.string,onClick:o.default.func.isRequired,showDrawer:o.default.bool.isRequired,includeLanguageSelector:o.default.bool,linkToHighlight:o.default.string};var b=g;t.default=b,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=b();return function(){var n,r=h(e);if(t){var a=h(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return x(e)||w(e,t)||m(e,t)||v()}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw o}}return n}}function x(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var O=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0)),j=r(n(1)),E=r(n(2)),k=r(n(14)),S=r(n(15)),z=function(){var e=new Date;return e.setYear(e.getFullYear()+1),e},P=function(e,t){var n=window.bbccookies._getCurrentDomain()||".bbc.co.uk";n="."===n.charAt(0)?n:".".concat(n),window.bbccookies.set(e,t,{path:"/",domain:n,expires:z()})},N=function(e){P("ckps_kl_lang",e),window.location.reload(!0)},C=function(e){return y(k.default.filter(function(t){return t.languageCode===e}),1)[0]||k.default[0]},R=function(e){function t(){var e;return u(this,t),e=n.call(this),e.state={showLanguages:!1},e.close=e.close.bind(g(e)),e.closeClickEvent=e.closeClickEvent.bind(g(e)),e.toggle=e.toggle.bind(g(e)),e.handleKeyPress=e.handleKeyPress.bind(g(e)),e.handleFocusOut=e.handleFocusOut.bind(g(e)),e}f(t,e);var n=d(t);return c(t,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("mousedown",this.closeClickEvent),document.addEventListener("touchstart",this.closeClickEvent),document.addEventListener("focusout",this.handleFocusOut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("mousedown",this.closeClickEvent),document.removeEventListener("touchstart",this.closeClickEvent),document.removeEventListener("focusout",this.handleFocusOut)}},{key:"closeClickEvent",value:function(e){this.state.showLanguages&&!this.languageSelector.contains(e.target)&&this.setState({showLanguages:!1})}},{key:"handleFocusOut",value:function(e){this.closeClickEvent({target:e.relatedTarget||e.target})}},{key:"handleKeyPress",value:function(e){27===e.keyCode&&this.setState({showLanguages:!1})}},{key:"close",value:function(){this.setState({showLanguages:!1})}},{key:"toggle",value:function(){this.setState(function(e){return{showLanguages:!e.showLanguages}})}},{key:"render",value:function(){var e=this,t=this.props,n=t.language,r=t.className,a=this.state.showLanguages,o=C(n),u=k.default.filter(function(e){return e.languageCode!==o.languageCode});return O.default.createElement("div",{className:(0,E.default)("global-language-selector",r),ref:function(t){e.languageSelector=t}},O.default.createElement("button",{type:"button",onClick:this.toggle,className:"global-language-selector__drawer ".concat(a?"global-language-selector__drawer--open":"global-language-selector__drawer--closed")},O.default.createElement("span",{className:"global-language-selector__drawer-text"},o.languageLabel)),O.default.createElement("div",{className:(0,E.default)("global-language-selector__container",{"global-language-selector__container--hidden":!a})},O.default.createElement("ol",{className:"global-language-selector__list"},O.default.createElement(S.default,i({},o,{onClick:N,selected:!0})),u.map(function(e){return O.default.createElement(S.default,i({key:"".concat(e.languageCode)},e,{onClick:N}))}))))}}]),t}(O.Component);R.defaultProps={language:"en-GB",className:""},R.propTypes={language:j.default.string,className:j.default.string};var T=R;t.default=T,e.exports=t.default},function(e,t){e.exports={buckets:[{title:"Home",href:""},{title:"learn-revise",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"}],englishBuckets:[{title:"Home",href:""},{title:"daily-lessons",href:"/dailylessons"},{title:"Learn",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"}],mobileBuckets:[{title:"Home",href:""},{title:"learn-revise",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"},{title:"about-us",href:"/articles/z6x992p"}],mobileEnglishBuckets:[{title:"Home",href:""},{title:"daily-lessons",href:"/dailylessons"},{title:"Learn",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"},{title:"about-us",href:"/articles/z6x992p"}],pinned:{title:"My Bitesize",href:"/my"},allBitesize:[{section:"Primary",regions:[{region:"England",aria:"English curriculum",content:[{title:"KS1",href:"/levels/z3g4d2p",zid:"z3g4d2p",aria:"Key Stage one England"},{title:"KS2",href:"/levels/zbr9wmn",zid:"zbr9wmn",aria:"Key Stage two England"}]},{region:"Northern Ireland",aria:"Northern Irish curriculum",content:[{title:"Foundation Stage",href:"/levels/znyh7nb",zid:"znyh7nb",aria:"Foundation Stage"},{title:"KS1",href:"/levels/z3g4d2p",zid:"z3g4d2p",aria:"Key Stage one Northern Ireland"},{title:"KS2",href:"/levels/zjmj92p",zid:"zjmj92p",aria:"Key Stage two Northern Ireland"}]},{region:"Scotland",aria:"Scottish curriculum",content:[{title:"Early level",href:"/levels/zf7hgwx",zid:"zf7hgwx",aria:"Early level"},{title:"1st level",href:"/levels/zgckjxs",zid:"zgckjxs",aria:"First level"},{title:"2nd Level",href:"/levels/zr48q6f",zid:"zr48q6f",aria:"Second level"},{title:"A' Chiad Ìre ",href:"/levels/zk3xy9q",zid:"zk3xy9q",aria:"A' Chiad Ìre "},{title:"An Dàrna Ìre",href:"/levels/z4y2scw",zid:"z4y2scw",aria:"An Dàrna Ìre"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"Foundation Phase",href:"/levels/zxybmsg",zid:"zxybmsg",aria:"Foundation phase"},{title:"KS2",href:"/levels/zbr9wmn",zid:"zbr9wmn",aria:"Key Stage two Wales"},{title:"Cyfnod Sylfaen",href:"/levels/z4js6v4",zid:"z4js6v4",aria:"Cyfnod Sylfaen"},{title:"CA2",href:"/levels/zbpwt39",zid:"zbpwt39",aria:"CA2"}]}]},{section:"Secondary",regions:[{region:"England",aria:"English curriculum",content:[{title:"KS3",href:"/levels/z4kw2hv",zid:"z4kw2hv",aria:"Key Stage three England"},{title:"GCSE",href:"/levels/z98jmp3",zid:"z98jmp3",aria:"GCSE England"}]},{region:"Northern Ireland",aria:"Northern Irish curriculum",content:[{title:"KS3",href:"/levels/z4kw2hv",zid:"z4kw2hv",aria:"Key Stage three Northern Ireland"},{title:"GCSE",href:"/levels/z98jmp3",zid:"z98jmp3",aria:"GCSE Northern Ireland"}]},{region:"Scotland",aria:"Scottish curriculum",content:[{title:"3rd level",href:"/levels/zy4qn39",zid:"zy4qn39",aria:"Third level"},{title:"4th level",href:"/levels/zvk2fg8",zid:"zvk2fg8",aria:"Fourth level"},{title:"Nàiseanta 4",href:"/levels/z8hhvcw",zid:"z8hhvcw",aria:"Naiseanta four"},{title:"Nàiseanta 5",href:"/levels/zdpp34j",zid:"zdpp34j",aria:"Naiseanta five"},{title:"National 4",href:"/levels/zp3d7ty",zid:"zp3d7ty",aria:"National four"},{title:"National 5",href:"/levels/z6gw2hv",zid:"z6gw2hv",aria:"National five"},{title:"Àrd Ìre",href:"/levels/zqq4wxs",zid:"zqq4wxs",aria:"Ard Ire"},{title:"Higher",href:"/levels/zkdqxnb",zid:"zkdqxnb",aria:"Higher Scotland"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"CA3",href:"/levels/zh6vr82",zid:"zh6vr82",aria:"CA3"},{title:"KS3",href:"/levels/z4kw2hv",zid:"z4kw2hv",aria:"Key Stage three Wales"},{title:"CBC",href:"/levels/zqxy8mn",zid:"zqxy8mn",aria:"CBC"},{title:"GCSE",href:"/levels/z98jmp3",zid:"z98jmp3",aria:"GCSE Wales"},{title:"TGAU",href:"/levels/z8w76sg",zid:"z8w76sg",aria:"TGAU"},{title:"WBQ",href:"/levels/z9wtgdm",zid:"z9wtgdm",aria:"WBQ"}]}]},{section:"Post-16",regions:[{region:"England",aria:"English curriculum",content:[{title:"Functional Skills",href:"/levels/zvhtng8",zid:"",aria:"Functional Skills levels one and two"}]},{region:"Northern Ireland",aria:"Northern Irish curriculum",content:[]},{region:"Scotland",aria:"Scottish curriculum",content:[{title:"Core Skills",href:"/levels/z66jhbk",zid:"z66jhbk",aria:"Core skills level three"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"Essential Skills",href:"/levels/zhh7nrd",zid:"zhh7nrd",aria:"Essential skills levels one and two"}]}]},{section:"Subjects",regions:[{region:"",aria:"",content:[{title:"Maths",href:"/subjects/z6vg9j6",zid:"z6vg9j6",aria:"Maths"},{title:"English",href:"/subjects/zt3rkqt",zid:"zt3rkqt",aria:"English"}]},{region:"",aria:"",content:[{title:"Science",href:"/subjects/z7nygk7",zid:"z7nygk7",aria:"Science"},{title:"Cymraeg",href:"/subjects/zf48q6f",zid:"zf48q6f",aria:"Cymraeg"}]},{region:"",aria:"",content:[{title:"Gàidhlig",href:"/subjects/zgj2tfr",zid:"zgj2tfr",aria:"Gàidhlig"},{title:"63 more subjects",href:"/subjects/",zid:"",aria:"63 more subjects"}]}]},{section:"Support",href:"/support",aria:"Support"},{section:"Careers",href:"/careers",aria:"Careers"},{section:"about-us",href:"/articles/z6x992p",aria:"About us"}]}},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(10)),u=r(n(8)),l=function(e){var t=e.language,n=e.href,r=e.pageType,o=e.phase,l=e.headerData;return a.default.createElement(i.default,{language:t,href:n,pageType:r,phase:o,headerData:l,navigationData:u.default,subdirectory:"bitesize"})};l.defaultProps={headerData:{}},l.propTypes={language:o.default.string.isRequired,href:o.default.string.isRequired,pageType:o.default.string.isRequired,phase:o.default.string.isRequired,headerData:o.default.shape({title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var c=l;t.default=c,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=g();return function(){var n,r=b(e);if(t){var a=b(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0)),y=r(n(1)),v=r(n(11)),m=r(n(19)),_=n(25),w=function(e){function t(e){var r;return i(this,t),r=n.call(this,e),r.state={showDrawer:!1},r.toggleDrawer=r.toggleDrawer.bind(p(r)),r}c(t,e);var n=s(t);return l(t,[{key:"componentDidMount",value:function(){var e=document.querySelector(".global-navigation__header__logo__link");null!==e&&e.addEventListener("animationend",function(e){e.target.classList.remove("global-navigation__header__logo__link--animate"),e.target.classList.remove("global-navigation__header__logo__link--delay-animation")})}},{key:"toggleDrawer",value:function(){document.body.classList.toggle("drawer-open"),this.setState(function(e){return{showDrawer:!e.showDrawer}})}},{key:"render",value:function(){var e=this.props,t=e.pageType,n=e.language,r=e.subdirectory,a=e.navigationData,o=e.href,i=e.phase,u=e.headerData,l=this.state.showDrawer;return h.default.createElement("div",{className:"global-navigation"},h.default.createElement(v.default,{buckets:(0,_.MobileBucketProvider)(n),pageType:t,href:o,language:n,subdirectory:r,onClick:this.toggleDrawer,showDrawer:l,phase:i,headerData:u}),h.default.createElement(m.default,{allBitesize:a.allBitesize,buckets:(0,_.BucketProvider)(n),href:o,pageType:t,language:n,subdirectory:r,onClick:this.toggleDrawer,showDrawer:l,headerData:u}))}}]),t}(h.Component);w.defaultProps={pageType:"",href:"",subdirectory:"bitesize",language:"en-GB",phase:"",headerData:{href:null}},w.propTypes={navigationData:y.default.shape({allBitesize:y.default.arrayOf({}),buckets:y.default.arrayOf(y.default.shape({title:y.default.string.isRequired,href:y.default.string.isRequired}).isRequired).isRequired,mobileBuckets:y.default.arrayOf(y.default.shape({title:y.default.string.isRequired,href:y.default.string.isRequired}).isRequired).isRequired}).isRequired,href:y.default.string,pageType:y.default.string,subdirectory:y.default.string,language:y.default.string,phase:y.default.string,headerData:y.default.shape({href:y.default.string,title:y.default.string.isRequired,children:y.default.arrayOf(y.default.shape({title:y.default.string.isRequired,href:y.default.string.isRequired})).isRequired})};var x=w;t.default=x,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(5)),u=r(n(3)),l=r(n(2)),c=r(n(4)),f=r(n(12)),s=function(e){var t=e.buckets,n=e.pageType,r=e.href,o=e.language,s=e.subdirectory,d=e.onClick,p=e.showDrawer,g=e.phase,b=e.headerData;return u.default.initLocalisations({language:o,localisations:c.default}),a.default.createElement("header",{className:"global-navigation__header"},a.default.createElement("div",{className:"global-navigation__header__wrap"},a.default.createElement("span",{className:"global-navigation__header__logo",tabIndex:"-1"},a.default.createElement("a",{className:"global-navigation__header__logo__link--animate global-navigation__header__logo__link--delay-animation ".concat(g?"global-navigation__header__logo__link global-navigation__header__logo__link--phase-".concat(g.toLowerCase()):"global-navigation__header__logo__link"),href:"/".concat(s),onMouseEnter:function(e){e.target.classList.add("global-navigation__header__logo__link--animate")}},"Bitesize")),a.default.createElement("button",{type:"button",className:(0,l.default)("global-navigation__header__menu-button",{"global-navigation__header__menu-button-active":p}),onClick:function(){return d()},"aria-label":"Open menu"},a.default.createElement("i",{className:"gel-icon gel-icon--list-view global-navigation__header__menu-button__list-view"},a.default.createElement(i.default,null)),a.default.createElement("span",{className:"global-navigation__header__menu-button__text"},u.default.localise("all-bitesize"))),a.default.createElement(f.default,{href:r,buckets:t,pageType:n,language:o,subdirectory:s,showDrawer:p,onClick:d,headerData:b})))};s.displayName="Header",s.defaultProps={href:"",language:"en-GB",pageType:"",phase:"",showDrawer:!1,subdirectory:"bitesize",headerData:{}},s.propTypes={buckets:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}).isRequired).isRequired,href:o.default.string,language:o.default.string,onClick:o.default.func.isRequired,pageType:o.default.string,phase:o.default.string,showDrawer:o.default.bool,subdirectory:o.default.string,headerData:o.default.shape({title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var d=s;t.default=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(6)),u=r(n(17)),l=function(e){return e&&"title"in e&&"children"in e&&e.children.length>0},c=function(e){var t=e.showDrawer,n=e.buckets,r=e.pageType,o=e.language,c=e.href,f=e.onClick,s=e.headerData;return a.default.createElement("div",{className:"global-navigation__mobile-nav"},t&&a.default.createElement("div",{className:"global-navigation__mobile-nav__drawer"},a.default.createElement(i.default,{buckets:n,pageType:r,language:o,href:c,onClick:f,showDrawer:t,linkToHighlight:s?s.href:null,includeLanguageSelector:!0})),l(s)&&a.default.createElement(u.default,{submenu:s,currentPage:c}))};c.defaultProps={pageType:"",language:"en-GB",showDrawer:!1,href:null,headerData:{href:null}},c.propTypes={buckets:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}).isRequired).isRequired,pageType:o.default.string,language:o.default.string,showDrawer:o.default.bool,onClick:o.default.func.isRequired,href:o.default.string,headerData:o.default.shape({href:o.default.string,title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var f=c;t.default=f,e.exports=t.default},function(e,t){e.exports=n(72)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=[{languageCode:"en-GB",languageLabel:"Change language",label:"English"},{languageCode:"cy-GB",languageLabel:"Newid iaith",label:"Cymraeg"},{languageCode:"ga-GB",languageLabel:"Athraigh teanga",label:"Gaeilge"},{languageCode:"gd-GB",languageLabel:"Atharraich cànan",label:"Gàidhlig"}];t.default=r,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(2)),u=r(n(16)),l=function(e){var t=e.label,n=e.onClick,r=e.languageCode,o=e.selected;return a.default.createElement("li",{key:r,className:(0,i.default)("global-language-selector__language",{"global-language-selector__language--selected":o})},a.default.createElement("button",{type:"button",tabIndex:"0",lang:r,className:"global-language-selector__language-link",onClick:function(){return n(r)},"aria-label":o?"".concat(t,", selected"):t},a.default.createElement("span",{className:"global-language-selector__language-label",lang:r},t),o&&a.default.createElement("span",{className:"global-language-selector__icon-yes gel-icon gel-icon--yes"},a.default.createElement(u.default,null))))};l.defaultProps={selected:!1},l.propTypes={label:o.default.string.isRequired,onClick:o.default.func.isRequired,languageCode:o.default.string.isRequired,selected:o.default.bool};var c=l;t.default=c,e.exports=t.default},function(e,t){e.exports=n(103)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=p();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var b=r(n(0)),h=r(n(1)),y=r(n(2)),v=r(n(18)),m=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.toggleClick=r.toggleClick.bind(d(r)),r.state={isExpanded:!1},r}l(t,e);var n=f(t);return u(t,[{key:"toggleClick",value:function(){this.setState(function(e){return{isExpanded:!e.isExpanded}})}},{key:"render",value:function(){var e=this.props,t=e.submenu,n=t.title,r=t.children,a=e.currentPage,o=this.state.isExpanded;return b.default.createElement("nav",{className:(0,y.default)("global-navigation__mobile-sub-nav",{"global-navigation__mobile-sub-nav--expanded":o})},b.default.createElement("h3",{className:"global-navigation__mobile-sub-nav-title"},b.default.createElement("button",{type:"button",className:"global-navigation__mobile-sub-nav__toggle",onClick:this.toggleClick,"aria-expanded":o,"aria-controls":"mobile-sub-nav-menu"},b.default.createElement("span",{className:"global-navigation__mobile-sub-nav-title__text"},n),b.default.createElement("span",{className:"global-navigation__chevron__down-svg"},b.default.createElement(v.default,null)))),b.default.createElement("ul",{id:"mobile-sub-nav-menu",className:"global-navigation__mobile-sub-nav-menu",hidden:!o},r.map(function(e){var t=e.title,n=e.href,r=a===n;return b.default.createElement("li",{key:t,className:(0,y.default)("global-navigation__mobile-sub-nav-menu-item",{"global-navigation__mobile-sub-nav-menu-item--highlighted":r})},b.default.createElement("a",{className:"global-navigation__mobile-sub-nav-menu-link",href:n,"data-bbc-container":"global-navigation","aria-current":r?"page":null},t))})))}}]),t}(b.default.Component);m.displayName="MobileSubNav",m.propTypes={submenu:h.default.shape({title:h.default.string.isRequired,children:h.default.arrayOf(h.default.shape({title:h.default.string.isRequired,href:h.default.string.isRequired})).isRequired}).isRequired,currentPage:h.default.string.isRequired};var _=m;t.default=_,e.exports=t.default},function(e,t){e.exports=n(104)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(20)),u=r(n(6)),l=r(n(7)),c=r(n(24)),f=function(e){return e&&"title"in e&&"children"in e&&e.children.length>0},s=function(e){var t=e.allBitesize,n=e.buckets,r=e.pageType,o=e.language,s=e.subdirectory,d=e.onClick,p=e.showDrawer,g=e.href,b=e.headerData;return a.default.createElement("nav",{className:"global-navigation__primary-nav"},a.default.createElement("div",{className:"global-navigation__primary-nav__wrap"},a.default.createElement(l.default,{language:o}),a.default.createElement(u.default,{buckets:n,pageType:r,language:o,subdirectory:s,onClick:d,showDrawer:p,href:g,linkToHighlight:b?b.href:null})),p&&a.default.createElement(i.default,{language:o,allBitesize:t,subdirectory:s}),f(b)&&a.default.createElement("div",{className:"global-navigation__sub-nav-wrap"},a.default.createElement(c.default,{currentPage:g,submenu:b})))};s.displayName="PrimaryNav",s.defaultProps={pageType:"",subdirectory:"bitesize",language:"en-GB",showDrawer:!1,href:"",headerData:{href:null}},s.propTypes={allBitesize:o.default.arrayOf(o.default.shape({section:o.default.string.isRequired,content:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}))})).isRequired,buckets:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}).isRequired).isRequired,href:o.default.string,pageType:o.default.string,subdirectory:o.default.string,language:o.default.string,onClick:o.default.func.isRequired,showDrawer:o.default.bool,headerData:o.default.shape({href:o.default.string,title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var d=s;t.default=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(21)),u=r(n(22)),l=r(n(23)),c=r(n(3)),f=r(n(4)),s=function(e){return e.toLowerCase().replace(/[^\w]+/g,"-")},d=function(e){var t=e.className,n=e.allBitesize,r=e.subdirectory,o=e.language;return c.default.initLocalisations({language:o,localisations:f.default}),a.default.createElement("div",{className:t},a.default.createElement("div",{className:"global-navigation__drawer__content"},a.default.createElement("ul",{className:"global-navigation__drawer__content-list global-navigation__drawer__content-list--primary-list"},n.map(function(e){return e.href?a.default.createElement("li",{key:(0,u.default)((0,i.default)(e.section)),className:"global-navigation__drawer__content-primary-list-item global-navigation__drawer__content-primary-list-item--clickable"},a.default.createElement("a",{className:"global-navigation__drawer__content-primary-list-item__link",href:"/".concat(r).concat(e.href),"aria-label":e.aria},a.default.createElement("h2",{className:"global-navigation__drawer__content-primary-list-item__link__header"},c.default.localise(s(e.section)),a.default.createElement(l.default,null)))):a.default.createElement("li",{key:(0,i.default)(e.section),className:"global-navigation__drawer__content-primary-list-item"},a.default.createElement("h2",{className:"global-navigation__drawer__content-primary-list-item__header"},c.default.localise(s(e.section))),a.default.createElement("ul",{className:"global-navigation__drawer__content-list global-navigation__drawer__content-list--secondary-list"},e.regions.map(function(e){return a.default.createElement("li",{key:(0,u.default)((0,i.default)(e.region)),className:"global-navigation__drawer__content-secondary-list-item-container"},a.default.createElement("h3",{"aria-label":e.aria,className:"global-navigation__drawer__content-secondary-list-item__header"},c.default.localise(s(e.region))),a.default.createElement("ul",{className:"global-navigation__drawer__content-list global-navigation__drawer__content-list--tertiary-list"},e.content.map(function(t){return a.default.createElement("li",{className:"global-navigation__drawer__content-tertiary-list-item",key:(0,u.default)(t.zid)},a.default.createElement("a",{className:"global-navigation__drawer__content-tertiary-list-item__link",href:"/".concat(r).concat(t.href),"aria-label":t.aria?t.aria:"".concat(t.title," ").concat(e.region)},a.default.createElement("p",{className:"global-navigation__drawer__content-tertiary-list-item__text-container"},a.default.createElement("span",{className:"global-navigation__drawer__content-tertiary-list-item__text"},c.default.localise(s(t.title))||t.title))))})))})))}))))};d.defaultProps={className:"global-navigation__drawer",allBitesize:[],subdirectory:"bitesize",language:"en-GB"},d.propTypes={className:o.default.string,allBitesize:o.default.arrayOf(o.default.shape({section:o.default.string.isRequired,content:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}))})),subdirectory:o.default.string,language:o.default.string};var p=d;t.default=p,e.exports=t.default},function(e,t){e.exports=n(105)},function(e,t){e.exports=n(116)},function(e,t){e.exports=n(117)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(2)),u=function(e){var t=e.submenu.children,n=e.currentPage;return a.default.createElement("nav",{className:"global-navigation__sub-nav"},a.default.createElement("ul",{className:"global-navigation__sub-nav__menu"},t.map(function(e){var t=e.title,r=e.href,o=n===r;return a.default.createElement("li",{key:t,className:(0,i.default)("global-navigation__sub-nav__menu__item",{"global-navigation__sub-nav__menu__item--selected":o})},a.default.createElement("a",{className:"global-navigation__sub-nav__menu__link",href:r,"data-bbc-container":"global-navigation","aria-current":o?"page":null},t))})))};u.displayName="SubNav",u.propTypes={submenu:o.default.shape({title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired}).isRequired,currentPage:o.default.string.isRequired};var l=u;t.default=l,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MobileBucketProvider=t.BucketProvider=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8)),a=function(e){return"en-GB"===e?r.default.englishBuckets:r.default.buckets};t.BucketProvider=a;var o=function(e){return"en-GB"===e?r.default.mobileEnglishBuckets:r.default.mobileBuckets};t.MobileBucketProvider=o}])},function(e,t,n){e.exports=n(49)()},function(e,t,n){"use strict";function r(){}function a(){}var o=n(50);a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,i){if(i!==o){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r,a;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=n.apply(null,r);i&&e.push(i)}else if("object"===a)for(var u in r)o.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var o={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(a=function(){return n}.apply(t,r))&&(e.exports=a))}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=["en-GB","ga-GB","gd-GB","cy-GB"],o="en-GB",i=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=function(e,t){return void 0!==n[t]?n[t]:e};return e.replace(/{(\d+)}/g,a)},u=function(e){var t=e.language,n=e.localisations;a.indexOf(t)>=0&&(o=t),n&&(r=n)},l=function(){return o},c=function(e){if(!r)throw new Error("No localisation data has been set.");if(!r[o])return"";for(var t=r[o][e],n=arguments.length,a=new Array(n>1?n-1:0),u=1;u<n;u++)a[u-1]=arguments[u];return a.length>0?i.apply(void 0,[t].concat(a)):t},f={initLocalisations:u,getLocale:l,localise:c};t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(10),n(15);var d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(4)),p=function(e){function t(){return a(this,t),u(this,c(t).apply(this,arguments))}return f(t,e),i(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return d.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(t){e.svg=t}},d.default.createElement("path",{d:"M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z"}))}}]),t}(d.Component),g=p;t.default=g,e.exports=t.default},function(e,t,n){var r=n(0),a=n(11),o=n(19),i=n(31),u=n(56),l=function(e,t,n){var c,f,s,d,p=e&l.F,g=e&l.G,b=e&l.S,h=e&l.P,y=e&l.B,v=g?r:b?r[t]||(r[t]={}):(r[t]||{}).prototype,m=g?a:a[t]||(a[t]={}),_=m.prototype||(m.prototype={});g&&(n=t);for(c in n)f=!p&&v&&void 0!==v[c],s=(f?v:n)[c],d=y&&f?u(s,r):h&&"function"==typeof s?u(Function.call,s):s,v&&i(v,c,s,e&l.U),m[c]!=s&&o(m,c,d),h&&_[c]!=s&&(_[c]=s)};r.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){e.exports=n(12)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(57);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(5)("meta"),a=n(6),o=n(3),i=n(1).f,u=0,l=Object.isExtensible||function(){return!0},c=!n(14)(function(){return l(Object.preventExtensions({}))}),f=function(e){i(e,r,{value:{i:"O"+ ++u,w:{}}})},s=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";f(e)}return e[r].i},d=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;f(e)}return e[r].w},p=function(e){return c&&g.NEED&&l(e)&&!o(e,r)&&f(e),e},g=e.exports={KEY:r,NEED:!1,fastKey:s,getWeak:d,onFreeze:p}},function(e,t,n){var r=n(1).f,a=n(3),o=n(17)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(21),a=n(36),o=n(23);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var i,u=n(e),l=o.f,c=0;u.length>c;)l.call(e,i=u[c++])&&t.push(i);return t}},function(e,t,n){var r=n(33);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(7),a=n(64),o=n(65);e.exports=function(e){return function(t,n,i){var u,l=r(t),c=a(l.length),f=o(i,c);if(e&&n!=n){for(;c>f;)if((u=l[f++])!=u)return!0}else for(;c>f;f++)if((e||f in l)&&l[f]===n)return e||f||0;return!e&&-1}}},function(e,t,n){var r=n(34),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t,n){var r=n(34),a=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?a(e+t,0):o(e,t)}},function(e,t,n){var r=n(33);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(13),a=n(68),o=n(22),i=n(35)("IE_PROTO"),u=function(){},l=function(){var e,t=n(30)("iframe"),r=o.length;for(t.style.display="none",n(69).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[i]=e):n=l(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(1),a=n(13),o=n(21);e.exports=n(2)?Object.defineProperties:function(e,t){a(e);for(var n,i=o(t),u=i.length,l=0;u>l;)r.f(e,n=i[l++],t[n]);return e}},function(e,t,n){var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(7),a=n(37).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return a(e)}catch(e){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?u(e):a(r(e))}},function(e,t,n){var r=n(23),a=n(20),o=n(7),i=n(18),u=n(3),l=n(29),c=Object.getOwnPropertyDescriptor;t.f=n(2)?c:function(e,t){if(e=o(e),t=i(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){function r(e,t,n,r){e=o(e)?e:l(e),n=n&&!r?u(n):0;var f=e.length;return n<0&&(n=c(f+n,0)),i(e)?n<=f&&e.indexOf(t,n)>-1:!!f&&a(e,t,n)>-1}var a=n(73),o=n(38),i=n(81),u=n(82),l=n(85),c=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):a(e,o,n)}var a=n(74),o=n(75),i=n(76);e.exports=r},function(e,t){function n(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}e.exports=n},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t){function n(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){function r(e){if(!o(e))return!1;var t=a(e);return t==u||t==l||t==i||t==c}var a=n(8),o=n(41),i="[object AsyncFunction]",u="[object Function]",l="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){function r(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var a=u.call(e);return r&&(t?e[l]=n:delete e[l]),a}var a=n(24),o=Object.prototype,i=o.hasOwnProperty,u=o.toString,l=a?a.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return a.call(e)}var r=Object.prototype,a=r.toString;e.exports=n},function(e,t,n){function r(e){return"string"==typeof e||!o(e)&&i(e)&&a(e)==u}var a=n(8),o=n(25),i=n(9),u="[object String]";e.exports=r},function(e,t,n){function r(e){var t=a(e),n=t%1;return t===t?n?t-n:t:0}var a=n(83);e.exports=r},function(e,t,n){function r(e){return e?(e=a(e))===o||e===-o?(e<0?-1:1)*i:e===e?e:0:0===e?e:0}var a=n(84),o=1/0,i=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(o(e))return i;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=c.test(e);return n||f.test(e)?s(e.slice(2),n?2:8):l.test(e)?i:+e}var a=n(41),o=n(43),i=NaN,u=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,s=parseInt;e.exports=r},function(e,t,n){function r(e){return null==e?[]:a(e,o(e))}var a=n(86),o=n(87);e.exports=r},function(e,t,n){function r(e,t){return a(t,function(t){return e[t]})}var a=n(44);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var a=n(88),o=n(99),i=n(38);e.exports=r},function(e,t,n){function r(e,t){var n=i(e),r=!n&&o(e),f=!n&&!r&&u(e),d=!n&&!r&&!f&&c(e),p=n||r||f||d,g=p?a(e.length,String):[],b=g.length;for(var h in e)!t&&!s.call(e,h)||p&&("length"==h||f&&("offset"==h||"parent"==h)||d&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||l(h,b))||g.push(h);return g}var a=n(89),o=n(90),i=n(25),u=n(92),l=n(94),c=n(95),f=Object.prototype,s=f.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){var r=n(91),a=n(9),o=Object.prototype,i=o.hasOwnProperty,u=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&i.call(e,"callee")&&!u.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return o(e)&&a(e)==i}var a=n(8),o=n(9),i="[object Arguments]";e.exports=r},function(e,t,n){(function(e){var r=n(39),a=n(93),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,u=i&&i.exports===o,l=u?r.Buffer:void 0,c=l?l.isBuffer:void 0,f=c||a;e.exports=f}).call(t,n(45)(e))},function(e,t){function n(){return!1}e.exports=n},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&a.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){var r=n(96),a=n(97),o=n(98),i=o&&o.isTypedArray,u=i?a(i):r;e.exports=u},function(e,t,n){function r(e){return i(e)&&o(e.length)&&!!u[a(e)]}var a=n(8),o=n(42),i=n(9),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var r=n(40),a="object"==typeof t&&t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a,u=i&&r.process,l=function(){try{return o&&o.require&&o.require("util").types||u&&u.binding&&u.binding("util")}catch(e){}}();e.exports=l}).call(t,n(45)(e))},function(e,t,n){function r(e){if(!a(e))return o(e);var t=[];for(var n in Object(e))u.call(e,n)&&"constructor"!=n&&t.push(n);return t}var a=n(100),o=n(101),i=Object.prototype,u=i.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}var r=Object.prototype;e.exports=n},function(e,t,n){var r=n(102),a=r(Object.keys,Object);e.exports=a},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(10),n(15);var d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(4)),p=function(e){function t(){return a(this,t),u(this,c(t).apply(this,arguments))}return f(t,e),i(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return d.default.createElement("svg",{className:"bitesize-yes-svg",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"31.8px",height:"32px",viewBox:"0 0 31.8 32",enableBackground:"new 0 0 31.8 32",ref:function(t){e.svg=t}},d.default.createElement("polygon",{points:"12.8,28.9 31.8,6.3 28,3.1 12.2,21.9 3.2,14.4 0,18.2 \t"}))}}]),t}(d.Component),g=p;t.default=g,e.exports=t.default},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(10),n(15);var d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(4)),p=function(e){function t(){return a(this,t),u(this,c(t).apply(this,arguments))}return f(t,e),i(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return d.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"32px",height:"32px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32",ref:function(t){e.svg=t}},d.default.createElement("g",{id:"Grid"}),d.default.createElement("g",{id:"Layer_2"},d.default.createElement("polygon",{points:"16,29 32,3 24.8,3 16,18.3 7.2,3 0,3"})))}}]),t}(d.Component),g=p;t.default=g,e.exports=t.default},function(e,t,n){var r=n(106),a=r(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});e.exports=a},function(e,t,n){function r(e){return function(t){return a(i(o(t).replace(u,"")),e,"")}}var a=n(107),o=n(108),i=n(112),u=RegExp("['’]","g");e.exports=r},function(e,t){function n(e,t,n,r){var a=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}e.exports=n},function(e,t,n){function r(e){return(e=o(e))&&e.replace(i,a).replace(u,"")}var a=n(109),o=n(26),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=r},function(e,t,n){var r=n(110),a={"À":"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","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},o=r(a);e.exports=o},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(i(e))return o(e,r)+"";if(u(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var a=n(24),o=n(44),i=n(25),u=n(43),l=1/0,c=a?a.prototype:void 0,f=c?c.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n){return e=i(e),t=n?void 0:t,void 0===t?o(e)?u(e):a(e):e.match(t)||[]}var a=n(113),o=n(114),i=n(26),u=n(115);e.exports=r},function(e,t){function n(e){return e.match(r)||[]}var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=n},function(e,t){function n(e){return r.test(e)}var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=n},function(e,t){function n(e){return e.match(g)||[]}var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",a="["+r+"]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:"+o+"|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",f="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",s="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,u].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*",d="[\\ufe0e\\ufe0f]?"+f+s,p="(?:"+["[\\u2700-\\u27bf]",i,u].join("|")+")"+d,g=RegExp([l+"?"+o+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,l,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,l+c,"$"].join("|")+")",l+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",p].join("|"),"g");e.exports=n},function(e,t,n){function r(e){var t=++o;return a(e)+t}var a=n(26),o=0;e.exports=r},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(10),n(15);var d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(4)),p=function(e){function t(){return a(this,t),u(this,c(t).apply(this,arguments))}return f(t,e),i(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return d.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"31.9",height:"32",viewBox:"0 0 31.9 32",ref:function(t){e.svg=t}},d.default.createElement("path",{d:"M29 16L3 0v7.2L17.6 16 3 24.8V32z"}))}}]),t}(d.Component),g=p;t.default=g,e.exports=t.default}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-header-view@8.69.0"]={"@babel/runtime":"7.10.5","@bbc/bitesize-branding":"12.0.0","@bbc/education-share-tools":"1.0.0","@bbc/mr-sparkle":"3.0.0","bbc-morph-bitesize-class-clip-data":"1.3.4","bbc-morph-bitesize-class-clips-data":"1.2.3","bbc-morph-bitesize-core-components":"12.3.0","bbc-morph-bitesize-crumbtrail":"2.1.2","bbc-morph-bitesize-examspec":"2.0.6","bbc-morph-bitesize-field-of-study":"1.2.2","bbc-morph-bitesize-global-navigation-view":"1.46.0","bbc-morph-bitesize-header-data":"1.12.0","bbc-morph-bitesize-level":"3.1.0","bbc-morph-bitesize-messaging-view":"1.35.1","bbc-morph-bitesize-personalisation-client-tools":"11.3.0","bbc-morph-bitesize-programme-of-study":"4.2.1","bbc-morph-bitesize-topics-for-web":"2.3.0","bbc-morph-blocks-article-data":"5.8.0","bbc-morph-istats":"1.3.0","bbc-morph-istats-internal-link-tracking":"1.0.0","classnames":"2.2.6","lodash":"4.17.19","lodash.endswith":"4.2.1","morph-container":"4.0.0","react":"0.14.7","react-dom":"0.14.7"}; !function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=199)}([function(t,e){t.exports=React},function(t,e,n){var r=n(147),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){t.exports=n(487)()},function(t,e,n){var r=n(117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},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,n){n(191)("asyncIterator")},function(t,e,n){"use strict";var r=n(8),o=n(17),i=n(16),u=n(51),a=n(54),c=n(461).KEY,f=n(23),s=n(55),l=n(80),p=n(31),d=n(18),h=n(192),y=n(191),v=n(462),g=n(463),b=n(52),_=n(30),m=n(25),x=n(74),w=n(53),j=n(143),O=n(464),k=n(465),P=n(15),A=n(24),S=k.f,T=P.f,E=O.f,I=r.Symbol,z=r.JSON,R=z&&z.stringify,C=d("_hidden"),M=d("toPrimitive"),W={}.propertyIsEnumerable,B=s("symbol-registry"),L=s("symbols"),D=s("op-symbols"),N=Object.prototype,F="function"==typeof I,q=r.QObject,U=!q||!q.prototype||!q.prototype.findChild,$=i&&f(function(){return 7!=j(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=S(N,e);r&&delete N[e],T(t,e,n),r&&t!==N&&T(N,e,r)}:T,G=function(t){var e=L[t]=j(I.prototype);return e._k=t,e},V=F&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},K=function(t,e,n){return t===N&&K(D,e,n),b(t),e=x(e,!0),b(n),o(L,e)?(n.enumerable?(o(t,C)&&t[C][e]&&(t[C][e]=!1),n=j(n,{enumerable:w(0,!1)})):(o(t,C)||T(t,C,w(1,{})),t[C][e]=!0),$(t,e,n)):T(t,e,n)},H=function(t,e){b(t);for(var n,r=v(e=m(e)),o=0,i=r.length;i>o;)K(t,n=r[o++],e[n]);return t},Z=function(t,e){return void 0===e?j(t):H(j(t),e)},Y=function(t){var e=W.call(this,t=x(t,!0));return!(this===N&&o(L,t)&&!o(D,t))&&(!(e||!o(this,t)||!o(L,t)||o(this,C)&&this[C][t])||e)},J=function(t,e){if(t=m(t),e=x(e,!0),t!==N||!o(L,e)||o(D,e)){var n=S(t,e);return!n||!o(L,e)||o(t,C)&&t[C][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=E(m(t)),r=[],i=0;n.length>i;)o(L,e=n[i++])||e==C||e==c||r.push(e);return r},Q=function(t){for(var e,n=t===N,r=E(n?D:m(t)),i=[],u=0;r.length>u;)!o(L,e=r[u++])||n&&!o(N,e)||i.push(L[e]);return i};F||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===N&&e.call(D,n),o(this,C)&&o(this[C],t)&&(this[C][t]=!1),$(this,t,w(1,n))};return i&&U&&$(N,t,{configurable:!0,set:e}),G(t)},a(I.prototype,"toString",function(){return this._k}),k.f=J,P.f=K,n(193).f=O.f=X,n(57).f=Y,n(77).f=Q,i&&!n(56)&&a(N,"propertyIsEnumerable",Y,!0),h.f=function(t){return G(d(t))}),u(u.G+u.W+u.F*!F,{Symbol:I});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)d(tt[et++]);for(var nt=A(d.store),rt=0;nt.length>rt;)y(nt[rt++]);u(u.S+u.F*!F,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=I(t)},keyFor:function(t){if(!V(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),u(u.S+u.F*!F,"Object",{create:Z,defineProperty:K,defineProperties:H,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),z&&u(u.S+u.F*(!F||f(function(){var t=I();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(_(e)||void 0!==t)&&!V(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!V(e))return e}),r[1]=e,R.apply(z,r)}}),I.prototype[M]||n(14)(I.prototype,M,I.prototype.valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(237),i=n(240);t.exports=r},function(t,e,n){var r=n(15),o=n(53);t.exports=n(16)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(52),o=n(135),i=n(74),u=Object.defineProperty;e.f=n(16)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(55)("wks"),o=n(31),i=n(8).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(313),i=n(318);t.exports=r},function(t,e,n){function r(t){return null==t?void 0===t?c:a:f&&f in Object(t)?i(t):u(t)}var o=n(27),i=n(314),u=n(315),a="[object Null]",c="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=r},function(t,e,n){function r(t){return null==t?void 0===t?c:a:f&&f in Object(t)?i(t):u(t)}var o=n(42),i=n(205),u=n(206),a="[object Null]",c="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(137),o=n(76);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(138),o=n(140);t.exports=function(t){return r(o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(1),o=r.Symbol;t.exports=o},function(t,e,n){function r(t){return u(t)?o(t):i(t)}var o=n(212),i=n(219),u=n(41);t.exports=r},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},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){function r(t,e,n){return o(i,t,e,n)}var o=n(309),i=n(311);t.exports=r},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==u}var o=n(20),i=n(3),u="[object Symbol]";t.exports=r},function(t,e,n){function r(t){return u(t)?o(t):i(t)}var o=n(164),i=n(166),u=n(168);t.exports=r},function(t,e,n){var r=n(377),o=n(101),i=n(378),u=n(379),a=n(146),c=n(20),f=n(148),s=f(r),l=f(o),p=f(i),d=f(u),h=f(a),y=c;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||i&&"[object Promise]"!=y(i.resolve())||u&&"[object Set]"!=y(new u)||a&&"[object WeakMap]"!=y(new a))&&(y=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?f(n):"";if(r)switch(r){case s:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return e}),t.exports=y},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(413);t.exports=r},function(t,e,n){function r(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=n(33),i=1/0;t.exports=r},function(t,e){t.exports=Morph.modules["prop-types@15.7.2"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.openWindow=void 0;var r=function(t,e){var n=(t-e)/2;return n>0?Math.floor(n):0},o=function(t,e){if(window){var n=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,o=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,i=r(n,575),u=r(o,400),a="status=1,width=".concat(575,",height=").concat(400,",left=").concat(i,",top=").concat(u);window.open(t,e,a).moveTo(i,u)}};e.openWindow=o},function(t,e,n){"use strict";var r=n(109),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(110)),u=o(n(111)),a=o(n(112)),c=o(n(113)),f=o(n(114)),s=o(n(490)),l=r(n(0)),p=o(n(67)),d=n(0).PropTypes||n(6),h=function(t){var e=t.icon,n=t.lowerCaseName,r=t.standalone,o=(0,p.default)("ec-share-icon__svg",(0,s.default)({"ec-share-icon__svg--standalone":r},"ec-share-icon__svg--".concat(n),n));return l.default.createElement("span",{className:o},e)};h.propTypes={icon:d.element.isRequired,lowerCaseName:d.string.isRequired,standalone:d.bool.isRequired};var y=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,c.default)(e).call(this,t)),n.buttonRef=null,n}return(0,f.default)(e,t),(0,u.default)(e,[{key:"render",value:function(){var t=this,e=this.props,n=e.icon,r=e.name,o=e.standalone,i=e.onClick,u=e.position,a=(r||"").toLowerCase(),c=(0,p.default)("ec-share-button","ec-share-button--transparent",(0,s.default)({},"ec-share-button--".concat(a),a)),f=(0,p.default)("ec-share-cta-text",(0,s.default)({},"ec-share-cta-text--display-only-to-screen-reader",o));return l.default.createElement("button",{ref:function(e){t.buttonRef=e},className:c,"data-bbc-container":"Share Tools","data-bbc-title":r,"data-bbc-metadata":JSON.stringify({CHD:"".concat(o?"button":"menu-item",":: ").concat(u)}),"data-bbc-result":o?"share-pop-up":"share-menu","data-bbc-ignore-views":1,onClick:function(){i()}},l.default.createElement(h,{icon:n,lowerCaseName:a,standalone:o}),l.default.createElement("span",{className:f},r))}}]),e}(l.Component);y.propTypes={icon:d.node.isRequired,name:d.string.isRequired,standalone:d.bool.isRequired,onClick:d.func.isRequired,position:d.number.isRequired},y.defaultProps={dataBbc:{}};var v=y;e.default=v},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(116),i=n(68);t.exports=r},function(t,e,n){var r=n(7),o=r.Symbol;t.exports=o},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==u}var o=n(21),i=n(22),u="[object Symbol]";t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(227),i=n(228),u=n(229),a=n(230),c=n(231);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(124);t.exports=r},function(t,e,n){var r=n(13),o=r(Object,"create");t.exports=o},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(249);t.exports=r},function(t,e,n){function r(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=n(45),i=1/0;t.exports=r},function(t,e,n){var r=n(8),o=n(29),i=n(14),u=n(54),a=n(291),c=function(t,e,n){var f,s,l,p,d=t&c.F,h=t&c.G,y=t&c.S,v=t&c.P,g=t&c.B,b=h?r:y?r[e]||(r[e]={}):(r[e]||{}).prototype,_=h?o:o[e]||(o[e]={}),m=_.prototype||(_.prototype={});h&&(n=e);for(f in n)s=!d&&b&&void 0!==b[f],l=(s?b:n)[f],p=g&&s?a(l,r):v&&"function"==typeof l?a(Function.call,l):l,b&&u(b,f,l,t&c.U),_[f]!=l&&i(_,f,p),v&&m[f]!=l&&(m[f]=l)};r.core=o,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(30);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(8),o=n(14),i=n(17),u=n(31)("src"),a=n(290),c=(""+a).split("toString");n(29).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var f="function"==typeof n;f&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(f&&(i(n,u)||o(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(29),o=n(8),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(56)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){function r(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=o(t.prototype),r=t.apply(n,e);return i(r)?r:n}}var o=n(59),i=n(11);t.exports=r},function(t,e,n){var r=n(11),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){function r(t,e,n,r){var u=!n;n||(n={});for(var a=-1,c=e.length;++a<c;){var f=e[a],s=r?r(n[f],t[f],f,n,t):void 0;void 0===s&&(s=t[f]),u?i(n,f,s):o(n,f,s)}return n}var o=n(163),i=n(92);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(347),i=n(348),u=n(349),a=n(350),c=n(351);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(93);t.exports=r},function(t,e,n){var r=n(19),o=r(Object,"create");t.exports=o},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(365);t.exports=r},function(t,e){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(t,e,n){var r,o;!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var u=n.apply(null,r);u&&t.push(u)}else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?(n.default=n,t.exports=n):(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){function r(t){var e=o(t),n=e%1;return e===e?n?e-n:e:0}var o=n(208);t.exports=r},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?a(t)?i(t[0],t[1]):o(t):c(t)}var o=n(225),i=n(276),u=n(283),a=n(5),c=n(284);t.exports=r},function(t,e,n){var r=n(13),o=n(7),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(241),i=n(248),u=n(250),a=n(251),c=n(252);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){if(o(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!u.test(t)||null!=e&&t in Object(e))}var o=n(5),i=n(45),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=r},function(t,e,n){var r=n(30);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(55)("keys"),o=n(31);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(140);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(15).f,o=n(17),i=n(18)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){function r(t,e,n,r,w,j,O,k){var P=e&v;if(!P&&"function"!=typeof t)throw new TypeError(h);var A=r?r.length:0;if(A||(e&=~(_|m),r=w=void 0),O=void 0===O?O:x(d(O),0),k=void 0===k?k:d(k),A-=w?w.length:0,e&m){var S=r,T=w;r=w=void 0}var E=P?void 0:f(t),I=[t,e,n,r,w,S,T,j,O,k];if(E&&s(I,E),t=I[0],e=I[1],n=I[2],r=I[3],w=I[4],k=I[9]=void 0===I[9]?P?0:t.length:x(I[9]-A,0),!k&&e&(g|b)&&(e&=~(g|b)),e&&e!=y)z=e==g||e==b?u(t,e,k):e!=_&&e!=(y|_)||w.length?a.apply(void 0,I):c(t,e,n,r);else var z=i(t,e,n);return p((E?o:l)(z,I),t,e)}var o=n(144),i=n(319),u=n(320),a=n(149),c=n(337),f=n(87),s=n(338),l=n(155),p=n(157),d=n(161),h="Expected a function",y=1,v=2,g=8,b=16,_=32,m=64,x=Math.max;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==a||e==c||e==u||e==f}var o=n(20),i=n(11),u="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",f="[object Proxy]";t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function r(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=u,this.__views__=[]}var o=n(59),i=n(86),u=4294967295;r.prototype=o(i.prototype),r.prototype.constructor=r,t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e,n){var r=n(145),o=n(322),i=r?function(t){return r.get(t)}:o;t.exports=i},function(t,e,n){function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}var o=n(59),i=n(86);r.prototype=o(i.prototype),r.prototype.constructor=r,t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}t.exports=n},function(t,e){function n(t,e){var n=typeof t;return!!(e=null==e?r:e)&&("number"==n||"symbol"!=n&&o.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e){function n(t,e){for(var n=-1,o=t.length,i=0,u=[];++n<o;){var a=t[n];a!==e&&a!==r||(t[n]=r,u[i++]=n)}return u}var r="__lodash_placeholder__";t.exports=n},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(159);t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){var r=n(342),o=n(3),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&u.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e,n){(function(t){var r=n(1),o=n(343),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,c=a?r.Buffer:void 0,f=c?c.isBuffer:void 0,s=f||o;t.exports=s}).call(e,n(12)(t))},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){(function(t){var r=n(147),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===o,a=u&&r.process,c=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(e,n(12)(t))},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(62),i=n(352),u=n(353),a=n(354),c=n(355),f=n(356);r.prototype.clear=i,r.prototype.delete=u,r.prototype.get=a,r.prototype.has=c,r.prototype.set=f,t.exports=r},function(t,e,n){var r=n(19),o=n(1),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(357),i=n(364),u=n(366),a=n(367),c=n(368);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){var r=n(374),o=n(171),i=Object.prototype,u=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return u.call(t,e)}))}:o;t.exports=c},function(t,e){function n(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}t.exports=n},function(t,e,n){var r=n(167),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,e,n){function r(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}var o=n(175);t.exports=r},function(t,e,n){function r(t,e){if(o(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!u.test(t)||null!=e&&t in Object(e))}var o=n(2),i=n(33),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=r},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n},function(t,e,n){function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}var i=n(197);t.exports=o},function(t,e){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=n},function(t,e){function n(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),Object.defineProperty(t,r.key,r)}}function r(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}t.exports=r},function(t,e,n){function r(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?i(t):e}var o=n(197),i=n(198);t.exports=r},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}var o=n(486);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}t.exports=n},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==a||e==c||e==u||e==f}var o=n(21),i=n(44),u="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",f="[object Proxy]";t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(43))},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e,n){var r=n(214),o=n(22),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&u.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e,n){(function(t){var r=n(7),o=n(215),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,c=a?r.Buffer:void 0,f=c?c.isBuffer:void 0,s=f||o;t.exports=s}).call(e,n(12)(t))},function(t,e){function n(t,e){var n=typeof t;return!!(e=null==e?r:e)&&("number"==n||"symbol"!=n&&o.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e,n){var r=n(216),o=n(217),i=n(218),u=i&&i.isTypedArray,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(46),i=n(232),u=n(233),a=n(234),c=n(235),f=n(236);r.prototype.clear=i,r.prototype.delete=u,r.prototype.get=a,r.prototype.has=c,r.prototype.set=f,t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t,e,n,u,a){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,n,u,r,a))}var o=n(253),i=n(22);t.exports=r},function(t,e,n){function r(t,e,n,r,f,s){var l=n&a,p=t.length,d=e.length;if(p!=d&&!(l&&d>p))return!1;var h=s.get(t);if(h&&s.get(e))return h==e;var y=-1,v=!0,g=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++y<p;){var b=t[y],_=e[y];if(r)var m=l?r(_,b,y,e,t,s):r(b,_,y,t,e,s);if(void 0!==m){if(m)continue;v=!1;break}if(g){if(!i(e,function(t,e){if(!u(g,e)&&(b===t||f(b,t,n,r,s)))return g.push(e)})){v=!1;break}}else if(b!==_&&!f(b,_,n,r,s)){v=!1;break}}return s.delete(t),s.delete(e),v}var o=n(254),i=n(257),u=n(258),a=1,c=2;t.exports=r},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(44);t.exports=r},function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},function(t,e,n){function r(t,e,n){var r=null==t?void 0:o(t,e);return void 0===r?n:r}var o=n(131);t.exports=r},function(t,e,n){function r(t,e){e=o(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[i(e[n++])];return n&&n==r?t:void 0}var o=n(132),i=n(50);t.exports=r},function(t,e,n){function r(t,e){return o(t)?t:i(t,e)?[t]:u(a(t))}var o=n(5),i=n(73),u=n(277),a=n(133);t.exports=r},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(134);t.exports=r},function(t,e,n){function r(t){if("string"==typeof t)return t;if(u(t))return i(t,r)+"";if(a(t))return s?s.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}var o=n(42),i=n(118),u=n(5),a=n(45),c=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=r},function(t,e,n){t.exports=!n(16)&&!n(23)(function(){return 7!=Object.defineProperty(n(136)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(30),o=n(8).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(17),o=n(25),i=n(294)(!1),u=n(75)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,f=[];for(n in a)n!=u&&r(a,n)&&f.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(139);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){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},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(298),o=n(299),i=n(79),u=n(25);t.exports=n(300)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(52),o=n(302),i=n(76),u=n(75)("IE_PROTO"),a=function(){},c=function(){var t,e=n(136)("iframe"),r=i.length;for(e.style.display="none",n(303).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(82),o=n(145),i=o?function(t,e){return o.set(t,e),t}:r;t.exports=i},function(t,e,n){var r=n(146),o=r&&new r;t.exports=o},function(t,e,n){var r=n(19),o=n(1),i=r(o,"WeakMap");t.exports=i},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(43))},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t,e,n,_,m,x,w,j,O,k){function P(){for(var d=arguments.length,h=Array(d),y=d;y--;)h[y]=arguments[y];if(E)var v=f(P),g=u(h,v);if(_&&(h=o(h,_,m,E)),x&&(h=i(h,x,w,E)),d-=g,E&&d<k){var b=l(h,v);return c(t,e,r,P.placeholder,n,h,b,j,O,k-d)}var R=S?n:this,C=T?R[t]:t;return d=h.length,j?h=s(h,j):I&&d>1&&h.reverse(),A&&O<d&&(h.length=O),this&&this!==p&&this instanceof P&&(C=z||a(C)),C.apply(R,h)}var A=e&g,S=e&d,T=e&h,E=e&(y|v),I=e&b,z=T?void 0:a(t);return P}var o=n(150),i=n(151),u=n(321),a=n(58),c=n(152),f=n(160),s=n(336),l=n(91),p=n(1),d=1,h=2,y=8,v=16,g=128,b=512;t.exports=r},function(t,e){function n(t,e,n,o){for(var i=-1,u=t.length,a=n.length,c=-1,f=e.length,s=r(u-a,0),l=Array(f+s),p=!o;++c<f;)l[c]=e[c];for(;++i<a;)(p||i<u)&&(l[n[i]]=t[i]);for(;s--;)l[c++]=t[i++];return l}var r=Math.max;t.exports=n},function(t,e){function n(t,e,n,o){for(var i=-1,u=t.length,a=-1,c=n.length,f=-1,s=e.length,l=r(u-c,0),p=Array(l+s),d=!o;++i<l;)p[i]=t[i];for(var h=i;++f<s;)p[h+f]=e[f];for(;++a<c;)(d||i<u)&&(p[h+n[a]]=t[i++]);return p}var r=Math.max;t.exports=n},function(t,e,n){function r(t,e,n,r,d,h,y,v,g,b){var _=e&s,m=_?y:void 0,x=_?void 0:y,w=_?h:void 0,j=_?void 0:h;e|=_?l:p,(e&=~(_?p:l))&f||(e&=~(a|c));var O=[t,e,d,w,m,j,x,v,g,b],k=n.apply(void 0,O);return o(t)&&i(k,O),k.placeholder=r,u(k,t,e)}var o=n(153),i=n(155),u=n(157),a=1,c=2,f=4,s=8,l=32,p=64;t.exports=r},function(t,e,n){function r(t){var e=u(t),n=a[e];if("function"!=typeof n||!(e in o.prototype))return!1;if(t===n)return!0;var r=i(n);return!!r&&t===r[0]}var o=n(85),i=n(87),u=n(154),a=n(324);t.exports=r},function(t,e,n){function r(t){for(var e=t.name+"",n=o[e],r=u.call(o,e)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==t)return i.name}return e}var o=n(323),i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(144),o=n(156),i=o(r);t.exports=i},function(t,e){function n(t){var e=0,n=0;return function(){var u=i(),a=o-(u-n);if(n=u,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){function r(t,e,n){var r=e+"";return u(t,i(r,a(o(r),n)))}var o=n(326),i=n(327),u=n(158),a=n(330);t.exports=r},function(t,e,n){var r=n(328),o=n(156),i=o(r);t.exports=i},function(t,e,n){var r=n(19),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){function n(t){return t.placeholder}t.exports=n},function(t,e,n){function r(t){var e=o(t),n=e%1;return e===e?n?e-n:e:0}var o=n(339);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(61),i=n(34);t.exports=r},function(t,e,n){function r(t,e,n){var r=t[e];a.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(92),i=n(93),u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=u(t),r=!n&&i(t),s=!n&&!r&&a(t),p=!n&&!r&&!s&&f(t),d=n||r||s||p,h=d?o(t.length,String):[],y=h.length;for(var v in t)!e&&!l.call(t,v)||d&&("length"==v||s&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,y))||h.push(v);return h}var o=n(341),i=n(94),u=n(2),a=n(95),c=n(90),f=n(165),s=Object.prototype,l=s.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(344),o=n(97),i=n(98),u=i&&i.isTypedArray,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){if(!o(t))return i(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var o=n(99),i=n(345),u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(83),i=n(96);t.exports=r},function(t,e,n){function r(t,e,n,R,C,M){var W,B=e&k,L=e&P,D=e&A;if(n&&(W=C?n(t,R,C,M):n(t)),void 0!==W)return W;if(!w(t))return t;var N=_(t);if(N){if(W=v(t),!B)return s(t,W)}else{var F=y(t),q=F==T||F==E;if(m(t))return f(t,B);if(F==I||F==S||q&&!C){if(W=L||q?{}:b(t),!B)return L?p(t,c(W,t)):l(t,a(W,t))}else{if(!z[F])return C?t:{};W=g(t,F,B)}}M||(M=new o);var U=M.get(t);if(U)return U;if(M.set(t,W),j(t))return t.forEach(function(o){W.add(r(o,e,n,o,t,M))}),W;if(x(t))return t.forEach(function(o,i){W.set(i,r(o,e,n,i,t,M))}),W;var $=D?L?h:d:L?keysIn:O,G=N?void 0:$(t);return i(G||t,function(o,i){G&&(i=o,o=t[i]),u(W,i,r(o,e,n,i,t,M))}),W}var o=n(100),i=n(89),u=n(163),a=n(162),c=n(369),f=n(372),s=n(60),l=n(373),p=n(375),d=n(173),h=n(376),y=n(35),v=n(380),g=n(381),b=n(386),_=n(2),m=n(95),x=n(387),w=n(11),j=n(389),O=n(34),k=1,P=2,A=4,S="[object Arguments]",T="[object Function]",E="[object GeneratorFunction]",I="[object Object]",z={};z[S]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object DataView]"]=z["[object Boolean]"]=z["[object Date]"]=z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Map]"]=z["[object Number]"]=z[I]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object Symbol]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Error]"]=z[T]=z["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){function r(t){return u(t)?o(t,!0):i(t)}var o=n(164),i=n(370),u=n(168);t.exports=r},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){var r=n(104),o=n(105),i=n(103),u=n(171),a=Object.getOwnPropertySymbols,c=a?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:u;t.exports=c},function(t,e,n){function r(t){return o(t,u,i)}var o=n(174),i=n(103),u=n(34);t.exports=r},function(t,e,n){function r(t,e,n){var r=e(t);return i(t)?r:o(r,n(t))}var o=n(104),i=n(2);t.exports=r},function(t,e,n){var r=n(1),o=r.Uint8Array;t.exports=o},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?a(t)?i(t[0],t[1]):o(t):c(t)}var o=n(396),i=n(409),u=n(82),a=n(2),c=n(417);t.exports=r},function(t,e,n){function r(t,e,n,u,a){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,n,u,r,a))}var o=n(398),i=n(3);t.exports=r},function(t,e,n){function r(t,e,n,r,f,s){var l=n&a,p=t.length,d=e.length;if(p!=d&&!(l&&d>p))return!1;var h=s.get(t);if(h&&s.get(e))return h==e;var y=-1,v=!0,g=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++y<p;){var b=t[y],_=e[y];if(r)var m=l?r(_,b,y,e,t,s):r(b,_,y,t,e,s);if(void 0!==m){if(m)continue;v=!1;break}if(g){if(!i(e,function(t,e){if(!u(g,e)&&(b===t||f(b,t,n,r,s)))return g.push(e)})){v=!1;break}}else if(b!==_&&!f(b,_,n,r,s)){v=!1;break}}return s.delete(t),s.delete(e),v}var o=n(399),i=n(402),u=n(403),a=1,c=2;t.exports=r},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(11);t.exports=r},function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},function(t,e,n){function r(t,e){e=o(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[i(e[n++])];return n&&n==r?t:void 0}var o=n(182),i=n(37);t.exports=r},function(t,e,n){function r(t,e){return o(t)?t:i(t,e)?[t]:u(a(t))}var o=n(2),i=n(107),u=n(183),a=n(36);t.exports=r},function(t,e,n){var r=n(411),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=u},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e,n){function r(t){return u(i(t,void 0,o),t+"")}var o=n(421),i=n(424),u=n(158);t.exports=r},function(t,e){t.exports={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1}},function(t,e){t.exports=Morph.modules["bbc-morph-promise@1.0.6"]},function(t,e,n){"use strict";var r=n(108);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(187)),i=r(n(66)),u=function(){return window.Promise||(window.Promise=o.default),new o.default(function(t,e){requirejs(["idcta-v2/id-config"],function(n){n.getConfigAsync().then(function(n){n["id-availability"]&&"RED"!==n["id-availability"]?t():(i.default.track("id_flagpole_red","error"),e(new Error("Flagpole RED or value missing")))})},function(t){i.default.track("requirejs","error",{error_message:t.toString()}),e(t)})})},a={checkFlagpole:u};e.default=a,t.exports=e.default},function(t,e){t.exports=Morph.modules["whatwg-fetch@2.0.4"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={live:{uasApiKey:"f84u0qqpuquhr",newtonApiKey:"hY7m6nL3dPAXyn9kK763kW65tu3hG0A0"},test:{uasApiKey:"rn5lii9febqql",newtonApiKey:"0YIvZUWEyGJxVGIyyuHIHKANb4cshSXt"}},o=function(){return"undefined"!=typeof window&&window.Morph&&""!==window.Morph.config.pushEnv?window.Morph.config.pushEnv:"test"},i=function(){return window&&window.location&&window.location.hostname&&window.location.hostname.indexOf("bbc.co.uk")>-1?"co.uk":"com"},u={test:".test",live:""},a=function(){return u[o()]},c=function(){return r[o()].uasApiKey},f=function(){return"https://activity".concat(a(),".api.bbc.").concat(i())},s=function(){return"https://newton".concat(a(),".api.bbc.").concat(i())},l=function(){return r[o()].newtonApiKey},p=function(){return"https://idcta".concat(a(),".api.bbc.co.uk")},d=function(){return"https://push".concat(a(),".api.bbci.co.uk")},h=function(){return"https://www".concat(a(),".bbc.com")},y={getUASHost:f,getUASApiKey:c,getNewtonHost:s,getNewtonApiKey:l,getIdHost:p,getMorphPushProxyHost:d,getBBCHost:h,getEnv:o};e.default=y,t.exports=e.default},function(t,e,n){var r=n(8),o=n(29),i=n(56),u=n(192),a=n(15).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},function(t,e,n){e.f=n(18)},function(t,e,n){var r=n(137),o=n(76).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"18px",height:"18px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32",xmlSpace:"preserve",ref:function(e){t.node=e}},p.default.createElement("polygon",{points:"32,3.5 28.5,0 16,12.5 3.5,0 0,3.5 12.5,16 0,28.5 3.5,32 16,19.5 28.5,32 32,28.5 19.5,16"}))}}]),e}(p.default.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"18px",height:"26px",viewBox:"0 0 32 48",enableBackground:"new 0 0 32 48",xmlSpace:"preserve",ref:function(e){t.node=e}},p.default.createElement("polygon",{points:"32,3.5 28.5,0 16,12.5 3.5,0 0,3.5 12.5,16 0,28.5 3.5,32 16,19.5 28.5,32 32,28.5 19.5,16"}),p.default.createElement("rect",{y:"43.8",x:"0",height:"4.2",width:"32"}))}}]),e}(p.default.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=(r(n(38)),function(t){var e=t.onClick,n=t.text,r=t.isEnabled,i=t.className,u=t.children,a=t.aria;return o.default.createElement("button",{type:"button",className:"bitesize__button ".concat(i),disabled:!r,onClick:e,"aria-live":a},u,n)});i.defaultProps={className:"",isEnabled:!0,text:"",aria:"off",children:""};var u=i;e.default=u,t.exports=e.default},function(t,e){function n(e){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},function(t,e){function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(200),o=n.n(r);Morph.modules["bbc-morph-bitesize-header-view@8.69.0"]=o.a},function(t,e,n){"use strict";t.exports=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=44)}([function(t,e){t.exports=n(0)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(24)),o={"en-GB":{"all-subjects":{label:"All subjects",description:"Learning resources for adults, children, parents and teachers organised by subject."},counter:{clips:{plural:"$numberOfClassClips class clips",singular:"$numberOfClassClips class clip"},guides:{plural:"$numberOfLearnerGuides learner guides",singular:"$numberOfLearnerGuides learner guide"}},subjects:"Subjects",levels:"Levels",partOf:"Part of","class-clips":"class clips",duration:"Duration $clipDuration","Learn & revise":"Learn & revise",buttonText:{added:"Added",addToMyBitesize:"Add to My Bitesize",adding:"Adding",removing:"Removing",remove:"Remove"},errorSavingNotification:"Sorry, we haven't been able to save your changes",signInUpsellToolTipTitle:"Add this learner guide to My Bitesize",signInUpsellToolTipText:"You need to be signed in to add this to My Bitesize",shareTools:{ctaText:"Share",headerText:"Share this with",readMoreText:"Read more about sharing",copyLinkText:"Copy link",copiedText:"Copied!"},messagingBanner:{title:"Daily lessons coming soon",subtitle:"Beginning Monday 20 April, BBC Bitesize will publish daily online lessons for all ages. We'll also have a new dedicated TV channel full of learning content, podcasts on BBC Sounds and loads of educational video on iPlayer.",linkText:"More about home learning"}},"ga-GB":{"all-subjects":{label:"Na hábhair ar fad",description:"Acmhainní foghlama do dhaoine fásta, páistí, tuismitheoirí agus múinteoirí eagraithe de réir leibhéil, ábhair agus topaice."},counter:{clips:{plural:"$numberOfClassClips gearrthóg ranga",singular:"$numberOfClassClips gearrthóg ranga"},guides:{plural:"$numberOfLearnerGuides treoir d'fhoghlaimeoirí",singular:"$numberOfLearnerGuides treoir d'fhoghlaimeoirí"}},subjects:"Ábhair",levels:"Leibhéil",partOf:"Cuid de","class-clips":"gearrthóga ranga",duration:"Fad $clipDuration","Learn & revise":"Foghlaim",buttonText:{added:"Curtha leis",addToMyBitesize:"Cuir le Mo Bitesize",adding:"Ag cur leis",removing:"Á bhaint",remove:"Bain"},errorSavingNotification:"Buartha, níor éirigh linn d'athruithe a shábháil",signInUpsellToolTipTitle:"Add this learner guide to My Bitesize",signInUpsellToolTipText:"You need to be signed in to add this to My Bitesize",shareTools:{ctaText:"Roinn",headerText:"Roinn é seo le",readMoreText:"Léigh níos mó maidir le comhroinnt",copyLinkText:"Cóipeáil an nasc",copiedText:"Cóipeáilte!"},messagingBanner:{title:"Daily lessons coming soon",subtitle:"Beginning Monday 20 April, BBC Bitesize will publish daily online lessons for all ages. We'll also have a new dedicated TV channel full of learning content, podcasts on BBC Sounds and loads of educational video on iPlayer.",linkText:"More about home learning"}},"gd-GB":{"all-subjects":{label:"Na cuspairean air fad",description:"Goireasan foghlaim dha inbhich, clann, pàrantan is tidsearan le fiosrachadh mu chuspairean."},counter:{clips:{plural:"$numberOfClassClips criomagan clas",singular:"$numberOfClassClips chriomag clas"},guides:{plural:"$numberOfLearnerGuides Iùil luchd-ionnsachaidh",singular:"$numberOfLearnerGuides Iùl Luchd-ionnsachaidh"}},subjects:"Cuspairean",levels:"Ìrean",partOf:"Pàirt de","class-clips":"criomagan clas",duration:"Fad $clipDuration","Learn & revise":"Ionnsaich",buttonText:{added:"Air a chur-ris",addToMyBitesize:"Cuir ri Bitesize Agamsa",adding:"A' cur-ris",removing:"A' dubhadh às",remove:"Dubh às"},errorSavingNotification:"Duilich, cha deach againn air d' atharrachaidhean a shàbhaladh",signInUpsellToolTipTitle:"Cuir an t-iùil-ionnsachaidh seo ri Bitesize Agamsa",signInUpsellToolTipText:"Feumaidh tu logadh a-steach airson seo a chur ri Bitesize Agamsa",shareTools:{ctaText:"Sgaoil",headerText:"Sgaoil seo gu",readMoreText:"Leugh tuilleadh mu sgaoileadh",copyLinkText:"Leth-bhreac den cheangal",copiedText:"Leth-bhreac dèanta!"},messagingBanner:{title:"Daily lessons coming soon",subtitle:"Beginning Monday 20 April, BBC Bitesize will publish daily online lessons for all ages. We'll also have a new dedicated TV channel full of learning content, podcasts on BBC Sounds and loads of educational video on iPlayer.",linkText:"More about home learning"}},"cy-GB":{"all-subjects":{label:"Holl bynciau",description:"Adnoddau dysgu i oedolion, plant, rhieni ac athrawon wedi'u trefnu yn ôl pwnc."},counter:{clips:{plural:"$numberOfClassClips o glipiau dosbarth",singular:"$numberOfClassClips clip dosbarth"},guides:{plural:"$numberOfLearnerGuides o ganllawiau i ddysgwyr",singular:"$numberOfLearnerGuides canllaw i ddysgwyr"}},subjects:"Pynciau",levels:"Lefelau",partOf:"Rhan o bwnc",partOfWelshAlternative:"Rhan o'r adran","class-clips":"clipiau dosbarth",duration:"Hyd $clipDuration","Learn & revise":"Dysgu ac adolygu",buttonText:{added:"Wedi ychwanegu",addToMyBitesize:"Ychwanegu i Fy Bitesize",adding:"Wrthi'n ychwanegu",removing:"Wrthi'n dileu",remove:"Dileu"},errorSavingNotification:"Dyw dy newidiadau ddim wedi cael eu cadw",signInUpsellToolTipTitle:"Ychwanegu’r canllaw dysgu yma i Fy Bitesize",signInUpsellToolTipText:"Rhaid i ti fewngofnodi i ychwanegu hwn i Fy Bitesize",shareTools:{ctaText:"Rhannu",headerText:"Rhannu hwn gyda",readMoreText:"Darllen mwy am rannu",copyLinkText:"Copïo’r ddolen",copiedText:"Wedi copïo"},messagingBanner:{title:"Daily lessons coming soon",subtitle:"Beginning Monday 20 April, BBC Bitesize will publish daily online lessons for all ages. We'll also have a new dedicated TV channel full of learning content, podcasts on BBC Sounds and loads of educational video on iPlayer.",linkText:"More about home learning"}}},i=function(){return{"en-gb":"en-GB","ga-gb":"ga-GB","gd-gb":"gd-GB","cy-gb":"cy-GB"}[(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase()]||"en-GB"},u=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=(0,r.default)(o,"".concat(i(t),".").concat(e),"");return Object.keys(n).reduce(function(t,e){return t.replace("$".concat(e),n[e])},u)}};e.default=u,t.exports=e.default},function(t,e){t.exports=n(201)},function(t,e){t.exports=n(223)},function(t,e,n){var r=function(t){return t&&t.__esModule?t:{default:t}}(n(3)),o=["https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/10435de9-7258-4254-957c-203067baccdf#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/543d8d8c-44ed-4020-8328-f14615098c48#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/8328092b-cddc-4201-a05e-db0c075cd5bd#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/999a43f6-53ae-4cd2-a81c-a65886423094#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/a3009169-62f3-4264-b6e8-56b6043cbabc#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/f338d1b2-1330-49a7-91f9-0c17f4fe33bb#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/405f00e2-d547-4b11-85c6-3cc41c2c4c3d#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/8ff85747-2ac0-44ed-8b4f-e06ad21dee61#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/893413eb-36d3-4aac-9b5c-fe70a75665b9#id","https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/fec8c8c7-8826-443b-8649-faaa98627e16#id"],i=[{label:"Year 1 and P2 lessons",slug:"year-1-and-p2-lessons",zid:"zjpqqp3",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/10435de9-7258-4254-957c-203067baccdf#id"},{label:"Year 2 and P3 lessons",slug:"year-2-and-p3-lessons",zid:"z7s22sg",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/543d8d8c-44ed-4020-8328-f14615098c48#id"},{label:"Year 3 and P4 lessons",slug:"year-3-and-p4-lessons",zid:"zmyxxyc",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/8328092b-cddc-4201-a05e-db0c075cd5bd#id"},{label:"Year 4 and P5 lessons",slug:"year-4-and-p5-lessons",zid:"z63tt39",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/999a43f6-53ae-4cd2-a81c-a65886423094#id"},{label:"Year 5 and P6 lessons",slug:"year-5-and-p6-lessons",zid:"zhgppg8",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/a3009169-62f3-4264-b6e8-56b6043cbabc#id"},{label:"Year 6 and P7 lessons",slug:"year-6-and-p7-lessons",zid:"zncsscw",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/f338d1b2-1330-49a7-91f9-0c17f4fe33bb#id"},{label:"Year 7 and S1 lessons",slug:"year-7-and-s1-lessons",zid:"zf9yy9q",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/405f00e2-d547-4b11-85c6-3cc41c2c4c3d#id"},{label:"Year 8 and S2 lessons",slug:"year-8-and-s2-lessons",zid:"zvdbbdm",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/8ff85747-2ac0-44ed-8b4f-e06ad21dee61#id"},{label:"Year 9 and S3 lessons",slug:"year-9-and-s3-lessons",zid:"zbjrrj6",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/893413eb-36d3-4aac-9b5c-fe70a75665b9#id"},{label:"Year 10 and S4 lessons",slug:"year-10-and-s4-lessons",zid:"zr7447h",url:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/things/fec8c8c7-8826-443b-8649-faaa98627e16#id"}],u=function(t){return(0,r.default)(t,function(t){return o.indexOf(t.url)>-1})},a=function(t){var e=(0,r.default)(i,function(e){return e.url===t.url});return e?{label:e.label,zid:e.zid,path:"/bitesize/tags/".concat(e.zid,"/").concat(e.slug)}:null},c=function(t){return"zmnmmfr"===t||void 0!==(0,r.default)(i,function(e){return e.zid===t})};t.exports={findAgeTag:u,getExtraData:a,showPlanningBanner:c}},function(t,e){t.exports=n(288)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.validateDuration=e.formatDuration=void 0;var r=/PT(?:(\d+)H)?(?:(\d+)M)?(\d+)S?/,o=function(t){return"string"==typeof t&&t.match(r)||!1};e.validateDuration=o;var i=function(t){var e=o(t);if(!e)return"";e.shift();var n=e.filter(function(t){return void 0!==t});return n.map(function(e,r){var o=e&&1===e.toString().length?"0".concat(e):e;return r<n.length-1?"".concat(o,":"):1===n.length&&t.indexOf("M")>0?"".concat(o,":00"):1===n.length&&t.indexOf("S")>0?"00:".concat(o):o}).concat().join("")};e.formatDuration=i},function(t,e){t.exports=n(66)},function(t,e){t.exports=n(442)},function(t,e){t.exports=n(443)},function(t,e){t.exports=n(450)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(9)),i=r(n(8)),u=function(t,e){return i.default.getDetails().then(function(n){return n.hasPersonalisationEnabled?o.default.postReadForAnArticle(t,e):Promise.resolve()})},a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"favourited",n=arguments.length>2?arguments[2]:void 0;return o.default.postFavourite({id:t,type:n,action:e})},c={submitRead:u,submitFavourite:a};e.default=c,t.exports=e.default},function(t,e){t.exports=n(451)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return u=Object.assign||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},u.apply(this,arguments)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=y();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?h(t):e}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var g=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=r?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),b=r(n(14)),_=r(n(15)),m=r(n(16)),x=r(n(17)),w=r(n(18)),j=r(n(2)),O=n(19),k=r(n(4)),P=r(n(20)),A=r(n(42)),S=function(t,e){return(0,b.default)("header-image-no-logo",{"header-image-container--in-app":t},{"header-image-container--no-illustration":!e})},T=function(t,e,n){return(0,b.default)("bitesize-header-background",t?"bitesize-header-background--phase-".concat(t.toLowerCase()):"",{"bitesize-header-background--primary-index":"primary-index"===e},{"bitesize-header-background--in-app":n})},E=function(t){var e=["programme-of-study","examspecs","primary-index"];return(0,j.default)(e,t)},I=function(t,e){var n=["zgkw2hv","zjxhfg8","z6svr82","z826n39","zv48q6f","z2pfb9q","zyhbwmn","zvnrq6f","zwxhfg8","zdm3nrd","zbkw2hv","z7hs34j"],r=["primary-index"];return(0,j.default)(n,e)||(0,j.default)(r,t)},z=function(t,e){return E(t)&&!I(t,e)},R=function(t){function e(t){var n;return a(this,e),n=r.call(this,t),n.state={notificationMessage:"",notificationError:!1},n}s(e,t);var r=p(e);return f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.phase,r=t.fosZid;n(43);var o=e.toLowerCase();window.mrSparkle({phase:o,selector:".bitesize-header-background",zid:r})}},{key:"render",value:function(){var t=this,e=this.props,n=e.phase,r=e.isInApp,o=e.fosZid,i=e.isPreview,a=e.pageType,c=e.headerData,f=e.zid,s=e.language,l=e.messagingBannerType,p=this.state,d=p.notificationMessage,h=p.notificationError,y=["index-page","flashcards","tags","collection-index"],v=!r&&["primary-index","quizzes"].indexOf(a)<0,b=function(e,n){t.setState({notificationMessage:e,notificationError:n})},j=E(a),I=z(a,f);return g.default.createElement("div",null,g.default.createElement("div",{className:T(n,a,r)}),g.default.createElement(w.default,{message:d,notificationClearedAction:function(){t.state.notificationMessage="",t.state.notificationError=!1},isError:h}),g.default.createElement("div",null,!r&&g.default.createElement(_.default,u({},this.props,{headerData:c})),l&&g.default.createElement(m.default,{language:s,bannerType:l}),k.default.showPlanningBanner(f)&&g.default.createElement("div",{className:"bitesize-header__planning-banner-".concat(a)},g.default.createElement(m.default,{language:s,bannerType:"planning"})),g.default.createElement(x.default,{fosZid:o,className:S(r,j)},i&&g.default.createElement("p",{className:"preview-panel"},"THIS IS A PREVIEW PAGE"),y.indexOf(a)<0&&g.default.createElement(P.default,u({},this.props,{displayPartialWidth:I,displaySubjectIllustration:j,setNotificationMessage:b,showPartOf:v})),j&&g.default.createElement(A.default,{pageHasPartialWidthContextPanel:I,url:(0,O.getIllustrationUrl)(this.props)}))))}}]),e}(g.Component);R.displayName="Header",R.defaultProps={description:"",zid:null,topicId:null,label:"",isPreview:void 0,numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,fosZid:"",subdirectory:"education",globalNav:"false",phase:"",messagingBannerType:"",isTaggedWithMultipleTopics:!1,headerData:{}},R.propTypes={description:g.PropTypes.string,messagingBannerType:g.PropTypes.string,fosZid:g.PropTypes.string,label:g.PropTypes.string,language:g.PropTypes.string.isRequired,numberOfClassClips:g.PropTypes.number,numberOfLearnerGuides:g.PropTypes.number,hasTopics:g.PropTypes.bool,pageType:g.PropTypes.string.isRequired,zid:g.PropTypes.string,topicId:g.PropTypes.string,isPreview:g.PropTypes.string,subdirectory:g.PropTypes.string,globalNav:g.PropTypes.string,phase:g.PropTypes.string,isInApp:g.PropTypes.bool.isRequired,isTaggedWithMultipleTopics:g.PropTypes.bool,headerData:g.PropTypes.shape({title:g.PropTypes.string.isRequired,href:g.PropTypes.string.isRequired,children:g.PropTypes.arrayOf(g.PropTypes.shape({title:g.PropTypes.string.isRequired,href:g.PropTypes.string.isRequired})).isRequired})};var C=R;e.default=C,t.exports=e.default},function(t,e){t.exports=n(67)},function(t,e){t.exports=n(456)},function(t,e){t.exports=n(457)},function(t,e){t.exports=n(458)},function(t,e){t.exports=n(460)},function(t,e,n){var r=function(t){return"primary-index"===t.pageType?"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/images/phases/primary/".concat(t.pageType,".png"):"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/images/svgs/subjects/v2/".concat(t.phase.toLowerCase(),"/").concat(t.fosZid,".svg")};t.exports={getIllustrationUrl:r}},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),a=o(n(2)),c=o(n(21)),f=o(n(22)),s=o(n(26)),l=n(6),p=o(n(27)),d=o(n(30)),h=o(n(40)),y=function(t,e,n){var r="404"!==t,o=""!==e;return r&&o&&!n},v=function(t,e,n){var r=["z98jmp3","z6gw2hv","zdpp34j","z8w76sg","zp3d7ty","z8hhvcw","zkdqxnb","zqq4wxs"];return!n&&(0,a.default)(r,t)&&"guide"===e},g=function(t,e){var n=["zmnmmfr"];return!e&&!(0,a.default)(n,t)},b=function(t,e,n){var r=t;return e&&(r=r.replace(new RegExp("^(".concat(e,"\\s)([\\-|\\–]\\s)?"),"g"),"").trim()),n&&(r=r.replace(new RegExp("(\\s[\\-|\\–])?(\\s\\b".concat(n,")?$"),"g"),"")),r},_=function(t){return"context-panel".concat(t?" context-panel--partial-width":"")},m=function(t,e){return!t&&e?"context-panel__info-container":null},x=function(t){return"context-panel__description".concat("primary-index"===t?" context-panel__description--large":"")},w=function(t){var e=t.contentId,n=t.description,r=t.hasTopics,o=t.label,i=t.language,a=t.levelId,w=t.levelLabel,j=t.examspecLabel,O=t.numberOfClassClips,k=t.numberOfLearnerGuides,P=t.pageType,A=t.zid,S=t.duration,T=t.subdirectory,E=t.isInApp,I=t.setNotificationMessage,z=t.showPartOf,R=t.displayPartialWidth,C=t.displaySubjectIllustration,M=b(o,w,j);return u.default.createElement("header",{className:_(R)},y(P,w,E)&&u.default.createElement(c.default,t),u.default.createElement("div",{className:m(R,C)},u.default.createElement("div",{className:"context-panel__header-container"},"guide"===P&&u.default.createElement("h2",{className:"context-panel__header"},M),"guide"!==P&&u.default.createElement("h1",{className:"context-panel__header"},M)),n&&u.default.createElement("div",{className:"context-panel__description-container"},u.default.createElement("p",{className:x(P)},n)),z&&u.default.createElement(p.default,t),!r&&("clips"===P||k>0)&&u.default.createElement(f.default,{subdirectory:T,language:i,numberOfClassClips:O,numberOfLearnerGuides:k,pageType:P,zid:A}),!r&&(0,l.validateDuration)(S)&&u.default.createElement(s.default,{duration:S,language:i}),g(A,E)&&u.default.createElement(d.default,{contentId:e,pageType:P,setNotificationMessage:I,language:i}),v(a,P,E)&&u.default.createElement(h.default,{zid:e,language:i})))};w.displayName="ContextPanel",w.defaultProps={contentId:"",description:"",numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,zid:"",topicId:"",levelLabel:"",examspecLabel:"",subdirectory:"bitesize",examspecId:"",levelId:"",duration:"",isInApp:!1,showPartOf:!0,displaySubjectIllustration:!1},w.propTypes={contentId:u.PropTypes.string,description:u.PropTypes.string,label:u.PropTypes.string.isRequired,language:u.PropTypes.string.isRequired,numberOfClassClips:u.PropTypes.number,numberOfLearnerGuides:u.PropTypes.number,hasTopics:u.PropTypes.bool,pageType:u.PropTypes.string.isRequired,zid:u.PropTypes.string,topicId:u.PropTypes.string,levelLabel:u.PropTypes.string,examspecLabel:u.PropTypes.string,subdirectory:u.PropTypes.string,examspecId:u.PropTypes.string,levelId:u.PropTypes.string,duration:u.PropTypes.string,isInApp:u.PropTypes.bool,setNotificationMessage:u.PropTypes.func.isRequired,showPartOf:u.PropTypes.bool,displayPartialWidth:u.PropTypes.bool.isRequired,displaySubjectIllustration:u.PropTypes.bool};var j=w;e.default=j,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=function(t){var e=t.levelLabel,n=t.levelId,r=t.examspecLabel,o=t.examspecId,u=t.subdirectory;return i.default.createElement("div",{className:"level-filter"},i.default.createElement("div",{className:"level-filter__items"},i.default.createElement("div",{className:"level-filter__item"},i.default.createElement("a",{className:"level-filter__item-level",href:"/".concat(u,"/levels/").concat(n),"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"level"})},e)),r&&i.default.createElement("div",{className:"level-filter__item"},i.default.createElement("a",{className:"level-filter__item-examspec",href:"/".concat(u,"/examspecs/").concat(o),"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"examspec"})},r))))};u.displayName="LevelFilter",u.defaultProps={levelLabel:"",levelId:"",examspecLabel:"",examspecId:"",subdirectory:"bitesize"},u.propTypes={levelLabel:i.PropTypes.string,levelId:i.PropTypes.string,examspecLabel:i.PropTypes.string,examspecId:i.PropTypes.string,subdirectory:i.PropTypes.string};var a=u;e.default=a,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),a=o(n(23)),c=o(n(25)),f=function(t){var e=t.pageType;return u.default.createElement("div",{className:"resource-counter__container"},"clips"===e?u.default.createElement(a.default,t):u.default.createElement(c.default,t))};f.displayName="ResourceCounter",f.propTypes={pageType:u.PropTypes.string.isRequired};var s=f;e.default=s,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function u(){return u=Object.assign||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},u.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=o(n(5)),f=o(n(1)),s=(0,c.default)(function(t){return a.default.createElement("a",u({className:"resource-counter__container-link"},t),t.children)}),l=function(t){return t>1?"plural":"singular"},p=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.subdirectory,i=t.zid,u=(0,f.default)(e),c=r>0&&n>0?" + ":"";return a.default.createElement("p",{className:"resource-counter__container-text"},r>0&&a.default.createElement(s,{className:"resource-counter__container-link",href:"/".concat(o,"/topics/").concat(i),iStatsAction:"learner_guides",iStatsType:"click"},u("counter.guides.".concat(l(r)),{numberOfLearnerGuides:r})),c,n>0&&u("counter.clips.".concat(l(n)),{numberOfClassClips:n}))};p.displayName="ClipsResourceCounter",p.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0,subdirectory:"bitesize"},p.propTypes={language:a.PropTypes.string.isRequired,numberOfClassClips:a.PropTypes.number,numberOfLearnerGuides:a.PropTypes.number,subdirectory:a.PropTypes.string,zid:a.PropTypes.string.isRequired};var d=p;e.default=d,t.exports=e.default},function(t,e){t.exports=n(130)},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function u(){return u=Object.assign||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},u.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=o(n(5)),f=o(n(1)),s=(0,c.default)(function(t){return a.default.createElement("a",u({className:"resource-counter__container-link"},t),t.children)}),l=function(t){return t>1?"plural":"singular"},p=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.zid,i=(0,f.default)(e);return a.default.createElement("p",{className:"resource-counter__container-text"},r>0&&i("counter.guides.".concat(l(r)),{numberOfLearnerGuides:r})+(n>0?" + ":""),n>0&&a.default.createElement(s,{className:"resource-counter__container-link",href:"/bitesize/topics/".concat(o,"/resources/1"),iStatsAction:"class_clips",iStatsType:"click"},i("counter.clips.".concat(l(n)),{numberOfClassClips:n})))};p.displayName="TopicsResourceCounter",p.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0},p.propTypes={language:a.PropTypes.string.isRequired,numberOfClassClips:a.PropTypes.number,numberOfLearnerGuides:a.PropTypes.number,zid:a.PropTypes.string.isRequired};var d=p;e.default=d,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=n(6),a=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),c=function(t){var e=t.language,n=t.duration,r=(0,a.default)(e),o=(0,u.formatDuration)(n);return""!==o?i.default.createElement("div",{className:"context-panel__duration"},i.default.createElement("span",null,r("duration",{clipDuration:o}))):i.default.createElement("span",null)};c.displayName="Duration",c.propTypes={language:i.PropTypes.string.isRequired,duration:i.PropTypes.string.isRequired};var f=c;e.default=f,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=i(n(10)),a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=i(n(28)),f=i(n(3)),s=i(n(2)),l=i(n(29)),p=i(n(4)),d=["programme-of-study","field-of-study"],h=function(t,e,n,r){if(p.default.findAgeTag(r))return{label:"Daily lessons",link:"/".concat(t,"/dailylessons")};var o=["Support","Careers"],i=r&&(0,f.default)(r,function(t){return o.indexOf(t.label)>-1}),u=i?i.label:null;return!n&&u?{label:u,link:"/".concat(t,"/").concat(u.toLowerCase())}:{label:e?e.label:"Learn & revise",link:e&&e.id?"/".concat(t,"/subjects/").concat(e.id):"/".concat(t).concat("/learn")}},y=function(t){var e=t.subdirectory,n=t.tags,r=t.topicLabel,o=t.topicId,i=t.language,u=t.crumbtrailData.body,f=t.stubs,s=(0,c.default)(u,"type"),p=r?{label:r,id:o}:s["topic-of-study"],d=h(e,s["programme-of-study"],p,n);return a.default.createElement(l.default,{subdirectory:e,language:i,context:d,topic:p,stubs:f})},v=function(t){var e=t.crumbtrail,n=t.language,r=t.stubs,o=t.subdirectory,i=(0,c.default)(e,"type"),u=i["programme-of-study"],f=i["topic-of-study"],s=h(o,u);return a.default.createElement(l.default,{subdirectory:o,language:n,context:s,topic:f,stubs:r})},g=u.default.create(y,{data:function(t){var e=t.zid,n=t.topicId;return{crumbtrailData:{uri:{data:"bbc-morph-bitesize-crumbtrail",zid:t.isTaggedWithMultipleTopics?n:e},updates:!1}}}}),b=function(t){var e=t.pageType;return(0,s.default)(d,e)?a.default.createElement(v,t):a.default.createElement(g,t)};b.displayName="ContextLabelContainer",b.defaultProps={subdirectory:"",language:"en-GB",tags:[],topicLabel:void 0,topicId:void 0,stubs:[],crumbtrail:[]},b.propTypes={subdirectory:a.PropTypes.string,language:a.PropTypes.string,crumbtrail:a.PropTypes.arrayOf(a.PropTypes.shape({id:a.PropTypes.string.isRequired,type:a.PropTypes.string.isRequired,label:a.PropTypes.string.isRequired}).isRequired),tags:a.PropTypes.arrayOf(a.PropTypes.shape({label:a.PropTypes.string})),topicLabel:a.PropTypes.string,topicId:a.PropTypes.string,stubs:a.default.PropTypes.shape({id:a.default.PropTypes.string.isRequired,label:a.default.PropTypes.string.isRequired,path:a.default.PropTypes.string.isRequired})};var _=b;e.default=_,t.exports=e.default},function(t,e){t.exports=n(467)},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),a=function(t){return null!==t.match(/subjects/)?"part-of-subject":null!==t.match(/topics/)?"part-of-topic":"part-of-section"},c=function(t){var e=t.context,n=t.language,r=t.stubs,o=(0,u.default)(n),c=e.label,f=e.link,s=e&&null!==c.match(/Learn & revise|Support/i)&&"cy-GB"===n?"partOfWelshAlternative":"partOf";return i.default.createElement("div",{className:"context-label"},i.default.createElement("div",{className:"context-label__title"},o(s)),i.default.createElement("div",{className:"context-label__items"},e&&i.default.createElement("div",{className:"context-label__item"},i.default.createElement("a",{className:"context-label__item-link",href:f,"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"".concat(a(f))})},o(c)||c)),r.map(function(t){return i.default.createElement("div",{className:"context-label__item"},i.default.createElement("a",{className:"context-label__item-link",href:t.path,"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"".concat(a(t.path))})},t.label))})))};c.displayName="ContextLabel",c.defaultProps={topic:{},language:"en-GB",stubs:[]},c.propTypes={context:i.PropTypes.shape({label:i.PropTypes.string,link:i.PropTypes.string}).isRequired,topic:i.PropTypes.shape({id:i.PropTypes.string,type:i.PropTypes.string,label:i.PropTypes.string}),language:i.PropTypes.string,stubs:i.default.PropTypes.arrayOf(i.PropTypes.shape({id:i.default.PropTypes.string.isRequired,label:i.default.PropTypes.string.isRequired,path:i.default.PropTypes.string.isRequired}).isRequired)};var f=c;e.default=f,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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),Object.defineProperty(t,r.key,r)}}function c(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=h();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var v=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=r?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),g=r(n(7)),b=r(n(8)),_=r(n(31)),m=r(n(32)),x=r(n(33)),w=r(n(34)),j=r(n(9)),O=r(n(35)),k=r(n(11)),P=r(n(1)),A=r(n(36)),S=function(t){return t?"favourited":"unfavourited"},T=function(t){return S(!t)},E=function(t){return"guide"===t||"blocks"===t},I=function(t){return"guide"===t?"study-guide":"article"},z=function(t){function e(t){var r;u(this,e),r=n.call(this,t);var o=(0,P.default)(t.language);return r.localisations={buttonText:o("buttonText"),errorMessage:o("errorSavingNotification"),signInUpsellToolTipTitle:o("signInUpsellToolTipTitle"),signInUpsellToolTipText:o("signInUpsellToolTipText")},r.state={featureEnabled:!1,isFavourited:!1,saveInProgress:!1,uasClientType:I(t.pageType),isSignedIn:!1},r.save=r.save.bind(d(r)),r.getButtonContent=r.getButtonContent.bind(d(r)),r}f(e,t);var n=l(e);return c(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.contentId,r=e.pageType,o=this.state.uasClientType;E(r)&&(this.setState({featureEnabled:!0}),b.default.getDetails().then(function(e){e.isSignedIn&&(t.setState({isSignedIn:!0}),j.default.isFavourited(n,o).then(function(e){t.setState({isFavourited:e})}))}).catch(function(){}))}},{key:"getButtonContent",value:function(){var t=this.state,e=t.isFavourited,n=t.saveInProgress,r=this.localisations.buttonText,o="bitesize-header__add-to-my-bitesize bitesize-header__add-to-my-bitesize--action-".concat(S(e));return e?{buttonClass:o,text:r.added,icon:v.default.createElement(x.default,null),hoverText:r.remove,hoverIcon:v.default.createElement(w.default,null),savingText:r.removing,iStatsAction:"remove_cta",saveInProgress:n}:{buttonClass:o,text:r.addToMyBitesize,icon:v.default.createElement(m.default,null),hoverText:r.addToMyBitesize,hoverIcon:v.default.createElement(m.default,null),savingText:r.adding,iStatsAction:"add_cta",saveInProgress:n}}},{key:"createButtonView",value:function(){var t=this.getButtonContent(),e=t.buttonClass,n=t.text,r=t.icon,o=t.hoverText,i=t.hoverIcon,u=t.savingText,a=t.saveInProgress;return v.default.createElement(_.default,{disabled:a,onClick:this.save,className:e,aria:"polite"},a&&v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--saving"},i,v.default.createElement("span",null,u)),!a&&v.default.createElement("span",null,v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--normal"},r,v.default.createElement("span",null,n)),v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--hover"},i,v.default.createElement("span",null,o))))}},{key:"createSignedOutButtonView",value:function(){var t=this.props.language,e=this.localisations,n=e.signInUpsellToolTipText,r=e.signInUpsellToolTipTitle,o=e.buttonText,i=v.default.createElement("span",null,v.default.createElement(m.default,null),v.default.createElement("span",null,o.addToMyBitesize));return v.default.createElement(O.default,{title:r,text:n,buttonContent:i,body:v.default.createElement(A.default,{language:t})})}},{key:"save",value:function(){var t=this,e=this.state,n=e.isFavourited,r=e.uasClientType,o=e.isSignedIn,i=this.localisations.errorMessage;if(o){var u=this.props,a=u.contentId,c=u.setNotificationMessage,f=this.getButtonContent(n),s=f.iStatsAction;this.setState({saveInProgress:!0}),g.default.track(s,"click"),k.default.submitFavourite(a,T(n),r).then(function(){t.setState({isFavourited:!n,saveInProgress:!1})}).catch(function(){t.setState({saveInProgress:!1}),c(i,!0)})}}},{key:"render",value:function(){var t=this.state,e=t.featureEnabled,n=t.isSignedIn;return e?v.default.createElement("div",{className:"bitesize-header__my-bitesize"},n?this.createButtonView():this.createSignedOutButtonView()):null}}]),e}(v.Component);z.propTypes={contentId:v.PropTypes.string.isRequired,pageType:v.PropTypes.string.isRequired,setNotificationMessage:v.PropTypes.func.isRequired,language:v.PropTypes.string.isRequired};var R=z;e.default=R,t.exports=e.default},function(t,e){t.exports=n(196)},function(t,e){t.exports=n(478)},function(t,e){t.exports=n(479)},function(t,e){t.exports=n(480)},function(t,e){t.exports=n(481)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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),Object.defineProperty(t,r.key,r)}}function c(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=h();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var v=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=r?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),g=r(n(7)),b=r(n(37)),_=r(n(38)),m=r(n(39)),x=function(){g.default.track("sign-in-cta","click")},w=function(){g.default.track("register","click")},j=function(){document.querySelector(".my-bitesize__idcta-container .id4-cta-signin").addEventListener("click",x),document.querySelector(".my-bitesize__idcta-container .id4-cta-register").addEventListener("click",w)},O=function(){document.querySelector(".my-bitesize__idcta-container .id4-cta-signin").removeEventListener("click",x),document.querySelector(".my-bitesize__idcta-container .id4-cta-register").removeEventListener("click",w)},k=function(t){function e(t){var r;return u(this,e),r=n.call(this,t),r.state={idcta:void 0},r}f(e,t);var n=l(e);return c(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.language,r=e.purposeText;b.default.checkFlagpole().then(function(){var e=window.location.href;(0,_.default)(n,r,e).then(function(e){document.head.insertAdjacentHTML("beforeend",e.inlineHead),t.setState({idcta:{__html:e.html}})}).catch(function(){})}).catch(function(){})}},{key:"componentDidUpdate",value:function(){this.state.idcta&&j()}},{key:"componentWillUnmount",value:function(){this.state.idcta&&O()}},{key:"render",value:function(){var t=this.state.idcta;return t?v.default.createElement("div",{className:"my-bitesize__idcta-container",dangerouslySetInnerHTML:t}):v.default.createElement("div",{className:"my-bitesize__idcta-container"},v.default.createElement(m.default,null))}}]),e}(v.default.Component);k.defaultProps={language:"en-GB",purposeText:""},k.propTypes={language:v.PropTypes.string,purposeText:v.PropTypes.string};var P=k;e.default=P,t.exports=e.default},function(t,e){t.exports=n(188)},function(t,e){t.exports=n(482)},function(t,e){t.exports=n(483)},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=n(41),a=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),c=function(t){var e=t.zid,n=t.language,r="https://web.archive.org/web/20200804200456/https://www.bbc.co.uk/bitesize/guides/".concat(e),o=(0,a.default)(n),c=o("shareTools"),f=c.ctaText,s=c.headerText,l=c.readMoreText,p=c.copyLinkText,d=c.copiedText;return i.default.createElement("span",{className:"bitesize-sharetools"},i.default.createElement("span",{className:"bitesize-sharetools__standalone-buttons"},i.default.createElement(u.Twitter,{link:r,position:0,standalone:!0}),i.default.createElement(u.Facebook,{link:r,position:1,standalone:!0}),i.default.createElement(u.WhatsApp,{link:r,position:2,standalone:!0})),i.default.createElement(u.SharePanel,{ctaText:f,headerText:s,readMoreText:l},i.default.createElement(u.Twitter,{link:r,position:0}),i.default.createElement(u.Facebook,{link:r,position:1}),i.default.createElement(u.WhatsApp,{link:r,position:2}),i.default.createElement(u.CopyLinkBox,{link:r,shareText:p,copiedText:d,position:3})))};c.displayName="BitesizeShareTools",c.propTypes={zid:i.PropTypes.string.isRequired,language:i.PropTypes.string.isRequired};var f=c;e.default=f,t.exports=e.default},function(t,e){t.exports=n(484)},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=function(t){var e=t.pageHasPartialWidthContextPanel,n=t.url;return i.default.createElement("span",{className:e?"bitesize-header__subject-illustration--partial-width":"bitesize-header__subject-illustration",style:{backgroundImage:"url(".concat(n,")")}})};u.propTypes={pageHasPartialWidthContextPanel:i.PropTypes.bool.isRequired,url:i.PropTypes.string.isRequired};var a=u;e.default=a,t.exports=e.default},function(t,e){t.exports=n(498)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign||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},o.apply(this,arguments)}function i(t,e){if(null==t)return{};var n,r,o=u(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function u(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n(0)),c=r(n(10)),f=r(n(45)),s=r(n(46)),l=r(n(47)),p=r(n(48)),d=r(n(49)),h=r(n(50)),y=r(n(51)),v=r(n(52)),g=r(n(54)),b=r(n(55)),_=r(n(56)),m=r(n(57)),x=r(n(58)),w=r(n(59)),j=r(n(61)),O=r(n(62)),k=r(n(63)),P=r(n(64)),A={"all-subjects":p.default,blocks:x.default,clips:l.default,clip:s.default,"collection-index":j.default,examspecs:d.default,"field-of-study":h.default,flashcards:w.default,guide:y.default,"index-page":w.default,levels:v.default,"programme-of-study":g.default,"primary-index":k.default,tags:O.default,topic:b.default,quizzes:P.default,404:_.default,500:m.default},S=function(t){var e=t.pageType,n=i(t,["pageType"]);return A[e].getData(n)},T=function(t){var e=t.pageType,n=i(t,["pageType"]);return A[e].parseData(n)},E=function(t){return a.default.createElement(f.default,o({},t,{parseData:T}))},I=c.default.create(E,{data:function(t){return S(t)?{context:{uri:S(t),requireSuccess:!0,updates:!1},levels:{uri:{data:"bbc-morph-bitesize-level"},requireSuccess:!1,updates:!1}}:{}}}),z=function(t){if(t.pageType in A)return a.default.createElement(I,t);throw new Error("".concat(t.pageType," is an invalid page type"))},R=z;e.default=R,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return u=Object.assign||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},u.apply(this,arguments)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=y();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?h(t):e}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var g=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=r?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),b=r(n(3)),_=r(n(13)),m=r(n(11)),x=function(t){function e(){return a(this,e),n.apply(this,arguments)}s(e,t);var n=p(e);return f(e,[{key:"componentDidMount",value:function(){if("blocks"===this.props.pageType){var t=this.props,e=t.context.body,n=e.id,r=e.topics,o=t.isPreview,i=r.map(function(t){return t.keyStage.id}).join(","),u=r.map(function(t){return t.programmeOfStudy.id}).join(","),a={levelId:i,posId:u},c=r.map(function(t){if(t.examSpecification&&t.examSpecification.id)return t.examSpecification.id}).filter(Boolean).join(",");""!==c&&Object.assign(a,{examspecId:c}),"true"!==o&&m.default.submitRead(n,a)}}},{key:"render",value:function(){var t=this.props,e=t.language,n=t.href,r=t.parseData,o=t.pageType,i=t.isPreview,a=t.subdirectory,c=t.zid,f=t.topicId,s=t.context.body,l=t.levels,p=t.isInApp,d=t.messagingBannerType,h=r({pageType:o,data:s,language:e,zid:c,topicId:f}),y="";if(l){var v=(0,b.default)(l.body,function(t){return t.id===h.levelId});y=v?v.phase:""}return g.default.createElement(_.default,u({href:n,language:e,pageType:o,isPreview:i,subdirectory:a,phase:y,isInApp:p,messagingBannerType:d},h))}}]),e}(g.Component);x.defaultProps={context:{body:{}},levels:void 0,globalNav:"false",isPreview:void 0,zid:void 0,topicId:void 0,isInApp:!1,href:"",messagingBannerType:""},x.propTypes={zid:g.PropTypes.string,topicId:g.PropTypes.string,pageType:g.PropTypes.string.isRequired,href:g.PropTypes.string,parseData:g.PropTypes.func.isRequired,context:g.PropTypes.oneOfType([g.PropTypes.shape({body:g.PropTypes.shape()}),g.PropTypes.shape({body:g.PropTypes.shape({id:g.PropTypes.string.isRequired,label:g.PropTypes.string.isRequired,description:g.PropTypes.string.isRequired,programmeOfStudy:g.PropTypes.shape({label:g.PropTypes.string.isRequired}),fieldOfStudy:g.PropTypes.shape({label:g.PropTypes.string})})}),g.PropTypes.array]),levels:g.PropTypes.shape({body:g.PropTypes.arrayOf(g.PropTypes.shape({id:g.PropTypes.string.isRequired,label:g.PropTypes.string,description:g.PropTypes.string,lowerAge:g.PropTypes.number,phase:g.PropTypes.string,subLevelOf:g.PropTypes.string,type:g.PropTypes.string,upperAge:g.PropTypes.number,nations:g.PropTypes.arrayOf(g.PropTypes.shape({id:g.PropTypes.string.isRequired,label:g.PropTypes.string.isRequired,type:g.PropTypes.string}))}))}),globalNav:g.PropTypes.string,language:g.PropTypes.string.isRequired,subdirectory:g.PropTypes.string.isRequired,isPreview:g.PropTypes.string,isInApp:g.PropTypes.bool,messagingBannerType:g.PropTypes.string};var w=x;e.default=w,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-class-clip-data",clipId:t.zid}},o=function(t){var e=t.data;return{label:e.title,fosZid:e.topicOfStudy.fieldOfStudy.id,zid:e.topicOfStudyId,levelLabel:e.topicOfStudy.level.label,levelId:e.topicOfStudy.level.id,topicLabel:e.topicOfStudy.label,topicId:e.topicOfStudy.id,duration:e.video?e.video.duration:null,stubs:[{id:e.topicOfStudy.id,label:e.topicOfStudy.label,path:"/bitesize/topics/".concat(e.topicOfStudy.id)}]}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),o=function(t){return{data:"bbc-morph-bitesize-class-clips-data",topicOfStudyId:t.zid}},i=function(t){var e=t.data,n=t.language,o=t.zid,i=(0,r.default)(n);return{label:"".concat(e.topicOfStudy.label," ").concat(i("class-clips")),fosZid:e.topicOfStudy.fieldOfStudy.id,zid:o,numberOfClassClips:e.clipsCount,numberOfLearnerGuides:e.guidesCount,levelLabel:e.topicOfStudy.level.label,levelId:e.topicOfStudy.level.id,topicLabel:e.topicOfStudy.label,topicId:e.topicOfStudy.id,stubs:[{id:e.topicOfStudy.id,label:e.topicOfStudy.label,path:"/bitesize/topics/".concat(e.topicOfStudy.id)}]}},u={getData:o,parseData:i};e.default=u,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),o=function(){},i=function(t){var e=t.language,n=(0,r.default)(e);return{label:n("all-subjects.label"),description:n("all-subjects.description")}},u={getData:o,parseData:i};e.default=u,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-examspec",zid:t.zid}},o=function(t){var e=t.data,n=t.zid;return{label:"".concat(e.programmeOfStudy.label," - ").concat(e.label),fosZid:e.programmeOfStudy.fieldOfStudy.id,zid:n,levelLabel:e.programmeOfStudy.keyStage.label,levelId:e.programmeOfStudy.keyStage.id,examspecLabel:e.label,examspecId:n}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-header-data",pageType:"field-of-study",language:t.language,zid:t.zid}},o=function(t){return t.data},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(12),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.zid,n=t.chapterType,r=t.cacheBuster;return o({data:"bbc-morph-bitesize-header-data",zid:e,chapterType:n,pageType:"guide",pageIndex:1,cacheBuster:r})},u=function(t){return t.data},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(53)),i=r(n(2)),u=r(n(1)),a=function(t){return{data:"bbc-morph-bitesize-level",levelId:t.zid}},c=function(t){var e=["zvbc87h","zc9d7ty","zfxmtv4"];return!!(0,i.default)(e,t)},f=function(t){return Object.assign((0,o.default)(t.language),{primaryLabel:"Learn & Revise",primaryLink:""})},s=function(t){var e=t.data,n=t.language,r=t.zid,o="subjects";return c(r)&&(o="levels"),{label:(0,u.default)(n)(o),fosZid:"",description:e.description,zid:r,levelLabel:e.label,levelId:r}},l=function(t){return t.zid?s(t):f(t)},p={getData:a,parseData:l};e.default=p,t.exports=e.default},function(t,e){t.exports=n(499)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-header-data",zid:t.zid,pageType:"programme-of-study"}},o=function(t){return t.data},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-topics-for-web",language:t.language,zid:t.zid}},o=function(t){var e=t.data;return{label:e.label,fosZid:e.taughtInFieldZid,numberOfClassClips:e.numberOfClassClips,numberOfLearnerGuides:e.content.length,zid:e.id,hasTopics:e.topics.length>0,levelLabel:e.level,levelId:e.taughtAtLevelId,examspecLabel:e.examspecLabel,examspecId:e.examspecId}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){return{label:"Sorry, but we’re having difficulties showing you the page you asked for.",description:"The content might have been moved or deleted, or you may have mis-typed the link."}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){return{label:"Sorry, but we’re having difficulties showing you the page you asked for.",description:"Please try again later."}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){u(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n(3)),c=r(n(4)),f=function(t){return{data:"bbc-morph-blocks-article-data",projectName:"blocks-bitesize",zid:t.zid,preview:t.preview,timestamp:t.timestamp}},s=function(t,e){return e&&t&&t.length?(0,a.default)(t,function(t){return t.id===e}):null},l=function(t,e){var n=t.topics;if(n&&n.length){var r=s(n,e)||n[0],o=r.id,u=r.label,a=r.fieldOfStudy,c=r.keyStage,f=r.examSpecification,l=[{id:o,label:u,path:"/bitesize/topics/".concat(o)}];return i({levelLabel:c.label,levelId:c.id,examspecLabel:f.label,examspecId:f.id,stubs:l,fosZid:a.id},n.length>1?{topicId:o}:{})}return null},p=function(t){var e=t.tags,n=c.default.findAgeTag(e);if(!n)return null;var r=c.default.getExtraData(n);return{stubs:[{id:r.zid,label:r.label,path:r.path}]}},d=function(t,e){var n=l(t,e);return n||p(t)},h=function(t){var e=t.data,n=t.topicId,r=e.headline,o=e.topics,u=e.tags,a=o&&1===o.length,c=o&&o.length>1;return i({label:r,zid:a?o[0].id:e.id,contentId:e.id,tags:u,isTaggedWithMultipleTopics:c},d(e,n))},y={getData:f,parseData:h};e.default=y,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(12),o=function(t){return t&&t.__esModule?t:{default:t}}(n(60)),i=(0,r.omitBy)(r.isNil),u=function(t){var e=t.href,n=t.language,r=void 0===n?"en-GB":n,u=t.cacheBuster;if(e&&(0,o.default)(e,"support")||(0,o.default)(e,"careers"))return i({data:"bbc-morph-bitesize-header-data",pageType:"index-page",href:e,language:r,cacheBuster:u})},a=function(t){return{headerData:t.data}},c={getData:u,parseData:a};e.default=c,t.exports=e.default},function(t,e){t.exports=n(500)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(12),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.slug,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;return o({data:"bbc-morph-bitesize-header-data",pageType:"collection-index",slug:e,language:r,cacheBuster:i})},u=function(t){return{headerData:t.data||{}}},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(12),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.zid,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;return o({data:"bbc-morph-bitesize-header-data",pageType:"tags",zid:e,language:r,cacheBuster:i})},u=function(t){var e=t.data,n=t.zid;return{headerData:e||{},zid:n}},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){return{label:"Primary Levels",description:"Ages 3 to 11"}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){},i={getData:r,parseData:o};e.default=i,t.exports=e.default}])},function(t,e,n){function r(t,e,n,r){t=i(t)?t:c(t),n=n&&!r?a(n):0;var s=t.length;return n<0&&(n=f(s+n,0)),u(t)?n<=s&&t.indexOf(e,n)>-1:!!s&&o(t,e,n)>-1}var o=n(202),i=n(41),u=n(207),a=n(69),c=n(210),f=Math.max;t.exports=r},function(t,e,n){function r(t,e,n){return e===e?u(t,e,n):o(t,i,n)}var o=n(115),i=n(203),u=n(204);t.exports=r},function(t,e){function n(t){return t!==t}t.exports=n},function(t,e){function n(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}t.exports=n},function(t,e,n){function r(t){var e=u.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}var o=n(42),i=Object.prototype,u=i.hasOwnProperty,a=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t){return"string"==typeof t||!i(t)&&u(t)&&o(t)==a}var o=n(21),i=n(5),u=n(22),a="[object String]";t.exports=r},function(t,e,n){function r(t){if(!t)return 0===t?t:0;if((t=o(t))===i||t===-i){return(t<0?-1:1)*u}return t===t?t:0}var o=n(209),i=1/0,u=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t){if("number"==typeof t)return t;if(i(t))return u;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=f.test(t);return n||s.test(t)?l(t.slice(2),n?2:8):c.test(t)?u:+t}var o=n(44),i=n(45),u=NaN,a=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;t.exports=r},function(t,e,n){function r(t){return null==t?[]:o(t,i(t))}var o=n(211),i=n(28);t.exports=r},function(t,e,n){function r(t,e){return o(e,function(e){return t[e]})}var o=n(118);t.exports=r},function(t,e,n){function r(t,e){var n=u(t),r=!n&&i(t),s=!n&&!r&&a(t),p=!n&&!r&&!s&&f(t),d=n||r||s||p,h=d?o(t.length,String):[],y=h.length;for(var v in t)!e&&!l.call(t,v)||d&&("length"==v||s&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,y))||h.push(v);return h}var o=n(213),i=n(119),u=n(5),a=n(120),c=n(121),f=n(122),s=Object.prototype,l=s.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(21),i=n(22),u="[object Arguments]";t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){return u(t)&&i(t.length)&&!!a[o(t)]}var o=n(21),i=n(68),u=n(22),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=r},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){(function(t){var r=n(117),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===o,a=u&&r.process,c=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(e,n(12)(t))},function(t,e,n){function r(t){if(!o(t))return i(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var o=n(220),i=n(221),u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e,n){var r=n(222),o=r(Object.keys,Object);t.exports=o},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){var r=n(224),o=n(287),i=r(o);t.exports=i},function(t,e,n){function r(t){return function(e,n,r){var a=Object(e);if(!i(e)){var c=o(n,3);e=u(e),n=function(t){return c(a[t],t,a)}}var f=t(e,n,r);return f>-1?a[c?e[f]:f]:void 0}}var o=n(70),i=n(41),u=n(28);t.exports=r},function(t,e,n){function r(t){var e=i(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(n){return n===t||o(n,t,e)}}var o=n(226),i=n(275),u=n(129);t.exports=r},function(t,e,n){function r(t,e,n,r){var c=n.length,f=c,s=!r;if(null==t)return!f;for(t=Object(t);c--;){var l=n[c];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++c<f;){l=n[c];var p=l[0],d=t[p],h=l[1];if(s&&l[2]){if(void 0===d&&!(p in t))return!1}else{var y=new o;if(r)var v=r(d,h,p,t,e,y);if(!(void 0===v?i(h,d,u|a,r,y):v))return!1}}return!0}var o=n(123),i=n(126),u=1,a=2;t.exports=r},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():u.call(e,n,1),--this.size,!0)}var o=n(47),i=Array.prototype,u=i.splice;t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}var o=n(47);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(47);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(47);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(46);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new u(r)}return n.set(t,e),this.size=n.size,this}var o=n(46),i=n(71),u=n(72),a=200;t.exports=r},function(t,e,n){function r(t){return!(!u(t)||i(t))&&(o(t)?h:f).test(a(t))}var o=n(116),i=n(238),u=n(44),a=n(125),c=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Function.prototype,l=Object.prototype,p=s.toString,d=l.hasOwnProperty,h=RegExp("^"+p.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){return!!i&&i in t}var o=n(239),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(7),o=r["__core-js_shared__"];t.exports=o},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(u||i),string:new o}}var o=n(242),i=n(46),u=n(71);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(243),i=n(244),u=n(245),a=n(246),c=n(247);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(48);t.exports=r},function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},function(t,e,n){function r(t){var e=this.__data__;if(o){var n=e[t];return n===i?void 0:n}return a.call(e,t)?e[t]:void 0}var o=n(48),i="__lodash_hash_undefined__",u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=this.__data__;return o?void 0!==e[t]:u.call(e,t)}var o=n(48),i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=o&&void 0===e?i:e,this}var o=n(48),i="__lodash_hash_undefined__";t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(49);t.exports=r},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(49);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(49);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(49);t.exports=r},function(t,e,n){function r(t,e,n,r,v,b){var _=f(t),m=f(e),x=_?h:c(t),w=m?h:c(e);x=x==d?y:x,w=w==d?y:w;var j=x==y,O=w==y,k=x==w;if(k&&s(t)){if(!s(e))return!1;_=!0,j=!1}if(k&&!j)return b||(b=new o),_||l(t)?i(t,e,n,r,v,b):u(t,e,x,n,r,v,b);if(!(n&p)){var P=j&&g.call(t,"__wrapped__"),A=O&&g.call(e,"__wrapped__");if(P||A){var S=P?t.value():t,T=A?e.value():e;return b||(b=new o),v(S,T,n,r,b)}}return!!k&&(b||(b=new o),a(t,e,n,r,v,b))}var o=n(123),i=n(127),u=n(259),a=n(263),c=n(270),f=n(5),s=n(120),l=n(122),p=1,d="[object Arguments]",h="[object Array]",y="[object Object]",v=Object.prototype,g=v.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new o;++e<n;)this.add(t[e])}var o=n(72),i=n(255),u=n(256);r.prototype.add=r.prototype.push=i,r.prototype.has=u,t.exports=r},function(t,e){function n(t){return this.__data__.set(t,r),this}var r="__lodash_hash_undefined__";t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e){function n(t,e){return t.has(e)}t.exports=n},function(t,e,n){function r(t,e,n,r,o,j,k){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!j(new i(t),new i(e)));case p:case d:case v:return u(+t,+e);case h:return t.name==e.name&&t.message==e.message;case g:case _:return t==e+"";case y:var P=c;case b:var A=r&s;if(P||(P=f),t.size!=e.size&&!A)return!1;var S=k.get(t);if(S)return S==e;r|=l,k.set(t,e);var T=a(P(t),P(e),r,o,j,k);return k.delete(t),T;case m:if(O)return O.call(t)==O.call(e)}return!1}var o=n(42),i=n(260),u=n(124),a=n(127),c=n(261),f=n(262),s=1,l=2,p="[object Boolean]",d="[object Date]",h="[object Error]",y="[object Map]",v="[object Number]",g="[object RegExp]",b="[object Set]",_="[object String]",m="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",j=o?o.prototype:void 0,O=j?j.valueOf:void 0;t.exports=r},function(t,e,n){var r=n(7),o=r.Uint8Array;t.exports=o},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}t.exports=n},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}t.exports=n},function(t,e,n){function r(t,e,n,r,u,c){var f=n&i,s=o(t),l=s.length;if(l!=o(e).length&&!f)return!1;for(var p=l;p--;){var d=s[p];if(!(f?d in e:a.call(e,d)))return!1}var h=c.get(t);if(h&&c.get(e))return h==e;var y=!0;c.set(t,e),c.set(e,t);for(var v=f;++p<l;){d=s[p];var g=t[d],b=e[d];if(r)var _=f?r(b,g,d,e,t,c):r(g,b,d,t,e,c);if(!(void 0===_?g===b||u(g,b,n,r,c):_)){y=!1;break}v||(v="constructor"==d)}if(y&&!v){var m=t.constructor,x=e.constructor;m!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x)&&(y=!1)}return c.delete(t),c.delete(e),y}var o=n(264),i=1,u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return o(t,u,i)}var o=n(265),i=n(267),u=n(28);t.exports=r},function(t,e,n){function r(t,e,n){var r=e(t);return i(t)?r:o(r,n(t))}var o=n(266),i=n(5);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}t.exports=n},function(t,e,n){var r=n(268),o=n(269),i=Object.prototype,u=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return u.call(t,e)}))}:o;t.exports=c},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}t.exports=n},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){var r=n(271),o=n(71),i=n(272),u=n(273),a=n(274),c=n(21),f=n(125),s=f(r),l=f(o),p=f(i),d=f(u),h=f(a),y=c;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||i&&"[object Promise]"!=y(i.resolve())||u&&"[object Set]"!=y(new u)||a&&"[object WeakMap]"!=y(new a))&&(y=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?f(n):"";if(r)switch(r){case s:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return e}),t.exports=y},function(t,e,n){var r=n(13),o=n(7),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(13),o=n(7),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(13),o=n(7),i=r(o,"Set");t.exports=i},function(t,e,n){var r=n(13),o=n(7),i=r(o,"WeakMap");t.exports=i},function(t,e,n){function r(t){for(var e=i(t),n=e.length;n--;){var r=e[n],u=t[r];e[n]=[r,u,o(u)]}return e}var o=n(128),i=n(28);t.exports=r},function(t,e,n){function r(t,e){return a(t)&&c(e)?f(s(t),e):function(n){var r=i(n,t);return void 0===r&&r===e?u(n,t):o(e,r,l|p)}}var o=n(126),i=n(130),u=n(280),a=n(73),c=n(128),f=n(129),s=n(50),l=1,p=2;t.exports=r},function(t,e,n){var r=n(278),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=u},function(t,e,n){function r(t){var e=o(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}var o=n(279),i=500;t.exports=r},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(r.Cache||o),n}var o=n(72),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(t,e){return null!=t&&i(t,e,o)}var o=n(281),i=n(282);t.exports=r},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t,e,n){e=o(e,t);for(var r=-1,s=e.length,l=!1;++r<s;){var p=f(e[r]);if(!(l=null!=t&&n(t,p)))break;t=t[p]}return l||++r!=s?l:!!(s=null==t?0:t.length)&&c(s)&&a(p,s)&&(u(t)||i(t))}var o=n(132),i=n(119),u=n(5),a=n(121),c=n(68),f=n(50);t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){return u(t)?o(a(t)):i(t)}var o=n(285),i=n(286),u=n(73),a=n(50);t.exports=r},function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){function r(t){return function(e){return o(e,t)}}var o=n(131);t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var c=null==n?0:u(n);return c<0&&(c=a(r+c,0)),o(t,i(e,3),c)}var o=n(115),i=n(70),u=n(69),a=Math.max;t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign||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},o.apply(this,arguments)}function i(t,e){if(null==t)return{};var n,r,o=u(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function u(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(289),n(297),n(142),n(305),n(307);var a=r(n(308)),c=r(n(0)),f=(r(n(38)),r(n(66))),s=n(430),l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return function(){f.default.track((0,s.formatIStatsValue)(t),(0,s.formatIStatsValue)(e),(0,a.default)(s.formatIStatsValue,n)),r.apply(void 0,arguments)}},p=function(t){function e(e){var n=e.onClick,r=e.iStatsAction,u=e.iStatsType,a=e.iStatsOptions,f=i(e,["onClick","iStatsAction","iStatsType","iStatsOptions"]);return c.default.createElement(t,o({},f,{onClick:l(r,u,a,n)}))}return e.defaultProps={onClick:function(){return null},iStatsType:"",iStatsOptions:{}},e.displayName="iStatsOnClick(".concat(t.displayName||t.name||"Component",")"),e};e.default=p,t.exports=e.default},function(t,e,n){var r=n(51);r(r.S+r.F,"Object",{assign:n(293)})},function(t,e,n){t.exports=n(55)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(292);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(24),o=n(77),i=n(57),u=n(78),a=n(138),c=Object.assign;t.exports=!c||n(23)(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=u(t),c=arguments.length,f=1,s=o.f,l=i.f;c>f;)for(var p,d=a(arguments[f++]),h=s?r(d).concat(s(d)):r(d),y=h.length,v=0;y>v;)l.call(d,p=h[v++])&&(n[p]=d[p]);return n}:c},function(t,e,n){var r=n(25),o=n(295),i=n(296);t.exports=function(t){return function(e,n,u){var a,c=r(e),f=o(c.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(141),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(141),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){for(var r=n(142),o=n(24),i=n(54),u=n(8),a=n(14),c=n(79),f=n(18),s=f("iterator"),l=f("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),y=0;y<h.length;y++){var v,g=h[y],b=d[g],_=u[g],m=_&&_.prototype;if(m&&(m[s]||a(m,s,p),m[l]||a(m,l,g),c[g]=p,b))for(v in r)m[v]||i(m,v,r[v],!0)}},function(t,e,n){var r=n(18)("unscopables"),o=Array.prototype;void 0==o[r]&&n(14)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(56),o=n(51),i=n(54),u=n(14),a=n(79),c=n(301),f=n(80),s=n(304),l=n(18)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,y,v,g){c(n,e,h);var b,_,m,x=function(t){if(!p&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",j="values"==y,O=!1,k=t.prototype,P=k[l]||k["@@iterator"]||y&&k[y],A=P||x(y),S=y?j?x("entries"):A:void 0,T="Array"==e?k.entries||P:P;if(T&&(m=s(T.call(new t)))!==Object.prototype&&m.next&&(f(m,w,!0),r||"function"==typeof m[l]||u(m,l,d)),j&&P&&"values"!==P.name&&(O=!0,A=function(){return P.call(this)}),r&&!g||!p&&!O&&k[l]||u(k,l,A),a[e]=A,a[w]=d,y)if(b={values:j?A:x("values"),keys:v?A:x("keys"),entries:S},g)for(_ in b)_ in k||i(k,_,b[_]);else o(o.P+o.F*(p||O),e,b);return b}},function(t,e,n){"use strict";var r=n(143),o=n(53),i=n(80),u={};n(14)(u,n(18)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(15),o=n(52),i=n(24);t.exports=n(16)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(8).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(17),o=n(78),i=n(75)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(78),o=n(24);n(306)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(51),o=n(29),i=n(23);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(15).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(16)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){var r=n(32),o=r("mapValues",n(426));o.placeholder=n(26),t.exports=o},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(P.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return S||P.curry&&n>1?W(e,n):e}function y(t,e,n){if(P.fixed&&(T||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function v(t,e,n){return P.rearg&&n>1&&(E||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=M(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||N(c)||D(c)||F(c)||(u[a]=M(n==o?c:Object(c))),u=u[a]}return i}function b(t){return H.runInContext.convert(t)(void 0)}function _(t,e){var n=s.aliasToReal[t]||t,r=s.remap[n]||n,o=p;return function(t){var i=O?I:z,u=O?I[r]:e,a=C(C({},o),t);return f(i,n,u,a)}}function m(t,e){return w(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return w(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function w(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=P.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function j(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):P.immutable&&(s.mutate.array[o]?a=c(e,i):s.mutate.object[o]?a=c(e,u(e)):s.mutate.set[o]&&(a=c(e,g))),B(V,function(t){return B(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?y(o,v(o,a,t),t):v(o,y(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=S?W(r,1):function(){return e.apply(this,arguments)}),r.convert=_(o,e),r.placeholder=e.placeholder=n,r}var O="function"==typeof e,k=e===Object(e);if(k&&(p=n,n=e,e=void 0),null==n)throw new TypeError;p||(p={});var P={cap:!("cap"in p)||p.cap,curry:!("curry"in p)||p.curry,fixed:!("fixed"in p)||p.fixed,immutable:!("immutable"in p)||p.immutable,rearg:!("rearg"in p)||p.rearg},A=O?n:l,S="curry"in p&&p.curry,T="fixed"in p&&p.fixed,E="rearg"in p&&p.rearg,I=O?n.runInContext():void 0,z=O?n:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},R=z.ary,C=z.assign,M=z.clone,W=z.curry,B=z.forEach,L=z.isArray,D=z.isError,N=z.isFunction,F=z.isWeakMap,q=z.keys,U=z.rearg,$=z.toInteger,G=z.toPath,V=q(s.aryMethod),K={castArray:function(t){return function(){var e=arguments[0];return L(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return P.cap&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:o(r,n)):r}},mixin:function(t){return function(e){var n=this;if(!N(n))return t(n,Object(e));var r=[];return B(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),B(r,function(t){var e=t[1];N(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]}),n}},nthArg:function(t){return function(e){var n=e<0?1:$(e)+1;return W(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return W(t(e,n),r)}},runInContext:function(e){return function(n){return f(t,e(n),p)}}};if(!k)return j(e,n,A);var H=n,Z=[];return B(V,function(t){B(s.aryMethod[t],function(t){var e=H[s.remap[t]||t];e&&Z.push([t,j(t,e,H)])})}),B(q(H),function(t){var e=H[t];if("function"==typeof e){for(var n=Z.length;n--;)if(Z[n][0]==t)return;e.convert=_(t,e),Z.push([t,e])}}),B(Z,function(t){H[t[0]]=t[1]}),H.convert=b,H.placeholder=H,B(q(H),function(t){B(s.realToAlias[t]||[],function(e){H[e]=H[t]})}),H}var s=n(310),l=n(26),p=Array.prototype.push;t.exports=f},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var i=n[o];t.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(t,e,n){t.exports={ary:n(312),assign:n(162),clone:n(346),curry:n(391),forEach:n(89),isArray:n(2),isError:n(392),isFunction:n(83),isWeakMap:n(394),iteratee:n(395),keys:n(166),rearg:n(420),toInteger:n(161),toPath:n(425)}},function(t,e,n){function r(t,e,n){return e=n?void 0:e,e=t&&null==e?t.length:e,o(t,i,void 0,void 0,void 0,void 0,e)}var o=n(81),i=128;t.exports=r},function(t,e,n){function r(t){return!(!u(t)||i(t))&&(o(t)?h:f).test(a(t))}var o=n(83),i=n(316),u=n(11),a=n(148),c=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Function.prototype,l=Object.prototype,p=s.toString,d=l.hasOwnProperty,h=RegExp("^"+p.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){var e=u.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}var o=n(27),i=Object.prototype,u=i.hasOwnProperty,a=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t){return!!i&&i in t}var o=n(317),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(1),o=r["__core-js_shared__"];t.exports=o},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t,e,n){function r(){return(this&&this!==i&&this instanceof r?c:t).apply(a?n:this,arguments)}var a=e&u,c=o(t);return r}var o=n(58),i=n(1),u=1;t.exports=r},function(t,e,n){function r(t,e,n){function r(){for(var i=arguments.length,p=Array(i),d=i,h=c(r);d--;)p[d]=arguments[d];var y=i<3&&p[0]!==h&&p[i-1]!==h?[]:f(p,h);return(i-=y.length)<n?a(t,e,u,r.placeholder,void 0,p,y,void 0,void 0,n-i):o(this&&this!==s&&this instanceof r?l:t,this,p)}var l=i(t);return r}var o=n(84),i=n(58),u=n(149),a=n(152),c=n(160),f=n(91),s=n(1);t.exports=r},function(t,e){function n(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}t.exports=n},function(t,e){function n(){}t.exports=n},function(t,e){var n={};t.exports=n},function(t,e,n){function r(t){if(c(t)&&!a(t)&&!(t instanceof o)){if(t instanceof i)return t;if(l.call(t,"__wrapped__"))return f(t)}return new i(t)}var o=n(85),i=n(88),u=n(86),a=n(2),c=n(3),f=n(325),s=Object.prototype,l=s.hasOwnProperty;r.prototype=u.prototype,r.prototype.constructor=r,t.exports=r},function(t,e,n){function r(t){if(t instanceof o)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=u(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var o=n(85),i=n(88),u=n(60);t.exports=r},function(t,e){function n(t){var e=t.match(r);return e?e[1].split(o):[]}var r=/\{\n\/\* \[wrapped with (.+)\] \*/,o=/,? & /;t.exports=n},function(t,e){function n(t,e){var n=e.length;if(!n)return t;var o=n-1;return e[o]=(n>1?"& ":"")+e[o],e=e.join(n>2?", ":" "),t.replace(r,"{\n/* [wrapped with "+e+"] */\n")}var r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=n},function(t,e,n){var r=n(329),o=n(159),i=n(82),u=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=u},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){function r(t,e){return o(u,function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)}),t.sort()}var o=n(89),i=n(331),u=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=r},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&o(t,e,0)>-1}var o=n(332);t.exports=r},function(t,e,n){function r(t,e,n){return e===e?u(t,e,n):o(t,i,n)}var o=n(333),i=n(334),u=n(335);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}t.exports=n},function(t,e){function n(t){return t!==t}t.exports=n},function(t,e){function n(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length,r=u(e.length,n),a=o(t);r--;){var c=e[r];t[r]=i(c,n)?a[c]:void 0}return t}var o=n(60),i=n(90),u=Math.min;t.exports=r},function(t,e,n){function r(t,e,n,r){function c(){for(var e=-1,i=arguments.length,a=-1,l=r.length,p=Array(l+i),d=this&&this!==u&&this instanceof c?s:t;++a<l;)p[a]=r[a];for(;i--;)p[a++]=arguments[++e];return o(d,f?n:this,p)}var f=e&a,s=i(t);return c}var o=n(84),i=n(58),u=n(1),a=1;t.exports=r},function(t,e,n){function r(t,e){var n=t[1],r=e[1],y=n|r,v=y<(c|f|p),g=r==p&&n==l||r==p&&n==d&&t[7].length<=e[8]||r==(p|d)&&e[7].length<=e[8]&&n==l;if(!v&&!g)return t;r&c&&(t[2]=e[2],y|=n&c?0:s);var b=e[3];if(b){var _=t[3];t[3]=_?o(_,b,e[4]):b,t[4]=_?u(t[3],a):e[4]}return b=e[5],b&&(_=t[5],t[5]=_?i(_,b,e[6]):b,t[6]=_?u(t[5],a):e[6]),b=e[7],b&&(t[7]=b),r&p&&(t[8]=null==t[8]?e[8]:h(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=y,t}var o=n(150),i=n(151),u=n(91),a="__lodash_placeholder__",c=1,f=2,s=4,l=8,p=128,d=256,h=Math.min;t.exports=r},function(t,e,n){function r(t){if(!t)return 0===t?t:0;if((t=o(t))===i||t===-i){return(t<0?-1:1)*u}return t===t?t:0}var o=n(340),i=1/0,u=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t){if("number"==typeof t)return t;if(i(t))return u;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=f.test(t);return n||s.test(t)?l(t.slice(2),n?2:8):c.test(t)?u:+t}var o=n(11),i=n(33),u=NaN,a=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(20),i=n(3),u="[object Arguments]";t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){return u(t)&&i(t.length)&&!!a[o(t)]}var o=n(20),i=n(96),u=n(3),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){var r=n(167),o=r(Object.keys,Object);t.exports=o},function(t,e,n){function r(t){return o(t,i)}var o=n(169),i=4;t.exports=r},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():u.call(e,n,1),--this.size,!0)}var o=n(63),i=Array.prototype,u=i.splice;t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}var o=n(63);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(63);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(63);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(62);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new u(r)}return n.set(t,e),this.size=n.size,this}var o=n(62),i=n(101),u=n(102),a=200;t.exports=r},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(u||i),string:new o}}var o=n(358),i=n(62),u=n(101);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(359),i=n(360),u=n(361),a=n(362),c=n(363);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(64);t.exports=r},function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},function(t,e,n){function r(t){var e=this.__data__;if(o){var n=e[t];return n===i?void 0:n}return a.call(e,t)?e[t]:void 0}var o=n(64),i="__lodash_hash_undefined__",u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=this.__data__;return o?void 0!==e[t]:u.call(e,t)}var o=n(64),i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=o&&void 0===e?i:e,this}var o=n(64),i="__lodash_hash_undefined__";t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(65);t.exports=r},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(65);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(65);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(65);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(61),i=n(170);t.exports=r},function(t,e,n){function r(t){if(!o(t))return u(t);var e=i(t),n=[];for(var r in t)("constructor"!=r||!e&&c.call(t,r))&&n.push(r);return n}var o=n(11),i=n(99),u=n(371),a=Object.prototype,c=a.hasOwnProperty;t.exports=r},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){(function(t){function r(t,e){if(e)return t.slice();var n=t.length,r=f?f(n):new t.constructor(n);return t.copy(r),r}var o=n(1),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,c=a?o.Buffer:void 0,f=c?c.allocUnsafe:void 0;t.exports=r}).call(e,n(12)(t))},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(61),i=n(103);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}t.exports=n},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(61),i=n(172);t.exports=r},function(t,e,n){function r(t){return o(t,u,i)}var o=n(174),i=n(172),u=n(170);t.exports=r},function(t,e,n){var r=n(19),o=n(1),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(19),o=n(1),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(19),o=n(1),i=r(o,"Set");t.exports=i},function(t,e){function n(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&o.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var r=Object.prototype,o=r.hasOwnProperty;t.exports=n},function(t,e,n){function r(t,e,n){var r=t.constructor;switch(e){case g:return o(t);case f:case s:return new r(+t);case b:return i(t,n);case _:case m:case x:case w:case j:case O:case k:case P:case A:return c(t,n);case l:return new r;case p:case y:return new r(t);case d:return u(t);case h:return new r;case v:return a(t)}}var o=n(106),i=n(382),u=n(383),a=n(384),c=n(385),f="[object Boolean]",s="[object Date]",l="[object Map]",p="[object Number]",d="[object RegExp]",h="[object Set]",y="[object String]",v="[object Symbol]",g="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",m="[object Float64Array]",x="[object Int8Array]",w="[object Int16Array]",j="[object Int32Array]",O="[object Uint8Array]",k="[object Uint8ClampedArray]",P="[object Uint16Array]",A="[object Uint32Array]";t.exports=r},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var o=n(106);t.exports=r},function(t,e){function n(t){var e=new t.constructor(t.source,r.exec(t));return e.lastIndex=t.lastIndex,e}var r=/\w*$/;t.exports=n},function(t,e,n){function r(t){return u?Object(u.call(t)):{}}var o=n(27),i=o?o.prototype:void 0,u=i?i.valueOf:void 0;t.exports=r},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var o=n(106);t.exports=r},function(t,e,n){function r(t){return"function"!=typeof t.constructor||u(t)?{}:o(i(t))}var o=n(59),i=n(105),u=n(99);t.exports=r},function(t,e,n){var r=n(388),o=n(97),i=n(98),u=i&&i.isMap,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(35),i=n(3),u="[object Map]";t.exports=r},function(t,e,n){var r=n(390),o=n(97),i=n(98),u=i&&i.isSet,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(35),i=n(3),u="[object Set]";t.exports=r},function(t,e,n){function r(t,e,n){e=n?void 0:e;var u=o(t,i,void 0,void 0,void 0,void 0,void 0,e);return u.placeholder=r.placeholder,u}var o=n(81),i=8;r.placeholder={},t.exports=r},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==c||e==a||"string"==typeof t.message&&"string"==typeof t.name&&!u(t)}var o=n(20),i=n(3),u=n(393),a="[object DOMException]",c="[object Error]";t.exports=r},function(t,e,n){function r(t){if(!u(t)||o(t)!=a)return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==p}var o=n(20),i=n(105),u=n(3),a="[object Object]",c=Function.prototype,f=Object.prototype,s=c.toString,l=f.hasOwnProperty,p=s.call(Object);t.exports=r},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(35),i=n(3),u="[object WeakMap]";t.exports=r},function(t,e,n){function r(t){return i("function"==typeof t?t:o(t,u))}var o=n(169),i=n(176),u=1;t.exports=r},function(t,e,n){function r(t){var e=i(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(n){return n===t||o(n,t,e)}}var o=n(397),i=n(408),u=n(180);t.exports=r},function(t,e,n){function r(t,e,n,r){var c=n.length,f=c,s=!r;if(null==t)return!f;for(t=Object(t);c--;){var l=n[c];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++c<f;){l=n[c];var p=l[0],d=t[p],h=l[1];if(s&&l[2]){if(void 0===d&&!(p in t))return!1}else{var y=new o;if(r)var v=r(d,h,p,t,e,y);if(!(void 0===v?i(h,d,u|a,r,y):v))return!1}}return!0}var o=n(100),i=n(177),u=1,a=2;t.exports=r},function(t,e,n){function r(t,e,n,r,v,b){var _=f(t),m=f(e),x=_?h:c(t),w=m?h:c(e);x=x==d?y:x,w=w==d?y:w;var j=x==y,O=w==y,k=x==w;if(k&&s(t)){if(!s(e))return!1;_=!0,j=!1}if(k&&!j)return b||(b=new o),_||l(t)?i(t,e,n,r,v,b):u(t,e,x,n,r,v,b);if(!(n&p)){var P=j&&g.call(t,"__wrapped__"),A=O&&g.call(e,"__wrapped__");if(P||A){var S=P?t.value():t,T=A?e.value():e;return b||(b=new o),v(S,T,n,r,b)}}return!!k&&(b||(b=new o),a(t,e,n,r,v,b))}var o=n(100),i=n(178),u=n(404),a=n(407),c=n(35),f=n(2),s=n(95),l=n(165),p=1,d="[object Arguments]",h="[object Array]",y="[object Object]",v=Object.prototype,g=v.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new o;++e<n;)this.add(t[e])}var o=n(102),i=n(400),u=n(401);r.prototype.add=r.prototype.push=i,r.prototype.has=u,t.exports=r},function(t,e){function n(t){return this.__data__.set(t,r),this}var r="__lodash_hash_undefined__";t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e){function n(t,e){return t.has(e)}t.exports=n},function(t,e,n){function r(t,e,n,r,o,j,k){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!j(new i(t),new i(e)));case p:case d:case v:return u(+t,+e);case h:return t.name==e.name&&t.message==e.message;case g:case _:return t==e+"";case y:var P=c;case b:var A=r&s;if(P||(P=f),t.size!=e.size&&!A)return!1;var S=k.get(t);if(S)return S==e;r|=l,k.set(t,e);var T=a(P(t),P(e),r,o,j,k);return k.delete(t),T;case m:if(O)return O.call(t)==O.call(e)}return!1}var o=n(27),i=n(175),u=n(93),a=n(178),c=n(405),f=n(406),s=1,l=2,p="[object Boolean]",d="[object Date]",h="[object Error]",y="[object Map]",v="[object Number]",g="[object RegExp]",b="[object Set]",_="[object String]",m="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",j=o?o.prototype:void 0,O=j?j.valueOf:void 0;t.exports=r},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}t.exports=n},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}t.exports=n},function(t,e,n){function r(t,e,n,r,u,c){var f=n&i,s=o(t),l=s.length;if(l!=o(e).length&&!f)return!1;for(var p=l;p--;){var d=s[p];if(!(f?d in e:a.call(e,d)))return!1}var h=c.get(t);if(h&&c.get(e))return h==e;var y=!0;c.set(t,e),c.set(e,t);for(var v=f;++p<l;){d=s[p];var g=t[d],b=e[d];if(r)var _=f?r(b,g,d,e,t,c):r(g,b,d,t,e,c);if(!(void 0===_?g===b||u(g,b,n,r,c):_)){y=!1;break}v||(v="constructor"==d)}if(y&&!v){var m=t.constructor,x=e.constructor;m!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x)&&(y=!1)}return c.delete(t),c.delete(e),y}var o=n(173),i=1,u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){for(var e=i(t),n=e.length;n--;){var r=e[n],u=t[r];e[n]=[r,u,o(u)]}return e}var o=n(179),i=n(34);t.exports=r},function(t,e,n){function r(t,e){return a(t)&&c(e)?f(s(t),e):function(n){var r=i(n,t);return void 0===r&&r===e?u(n,t):o(e,r,l|p)}}var o=n(177),i=n(410),u=n(414),a=n(107),c=n(179),f=n(180),s=n(37),l=1,p=2;t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?void 0:o(t,e);return void 0===r?n:r}var o=n(181);t.exports=r},function(t,e,n){function r(t){var e=o(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}var o=n(412),i=500;t.exports=r},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(r.Cache||o),n}var o=n(102),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(t){if("string"==typeof t)return t;if(u(t))return i(t,r)+"";if(a(t))return s?s.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}var o=n(27),i=n(184),u=n(2),a=n(33),c=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=r},function(t,e,n){function r(t,e){return null!=t&&i(t,e,o)}var o=n(415),i=n(416);t.exports=r},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t,e,n){e=o(e,t);for(var r=-1,s=e.length,l=!1;++r<s;){var p=f(e[r]);if(!(l=null!=t&&n(t,p)))break;t=t[p]}return l||++r!=s?l:!!(s=null==t?0:t.length)&&c(s)&&a(p,s)&&(u(t)||i(t))}var o=n(182),i=n(94),u=n(2),a=n(90),c=n(96),f=n(37);t.exports=r},function(t,e,n){function r(t){return u(t)?o(a(t)):i(t)}var o=n(418),i=n(419),u=n(107),a=n(37);t.exports=r},function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){function r(t){return function(e){return o(e,t)}}var o=n(181);t.exports=r},function(t,e,n){var r=n(81),o=n(185),i=o(function(t,e){return r(t,256,void 0,void 0,void 0,e)});t.exports=i},function(t,e,n){function r(t){return(null==t?0:t.length)?o(t,1):[]}var o=n(422);t.exports=r},function(t,e,n){function r(t,e,n,u,a){var c=-1,f=t.length;for(n||(n=i),a||(a=[]);++c<f;){var s=t[c];e>0&&n(s)?e>1?r(s,e-1,n,u,a):o(a,s):u||(a[a.length]=s)}return a}var o=n(104),i=n(423);t.exports=r},function(t,e,n){function r(t){return u(t)||i(t)||!!(a&&t&&t[a])}var o=n(27),i=n(94),u=n(2),a=o?o.isConcatSpreadable:void 0;t.exports=r},function(t,e,n){function r(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,u=-1,a=i(r.length-e,0),c=Array(a);++u<a;)c[u]=r[e+u];u=-1;for(var f=Array(e+1);++u<e;)f[u]=r[u];return f[e]=n(c),o(t,this,f)}}var o=n(84),i=Math.max;t.exports=r},function(t,e,n){function r(t){return u(t)?o(t,f):a(t)?[t]:i(c(s(t)))}var o=n(184),i=n(60),u=n(2),a=n(33),c=n(183),f=n(37),s=n(36);t.exports=r},function(t,e,n){function r(t,e){var n={};return e=u(e,3),i(t,function(t,r,i){o(n,r,e(t,r,i))}),n}var o=n(92),i=n(427),u=n(176);t.exports=r},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(428),i=n(34);t.exports=r},function(t,e,n){var r=n(429),o=r();t.exports=o},function(t,e){function n(t){return function(e,n,r){for(var o=-1,i=Object(e),u=r(e),a=u.length;a--;){var c=u[t?a:++o];if(!1===n(i[c],c,i))break}return e}}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(431)),i=r(n(433)),u=r(n(437)),a=r(n(440)),c=(0,u.default)([i.default,(0,o.default)(/,|\(|\)/g,""),(0,o.default)(/\s+/g,"_"),(0,o.default)(/'|’/g,"_039_"),(0,o.default)("–","-")]),f=(0,u.default)([a.default,c]),s={formatIStatsValueKeepCase:c,formatIStatsValue:f};e.default=s,t.exports=e.default},function(t,e,n){var r=n(32),o=r("replace",n(432));o.placeholder=n(26),t.exports=o},function(t,e,n){function r(){var t=arguments,e=o(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var o=n(36);t.exports=r},function(t,e,n){var r=n(32),o=r("deburr",n(434),n(186));o.placeholder=n(26),t.exports=o},function(t,e,n){function r(t){return(t=i(t))&&t.replace(u,o).replace(a,"")}var o=n(435),i=n(36),u=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=r},function(t,e,n){var r=n(436),o={"À":"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","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},i=r(o);t.exports=i},function(t,e){function n(t){return function(e){return null==t?void 0:t[e]}}t.exports=n},function(t,e,n){var r=n(32),o=r("flow",n(438));o.placeholder=n(26),t.exports=o},function(t,e,n){var r=n(439),o=r();t.exports=o},function(t,e,n){function r(t){return i(function(e){var n=e.length,r=n,i=o.prototype.thru;for(t&&e.reverse();r--;){var y=e[r];if("function"!=typeof y)throw new TypeError(s);if(i&&!v&&"wrapper"==a(y))var v=new o([],!0)}for(r=v?r:n;++r<n;){y=e[r];var g=a(y),b="wrapper"==g?u(y):void 0;v=b&&f(b[0])&&b[1]==(d|l|p|h)&&!b[4].length&&1==b[9]?v[a(b[0])].apply(v,b[3]):1==y.length&&f(y)?v[g]():v.thru(y)}return function(){var t=arguments,r=t[0];if(v&&1==t.length&&c(r))return v.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}})}var o=n(88),i=n(185),u=n(87),a=n(154),c=n(2),f=n(153),s="Expected a function",l=8,p=32,d=128,h=256;t.exports=r},function(t,e,n){var r=n(32),o=r("toLower",n(441),n(186));o.placeholder=n(26),t.exports=o},function(t,e,n){function r(t){return o(t).toLowerCase()}var o=n(36);t.exports=r},function(t,e,n){"use strict";var r=n(108);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(187)),i=r(n(66)),u=r(n(188)),a=function(){return window.Promise||(window.Promise=o.default),new o.default(function(t,e){requirejs(["idcta-v2/idcta-1","orb/cookies"],function(e,n){t({idcta:e,cookiesLib:n})},function(t){i.default.track("requirejs","error",{error_message:t.toString()}),e(t)})})},c={isSignedIn:!1},f=function(){return a().then(function(t){var e=t.idcta,n=t.cookiesLib,r=n.readPolicy();return e.hasCookie()?u.default.checkFlagpole().then(function(){return e.initiateTokenRefresh().then(function(){var t=e.getUserDetailsFromCookie();return{isSignedIn:!0,isUnderThirteen:"u13"===t.ab,hasPersonalisationEnabled:t.ep,displayName:t.dn,personalisationCookiesEnabled:r.personalisation}}).catch(function(t){return i.default.track("id_token_refresh_error","error",{error_code:t.code,error_message:t.message}),c})}):c})},s={getDetails:f};e.default=s,t.exports=e.default},function(t,e,n){"use strict";var r=n(108);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(444));n(189);var i=n(445),u=n(190),a="urn:bbc:isite2:file_id:",c={origin:"web"},f={"programme-of-study":"biteprogrammestudy",exam:"biteexamspecification","study-guide":"bitestudyguide",article:"article"},s=function(t){return f[t]},l=function(t){return"article"===t?"blocks-bitesize":"education"},p=function(t){return t.map(function(t){var e=t.id,n=t.type,r=t.action;return{resourceId:e,resourceDomain:"learning",resourceType:s(n),action:r}})},d=function(t){return{resourceId:"".concat(a).concat(l(t.type),":").concat(t.id),resourceDomain:"learning",resourceType:s(t.type),action:t.action}},h=function(t){var e={resourceId:"".concat(a).concat(l(t.type),":").concat(t.id),resourceDomain:"learning",resourceType:s(t.type),metaData:c};return e.metaData.levelId=t.keyStageId,t.examspecId&&(e.metaData.examspecId=t.examspecId),t.posId&&(e.metaData.posId=t.posId),e},y=function(t,e){return{resourceId:"".concat(a,"blocks-bitesize:").concat(t),resourceDomain:"learning",resourceType:f.article,metaData:(0,o.default)(c,e)}},v=function(t,e){return"".concat(a).concat(l(e),":").concat(t)},g=function(t){return"urn:bbc:learning:article:isite2:file_id:blocks-bitesize:".concat(t)},b=function(t,e){return fetch("".concat((0,u.getUASHost)()).concat(t),{method:"POST",headers:new Headers({"Content-Type":"application/json",Accept:"application/json","X-Authentication-Provider":"idv5","X-Api-Key":(0,u.getUASApiKey)()}),credentials:"include",body:JSON.stringify(e)}).then(function(t){return 202!==t.status?t.json():void 0}).then(function(e){if(e)throw new Error("Error posting resource(s) to '".concat(t,"': ").concat(JSON.stringify(e,null,2)))})},_=b,m=function(t,e){var n=(0,i.chunk)(50,e).map(function(e){return b(t,e)});return Promise.all(n).then(function(){})},x=function(t){var e="";return t&&(Object.keys(t).forEach(function(n){e+="&".concat(n,"=").concat(t[n])}),e="?".concat(e.substr(1))),e},w=function(t){return fetch("".concat((0,u.getUASHost)()).concat(t),{method:"GET",headers:new Headers({"Content-Type":"application/json",Accept:"application/json","X-Authentication-Provider":"idv5","X-Api-Key":(0,u.getUASApiKey)()}),credentials:"include"}).then(function(e){if(200!==e.status)throw new Error("Error getting '".concat(t,"': ").concat(JSON.stringify(e.json(),null,2)));return e.json()})},j=function(t){return fetch("".concat((0,u.getUASHost)()).concat(t),{method:"GET",headers:new Headers({"Content-Type":"application/json",Accept:"application/json","X-Authentication-Provider":"idv5","X-Api-Key":(0,u.getUASApiKey)()}),credentials:"include"}).then(function(e){if(200!==e.status)throw new Error("Error getting '".concat(t,"': ").concat(JSON.stringify(e.json(),null,2)));return e.json()}).then(function(t){return t.items})},O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return j("/my/favourites/unlimited?resourceDomain=learning&action=favourited").then(function(t){return t.filter(function(t){return t.resourceType===f["study-guide"]||t.resourceType===f.article})}).then(function(e){return t>0?(0,i.take)(t,e):e})},k=function(t){return m("/my/batch/follows",p(t))},P=function(t){return _("/my/follows",t)},A=function(t){return w("/my/follows/".concat(t))},S=function(t){return j("/my/follows".concat(x(t)))},T=function(t){return _("/my/reads",h(t))},E=function(t){return j("/my/reads".concat(x(t)))},I=function(t,e){return _("/my/reads",y(t,e))},z=function(t){return _("/my/favourites",d(t))},R=function(t,e){return j("/my/favourites/unlimited?resourceDomain=learning&action=favourited&resourceType=".concat(s(e))).then(function(n){return(0,i.some)({resourceId:v(t,e)},n)})},C=function(t){return j("/my/reads/".concat(g(t))).then(function(){return!0}).catch(function(){return!1})},M={getFollow:A,getFollows:S,getSavedForLater:O,postFollow:P,postFollows:k,getReads:E,postRead:T,postReadForAnArticle:I,postFavourite:z,isFavourited:R,isArticleRead:C};e.default=M,t.exports=e.default},function(t,e){function n(){return t.exports=n=Object.assign||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},n.apply(this,arguments)}t.exports=n},function(t,e,n){var r=n(446).runInContext();t.exports=n(447)(r,r)},function(t,e,n){(function(t,r){var o;(function(){function i(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 o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}function a(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function c(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function f(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 s(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}function l(t,e){return!(null==t||!t.length)&&-1<m(t,e,0)}function p(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function d(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function h(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function y(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function v(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function g(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 b(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function _(t,e,n,r){var o=t.length;for(n+=r?1:-1;r?n--:++n<o;)if(e(t[n],n,t))return n;return-1}function m(t,e,n){if(e===e)t:{--n;for(var r=t.length;++n<r;)if(t[n]===e){t=n;break t}t=-1}else t=_(t,w,n);return t}function x(t,e,n,r){--n;for(var o=t.length;++n<o;)if(r(t[n],e))return n;return-1}function w(t){return t!==t}function j(t,e){var n=null==t?0:t.length;return n?S(t,e)/n:V}function O(t){return function(e){return null==e?$:e[t]}}function k(t){return function(e){return null==t?$:t[e]}}function P(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function A(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].c;return t}function S(t,e){for(var n,r=-1,o=t.length;++r<o;){var i=e(t[r]);i!==$&&(n=n===$?i:n+i)}return n}function T(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function E(t,e){return d(e,function(e){return[e,t[e]]})}function I(t){return function(e){return t(e)}}function z(t,e){return d(e,function(e){return t[e]})}function R(t,e){return t.has(e)}function C(t,e){for(var n=-1,r=t.length;++n<r&&-1<m(e,t[n],0););return n}function M(t,e){for(var n=t.length;n--&&-1<m(e,t[n],0););return n}function W(t){return"\\"+Bt[t]}function B(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function L(t,e){return function(n){return t(e(n))}}function D(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n];u!==e&&"__lodash_placeholder__"!==u||(t[n]="__lodash_placeholder__",i[o++]=n)}return i}function N(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function F(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function q(t){if(zt.test(t)){for(var e=Et.lastIndex=0;Et.test(t);)++e;t=e}else t=te(t);return t}function U(t){return zt.test(t)?t.match(Et)||[]:t.split("")}var $,G=1/0,V=NaN,K=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],H=/\b__p\+='';/g,Z=/\b(__p\+=)''\+/g,Y=/(__e\(.*?\)|\b__t\))\+'';/g,J=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,Q=RegExp(J.source),tt=RegExp(X.source),et=/<%-([\s\S]+?)%>/g,nt=/<%([\s\S]+?)%>/g,rt=/<%=([\s\S]+?)%>/g,ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,ut=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,at=/[\\^$.*+?()[\]{}|]/g,ct=RegExp(at.source),ft=/^\s+|\s+$/g,st=/^\s+/,lt=/\s+$/,pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,dt=/\{\n\/\* \[wrapped with (.+)\] \*/,ht=/,? & /,yt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,vt=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bt=/\w*$/,_t=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,wt=/^0o[0-7]+$/i,jt=/^(?:0|[1-9]\d*)$/,Ot=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,Pt=/['\n\r\u2028\u2029\\]/g,At="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",St=RegExp("['’]","g"),Tt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Et=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])"+At,"g"),It=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+","(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"].join("|"),"g"),zt=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ct="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".split(" "),Mt={};Mt["[object Float32Array]"]=Mt["[object Float64Array]"]=Mt["[object Int8Array]"]=Mt["[object Int16Array]"]=Mt["[object Int32Array]"]=Mt["[object Uint8Array]"]=Mt["[object Uint8ClampedArray]"]=Mt["[object Uint16Array]"]=Mt["[object Uint32Array]"]=!0,Mt["[object Arguments]"]=Mt["[object Array]"]=Mt["[object ArrayBuffer]"]=Mt["[object Boolean]"]=Mt["[object DataView]"]=Mt["[object Date]"]=Mt["[object Error]"]=Mt["[object Function]"]=Mt["[object Map]"]=Mt["[object Number]"]=Mt["[object Object]"]=Mt["[object RegExp]"]=Mt["[object Set]"]=Mt["[object String]"]=Mt["[object WeakMap]"]=!1;var Wt={};Wt["[object Arguments]"]=Wt["[object Array]"]=Wt["[object ArrayBuffer]"]=Wt["[object DataView]"]=Wt["[object Boolean]"]=Wt["[object Date]"]=Wt["[object Float32Array]"]=Wt["[object Float64Array]"]=Wt["[object Int8Array]"]=Wt["[object Int16Array]"]=Wt["[object Int32Array]"]=Wt["[object Map]"]=Wt["[object Number]"]=Wt["[object Object]"]=Wt["[object RegExp]"]=Wt["[object Set]"]=Wt["[object String]"]=Wt["[object Symbol]"]=Wt["[object Uint8Array]"]=Wt["[object Uint8ClampedArray]"]=Wt["[object Uint16Array]"]=Wt["[object Uint32Array]"]=!0,Wt["[object Error]"]=Wt["[object Function]"]=Wt["[object WeakMap]"]=!1;var Bt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Lt=parseFloat,Dt=parseInt,Nt="object"==typeof t&&t&&t.Object===Object&&t,Ft="object"==typeof self&&self&&self.Object===Object&&self,qt=Nt||Ft||Function("return this")(),Ut="object"==typeof e&&e&&!e.nodeType&&e,$t=Ut&&"object"==typeof r&&r&&!r.nodeType&&r,Gt=$t&&$t.exports===Ut,Vt=Gt&&Nt.process,Kt=function(){try{var t=$t&&$t.f&&$t.f("util").types;return t||Vt&&Vt.binding&&Vt.binding("util")}catch(t){}}(),Ht=Kt&&Kt.isArrayBuffer,Zt=Kt&&Kt.isDate,Yt=Kt&&Kt.isMap,Jt=Kt&&Kt.isRegExp,Xt=Kt&&Kt.isSet,Qt=Kt&&Kt.isTypedArray,te=O("length"),ee=k({"À":"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","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ne=k({"&":"&","<":"<",">":">",'"':""","'":"'"}),re=k({"&":"&","<":"<",">":">",""":'"',"'":"'"}),oe=function t(e){function n(t){if(_o(t)&&!ua(t)&&!(t instanceof k)){if(t instanceof o)return t;if(ai.call(t,"__wrapped__"))return Fr(t)}return new o(t)}function r(){}function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=$}function k(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function At(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 Et(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 Bt(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 Nt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Bt;++e<n;)this.add(t[e])}function Ft(t){this.size=(this.__data__=new Et(t)).size}function Ut(t,e){var n,r=ua(t),o=!r&&ia(t),i=!r&&!o&&ca(t),u=!r&&!o&&!i&&da(t),o=(r=r||o||i||u)?T(t.length,ei):[],a=o.length;for(n in t)!e&&!ai.call(t,n)||r&&("length"==n||i&&("offset"==n||"parent"==n)||u&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Ar(n,a))||o.push(n);return o}function $t(t){var e=t.length;return e?t[on(0,e-1)]:$}function Vt(t,e){return Br(Mn(t),pe(e,0,t.length))}function Kt(t){return Br(Mn(t))}function te(t,e,n){(n===$||so(t[e],n))&&(n!==$||e in t)||se(t,e,n)}function ie(t,e,n){var r=t[e];ai.call(t,e)&&so(r,n)&&(n!==$||e in t)||se(t,e,n)}function ue(t,e){for(var n=t.length;n--;)if(so(t[n][0],e))return n;return-1}function ae(t,e,n,r){return iu(t,function(t,o,i){e(r,t,n(t),i)}),r}function ce(t,e){return t&&Wn(e,Ro(e),t)}function fe(t,e){return t&&Wn(e,Co(e),t)}function se(t,e,n){"__proto__"==e&&ki?ki(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function le(t,e){for(var n=-1,r=e.length,o=Ho(r),i=null==t;++n<r;)o[n]=i?$:Io(t,e[n]);return o}function pe(t,e,n){return t===t&&(n!==$&&(t=t<=n?t:n),e!==$&&(t=t>=e?t:e)),t}function de(t,e,n,r,o,i){var u,c=1&e,f=2&e,s=4&e;if(n&&(u=o?n(t,r,o,i):n(t)),u!==$)return u;if(!bo(t))return t;if(r=ua(t)){if(u=jr(t),!c)return Mn(t,u)}else{var l=vu(t),p="[object Function]"==l||"[object GeneratorFunction]"==l;if(ca(t))return Tn(t,c);if("[object Object]"==l||"[object Arguments]"==l||p&&!o){if(u=f||p?{}:Or(t),!c)return f?Ln(t,fe(u,t)):Bn(t,ce(u,t))}else{if(!Wt[l])return o?t:{};u=kr(t,l,c)}}if(i||(i=new Ft),o=i.get(t))return o;i.set(t,u),pa(t)?t.forEach(function(r){u.add(de(r,e,n,r,t,i))}):sa(t)&&t.forEach(function(r,o){u.set(o,de(r,e,n,o,t,i))});var f=s?f?yr:hr:f?Co:Ro,d=r?$:f(t);return a(d||t,function(r,o){d&&(o=r,r=t[o]),ie(u,o,de(r,e,n,o,t,i))}),u}function he(t){var e=Ro(t);return function(n){return ye(n,t,e)}}function ye(t,e,n){var r=n.length;if(null==t)return!r;for(t=Qo(t);r--;){var o=n[r],i=e[o],u=t[o];if(u===$&&!(o in t)||!i(u))return!1}return!0}function ve(t,e,n){if("function"!=typeof t)throw new ni("Expected a function");return _u(function(){t.apply($,n)},e)}function ge(t,e,n,r){var o=-1,i=l,u=!0,a=t.length,c=[],f=e.length;if(!a)return c;n&&(e=d(e,I(n))),r?(i=p,u=!1):200<=e.length&&(i=R,u=!1,e=new Nt(e));t:for(;++o<a;){var s=t[o],h=null==n?s:n(s),s=r||0!==s?s:0;if(u&&h===h){for(var y=f;y--;)if(e[y]===h)continue t;c.push(s)}else i(e,h,r)||c.push(s)}return c}function be(t,e){var n=!0;return iu(t,function(t,r,o){return n=!!e(t,r,o)}),n}function _e(t,e,n){for(var r=-1,o=t.length;++r<o;){var i=t[r],u=e(i);if(null!=u&&(a===$?u===u&&!jo(u):n(u,a)))var a=u,c=i}return c}function me(t,e){var n=[];return iu(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function xe(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=Pr),o||(o=[]);++i<u;){var a=t[i];0<e&&n(a)?1<e?xe(a,e-1,n,r,o):h(o,a):r||(o[o.length]=a)}return o}function we(t,e){return t&&au(t,e,Ro)}function je(t,e){return t&&cu(t,e,Ro)}function Oe(t,e){return s(e,function(e){return yo(t[e])})}function ke(t,e){e=An(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Lr(e[n++])];return n&&n==r?t:$}function Pe(t,e,n){return e=e(t),ua(t)?e:h(e,n(t))}function Ae(t){if(null==t)t=t===$?"[object Undefined]":"[object Null]";else if(Oi&&Oi in Qo(t)){var e=ai.call(t,Oi),n=t[Oi];try{t[Oi]=$;var r=!0}catch(t){}var o=si.call(t);r&&(e?t[Oi]=n:delete t[Oi]),t=o}else t=si.call(t);return t}function Se(t,e){return t>e}function Te(t,e){return null!=t&&ai.call(t,e)}function Ee(t,e){return null!=t&&e in Qo(t)}function Ie(t,e,n){for(var r=n?p:l,o=t[0].length,i=t.length,u=i,a=Ho(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,I(e))),c=Bi(s.length,c),a[u]=!n&&(e||120<=o&&120<=s.length)?new Nt(u&&s):$}var s=t[0],h=-1,y=a[0];t:for(;++h<o&&f.length<c;){var v=s[h],g=e?e(v):v,v=n||0!==v?v:0;if(y?!R(y,g):!r(f,g,n)){for(u=i;--u;){var b=a[u];if(b?!R(b,g):!r(t[u],g,n))continue t}y&&y.push(g),f.push(v)}}return f}function ze(t,e,n){var r={};return we(t,function(t,o,i){e(r,n(t),o,i)}),r}function Re(t,e,n){return e=An(e,t),t=2>e.length?t:ke(t,pn(e,0,-1)),e=null==t?t:t[Lr(Vr(e))],null==e?$:i(e,t,n)}function Ce(t){return _o(t)&&"[object Arguments]"==Ae(t)}function Me(t){return _o(t)&&"[object ArrayBuffer]"==Ae(t)}function We(t){return _o(t)&&"[object Date]"==Ae(t)}function Be(t,e,n,r,o){if(t===e)e=!0;else if(null==t||null==e||!_o(t)&&!_o(e))e=t!==t&&e!==e;else t:{var i=ua(t),u=ua(e),a=i?"[object Array]":vu(t),c=u?"[object Array]":vu(e),a="[object Arguments]"==a?"[object Object]":a,c="[object Arguments]"==c?"[object Object]":c,f="[object Object]"==a,u="[object Object]"==c;if((c=a==c)&&ca(t)){if(!ca(e)){e=!1;break t}i=!0,f=!1}if(c&&!f)o||(o=new Ft),e=i||da(t)?lr(t,e,n,r,Be,o):pr(t,e,a,n,r,Be,o);else{if(!(1&n)&&(i=f&&ai.call(t,"__wrapped__"),a=u&&ai.call(e,"__wrapped__"),i||a)){t=i?t.value():t,e=a?e.value():e,o||(o=new Ft),e=Be(t,e,n,r,o);break t}if(c)e:if(o||(o=new Ft),i=1&n,a=hr(t),u=a.length,c=hr(e).length,u==c||i){for(f=u;f--;){var s=a[f];if(!(i?s in e:ai.call(e,s))){e=!1;break e}}if((c=o.get(t))&&o.get(e))e=c==e;else{c=!0,o.set(t,e),o.set(e,t);for(var l=i;++f<u;){var s=a[f],p=t[s],d=e[s];if(r)var h=i?r(d,p,s,e,t,o):r(p,d,s,t,e,o);if(h===$?p!==d&&!Be(p,d,n,r,o):!h){c=!1;break}l||(l="constructor"==s)}c&&!l&&(n=t.constructor,r=e.constructor,n!=r&&"constructor"in t&&"constructor"in e&&!("function"==typeof n&&n instanceof n&&"function"==typeof r&&r instanceof r)&&(c=!1)),o.delete(t),o.delete(e),e=c}}else e=!1;else e=!1}}return e}function Le(t){return _o(t)&&"[object Map]"==vu(t)}function De(t,e,n,r){var o=n.length,i=o,u=!r;if(null==t)return!i;for(t=Qo(t);o--;){var a=n[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var a=n[o],c=a[0],f=t[c],s=a[1];if(u&&a[2]){if(f===$&&!(c in t))return!1}else{if(a=new Ft,r)var l=r(f,s,c,t,e,a);if(l===$?!Be(s,f,3,r,a):!l)return!1}}return!0}function Ne(t){return!(!bo(t)||fi&&fi in t)&&(yo(t)?di:xt).test(Dr(t))}function Fe(t){return _o(t)&&"[object RegExp]"==Ae(t)}function qe(t){return _o(t)&&"[object Set]"==vu(t)}function Ue(t){return _o(t)&&go(t.length)&&!!Mt[Ae(t)]}function $e(t){return"function"==typeof t?t:null==t?Fo:"object"==typeof t?ua(t)?Ze(t[0],t[1]):He(t):Go(t)}function Ge(t){if(!Ir(t))return Mi(t);var e,n=[];for(e in Qo(t))ai.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Ve(t,e){return t<e}function Ke(t,e){var n=-1,r=lo(t)?Ho(t.length):[];return iu(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function He(t){var e=mr(t);return 1==e.length&&e[0][2]?zr(e[0][0],e[0][1]):function(n){return n===t||De(n,t,e)}}function Ze(t,e){return Tr(t)&&e===e&&!bo(e)?zr(Lr(t),e):function(n){var r=Io(n,t);return r===$&&r===e?zo(n,t):Be(e,r,3)}}function Ye(t,e,n,r,o){t!==e&&au(e,function(i,u){if(o||(o=new Ft),bo(i)){var a=o,c=Cr(t,u),f=Cr(e,u),s=a.get(f);if(s)te(t,u,s);else{var s=r?r(c,f,u+"",t,e,a):$,l=s===$;if(l){var p=ua(f),d=!p&&ca(f),h=!p&&!d&&da(f),s=f;p||d||h?ua(c)?s=c:po(c)?s=Mn(c):d?(l=!1,s=Tn(f,!0)):h?(l=!1,s=In(f,!0)):s=[]:xo(f)||ia(f)?(s=c,ia(c)?s=To(c):bo(c)&&!yo(c)||(s=Or(f))):l=!1}l&&(a.set(f,s),Ye(s,f,n,r,a),a.delete(f)),te(t,u,s)}}else a=r?r(Cr(t,u),i,u+"",t,e,o):$,a===$&&(a=i),te(t,u,a)},Co)}function Je(t,e){var n=t.length;if(n)return e+=0>e?n:0,Ar(e,n)?t[e]:$}function Xe(t,e,n){var r=-1;return e=d(e.length?e:[Fo],I(br())),t=Ke(t,function(t){return{a:d(e,function(e){return e(t)}),b:++r,c:t}}),A(t,function(t,e){var r;t:{r=-1;for(var o=t.a,i=e.a,u=o.length,a=n.length;++r<u;){var c=zn(o[r],i[r]);if(c){r=r>=a?c:c*("desc"==n[r]?-1:1);break t}}r=t.b-e.b}return r})}function Qe(t,e){return tn(t,e,function(e,n){return zo(t,n)})}function tn(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],a=ke(t,u);n(a,u)&&sn(i,An(u,t),a)}return i}function en(t){return function(e){return ke(e,t)}}function nn(t,e,n,r){var o=r?x:m,i=-1,u=e.length,a=t;for(t===e&&(e=Mn(e)),n&&(a=d(t,I(n)));++i<u;)for(var c=0,f=e[i],f=n?n(f):f;-1<(c=o(a,f,c,r));)a!==t&&xi.call(a,c,1),xi.call(t,c,1);return t}function rn(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;Ar(o)?xi.call(t,o,1):mn(t,o)}}}function on(t,e){return t+Ei(Ni()*(e-t+1))}function un(t,e){var n="";if(!t||1>e||9007199254740991<e)return n;do{e%2&&(n+=t),(e=Ei(e/2))&&(t+=t)}while(e);return n}function an(t,e){return mu(Rr(t,e,Fo),t+"")}function cn(t){return $t(Wo(t))}function fn(t,e){var n=Wo(t);return Br(n,pe(e,0,n.length))}function sn(t,e,n,r){if(!bo(t))return t;e=An(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Lr(e[o]),f=n;if(o!=u){var s=a[c],f=r?r(s,c,a):$;f===$&&(f=bo(s)?s:Ar(e[o+1])?[]:{})}ie(a,c,f),a=a[c]}return t}function ln(t){return Br(Wo(t))}function pn(t,e,n){var r=-1,o=t.length;for(0>e&&(e=-e>o?0:o+e),n=n>o?o:n,0>n&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0,n=Ho(o);++r<o;)n[r]=t[r+e];return n}function dn(t,e){var n;return iu(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function hn(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e===e&&2147483647>=o){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!jo(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return yn(t,e,Fo,n)}function yn(t,e,n,r){e=n(e);for(var o=0,i=null==t?0:t.length,u=e!==e,a=null===e,c=jo(e),f=e===$;o<i;){var s=Ei((o+i)/2),l=n(t[s]),p=l!==$,d=null===l,h=l===l,y=jo(l);(u?r||h:f?h&&(r||p):a?h&&p&&(r||!d):c?h&&p&&!d&&(r||!y):d||y?0:r?l<=e:l<e)?o=s+1:i=s}return Bi(i,4294967294)}function vn(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n],a=e?e(u):u;if(!n||!so(a,c)){var c=a;i[o++]=0===u?0:u}}return i}function gn(t){return"number"==typeof t?t:jo(t)?V:+t}function bn(t){if("string"==typeof t)return t;if(ua(t))return d(t,bn)+"";if(jo(t))return ru?ru.call(t):"";var e=t+"";return"0"==e&&1/t==-G?"-0":e}function _n(t,e,n){var r=-1,o=l,i=t.length,u=!0,a=[],c=a;if(n)u=!1,o=p;else if(200<=i){if(o=e?null:pu(t))return N(o);u=!1,o=R,c=new Nt}else c=e?[]:a;t:for(;++r<i;){var f=t[r],s=e?e(f):f,f=n||0!==f?f:0;if(u&&s===s){for(var d=c.length;d--;)if(c[d]===s)continue t;e&&c.push(s),a.push(f)}else o(c,s,n)||(c!==a&&c.push(s),a.push(f))}return a}function mn(t,e){return e=An(e,t),null==(t=2>e.length?t:ke(t,pn(e,0,-1)))||delete t[Lr(Vr(e))]}function xn(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?pn(t,r?0:i,r?i+1:o):pn(t,r?i+1:0,r?o:i)}function wn(t,e){var n=t;return n instanceof k&&(n=n.value()),y(e,function(t,e){return e.func.apply(e.thisArg,h([t],e.args))},n)}function jn(t,e,n){var r=t.length;if(2>r)return r?_n(t[0]):[];for(var o=-1,i=Ho(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ge(i[o]||u,t[a],e,n));return _n(xe(i,1),e,n)}function On(t,e,n){for(var r=-1,o=t.length,i=e.length,u={};++r<o;)n(u,t[r],r<i?e[r]:$);return u}function kn(t){return po(t)?t:[]}function Pn(t){return"function"==typeof t?t:Fo}function An(t,e){return ua(t)?t:Tr(t,e)?[t]:xu(Eo(t))}function Sn(t,e,n){var r=t.length;return n=n===$?r:n,!e&&n>=r?t:pn(t,e,n)}function Tn(t,e){if(e)return t.slice();var n=t.length,n=gi?gi(n):new t.constructor(n);return t.copy(n),n}function En(t){var e=new t.constructor(t.byteLength);return new vi(e).set(new vi(t)),e}function In(t,e){return new t.constructor(e?En(t.buffer):t.buffer,t.byteOffset,t.length)}function zn(t,e){if(t!==e){var n=t!==$,r=null===t,o=t===t,i=jo(t),u=e!==$,a=null===e,c=e===e,f=jo(e);if(!a&&!f&&!i&&t>e||i&&u&&c&&!a&&!f||r&&u&&c||!n&&c||!o)return 1;if(!r&&!i&&!f&&t<e||f&&n&&o&&!r&&!i||a&&n&&o||!u&&o||!c)return-1}return 0}function Rn(t,e,n,r){var o=-1,i=t.length,u=n.length,a=-1,c=e.length,f=Wi(i-u,0),s=Ho(c+f);for(r=!r;++a<c;)s[a]=e[a];for(;++o<u;)(r||o<i)&&(s[n[o]]=t[o]);for(;f--;)s[a++]=t[o++];return s}function Cn(t,e,n,r){var o=-1,i=t.length,u=-1,a=n.length,c=-1,f=e.length,s=Wi(i-a,0),l=Ho(s+f);for(r=!r;++o<s;)l[o]=t[o];for(s=o;++c<f;)l[s+c]=e[c];for(;++u<a;)(r||o<i)&&(l[s+n[u]]=t[o++]);return l}function Mn(t,e){var n=-1,r=t.length;for(e||(e=Ho(r));++n<r;)e[n]=t[n];return e}function Wn(t,e,n,r){var o=!n;n||(n={});for(var i=-1,u=e.length;++i<u;){var a=e[i],c=r?r(n[a],t[a],a,n,t):$;c===$&&(c=t[a]),o?se(n,a,c):ie(n,a,c)}return n}function Bn(t,e){return Wn(t,hu(t),e)}function Ln(t,e){return Wn(t,yu(t),e)}function Dn(t,e){return function(n,r){var o=ua(n)?u:ae,i=e?e():{};return o(n,t,br(r,2),i)}}function Nn(t){return an(function(e,n){var r=-1,o=n.length,i=1<o?n[o-1]:$,u=2<o?n[2]:$,i=3<t.length&&"function"==typeof i?(o--,i):$;for(u&&Sr(n[0],n[1],u)&&(i=3>o?$:i,o=1),e=Qo(e);++r<o;)(u=n[r])&&t(e,u,r,i);return e})}function Fn(t,e){return function(n,r){if(null==n)return n;if(!lo(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=Qo(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function qn(t){return function(e,n,r){var o=-1,i=Qo(e);r=r(e);for(var u=r.length;u--;){var a=r[t?u:++o];if(!1===n(i[a],a,i))break}return e}}function Un(t,e,n){function r(){return(this&&this!==qt&&this instanceof r?i:t).apply(o?n:this,arguments)}var o=1&e,i=Vn(t);return r}function $n(t){return function(e){e=Eo(e);var n=zt.test(e)?U(e):$,r=n?n[0]:e.charAt(0);return e=n?Sn(n,1).join(""):e.slice(1),r[t]()+e}}function Gn(t){return function(e){return y(Do(Lo(e).replace(St,"")),t,"")}}function Vn(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=ou(t.prototype),e=t.apply(n,e);return bo(e)?e:n}}function Kn(t,e,n){function r(){for(var u=arguments.length,a=Ho(u),c=u,f=gr(r);c--;)a[c]=arguments[c];return c=3>u&&a[0]!==f&&a[u-1]!==f?[]:D(a,f),u-=c.length,u<n?or(t,e,Yn,r.placeholder,$,a,c,$,$,n-u):i(this&&this!==qt&&this instanceof r?o:t,this,a)}var o=Vn(t);return r}function Hn(t){return function(e,n,r){var o=Qo(e);if(!lo(e)){var i=br(n,3);e=Ro(e),n=function(t){return i(o[t],t,o)}}return n=t(e,n,r),-1<n?o[i?e[n]:n]:$}}function Zn(t){return dr(function(e){var n=e.length,r=n,i=o.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new ni("Expected a function");if(i&&!a&&"wrapper"==vr(u))var a=new o([],!0)}for(r=a?r:n;++r<n;)var u=e[r],i=vr(u),c="wrapper"==i?du(u):$,a=c&&Er(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[vr(c[0])].apply(a,c[3]):1==u.length&&Er(u)?a[i]():a.thru(u);return function(){var t=arguments,r=t[0];if(a&&1==t.length&&ua(r))return a.plant(r).value();for(var o=0,t=n?e[o].apply(this,t):r;++o<n;)t=e[o].call(this,t);return t}})}function Yn(t,e,n,r,o,i,u,a,c,f){function s(){for(var g=arguments.length,b=Ho(g),_=g;_--;)b[_]=arguments[_];if(h){var m,x=gr(s),_=b.length;for(m=0;_--;)b[_]===x&&++m}if(r&&(b=Rn(b,r,o,h)),i&&(b=Cn(b,i,u,h)),g-=m,h&&g<f)return x=D(b,x),or(t,e,Yn,s.placeholder,n,b,x,a,c,f-g);if(x=p?n:this,_=d?x[t]:t,g=b.length,a){m=b.length;for(var w=Bi(a.length,m),j=Mn(b);w--;){var O=a[w];b[w]=Ar(O,m)?j[O]:$}}else y&&1<g&&b.reverse();return l&&c<g&&(b.length=c),this&&this!==qt&&this instanceof s&&(_=v||Vn(_)),_.apply(x,b)}var l=128&e,p=1&e,d=2&e,h=24&e,y=512&e,v=d?$:Vn(t);return s}function Jn(t,e){return function(n,r){return ze(n,t,e(r))}}function Xn(t,e){return function(n,r){var o;if(n===$&&r===$)return e;if(n!==$&&(o=n),r!==$){if(o===$)return r;"string"==typeof n||"string"==typeof r?(n=bn(n),r=bn(r)):(n=gn(n),r=gn(r)),o=t(n,r)}return o}}function Qn(t){return dr(function(e){return e=d(e,I(br())),an(function(n){var r=this;return t(e,function(t){return i(t,r,n)})})})}function tr(t,e){e=e===$?" ":bn(e);var n=e.length;return 2>n?n?un(e,t):e:(n=un(e,Ti(t/q(e))),zt.test(e)?Sn(U(n),0,t).join(""):n.slice(0,t))}function er(t,e,n,r){function o(){for(var e=-1,c=arguments.length,f=-1,s=r.length,l=Ho(s+c),p=this&&this!==qt&&this instanceof o?a:t;++f<s;)l[f]=r[f];for(;c--;)l[f++]=arguments[++e];return i(p,u?n:this,l)}var u=1&e,a=Vn(t);return o}function nr(t){return function(e,n,r){r&&"number"!=typeof r&&Sr(e,n,r)&&(n=r=$),e=ko(e),n===$?(n=e,e=0):n=ko(n),r=r===$?e<n?1:-1:ko(r);var o=-1;n=Wi(Ti((n-e)/(r||1)),0);for(var i=Ho(n);n--;)i[t?n:++o]=e,e+=r;return i}}function rr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=So(e),n=So(n)),t(e,n)}}function or(t,e,n,r,o,i,u,a,c,f){var s=8&e,l=s?u:$;u=s?$:u;var p=s?i:$;return i=s?$:i,e=(e|(s?32:64))&~(s?64:32),4&e||(e&=-4),o=[t,e,o,p,l,i,u,a,c,f],n=n.apply($,o),Er(t)&&bu(n,o),n.placeholder=r,Mr(n,t,e)}function ir(t){var e=Xo[t];return function(t,n){if(t=So(t),(n=null==n?0:Bi(Po(n),292))&&Ri(t)){var r=(Eo(t)+"e").split("e"),r=e(r[0]+"e"+(+r[1]+n)),r=(Eo(r)+"e").split("e");return+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ur(t){return function(e){var n=vu(e);return"[object Map]"==n?B(e):"[object Set]"==n?F(e):E(e,t(e))}}function ar(t,e,n,r,o,i,u,a){var c=2&e;if(!c&&"function"!=typeof t)throw new ni("Expected a function");var f=r?r.length:0;if(f||(e&=-97,r=o=$),u=u===$?u:Wi(Po(u),0),a=a===$?a:Po(a),f-=o?o.length:0,64&e){var s=r,l=o;r=o=$}var p=c?$:du(t);return i=[t,e,n,r,o,s,l,i,u,a],p&&(n=i[1],t=p[1],e=n|t,r=128==t&&8==n||128==t&&256==n&&i[7].length<=p[8]||384==t&&p[7].length<=p[8]&&8==n,131>e||r)&&(1&t&&(i[2]=p[2],e|=1&n?0:4),(n=p[3])&&(r=i[3],i[3]=r?Rn(r,n,p[4]):n,i[4]=r?D(i[3],"__lodash_placeholder__"):p[4]),(n=p[5])&&(r=i[5],i[5]=r?Cn(r,n,p[6]):n,i[6]=r?D(i[5],"__lodash_placeholder__"):p[6]),(n=p[7])&&(i[7]=n),128&t&&(i[8]=null==i[8]?p[8]:Bi(i[8],p[8])),null==i[9]&&(i[9]=p[9]),i[0]=p[0],i[1]=e),t=i[0],e=i[1],n=i[2],r=i[3],o=i[4],a=i[9]=i[9]===$?c?0:t.length:Wi(i[9]-f,0),!a&&24&e&&(e&=-25),Mr((p?fu:bu)(e&&1!=e?8==e||16==e?Kn(t,e,a):32!=e&&33!=e||o.length?Yn.apply($,i):er(t,e,n,r):Un(t,e,n),i),t,e)}function cr(t,e,n,r){return t===$||so(t,oi[n])&&!ai.call(r,n)?e:t}function fr(t,e,n,r,o,i){return bo(t)&&bo(e)&&(i.set(e,t),Ye(t,e,$,fr,i),i.delete(e)),t}function sr(t){return xo(t)?$:t}function lr(t,e,n,r,o,i){var u=1&n,a=t.length,c=e.length;if(a!=c&&!(u&&c>a))return!1;if((c=i.get(t))&&i.get(e))return c==e;var c=-1,f=!0,s=2&n?new Nt:$;for(i.set(t,e),i.set(e,t);++c<a;){var l=t[c],p=e[c];if(r)var d=u?r(p,l,c,e,t,i):r(l,p,c,t,e,i);if(d!==$){if(d)continue;f=!1;break}if(s){if(!g(e,function(t,e){if(!R(s,e)&&(l===t||o(l,t,n,r,i)))return s.push(e)})){f=!1;break}}else if(l!==p&&!o(l,p,n,r,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function pr(t,e,n,r,o,i,u){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!i(new vi(t),new vi(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return so(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=B;case"[object Set]":if(a||(a=N),t.size!=e.size&&!(1&r))break;return(n=u.get(t))?n==e:(r|=2,u.set(t,e),e=lr(a(t),a(e),r,o,i,u),u.delete(t),e);case"[object Symbol]":if(nu)return nu.call(t)==nu.call(e)}return!1}function dr(t){return mu(Rr(t,$,$r),t+"")}function hr(t){return Pe(t,Ro,hu)}function yr(t){return Pe(t,Co,yu)}function vr(t){for(var e=t.name+"",n=Zi[e],r=ai.call(Zi,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function gr(t){return(ai.call(n,"placeholder")?n:t).placeholder}function br(){var t=n.iteratee||qo,t=t===qo?$e:t;return arguments.length?t(arguments[0],arguments[1]):t}function _r(t,e){var n=t.__data__,r=typeof e;return("string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?n["string"==typeof e?"string":"hash"]:n.map}function mr(t){for(var e=Ro(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,o===o&&!bo(o)]}return e}function xr(t,e){var n=null==t?$:t[e];return Ne(n)?n:$}function wr(t,e,n){e=An(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Lr(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&go(o)&&Ar(u,o)&&(ua(t)||ia(t))}function jr(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ai.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Or(t){return"function"!=typeof t.constructor||Ir(t)?{}:ou(bi(t))}function kr(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return En(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return e=n?En(t.buffer):t.buffer,new t.constructor(e,t.byteOffset,t.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return In(t,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return e=new t.constructor(t.source,bt.exec(t)),e.lastIndex=t.lastIndex,e;case"[object Set]":return new r;case"[object Symbol]":return nu?Qo(nu.call(t)):{}}}function Pr(t){return ua(t)||ia(t)||!!(wi&&t&&t[wi])}function Ar(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&jt.test(t))&&-1<t&&0==t%1&&t<e}function Sr(t,e,n){if(!bo(n))return!1;var r=typeof e;return!!("number"==r?lo(n)&&Ar(e,n.length):"string"==r&&e in n)&&so(n[e],t)}function Tr(t,e){if(ua(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!jo(t))||it.test(t)||!ot.test(t)||null!=e&&t in Qo(e)}function Er(t){var e=vr(t),r=n[e];return"function"==typeof r&&e in k.prototype&&(t===r||!!(e=du(r))&&t===e[0])}function Ir(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||oi)}function zr(t,e){return function(n){return null!=n&&n[t]===e&&(e!==$||t in Qo(n))}}function Rr(t,e,n){return e=Wi(e===$?t.length-1:e,0),function(){for(var r=arguments,o=-1,u=Wi(r.length-e,0),a=Ho(u);++o<u;)a[o]=r[e+o];for(o=-1,u=Ho(e+1);++o<e;)u[o]=r[o];return u[e]=n(a),i(t,this,u)}}function Cr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Mr(t,e,n){var r=e+"";e=mu;var o,i=Nr;return o=(o=r.match(dt))?o[1].split(ht):[],n=i(o,n),(i=n.length)&&(o=i-1,n[o]=(1<i?"& ":"")+n[o],n=n.join(2<i?", ":" "),r=r.replace(pt,"{\n/* [wrapped with "+n+"] */\n")),e(t,r)}function Wr(t){var e=0,n=0;return function(){var r=Li(),o=16-(r-n);if(n=r,0<o){if(800<=++e)return arguments[0]}else e=0;return t.apply($,arguments)}}function Br(t,e){var n=-1,r=t.length,o=r-1;for(e=e===$?r:e;++n<e;){var r=on(n,o),i=t[r];t[r]=t[n],t[n]=i}return t.length=e,t}function Lr(t){if("string"==typeof t||jo(t))return t;var e=t+"";return"0"==e&&1/t==-G?"-0":e}function Dr(t){if(null!=t){try{return ui.call(t)}catch(t){}return t+""}return""}function Nr(t,e){return a(K,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function Fr(t){if(t instanceof k)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Mn(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function qr(t,e,n){var r=null==t?0:t.length;return r?(n=null==n?0:Po(n),0>n&&(n=Wi(r+n,0)),_(t,br(e,3),n)):-1}function Ur(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==$&&(o=Po(n),o=0>n?Wi(r+o,0):Bi(o,r-1)),_(t,br(e,3),o,!0)}function $r(t){return(null==t?0:t.length)?xe(t,1):[]}function Gr(t){return t&&t.length?t[0]:$}function Vr(t){var e=null==t?0:t.length;return e?t[e-1]:$}function Kr(t,e){return t&&t.length&&e&&e.length?nn(t,e):t}function Hr(t){return null==t?t:Fi.call(t)}function Zr(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){if(po(t))return e=Wi(t.length,e),!0}),T(e,function(e){return d(t,O(e))})}function Yr(t,e){if(!t||!t.length)return[];var n=Zr(t);return null==e?n:d(n,function(t){return i(e,$,t)})}function Jr(t){return t=n(t),t.__chain__=!0,t}function Xr(t,e){return e(t)}function Qr(){return this}function to(t,e){return(ua(t)?a:iu)(t,br(e,3))}function eo(t,e){return(ua(t)?c:uu)(t,br(e,3))}function no(t,e){return(ua(t)?d:Ke)(t,br(e,3))}function ro(t,e,n){return e=n?$:e,e=t&&null==e?t.length:e,ar(t,128,$,$,$,$,e)}function oo(t,e){var n;if("function"!=typeof e)throw new ni("Expected a function");return t=Po(t),function(){return 0<--t&&(n=e.apply(this,arguments)),1>=t&&(e=$),n}}function io(t,e,n){return e=n?$:e,t=ar(t,8,$,$,$,$,$,e),t.placeholder=io.placeholder,t}function uo(t,e,n){return e=n?$:e,t=ar(t,16,$,$,$,$,$,e),t.placeholder=uo.placeholder,t}function ao(t,e,n){function r(e){var n=c,r=f;return c=f=$,h=e,l=t.apply(r,n)}function o(t){var n=t-d;return t-=h,d===$||n>=e||0>n||v&&t>=s}function i(){var t=Hu();if(o(t))return u(t);var n,r=_u;n=t-h,t=e-(t-d),n=v?Bi(t,s-n):t,p=r(i,n)}function u(t){return p=$,g&&c?r(t):(c=f=$,l)}function a(){var t=Hu(),n=o(t);if(c=arguments,f=this,d=t,n){if(p===$)return h=t=d,p=_u(i,e),y?r(t):l;if(v)return lu(p),p=_u(i,e),r(d)}return p===$&&(p=_u(i,e)),l}var c,f,s,l,p,d,h=0,y=!1,v=!1,g=!0;if("function"!=typeof t)throw new ni("Expected a function");return e=So(e)||0,bo(n)&&(y=!!n.leading,s=(v="maxWait"in n)?Wi(So(n.maxWait)||0,e):s,g="trailing"in n?!!n.trailing:g),a.cancel=function(){p!==$&&lu(p),h=0,c=d=f=p=$},a.flush=function(){return p===$?l:u(Hu())},a}function co(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=t.apply(this,r),n.cache=i.set(o,r)||i,r)}if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ni("Expected a function");return n.cache=new(co.Cache||Bt),n}function fo(t){if("function"!=typeof t)throw new ni("Expected a function");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 so(t,e){return t===e||t!==t&&e!==e}function lo(t){return null!=t&&go(t.length)&&!yo(t)}function po(t){return _o(t)&&lo(t)}function ho(t){if(!_o(t))return!1;var e=Ae(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!xo(t)}function yo(t){return!!bo(t)&&("[object Function]"==(t=Ae(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function vo(t){return"number"==typeof t&&t==Po(t)}function go(t){return"number"==typeof t&&-1<t&&0==t%1&&9007199254740991>=t}function bo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function _o(t){return null!=t&&"object"==typeof t}function mo(t){return"number"==typeof t||_o(t)&&"[object Number]"==Ae(t)}function xo(t){return!(!_o(t)||"[object Object]"!=Ae(t))&&(null===(t=bi(t))||"function"==typeof(t=ai.call(t,"constructor")&&t.constructor)&&t instanceof t&&ui.call(t)==li)}function wo(t){return"string"==typeof t||!ua(t)&&_o(t)&&"[object String]"==Ae(t)}function jo(t){return"symbol"==typeof t||_o(t)&&"[object Symbol]"==Ae(t)}function Oo(t){if(!t)return[];if(lo(t))return wo(t)?U(t):Mn(t);if(ji&&t[ji]){t=t[ji]();for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}return e=vu(t),("[object Map]"==e?B:"[object Set]"==e?N:Wo)(t)}function ko(t){return t?(t=So(t),t===G||t===-G?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Po(t){t=ko(t);var e=t%1;return t===t?e?t-e:t:0}function Ao(t){return t?pe(Po(t),0,4294967295):0}function So(t){if("number"==typeof t)return t;if(jo(t))return V;if(bo(t)&&(t="function"==typeof t.valueOf?t.valueOf():t,t=bo(t)?t+"":t),"string"!=typeof t)return 0===t?t:+t;t=t.replace(ft,"");var e=mt.test(t);return e||wt.test(t)?Dt(t.slice(2),e?2:8):_t.test(t)?V:+t}function To(t){return Wn(t,Co(t))}function Eo(t){return null==t?"":bn(t)}function Io(t,e,n){return t=null==t?$:ke(t,e),t===$?n:t}function zo(t,e){return null!=t&&wr(t,e,Ee)}function Ro(t){return lo(t)?Ut(t):Ge(t)}function Co(t){if(lo(t))t=Ut(t,!0);else if(bo(t)){var e,n=Ir(t),r=[];for(e in t)("constructor"!=e||!n&&ai.call(t,e))&&r.push(e);t=r}else{if(e=[],null!=t)for(n in Qo(t))e.push(n);t=e}return t}function Mo(t,e){if(null==t)return{};var n=d(yr(t),function(t){return[t]});return e=br(e),tn(t,n,function(t,n){return e(t,n[0])})}function Wo(t){return null==t?[]:z(t,Ro(t))}function Bo(t){return Da(Eo(t).toLowerCase())}function Lo(t){return(t=Eo(t))&&t.replace(Ot,ee).replace(Tt,"")}function Do(t,e,n){return t=Eo(t),e=n?$:e,e===$?Rt.test(t)?t.match(It)||[]:t.match(yt)||[]:t.match(e)||[]}function No(t){return function(){return t}}function Fo(t){return t}function qo(t){return $e("function"==typeof t?t:de(t,1))}function Uo(t,e,n){var r=Ro(e),o=Oe(e,r);null!=n||bo(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=Oe(e,Ro(e)));var i=!(bo(n)&&"chain"in n&&!n.chain),u=yo(t);return a(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=Mn(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,h([this.value()],arguments))})}),t}function $o(){}function Go(t){return Tr(t)?O(Lr(t)):en(t)}function Vo(){return[]}function Ko(){return!1}e=null==e?qt:oe.defaults(qt.Object(),e,oe.pick(qt,Ct));var Ho=e.Array,Zo=e.Date,Yo=e.Error,Jo=e.Function,Xo=e.Math,Qo=e.Object,ti=e.RegExp,ei=e.String,ni=e.TypeError,ri=Ho.prototype,oi=Qo.prototype,ii=e["__core-js_shared__"],ui=Jo.prototype.toString,ai=oi.hasOwnProperty,ci=0,fi=function(){var t=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),si=oi.toString,li=ui.call(Qo),pi=qt._,di=ti("^"+ui.call(ai).replace(at,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hi=Gt?e.Buffer:$,yi=e.Symbol,vi=e.Uint8Array,gi=hi?hi.g:$,bi=L(Qo.getPrototypeOf,Qo),_i=Qo.create,mi=oi.propertyIsEnumerable,xi=ri.splice,wi=yi?yi.isConcatSpreadable:$,ji=yi?yi.iterator:$,Oi=yi?yi.toStringTag:$,ki=function(){try{var t=xr(Qo,"defineProperty");return t({},"",{}),t}catch(t){}}(),Pi=e.clearTimeout!==qt.clearTimeout&&e.clearTimeout,Ai=Zo&&Zo.now!==qt.Date.now&&Zo.now,Si=e.setTimeout!==qt.setTimeout&&e.setTimeout,Ti=Xo.ceil,Ei=Xo.floor,Ii=Qo.getOwnPropertySymbols,zi=hi?hi.isBuffer:$,Ri=e.isFinite,Ci=ri.join,Mi=L(Qo.keys,Qo),Wi=Xo.max,Bi=Xo.min,Li=Zo.now,Di=e.parseInt,Ni=Xo.random,Fi=ri.reverse,qi=xr(e,"DataView"),Ui=xr(e,"Map"),$i=xr(e,"Promise"),Gi=xr(e,"Set"),Vi=xr(e,"WeakMap"),Ki=xr(Qo,"create"),Hi=Vi&&new Vi,Zi={},Yi=Dr(qi),Ji=Dr(Ui),Xi=Dr($i),Qi=Dr(Gi),tu=Dr(Vi),eu=yi?yi.prototype:$,nu=eu?eu.valueOf:$,ru=eu?eu.toString:$,ou=function(){function t(){}return function(e){return bo(e)?_i?_i(e):(t.prototype=e,e=new t,t.prototype=$,e):{}}}();n.templateSettings={escape:et,evaluate:nt,interpolate:rt,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=ou(r.prototype),o.prototype.constructor=o,k.prototype=ou(r.prototype),k.prototype.constructor=k,At.prototype.clear=function(){this.__data__=Ki?Ki(null):{},this.size=0},At.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},At.prototype.get=function(t){var e=this.__data__;return Ki?(t=e[t],"__lodash_hash_undefined__"===t?$:t):ai.call(e,t)?e[t]:$},At.prototype.has=function(t){var e=this.__data__;return Ki?e[t]!==$:ai.call(e,t)},At.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ki&&e===$?"__lodash_hash_undefined__":e,this},Et.prototype.clear=function(){this.__data__=[],this.size=0},Et.prototype.delete=function(t){var e=this.__data__;return!(0>(t=ue(e,t))||(t==e.length-1?e.pop():xi.call(e,t,1),--this.size,0))},Et.prototype.get=function(t){var e=this.__data__;return t=ue(e,t),0>t?$:e[t][1]},Et.prototype.has=function(t){return-1<ue(this.__data__,t)},Et.prototype.set=function(t,e){var n=this.__data__,r=ue(n,t);return 0>r?(++this.size,n.push([t,e])):n[r][1]=e,this},Bt.prototype.clear=function(){this.size=0,this.__data__={hash:new At,map:new(Ui||Et),string:new At}},Bt.prototype.delete=function(t){return t=_r(this,t).delete(t),this.size-=t?1:0,t},Bt.prototype.get=function(t){return _r(this,t).get(t)},Bt.prototype.has=function(t){return _r(this,t).has(t)},Bt.prototype.set=function(t,e){var n=_r(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Nt.prototype.add=Nt.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Nt.prototype.has=function(t){return this.__data__.has(t)},Ft.prototype.clear=function(){this.__data__=new Et,this.size=0},Ft.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},Ft.prototype.get=function(t){return this.__data__.get(t)},Ft.prototype.has=function(t){return this.__data__.has(t)},Ft.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Et){var r=n.__data__;if(!Ui||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Bt(r)}return n.set(t,e),this.size=n.size,this};var iu=Fn(we),uu=Fn(je,!0),au=qn(),cu=qn(!0),fu=Hi?function(t,e){return Hi.set(t,e),t}:Fo,su=ki?function(t,e){return ki(t,"toString",{configurable:!0,enumerable:!1,value:No(e),writable:!0})}:Fo,lu=Pi||function(t){return qt.clearTimeout(t)},pu=Gi&&1/N(new Gi([,-0]))[1]==G?function(t){return new Gi(t)}:$o,du=Hi?function(t){return Hi.get(t)}:$o,hu=Ii?function(t){return null==t?[]:(t=Qo(t),s(Ii(t),function(e){return mi.call(t,e)}))}:Vo,yu=Ii?function(t){for(var e=[];t;)h(e,hu(t)),t=bi(t);return e}:Vo,vu=Ae;(qi&&"[object DataView]"!=vu(new qi(new ArrayBuffer(1)))||Ui&&"[object Map]"!=vu(new Ui)||$i&&"[object Promise]"!=vu($i.resolve())||Gi&&"[object Set]"!=vu(new Gi)||Vi&&"[object WeakMap]"!=vu(new Vi))&&(vu=function(t){var e=Ae(t);if(t=(t="[object Object]"==e?t.constructor:$)?Dr(t):"")switch(t){case Yi:return"[object DataView]";case Ji:return"[object Map]";case Xi:return"[object Promise]";case Qi:return"[object Set]";case tu:return"[object WeakMap]"}return e});var gu=ii?yo:Ko,bu=Wr(fu),_u=Si||function(t,e){return qt.setTimeout(t,e)},mu=Wr(su),xu=function(t){t=co(t,function(t){return 500===e.size&&e.clear(),t});var e=t.cache;return t}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ut,function(t,n,r,o){e.push(r?o.replace(vt,"$1"):n||t)}),e}),wu=an(function(t,e){return po(t)?ge(t,xe(e,1,po,!0)):[]}),ju=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),br(n,2)):[]}),Ou=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),$,n):[]}),ku=an(function(t){var e=d(t,kn);return e.length&&e[0]===t[0]?Ie(e):[]}),Pu=an(function(t){var e=Vr(t),n=d(t,kn);return e===Vr(n)?e=$:n.pop(),n.length&&n[0]===t[0]?Ie(n,br(e,2)):[]}),Au=an(function(t){var e=Vr(t),n=d(t,kn);return(e="function"==typeof e?e:$)&&n.pop(),n.length&&n[0]===t[0]?Ie(n,$,e):[]}),Su=an(Kr),Tu=dr(function(t,e){var n=null==t?0:t.length,r=le(t,e);return rn(t,d(e,function(t){return Ar(t,n)?+t:t}).sort(zn)),r}),Eu=an(function(t){return _n(xe(t,1,po,!0))}),Iu=an(function(t){var e=Vr(t);return po(e)&&(e=$),_n(xe(t,1,po,!0),br(e,2))}),zu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return _n(xe(t,1,po,!0),$,e)}),Ru=an(function(t,e){return po(t)?ge(t,e):[]}),Cu=an(function(t){return jn(s(t,po))}),Mu=an(function(t){var e=Vr(t);return po(e)&&(e=$),jn(s(t,po),br(e,2))}),Wu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return jn(s(t,po),$,e)}),Bu=an(Zr),Lu=an(function(t){var e=t.length,e=1<e?t[e-1]:$,e="function"==typeof e?(t.pop(),e):$;return Yr(t,e)}),Du=dr(function(t){function e(e){return le(e,t)}var n=t.length,r=n?t[0]:0,i=this.__wrapped__;return!(1<n||this.__actions__.length)&&i instanceof k&&Ar(r)?(i=i.slice(r,+r+(n?1:0)),i.__actions__.push({func:Xr,args:[e],thisArg:$}),new o(i,this.__chain__).thru(function(t){return n&&!t.length&&t.push($),t})):this.thru(e)}),Nu=Dn(function(t,e,n){ai.call(t,n)?++t[n]:se(t,n,1)}),Fu=Hn(qr),qu=Hn(Ur),Uu=Dn(function(t,e,n){ai.call(t,n)?t[n].push(e):se(t,n,[e])}),$u=an(function(t,e,n){var r=-1,o="function"==typeof e,u=lo(t)?Ho(t.length):[];return iu(t,function(t){u[++r]=o?i(e,t,n):Re(t,e,n)}),u}),Gu=Dn(function(t,e,n){se(t,n,e)}),Vu=Dn(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Ku=an(function(t,e){if(null==t)return[];var n=e.length;return 1<n&&Sr(t,e[0],e[1])?e=[]:2<n&&Sr(e[0],e[1],e[2])&&(e=[e[0]]),Xe(t,xe(e,1),[])}),Hu=Ai||function(){return qt.Date.now()},Zu=an(function(t,e,n){var r=1;if(n.length)var o=D(n,gr(Zu)),r=32|r;return ar(t,r,e,n,o)}),Yu=an(function(t,e,n){var r=3;if(n.length)var o=D(n,gr(Yu)),r=32|r;return ar(e,r,t,n,o)}),Ju=an(function(t,e){return ve(t,1,e)}),Xu=an(function(t,e,n){return ve(t,So(e)||0,n)});co.Cache=Bt;var Qu=an(function(t,e){e=1==e.length&&ua(e[0])?d(e[0],I(br())):d(xe(e,1),I(br()));var n=e.length;return an(function(r){for(var o=-1,u=Bi(r.length,n);++o<u;)r[o]=e[o].call(this,r[o]);return i(t,this,r)})}),ta=an(function(t,e){return ar(t,32,$,e,D(e,gr(ta)))}),ea=an(function(t,e){return ar(t,64,$,e,D(e,gr(ea)))}),na=dr(function(t,e){return ar(t,256,$,$,$,e)}),ra=rr(Se),oa=rr(function(t,e){return t>=e}),ia=Ce(function(){return arguments}())?Ce:function(t){return _o(t)&&ai.call(t,"callee")&&!mi.call(t,"callee")},ua=Ho.isArray,aa=Ht?I(Ht):Me,ca=zi||Ko,fa=Zt?I(Zt):We,sa=Yt?I(Yt):Le,la=Jt?I(Jt):Fe,pa=Xt?I(Xt):qe,da=Qt?I(Qt):Ue,ha=rr(Ve),ya=rr(function(t,e){return t<=e}),va=Nn(function(t,e){if(Ir(e)||lo(e))Wn(e,Ro(e),t);else for(var n in e)ai.call(e,n)&&ie(t,n,e[n])}),ga=Nn(function(t,e){Wn(e,Co(e),t)}),ba=Nn(function(t,e,n,r){Wn(e,Co(e),t,r)}),_a=Nn(function(t,e,n,r){Wn(e,Ro(e),t,r)}),ma=dr(le),xa=an(function(t,e){t=Qo(t);var n=-1,r=e.length,o=2<r?e[2]:$;for(o&&Sr(e[0],e[1],o)&&(r=1);++n<r;)for(var o=e[n],i=Co(o),u=-1,a=i.length;++u<a;){var c=i[u],f=t[c];(f===$||so(f,oi[c])&&!ai.call(t,c))&&(t[c]=o[c])}return t}),wa=an(function(t){return t.push($,fr),i(Aa,$,t)}),ja=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),t[e]=n},No(Fo)),Oa=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),ai.call(t,e)?t[e].push(n):t[e]=[n]},br),ka=an(Re),Pa=Nn(function(t,e,n){Ye(t,e,n)}),Aa=Nn(function(t,e,n,r){Ye(t,e,n,r)}),Sa=dr(function(t,e){var n={};if(null==t)return n;var r=!1;e=d(e,function(e){return e=An(e,t),r||(r=1<e.length),e}),Wn(t,yr(t),n),r&&(n=de(n,7,sr));for(var o=e.length;o--;)mn(n,e[o]);return n}),Ta=dr(function(t,e){return null==t?{}:Qe(t,e)}),Ea=ur(Ro),Ia=ur(Co),za=Gn(function(t,e,n){return e=e.toLowerCase(),t+(n?Bo(e):e)}),Ra=Gn(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ca=Gn(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ma=$n("toLowerCase"),Wa=Gn(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Ba=Gn(function(t,e,n){return t+(n?" ":"")+Da(e)}),La=Gn(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Da=$n("toUpperCase"),Na=an(function(t,e){try{return i(t,$,e)}catch(t){return ho(t)?t:new Yo(t)}}),Fa=dr(function(t,e){return a(e,function(e){e=Lr(e),se(t,e,Zu(t[e],t))}),t}),qa=Zn(),Ua=Zn(!0),$a=an(function(t,e){return function(n){return Re(n,t,e)}}),Ga=an(function(t,e){return function(n){return Re(t,n,e)}}),Va=Qn(d),Ka=Qn(f),Ha=Qn(g),Za=nr(),Ya=nr(!0),Ja=Xn(function(t,e){return t+e},0),Xa=ir("ceil"),Qa=Xn(function(t,e){return t/e},1),tc=ir("floor"),ec=Xn(function(t,e){return t*e},1),nc=ir("round"),rc=Xn(function(t,e){return t-e},0);return n.after=function(t,e){if("function"!=typeof e)throw new ni("Expected a function");return t=Po(t),function(){if(1>--t)return e.apply(this,arguments)}},n.ary=ro,n.assign=va,n.assignIn=ga,n.assignInWith=ba,n.assignWith=_a,n.at=ma,n.before=oo,n.bind=Zu,n.bindAll=Fa,n.bindKey=Yu,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ua(t)?t:[t]},n.chain=Jr,n.chunk=function(t,e,n){if(e=(n?Sr(t,e,n):e===$)?1:Wi(Po(e),0),!(n=null==t?0:t.length)||1>e)return[];for(var r=0,o=0,i=Ho(Ti(n/e));r<n;)i[o++]=pn(t,r,r+=e);return i},n.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=Ho(t-1),n=arguments[0];t--;)e[t-1]=arguments[t];return h(ua(n)?Mn(n):[n],xe(e,1))},n.cond=function(t){var e=null==t?0:t.length,n=br();return t=e?d(t,function(t){if("function"!=typeof t[1])throw new ni("Expected a function");return[n(t[0]),t[1]]}):[],an(function(n){for(var r=-1;++r<e;){var o=t[r];if(i(o[0],this,n))return i(o[1],this,n)}})},n.conforms=function(t){return he(de(t,1))},n.constant=No,n.countBy=Nu,n.create=function(t,e){var n=ou(t);return null==e?n:ce(n,e)},n.curry=io,n.curryRight=uo,n.debounce=ao,n.defaults=xa,n.defaultsDeep=wa,n.defer=Ju,n.delay=Xu,n.difference=wu,n.differenceBy=ju,n.differenceWith=Ou,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Po(e),pn(t,0>e?0:e,r)):[]},n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Po(e),e=r-e,pn(t,0,0>e?0:e)):[]},n.dropRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0):[]},n.fill=function(t,e,n,r){var o=null==t?0:t.length;if(!o)return[];for(n&&"number"!=typeof n&&Sr(t,e,n)&&(n=0,r=o),o=t.length,n=Po(n),0>n&&(n=-n>o?0:o+n),r=r===$||r>o?o:Po(r),0>r&&(r+=o),r=n>r?0:Ao(r);n<r;)t[n++]=e;return t},n.filter=function(t,e){return(ua(t)?s:me)(t,br(e,3))},n.flatMap=function(t,e){return xe(no(t,e),1)},n.flatMapDeep=function(t,e){return xe(no(t,e),G)},n.flatMapDepth=function(t,e,n){return n=n===$?1:Po(n),xe(no(t,e),n)},n.flatten=$r,n.flattenDeep=function(t){return(null==t?0:t.length)?xe(t,G):[]},n.flattenDepth=function(t,e){return null!=t&&t.length?(e=e===$?1:Po(e),xe(t,e)):[]},n.flip=function(t){return ar(t,512)},n.flow=qa,n.flowRight=Ua,n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},n.functions=function(t){return null==t?[]:Oe(t,Ro(t))},n.functionsIn=function(t){return null==t?[]:Oe(t,Co(t))},n.groupBy=Uu,n.initial=function(t){return(null==t?0:t.length)?pn(t,0,-1):[]},n.intersection=ku,n.intersectionBy=Pu,n.intersectionWith=Au,n.invert=ja,n.invertBy=Oa,n.invokeMap=$u,n.iteratee=qo,n.keyBy=Gu,n.keys=Ro,n.keysIn=Co,n.map=no,n.mapKeys=function(t,e){var n={};return e=br(e,3),we(t,function(t,r,o){se(n,e(t,r,o),t)}),n},n.mapValues=function(t,e){var n={};return e=br(e,3),we(t,function(t,r,o){se(n,r,e(t,r,o))}),n},n.matches=function(t){return He(de(t,1))},n.matchesProperty=function(t,e){return Ze(t,de(e,1))},n.memoize=co,n.merge=Pa,n.mergeWith=Aa,n.method=$a,n.methodOf=Ga,n.mixin=Uo,n.negate=fo,n.nthArg=function(t){return t=Po(t),an(function(e){return Je(e,t)})},n.omit=Sa,n.omitBy=function(t,e){return Mo(t,fo(br(e)))},n.once=function(t){return oo(2,t)},n.orderBy=function(t,e,n,r){return null==t?[]:(ua(e)||(e=null==e?[]:[e]),n=r?$:n,ua(n)||(n=null==n?[]:[n]),Xe(t,e,n))},n.over=Va,n.overArgs=Qu,n.overEvery=Ka,n.overSome=Ha,n.partial=ta,n.partialRight=ea,n.partition=Vu,n.pick=Ta,n.pickBy=Mo,n.property=Go,n.propertyOf=function(t){return function(e){return null==t?$:ke(t,e)}},n.pull=Su,n.pullAll=Kr,n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?nn(t,e,br(n,2)):t},n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?nn(t,e,$,n):t},n.pullAt=Tu,n.range=Za,n.rangeRight=Ya,n.rearg=na,n.reject=function(t,e){return(ua(t)?s:me)(t,fo(br(e,3)))},n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=br(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return rn(t,o),n},n.rest=function(t,e){if("function"!=typeof t)throw new ni("Expected a function");return e=e===$?e:Po(e),an(t,e)},n.reverse=Hr,n.sampleSize=function(t,e,n){return e=(n?Sr(t,e,n):e===$)?1:Po(e),(ua(t)?Vt:fn)(t,e)},n.set=function(t,e,n){return null==t?t:sn(t,e,n)},n.setWith=function(t,e,n,r){return r="function"==typeof r?r:$,null==t?t:sn(t,e,n,r)},n.shuffle=function(t){return(ua(t)?Kt:ln)(t)},n.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Sr(t,e,n)?(e=0,n=r):(e=null==e?0:Po(e),n=n===$?r:Po(n)),pn(t,e,n)):[]},n.sortBy=Ku,n.sortedUniq=function(t){return t&&t.length?vn(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?vn(t,br(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&Sr(t,e,n)&&(e=n=$),n=n===$?4294967295:n>>>0,n?(t=Eo(t))&&("string"==typeof e||null!=e&&!la(e))&&!(e=bn(e))&&zt.test(t)?Sn(U(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new ni("Expected a function");return e=null==e?0:Wi(Po(e),0),an(function(n){var r=n[e];return n=Sn(n,0,e),r&&h(n,r),i(t,this,n)})},n.tail=function(t){var e=null==t?0:t.length;return e?pn(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?(e=n||e===$?1:Po(e),pn(t,0,0>e?0:e)):[]},n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Po(e),e=r-e,pn(t,0>e?0:e,r)):[]},n.takeRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?xn(t,br(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new ni("Expected a function");return bo(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ao(t,e,{leading:r,maxWait:e,trailing:o})},n.thru=Xr,n.toArray=Oo,n.toPairs=Ea,n.toPairsIn=Ia,n.toPath=function(t){return ua(t)?d(t,Lr):jo(t)?[t]:Mn(xu(Eo(t)))},n.toPlainObject=To,n.transform=function(t,e,n){var r=ua(t),o=r||ca(t)||da(t);if(e=br(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:bo(t)&&yo(i)?ou(bi(t)):{}}return(o?a:we)(t,function(t,r,o){return e(n,t,r,o)}),n},n.unary=function(t){return ro(t,1)},n.union=Eu,n.unionBy=Iu,n.unionWith=zu,n.uniq=function(t){return t&&t.length?_n(t):[]},n.uniqBy=function(t,e){return t&&t.length?_n(t,br(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:$,t&&t.length?_n(t,$,e):[]},n.unset=function(t,e){return null==t||mn(t,e)},n.unzip=Zr,n.unzipWith=Yr,n.update=function(t,e,n){return null==t?t:sn(t,e,Pn(n)(ke(t,e)),void 0)},n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:$,null!=t&&(t=sn(t,e,Pn(n)(ke(t,e)),r)),t},n.values=Wo,n.valuesIn=function(t){return null==t?[]:z(t,Co(t))},n.without=Ru,n.words=Do,n.wrap=function(t,e){return ta(Pn(e),t)},n.xor=Cu,n.xorBy=Mu,n.xorWith=Wu,n.zip=Bu,n.zipObject=function(t,e){return On(t||[],e||[],ie)},n.zipObjectDeep=function(t,e){return On(t||[],e||[],sn)},n.zipWith=Lu,n.entries=Ea,n.entriesIn=Ia,n.extend=ga,n.extendWith=ba,Uo(n,n),n.add=Ja,n.attempt=Na,n.camelCase=za,n.capitalize=Bo,n.ceil=Xa,n.clamp=function(t,e,n){return n===$&&(n=e,e=$),n!==$&&(n=So(n),n=n===n?n:0),e!==$&&(e=So(e),e=e===e?e:0),pe(So(t),e,n)},n.clone=function(t){return de(t,4)},n.cloneDeep=function(t){return de(t,5)},n.cloneDeepWith=function(t,e){return e="function"==typeof e?e:$,de(t,5,e)},n.cloneWith=function(t,e){return e="function"==typeof e?e:$,de(t,4,e)},n.conformsTo=function(t,e){return null==e||ye(t,e,Ro(e))},n.deburr=Lo,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Qa,n.endsWith=function(t,e,n){t=Eo(t),e=bn(e);var r=t.length,r=n=n===$?r:pe(Po(n),0,r);return 0<=(n-=e.length)&&t.slice(n,r)==e},n.eq=so,n.escape=function(t){return(t=Eo(t))&&tt.test(t)?t.replace(X,ne):t},n.escapeRegExp=function(t){return(t=Eo(t))&&ct.test(t)?t.replace(at,"\\$&"):t},n.every=function(t,e,n){var r=ua(t)?f:be;return n&&Sr(t,e,n)&&(e=$),r(t,br(e,3))},n.find=Fu,n.findIndex=qr,n.findKey=function(t,e){return b(t,br(e,3),we)},n.findLast=qu,n.findLastIndex=Ur,n.findLastKey=function(t,e){return b(t,br(e,3),je)},n.floor=tc,n.forEach=to,n.forEachRight=eo,n.forIn=function(t,e){return null==t?t:au(t,br(e,3),Co)},n.forInRight=function(t,e){return null==t?t:cu(t,br(e,3),Co)},n.forOwn=function(t,e){return t&&we(t,br(e,3))},n.forOwnRight=function(t,e){return t&&je(t,br(e,3))},n.get=Io,n.gt=ra,n.gte=oa,n.has=function(t,e){return null!=t&&wr(t,e,Te)},n.hasIn=zo,n.head=Gr,n.identity=Fo,n.includes=function(t,e,n,r){return t=lo(t)?t:Wo(t),n=n&&!r?Po(n):0,r=t.length,0>n&&(n=Wi(r+n,0)),wo(t)?n<=r&&-1<t.indexOf(e,n):!!r&&-1<m(t,e,n)},n.indexOf=function(t,e,n){var r=null==t?0:t.length;return r?(n=null==n?0:Po(n),0>n&&(n=Wi(r+n,0)),m(t,e,n)):-1},n.inRange=function(t,e,n){return e=ko(e),n===$?(n=e,e=0):n=ko(n),(t=So(t))>=Bi(e,n)&&t<Wi(e,n)},n.invoke=ka,n.isArguments=ia,n.isArray=ua,n.isArrayBuffer=aa,n.isArrayLike=lo,n.isArrayLikeObject=po,n.isBoolean=function(t){return!0===t||!1===t||_o(t)&&"[object Boolean]"==Ae(t)},n.isBuffer=ca,n.isDate=fa,n.isElement=function(t){return _o(t)&&1===t.nodeType&&!xo(t)},n.isEmpty=function(t){if(null==t)return!0;if(lo(t)&&(ua(t)||"string"==typeof t||"function"==typeof t.splice||ca(t)||da(t)||ia(t)))return!t.length;var e=vu(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(Ir(t))return!Ge(t).length;for(var n in t)if(ai.call(t,n))return!1;return!0},n.isEqual=function(t,e){return Be(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:$)?n(t,e):$;return r===$?Be(t,e,$,n):!!r},n.isError=ho,n.isFinite=function(t){return"number"==typeof t&&Ri(t)},n.isFunction=yo,n.isInteger=vo,n.isLength=go,n.isMap=sa,n.isMatch=function(t,e){return t===e||De(t,e,mr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:$,De(t,e,mr(e),n)},n.isNaN=function(t){return mo(t)&&t!=+t},n.isNative=function(t){if(gu(t))throw new Yo("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ne(t)},n.isNil=function(t){return null==t},n.isNull=function(t){return null===t},n.isNumber=mo,n.isObject=bo,n.isObjectLike=_o,n.isPlainObject=xo,n.isRegExp=la,n.isSafeInteger=function(t){return vo(t)&&-9007199254740991<=t&&9007199254740991>=t},n.isSet=pa,n.isString=wo,n.isSymbol=jo,n.isTypedArray=da,n.isUndefined=function(t){return t===$},n.isWeakMap=function(t){return _o(t)&&"[object WeakMap]"==vu(t)},n.isWeakSet=function(t){return _o(t)&&"[object WeakSet]"==Ae(t)},n.join=function(t,e){return null==t?"":Ci.call(t,e)},n.kebabCase=Ra,n.last=Vr,n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;if(n!==$&&(o=Po(n),o=0>o?Wi(r+o,0):Bi(o,r-1)),e===e){for(n=o+1;n--&&t[n]!==e;);t=n}else t=_(t,w,o,!0);return t},n.lowerCase=Ca,n.lowerFirst=Ma,n.lt=ha,n.lte=ya,n.max=function(t){return t&&t.length?_e(t,Fo,Se):$},n.maxBy=function(t,e){return t&&t.length?_e(t,br(e,2),Se):$},n.mean=function(t){return j(t,Fo)},n.meanBy=function(t,e){return j(t,br(e,2))},n.min=function(t){return t&&t.length?_e(t,Fo,Ve):$},n.minBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ve):$},n.stubArray=Vo,n.stubFalse=Ko,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=ec,n.nth=function(t,e){return t&&t.length?Je(t,Po(e)):$},n.noConflict=function(){return qt._===this&&(qt._=pi),this},n.noop=$o,n.now=Hu,n.pad=function(t,e,n){t=Eo(t);var r=(e=Po(e))?q(t):0;return!e||r>=e?t:(e=(e-r)/2,tr(Ei(e),n)+t+tr(Ti(e),n))},n.padEnd=function(t,e,n){t=Eo(t);var r=(e=Po(e))?q(t):0;return e&&r<e?t+tr(e-r,n):t},n.padStart=function(t,e,n){t=Eo(t);var r=(e=Po(e))?q(t):0;return e&&r<e?tr(e-r,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Di(Eo(t).replace(st,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Sr(t,e,n)&&(e=n=$),n===$&&("boolean"==typeof e?(n=e,e=$):"boolean"==typeof t&&(n=t,t=$)),t===$&&e===$?(t=0,e=1):(t=ko(t),e===$?(e=t,t=0):e=ko(e)),t>e){var r=t;t=e,e=r}return n||t%1||e%1?(n=Ni(),Bi(t+n*(e-t+Lt("1e-"+((n+"").length-1))),e)):on(t,e)},n.reduce=function(t,e,n){var r=ua(t)?y:P,o=3>arguments.length;return r(t,br(e,4),n,o,iu)},n.reduceRight=function(t,e,n){var r=ua(t)?v:P,o=3>arguments.length;return r(t,br(e,4),n,o,uu)},n.repeat=function(t,e,n){return e=(n?Sr(t,e,n):e===$)?1:Po(e),un(Eo(t),e)},n.replace=function(){var t=arguments,e=Eo(t[0]);return 3>t.length?e:e.replace(t[1],t[2])},n.result=function(t,e,n){e=An(e,t);var r=-1,o=e.length;for(o||(o=1,t=$);++r<o;){var i=null==t?$:t[Lr(e[r])];i===$&&(r=o,i=n),t=yo(i)?i.call(t):i}return t},n.round=nc,n.runInContext=t,n.sample=function(t){return(ua(t)?$t:cn)(t)},n.size=function(t){if(null==t)return 0;if(lo(t))return wo(t)?q(t):t.length;var e=vu(t);return"[object Map]"==e||"[object Set]"==e?t.size:Ge(t).length},n.snakeCase=Wa,n.some=function(t,e,n){var r=ua(t)?g:dn;return n&&Sr(t,e,n)&&(e=$),r(t,br(e,3))},n.sortedIndex=function(t,e){return hn(t,e)},n.sortedIndexBy=function(t,e,n){return yn(t,e,br(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=hn(t,e);if(r<n&&so(t[r],e))return r}return-1},n.sortedLastIndex=function(t,e){return hn(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return yn(t,e,br(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=hn(t,e,!0)-1;if(so(t[n],e))return n}return-1},n.startCase=Ba,n.startsWith=function(t,e,n){return t=Eo(t),n=null==n?0:pe(Po(n),0,t.length),e=bn(e),t.slice(n,n+e.length)==e},n.subtract=rc,n.sum=function(t){return t&&t.length?S(t,Fo):0},n.sumBy=function(t,e){return t&&t.length?S(t,br(e,2)):0},n.template=function(t,e,r){var o=n.templateSettings;r&&Sr(t,e,r)&&(e=$),t=Eo(t),e=ba({},e,o,cr),r=ba({},e.imports,o.imports,cr);var i,u,a=Ro(r),c=z(r,a),f=0;r=e.interpolate||kt;var s="__p+='";r=ti((e.escape||kt).source+"|"+r.source+"|"+(r===rt?gt:kt).source+"|"+(e.evaluate||kt).source+"|$","g");var l=ai.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";if(t.replace(r,function(e,n,r,o,a,c){return r||(r=o),s+=t.slice(f,c).replace(Pt,W),n&&(i=!0,s+="'+__e("+n+")+'"),a&&(u=!0,s+="';"+a+";\n__p+='"),r&&(s+="'+((__t=("+r+"))==null?'':__t)+'"),f=c+e.length,e}),s+="';",(e=ai.call(e,"variable")&&e.variable)||(s="with(obj){"+s+"}"),s=(u?s.replace(H,""):s).replace(Z,"$1").replace(Y,"$1;"),s="function("+(e||"obj")+"){"+(e?"":"obj||(obj={});")+"var __t,__p=''"+(i?",__e=_.escape":"")+(u?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+s+"return __p}",e=Na(function(){return Jo(a,l+"return "+s).apply($,c)}),e.source=s,ho(e))throw e;return e},n.times=function(t,e){if(1>(t=Po(t))||9007199254740991<t)return[];var n=4294967295,r=Bi(t,4294967295);for(e=br(e),t-=4294967295,r=T(r,e);++n<t;)e(n);return r},n.toFinite=ko,n.toInteger=Po,n.toLength=Ao,n.toLower=function(t){return Eo(t).toLowerCase()},n.toNumber=So,n.toSafeInteger=function(t){return t?pe(Po(t),-9007199254740991,9007199254740991):0===t?t:0},n.toString=Eo,n.toUpper=function(t){return Eo(t).toUpperCase()},n.trim=function(t,e,n){return(t=Eo(t))&&(n||e===$)?t.replace(ft,""):t&&(e=bn(e))?(t=U(t),n=U(e),e=C(t,n),n=M(t,n)+1,Sn(t,e,n).join("")):t},n.trimEnd=function(t,e,n){return(t=Eo(t))&&(n||e===$)?t.replace(lt,""):t&&(e=bn(e))?(t=U(t),e=M(t,U(e))+1,Sn(t,0,e).join("")):t},n.trimStart=function(t,e,n){return(t=Eo(t))&&(n||e===$)?t.replace(st,""):t&&(e=bn(e))?(t=U(t),e=C(t,U(e)),Sn(t,e).join("")):t},n.truncate=function(t,e){var n=30,r="...";if(bo(e))var o="separator"in e?e.separator:o,n="length"in e?Po(e.length):n,r="omission"in e?bn(e.omission):r;t=Eo(t);var i=t.length;if(zt.test(t))var u=U(t),i=u.length;if(n>=i)return t;if(1>(i=n-q(r)))return r;if(n=u?Sn(u,0,i).join(""):t.slice(0,i),o===$)return n+r;if(u&&(i+=n.length-i),la(o)){if(t.slice(i).search(o)){var a=n;for(o.global||(o=ti(o.source,Eo(bt.exec(o))+"g")),o.lastIndex=0;u=o.exec(a);)var c=u.index;n=n.slice(0,c===$?i:c)}}else t.indexOf(bn(o),i)!=i&&-1<(o=n.lastIndexOf(o))&&(n=n.slice(0,o));return n+r},n.unescape=function(t){return(t=Eo(t))&&Q.test(t)?t.replace(J,re):t},n.uniqueId=function(t){var e=++ci;return Eo(t)+e},n.upperCase=La,n.upperFirst=Da,n.each=to,n.eachRight=eo,n.first=Gr,Uo(n,function(){var t={};return we(n,function(e,r){ai.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.15",a("bind bindKey curry curryRight partial partialRight".split(" "),function(t){n[t].placeholder=n}),a(["drop","take"],function(t,e){k.prototype[t]=function(n){n=n===$?1:Wi(Po(n),0);var r=this.__filtered__&&!e?new k(this):this.clone();return r.__filtered__?r.__takeCount__=Bi(n,r.__takeCount__):r.__views__.push({size:Bi(n,4294967295),type:t+(0>r.__dir__?"Right":"")}),r},k.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;k.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:br(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");k.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");k.prototype[t]=function(){return this.__filtered__?new k(this):this[n](1)}}),k.prototype.compact=function(){return this.filter(Fo)},k.prototype.find=function(t){return this.filter(t).head()},k.prototype.findLast=function(t){return this.reverse().find(t)},k.prototype.invokeMap=an(function(t,e){return"function"==typeof t?new k(this):this.map(function(n){return Re(n,t,e)})}),k.prototype.reject=function(t){return this.filter(fo(br(t)))},k.prototype.slice=function(t,e){t=Po(t);var n=this;return n.__filtered__&&(0<t||0>e)?new k(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==$&&(e=Po(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},k.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},k.prototype.toArray=function(){return this.take(4294967295)},we(k.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),u=n[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);u&&(n.prototype[e]=function(){function e(t){return t=u.apply(n,h([t],f)),i&&d?t[0]:t}var c=this.__wrapped__,f=i?[1]:arguments,s=c instanceof k,l=f[0],p=s||ua(c);p&&r&&"function"==typeof l&&1!=l.length&&(s=p=!1);var d=this.__chain__,y=!!this.__actions__.length,l=a&&!d,s=s&&!y;return!a&&p?(c=s?c:new k(this),c=t.apply(c,f),c.__actions__.push({func:Xr,args:[e],thisArg:$}),new o(c,d)):l&&s?t.apply(this,f):(c=this.thru(e),l?i?c.value()[0]:c.value():c)})}),a("pop push shift sort splice unshift".split(" "),function(t){var e=ri[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(o&&!this.__chain__){var n=this.value();return e.apply(ua(n)?n:[],t)}return this[r](function(n){return e.apply(ua(n)?n:[],t)})}}),we(k.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";ai.call(Zi,o)||(Zi[o]=[]),Zi[o].push({name:e,func:r})}}),Zi[Yn($,2).name]=[{name:"wrapper",func:$}],k.prototype.clone=function(){var t=new k(this.__wrapped__);return t.__actions__=Mn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Mn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Mn(this.__views__),t},k.prototype.reverse=function(){if(this.__filtered__){var t=new k(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t},k.prototype.value=function(){var t,e=this.__wrapped__.value(),n=this.__dir__,r=ua(e),o=0>n,i=r?e.length:0;t=i;for(var u=this.__views__,a=0,c=-1,f=u.length;++c<f;){var s=u[c],l=s.size;switch(s.type){case"drop":a+=l;break;case"dropRight":t-=l;break;case"take":t=Bi(t,a+l);break;case"takeRight":a=Wi(a,t-l)}}if(t={start:a,end:t},u=t.start,a=t.end,t=a-u,u=o?a:u-1,a=this.__iteratees__,c=a.length,f=0,s=Bi(t,this.__takeCount__),!r||!o&&i==t&&s==t)return wn(e,this.__actions__);r=[];t:for(;t--&&f<s;){for(u+=n,o=-1,i=e[u];++o<c;){var p=a[o],l=p.type,p=(0,p.iteratee)(i);if(2==l)i=p;else if(!p){if(1==l)continue t;break t}}r[f++]=i}return r},n.prototype.at=Du,n.prototype.chain=function(){return Jr(this)},n.prototype.commit=function(){return new o(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===$&&(this.__values__=Oo(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?$:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof r;){var o=Fr(n);o.__index__=0,o.__values__=$,e?i.__wrapped__=o:e=o;var i=o,n=n.__wrapped__}return i.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;return t instanceof k?(this.__actions__.length&&(t=new k(this)),t=t.reverse(),t.__actions__.push({func:Xr,args:[Hr],thisArg:$}),new o(t,this.__chain__)):this.thru(Hr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return wn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,ji&&(n.prototype[ji]=Qr),n}();qt._=oe,void 0!==(o=function(){return oe}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(43),n(12)(t))},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(P.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return S||P.curry&&n>1?W(e,n):e}function y(t,e,n){if(P.fixed&&(T||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function v(t,e,n){return P.rearg&&n>1&&(E||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=M(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||N(c)||D(c)||F(c)||(u[a]=M(n==o?c:Object(c))),u=u[a]}return i}function b(t){return H.runInContext.convert(t)(void 0)}function _(t,e){var n=s.aliasToReal[t]||t,r=s.remap[n]||n,o=p;return function(t){var i=O?I:z,u=O?I[r]:e,a=C(C({},o),t);return f(i,n,u,a)}}function m(t,e){return w(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return w(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function w(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=P.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function j(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):P.immutable&&(s.mutate.array[o]?a=c(e,i):s.mutate.object[o]?a=c(e,u(e)):s.mutate.set[o]&&(a=c(e,g))),B(V,function(t){return B(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?y(o,v(o,a,t),t):v(o,y(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=S?W(r,1):function(){return e.apply(this,arguments)}),r.convert=_(o,e),r.placeholder=e.placeholder=n,r}var O="function"==typeof e,k=e===Object(e);if(k&&(p=n,n=e,e=void 0),null==n)throw new TypeError;p||(p={});var P={cap:!("cap"in p)||p.cap,curry:!("curry"in p)||p.curry,fixed:!("fixed"in p)||p.fixed,immutable:!("immutable"in p)||p.immutable,rearg:!("rearg"in p)||p.rearg},A=O?n:l,S="curry"in p&&p.curry,T="fixed"in p&&p.fixed,E="rearg"in p&&p.rearg,I=O?n.runInContext():void 0,z=O?n:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},R=z.ary,C=z.assign,M=z.clone,W=z.curry,B=z.forEach,L=z.isArray,D=z.isError,N=z.isFunction,F=z.isWeakMap,q=z.keys,U=z.rearg,$=z.toInteger,G=z.toPath,V=q(s.aryMethod),K={castArray:function(t){return function(){var e=arguments[0];return L(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return P.cap&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:o(r,n)):r}},mixin:function(t){return function(e){var n=this;if(!N(n))return t(n,Object(e));var r=[];return B(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),B(r,function(t){var e=t[1];N(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]}),n}},nthArg:function(t){return function(e){var n=e<0?1:$(e)+1;return W(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return W(t(e,n),r)}},runInContext:function(e){return function(n){return f(t,e(n),p)}}};if(!k)return j(e,n,A);var H=n,Z=[];return B(V,function(t){B(s.aryMethod[t],function(t){var e=H[s.remap[t]||t];e&&Z.push([t,j(t,e,H)])})}),B(q(H),function(t){var e=H[t];if("function"==typeof e){for(var n=Z.length;n--;)if(Z[n][0]==t)return;e.convert=_(t,e),Z.push([t,e])}}),B(Z,function(t){H[t[0]]=t[1]}),H.convert=b,H.placeholder=H,B(q(H),function(t){B(s.realToAlias[t]||[],function(e){H[e]=H[t]})}),H}var s=n(448),l=n(449),p=Array.prototype.push;t.exports=f},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var i=n[o];t.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(t,e){t.exports={}},function(t,e){t.exports={create:function(t,e){return Morph.createContainerWithCaller("bbc-morph-bitesize-header-view@8.69.0",t,e)}}},function(t,e,n){var r=n(452).runInContext();t.exports=n(453)(r,r)},function(t,e,n){(function(t,r){var o;(function(){function i(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 o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}function a(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function c(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function f(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 s(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}function l(t,e){return!!(null==t?0:t.length)&&w(t,e,0)>-1}function p(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function d(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function h(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function y(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function v(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function g(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 b(t){return t.split("")}function _(t){return t.match(Le)||[]}function m(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function x(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function w(t,e,n){return e===e?Z(t,e,n):x(t,O,n)}function j(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function O(t){return t!==t}function k(t,e){var n=null==t?0:t.length;return n?E(t,e)/n:Rt}function P(t){return function(e){return null==e?nt:e[t]}}function A(t){return function(e){return null==t?nt:t[e]}}function S(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function T(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function E(t,e){for(var n,r=-1,o=t.length;++r<o;){var i=e(t[r]);i!==nt&&(n=n===nt?i:n+i)}return n}function I(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function z(t,e){return d(e,function(e){return[e,t[e]]})}function R(t){return function(e){return t(e)}}function C(t,e){return d(e,function(e){return t[e]})}function M(t,e){return t.has(e)}function W(t,e){for(var n=-1,r=t.length;++n<r&&w(e,t[n],0)>-1;);return n}function B(t,e){for(var n=t.length;n--&&w(e,t[n],0)>-1;);return n}function L(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function D(t){return"\\"+Bn[t]}function N(t,e){return null==t?nt:t[e]}function F(t){return Sn.test(t)}function q(t){return Tn.test(t)}function U(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function $(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function G(t,e){return function(n){return t(e(n))}}function V(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n];u!==e&&u!==ct||(t[n]=ct,i[o++]=n)}return i}function K(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function H(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Z(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function Y(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function J(t){return F(t)?Q(t):tr(t)}function X(t){return F(t)?tt(t):b(t)}function Q(t){for(var e=Pn.lastIndex=0;Pn.test(t);)++e;return e}function tt(t){return t.match(Pn)||[]}function et(t){return t.match(An)||[]}var nt,rt=200,ot="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",it="Expected a function",ut="__lodash_hash_undefined__",at=500,ct="__lodash_placeholder__",ft=1,st=2,lt=4,pt=1,dt=2,ht=1,yt=2,vt=4,gt=8,bt=16,_t=32,mt=64,xt=128,wt=256,jt=512,Ot=30,kt="...",Pt=800,At=16,St=1,Tt=2,Et=1/0,It=9007199254740991,zt=1.7976931348623157e308,Rt=NaN,Ct=4294967295,Mt=Ct-1,Wt=Ct>>>1,Bt=[["ary",xt],["bind",ht],["bindKey",yt],["curry",gt],["curryRight",bt],["flip",jt],["partial",_t],["partialRight",mt],["rearg",wt]],Lt="[object Arguments]",Dt="[object Array]",Nt="[object AsyncFunction]",Ft="[object Boolean]",qt="[object Date]",Ut="[object DOMException]",$t="[object Error]",Gt="[object Function]",Vt="[object GeneratorFunction]",Kt="[object Map]",Ht="[object Number]",Zt="[object Null]",Yt="[object Object]",Jt="[object Promise]",Xt="[object Proxy]",Qt="[object RegExp]",te="[object Set]",ee="[object String]",ne="[object Symbol]",re="[object Undefined]",oe="[object WeakMap]",ie="[object WeakSet]",ue="[object ArrayBuffer]",ae="[object DataView]",ce="[object Float32Array]",fe="[object Float64Array]",se="[object Int8Array]",le="[object Int16Array]",pe="[object Int32Array]",de="[object Uint8Array]",he="[object Uint8ClampedArray]",ye="[object Uint16Array]",ve="[object Uint32Array]",ge=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,me=/&(?:amp|lt|gt|quot|#39);/g,xe=/[&<>"']/g,we=RegExp(me.source),je=RegExp(xe.source),Oe=/<%-([\s\S]+?)%>/g,ke=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Se=/^\w*$/,Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Ee.source),ze=/^\s+|\s+$/g,Re=/^\s+/,Ce=/\s+$/,Me=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,We=/\{\n\/\* \[wrapped with (.+)\] \*/,Be=/,? & /,Le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,De=/\\(\\)?/g,Ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fe=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,$e=/^\[object .+?Constructor\]$/,Ge=/^0o[0-7]+$/i,Ve=/^(?:0|[1-9]\d*)$/,Ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=/($^)/,Ze=/['\n\r\u2028\u2029\\]/g,Ye="\\ud800-\\udfff",Je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Xe="\\u2700-\\u27bf",Qe="a-z\\xdf-\\xf6\\xf8-\\xff",tn="A-Z\\xc0-\\xd6\\xd8-\\xde",en="\\ufe0e\\ufe0f",nn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",rn="['’]",on="["+nn+"]",un="["+Je+"]",an="["+Qe+"]",cn="[^"+Ye+nn+"\\d+"+Xe+Qe+tn+"]",fn="\\ud83c[\\udffb-\\udfff]",sn="[^"+Ye+"]",ln="(?:\\ud83c[\\udde6-\\uddff]){2}",pn="[\\ud800-\\udbff][\\udc00-\\udfff]",dn="["+tn+"]",hn="\\u200d",yn="(?:"+an+"|"+cn+")",vn="(?:['’](?:d|ll|m|re|s|t|ve))?",gn="(?:['’](?:D|LL|M|RE|S|T|VE))?",bn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_n="["+en+"]?",mn="(?:"+hn+"(?:"+[sn,ln,pn].join("|")+")"+_n+bn+")*",xn=_n+bn+mn,wn="(?:"+["[\\u2700-\\u27bf]",ln,pn].join("|")+")"+xn,jn="(?:"+[sn+un+"?",un,ln,pn,"[\\ud800-\\udfff]"].join("|")+")",On=RegExp(rn,"g"),kn=RegExp(un,"g"),Pn=RegExp(fn+"(?="+fn+")|"+jn+xn,"g"),An=RegExp([dn+"?"+an+"+"+vn+"(?="+[on,dn,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+"+gn+"(?="+[on,dn+yn,"$"].join("|")+")",dn+"?"+yn+"+"+vn,dn+"+"+gn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",wn].join("|"),"g"),Sn=RegExp("["+hn+Ye+Je+en+"]"),Tn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,En=["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"],In=-1,zn={};zn[ce]=zn[fe]=zn[se]=zn[le]=zn[pe]=zn[de]=zn[he]=zn[ye]=zn[ve]=!0,zn[Lt]=zn[Dt]=zn[ue]=zn[Ft]=zn[ae]=zn[qt]=zn[$t]=zn[Gt]=zn[Kt]=zn[Ht]=zn[Yt]=zn[Qt]=zn[te]=zn[ee]=zn[oe]=!1;var Rn={};Rn[Lt]=Rn[Dt]=Rn[ue]=Rn[ae]=Rn[Ft]=Rn[qt]=Rn[ce]=Rn[fe]=Rn[se]=Rn[le]=Rn[pe]=Rn[Kt]=Rn[Ht]=Rn[Yt]=Rn[Qt]=Rn[te]=Rn[ee]=Rn[ne]=Rn[de]=Rn[he]=Rn[ye]=Rn[ve]=!0,Rn[$t]=Rn[Gt]=Rn[oe]=!1;var Cn={"À":"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","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Mn={"&":"&","<":"<",">":">",'"':""","'":"'"},Wn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Bn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ln=parseFloat,Dn=parseInt,Nn="object"==typeof t&&t&&t.Object===Object&&t,Fn="object"==typeof self&&self&&self.Object===Object&&self,qn=Nn||Fn||Function("return this")(),Un="object"==typeof e&&e&&!e.nodeType&&e,$n=Un&&"object"==typeof r&&r&&!r.nodeType&&r,Gn=$n&&$n.exports===Un,Vn=Gn&&Nn.process,Kn=function(){try{var t=$n&&$n.require&&$n.require("util").types;return t||Vn&&Vn.binding&&Vn.binding("util")}catch(t){}}(),Hn=Kn&&Kn.isArrayBuffer,Zn=Kn&&Kn.isDate,Yn=Kn&&Kn.isMap,Jn=Kn&&Kn.isRegExp,Xn=Kn&&Kn.isSet,Qn=Kn&&Kn.isTypedArray,tr=P("length"),er=A(Cn),nr=A(Mn),rr=A(Wn),or=function t(e){function n(t){if(nc(t)&&!hp(t)&&!(t instanceof b)){if(t instanceof o)return t;if(hs.call(t,"__wrapped__"))return Qi(t)}return new o(t)}function r(){}function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=nt}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ct,this.__views__=[]}function A(){var t=new b(this.__wrapped__);return t.__actions__=Co(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Co(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Co(this.__views__),t}function Z(){if(this.__filtered__){var t=new b(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Q(){var t=this.__wrapped__.value(),e=this.__dir__,n=hp(t),r=e<0,o=n?t.length:0,i=ji(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=r?a:u-1,s=this.__iteratees__,l=s.length,p=0,d=$s(c,this.__takeCount__);if(!n||!r&&o==c&&d==c)return go(t,this.__actions__);var h=[];t:for(;c--&&p<d;){f+=e;for(var y=-1,v=t[f];++y<l;){var g=s[y],b=g.iteratee,_=g.type,m=b(v);if(_==Tt)v=m;else if(!m){if(_==St)continue t;break t}}h[p++]=v}return h}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 Le(){this.__data__=tl?tl(null):{},this.size=0}function Ye(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Je(t){var e=this.__data__;if(tl){var n=e[t];return n===ut?nt:n}return hs.call(e,t)?e[t]:nt}function Xe(t){var e=this.__data__;return tl?e[t]!==nt:hs.call(e,t)}function Qe(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=tl&&e===nt?ut:e,this}function tn(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 en(){this.__data__=[],this.size=0}function nn(t){var e=this.__data__,n=Cn(e,t);return!(n<0||(n==e.length-1?e.pop():Ss.call(e,n,1),--this.size,0))}function rn(t){var e=this.__data__,n=Cn(e,t);return n<0?nt:e[n][1]}function on(t){return Cn(this.__data__,t)>-1}function un(t,e){var n=this.__data__,r=Cn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function an(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 cn(){this.size=0,this.__data__={hash:new tt,map:new(Ys||tn),string:new tt}}function fn(t){var e=_i(this,t).delete(t);return this.size-=e?1:0,e}function sn(t){return _i(this,t).get(t)}function ln(t){return _i(this,t).has(t)}function pn(t,e){var n=_i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function dn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new an;++e<n;)this.add(t[e])}function hn(t){return this.__data__.set(t,ut),this}function yn(t){return this.__data__.has(t)}function vn(t){this.size=(this.__data__=new tn(t)).size}function gn(){this.__data__=new tn,this.size=0}function bn(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function _n(t){return this.__data__.get(t)}function mn(t){return this.__data__.has(t)}function xn(t,e){var n=this.__data__;if(n instanceof tn){var r=n.__data__;if(!Ys||r.length<rt-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new an(r)}return n.set(t,e),this.size=n.size,this}function wn(t,e){var n=hp(t),r=!n&&dp(t),o=!n&&!r&&vp(t),i=!n&&!r&&!o&&xp(t),u=n||r||o||i,a=u?I(t.length,as):[],c=a.length;for(var f in t)!e&&!hs.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Ii(f,c))||a.push(f);return a}function jn(t){var e=t.length;return e?t[Jr(0,e-1)]:nt}function Pn(t,e){return Zi(Co(t),Un(e,0,t.length))}function An(t){return Zi(Co(t))}function Sn(t,e,n){(n===nt||qa(t[e],n))&&(n!==nt||e in t)||Nn(t,e,n)}function Tn(t,e,n){var r=t[e];hs.call(t,e)&&qa(r,n)&&(n!==nt||e in t)||Nn(t,e,n)}function Cn(t,e){for(var n=t.length;n--;)if(qa(t[n][0],e))return n;return-1}function Mn(t,e,n,r){return pl(t,function(t,o,i){e(r,t,n(t),i)}),r}function Wn(t,e){return t&&Mo(e,Bc(e),t)}function Bn(t,e){return t&&Mo(e,Lc(e),t)}function Nn(t,e,n){"__proto__"==e&&zs?zs(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fn(t,e){for(var n=-1,r=e.length,o=ts(r),i=null==t;++n<r;)o[n]=i?nt:Cc(t,e[n]);return o}function Un(t,e,n){return t===t&&(n!==nt&&(t=t<=n?t:n),e!==nt&&(t=t>=e?t:e)),t}function $n(t,e,n,r,o,i){var u,c=e&ft,f=e&st,s=e<if(n&&(u=o?n(t,r,o,i):n(t)),u!==nt)return u;if(!ec(t))return t;var l=hp(t);if(l){if(u=Pi(t),!c)return Co(t,u)}else{var p=Ol(t),d=p==Gt||p==Vt;if(vp(t))return Oo(t,c);if(p==Yt||p==Lt||d&&!o){if(u=f||d?{}:Ai(t),!c)return f?Bo(t,Bn(u,t)):Wo(t,Wn(u,t))}else{if(!Rn[p])return o?t:{};u=Si(t,p,c)}}i||(i=new vn);var h=i.get(t);if(h)return h;i.set(t,u),mp(t)?t.forEach(function(r){u.add($n(r,e,n,r,t,i))}):bp(t)&&t.forEach(function(r,o){u.set(o,$n(r,e,n,o,t,i))});var y=s?f?yi:hi:f?Lc:Bc,v=l?nt:y(t);return a(v||t,function(r,o){v&&(o=r,r=t[o]),Tn(u,o,$n(r,e,n,o,t,i))}),u}function Vn(t){var e=Bc(t);return function(n){return Kn(n,t,e)}}function Kn(t,e,n){var r=n.length;if(null==t)return!r;for(t=is(t);r--;){var o=n[r],i=e[o],u=t[o];if(u===nt&&!(o in t)||!i(u))return!1}return!0}function tr(t,e,n){if("function"!=typeof t)throw new cs(it);return Al(function(){t.apply(nt,n)},e)}function ir(t,e,n,r){var o=-1,i=l,u=!0,a=t.length,c=[],f=e.length;if(!a)return c;n&&(e=d(e,R(n))),r?(i=p,u=!1):e.length>=rt&&(i=M,u=!1,e=new dn(e));t:for(;++o<a;){var s=t[o],h=null==n?s:n(s);if(s=r||0!==s?s:0,u&&h===h){for(var y=f;y--;)if(e[y]===h)continue t;c.push(s)}else i(e,h,r)||c.push(s)}return c}function ur(t,e){var n=!0;return pl(t,function(t,r,o){return n=!!e(t,r,o)}),n}function ar(t,e,n){for(var r=-1,o=t.length;++r<o;){var i=t[r],u=e(i);if(null!=u&&(a===nt?u===u&&!dc(u):n(u,a)))var a=u,c=i}return c}function cr(t,e,n,r){var o=t.length;for(n=_c(n),n<0&&(n=-n>o?0:o+n),r=r===nt||r>o?o:_c(r),r<0&&(r+=o),r=n>r?0:mc(r);n<r;)t[n++]=e;return t}function fr(t,e){var n=[];return pl(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function sr(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=Ei),o||(o=[]);++i<u;){var a=t[i];e>0&&n(a)?e>1?sr(a,e-1,n,r,o):h(o,a):r||(o[o.length]=a)}return o}function lr(t,e){return t&&hl(t,e,Bc)}function pr(t,e){return t&&yl(t,e,Bc)}function dr(t,e){return s(e,function(e){return Xa(t[e])})}function hr(t,e){e=wo(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Yi(e[n++])];return n&&n==r?t:nt}function yr(t,e,n){var r=e(t);return hp(t)?r:h(r,n(t))}function vr(t){return null==t?t===nt?re:Zt:Is&&Is in is(t)?wi(t):qi(t)}function gr(t,e){return t>e}function br(t,e){return null!=t&&hs.call(t,e)}function _r(t,e){return null!=t&&e in is(t)}function mr(t,e,n){return t>=$s(e,n)&&t<Us(e,n)}function xr(t,e,n){for(var r=n?p:l,o=t[0].length,i=t.length,u=i,a=ts(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,R(e))),c=$s(s.length,c),a[u]=!n&&(e||o>=120&&s.length>=120)?new dn(u&&s):nt}s=t[0];var h=-1,y=a[0];t:for(;++h<o&&f.length<c;){var v=s[h],g=e?e(v):v;if(v=n||0!==v?v:0,!(y?M(y,g):r(f,g,n))){for(u=i;--u;){var b=a[u];if(!(b?M(b,g):r(t[u],g,n)))continue t}y&&y.push(g),f.push(v)}}return f}function wr(t,e,n,r){return lr(t,function(t,o,i){e(r,n(t),o,i)}),r}function jr(t,e,n){e=wo(e,t),t=$i(t,e);var r=null==t?t:t[Yi(bu(e))];return null==r?nt:i(r,t,n)}function Or(t){return nc(t)&&vr(t)==Lt}function kr(t){return nc(t)&&vr(t)==ue}function Pr(t){return nc(t)&&vr(t)==qt}function Ar(t,e,n,r,o){return t===e||(null==t||null==e||!nc(t)&&!nc(e)?t!==t&&e!==e:Sr(t,e,n,r,Ar,o))}function Sr(t,e,n,r,o,i){var u=hp(t),a=hp(e),c=u?Dt:Ol(t),f=a?Dt:Ol(e);c=c==Lt?Yt:c,f=f==Lt?Yt:f;var s=c==Yt,l=f==Yt,p=c==f;if(p&&vp(t)){if(!vp(e))return!1;u=!0,s=!1}if(p&&!s)return i||(i=new vn),u||xp(t)?si(t,e,n,r,o,i):li(t,e,c,n,r,o,i);if(!(n&pt)){var d=s&&hs.call(t,"__wrapped__"),h=l&&hs.call(e,"__wrapped__");if(d||h){var y=d?t.value():t,v=h?e.value():e;return i||(i=new vn),o(y,v,n,r,i)}}return!!p&&(i||(i=new vn),pi(t,e,n,r,o,i))}function Tr(t){return nc(t)&&Ol(t)==Kt}function Er(t,e,n,r){var o=n.length,i=o,u=!r;if(null==t)return!i;for(t=is(t);o--;){var a=n[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){a=n[o];var c=a[0],f=t[c],s=a[1];if(u&&a[2]){if(f===nt&&!(c in t))return!1}else{var l=new vn;if(r)var p=r(f,s,c,t,e,l);if(!(p===nt?Ar(s,f,pt|dt,r,l):p))return!1}}return!0}function Ir(t){return!(!ec(t)||Wi(t))&&(Xa(t)?ms:$e).test(Ji(t))}function zr(t){return nc(t)&&vr(t)==Qt}function Rr(t){return nc(t)&&Ol(t)==te}function Cr(t){return nc(t)&&tc(t.length)&&!!zn[vr(t)]}function Mr(t){return"function"==typeof t?t:null==t?Sf:"object"==typeof t?hp(t)?Fr(t[0],t[1]):Nr(t):Wf(t)}function Wr(t){if(!Bi(t))return qs(t);var e=[];for(var n in is(t))hs.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Br(t){if(!ec(t))return Fi(t);var e=Bi(t),n=[];for(var r in t)("constructor"!=r||!e&&hs.call(t,r))&&n.push(r);return n}function Lr(t,e){return t<e}function Dr(t,e){var n=-1,r=Ua(t)?ts(t.length):[];return pl(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function Nr(t){var e=mi(t);return 1==e.length&&e[0][2]?Di(e[0][0],e[0][1]):function(n){return n===t||Er(n,t,e)}}function Fr(t,e){return Ri(t)&&Li(e)?Di(Yi(t),e):function(n){var r=Cc(n,t);return r===nt&&r===e?Wc(n,t):Ar(e,r,pt|dt)}}function qr(t,e,n,r,o){t!==e&&hl(e,function(i,u){if(o||(o=new vn),ec(i))Ur(t,e,u,n,qr,r,o);else{var a=r?r(Vi(t,u),i,u+"",t,e,o):nt;a===nt&&(a=i),Sn(t,u,a)}},Lc)}function Ur(t,e,n,r,o,i,u){var a=Vi(t,n),c=Vi(e,n),f=u.get(c);if(f)return Sn(t,n,f),nt;var s=i?i(a,c,n+"",t,e,u):nt,l=s===nt;if(l){var p=hp(c),d=!p&&vp(c),h=!p&&!d&&xp(c);s=c,p||d||h?hp(a)?s=a:$a(a)?s=Co(a):d?(l=!1,s=Oo(c,!0)):h?(l=!1,s=To(c,!0)):s=[]:sc(c)||dp(c)?(s=a,dp(a)?s=wc(a):ec(a)&&!Xa(a)||(s=Ai(c))):l=!1}l&&(u.set(c,s),o(s,c,r,i,u),u.delete(c)),Sn(t,n,s)}function $r(t,e){var n=t.length;if(n)return e+=e<0?n:0,Ii(e,n)?t[e]:nt}function Gr(t,e,n){e=e.length?d(e,function(t){return hp(t)?function(e){return hr(e,1===t.length?t[0]:t)}:t}):[Sf];var r=-1;return e=d(e,R(bi())),T(Dr(t,function(t,n,o){return{criteria:d(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return Io(t,e,n)})}function Vr(t,e){return Kr(t,e,function(e,n){return Wc(t,n)})}function Kr(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],a=hr(t,u);n(a,u)&&ro(i,wo(u,t),a)}return i}function Hr(t){return function(e){return hr(e,t)}}function Zr(t,e,n,r){var o=r?j:w,i=-1,u=e.length,a=t;for(t===e&&(e=Co(e)),n&&(a=d(t,R(n)));++i<u;)for(var c=0,f=e[i],s=n?n(f):f;(c=o(a,s,c,r))>-1;)a!==t&&Ss.call(a,c,1),Ss.call(t,c,1);return t}function Yr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;Ii(o)?Ss.call(t,o,1):ho(t,o)}}return t}function Jr(t,e){return t+Bs(Ks()*(e-t+1))}function Xr(t,e,n,r){for(var o=-1,i=Us(Ws((e-t)/(n||1)),0),u=ts(i);i--;)u[r?i:++o]=t,t+=n;return u}function Qr(t,e){var n="";if(!t||e<1||e>It)return n;do{e%2&&(n+=t),(e=Bs(e/2))&&(t+=t)}while(e);return n}function to(t,e){return Sl(Ui(t,e,Sf),t+"")}function eo(t){return jn(Yc(t))}function no(t,e){var n=Yc(t);return Zi(n,Un(e,0,n.length))}function ro(t,e,n,r){if(!ec(t))return t;e=wo(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Yi(e[o]),f=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var s=a[c];(f=r?r(s,c,a):nt)===nt&&(f=ec(s)?s:Ii(e[o+1])?[]:{})}Tn(a,c,f),a=a[c]}return t}function oo(t){return Zi(Yc(t))}function io(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=ts(o);++r<o;)i[r]=t[r+e];return i}function uo(t,e){var n;return pl(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function ao(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e===e&&o<=Wt){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!dc(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return co(t,e,Sf,n)}function co(t,e,n,r){var o=0,i=null==t?0:t.length;if(0===i)return 0;e=n(e);for(var u=e!==e,a=null===e,c=dc(e),f=e===nt;o<i;){var s=Bs((o+i)/2),l=n(t[s]),p=l!==nt,d=null===l,h=l===l,y=dc(l);if(u)var v=r||h;else v=f?h&&(r||p):a?h&&p&&(r||!d):c?h&&p&&!d&&(r||!y):!d&&!y&&(r?l<=e:l<e);v?o=s+1:i=s}return $s(i,Mt)}function fo(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n],a=e?e(u):u;if(!n||!qa(a,c)){var c=a;i[o++]=0===u?0:u}}return i}function so(t){return"number"==typeof t?t:dc(t)?Rt:+t}function lo(t){if("string"==typeof t)return t;if(hp(t))return d(t,lo)+"";if(dc(t))return sl?sl.call(t):"";var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function po(t,e,n){var r=-1,o=l,i=t.length,u=!0,a=[],c=a;if(n)u=!1,o=p;else if(i>=rt){var f=e?null:ml(t);if(f)return K(f);u=!1,o=M,c=new dn}else c=e?[]:a;t:for(;++r<i;){var s=t[r],d=e?e(s):s;if(s=n||0!==s?s:0,u&&d===d){for(var h=c.length;h--;)if(c[h]===d)continue t;e&&c.push(d),a.push(s)}else o(c,d,n)||(c!==a&&c.push(d),a.push(s))}return a}function ho(t,e){return e=wo(e,t),null==(t=$i(t,e))||delete t[Yi(bu(e))]}function yo(t,e,n,r){return ro(t,e,n(hr(t,e)),r)}function vo(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?io(t,r?0:i,r?i+1:o):io(t,r?i+1:0,r?o:i)}function go(t,e){var n=t;return n instanceof b&&(n=n.value()),y(e,function(t,e){return e.func.apply(e.thisArg,h([t],e.args))},n)}function bo(t,e,n){var r=t.length;if(r<2)return r?po(t[0]):[];for(var o=-1,i=ts(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ir(i[o]||u,t[a],e,n));return po(sr(i,1),e,n)}function _o(t,e,n){for(var r=-1,o=t.length,i=e.length,u={};++r<o;)n(u,t[r],r<i?e[r]:nt);return u}function mo(t){return $a(t)?t:[]}function xo(t){return"function"==typeof t?t:Sf}function wo(t,e){return hp(t)?t:Ri(t,e)?[t]:Tl(Oc(t))}function jo(t,e,n){var r=t.length;return n=n===nt?r:n,!e&&n>=r?t:io(t,e,n)}function Oo(t,e){if(e)return t.slice();var n=t.length,r=Os?Os(n):new t.constructor(n);return t.copy(r),r}function ko(t){var e=new t.constructor(t.byteLength);return new js(e).set(new js(t)),e}function Po(t,e){return new t.constructor(e?ko(t.buffer):t.buffer,t.byteOffset,t.byteLength)}function Ao(t){var e=new t.constructor(t.source,Fe.exec(t));return e.lastIndex=t.lastIndex,e}function So(t){return fl?is(fl.call(t)):{}}function To(t,e){return new t.constructor(e?ko(t.buffer):t.buffer,t.byteOffset,t.length)}function Eo(t,e){if(t!==e){var n=t!==nt,r=null===t,o=t===t,i=dc(t),u=e!==nt,a=null===e,c=e===e,f=dc(e);if(!a&&!f&&!i&&t>e||i&&u&&c&&!a&&!f||r&&u&&c||!n&&c||!o)return 1;if(!r&&!i&&!f&&t<e||f&&n&&o&&!r&&!i||a&&n&&o||!u&&o||!c)return-1}return 0}function Io(t,e,n){for(var r=-1,o=t.criteria,i=e.criteria,u=o.length,a=n.length;++r<u;){var c=Eo(o[r],i[r]);if(c)return r>=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}function zo(t,e,n,r){for(var o=-1,i=t.length,u=n.length,a=-1,c=e.length,f=Us(i-u,0),s=ts(c+f),l=!r;++a<c;)s[a]=e[a];for(;++o<u;)(l||o<i)&&(s[n[o]]=t[o]);for(;f--;)s[a++]=t[o++];return s}function Ro(t,e,n,r){for(var o=-1,i=t.length,u=-1,a=n.length,c=-1,f=e.length,s=Us(i-a,0),l=ts(s+f),p=!r;++o<s;)l[o]=t[o];for(var d=o;++c<f;)l[d+c]=e[c];for(;++u<a;)(p||o<i)&&(l[d+n[u]]=t[o++]);return l}function Co(t,e){var n=-1,r=t.length;for(e||(e=ts(r));++n<r;)e[n]=t[n];return e}function Mo(t,e,n,r){var o=!n;n||(n={});for(var i=-1,u=e.length;++i<u;){var a=e[i],c=r?r(n[a],t[a],a,n,t):nt;c===nt&&(c=t[a]),o?Nn(n,a,c):Tn(n,a,c)}return n}function Wo(t,e){return Mo(t,wl(t),e)}function Bo(t,e){return Mo(t,jl(t),e)}function Lo(t,e){return function(n,r){var o=hp(n)?u:Mn,i=e?e():{};return o(n,t,bi(r,2),i)}}function Do(t){return to(function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:nt,u=o>2?n[2]:nt;for(i=t.length>3&&"function"==typeof i?(o--,i):nt,u&&zi(n[0],n[1],u)&&(i=o<3?nt:i,o=1),e=is(e);++r<o;){var a=n[r];a&&t(e,a,r,i)}return e})}function No(t,e){return function(n,r){if(null==n)return n;if(!Ua(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=is(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function Fo(t){return function(e,n,r){for(var o=-1,i=is(e),u=r(e),a=u.length;a--;){var c=u[t?a:++o];if(!1===n(i[c],c,i))break}return e}}function qo(t,e,n){function r(){return(this&&this!==qn&&this instanceof r?i:t).apply(o?n:this,arguments)}var o=e&ht,i=Go(t);return r}function Uo(t){return function(e){e=Oc(e);var n=F(e)?X(e):nt,r=n?n[0]:e.charAt(0),o=n?jo(n,1).join(""):e.slice(1);return r[t]()+o}}function $o(t){return function(e){return y(jf(nf(e).replace(On,"")),t,"")}}function Go(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=ll(t.prototype),r=t.apply(n,e);return ec(r)?r:n}}function Vo(t,e,n){function r(){for(var u=arguments.length,a=ts(u),c=u,f=gi(r);c--;)a[c]=arguments[c];var s=u<3&&a[0]!==f&&a[u-1]!==f?[]:V(a,f);return u-=s.length,u<n?ri(t,e,Zo,r.placeholder,nt,a,s,nt,nt,n-u):i(this&&this!==qn&&this instanceof r?o:t,this,a)}var o=Go(t);return r}function Ko(t){return function(e,n,r){var o=is(e);if(!Ua(e)){var i=bi(n,3);e=Bc(e),n=function(t){return i(o[t],t,o)}}var u=t(e,n,r);return u>-1?o[i?e[u]:u]:nt}}function Ho(t){return di(function(e){var n=e.length,r=n,i=o.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new cs(it);if(i&&!a&&"wrapper"==vi(u))var a=new o([],!0)}for(r=a?r:n;++r<n;){u=e[r];var c=vi(u),f="wrapper"==c?xl(u):nt;a=f&&Mi(f[0])&&f[1]==(xt|gt|_t|wt)&&!f[4].length&&1==f[9]?a[vi(f[0])].apply(a,f[3]):1==u.length&&Mi(u)?a[c]():a.thru(u)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&hp(r))return a.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}})}function Zo(t,e,n,r,o,i,u,a,c,f){function s(){for(var g=arguments.length,b=ts(g),_=g;_--;)b[_]=arguments[_];if(h)var m=gi(s),x=L(b,m);if(r&&(b=zo(b,r,o,h)),i&&(b=Ro(b,i,u,h)),g-=x,h&&g<f)return ri(t,e,Zo,s.placeholder,n,b,V(b,m),a,c,f-g);var w=p?n:this,j=d?w[t]:t;return g=b.length,a?b=Gi(b,a):y&&g>1&&b.reverse(),l&&c<g&&(b.length=c),this&&this!==qn&&this instanceof s&&(j=v||Go(j)),j.apply(w,b)}var l=e&xt,p=e&ht,d=e&yt,h=e&(gt|bt),y=e&jt,v=d?nt:Go(t);return s}function Yo(t,e){return function(n,r){return wr(n,t,e(r),{})}}function Jo(t,e){return function(n,r){var o;if(n===nt&&r===nt)return e;if(n!==nt&&(o=n),r!==nt){if(o===nt)return r;"string"==typeof n||"string"==typeof r?(n=lo(n),r=lo(r)):(n=so(n),r=so(r)),o=t(n,r)}return o}}function Xo(t){return di(function(e){return e=d(e,R(bi())),to(function(n){var r=this;return t(e,function(t){return i(t,r,n)})})})}function Qo(t,e){e=e===nt?" ":lo(e);var n=e.length;if(n<2)return n?Qr(e,t):e;var r=Qr(e,Ws(t/J(e)));return F(e)?jo(X(r),0,t).join(""):r.slice(0,t)}function ti(t,e,n,r){function o(){for(var e=-1,c=arguments.length,f=-1,s=r.length,l=ts(s+c),p=this&&this!==qn&&this instanceof o?a:t;++f<s;)l[f]=r[f];for(;c--;)l[f++]=arguments[++e];return i(p,u?n:this,l)}var u=e&ht,a=Go(t);return o}function ei(t){return function(e,n,r){return r&&"number"!=typeof r&&zi(e,n,r)&&(n=r=nt),e=bc(e),n===nt?(n=e,e=0):n=bc(n),r=r===nt?e<n?1:-1:bc(r),Xr(e,n,r,t)}}function ni(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=xc(e),n=xc(n)),t(e,n)}}function ri(t,e,n,r,o,i,u,a,c,f){var s=e>,l=s?u:nt,p=s?nt:u,d=s?i:nt,h=s?nt:i;e|=s?_t:mt,(e&=~(s?mt:_t))&vt||(e&=~(ht|yt));var y=[t,e,o,d,l,h,p,a,c,f],v=n.apply(nt,y);return Mi(t)&&Pl(v,y),v.placeholder=r,Ki(v,t,e)}function oi(t){var e=os[t];return function(t,n){if(t=xc(t),(n=null==n?0:$s(_c(n),292))&&Ns(t)){var r=(Oc(t)+"e").split("e");return r=(Oc(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ii(t){return function(e){var n=Ol(e);return n==Kt?$(e):n==te?H(e):z(e,t(e))}}function ui(t,e,n,r,o,i,u,a){var c=e&yt;if(!c&&"function"!=typeof t)throw new cs(it);var f=r?r.length:0;if(f||(e&=~(_t|mt),r=o=nt),u=u===nt?u:Us(_c(u),0),a=a===nt?a:_c(a),f-=o?o.length:0,e&mt){var s=r,l=o;r=o=nt}var p=c?nt:xl(t),d=[t,e,n,r,o,s,l,i,u,a];if(p&&Ni(d,p),t=d[0],e=d[1],n=d[2],r=d[3],o=d[4],a=d[9]=d[9]===nt?c?0:t.length:Us(d[9]-f,0),!a&&e&(gt|bt)&&(e&=~(gt|bt)),e&&e!=ht)h=e==gt||e==bt?Vo(t,e,a):e!=_t&&e!=(ht|_t)||o.length?Zo.apply(nt,d):ti(t,e,n,r);else var h=qo(t,e,n);return Ki((p?vl:Pl)(h,d),t,e)}function ai(t,e,n,r){return t===nt||qa(t,ls[n])&&!hs.call(r,n)?e:t}function ci(t,e,n,r,o,i){return ec(t)&&ec(e)&&(i.set(e,t),qr(t,e,nt,ci,i),i.delete(e)),t}function fi(t){return sc(t)?nt:t}function si(t,e,n,r,o,i){var u=n&pt,a=t.length,c=e.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),s=i.get(e);if(f&&s)return f==e&&s==t;var l=-1,p=!0,d=n&dt?new dn:nt;for(i.set(t,e),i.set(e,t);++l<a;){var h=t[l],y=e[l];if(r)var v=u?r(y,h,l,e,t,i):r(h,y,l,t,e,i);if(v!==nt){if(v)continue;p=!1;break}if(d){if(!g(e,function(t,e){if(!M(d,e)&&(h===t||o(h,t,n,r,i)))return d.push(e)})){p=!1;break}}else if(h!==y&&!o(h,y,n,r,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function li(t,e,n,r,o,i,u){switch(n){case ae:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ue:return!(t.byteLength!=e.byteLength||!i(new js(t),new js(e)));case Ft:case qt:case Ht:return qa(+t,+e);case $t:return t.name==e.name&&t.message==e.message;case Qt:case ee:return t==e+"";case Kt:var a=$;case te:var c=r&pt;if(a||(a=K),t.size!=e.size&&!c)return!1;var f=u.get(t);if(f)return f==e;r|=dt,u.set(t,e);var s=si(a(t),a(e),r,o,i,u);return u.delete(t),s;case ne:if(fl)return fl.call(t)==fl.call(e)}return!1}function pi(t,e,n,r,o,i){var u=n&pt,a=hi(t),c=a.length;if(c!=hi(e).length&&!u)return!1;for(var f=c;f--;){var s=a[f];if(!(u?s in e:hs.call(e,s)))return!1}var l=i.get(t),p=i.get(e);if(l&&p)return l==e&&p==t;var d=!0;i.set(t,e),i.set(e,t);for(var h=u;++f<c;){s=a[f];var y=t[s],v=e[s];if(r)var g=u?r(v,y,s,e,t,i):r(y,v,s,t,e,i);if(!(g===nt?y===v||o(y,v,n,r,i):g)){d=!1;break}h||(h="constructor"==s)}if(d&&!h){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(d=!1)}return i.delete(t),i.delete(e),d}function di(t){return Sl(Ui(t,nt,su),t+"")}function hi(t){return yr(t,Bc,wl)}function yi(t){return yr(t,Lc,jl)}function vi(t){for(var e=t.name+"",n=nl[e],r=hs.call(nl,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function gi(t){return(hs.call(n,"placeholder")?n:t).placeholder}function bi(){var t=n.iteratee||Tf;return t=t===Tf?Mr:t,arguments.length?t(arguments[0],arguments[1]):t}function _i(t,e){var n=t.__data__;return Ci(e)?n["string"==typeof e?"string":"hash"]:n.map}function mi(t){for(var e=Bc(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,Li(o)]}return e}function xi(t,e){var n=N(t,e);return Ir(n)?n:nt}function wi(t){var e=hs.call(t,Is),n=t[Is];try{t[Is]=nt;var r=!0}catch(t){}var o=gs.call(t);return r&&(e?t[Is]=n:delete t[Is]),o}function ji(t,e,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":e-=u;break;case"take":e=$s(e,t+u);break;case"takeRight":t=Us(t,e-u)}}return{start:t,end:e}}function Oi(t){var e=t.match(We);return e?e[1].split(Be):[]}function ki(t,e,n){e=wo(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Yi(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&tc(o)&&Ii(u,o)&&(hp(t)||dp(t))}function Pi(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&hs.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Ai(t){return"function"!=typeof t.constructor||Bi(t)?{}:ll(ks(t))}function Si(t,e,n){var r=t.constructor;switch(e){case ue:return ko(t);case Ft:case qt:return new r(+t);case ae:return Po(t,n);case ce:case fe:case se:case le:case pe:case de:case he:case ye:case ve:return To(t,n);case Kt:return new r;case Ht:case ee:return new r(t);case Qt:return Ao(t);case te:return new r;case ne:return So(t)}}function Ti(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(Me,"{\n/* [wrapped with "+e+"] */\n")}function Ei(t){return hp(t)||dp(t)||!!(Ts&&t&&t[Ts])}function Ii(t,e){var n=typeof t;return!!(e=null==e?It:e)&&("number"==n||"symbol"!=n&&Ve.test(t))&&t>-1&&t%1==0&&t<e}function zi(t,e,n){if(!ec(n))return!1;var r=typeof e;return!!("number"==r?Ua(n)&&Ii(e,n.length):"string"==r&&e in n)&&qa(n[e],t)}function Ri(t,e){if(hp(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!dc(t))||Se.test(t)||!Ae.test(t)||null!=e&&t in is(e)}function Ci(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Mi(t){var e=vi(t),r=n[e];if("function"!=typeof r||!(e in b.prototype))return!1;if(t===r)return!0;var o=xl(r);return!!o&&t===o[0]}function Wi(t){return!!vs&&vs in t}function Bi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ls)}function Li(t){return t===t&&!ec(t)}function Di(t,e){return function(n){return null!=n&&n[t]===e&&(e!==nt||t in is(n))}}function Ni(t,e){var n=t[1],r=e[1],o=n|r,i=o<(ht|yt|xt),u=r==xt&&n==gt||r==xt&&n==wt&&t[7].length<=e[8]||r==(xt|wt)&&e[7].length<=e[8]&&n==gt;if(!i&&!u)return t;r&ht&&(t[2]=e[2],o|=n&ht?0:vt);var a=e[3];if(a){var c=t[3];t[3]=c?zo(c,a,e[4]):a,t[4]=c?V(t[3],ct):e[4]}return a=e[5],a&&(c=t[5],t[5]=c?Ro(c,a,e[6]):a,t[6]=c?V(t[5],ct):e[6]),a=e[7],a&&(t[7]=a),r&xt&&(t[8]=null==t[8]?e[8]:$s(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o,t}function Fi(t){var e=[];if(null!=t)for(var n in is(t))e.push(n);return e}function qi(t){return gs.call(t)}function Ui(t,e,n){return e=Us(e===nt?t.length-1:e,0),function(){for(var r=arguments,o=-1,u=Us(r.length-e,0),a=ts(u);++o<u;)a[o]=r[e+o];o=-1;for(var c=ts(e+1);++o<e;)c[o]=r[o];return c[e]=n(a),i(t,this,c)}}function $i(t,e){return e.length<2?t:hr(t,io(e,0,-1))}function Gi(t,e){for(var n=t.length,r=$s(e.length,n),o=Co(t);r--;){var i=e[r];t[r]=Ii(i,n)?o[i]:nt}return t}function Vi(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Ki(t,e,n){var r=e+"";return Sl(t,Ti(r,Xi(Oi(r),n)))}function Hi(t){var e=0,n=0;return function(){var r=Gs(),o=At-(r-n);if(n=r,o>0){if(++e>=Pt)return arguments[0]}else e=0;return t.apply(nt,arguments)}}function Zi(t,e){var n=-1,r=t.length,o=r-1;for(e=e===nt?r:e;++n<e;){var i=Jr(n,o),u=t[i];t[i]=t[n],t[n]=u}return t.length=e,t}function Yi(t){if("string"==typeof t||dc(t))return t;var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function Ji(t){if(null!=t){try{return ds.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Xi(t,e){return a(Bt,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function Qi(t){if(t instanceof b)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Co(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function tu(t,e,n){e=(n?zi(t,e,n):e===nt)?1:Us(_c(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,i=0,u=ts(Ws(r/e));o<r;)u[i++]=io(t,o,o+=e);return u}function eu(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o}function nu(){var t=arguments.length;if(!t)return[];for(var e=ts(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return h(hp(n)?Co(n):[n],sr(e,1))}function ru(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:_c(e),io(t,e<0?0:e,r)):[]}function ou(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:_c(e),e=r-e,io(t,0,e<0?0:e)):[]}function iu(t,e){return t&&t.length?vo(t,bi(e,3),!0,!0):[]}function uu(t,e){return t&&t.length?vo(t,bi(e,3),!0):[]}function au(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&zi(t,e,n)&&(n=0,r=o),cr(t,e,n,r)):[]}function cu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:_c(n);return o<0&&(o=Us(r+o,0)),x(t,bi(e,3),o)}function fu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==nt&&(o=_c(n),o=n<0?Us(r+o,0):$s(o,r-1)),x(t,bi(e,3),o,!0)}function su(t){return(null==t?0:t.length)?sr(t,1):[]}function lu(t){return(null==t?0:t.length)?sr(t,Et):[]}function pu(t,e){return(null==t?0:t.length)?(e=e===nt?1:_c(e),sr(t,e)):[]}function du(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r}function hu(t){return t&&t.length?t[0]:nt}function yu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:_c(n);return o<0&&(o=Us(r+o,0)),w(t,e,o)}function vu(t){return(null==t?0:t.length)?io(t,0,-1):[]}function gu(t,e){return null==t?"":Fs.call(t,e)}function bu(t){var e=null==t?0:t.length;return e?t[e-1]:nt}function _u(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==nt&&(o=_c(n),o=o<0?Us(r+o,0):$s(o,r-1)),e===e?Y(t,e,o):x(t,O,o,!0)}function mu(t,e){return t&&t.length?$r(t,_c(e)):nt}function xu(t,e){return t&&t.length&&e&&e.length?Zr(t,e):t}function wu(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,bi(n,2)):t}function ju(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,nt,n):t}function Ou(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=bi(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return Yr(t,o),n}function ku(t){return null==t?t:Hs.call(t)}function Pu(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&zi(t,e,n)?(e=0,n=r):(e=null==e?0:_c(e),n=n===nt?r:_c(n)),io(t,e,n)):[]}function Au(t,e){return ao(t,e)}function Su(t,e,n){return co(t,e,bi(n,2))}function Tu(t,e){var n=null==t?0:t.length;if(n){var r=ao(t,e);if(r<n&&qa(t[r],e))return r}return-1}function Eu(t,e){return ao(t,e,!0)}function Iu(t,e,n){return co(t,e,bi(n,2),!0)}function zu(t,e){if(null==t?0:t.length){var n=ao(t,e,!0)-1;if(qa(t[n],e))return n}return-1}function Ru(t){return t&&t.length?fo(t):[]}function Cu(t,e){return t&&t.length?fo(t,bi(e,2)):[]}function Mu(t){var e=null==t?0:t.length;return e?io(t,1,e):[]}function Wu(t,e,n){return t&&t.length?(e=n||e===nt?1:_c(e),io(t,0,e<0?0:e)):[]}function Bu(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:_c(e),e=r-e,io(t,e<0?0:e,r)):[]}function Lu(t,e){return t&&t.length?vo(t,bi(e,3),!1,!0):[]}function Du(t,e){return t&&t.length?vo(t,bi(e,3)):[]}function Nu(t){return t&&t.length?po(t):[]}function Fu(t,e){return t&&t.length?po(t,bi(e,2)):[]}function qu(t,e){return e="function"==typeof e?e:nt,t&&t.length?po(t,nt,e):[]}function Uu(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){if($a(t))return e=Us(t.length,e),!0}),I(e,function(e){return d(t,P(e))})}function $u(t,e){if(!t||!t.length)return[];var n=Uu(t);return null==e?n:d(n,function(t){return i(e,nt,t)})}function Gu(t,e){return _o(t||[],e||[],Tn)}function Vu(t,e){return _o(t||[],e||[],ro)}function Ku(t){var e=n(t);return e.__chain__=!0,e}function Hu(t,e){return e(t),t}function Zu(t,e){return e(t)}function Yu(){return Ku(this)}function Ju(){return new o(this.value(),this.__chain__)}function Xu(){this.__values__===nt&&(this.__values__=gc(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?nt:this.__values__[this.__index__++]}}function Qu(){return this}function ta(t){for(var e,n=this;n instanceof r;){var o=Qi(n);o.__index__=0,o.__values__=nt,e?i.__wrapped__=o:e=o;var i=o;n=n.__wrapped__}return i.__wrapped__=t,e}function ea(){var t=this.__wrapped__;if(t instanceof b){var e=t;return this.__actions__.length&&(e=new b(this)),e=e.reverse(),e.__actions__.push({func:Zu,args:[ku],thisArg:nt}),new o(e,this.__chain__)}return this.thru(ku)}function na(){return go(this.__wrapped__,this.__actions__)}function ra(t,e,n){var r=hp(t)?f:ur;return n&&zi(t,e,n)&&(e=nt),r(t,bi(e,3))}function oa(t,e){return(hp(t)?s:fr)(t,bi(e,3))}function ia(t,e){return sr(la(t,e),1)}function ua(t,e){return sr(la(t,e),Et)}function aa(t,e,n){return n=n===nt?1:_c(n),sr(la(t,e),n)}function ca(t,e){return(hp(t)?a:pl)(t,bi(e,3))}function fa(t,e){return(hp(t)?c:dl)(t,bi(e,3))}function sa(t,e,n,r){t=Ua(t)?t:Yc(t),n=n&&!r?_c(n):0;var o=t.length;return n<0&&(n=Us(o+n,0)),pc(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&w(t,e,n)>-1}function la(t,e){return(hp(t)?d:Dr)(t,bi(e,3))}function pa(t,e,n,r){return null==t?[]:(hp(e)||(e=null==e?[]:[e]),n=r?nt:n,hp(n)||(n=null==n?[]:[n]),Gr(t,e,n))}function da(t,e,n){var r=hp(t)?y:S,o=arguments.length<3;return r(t,bi(e,4),n,o,pl)}function ha(t,e,n){var r=hp(t)?v:S,o=arguments.length<3;return r(t,bi(e,4),n,o,dl)}function ya(t,e){return(hp(t)?s:fr)(t,Ta(bi(e,3)))}function va(t){return(hp(t)?jn:eo)(t)}function ga(t,e,n){return e=(n?zi(t,e,n):e===nt)?1:_c(e),(hp(t)?Pn:no)(t,e)}function ba(t){return(hp(t)?An:oo)(t)}function _a(t){if(null==t)return 0;if(Ua(t))return pc(t)?J(t):t.length;var e=Ol(t);return e==Kt||e==te?t.size:Wr(t).length}function ma(t,e,n){var r=hp(t)?g:uo;return n&&zi(t,e,n)&&(e=nt),r(t,bi(e,3))}function xa(t,e){if("function"!=typeof e)throw new cs(it);return t=_c(t),function(){if(--t<1)return e.apply(this,arguments)}}function wa(t,e,n){return e=n?nt:e,e=t&&null==e?t.length:e,ui(t,xt,nt,nt,nt,nt,e)}function ja(t,e){var n;if("function"!=typeof e)throw new cs(it);return t=_c(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=nt),n}}function Oa(t,e,n){e=n?nt:e;var r=ui(t,gt,nt,nt,nt,nt,nt,e);return r.placeholder=Oa.placeholder,r}function ka(t,e,n){e=n?nt:e;var r=ui(t,bt,nt,nt,nt,nt,nt,e);return r.placeholder=ka.placeholder,r}function Pa(t,e,n){function r(e){var n=p,r=d;return p=d=nt,b=e,y=t.apply(r,n)}function o(t){return b=t,v=Al(a,e),_?r(t):y}function i(t){var n=t-g,r=t-b,o=e-n;return m?$s(o,h-r):o}function u(t){var n=t-g,r=t-b;return g===nt||n>=e||n<0||m&&r>=h}function a(){var t=np();return u(t)?c(t):(v=Al(a,i(t)),nt)}function c(t){return v=nt,x&&p?r(t):(p=d=nt,y)}function f(){v!==nt&&_l(v),b=0,p=g=d=v=nt}function s(){return v===nt?y:c(np())}function l(){var t=np(),n=u(t);if(p=arguments,d=this,g=t,n){if(v===nt)return o(g);if(m)return _l(v),v=Al(a,e),r(g)}return v===nt&&(v=Al(a,e)),y}var p,d,h,y,v,g,b=0,_=!1,m=!1,x=!0;if("function"!=typeof t)throw new cs(it);return e=xc(e)||0,ec(n)&&(_=!!n.leading,m="maxWait"in n,h=m?Us(xc(n.maxWait)||0,e):h,x="trailing"in n?!!n.trailing:x),l.cancel=f,l.flush=s,l}function Aa(t){return ui(t,jt)}function Sa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new cs(it);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(Sa.Cache||an),n}function Ta(t){if("function"!=typeof t)throw new cs(it);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 Ea(t){return ja(2,t)}function Ia(t,e){if("function"!=typeof t)throw new cs(it);return e=e===nt?e:_c(e),to(t,e)}function za(t,e){if("function"!=typeof t)throw new cs(it);return e=null==e?0:Us(_c(e),0),to(function(n){var r=n[e],o=jo(n,0,e);return r&&h(o,r),i(t,this,o)})}function Ra(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new cs(it);return ec(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Pa(t,e,{leading:r,maxWait:e,trailing:o})}function Ca(t){return wa(t,1)}function Ma(t,e){return cp(xo(e),t)}function Wa(){if(!arguments.length)return[];var t=arguments[0];return hp(t)?t:[t]}function Ba(t){return $n(t,lt)}function La(t,e){return e="function"==typeof e?e:nt,$n(t,lt,e)}function Da(t){return $n(t,ft|lt)}function Na(t,e){return e="function"==typeof e?e:nt,$n(t,ft|lt,e)}function Fa(t,e){return null==e||Kn(t,e,Bc(e))}function qa(t,e){return t===e||t!==t&&e!==e}function Ua(t){return null!=t&&tc(t.length)&&!Xa(t)}function $a(t){return nc(t)&&Ua(t)}function Ga(t){return!0===t||!1===t||nc(t)&&vr(t)==Ft}function Va(t){return nc(t)&&1===t.nodeType&&!sc(t)}function Ka(t){if(null==t)return!0;if(Ua(t)&&(hp(t)||"string"==typeof t||"function"==typeof t.splice||vp(t)||xp(t)||dp(t)))return!t.length;var e=Ol(t);if(e==Kt||e==te)return!t.size;if(Bi(t))return!Wr(t).length;for(var n in t)if(hs.call(t,n))return!1;return!0}function Ha(t,e){return Ar(t,e)}function Za(t,e,n){n="function"==typeof n?n:nt;var r=n?n(t,e):nt;return r===nt?Ar(t,e,nt,n):!!r}function Ya(t){if(!nc(t))return!1;var e=vr(t);return e==$t||e==Ut||"string"==typeof t.message&&"string"==typeof t.name&&!sc(t)}function Ja(t){return"number"==typeof t&&Ns(t)}function Xa(t){if(!ec(t))return!1;var e=vr(t);return e==Gt||e==Vt||e==Nt||e==Xt}function Qa(t){return"number"==typeof t&&t==_c(t)}function tc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=It}function ec(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function nc(t){return null!=t&&"object"==typeof t}function rc(t,e){return t===e||Er(t,e,mi(e))}function oc(t,e,n){return n="function"==typeof n?n:nt,Er(t,e,mi(e),n)}function ic(t){return fc(t)&&t!=+t}function uc(t){if(kl(t))throw new ns(ot);return Ir(t)}function ac(t){return null===t}function cc(t){return null==t}function fc(t){return"number"==typeof t||nc(t)&&vr(t)==Ht}function sc(t){if(!nc(t)||vr(t)!=Yt)return!1;var e=ks(t);if(null===e)return!0;var n=hs.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ds.call(n)==bs}function lc(t){return Qa(t)&&t>=-It&&t<=It}function pc(t){return"string"==typeof t||!hp(t)&&nc(t)&&vr(t)==ee}function dc(t){return"symbol"==typeof t||nc(t)&&vr(t)==ne}function hc(t){return t===nt}function yc(t){return nc(t)&&Ol(t)==oe}function vc(t){return nc(t)&&vr(t)==ie}function gc(t){if(!t)return[];if(Ua(t))return pc(t)?X(t):Co(t);if(Es&&t[Es])return U(t[Es]());var e=Ol(t);return(e==Kt?$:e==te?K:Yc)(t)}function bc(t){return t?(t=xc(t))===Et||t===-Et?(t<0?-1:1)*zt:t===t?t:0:0===t?t:0}function _c(t){var e=bc(t),n=e%1;return e===e?n?e-n:e:0}function mc(t){return t?Un(_c(t),0,Ct):0}function xc(t){if("number"==typeof t)return t;if(dc(t))return Rt;if(ec(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ec(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(ze,"");var n=Ue.test(t);return n||Ge.test(t)?Dn(t.slice(2),n?2:8):qe.test(t)?Rt:+t}function wc(t){return Mo(t,Lc(t))}function jc(t){return t?Un(_c(t),-It,It):0===t?t:0}function Oc(t){return null==t?"":lo(t)}function kc(t,e){var n=ll(t);return null==e?n:Wn(n,e)}function Pc(t,e){return m(t,bi(e,3),lr)}function Ac(t,e){return m(t,bi(e,3),pr)}function Sc(t,e){return null==t?t:hl(t,bi(e,3),Lc)}function Tc(t,e){return null==t?t:yl(t,bi(e,3),Lc)}function Ec(t,e){return t&&lr(t,bi(e,3))}function Ic(t,e){return t&&pr(t,bi(e,3))}function zc(t){return null==t?[]:dr(t,Bc(t))}function Rc(t){return null==t?[]:dr(t,Lc(t))}function Cc(t,e,n){var r=null==t?nt:hr(t,e);return r===nt?n:r}function Mc(t,e){return null!=t&&ki(t,e,br)}function Wc(t,e){return null!=t&&ki(t,e,_r)}function Bc(t){return Ua(t)?wn(t):Wr(t)}function Lc(t){return Ua(t)?wn(t,!0):Br(t)}function Dc(t,e){var n={};return e=bi(e,3),lr(t,function(t,r,o){Nn(n,e(t,r,o),t)}),n}function Nc(t,e){var n={};return e=bi(e,3),lr(t,function(t,r,o){Nn(n,r,e(t,r,o))}),n}function Fc(t,e){return qc(t,Ta(bi(e)))}function qc(t,e){if(null==t)return{};var n=d(yi(t),function(t){return[t]});return e=bi(e),Kr(t,n,function(t,n){return e(t,n[0])})}function Uc(t,e,n){e=wo(e,t);var r=-1,o=e.length;for(o||(o=1,t=nt);++r<o;){var i=null==t?nt:t[Yi(e[r])];i===nt&&(r=o,i=n),t=Xa(i)?i.call(t):i}return t}function $c(t,e,n){return null==t?t:ro(t,e,n)}function Gc(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:ro(t,e,n,r)}function Vc(t,e,n){var r=hp(t),o=r||vp(t)||xp(t);if(e=bi(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:ec(t)&&Xa(i)?ll(ks(t)):{}}return(o?a:lr)(t,function(t,r,o){return e(n,t,r,o)}),n}function Kc(t,e){return null==t||ho(t,e)}function Hc(t,e,n){return null==t?t:yo(t,e,xo(n))}function Zc(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:yo(t,e,xo(n),r)}function Yc(t){return null==t?[]:C(t,Bc(t))}function Jc(t){return null==t?[]:C(t,Lc(t))}function Xc(t,e,n){return n===nt&&(n=e,e=nt),n!==nt&&(n=xc(n),n=n===n?n:0),e!==nt&&(e=xc(e),e=e===e?e:0),Un(xc(t),e,n)}function Qc(t,e,n){return e=bc(e),n===nt?(n=e,e=0):n=bc(n),t=xc(t),mr(t,e,n)}function tf(t,e,n){if(n&&"boolean"!=typeof n&&zi(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=bc(t),e===nt?(e=t,t=0):e=bc(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Ks();return $s(t+o*(e-t+Ln("1e-"+((o+"").length-1))),e)}return Jr(t,e)}function ef(t){return Kp(Oc(t).toLowerCase())}function nf(t){return(t=Oc(t))&&t.replace(Ke,er).replace(kn,"")}function rf(t,e,n){t=Oc(t),e=lo(e);var r=t.length;n=n===nt?r:Un(_c(n),0,r);var o=n;return(n-=e.length)>=0&&t.slice(n,o)==e}function of(t){return t=Oc(t),t&&je.test(t)?t.replace(xe,nr):t}function uf(t){return t=Oc(t),t&&Ie.test(t)?t.replace(Ee,"\\$&"):t}function af(t,e,n){t=Oc(t),e=_c(e);var r=e?J(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Qo(Bs(o),n)+t+Qo(Ws(o),n)}function cf(t,e,n){t=Oc(t),e=_c(e);var r=e?J(t):0;return e&&r<e?t+Qo(e-r,n):t}function ff(t,e,n){t=Oc(t),e=_c(e);var r=e?J(t):0;return e&&r<e?Qo(e-r,n)+t:t}function sf(t,e,n){return n||null==e?e=0:e&&(e=+e),Vs(Oc(t).replace(Re,""),e||0)}function lf(t,e,n){return e=(n?zi(t,e,n):e===nt)?1:_c(e),Qr(Oc(t),e)}function pf(){var t=arguments,e=Oc(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function df(t,e,n){return n&&"number"!=typeof n&&zi(t,e,n)&&(e=n=nt),(n=n===nt?Ct:n>>>0)?(t=Oc(t),t&&("string"==typeof e||null!=e&&!_p(e))&&!(e=lo(e))&&F(t)?jo(X(t),0,n):t.split(e,n)):[]}function hf(t,e,n){return t=Oc(t),n=null==n?0:Un(_c(n),0,t.length),e=lo(e),t.slice(n,n+e.length)==e}function yf(t,e,r){var o=n.templateSettings;r&&zi(t,e,r)&&(e=nt),t=Oc(t),e=Pp({},e,o,ai);var i,u,a=Pp({},e.imports,o.imports,ai),c=Bc(a),f=C(a,c),s=0,l=e.interpolate||He,p="__p += '",d=us((e.escape||He).source+"|"+l.source+"|"+(l===Pe?Ne:He).source+"|"+(e.evaluate||He).source+"|$","g"),h="//# sourceURL="+(hs.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++In+"]")+"\n";t.replace(d,function(e,n,r,o,a,c){return r||(r=o),p+=t.slice(s,c).replace(Ze,D),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),a&&(u=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=c+e.length,e}),p+="';\n";var y=hs.call(e,"variable")&&e.variable;y||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(ge,""):p).replace(be,"$1").replace(_e,"$1;"),p="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Hp(function(){return rs(c,h+"return "+p).apply(nt,f)});if(v.source=p,Ya(v))throw v;return v}function vf(t){return Oc(t).toLowerCase()}function gf(t){return Oc(t).toUpperCase()}function bf(t,e,n){if((t=Oc(t))&&(n||e===nt))return t.replace(ze,"");if(!t||!(e=lo(e)))return t;var r=X(t),o=X(e);return jo(r,W(r,o),B(r,o)+1).join("")}function _f(t,e,n){if((t=Oc(t))&&(n||e===nt))return t.replace(Ce,"");if(!t||!(e=lo(e)))return t;var r=X(t);return jo(r,0,B(r,X(e))+1).join("")}function mf(t,e,n){if((t=Oc(t))&&(n||e===nt))return t.replace(Re,"");if(!t||!(e=lo(e)))return t;var r=X(t);return jo(r,W(r,X(e))).join("")}function xf(t,e){var n=Ot,r=kt;if(ec(e)){var o="separator"in e?e.separator:o;n="length"in e?_c(e.length):n,r="omission"in e?lo(e.omission):r}t=Oc(t);var i=t.length;if(F(t)){var u=X(t);i=u.length}if(n>=i)return t;var a=n-J(r);if(a<1)return r;var c=u?jo(u,0,a).join(""):t.slice(0,a);if(o===nt)return c+r;if(u&&(a+=c.length-a),_p(o)){if(t.slice(a).search(o)){var f,s=c;for(o.global||(o=us(o.source,Oc(Fe.exec(o))+"g")),o.lastIndex=0;f=o.exec(s);)var l=f.index;c=c.slice(0,l===nt?a:l)}}else if(t.indexOf(lo(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r}function wf(t){return t=Oc(t),t&&we.test(t)?t.replace(me,rr):t}function jf(t,e,n){return t=Oc(t),e=n?nt:e,e===nt?q(t)?et(t):_(t):t.match(e)||[]}function Of(t){var e=null==t?0:t.length,n=bi();return t=e?d(t,function(t){if("function"!=typeof t[1])throw new cs(it);return[n(t[0]),t[1]]}):[],to(function(n){for(var r=-1;++r<e;){var o=t[r];if(i(o[0],this,n))return i(o[1],this,n)}})}function kf(t){return Vn($n(t,ft))}function Pf(t){return function(){return t}}function Af(t,e){return null==t||t!==t?e:t}function Sf(t){return t}function Tf(t){return Mr("function"==typeof t?t:$n(t,ft))}function Ef(t){return Nr($n(t,ft))}function If(t,e){return Fr(t,$n(e,ft))}function zf(t,e,n){var r=Bc(e),o=dr(e,r);null!=n||ec(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=dr(e,Bc(e)));var i=!(ec(n)&&"chain"in n&&!n.chain),u=Xa(t);return a(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=Co(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,h([this.value()],arguments))})}),t}function Rf(){return qn._===this&&(qn._=_s),this}function Cf(){}function Mf(t){return t=_c(t),to(function(e){return $r(e,t)})}function Wf(t){return Ri(t)?P(Yi(t)):Hr(t)}function Bf(t){return function(e){return null==t?nt:hr(t,e)}}function Lf(){return[]}function Df(){return!1}function Nf(){return{}}function Ff(){return""}function qf(){return!0}function Uf(t,e){if((t=_c(t))<1||t>It)return[];var n=Ct,r=$s(t,Ct);e=bi(e),t-=Ct;for(var o=I(r,e);++n<t;)e(n);return o}function $f(t){return hp(t)?d(t,Yi):dc(t)?[t]:Co(Tl(Oc(t)))}function Gf(t){var e=++ys;return Oc(t)+e}function Vf(t){return t&&t.length?ar(t,Sf,gr):nt}function Kf(t,e){return t&&t.length?ar(t,bi(e,2),gr):nt}function Hf(t){return k(t,Sf)}function Zf(t,e){return k(t,bi(e,2))}function Yf(t){return t&&t.length?ar(t,Sf,Lr):nt}function Jf(t,e){return t&&t.length?ar(t,bi(e,2),Lr):nt}function Xf(t){return t&&t.length?E(t,Sf):0}function Qf(t,e){return t&&t.length?E(t,bi(e,2)):0}e=null==e?qn:or.defaults(qn.Object(),e,or.pick(qn,En));var ts=e.Array,es=e.Date,ns=e.Error,rs=e.Function,os=e.Math,is=e.Object,us=e.RegExp,as=e.String,cs=e.TypeError,fs=ts.prototype,ss=rs.prototype,ls=is.prototype,ps=e["__core-js_shared__"],ds=ss.toString,hs=ls.hasOwnProperty,ys=0,vs=function(){var t=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),gs=ls.toString,bs=ds.call(is),_s=qn._,ms=us("^"+ds.call(hs).replace(Ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xs=Gn?e.Buffer:nt,ws=e.Symbol,js=e.Uint8Array,Os=xs?xs.allocUnsafe:nt,ks=G(is.getPrototypeOf,is),Ps=is.create,As=ls.propertyIsEnumerable,Ss=fs.splice,Ts=ws?ws.isConcatSpreadable:nt,Es=ws?ws.iterator:nt,Is=ws?ws.toStringTag:nt,zs=function(){try{var t=xi(is,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rs=e.clearTimeout!==qn.clearTimeout&&e.clearTimeout,Cs=es&&es.now!==qn.Date.now&&es.now,Ms=e.setTimeout!==qn.setTimeout&&e.setTimeout,Ws=os.ceil,Bs=os.floor,Ls=is.getOwnPropertySymbols,Ds=xs?xs.isBuffer:nt,Ns=e.isFinite,Fs=fs.join,qs=G(is.keys,is),Us=os.max,$s=os.min,Gs=es.now,Vs=e.parseInt,Ks=os.random,Hs=fs.reverse,Zs=xi(e,"DataView"),Ys=xi(e,"Map"),Js=xi(e,"Promise"),Xs=xi(e,"Set"),Qs=xi(e,"WeakMap"),tl=xi(is,"create"),el=Qs&&new Qs,nl={},rl=Ji(Zs),ol=Ji(Ys),il=Ji(Js),ul=Ji(Xs),al=Ji(Qs),cl=ws?ws.prototype:nt,fl=cl?cl.valueOf:nt,sl=cl?cl.toString:nt,ll=function(){function t(){}return function(e){if(!ec(e))return{};if(Ps)return Ps(e);t.prototype=e;var n=new t;return t.prototype=nt,n}}();n.templateSettings={escape:Oe,evaluate:ke,interpolate:Pe,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=ll(r.prototype),o.prototype.constructor=o,b.prototype=ll(r.prototype),b.prototype.constructor=b,tt.prototype.clear=Le,tt.prototype.delete=Ye,tt.prototype.get=Je,tt.prototype.has=Xe,tt.prototype.set=Qe,tn.prototype.clear=en,tn.prototype.delete=nn,tn.prototype.get=rn,tn.prototype.has=on,tn.prototype.set=un,an.prototype.clear=cn,an.prototype.delete=fn,an.prototype.get=sn,an.prototype.has=ln,an.prototype.set=pn,dn.prototype.add=dn.prototype.push=hn,dn.prototype.has=yn,vn.prototype.clear=gn,vn.prototype.delete=bn,vn.prototype.get=_n,vn.prototype.has=mn,vn.prototype.set=xn;var pl=No(lr),dl=No(pr,!0),hl=Fo(),yl=Fo(!0),vl=el?function(t,e){return el.set(t,e),t}:Sf,gl=zs?function(t,e){return zs(t,"toString",{configurable:!0,enumerable:!1,value:Pf(e),writable:!0})}:Sf,bl=to,_l=Rs||function(t){return qn.clearTimeout(t)},ml=Xs&&1/K(new Xs([,-0]))[1]==Et?function(t){return new Xs(t)}:Cf,xl=el?function(t){return el.get(t)}:Cf,wl=Ls?function(t){return null==t?[]:(t=is(t),s(Ls(t),function(e){return As.call(t,e)}))}:Lf,jl=Ls?function(t){for(var e=[];t;)h(e,wl(t)),t=ks(t);return e}:Lf,Ol=vr;(Zs&&Ol(new Zs(new ArrayBuffer(1)))!=ae||Ys&&Ol(new Ys)!=Kt||Js&&Ol(Js.resolve())!=Jt||Xs&&Ol(new Xs)!=te||Qs&&Ol(new Qs)!=oe)&&(Ol=function(t){var e=vr(t),n=e==Yt?t.constructor:nt,r=n?Ji(n):"";if(r)switch(r){case rl:return ae;case ol:return Kt;case il:return Jt;case ul:return te;case al:return oe}return e});var kl=ps?Xa:Df,Pl=Hi(vl),Al=Ms||function(t,e){return qn.setTimeout(t,e)},Sl=Hi(gl),Tl=function(t){var e=Sa(t,function(t){return n.size===at&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Te,function(t,n,r,o){e.push(r?o.replace(De,"$1"):n||t)}),e}),El=to(function(t,e){return $a(t)?ir(t,sr(e,1,$a,!0)):[]}),Il=to(function(t,e){var n=bu(e);return $a(n)&&(n=nt),$a(t)?ir(t,sr(e,1,$a,!0),bi(n,2)):[]}),zl=to(function(t,e){var n=bu(e);return $a(n)&&(n=nt),$a(t)?ir(t,sr(e,1,$a,!0),nt,n):[]}),Rl=to(function(t){var e=d(t,mo);return e.length&&e[0]===t[0]?xr(e):[]}),Cl=to(function(t){var e=bu(t),n=d(t,mo);return e===bu(n)?e=nt:n.pop(),n.length&&n[0]===t[0]?xr(n,bi(e,2)):[]}),Ml=to(function(t){var e=bu(t),n=d(t,mo);return e="function"==typeof e?e:nt,e&&n.pop(),n.length&&n[0]===t[0]?xr(n,nt,e):[]}),Wl=to(xu),Bl=di(function(t,e){var n=null==t?0:t.length,r=Fn(t,e);return Yr(t,d(e,function(t){return Ii(t,n)?+t:t}).sort(Eo)),r}),Ll=to(function(t){return po(sr(t,1,$a,!0))}),Dl=to(function(t){var e=bu(t);return $a(e)&&(e=nt),po(sr(t,1,$a,!0),bi(e,2))}),Nl=to(function(t){var e=bu(t);return e="function"==typeof e?e:nt,po(sr(t,1,$a,!0),nt,e)}),Fl=to(function(t,e){return $a(t)?ir(t,e):[]}),ql=to(function(t){return bo(s(t,$a))}),Ul=to(function(t){var e=bu(t);return $a(e)&&(e=nt),bo(s(t,$a),bi(e,2))}),$l=to(function(t){var e=bu(t);return e="function"==typeof e?e:nt,bo(s(t,$a),nt,e)}),Gl=to(Uu),Vl=to(function(t){var e=t.length,n=e>1?t[e-1]:nt;return n="function"==typeof n?(t.pop(),n):nt,$u(t,n)}),Kl=di(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Fn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof b&&Ii(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Zu,args:[i],thisArg:nt}),new o(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(nt),t})):this.thru(i)}),Hl=Lo(function(t,e,n){hs.call(t,n)?++t[n]:Nn(t,n,1)}),Zl=Ko(cu),Yl=Ko(fu),Jl=Lo(function(t,e,n){hs.call(t,n)?t[n].push(e):Nn(t,n,[e])}),Xl=to(function(t,e,n){var r=-1,o="function"==typeof e,u=Ua(t)?ts(t.length):[];return pl(t,function(t){u[++r]=o?i(e,t,n):jr(t,e,n)}),u}),Ql=Lo(function(t,e,n){Nn(t,n,e)}),tp=Lo(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ep=to(function(t,e){if(null==t)return[];var n=e.length;return n>1&&zi(t,e[0],e[1])?e=[]:n>2&&zi(e[0],e[1],e[2])&&(e=[e[0]]),Gr(t,sr(e,1),[])}),np=Cs||function(){return qn.Date.now()},rp=to(function(t,e,n){var r=ht;if(n.length){var o=V(n,gi(rp));r|=_t}return ui(t,r,e,n,o)}),op=to(function(t,e,n){var r=ht|yt;if(n.length){var o=V(n,gi(op));r|=_t}return ui(e,r,t,n,o)}),ip=to(function(t,e){return tr(t,1,e)}),up=to(function(t,e,n){return tr(t,xc(e)||0,n)});Sa.Cache=an;var ap=bl(function(t,e){e=1==e.length&&hp(e[0])?d(e[0],R(bi())):d(sr(e,1),R(bi()));var n=e.length;return to(function(r){for(var o=-1,u=$s(r.length,n);++o<u;)r[o]=e[o].call(this,r[o]);return i(t,this,r)})}),cp=to(function(t,e){return ui(t,_t,nt,e,V(e,gi(cp)))}),fp=to(function(t,e){return ui(t,mt,nt,e,V(e,gi(fp)))}),sp=di(function(t,e){return ui(t,wt,nt,nt,nt,e)}),lp=ni(gr),pp=ni(function(t,e){return t>=e}),dp=Or(function(){return arguments}())?Or:function(t){return nc(t)&&hs.call(t,"callee")&&!As.call(t,"callee")},hp=ts.isArray,yp=Hn?R(Hn):kr,vp=Ds||Df,gp=Zn?R(Zn):Pr,bp=Yn?R(Yn):Tr,_p=Jn?R(Jn):zr,mp=Xn?R(Xn):Rr,xp=Qn?R(Qn):Cr,wp=ni(Lr),jp=ni(function(t,e){return t<=e}),Op=Do(function(t,e){if(Bi(e)||Ua(e))return Mo(e,Bc(e),t),nt;for(var n in e)hs.call(e,n)&&Tn(t,n,e[n])}),kp=Do(function(t,e){Mo(e,Lc(e),t)}),Pp=Do(function(t,e,n,r){Mo(e,Lc(e),t,r)}),Ap=Do(function(t,e,n,r){Mo(e,Bc(e),t,r)}),Sp=di(Fn),Tp=to(function(t,e){t=is(t);var n=-1,r=e.length,o=r>2?e[2]:nt;for(o&&zi(e[0],e[1],o)&&(r=1);++n<r;)for(var i=e[n],u=Lc(i),a=-1,c=u.length;++a<c;){var f=u[a],s=t[f];(s===nt||qa(s,ls[f])&&!hs.call(t,f))&&(t[f]=i[f])}return t}),Ep=to(function(t){return t.push(nt,ci),i(Mp,nt,t)}),Ip=Yo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=gs.call(e)),t[e]=n},Pf(Sf)),zp=Yo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=gs.call(e)),hs.call(t,e)?t[e].push(n):t[e]=[n]},bi),Rp=to(jr),Cp=Do(function(t,e,n){qr(t,e,n)}),Mp=Do(function(t,e,n,r){qr(t,e,n,r)}),Wp=di(function(t,e){var n={};if(null==t)return n;var r=!1;e=d(e,function(e){return e=wo(e,t),r||(r=e.length>1),e}),Mo(t,yi(t),n),r&&(n=$n(n,ft|st|lt,fi));for(var o=e.length;o--;)ho(n,e[o]);return n}),Bp=di(function(t,e){return null==t?{}:Vr(t,e)}),Lp=ii(Bc),Dp=ii(Lc),Np=$o(function(t,e,n){return e=e.toLowerCase(),t+(n?ef(e):e)}),Fp=$o(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),qp=$o(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Up=Uo("toLowerCase"),$p=$o(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Gp=$o(function(t,e,n){return t+(n?" ":"")+Kp(e)}),Vp=$o(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Kp=Uo("toUpperCase"),Hp=to(function(t,e){try{return i(t,nt,e)}catch(t){return Ya(t)?t:new ns(t)}}),Zp=di(function(t,e){return a(e,function(e){e=Yi(e),Nn(t,e,rp(t[e],t))}),t}),Yp=Ho(),Jp=Ho(!0),Xp=to(function(t,e){return function(n){return jr(n,t,e)}}),Qp=to(function(t,e){return function(n){return jr(t,n,e)}}),td=Xo(d),ed=Xo(f),nd=Xo(g),rd=ei(),od=ei(!0),id=Jo(function(t,e){return t+e},0),ud=oi("ceil"),ad=Jo(function(t,e){return t/e},1),cd=oi("floor"),fd=Jo(function(t,e){return t*e},1),sd=oi("round"),ld=Jo(function(t,e){return t-e},0);return n.after=xa,n.ary=wa,n.assign=Op,n.assignIn=kp,n.assignInWith=Pp,n.assignWith=Ap,n.at=Sp,n.before=ja,n.bind=rp,n.bindAll=Zp,n.bindKey=op,n.castArray=Wa,n.chain=Ku,n.chunk=tu,n.compact=eu,n.concat=nu,n.cond=Of,n.conforms=kf,n.constant=Pf,n.countBy=Hl,n.create=kc,n.curry=Oa,n.curryRight=ka,n.debounce=Pa,n.defaults=Tp,n.defaultsDeep=Ep,n.defer=ip,n.delay=up,n.difference=El,n.differenceBy=Il,n.differenceWith=zl,n.drop=ru,n.dropRight=ou,n.dropRightWhile=iu,n.dropWhile=uu,n.fill=au,n.filter=oa,n.flatMap=ia,n.flatMapDeep=ua,n.flatMapDepth=aa,n.flatten=su,n.flattenDeep=lu,n.flattenDepth=pu,n.flip=Aa,n.flow=Yp,n.flowRight=Jp,n.fromPairs=du,n.functions=zc,n.functionsIn=Rc,n.groupBy=Jl,n.initial=vu,n.intersection=Rl,n.intersectionBy=Cl,n.intersectionWith=Ml,n.invert=Ip,n.invertBy=zp,n.invokeMap=Xl,n.iteratee=Tf,n.keyBy=Ql,n.keys=Bc,n.keysIn=Lc,n.map=la,n.mapKeys=Dc,n.mapValues=Nc,n.matches=Ef,n.matchesProperty=If,n.memoize=Sa,n.merge=Cp,n.mergeWith=Mp,n.method=Xp,n.methodOf=Qp,n.mixin=zf,n.negate=Ta,n.nthArg=Mf,n.omit=Wp,n.omitBy=Fc,n.once=Ea,n.orderBy=pa,n.over=td,n.overArgs=ap,n.overEvery=ed,n.overSome=nd,n.partial=cp,n.partialRight=fp,n.partition=tp,n.pick=Bp,n.pickBy=qc,n.property=Wf,n.propertyOf=Bf,n.pull=Wl,n.pullAll=xu,n.pullAllBy=wu,n.pullAllWith=ju,n.pullAt=Bl,n.range=rd,n.rangeRight=od,n.rearg=sp,n.reject=ya,n.remove=Ou,n.rest=Ia,n.reverse=ku,n.sampleSize=ga,n.set=$c,n.setWith=Gc,n.shuffle=ba,n.slice=Pu,n.sortBy=ep,n.sortedUniq=Ru,n.sortedUniqBy=Cu,n.split=df,n.spread=za,n.tail=Mu,n.take=Wu,n.takeRight=Bu,n.takeRightWhile=Lu,n.takeWhile=Du,n.tap=Hu,n.throttle=Ra,n.thru=Zu,n.toArray=gc,n.toPairs=Lp,n.toPairsIn=Dp,n.toPath=$f,n.toPlainObject=wc,n.transform=Vc,n.unary=Ca,n.union=Ll,n.unionBy=Dl,n.unionWith=Nl,n.uniq=Nu,n.uniqBy=Fu,n.uniqWith=qu,n.unset=Kc,n.unzip=Uu,n.unzipWith=$u,n.update=Hc,n.updateWith=Zc,n.values=Yc,n.valuesIn=Jc,n.without=Fl,n.words=jf,n.wrap=Ma,n.xor=ql,n.xorBy=Ul,n.xorWith=$l,n.zip=Gl,n.zipObject=Gu,n.zipObjectDeep=Vu,n.zipWith=Vl,n.entries=Lp,n.entriesIn=Dp,n.extend=kp,n.extendWith=Pp,zf(n,n),n.add=id,n.attempt=Hp,n.camelCase=Np,n.capitalize=ef,n.ceil=ud,n.clamp=Xc,n.clone=Ba,n.cloneDeep=Da,n.cloneDeepWith=Na,n.cloneWith=La,n.conformsTo=Fa,n.deburr=nf,n.defaultTo=Af,n.divide=ad,n.endsWith=rf,n.eq=qa,n.escape=of,n.escapeRegExp=uf,n.every=ra,n.find=Zl,n.findIndex=cu,n.findKey=Pc,n.findLast=Yl,n.findLastIndex=fu,n.findLastKey=Ac,n.floor=cd,n.forEach=ca,n.forEachRight=fa,n.forIn=Sc,n.forInRight=Tc,n.forOwn=Ec,n.forOwnRight=Ic,n.get=Cc,n.gt=lp,n.gte=pp,n.has=Mc,n.hasIn=Wc,n.head=hu,n.identity=Sf,n.includes=sa,n.indexOf=yu,n.inRange=Qc,n.invoke=Rp,n.isArguments=dp,n.isArray=hp,n.isArrayBuffer=yp,n.isArrayLike=Ua,n.isArrayLikeObject=$a,n.isBoolean=Ga,n.isBuffer=vp,n.isDate=gp,n.isElement=Va,n.isEmpty=Ka,n.isEqual=Ha,n.isEqualWith=Za,n.isError=Ya,n.isFinite=Ja,n.isFunction=Xa,n.isInteger=Qa,n.isLength=tc,n.isMap=bp,n.isMatch=rc,n.isMatchWith=oc,n.isNaN=ic,n.isNative=uc,n.isNil=cc,n.isNull=ac,n.isNumber=fc,n.isObject=ec,n.isObjectLike=nc,n.isPlainObject=sc,n.isRegExp=_p,n.isSafeInteger=lc,n.isSet=mp,n.isString=pc,n.isSymbol=dc,n.isTypedArray=xp,n.isUndefined=hc,n.isWeakMap=yc,n.isWeakSet=vc,n.join=gu,n.kebabCase=Fp,n.last=bu,n.lastIndexOf=_u,n.lowerCase=qp,n.lowerFirst=Up,n.lt=wp,n.lte=jp,n.max=Vf,n.maxBy=Kf,n.mean=Hf,n.meanBy=Zf,n.min=Yf,n.minBy=Jf,n.stubArray=Lf,n.stubFalse=Df,n.stubObject=Nf,n.stubString=Ff,n.stubTrue=qf,n.multiply=fd,n.nth=mu,n.noConflict=Rf,n.noop=Cf,n.now=np,n.pad=af,n.padEnd=cf,n.padStart=ff,n.parseInt=sf,n.random=tf,n.reduce=da,n.reduceRight=ha,n.repeat=lf,n.replace=pf,n.result=Uc,n.round=sd,n.runInContext=t,n.sample=va,n.size=_a,n.snakeCase=$p,n.some=ma,n.sortedIndex=Au,n.sortedIndexBy=Su,n.sortedIndexOf=Tu,n.sortedLastIndex=Eu,n.sortedLastIndexBy=Iu,n.sortedLastIndexOf=zu,n.startCase=Gp,n.startsWith=hf,n.subtract=ld,n.sum=Xf,n.sumBy=Qf,n.template=yf,n.times=Uf,n.toFinite=bc,n.toInteger=_c,n.toLength=mc,n.toLower=vf,n.toNumber=xc,n.toSafeInteger=jc,n.toString=Oc,n.toUpper=gf,n.trim=bf,n.trimEnd=_f,n.trimStart=mf,n.truncate=xf,n.unescape=wf,n.uniqueId=Gf,n.upperCase=Vp,n.upperFirst=Kp,n.each=ca,n.eachRight=fa,n.first=hu,zf(n,function(){var t={};return lr(n,function(e,r){hs.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.19",a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),a(["drop","take"],function(t,e){b.prototype[t]=function(n){n=n===nt?1:Us(_c(n),0);var r=this.__filtered__&&!e?new b(this):this.clone();return r.__filtered__?r.__takeCount__=$s(n,r.__takeCount__):r.__views__.push({size:$s(n,Ct),type:t+(r.__dir__<0?"Right":"")}),r},b.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==St||3==n;b.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:bi(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");b.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");b.prototype[t]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Sf)},b.prototype.find=function(t){return this.filter(t).head()},b.prototype.findLast=function(t){return this.reverse().find(t)},b.prototype.invokeMap=to(function(t,e){return"function"==typeof t?new b(this):this.map(function(n){return jr(n,t,e)})}),b.prototype.reject=function(t){return this.filter(Ta(bi(t)))},b.prototype.slice=function(t,e){t=_c(t);var n=this;return n.__filtered__&&(t>0||e<0)?new b(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==nt&&(e=_c(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},b.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},b.prototype.toArray=function(){return this.take(Ct)},lr(b.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),u=n[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);u&&(n.prototype[e]=function(){var e=this.__wrapped__,c=i?[1]:arguments,f=e instanceof b,s=c[0],l=f||hp(e),p=function(t){var e=u.apply(n,h([t],c));return i&&d?e[0]:e};l&&r&&"function"==typeof s&&1!=s.length&&(f=l=!1);var d=this.__chain__,y=!!this.__actions__.length,v=a&&!d,g=f&&!y;if(!a&&l){e=g?e:new b(this);var _=t.apply(e,c);return _.__actions__.push({func:Zu,args:[p],thisArg:nt}),new o(_,d)}return v&&g?t.apply(this,c):(_=this.thru(p),v?i?_.value()[0]:_.value():_)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var e=fs[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(o&&!this.__chain__){var n=this.value();return e.apply(hp(n)?n:[],t)}return this[r](function(n){return e.apply(hp(n)?n:[],t)})}}),lr(b.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";hs.call(nl,o)||(nl[o]=[]),nl[o].push({name:e,func:r})}}),nl[Zo(nt,yt).name]=[{name:"wrapper",func:nt}],b.prototype.clone=A,b.prototype.reverse=Z,b.prototype.value=Q,n.prototype.at=Kl,n.prototype.chain=Yu,n.prototype.commit=Ju,n.prototype.next=Xu,n.prototype.plant=ta,n.prototype.reverse=ea,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=na,n.prototype.first=n.prototype.head,Es&&(n.prototype[Es]=Qu),n}();qn._=or,void 0!==(o=function(){return or}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(43),n(12)(t))},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(P.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return S||P.curry&&n>1?W(e,n):e}function y(t,e,n){if(P.fixed&&(T||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function v(t,e,n){return P.rearg&&n>1&&(E||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=M(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||N(c)||D(c)||F(c)||(u[a]=M(n==o?c:Object(c))),u=u[a]}return i}function b(t){return H.runInContext.convert(t)(void 0)}function _(t,e){var n=s.aliasToReal[t]||t,r=s.remap[n]||n,o=p;return function(t){var i=O?I:z,u=O?I[r]:e,a=C(C({},o),t);return f(i,n,u,a)}}function m(t,e){return w(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return w(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function w(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=P.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function j(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):P.immutable&&(s.mutate.array[o]?a=c(e,i):s.mutate.object[o]?a=c(e,u(e)):s.mutate.set[o]&&(a=c(e,g))),B(V,function(t){return B(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?y(o,v(o,a,t),t):v(o,y(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=S?W(r,1):function(){return e.apply(this,arguments)}),r.convert=_(o,e),r.placeholder=e.placeholder=n,r}var O="function"==typeof e,k=e===Object(e);if(k&&(p=n,n=e,e=void 0),null==n)throw new TypeError;p||(p={});var P={cap:!("cap"in p)||p.cap,curry:!("curry"in p)||p.curry,fixed:!("fixed"in p)||p.fixed,immutable:!("immutable"in p)||p.immutable,rearg:!("rearg"in p)||p.rearg},A=O?n:l,S="curry"in p&&p.curry,T="fixed"in p&&p.fixed,E="rearg"in p&&p.rearg,I=O?n.runInContext():void 0,z=O?n:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},R=z.ary,C=z.assign,M=z.clone,W=z.curry,B=z.forEach,L=z.isArray,D=z.isError,N=z.isFunction,F=z.isWeakMap,q=z.keys,U=z.rearg,$=z.toInteger,G=z.toPath,V=q(s.aryMethod),K={castArray:function(t){return function(){var e=arguments[0];return L(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return P.cap&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:o(r,n)):r}},mixin:function(t){return function(e){var n=this;if(!N(n))return t(n,Object(e));var r=[];return B(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),B(r,function(t){var e=t[1];N(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]}),n}},nthArg:function(t){return function(e){var n=e<0?1:$(e)+1;return W(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return W(t(e,n),r)}},runInContext:function(e){return function(n){return f(t,e(n),p)}}};if(!k)return j(e,n,A);var H=n,Z=[];return B(V,function(t){B(s.aryMethod[t],function(t){var e=H[s.remap[t]||t];e&&Z.push([t,j(t,e,H)])})}),B(q(H),function(t){var e=H[t];if("function"==typeof e){for(var n=Z.length;n--;)if(Z[n][0]==t)return;e.convert=_(t,e),Z.push([t,e])}}),B(Z,function(t){H[t[0]]=t[1]}),H.convert=b,H.placeholder=H,B(q(H),function(t){B(s.realToAlias[t]||[],function(e){H[e]=H[t]})}),H}var s=n(454),l=n(455),p=Array.prototype.push;t.exports=f},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var i=n[o];t.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(t,e){t.exports={}},function(t,e){t.exports=Morph.modules["bbc-morph-bitesize-global-navigation-view@1.46.0"]},function(t,e){t.exports=Morph.modules["bbc-morph-bitesize-messaging-view@1.35.1"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.HeaderImageContainer=void 0;var o=r(n(0)),i=(r(n(38)),r(n(459))),u=function(t){var e=t.children,n=t.fosZid,r=t.className,u=t.ariaHidden;return o.default.createElement("div",{className:(0,i.default)("header-image-container","header-image-container--".concat(n||"homepage"),r),"aria-hidden":u},o.default.createElement("div",{className:"header-image-container__wrap"},e))};e.HeaderImageContainer=u,u.defaultProps={className:"",fosZid:"",ariaHidden:!1};var a=u;e.default=a},function(t,e,n){var r,o;!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var u=n.apply(null,r);u&&t.push(u)}else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?(n.default=n,t.exports=n):(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(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),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function c(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?s(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var d=r(n(0)),h=(r(n(38)),r(n(194))),y=r(n(195)),v=r(n(466)),g={height:{desktop:40,mobile:32},width:{desktop:600}},b=function(t){function e(t){var n;return i(this,e),n=c(this,f(e).call(this,t)),n.state={isOrbVisible:!0,windowWidth:0,message:null},n.currentTimer=null,n.setOrbVisibilityState=n.setOrbVisibilityState.bind(s(n)),n.handleResize=n.handleResize.bind(s(n)),n.setMessage=n.setMessage.bind(s(n)),n.clearMessage=n.clearMessage.bind(s(n)),n}return l(e,t),a(e,[{key:"componentDidMount",value:function(){var t=this;this.handleResize(),this.setState({message:""}),window.addEventListener?(window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.setOrbVisibilityState)):(window.attachEvent("scroll",this.setOrbVisibilityState),document.body.onresize=function(){return t.handleResize()})}},{key:"componentWillReceiveProps",value:function(t){this.setMessage(t.message,t.isError)}},{key:"componentWillUnmount",value:function(){window.removeEventListener?(window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.setOrbVisibilityState)):(window.detachEvent("scroll",this.setOrbVisibilityState),document.body.onresize=function(){})}},{key:"setMessage",value:function(t,e){var n=this;this.setState({message:t,isError:e}),""!==t&&(window.clearTimeout(this.currentTimer),this.currentTimer=setTimeout(function(){n.clearMessage()},5e3))}},{key:"setOrbVisibilityState",value:function(){var t=this.state.windowWidth<g.width.desktop?g.height.mobile:g.height.desktop,e=window.scrollY||window.pageYOffset||document.documentElement.scrollTop,n=e<t;n!==this.state.isOrbVisible&&this.setState({isOrbVisible:n})}},{key:"clearMessage",value:function(){this.currentTimer&&(window.clearTimeout(this.currentTimer),this.currentTimer=null,this.setState({message:""}),this.props.notificationClearedAction())}},{key:"handleResize",value:function(){this.state.windowWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.setOrbVisibilityState()}},{key:"render",value:function(){if(!this.state.message)return null;var t=["bitesize__notification-bar"];return this.state.isOrbVisible&&t.push("bitesize__notification-orb-visible"),this.state.message&&t.push("bitesize__notification-active"),this.state.isError&&t.push("bitesize__notification-error"),d.default.createElement("div",{className:t.join(" ")},d.default.createElement("div",{className:"bitesize__notification-wrap"},d.default.createElement("div",{className:"bitesize__notification-bar__inner"},d.default.createElement("span",{className:"bitesize__notification-icon--error"},d.default.createElement(v.default,null)),d.default.createElement("p",{role:"alert","aria-live":"assertive",className:"bitesize__notification-text"},this.state.message),d.default.createElement("button",{className:"bitesize__notification-dismiss-button",type:"button",onClick:this.clearMessage},d.default.createElement("span",{className:"bitesize__notification-icon"},d.default.createElement(h.default,null)),d.default.createElement("span",{className:"bitesize__notification-icon--hover"},d.default.createElement(y.default,null))))))}}]),e}(d.default.Component);b.defaultProps={isError:null};var _=b;e.default=_,t.exports=e.default},function(t,e,n){var r=n(31)("meta"),o=n(30),i=n(17),u=n(15).f,a=0,c=Object.isExtensible||function(){return!0},f=!n(23)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";s(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;s(t)}return t[r].w},d=function(t){return f&&h.NEED&&c(t)&&!i(t,r)&&s(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},function(t,e,n){var r=n(24),o=n(77),i=n(57);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,a=n(t),c=i.f,f=0;a.length>f;)c.call(t,u=a[f++])&&e.push(u);return e}},function(t,e,n){var r=n(139);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(25),o=n(193).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},function(t,e,n){var r=n(57),o=n(53),i=n(25),u=n(74),a=n(17),c=n(135),f=Object.getOwnPropertyDescriptor;e.f=n(16)?f:function(t,e){if(t=i(t),e=u(e,!0),c)try{return f(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"32px",height:"32px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32",xmlSpace:"preserve",ref:function(e){t.node=e}},p.default.createElement("g",{id:"Grid"}),p.default.createElement("g",{id:"Layer_2"},p.default.createElement("g",null,p.default.createElement("path",{d:"M16,2L0,30h32L16,2z M18,27h-4v-4h4V27z M14,21V11h4v10H14z"}))))}}]),e}(p.default.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){var r=n(468),o=n(470),i=o(function(t,e,n){r(t,n,e)});t.exports=i},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(469);t.exports=r},function(t,e,n){var r=n(13),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){function r(t,e){return function(n,r){var c=a(n)?o:i,f=e?e():{};return c(n,t,u(r,2),f)}}var o=n(471),i=n(472),u=n(70),a=n(5);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}t.exports=n},function(t,e,n){function r(t,e,n,r){return o(t,function(t,o,i){e(r,t,n(t),i)}),r}var o=n(473);t.exports=r},function(t,e,n){var r=n(474),o=n(477),i=o(r);t.exports=i},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(475),i=n(28);t.exports=r},function(t,e,n){var r=n(476),o=r();t.exports=o},function(t,e){function n(t){return function(e,n,r){for(var o=-1,i=Object(e),u=r(e),a=u.length;a--;){var c=u[t?a:++o];if(!1===n(i[c],c,i))break}return e}}t.exports=n},function(t,e,n){function r(t,e){return function(n,r){if(null==n)return n;if(!o(n))return t(n,r);for(var i=n.length,u=e?i:-1,a=Object(n);(e?u--:++u<i)&&!1!==r(a[u],u,a););return n}}var o=n(41);t.exports=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{className:"bitesize-add-svg",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(e){t.node=e}},p.default.createElement("polygon",{points:"31.5,13.5 18.5,13.5 18.5,0.5 13.5,0.5 13.5,13.5 0.5,13.5 0.5,18.5 13.5,18.5 13.5,31.5 18.5,31.5 18.5,18.5 31.5,18.5"}))}}]),e}(p.default.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{className:"bitesize-yes-svg",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"31.8px",height:"32px",viewBox:"0 0 31.8 32",enableBackground:"new 0 0 31.8 32",ref:function(e){t.svg=e}},p.default.createElement("polygon",{points:"12.8,28.9 31.8,6.3 28,3.1 12.2,21.9 3.2,14.4 0,18.2 \t"}))}}]),e}(p.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(e){t.svg=e}},p.default.createElement("path",{d:"M32 3.5L28.5 0 16 12.5 3.5 0 0 3.5 12.5 16 0 28.5 3.5 32 16 19.5 28.5 32l3.5-3.5L19.5 16z"}))}}]),e}(p.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(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),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function c(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?s(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var d=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(0)),h=(r(n(38)),r(n(194))),y=r(n(195)),v=r(n(196)),g=function(t){function e(t){var n;return i(this,e),n=c(this,f(e).call(this,t)),n.state={visible:!1},n.closeToolTip=n.closeToolTip.bind(s(n)),n.handleKeyPress=n.handleKeyPress.bind(s(n)),n.toggleToolTip=n.toggleToolTip.bind(s(n)),n}return l(e,t),a(e,[{key:"componentWillUnmount",value:function(){this.removeCloseEventListeners()}},{key:"setupCloseEventListeners",value:function(){document.addEventListener("keydown",this.handleKeyPress)}},{key:"removeCloseEventListeners",value:function(){document.removeEventListener("keydown",this.handleKeyPress)}},{key:"closeToolTip",value:function(){this.removeCloseEventListeners(),this.setState({visible:!1})}},{key:"handleKeyPress",value:function(t){"Escape"===t.key&&(this.removeCloseEventListeners(),this.setState({visible:!1}))}},{key:"toggleToolTip",value:function(){this.removeCloseEventListeners(),this.setupCloseEventListeners(),this.setState(function(t){return{visible:!t.visible}})}},{key:"render",value:function(){var t=this.state.visible,e=this.props.buttonContent;return d.default.createElement("div",null,t&&d.default.createElement("div",{className:"bitesize-tooltip-popup__background",onClick:this.closeToolTip,"aria-hidden":"true"}),d.default.createElement("div",{className:"bitesize-tooltip-popup__container"},d.default.createElement(v.default,{onClick:this.toggleToolTip},e),t&&d.default.createElement("div",{className:"bitesize-tooltip-popup__popup-box"},d.default.createElement("p",{className:"bitesize-tooltip-popup__title",aria:"assertive"},this.props.title),d.default.createElement("p",{className:"bitesize-tooltip-popup__text",aria:"assertive"},this.props.text),d.default.createElement("div",{className:"bitesize-tooltip-popup__cta-container"},this.props.body),d.default.createElement("button",{type:"button",className:"bitesize-tooltip-popup__closebutton",onClick:this.closeToolTip},d.default.createElement("span",{className:"bitesize-tooltip-popup__close-icon"},d.default.createElement(h.default,null)),d.default.createElement("span",{className:"bitesize-tooltip-popup__close-icon--hover"},d.default.createElement(y.default,null))))))}}]),e}(d.Component),b=g;e.default=b,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(189);var r=n(190),o=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"blue",i="".concat((0,r.getIdHost)(),"/idcta/init?ptrt=").concat(n,"&lang=").concat(t,"&purpose=").concat(e,"&context=").concat("bitesize","&pathway=").concat("bitesize","&buttonSize=").concat("small","&buttonColour=").concat(o);return fetch(i).then(function(t){return t.json()})};e.default=o,t.exports=e.default},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(e){t.svg=e}},p.default.createElement("path",{d:"M29.8 8l-3.5 2c1 1.8 1.6 3.8 1.6 6 0 6.6-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4V0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16c0-2.9-.8-5.6-2.2-8z"}))}}]),e}(p.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"CopyLinkBox",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Facebook",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Pinterest",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"SharePanel",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Twitter",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"WhatsApp",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Yummly",{enumerable:!0,get:function(){return s.default}});var o=r(n(485)),i=r(n(489)),u=r(n(491)),a=r(n(492)),c=r(n(495)),f=r(n(496)),s=r(n(497))},function(t,e,n){"use strict";var r=n(109),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(110)),u=o(n(111)),a=o(n(112)),c=o(n(113)),f=o(n(114)),s=r(n(0)),l=n(0).PropTypes||n(6),p=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,c.default)(e).call(this,t)),n.state={copied:!1},n}return(0,f.default)(e,t),(0,u.default)(e,[{key:"handleCopyUrl",value:function(){try{this.inputElement.select(),document.execCommand("copy"),this.setState({copied:!0})}catch(t){}}},{key:"render",value:function(){var t=this,e=this.props,n=e.copiedText,r=e.shareText,o=e.onClickCallback,i=e.link,u=e.position,a=this.state.copied;return s.default.createElement("div",{className:"ec-share-copy-link","data-bbc-container":"Share Tools","data-bbc-title":"Copy Link","data-bbc-metadata":JSON.stringify({CHD:"copy-link:: ".concat(u)})},s.default.createElement("label",{className:"ec-share-copy-link__text"},a?n:r),s.default.createElement("input",{className:"ec-share-copy-link__input",onClick:function(){o&&o(),t.handleCopyUrl()},readOnly:!0,ref:function(e){t.inputElement=e},type:"text",value:i}))}}]),e}(s.Component);p.defaultProps={shareText:"Copy and share link",copiedText:"Copied!"},p.propTypes={link:l.string.isRequired,copiedText:l.string,shareText:l.string,onClickCallback:l.func,position:l.number.isRequired};var d=p;e.default=d},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e,n){"use strict";function r(){}function o(){}var i=n(488);o.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,o,u){if(u!==i){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:o,resetWarningCache:r};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(39),u=r(n(40)),a=n(0).PropTypes||n(6),c=o.default.createElement("svg",{focusable:"false",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M12.1 32V17H8v-5.4h4.1V7c0-3.6 2.4-7 8-7 2.2 0 3.9.2 3.9.2l-.1 5.1h-3.6c-2 0-2.3.9-2.3 2.4v3.9h6l-.3 5.4H18v15h-5.9z"})),f=function(t){var e=t.caption,n=t.description,r=t.link,a=t.name,f=t.picture,s=t.standalone,l=t.onClickCallback,p=t.position;return o.default.createElement(u.default,{icon:c,name:"Facebook",standalone:s,onClick:function(){l&&l();var t="https://web.archive.org/web/20200804200456/https://www.facebook.com/dialog/feed?app_id=58567469885&redirect_uri=http%3A%2F%2Fwww.bbc.co.uk%2Fmodules%2Fshare%2Fclose&display=popup";n&&(t+="&description=".concat(encodeURIComponent(n))),e&&(t+="&caption=".concat(encodeURIComponent(e))),f&&(t+="&picture=".concat(encodeURIComponent(f))),a&&(t+="&name=".concat(encodeURIComponent(a))),t+="&link=".concat(encodeURIComponent(r)),(0,i.openWindow)(t)},position:p})};f.propTypes={link:a.string.isRequired,description:a.string,picture:a.string,name:a.string,caption:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e){function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=n},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(39),u=r(n(40)),a=n(0).PropTypes||n(6),c=o.default.createElement("svg",{focusable:"false",viewBox:"-3 -3 82 82"},o.default.createElement("path",{d:"M27.5 71c3.3 1 6.7 1.6 10.3 1.6C57 72.6 72.6 57 72.6 37.8 72.6 18.6 57 3 37.8 3 18.6 3 3 18.6 3 37.8c0 14.8 9.3 27.5 22.4 32.5-.3-2.7-.6-7.2 0-10.3l4-17.2s-1-2-1-5.2c0-4.8 3-8.4 6.4-8.4 3 0 4.4 2.2 4.4 5 0 3-2 7.3-3 11.4C35.6 49 38 52 41.5 52c6.2 0 11-6.6 11-16 0-8.3-6-14-14.6-14-9.8 0-15.6 7.3-15.6 15 0 3 1 6 2.6 8 .3.2.3.5.2 1l-1 3.8c0 .6-.4.8-1 .4-4.4-2-7-8.3-7-13.4 0-11 7.8-21 22.8-21 12 0 21.3 8.6 21.3 20 0 12-7.4 21.6-18 21.6-3.4 0-6.7-1.8-7.8-4L32 61.7c-.8 3-3 7-4.5 9.4z"})),f=function(t){var e=t.link,n=t.media,r=t.standalone,a=t.onClickCallback,f=t.position;return o.default.createElement(u.default,{icon:c,name:"Pinterest",standalone:r,onClick:function(){a&&a(),(0,i.openWindow)("".concat("https://web.archive.org/web/20200804200456/https://www.pinterest.com/pin/create/button","?url=").concat(e).concat(n?"&media=".concat(encodeURIComponent(n)):""))},position:f})};f.propTypes={link:a.string.isRequired,media:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e,n){"use strict";var r=n(109),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(110)),u=o(n(111)),a=o(n(112)),c=o(n(113)),f=o(n(198)),s=o(n(114)),l=r(n(0)),p=o(n(67)),d=o(n(493)),h=o(n(494)),y=n(0).PropTypes||n(6),v=function(t){return[].concat(t)},g=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,c.default)(e).call(this,t)),n.closeSharePanel=n.closeSharePanel.bind((0,f.default)(n)),n.handleFocusOut=n.handleFocusOut.bind((0,f.default)(n)),n.state={isOpen:!1},n}return(0,s.default)(e,t),(0,u.default)(e,[{key:"toggleSharePanel",value:function(t){this.setState({isOpen:!this.state.isOpen}),t.stopPropagation(),t.preventDefault()}},{key:"closeSharePanel",value:function(t){this.state.isOpen&&!this.sharePanel.contains(t.target)&&this.setState({isOpen:!1})}},{key:"handleFocusOut",value:function(t){this.closeSharePanel({target:t.relatedTarget||t.target})}},{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.closeSharePanel),document.addEventListener("touchstart",this.closeSharePanel),document.addEventListener("focusout",this.handleFocusOut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.closeSharePanel),document.removeEventListener("touchstart",this.closeSharePanel),document.removeEventListener("focusout",this.handleFocusOut)}},{key:"render",value:function(){var t=this,e=this.props,n=e.className,r=e.children,o=e.ctaText,i=e.headerText,u=e.readMoreText,a=e.shareButtonComponent,c=e.onClickCallback;return l.default.createElement("div",{className:(0,p.default)("ec-share-tools",n),ref:function(e){t.sharePanel=e}},l.default.createElement(a,{className:"ec-share-tools__open-button",active:this.state.isOpen,onButtonClick:function(e){c&&c(),t.toggleSharePanel(e)},ctaText:o}),l.default.createElement("div",{className:(0,p.default)({"ec-share-panel":!0,"ec-share-panel--open":this.state.isOpen})},l.default.createElement("div",{className:"ec-share-panel__header"},l.default.createElement("span",{className:"ec-share-panel__header-text"},i),l.default.createElement(d.default,{onClick:function(e){return t.toggleSharePanel(e)}})),l.default.createElement("div",{className:"ec-share-panel__body"},l.default.createElement("ul",{className:"ec-share-panel__items"},v(r).map(function(t,e){return l.default.createElement("li",{key:e,className:"ec-share-panel__item"},t)}),l.default.createElement("li",{className:"ec-share-panel__item"},l.default.createElement("a",{className:"ec-share-panel__read-more-link",href:"https://web.archive.org/web/20200804200456/http://www.bbc.co.uk/faqs/questions/bbc_online/sharing"},u))))))}}]),e}(l.Component);g.defaultProps={children:[],ctaText:"Share",direction:"up",headerText:"Share this with",isOpen:!1,readMoreText:"Read more about sharing.",shareButtonComponent:h.default},g.propTypes={direction:y.string,children:y.node,className:y.string,ctaText:y.string,headerText:y.string,isOpen:y.bool,readMoreText:y.string,shareButtonComponent:y.func,onClickCallback:y.func};var b=g;e.default=b},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(0).PropTypes||n(6),u=function(t){var e=t.onClick;return o.default.createElement("button",{className:"ec-share-panel__close-button",onClick:e},o.default.createElement("span",{className:"ec-share-panel__close-button-icon"},o.default.createElement("svg",{focusable:"false",viewBox:"0 0 32 32",width:"16",height:"16"},o.default.createElement("path",{d:"M32 3.5L28.5 0 16 12.5 3.5 0 0 3.5 12.5 16 0 28.5 3.5 32 16 19.5 28.5 32l3.5-3.5L19.5 16"}))))};u.propTypes={onClick:i.func.isRequired};var a=u;e.default=a},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=r(n(67)),u=n(0).PropTypes||n(6),a=function(t){var e=t.children;return o.default.createElement("span",null,o.default.createElement("span",{className:"ec-share-icon__svg"},o.default.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M6.8 22.2c1.6 0 3-.7 4-1.8l9 4.8c-.1.4-.2.8-.2 1.3 0 3 2.5 5.5 5.5 5.5s5.5-2.4 5.5-5.5-2.5-5.5-5.5-5.5c-1.6 0-3 .7-4 1.8l-9.5-5.2-.1-2.8 9.7-5.5c1 1 2.3 1.5 3.8 1.5 3 0 5.5-2.5 5.5-5.5S28.2 0 25.2 0s-5.5 2.4-5.5 5.5c0 .6.1 1.1.2 1.6l-9.3 5.7c-1-.9-2.3-1.5-3.8-1.5-3 0-5.5 2.4-5.5 5.5.1 2.9 2.5 5.4 5.5 5.4z"}))),o.default.createElement("span",{className:"ec-share-cta-text"},e))};a.propTypes={children:u.node.isRequired};var c=function(t){var e=t.active,n=t.ctaText,r=t.onButtonClick;return o.default.createElement("button",{className:(0,i.default)({"ec-share-button":!0,"ec-share-button__share":!0,"ec-share-button__share--open":e}),onClick:r,"data-bbc-container":"Share Tools","data-bbc-title":"Share Icon"},o.default.createElement(a,null,n))};c.defaultProps={active:!1},c.propTypes={active:u.bool,ctaText:u.string.isRequired,onButtonClick:u.func.isRequired};var f=c;e.default=f},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(39),u=r(n(40)),a=n(0).PropTypes||n(6),c=o.default.createElement("svg",{focusable:"false",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M32 6.1c-1.2.5-2.4.9-3.8 1 1.4-.8 2.4-2.1 2.9-3.6-1.3.8-2.7 1.3-4.2 1.6C25.7 3.8 24 3 22.2 3c-3.6 0-6.6 2.9-6.6 6.6 0 .5.1 1 .2 1.5-5.5-.3-10.3-2.9-13.6-6.9-.6 1-.9 2.1-.9 3.3 0 2.3 1.2 4.3 2.9 5.5-1.1 0-2.1-.3-3-.8v.1c0 3.2 2.3 5.8 5.3 6.4-.6.1-1.1.2-1.7.2-.4 0-.8 0-1.2-.1.8 2.6 3.3 4.5 6.1 4.6-2.2 1.8-5.1 2.8-8.2 2.8-.5 0-1.1 0-1.6-.1 3 1.8 6.5 2.9 10.2 2.9 12.1 0 18.7-10 18.7-18.7v-.9c1.2-.9 2.3-2 3.2-3.3z"})),f=function(t){var e=t.text,n=t.hashTags,r=t.link,a=t.via,f=t.standalone,s=t.onClickCallback,l=t.position;return o.default.createElement(u.default,{icon:c,name:"Twitter",standalone:f,onClick:function(){s&&s();var t="".concat("https://web.archive.org/web/20200804200456/https://twitter.com/intent/tweet","?url=").concat(r);e&&(t+="&text=".concat(encodeURIComponent(e))),n&&(t+="&hashtags=".concat(n.join(","))),a&&(t+="&via=".concat(a)),(0,i.openWindow)(t)},position:l})};f.propTypes={text:a.string,hashTags:a.arrayOf(a.string),link:a.string.isRequired,via:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(39),u=r(n(40)),a=n(0).PropTypes||n(6),c=o.default.createElement("svg",{focusable:"false",viewBox:"0 0 24 24"},o.default.createElement("path",{d:"M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z"})),f=function(t){var e=t.link,n=t.via,r=t.standalone,a=t.onClickCallback,f=t.position;return o.default.createElement(u.default,{icon:c,name:"WhatsApp",standalone:r,onClick:function(){a&&a();var t="".concat(window.innerWidth<=600?"https://web.archive.org/web/20200804200456/https://api.whatsapp.com/send":"https://web.archive.org/web/20200804200456/https://web.whatsapp.com/send","?text=").concat(encodeURIComponent(e));n&&(t+="&via=".concat(encodeURIComponent("".concat(n)))),(0,i.openWindow)(t)},position:f})};f.propTypes={link:a.string.isRequired,via:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(39),u=r(n(40)),a=n(0).PropTypes||n(6),c=o.default.createElement("svg",{focusable:"false",viewBox:"-3 0 29 29"},o.default.createElement("path",{d:"m23.55,22c0,-0.2 -0.2,-0.3 -0.3,-0.3c-0.3,-0.1 -0.5,0 -1.3,-0.4c-0.6,-0.3 -3.5,-1.7 -7.5,-2.1l2.9,-16.4c0.1,-0.7 0.1,-1.3 -0.1,-1.7c-0.3,-0.6 -1.1,-0.7 -1.9,-0.6c-0.7,0.1 -1.2,0.3 -1.3,0.4s-0.2,0.2 -0.2,0.4c0,0.3 0.3,0.6 0.1,1.7c0,0.3 -1,5.5 -1.8,10c-2.1,1.3 -4.9,1.9 -5.5,1.1c-0.3,-0.4 -0.2,-1.1 0.1,-2.2c0.1,-0.2 1.3,-4.9 1.6,-6.3c0.7,-2.6 0.2,-4.9 -2.5,-5.2c-2.3,-0.2 -4.5,1.1 -5.2,1.9c-0.5,0.5 -0.3,1.1 0.1,1.9c0.3,0.6 0.8,1 0.9,1c0.1,0.1 0.3,0.1 0.4,0c0.8,-0.9 2.2,-1.5 2.7,-1.1c0.4,0.4 0.3,1 0.1,1.7c0,0 -1.5,5.6 -2.1,8c-0.4,1.7 0,3.3 1.3,4.1c0.9,0.6 2.3,0.5 3.4,0.4c2.4,-0.3 3.8,-1.3 4,-1.5c-0.3,1.5 -0.4,2.5 -0.4,2.5s-2.7,0.2 -4.9,1.6c-2.9,1.7 -4.1,5.7 -2.2,7.8c1.9,2.1 5.1,1.3 6.5,0.4c1.3,-0.9 2.9,-2.7 3.7,-6.8c4.4,0.2 5.5,2.5 7.4,2.6c1.2,-0.2 2.1,-1.5 2,-2.9zm-15,4c-0.6,0.4 -1.3,0.4 -1.7,0c-0.4,-0.5 -0.5,-3.1 3.6,-3.8c0,-0.1 -0.7,3 -1.9,3.8z",id:"svg_8"})),f=function(t){var e=t.link,n=t.title,r=t.image,a=t.standalone,f=t.onClickCallback,s=t.position;return o.default.createElement(u.default,{icon:c,name:"Yummly",standalone:a,onClick:function(){f&&f();var t="".concat("https://web.archive.org/web/20200804200456/http://www.yummly.com/urb/verify","?url=").concat(encodeURIComponent(e));n&&(t+="&title=".concat(encodeURIComponent("".concat(n)))),r&&(t+="&image=".concat(encodeURIComponent("".concat(r)))),(0,i.openWindow)(t)},position:s})};f.propTypes={link:a.string.isRequired,title:a.string,image:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e,n){"use strict";function r(t,e){return u(t)||i(t,e)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function i(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}function u(t){if(Array.isArray(t))return t}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(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),Object.defineProperty(t,r.key,r)}}function l(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var p={primary:{universal:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-primary.js",geography:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-geography.js","english-lit":"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lit.js","english-lang":"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lang.js",language:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-language.js",maths:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-maths.js",science:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-science.js"},secondary:{universal:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-secondary.js",geography:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-geography.js","english-lit":"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lit.js","english-lang":"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lang.js",language:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-language.js",maths:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-maths.js",science:"https://web.archive.org/web/20200804200456/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-science.js"}},d={zt3rkqt:"english-lang",z2f3cdm:"geography",zkxhfg8:"language",z426n39:"language",zc7xpv4:"language",z86pyrd:"language",zrqmhyc:"language",z9mtsbk:"language",zjpfb9q:"language",z9frq6f:"language",z3cr9j6:"language",zqnygk7:"language",z8rdtfr:"english-lit",zhbc87h:"english-lit",zy9d7ty:"english-lit",z6vg9j6:"maths",z37qtfr:"maths",z7nygk7:"science",z2svr82:"science",zmf3cdm:"science",zxyb4wx:"science"},h=function(t){return d[t]?d[t]:null},y=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f(this,t);var o={opacity:1,opacityTransition:.5,scale:1};this.config=a({},o,n),this.svg=e.cloneNode(!0);var i=this.svg.getAttribute("viewBox").split(" "),u=r(i,4),c=u[2],s=u[3];this.baseWidth=c,this.baseHeight=s,this.opacity=this.config.opacity,this.opacityTransition=this.config.opacityTransition,this.scale=this.config.scale,this.svg.setAttribute("focusable","false"),this.hide()}return l(t,[{key:"hasPosition",value:function(){return!!this.config.position}},{key:"show",value:function(){this.svg.style.display="block",this.svg.style.opacity=this.opacity}},{key:"fadeIn",value:function(){var t=this;requestAnimationFrame(function(){t.svg.style.display="block",requestAnimationFrame(function(){t.svg.style.opacity=t.opacity})})}},{key:"hide",value:function(){this.svg.style.display="none",this.svg.style.opacity=0}},{key:"opacity",get:function(){return this.config.opacity},set:function(t){this.config.opacity=t,this.svg.style.opacity=t}},{key:"opacityTransition",get:function(){return this.config.opacityTransition},set:function(t){this.config.opacityTransition=t,this.svg.style.transitionDuration="".concat(t,"s")}},{key:"position",get:function(){return this.config.position},set:function(t){var e=r(t,2),n=e[0],o=e[1],i="string"==typeof n?n:"".concat(n.toString(),"px"),u="string"==typeof o?o:"".concat(o.toString(),"px");this.config.position=[i,u],this.svg.style.left="".concat(n,"px"),this.svg.style.top="".concat(o,"px")}},{key:"scale",get:function(){return this.config.scale},set:function(t){this.config.scale=t,this.svg.style.width="".concat(this.baseWidth*t,"px"),this.svg.style.height="".concat(this.baseHeight*t,"px")}}]),t}(),v=function(t){return t%2==0},g=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},b=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=[],n=0;n<t;n++)e.push(n);return e},_=function(){function t(e,n){f(this,t),this.parentElement=e,this.sparkSource=n,this.sparks=[]}return l(t,[{key:"getRandomSpark",value:function(){return this.sparkSource[g(0,this.sparkSource.length-1)]}},{key:"addSparkStylesheet",value:function(){if(!document.getElementById("spark-styles")){var t=document.createElement("style");t.id="spark-styles",t.textContent="\n .bitesize-spark-background {\n z-index: -1;\n overflow: hidden;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .bitesize-spark {\n display: none;\n opacity: 0;\n position: absolute;\n transition-property: opacity;\n transition-timing-function: ease-in;\n }\n ",document.head.appendChild(t)}}},{key:"initialize",value:function(){var t=document.createElement("div");t.classList.add("bitesize-spark-background");for(var e=0;e<100;e++){var n=this.getRandomSpark(),r=new y(n,{opacityTransition:g(200,500)/1e3,scale:g(25,75)/100});this.sparks[e]=r}this.sparks.forEach(function(e){return t.appendChild(e.svg)});var o=window.getComputedStyle(this.parentElement),i=o.backgroundColor,u=o.backgroundImage,a=o.backgroundPosition,c=o.backgroundSize,f=o.backgroundRepeat;t.style.backgroundColor=i,t.style.backgroundImage=u,t.style.backgroundPosition=a,t.style.backgroundSize=c,t.style.backgroundRepeat=f,this.addSparkStylesheet(),this.parentElement.appendChild(t),this.parentElement.style.background="none"}},{key:"distribute",value:function(){var t=this;if(window.matchMedia("(max-width: 600px)").matches)return void this.hideAllSparks();var e={horizontalSlots:Math.floor(this.parentElement.clientWidth/128),verticalSlots:Math.floor(this.parentElement.clientHeight/64)},n=b(e.horizontalSlots),r=b(e.verticalSlots);n.map(function(t){return r}).map(function(t,e){return t.filter(function(t){return v(t)===v(e)})}).map(function(t,e){return t.map(function(t){return{xCoordinate:e,yCoordinate:t}})}).reduce(function(t,e){return t.concat(e)},[]).forEach(function(e,n){var r=e.xCoordinate,o=e.yCoordinate,i=t.sparks[n];if(!i.hasPosition()){var u=128*r+g(-32,32)+64+16,a=64*o+g(-32,32)+32;i.position=[u,a]}i.fadeIn()})}},{key:"hideAllSparks",value:function(){this.sparks.forEach(function(t){return t.hide()})}}]),t}(),m=function(t){return"secondary"===t||"post-16"===t?"secondary":"primary"},x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"primary",e=arguments.length>1?arguments[1]:void 0,n=e?"".concat(t,"-").concat(e):t,r="#bitesize-sparks-".concat(n," > svg");return document.querySelectorAll(r)},w=function(t){t.initialize(),t.distribute(),window.addEventListener("resize",function(){t.distribute()})};window.mrSparkle=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.zid?h(t.zid):null,n=document.querySelector(t.selector);if(null!==n){var r=m(t.phase),o=x(r,e);if(o.length){var i=new _(n,o);w(i)}else{var u=p[r][e||"universal"];window.require([u],function(){o=x(r,e);var t=new _(n,o);w(t)})}}}},function(t,e,n){"use strict";var r={"en-GB":{label:"All levels",description:"Learning resources for adults, children, parents and teachers organised by level, subject and topic."},"cy-GB":{label:"Pob lefel",description:"Adnoddau Dysgu ar gyfer oedolion, plant, rhieni ac athrawon yn ol lefel, pwnc ac is-bynciau."},"ga-GB":{label:"Gach leibhéil",description:"Acmhainní foghlama do dhaoine fásta, páistí, tuismitheoirí agus múinteoirí eagraithe de réir leibhéil, ábhair agus topaice."},"gd-GB":{label:"Na h-ìrean air fad",description:"Goireasan foghlaim dha inbhich, clann, pàrantan is tidsearan le fiosrachadh mu ìre, cuspair agus fo-chuspair."}};t.exports=function(t){var e=r[t]||r["en-GB"];return{label:e.label,fosZid:"",description:e.description}}},function(t,e,n){function r(t,e,n){t=a(t),e=i(e);var r=t.length;n=void 0===n?r:o(u(n),0,r);var c=n;return(n-=e.length)>=0&&t.slice(n,c)==e}var o=n(501),i=n(134),u=n(69),a=n(133);t.exports=r},function(t,e){function n(t,e,n){return t===t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}t.exports=n}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-article-data/preview/undefined/projectName/blocks-bitesize/timestamp/undefined/version/5.8.0/zid/z7s992p', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"modifiedDateTime":"2020-07-23T14:32:16.618Z","id":"z7s992p","type":"article","headline":"Be social media smart: Is seeing believing?","pageTitle":"Be social media smart: Is seeing believing?","synopsis":"BBC newsreader Tina Daheley looks at how to check what can and can’t be believed.","blocksGrid":[[{"id":"zkcmmfr","type":"text-block","colspan":3}],[{"id":"zmy88xs","type":"video-block","colspan":3}],[{"id":"zj8hhbk","type":"text-block","colspan":3}],[{"id":"zd966v4","type":"text-block","colspan":3}],[{"id":"znmrrj6","type":"text-block","colspan":3}],[{"id":"zkqvvk7","type":"promo-block","colspan":1},{"id":"zb8nnrd","type":"promo-block","colspan":1},{"id":"z7n88xs","type":"promo-block","colspan":1}],[{"id":"zvgmmfr","type":"promo-block","colspan":3}]],"depictionImagePid":"p08lmpzt","topics":[],"tags":[{"label":"Support","url":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/things\/e27c4e16-8ff9-458c-9adf-0406b3cbbee3#id"},{"label":"Fact or fake","url":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/things\/ac17fc1d-3401-42cb-98a0-ddbd82535840#id"}],"depictionImageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p08lmpzt.jpg","preview":false}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-level/version/3.1.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":[{"id":"z4js6v4","type":"keyStage","label":"Cyfnod Sylfaen","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":3,"upperAge":7,"phase":"Primary"},{"id":"zf7hgwx","type":"keyStage","label":"Early level","description":"Early Level is a stage of Scotland’s Curriculum for Excellence, usually for children aged 3 to 6 years in Pre-School or Primary 1.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":3,"upperAge":6,"phase":"Primary"},{"id":"zxybmsg","type":"keyStage","label":"Foundation Phase","description":"Foundation Phase is the statutory curriculum for primary school pupils aged 3 to 7 in Wales.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":3,"upperAge":7,"phase":"Primary"},{"id":"znyh7nb","type":"keyStage","label":"Foundation Stage","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":3,"upperAge":5,"phase":"Primary"},{"id":"zgckjxs","type":"keyStage","label":"1st level","description":"First Level is a stage of Scotland’s Curriculum for Excellence, usually for children aged 5 to 9 years in Primary 2, Primary 3 and Primary 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":5,"upperAge":9,"phase":"Primary"},{"id":"zk3xy9q","type":"keyStage","label":"A' Chiad Ìre","description":"Tha a’ Chiad Ìre na ceum ann an Curraicealam airson Sàr-mhathais ann an Alba, mar as trice do chlann eadar 5 agus 9 bliadhna ann an Clas 2, Clas 3 agus Clas 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":5,"upperAge":9,"phase":"Primary"},{"id":"z3g4d2p","type":"keyStage","label":"KS1","description":"Key Stage 1 is a phase of primary education for pupils aged 5 to 7 in England, or 6 to 8 in Northern Ireland.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"},{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":5,"upperAge":7,"phase":"Primary"},{"id":"zvbc87h","type":"phase","label":"Primary","description":" ","subLevelOf":"","programmesOfStudy":[],"nations":[],"lowerAge":3,"upperAge":11},{"id":"zbpwt39","type":"keyStage","label":"CA2","description":"Mae Cyfnod Allweddol 2 yn rhan o addysg gynradd ar gyfer disgyblion oed 7 i 11 yng Nghymru.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":7,"upperAge":11,"phase":"Primary"},{"id":"zbr9wmn","type":"keyStage","label":"KS2","description":"Key Stage 2 is a phase of primary education for pupils aged 7 to 11 in England and Wales.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"},{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":7,"upperAge":11,"phase":"Primary"},{"id":"zjmj92p","type":"keyStage","label":"KS2","description":"Key Stage 2 is a phase of primary education for pupils aged 8 to 11 in Northern Ireland.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":8,"upperAge":11,"phase":"Primary"},{"id":"zr48q6f","type":"keyStage","label":"2nd level","description":"Second Level is a phase of primary education in Scotland, generally for pupils aged 9 to 12.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":9,"upperAge":12,"phase":"Primary"},{"id":"z4y2scw","type":"keyStage","label":"An Dàrna Ìre","description":"Tha an Dàrna Ìre na ceum ann an Curraicealam airson Sàr-mhathais ann an Alba, mar as trice do chlann eadar 8 agus 12 bliadhna Clas 5, Clas 6 agus Clas 7.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":9,"upperAge":12,"phase":"Primary"},{"id":"zy4qn39","type":"keyStage","label":"3rd level","description":"Third Level is a phase of education in Scotland, generally for pupils aged 11 to 15, in their first three years of secondary school.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":11,"upperAge":15,"phase":"Secondary"},{"id":"zvk2fg8","type":"keyStage","label":"4th level","description":"Fourth Level is a phase of education in Scotland, generally for pupils aged 11 to 15, in their first three years of secondary school.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":11,"upperAge":15,"phase":"Secondary"},{"id":"zh6vr82","type":"keyStage","label":"CA3","description":"Mae Cyfnod Allweddol 3 yn cynrychioli’r tair blynedd cyntaf yn addysg ysgolion uwchradd Cymru, ar gyfer disgyblion 11-14 blwydd oed.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":11,"upperAge":14,"phase":"Secondary"},{"id":"z4kw2hv","type":"keyStage","label":"KS3","description":"Key Stage 3 is the first three years of secondary school education in England, Wales and Northern Ireland, for pupils aged 11 to 14.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"},{"label":"Northern Ireland","type":"nation","id":"z6bc87h"},{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":11,"upperAge":14,"phase":"Secondary"},{"id":"zqxy8mn","type":"keyStage","label":"CBC","description":"Mae Bagloriaeth Cymru (CBC) yn galluogi dysgwyr i ddeall a datblygu sgiliau hanfodol a chyflogadwyedd. Mae'n darparu cyfleoedd asesu mewn sefyllfaoedd bywyd go iawn, trwy gyfrwng tair her a phroject unigol.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z98jmp3","type":"keyStage","label":"GCSE","description":"GCSE is the qualification taken by 15 and 16 year olds to mark their graduation from the Key Stage 4 phase of secondary education in England, Northern Ireland and Wales.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"},{"label":"Northern Ireland","type":"nation","id":"z6bc87h"},{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z8hhvcw","type":"keyStage","label":"Nàiseanta 4","description":"'S e teisteanas do sgoilearan ann an Alba, a tha sa bhitheantas air a ghabhail aig ceann shuas na h-àrd-sgoile, a th' ann an Ìre Nàiseanta 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"zdpp34j","type":"keyStage","label":"Nàiseanta 5","description":"'S e teisteanas do sgoilearan ann an Alba, a tha sa bhitheantas air a ghabhail aig ceann shuas na h-àrd-sgoile, a th' ann an Ìre Nàiseanta 5.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"zp3d7ty","type":"keyStage","label":"National 4","description":"National 4 is a qualification taken by students in Scotland, generally during their secondary senior phase of education.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"z6gw2hv","type":"keyStage","label":"National 5","description":"National 5 is a qualification taken by students in Scotland, generally during their secondary senior phase of education.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"z8w76sg","type":"keyStage","label":"TGAU","description":"Cymhwyster ar gyfer disgyblion 15 -16 blwydd oed yw TGAU. Mae’r cymhwyster yn dangos bod disgyblion wedi llwyddo i gwblhau Cyfnod Allweddol 4 yn ystod eu haddysg uwchradd yng Nghymru.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z9wtgdm","type":"keyStage","label":"WBQ","description":"The Welsh Baccalaureate (WBQ) is a qualification that helps learners to understand and develop essential and employability skills. It provides opportunities for assessment in real-life contexts through three challenge briefs and an individual project.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"zyw87hv","type":"year","label":"Year 10","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"}],"lowerAge":14,"upperAge":15},{"id":"zghtfrd","type":"year","label":"Year 10","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":15},{"id":"z8vyrdm","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":14,"upperAge":15},{"id":"zqq4wxs","type":"keyStage","label":"Àrd Ìre","description":"'S e deuchainnean do sgoilearan ann an Alba a tha aig aois an sgoil fhàgail agus teisteanas inntrigidh oilthigh a th’ anns an Àrd Ìre.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":15,"upperAge":18,"phase":"Secondary"},{"id":"zkdqxnb","type":"keyStage","label":"Higher","description":"Highers are national school-leaving certificate exams and university entrance qualifications taken by 16 to 18 year olds in Scotland.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":15,"upperAge":18,"phase":"Secondary"},{"id":"zcnpv4j","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":15,"upperAge":16},{"id":"z37jxsg","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"}],"lowerAge":15,"upperAge":16},{"id":"z9fsbk7","type":"year","label":"Year 12","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":15,"upperAge":16},{"id":"zc9d7ty","type":"phase","label":"Secondary","description":" ","subLevelOf":"","programmesOfStudy":[],"nations":[],"lowerAge":11,"upperAge":18},{"id":"z66jhbk","type":"keyStage","label":"Core Skills","description":"Core Skills qualifications teach post-16 and adult learners in Scotland how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zfxmtv4#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zhh7nrd","type":"keyStage","label":"Essential Skills","description":"Essential Skills qualifications teach post-16 and adult learners in Wales how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zfxmtv4#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zvhtng8","type":"keyStage","label":"Functional Skills","description":"Functional Skills qualifications teach post-16 and adult learners in England how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20200804200456\/http:\/\/www.bbc.co.uk\/education\/levels\/zfxmtv4#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zfxmtv4","type":"phase","label":"Post-16","description":" ","subLevelOf":"","programmesOfStudy":[],"nations":[],"lowerAge":16,"upperAge":100}]}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-crumbtrail/version/2.1.2/zid/z7s992p', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":[]}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-header-view","subdirectory":"bitesize","zid":"z7s992p","partOf":"true","globalNav":"true","pageType":"blocks","language":"en-GB","version":"8.69.0","_mrrVersion":"2.0.16"},'u16097532357109956'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200804200456/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200804200456/https://push.api.bbci.co.uk/public/client' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script><script>if (!Morph.manualInit) { Morph.init(); } /* u16097532357109956 */</script><script><!-- FILE ARCHIVED ON 20:04:56 Aug 04, 2020 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 03:51:46 Dec 02, 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.527 exclusion.robots: 0.027 exclusion.robots.policy: 0.015 esindex: 0.009 cdx.remote: 16.975 LoadShardBlock: 256.059 (3) PetaboxLoader3.datanode: 223.565 (4) PetaboxLoader3.resolve: 171.329 (2) load_resource: 174.775 -->