Facebook
From Eratic Gorilla, 11 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 178
  1. <All_Comments_Dec-13-2019 on="Doctor's Orders - Carol Douglas '1974" url="https://www.youtube.com/watch?v=3KZWnYyGB0s">
  2. Doctor's Orders - Carol Douglas '1974
  3. 15,934 views
  4. •Dec 24, 2012
  5. 81
  6. 3
  7. Share
  8. Save
  9. ALL NIGHT LONG
  10. 55K subscribers
  11. Doctor's Orders - Carol Douglas '1974
  12.  
  13. Allbum ''The Carol Douglas '' 1974
  14. Category
  15. Music
  16. Music in this video
  17. Learn more
  18. Listen ad-free with YouTube Premium
  19. Song
  20. Doctor's Orders
  21. Artist
  22. Carol Douglas
  23. Album
  24. The Carol Douglas Album
  25. Licensed to YouTube by
  26. The Orchard Music, UnidiscMusic (on behalf of Unidisc Music Inc.)
  27. 9 Comments
  28. Leedus McClein
  29. Add a public comment...
  30. Marvin Buitrago
  31. Marvin Buitrago
  32. 2 years ago
  33. what can i say puro disco music, awsome.
  34. 1
  35. ETERE RADIOASCOLTO
  36. ETERE RADIOASCOLTO
  37. 5 years ago
  38. --caro dottore ho la micetta in fiamme
  39. --dategli un panino col prosciutto...
  40. Philippe Meunier
  41. Philippe Meunier
  42. 6 months ago
  43. Je L' Ai Aussi Le Single C'Est En (1974) Et Non (1975) Merci Il Y' En A Qui Sont Mal Voyants
  44. 1
  45. Angela Dm
  46. Angela Dm
  47. 5 years ago
  48. caro dott.re ho le patunie.
  49. ci sarà mai una cura per me???
  50. Henry the 8th
  51. Henry the 8th
  52. 1 month ago
  53. What a cool song !
  54. Valeria Paula
  55. Valeria Paula
  56. 4 years ago
  57. Hello
  58. Hiya honey
  59. It's me I want to see the doctor today
  60. "Cos ever since you've been gone
  61. I've had a pain deep down inside
  62. He said, there's nothing really wrong with me
  63. I'm just missing my man, so honey
  64. Please, come on home as soon as you can
  65. Doctor's orders say, there's only one thing for me
  66. Nothing he can do 'cos only you can cure me
  67. Says in my condition love's the best physician
  68. He's prescribed a potion full of warm emotion
  69. Every day a lovin' spoonful to be taken
  70. It's the only way to stop this empty heart of mine from breakin
  71. Won't get better till you're back again
  72. He told me, doctor's orders need your loving arms to hold me
  73. Darling, now I know there ain't no doubt about it
  74. I'm so hooked on your love, I can't live without it
  75. You're away but please don't treat me like a stranger
  76. Doctor's orders say, one kiss from you and I am out of danger
  77. [Musical Interlude]
  78. "Please say you understand how I feel honey
  79. I know you've got a lot of things on your mind
  80. Oh, but I'm missing you so bad
  81. Please, oh please, come on home"
  82. Doctor's orders say, there's only one thing for me
  83. Nothing he can do 'cos only you can cure me
  84. Says in my condition love's the best physician
  85. He prescribed a potion full of warm emotion
  86. Now I know there ain't no doubt about it
  87. NELHSF CALENDARS
  88. NELHSF CALENDARS
  89. 5 years ago
  90. Gallery lol
  91. sauquoit13456
  92. sauquoit13456
  93. 6 years ago
  94. On this day in 1975 {February 15th} Carol Douglas' "Doctor's Orders" reached #1 {for 1 week} on the Canadian RPM Singles chart...
  95. And on November 30th, 1974 it entered Billboard's Hot Top 100 chart; eventually it peaked at #11 and spent 16 weeks on the Top 100...
  96. It reached #2 on Billboard's Hot Dance Club Songs chart and #9 on Billboard's Hot R&B Songs chart...
  97. Ms. Douglas, aka Carolyn Strickland and Carolyn Cooke, will celebrate her 65th birthday this coming April 7th...
  98. Joe Jordan
  99. Joe Jordan
  100. 2 years ago
  101. another great disco hit disco lives forever
  102. </All_Comments_Dec-13-2019>
  103.  
  104. https://www.bbc.co.uk/bitesize/guides/zsxn82p/revision/1
  105. view-source:https://www.bbc.co.uk/bitesize/guides/zsxn82p/revision/1
  106.  
  107. <!DOCTYPE html><html lang="en-GB" class="b-header--white--black b-footer--transparent--dark-grey b-reith-sans-font"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><script>
  108.     window.optimizely = window.optimizely || [];
  109.     window.optimizely.push({"type": "cookieExpiration", "cookieExpirationDays": 365});
  110. </script><script src="https://cdn.optimizely.com/public/4621041136/s/bitesize_prod.js"></script><title>Energy changes - Revision 1 - GCSE Chemistry (Single Science) - BBC Bitesize</title><meta name="description" content="Learn how energy changes can be calculated and displayed using energy diagrams with BBC Bitesize GCSE Chemistry."><link rel="canonical" href="https://www.bbc.co.uk/bitesize/guides/zsxn82p/revision/1"><meta property="og:title" content="Energy changes - Revision 1 - GCSE Chemistry (Single Science) - BBC Bitesize"><meta property="og:description" content="Learn how energy changes can be calculated and displayed using energy diagrams with BBC Bitesize GCSE Chemistry."><meta property="og:site_name" content="BBC Bitesize"><meta property="og:locale" content="en-GB"><meta property="og:url" content="https://www.bbc.co.uk/bitesize/guides/zsxn82p/revision/1"><meta name="apple-itunes-app" content="app-id=1089215244"/><link rel="manifest" href="//m.files.bbci.co.uk/modules/bbc-morph-bitesize-title-meta/3.4.0/manifest.android.json">
  111. <script>
  112.     window.orb_fig_blocking = false
  113.     window.bbcredirection = {
  114.         geo: false,
  115.         device: false
  116.     };
  117. </script>
  118.  
  119. <!-- Environment: live -->
  120. <!-- Orbit: 3.0.0-780.5d50e4a1 -->
  121. <!-- Analytics Web Module: 0.0.2-407.0fb42af -->
  122. <!-- NavID Web Module: 0.2.0-92.e536e2f -->
  123. <!-- Detectview Web Module: 0.0.2-407.0fb42af -->
  124. <!-- Searchbox Web Module: 3.0.0-52.e652a74 -->
  125. <!-- Promo Web Module: 3.0.0-73.cc3da46 -->
  126. <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta property="fb:admins" content="100004154058350"><link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/a07e26191aed6a8725358c88df999791/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]>
  127.     <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/a07e26191aed6a8725358c88df999791/css/orb-ie-ltr.min.css">
  128.     <![endif]--><script type="text/javascript">/*<![CDATA[*/
  129.         window.orb = {
  130.             lang: 'en',
  131.             bbcBaseUrl: 'https://www.bbc.co.uk',
  132.             bbcUrlPrefix: 'https://www.',
  133.             staticHost: 'https://nav.files.bbci.co.uk/orbit/a07e26191aed6a8725358c88df999791',
  134.             figUrl: 'https://fig.bbc.co.uk/frameworks/fig/2/fig.js',
  135.             partialCookieOvenUrl: 'https://cookie-oven.api.bbc'
  136.         };
  137.  
  138.         document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js';
  139.         window.orb.worldwideNavlinks = '<li class="orb-nav-homedotcom"><a href="https://www.bbc.com/">Home</a></li><li class="orb-nav-newsdotcom"><a href="https://www.bbc.com/news">News</a></li><li class="orb-nav-sport"><a href="https://www.bbc.com/sport">Sport</a></li><li class="orb-nav-reeldotcom"><a href="https://www.bbc.com/reel">Reel</a></li><li class="orb-nav-worklife"><a href="https://www.bbc.com/worklife">Worklife</a></li><li class="orb-nav-traveldotcom"><a href="https://www.bbc.com/travel">Travel</a></li><li class="orb-nav-future"><a href="https://www.bbc.com/future">Future</a></li><li class="orb-nav-culture"><a href="https://www.bbc.com/culture">Culture</a></li><li class="orb-nav-music"><a href="https://www.bbc.com/culture/music">Music</a></li><li class="orb-nav-tv"><a href="https://www.bbc.co.uk/schedules/p00fzl9m">TV</a></li><li class="orb-nav-weather"><a href="https://www.bbc.com/weather">Weather</a></li><li class="orb-nav-sounds"><a href="https://www.bbc.co.uk/sounds">Sounds</a></li>';
  140.  
  141.  
  142.      /*]]>*/</script><script>// Promise polyfill from https://github.com/bramstein/promis
  143.         (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);}());
  144.    
  145.    
  146.         // Polyfill Event constructor for IE ref: https://jira.dev.bbc.co.uk/browse/ORBITEN-919
  147.         // see: https://stackoverflow.com/questions/26596123
  148.         (function () {
  149.           if (typeof window.CustomEvent === "function") {
  150.             return false;
  151.           }
  152.           function CustomEvent(event, params) {
  153.             params = params || { bubbles: false, cancelable: false, detail: undefined };
  154.             var evt = document.createEvent('CustomEvent');
  155.             evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
  156.             return evt;
  157.           }
  158.           CustomEvent.prototype = window.Event.prototype;
  159.           window.Event = CustomEvent;
  160.         })();
  161.    
  162.    
  163.         //Element.prototype.matches polyfill
  164.         //from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill
  165.         if (!Element.prototype.matches) {
  166.           Element.prototype.matches = Element.prototype.msMatchesSelector ||
  167.                                       Element.prototype.webkitMatchesSelector;
  168.         }
  169.         //NodeList.forEach Polyfill
  170.         //from https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill
  171.         if (window.NodeList && !NodeList.prototype.forEach) {
  172.           NodeList.prototype.forEach = Array.prototype.forEach;
  173.         }
  174.    
  175.         // Object.assign polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
  176.         if (typeof Object.assign != 'function') {
  177.           // Must be writable: true, enumerable: false, configurable: true
  178.           Object.defineProperty(Object, "assign", {
  179.             value: function assign(target, varArgs) { // .length of function is 2
  180.               'use strict';
  181.               if (target == null) { // TypeError if undefined or null
  182.                 throw new TypeError('Cannot convert undefined or null to object');
  183.               }
  184.    
  185.               var to = Object(target);
  186.    
  187.               for (var index = 1; index < arguments.length; index++) {
  188.                 var nextSource = arguments[index];
  189.    
  190.                 if (nextSource != null) { // Skip over if undefined or null
  191.                   for (var nextKey in nextSource) {
  192.                     // Avoid bugs when hasOwnProperty is shadowed
  193.                     if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
  194.                       to[nextKey] = nextSource[nextKey];
  195.                     }
  196.                   }
  197.                 }
  198.               }
  199.               return to;
  200.             },
  201.             writable: true,
  202.             configurable: true
  203.           });
  204.         }
  205.    
  206.         // window.fetch polyfill https://github.com/github/fetch/blob/v0.11.0/fetch.js - chosen for IE9 compatibility
  207.         if(typeof window.fetch !== 'function') {
  208.           (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);
  209.         }
  210.    
  211.         if (typeof window.CustomEvent !== 'function') {
  212.    
  213.           function CustomEvent(event, params) {
  214.             params = params || { bubbles: false, cancelable: false, detail: null };
  215.             var evt = document.createEvent('CustomEvent');
  216.             evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
  217.             return evt;
  218.           }
  219.    
  220.           CustomEvent.prototype = window.Event.prototype;
  221.    
  222.           window.CustomEvent = CustomEvent;
  223.    
  224.         }
  225.    
  226.         (function() {
  227.    
  228.             var language = 'en';
  229.                 language = 'en';
  230.    
  231.             var modal = false;
  232.    
  233.    
  234.             var istatsLabels = {name: 'kl.education.secondary.gcse.chemistry.energy.guides.zsxn82p.revision.page-1.page' || undefined};
  235.             istatsLabels['app_name'] = 'education';
  236.             istatsLabels['app_type'] = 'responsive';
  237.             istatsLabels['bbc_site'] = 'bitesize';
  238.             istatsLabels['bitesize_cloud'] = 'true';
  239.             istatsLabels['page_language'] = 'en-GB';
  240.             istatsLabels['page_type'] = 'study_guide';
  241.             istatsLabels['co_level'] = 'gcse';
  242.             istatsLabels['co_subject'] = 'chemistry';
  243.             istatsLabels['co_topic'] = 'energy';
  244.             istatsLabels['study_guide_id'] = 'zsxn82p';
  245.             istatsLabels['study_guide_title'] = 'energy_changes';
  246.    
  247.             function getMetaValue(propertyName) {
  248.               var metaTag = document.querySelector(
  249.                 "meta[property='" + propertyName + "'], " +
  250.                 "meta[name='" + propertyName + "']");
  251.               if (metaTag) {
  252.                 return metaTag.getAttribute("content");
  253.               } else {
  254.                 throw new Error('No meta tag called: ' + propertyName)
  255.               }
  256.             }
  257.    
  258.             function generateCountername() {
  259.                 var pathName = window.location.pathname
  260.                     .replace(/\/$/, "")
  261.                     .replace(/^\//, "")
  262.                     .replace(/\//g, '.');
  263.                 return pathName + '.page';
  264.             }
  265.    
  266.             var additionalPageProperties = {};
  267.                 additionalPageProperties['custom_var_1'] = 'other';
  268.                 additionalPageProperties['custom_var_2'] = '1';
  269.                 additionalPageProperties['custom_var_3'] = 'gcse';
  270.                 additionalPageProperties['custom_var_4'] = 'chemistry_single_science';
  271.                 additionalPageProperties['custom_var_5'] = 'energy';
  272.    
  273.             var page = {
  274.                 name: 'bitesize.gcse_chemistry_single_science.other.energy.guides.zsxn82p.revision.1.page' || istatsLabels.name || generateCountername(),
  275.                 destination: 'BITESIZE' || null,
  276.                 producer: 'BITESIZE' || null,
  277.                 section: 'learn::secondary' || null,
  278.                 site: '' || istatsLabels.bbc_site || istatsLabels.app_name || istatsLabels.prod_name || null,
  279.                 contentId: 'urn:bbc:isite2:zsxn82p' || null,
  280.                 contentType: 'article' || null,
  281.                 edition: 'domestic' || null,
  282.                 additionalProperties: additionalPageProperties
  283.             };
  284.    
  285.             function updatePageData(newData) {
  286.                 page = Object.assign(page, newData);
  287.             }
  288.    
  289.             document.addEventListener('bbc-page-reset', function(event) {
  290.                 if (event.detail && event.detail.page) {
  291.                     updatePageData(event.detail.page);
  292.                 }
  293.                 document.dispatchEvent(new Event('bbc-page-updated'));
  294.             });
  295.    
  296.             window.bbcpage = {
  297.                 loadModule: function(deps) {
  298.                     return new Promise(function (resolve, reject) {
  299.                         window.require(deps, function () {
  300.                             resolve.apply(this, arguments);
  301.                         },
  302.                         function (error) {
  303.                             reject(error);
  304.                         });
  305.                     })
  306.                 },
  307.                 loadCSS: function (url, timeout) {
  308.                     return window.bbcpage.loadModule(['orb/lib/_$'])
  309.                         .then(function($) {
  310.                             return new Promise(function(resolve, reject) {
  311.                                 var stylesheet = loadCSS(url);
  312.                                 $.onloadCSS(stylesheet, function() {
  313.                                     resolve();
  314.                                 });
  315.                                 if (timeout) {
  316.                                     setTimeout(function () { reject(); }, timeout);
  317.                                 }
  318.                             });
  319.                     });
  320.                 },
  321.                 isModal: function () {
  322.                     return modal;
  323.                 },
  324.                 getLanguage: function () {
  325.                     return new Promise(function(resolve, reject) {
  326.                         resolve(language);
  327.                     });
  328.                 },
  329.                 trackRegion: function (region, labels) {
  330.                     return window.bbcpage.loadModule(['istats-1'])
  331.                         .then(function(istats) {
  332.    
  333.                             var trackLabels = {
  334.                                 region: region
  335.                             };
  336.    
  337.                             for (var label in labels) {
  338.                                 trackLabels[label] = labels[label];
  339.                             }
  340.    
  341.                             var linkType = labels.linkType || 'internal';
  342.    
  343.                             istats.track(linkType, trackLabels);
  344.                         });
  345.                 },
  346.                 getName: function() {
  347.                     return Promise.resolve(page.name);
  348.                 },
  349.                 getDestination: function() {
  350.                     return Promise.resolve(page.destination);
  351.                 },
  352.                 getProducer: function() {
  353.                     return Promise.resolve(page.producer);
  354.                 },
  355.                 getSite: function() {
  356.                     return Promise.resolve(page.site);
  357.                 },
  358.                 getSection: function() {
  359.                     return Promise.resolve(page.section);
  360.                 },
  361.                 getContentType: function() {
  362.                     return Promise.resolve(page.contentType);
  363.                 },
  364.                 getContentId: function() {
  365.                     return Promise.resolve(page.contentId);
  366.                 },
  367.                 getEdition: function() {
  368.                   return new Promise(function (resolve, reject) {
  369.                     if (page.edition) {
  370.                       resolve(page.edition);
  371.                       return;
  372.                     }
  373.                     try {
  374.                       resolve(getMetaValue('x-audience').toLowerCase());
  375.                     } catch (err){
  376.                       // This property is related to Chartbeat; see http://support.chartbeat.com/docs/
  377.                       if (window._sf_async_config) {
  378.                         resolve(window._sf_async_config.region || null);
  379.                       }
  380.                     }
  381.                     resolve(null);
  382.                   });
  383.                 },
  384.                 getReferrer: function() {
  385.                   return Promise.resolve(window.orb && window.orb.referrer !== null && window.orb.referrer !== undefined ? window.orb.referrer : document.referrer);
  386.                 },
  387.                 getAdditionalProperties: function() {
  388.                   return Promise.resolve(page.additionalProperties);
  389.                 }
  390.             };
  391.    
  392.             var USERINFO_URL = "";
  393.             var USERINFO_PREFIX = "www." || "www.";
  394.    
  395.             function initUserCache(orbitUser) {
  396.               var availableAttr = [
  397.                 'X-Country',
  398.                 'X-Ip_is_advertise_combined',
  399.                 'X-Ip_is_uk_combined'
  400.               ];
  401.               var userCache = availableAttr.reduce(function(user, curr, i) {
  402.                 if (!orbitUser[curr]) {
  403.                   return user;
  404.                 }
  405.                 var res = Object.assign({}, user);
  406.                 res[curr] = orbitUser[curr];
  407.                 return res;
  408.               }, {});
  409.               if (Object.keys(userCache).length !== availableAttr.length) {
  410.                 userCache._partial = true;
  411.               }
  412.               return userCache;
  413.             }
  414.    
  415.             var user = initUserCache({
  416.             });
  417.    
  418.             function checkStatus(response) {
  419.               if (response.status >= 200 && response.status < 300) {
  420.                 return response;
  421.               } else {
  422.                 var error = new Error(response.statusText);
  423.                 error.response = response;
  424.                 throw error;
  425.               }
  426.             }
  427.    
  428.             function parseJSON(response) {
  429.               return response.json();
  430.             }
  431.    
  432.             var supportsCors = function() {
  433.               return typeof XMLHttpRequest !== 'undefined' &&
  434.                 'withCredentials' in new XMLHttpRequest();
  435.             };
  436.    
  437.             var getUserInfoFallback = function() {
  438.               return window.bbcpage.loadModule(['orb/fig'])
  439.                 .then(function(orbFig) {
  440.                   return new Promise(function(resolve, reject) {
  441.                     orbFig.load(function(fig) {
  442.                       var getCountryFallback = function() {
  443.                         if (fig.geo.isUK()) {
  444.                           return 'GB';
  445.                         } else if (fig.geo.isEU()) {
  446.                           return 'EU';
  447.                         }
  448.                       };
  449.                       resolve({
  450.                         'X-Country': user.country || getCountryFallback(),
  451.                         'X-Ip_is_uk_combined': fig().uk ? 'yes' : 'no',
  452.                         'X-Ip_is_advertise_combined': fig().ad ? 'yes' : 'no'
  453.                       });
  454.                     }, function () {
  455.                       reject('Error determining country. Timeout?');
  456.                     });
  457.                   });
  458.                 });
  459.             };
  460.    
  461.             var _userInfoRequest;
  462.             var getUserInfo = function() {
  463.    
  464.               var host = window.location.host.toString().match(/bbc\.com$/) ? 'bbc.com' : 'bbc.co.uk';
  465.               var userInfoUrl = USERINFO_URL || window.location.protocol + "//" + USERINFO_PREFIX + host + '/userinfo';
  466.    
  467.               if (!user._partial) {
  468.                 return Promise.resolve(user);
  469.               }
  470.    
  471.               if (!_userInfoRequest) {
  472.                 if (typeof window.fetch === 'undefined' || !supportsCors()) {
  473.                   _userInfoRequest = getUserInfoFallback();
  474.                 } else {
  475.                   _userInfoRequest = window.fetch(userInfoUrl, { credentials: 'same-origin' })
  476.                     .then(checkStatus)
  477.                     .then(parseJSON)
  478.                     .then(function(userInfo) {
  479.                       user = userInfo;
  480.                       return user;
  481.                     });
  482.                 }
  483.               }
  484.    
  485.               return _userInfoRequest;
  486.             };
  487.    
  488.             window.bbcuser = {
  489.                 getHashedId: function() {
  490.                     return window.bbcpage.loadModule(['idcta-v2/idcta-1'])
  491.                         .then(function(idcta) {
  492.                             return idcta.getCookieInstance().getHidFromCookie();
  493.                     });
  494.                 },
  495.    
  496.                 getCountry: function() {
  497.                     if (user['X-Country']) {
  498.                         return Promise.resolve(user['X-Country']);
  499.                     }
  500.                     return getUserInfo().then(function(userInfo) {
  501.                         return userInfo['X-Country'] || 'GB';
  502.                     });
  503.                 },
  504.    
  505.                 isUKCombined: function() {
  506.                     return getUserInfo().then(function(userInfo) {
  507.                         if (!userInfo['X-Ip_is_uk_combined']) {
  508.                             throw new Error('missing isUKCombined from userinfo response');
  509.                         }
  510.                         return userInfo['X-Ip_is_uk_combined'].toLowerCase() === 'yes';
  511.                     })
  512.                 },
  513.    
  514.                 canSeeAdverts: function() {
  515.                     return getUserInfo().then(function(userInfo) {
  516.                         if (!userInfo['X-Ip_is_advertise_combined']) {
  517.                             throw new Error('missing canSeeAdverts from userinfo response');
  518.                         }
  519.                         return userInfo['X-Ip_is_advertise_combined'].toLowerCase() === "yes";
  520.                     });
  521.                 },
  522.    
  523.                 isSignedIn: function() {
  524.                     return window.bbcpage.loadModule(['idcta-v2/idcta-1'])
  525.                         .then(function(idcta) {
  526.                             return (idcta && idcta.getCookieInstance().hasCookie());
  527.                         });
  528.                 },
  529.                 allowsPerformanceCookies: function() {
  530.                     return window.bbcpage.loadModule(['orb/cookies'])
  531.                             .then(function(bbccookies) {
  532.                                 return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('performance');
  533.                             });
  534.                 },
  535.                 allowsFunctionalCookies: function() {
  536.                     return window.bbcpage.loadModule(['orb/cookies'])
  537.                             .then(function(bbccookies) {
  538.                                 return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('personalisation');
  539.                             });
  540.                 },
  541.                 getCookieValue: function(cookieName) {
  542.                     return window.bbcpage.loadModule(['orb/cookies'])
  543.                             .then(function(bbccookies) {
  544.                                 return bbccookies.get(cookieName);
  545.                             });
  546.                 },
  547.                 resetCookiesPreferences: function() {
  548.                     return window.bbcpage.loadModule(['orb/cookies'])
  549.                             .then(function(bbccookies) {
  550.                                 bbccookies.setDefaultCookiesSingleDomain();
  551.                             });
  552.                 },
  553.                 hasCookiesEnabled: function() {
  554.                     return window.bbcpage.loadModule(['orb/cookies'])
  555.                             .then(function(bbccookies) {
  556.                                 return !!bbccookies.cookiesEnabled();
  557.                             });
  558.                 },
  559.                 hasSeenCookieBanner: function() {
  560.                     return window.bbcpage.loadModule(['orb/cookies'])
  561.                             .then(function (bbccookies) {
  562.                                 return !!bbccookies.isCookiePolicySet();
  563.                             });
  564.                 },
  565.                 logEvent: function (verb, noun, extraLabels) {
  566.                     return window.bbcuser.hasCookiesEnabled()
  567.                         .then(function(allowsCookies) {
  568.                             if (allowsCookies) {
  569.                                 return window.bbcpage.loadModule(['istats-1'])
  570.                                     .then(function(istats) {
  571.                                         istats.log(verb, noun, extraLabels);
  572.                                     });
  573.                             } else {
  574.                                 throw new Error('User cannot be tracked due to cookies preferences.');
  575.                             }
  576.                         });
  577.                 },
  578.             };
  579.    
  580.         }());</script><script src="https://nav.files.bbci.co.uk/orbit/a07e26191aed6a8725358c88df999791/js/require.min.js"></script>   <script src="https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-407.0fb42af/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">if (window.define !==  undefined) {
  581.         define('orb/cookies', function() {
  582.           return window.bbccookies;
  583.         });
  584.       }</script>   <script src="https://nav.files.bbci.co.uk/orbit/a07e26191aed6a8725358c88df999791/js/api.min.js"></script><script type="text/javascript">window.bbcFlagpoles_istats="ON",require.config({paths:{"istats-1":"https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-407.0fb42af/istats/istats-1"}}),require(["istats-1","orb/cookies"],function(a,t){if(t.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]?"//sa.bbc.co.uk/bbc/bbc/s":"//sa.bbc.co.uk/bbc/"+o[1]+"/s":"//sa.bbc.co.uk/bbc/test/s";a.addCollector({name:"default",url:e,separator:"&"});var s="kl.education.secondary.gcse.chemistry.energy.guides.zsxn82p.revision.page-1.page";a.setCountername(s),window.istats_countername&&a.setCountername(window.istats_countername),a.addLabels("ml_name=webmodule&ml_version=0.0.2-407.0fb42af&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=default&language=en&app_name=education&app_type=responsive&bbc_site=bitesize&bitesize_cloud=true&page_language=en-GB&page_type=study_guide&co_level=gcse&co_subject=chemistry&co_topic=energy&study_guide_id=zsxn82p&study_guide_title=energy_changes")}var o});</script><link rel="stylesheet" href="https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.33.5/style/id-cta.css"><!--[if IE 8]><link href="https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.33.5/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://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&ptrt=' + encodeURIComponent((ptrt ? ptrt[1] : document.location.href))).replace(/\&amp;/g, '&');var ENDPOINT_TRANSLATIONS = '/idcta/translations?callback=';function hasPromise() {var P = window.Promise;var promiseToString = null;if (P) {try {promiseToString = Object.prototype.toString.call(P.resolve());} catch(e) {/*silently ignored*/}}return (promiseToString === '[object Promise]' && !P.cast);}if (hasPromise()) {define('idcta/es6-promise', function() {return window.Promise;});define('idcta-v2/es6-promise', function() {return window.Promise;});}map['idcta-v2'] = 'https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.33.5/modules/idcta-v2';map['idcta-v2/config'] = ENDPOINT_URL + ENDPOINT_CONFIG;map['idcta-v2/translations'] = ENDPOINT_URL + ENDPOINT_TRANSLATIONS;map['idcta'] = 'https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.33.5/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = '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://static.bbc.co.uk/bbcdotcom/3.3.0/script" } }); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ var bbcdotcom = { adverts: { keyValues: { set: function() {} } }, advert: { write: function () {}, show: function () {}, isActive: function () { return false; }, layout: function() { return { reset: function() {} } } }, config: { init: function() {}, isActive: function() {}, setSections: function() {}, isAdsEnabled: function() {}, setAdsEnabled: function() {}, isAnalyticsEnabled: function() {}, setAnalyticsEnabled: function() {}, setAssetPrefix: function() {}, setFlagpoles: function() {}, setVersion: function () {}, setJsPrefix: function() {}, setSwfPrefix: function() {}, setCssPrefix: function() {}, setConfig: function() {}, getAssetPrefix: function() {}, getJsPrefix: function () {}, getSwfPrefix: function () {}, getCssPrefix: function () {}, isOptimizelyEnabled: function() {} }, survey: { init: function(){ return false; } }, data: {}, init: function() {}, objects: function(str) { return false; }, locale: { set: function() {}, get: function() {} }, setAdKeyValue: function() {}, utils: { addEvent: function() {}, addHtmlTagClass: function() {}, log: function () {} }, addLoadEvent: function() {} }; /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb !== 'undefined' && typeof orb.fig === 'function') { if (orb.fig('ad') && orb.fig('uk') == 0) { bbcdotcom.data = { ads: (orb.fig('ad') ? 1 : 0), stats: (orb.fig('uk') == 0 ? 1 : 0), statsProvider: orb.fig('ap') }; } } else { document.write('<script type="text/javascript" src="https://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://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://static.bbc.co.uk/bbcdotcom/3.3.0/"; if (/(sandbox|int)(.dev)*.bbc.co*/.test(window.location.href) || /[?|&]ads-debug/.test(window.location.href) || document.cookie.indexOf('ads-debug=') !== -1) { document.write('<script type="text/javascript" src="https://static.bbc.co.uk/bbcdotcom/3.3.0/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://static.bbc.co.uk/bbcdotcom/3.3.0/script/dist/bbcdotcom.js">\x3C/script>'); } } })(); /*]]>*/</script><script type="text/javascript">if (window.bbcdotcom && bbcdotcom.data.stats == 1) { document.write('<link rel="dns-prefetch" href="//secure-us.imrworldwide.com/">'); document.write('<link rel="dns-prefetch" href="//me-cdn.effectivemeasure.net/">'); document.write('<link rel="dns-prefetch" href="//ssc.api.bbc.com/">'); } if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<link rel="dns-prefetch" href="//www.googletagservices.com/">'); document.write('<link rel="dns-prefetch" href="//bbc.gscontxt.net/">'); document.write('<link rel="dns-prefetch" href="//tags.crwdcntrl.net/">'); document.write('<link rel="dns-prefetch" href="//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:\/\/www.bbc.com\/privacy\/cookies\/international\/","advertisementText":"Advertisement","analyticsEnabled":true,"sherlockEnabled":false,"appName":"","assetPrefix":"https:\/\/static.bbc.co.uk\/bbcdotcom\/3.3.0\/","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:\/\/static.bbc.co.uk","staticVersion":"3.3.0","staticPrefix":"https:\/\/static.bbc.co.uk\/bbcdotcom\/3.3.0","dataHttp":"tps.bbc.com","dataHttps":"www.bbc.com","flagHttp":"www.bbc.co.uk","flagHttps":"www.bbc.co.uk","analyticsHttp":"sa.bbc.com","analyticsHttps":"ssa.bbc.com"}; bbcdotcom.config.init(bbcdotcomConfig, bbcdotcom.data, window.location, window.document); bbcdotcom.config.setFlagpoles(bbcdotcom.flag || {}); bbcdotcom.config.setAssetPrefix("https://static.bbc.co.uk/bbcdotcom/3.3.0/"); bbcdotcom.config.setVersion("3.3.0"); 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://cdn.optimizely.com/public/4621041136/s/bbccom_sandbox.js"; if(window.location.hostname === 'www.bbc.com') { optimizelyURL = "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://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://tags.crwdcntrl.net/c/'+clientId+'/cc.js?ns='+clientId; lotameAudienceUrl = 'https://ad.crwdcntrl.net/5/c=10815/pe=y/var=ccauds'; bbcdotcomScripts.push({src:lotameUrl,id:"LOTCC"+clientId}); bbcdotcomScripts.push({src:lotameAudienceUrl}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /** * ASYNC waits to make any gpt requests until the bottom of the page */ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isAsync && bbcdotcom.config.isAsync() ) { (function () { bbcdotcomScripts.push({src:'https://securepubads.g.doubleclick.net/tag/js/gpt.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /* Load Lotame, Grapeshot and GPT without blocking rendering but executing in order */ if ( bbcdotcomScripts && bbcdotcomScripts.length > 0 ) { (function () { bbcdotcomScripts.forEach(function(item) { var script = document.createElement('script'); script.async = false; if(item.id) script.id = item.id; script.src = item.src; document.head.appendChild(script); }); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script><script type="text/javascript">// Globally available search context
  585.   window.SEARCHBOX={"variant":"default","locale":"en","feature":"akamai-idcta","navSearchboxStaticPrefix":"https://nav.files.bbci.co.uk/searchbox/b9922923369f42cc8a283d7f114e0c7f/","searchboxAppStaticPrefix":"https://nav.files.bbci.co.uk/searchbox/b9922923369f42cc8a283d7f114e0c7f/drawer","searchFormHtml":"<div tabindex=\"-1\" data-reactroot=\"\" data-reactid=\"1\" data-react-checksum=\"842287743\"><div data-reactid=\"2\"><section class=\"se-searchbox-panel\" data-reactid=\"3\"><div class=\"se-g-wrap\" data-reactid=\"4\"><div class=\"se-g-layout\" data-reactid=\"5\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\" data-reactid=\"6\">search</div><div class=\"se-g-layout__item se-searchbox\" data-reactid=\"7\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\" data-reactid=\"8\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\" data-reactid=\"9\"><span class=\"se-sr-only\" data-reactid=\"10\">Search Term</span><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxlength=\"512\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\" data-reactid=\"11\"/></label><input type=\"hidden\" name=\"scope\" value=\"\" data-reactid=\"12\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"search-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::1&quot;}\" data-reactid=\"13\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"clear-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::2&quot;}\" data-reactid=\"14\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\" data-reactid=\"15\"><section class=\"se-g-wrap\" data-reactid=\"16\"></section></div></div></div>","searchScopePlaceholder":"<input type=\"hidden\" name=\"scope\" id=\"orb-search-scope\" value=\"all:learning\">","searchScopeParam":"?scope=all:learning","searchScopeTemplate":"all:learning","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""};
  586.   window.SEARCHBOX.suppress = false;
  587.   window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/b9922923369f42cc8a283d7f114e0c7f//css/main.css"><!--[if IE 8]>
  588.   <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/b9922923369f42cc8a283d7f114e0c7f//script/html5shiv.min.js"></script>
  589.   <script type="text/javascript">window['searchboxIEVersion'] = 8;</script>
  590.   <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/b9922923369f42cc8a283d7f114e0c7f//css/ie8.css">
  591. <![endif]--><!--[if IE 9]>
  592.   <script type="text/javascript">window['searchboxIEVersion'] = 9;</script>
  593. <![endif]--><script type="text/javascript">require.config({
  594.         "paths": {
  595.             "orb/async/_footerpromo": 'https://nav.files.bbci.co.uk/navpromo/14e5b4661a09bc7754808edab113a159/js/async/_footerpromo'
  596.         }
  597.     });</script> <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.17.1",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://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.2.0.js" async=""></script>
  598.         <script>
  599.             if (!("ontouchstart" in document.documentElement))
  600.             {
  601.                 document.documentElement.classList.add("n-no-touchevents");
  602.             }
  603.         </script>
  604.         <style>
  605.             body {
  606.                 border: 0;
  607.                 margin: 0;
  608.                 padding: 0;
  609.             }
  610.         </style><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(); /* u33812745318788373 */</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="//m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.20.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-header-view/8.20.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.20.1/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.29.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-global-navigation-view/1.29.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.29.1/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u9044932814522063 */</script><link rel="preload" as="script" href="//m.files.bbci.co.uk/modules/bbc-morph-bitesize-study-guide-view/4.19.0/clips.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="//m.files.bbci.co.uk/modules/bbc-morph-bitesize-study-guide-view/4.19.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-study-guide-view/4.19.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-study-guide-view/4.19.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//m.files.bbci.co.uk/modules/bbc-morph-bitesize-practice-view/1.27.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-practice-view/1.27.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-practice-view/1.27.0/enhanced.css\"/>"); }</script><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/4.0.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-gel-icons/4.0.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//m.files.bbci.co.uk/modules/bbc-morph-bitesize-related-links-view/3.2.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-related-links-view/3.2.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-related-links-view/3.2.1/enhanced.css\"/>"); }</script><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/2.3.3"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-gel-icons/2.3.3/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="//m.files.bbci.co.uk/modules/bbc-morph-smp/2.12.6/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-smp/2.12.6"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-smp/2.12.6/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u18388766272907264 */</script><script type="text/javascript">
  611.                             var domain = "co.uk";
  612.                             var _sf_async_config = _sf_async_config || {};
  613.                             var _sf_startpt=(new Date()).getTime();
  614.                             _sf_async_config.domain = "www" + ".bbc." + domain;
  615.                             _sf_async_config.uid = 50924;
  616.                             _sf_async_config.title = window.document.title;
  617.                             _sf_async_config.path = "bbc." + domain + window.location.pathname + "";
  618.                             _sf_async_config.sections = "bitesize";
  619.                         </script></head><body> <noscript><p style="position: absolute; top: -999em"><img src="https://a1.api.bbc.co.uk/hit.xiti?&col=1&from=p&ptag=js&s=598253&p=learn::secondary::bitesize.gcse_chemistry_single_science.other.energy.guides.zsxn82p.revision.1.page&x1=[urn:bbc:isite2:zsxn82p]&x2=[responsive]&x3=[bbc_website]&x4=[en-GB]&x7=[article]&x8=[reverb-1.2.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.isActive('ads')) { googletag.cmd.push(function() { googletag.display('bbccom_interstitial'); }); } }()); /*]]>*/</script></div><div id="bbccom_wallpaper_ad" class="bbccom_display_none"></div><div id="bbccom_wallpaper" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { var wallpaper; if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { if (bbcdotcom.config.isAsync()) { googletag.cmd.push(function() { googletag.display('bbccom_wallpaper'); }); } else if (typeof googletag !== "undefined" && typeof googletag.display === "function") { googletag.display("wallpaper"); } wallpaper = bbcdotcom.adverts.adRegister.getAd('wallpaper'); } }()); /*]]>*/</script></div><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isActive('analytics')) { document.write(unescape('%3Cscript id="gnlAnalyticsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } }()); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyFirst = true; }()); /*]]>*/</script> <div id="cookiePrompt"></div>  <!--[if (gt IE 8) | (IEMobile)]><!--><header id="orb-banner" role="banner" aria-label="BBC"><!--<![endif]--><!--[if (lt IE 9) & (!IEMobile)]>
  620.             <![if (IE 8)]>
  621.                 <header id="orb-banner" role="banner" class="orb-old-ie orb-ie8" aria-label="BBC">
  622.             <![endif]>
  623.  
  624.             <![if (IE 7)]>
  625.                 <header id="orb-banner" role="banner" class="orb-old-ie orb-ie7" aria-label="BBC">
  626.             <![endif]>
  627.  
  628.             <![if (IE 6)]>
  629.                 <header id="orb-banner" role="banner" class="orb-old-ie orb-ie6" aria-label="BBC">
  630.             <![endif]>
  631.         <![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://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="/accessibility/">Accessibility Help</a></li></ul></div></section><div id="mybbc-wrapper" class="orb-nav-section orb-nav-id orb-nav-focus orb-nav-id-default"><div id="idcta-statusbar" class="orb-nav-section orb-nav-focus" data-bbc-container="id-cta" data-bbc-event-type="click" data-bbc-ignore-views="1" data-bbc-metadata="{&quot;id-cta-type&quot;: &quot;statusbar-orb&quot;}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://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
  632.                  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://www.bbc.co.uk">Home</a></li><li class="orb-nav-news"><a href="https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-tv"><a href="https://www.bbc.co.uk/tv">TV</a></li><li class="orb-nav-radio"><a href="https://www.bbc.co.uk/radio">Radio</a></li><li class="orb-nav-three"><a href="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://search.bbc.co.uk/search?scope&#x3D;all:learning" title="Search the BBC">Search</a><form class="b-f" id="orb-search-form" role="search" method="get" action="https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" id="orb-search-scope" value="all:learning"><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" name="q" placeholder="Search"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form></div></div><div id="orb-panels"></div></div></header>  <!-- Styling hook for shared modules only -->
  633. <div id="orb-modules">
  634. <div id="u33812745318788373"><noscript data-reactid=".b6ze7a3mdg" data-react-checksum="-1503653644"></noscript></div><div id="u9044932814522063"><div data-reactid=".1e4i884tpg6" data-react-checksum="1021690835"><div class="bitesize-header-background bitesize-header-background--phase-secondary" data-reactid=".1e4i884tpg6.0"></div><noscript data-reactid=".1e4i884tpg6.1"></noscript><div data-reactid=".1e4i884tpg6.2"><div class="global-navigation" data-reactid=".1e4i884tpg6.2.0"><header class="global-navigation__header" data-reactid=".1e4i884tpg6.2.0.0"><div class="global-navigation__header__wrap" data-reactid=".1e4i884tpg6.2.0.0.0"><span class="global-navigation__header__logo" tabindex="-1" data-reactid=".1e4i884tpg6.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 global-navigation__header__logo__link--phase-secondary" href="/bitesize" data-reactid=".1e4i884tpg6.2.0.0.0.0.0">Bitesize</a></span><button type="button" class="global-navigation__header__menu-button" aria-label="Open menu" data-reactid=".1e4i884tpg6.2.0.0.0.1"><i class="gel-icon gel-icon--list-view global-navigation__header__menu-button__list-view" data-reactid=".1e4i884tpg6.2.0.0.0.1.0"><svg width="32" height="32" viewBox="0 0 32 32" data-reactid=".1e4i884tpg6.2.0.0.0.1.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".1e4i884tpg6.2.0.0.0.1.0.0.0"></path></svg></i><span class="global-navigation__header__menu-button__text" data-reactid=".1e4i884tpg6.2.0.0.0.1.1">All Bitesize</span></button><div class="global-navigation__mobile-nav" data-reactid=".1e4i884tpg6.2.0.0.0.2"></div></div></header><nav class="global-navigation__primary-nav" data-reactid=".1e4i884tpg6.2.0.1"><div class="global-navigation__primary-nav__wrap" data-reactid=".1e4i884tpg6.2.0.1.0"><div class="global-language-selector" data-reactid=".1e4i884tpg6.2.0.1.0.0"><button type="button" class="global-language-selector__drawer global-language-selector__drawer--closed" data-reactid=".1e4i884tpg6.2.0.1.0.0.0"><span class="global-language-selector__drawer-text" data-reactid=".1e4i884tpg6.2.0.1.0.0.0.0">Change language</span></button><div class="global-language-selector__container global-language-selector__container--hidden" data-reactid=".1e4i884tpg6.2.0.1.0.0.1"><ol class="global-language-selector__list" data-reactid=".1e4i884tpg6.2.0.1.0.0.1.0"><li class="global-language-selector__language global-language-selector__language--selected" data-reactid=".1e4i884tpg6.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=".1e4i884tpg6.2.0.1.0.0.1.0.0.0"><span class="global-language-selector__language-label" lang="en-GB" data-reactid=".1e4i884tpg6.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=".1e4i884tpg6.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=".1e4i884tpg6.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=".1e4i884tpg6.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=".1e4i884tpg6.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=".1e4i884tpg6.2.0.1.0.0.1.0.1:$cy-GB.0"><span class="global-language-selector__language-label" lang="cy-GB" data-reactid=".1e4i884tpg6.2.0.1.0.0.1.0.1:$cy-GB.0.0">Cymraeg</span></button></li><li class="global-language-selector__language" data-reactid=".1e4i884tpg6.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=".1e4i884tpg6.2.0.1.0.0.1.0.1:$ga-GB.0"><span class="global-language-selector__language-label" lang="ga-GB" data-reactid=".1e4i884tpg6.2.0.1.0.0.1.0.1:$ga-GB.0.0">Gaeilge</span></button></li><li class="global-language-selector__language" data-reactid=".1e4i884tpg6.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=".1e4i884tpg6.2.0.1.0.0.1.0.1:$gd-GB.0"><span class="global-language-selector__language-label" lang="gd-GB" data-reactid=".1e4i884tpg6.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=".1e4i884tpg6.2.0.1.0.1"><li class="global-navigation__list__item" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$home"><a class="global-navigation__list__link" href="/bitesize" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$home.0"><span class="global-navigation__list__link-text" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$home.0.0">Home</span></a></li><li class="global-navigation__list__item" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$learn-revise"><a class="global-navigation__list__link" href="/bitesize/learn" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$learn-revise.0"><span class="global-navigation__list__link-text" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$learn-revise.0.0">Learn &amp; revise</span></a></li><li class="global-navigation__list__item" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$support"><a class="global-navigation__list__link" href="/bitesize/support" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$support.0"><span class="global-navigation__list__link-text" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$support.0.0">Support</span></a></li><li class="global-navigation__list__item" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$careers"><a class="global-navigation__list__link" href="/bitesize/careers" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$careers.0"><span class="global-navigation__list__link-text" data-reactid=".1e4i884tpg6.2.0.1.0.1.0:$careers.0.0">Careers</span></a></li><li data-reactid=".1e4i884tpg6.2.0.1.0.1.1"><ul class="global-navigation__list__items--pinned" data-reactid=".1e4i884tpg6.2.0.1.0.1.1.0"><li class="global-navigation__list__item" data-reactid=".1e4i884tpg6.2.0.1.0.1.1.0.$my-bitesize"><a class="global-navigation__list__link" href="/bitesize/my" data-reactid=".1e4i884tpg6.2.0.1.0.1.1.0.$my-bitesize.0"><span class="global-navigation__list__link-my-bitesize" data-reactid=".1e4i884tpg6.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=".1e4i884tpg6.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=".1e4i884tpg6.2.0.1.0.1.1.0.$all-bitesize.0"><span class="gel-icon gel-icon--list-view" data-reactid=".1e4i884tpg6.2.0.1.0.1.1.0.$all-bitesize.0.0"><svg width="32" height="32" viewBox="0 0 32 32" data-reactid=".1e4i884tpg6.2.0.1.0.1.1.0.$all-bitesize.0.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".1e4i884tpg6.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=".1e4i884tpg6.2.0.1.0.1.1.0.$all-bitesize.0.1">All Bitesize</span></button></li></ul></li></ul></div></nav></div><div class="header-image-container header-image-container--zmf3cdm header-image-no-logo header-image-container--no-illustration" aria-hidden="false" data-reactid=".1e4i884tpg6.2.1"><div class="header-image-container__wrap" data-reactid=".1e4i884tpg6.2.1.0"><header class="context-panel" data-reactid=".1e4i884tpg6.2.1.0.1"><div class="level-filter" data-reactid=".1e4i884tpg6.2.1.0.1.0"><div class="level-filter__items" data-reactid=".1e4i884tpg6.2.1.0.1.0.0"><div class="level-filter__item" data-reactid=".1e4i884tpg6.2.1.0.1.0.0.0"><a class="level-filter__item-level" href="/bitesize/levels/z98jmp3" data-reactid=".1e4i884tpg6.2.1.0.1.0.0.0.0">GCSE</a></div><div class="level-filter__item" data-reactid=".1e4i884tpg6.2.1.0.1.0.0.1"><a class="level-filter__item-examspec" href="/bitesize/examspecs/zq2n4j6" data-reactid=".1e4i884tpg6.2.1.0.1.0.0.1.0">Other</a></div></div></div><div data-reactid=".1e4i884tpg6.2.1.0.1.1"><div class="context-panel__header-container" data-reactid=".1e4i884tpg6.2.1.0.1.1.0"><h2 class="context-panel__header" data-reactid=".1e4i884tpg6.2.1.0.1.1.0.0">Energy changes</h2></div><div class="context-panel__description-container" data-reactid=".1e4i884tpg6.2.1.0.1.1.1"><p class="context-panel__description" data-reactid=".1e4i884tpg6.2.1.0.1.1.1.0">Energy is absorbed to break bonds and released when bonds are made. Energy changes in a reaction are calculated by bond energies and shown by energy diagrams. Heat energy is released when fuels burn.</p></div><div class="context-label" data-reactid=".1e4i884tpg6.2.1.0.1.1.2"><div class="context-label__title" data-reactid=".1e4i884tpg6.2.1.0.1.1.2.0">Part of</div><div class="context-label__items" data-reactid=".1e4i884tpg6.2.1.0.1.1.2.1"><div class="context-label__item" data-reactid=".1e4i884tpg6.2.1.0.1.1.2.1.0"><a class="context-label__item-link" href="/bitesize/subjects/zs6hvcw" data-reactid=".1e4i884tpg6.2.1.0.1.1.2.1.0.0">Chemistry (Single Science)</a></div><div class="context-label__item" data-reactid=".1e4i884tpg6.2.1.0.1.1.2.1.1:0"><a class="context-label__item-link" href="/bitesize/topics/zwngqty" data-reactid=".1e4i884tpg6.2.1.0.1.1.2.1.1:0.0">Energy</a></div></div></div><noscript data-reactid=".1e4i884tpg6.2.1.0.1.1.5"></noscript><span class="bitesize-sharetools" data-reactid=".1e4i884tpg6.2.1.0.1.1.6"><span class="bitesize-sharetools__standalone-buttons" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0"><button class="ec-share-button ec-share-button--transparent ec-share-button--twitter" data-bbc-container="Share Tools" data-bbc-title="Twitter" data-bbc-metadata="{&quot;CHD&quot;:&quot;button:: 0&quot;}" data-bbc-result="share-pop-up" data-bbc-ignore-views="1" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.0"><span class="ec-share-icon__svg ec-share-icon__svg--standalone ec-share-icon__svg--twitter" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.0.0"><svg viewBox="0 0 32 32" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.0.0.0"><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" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.0.0.0.0"></path></svg></span><span class="ec-share-cta-text ec-share-cta-text--display-only-to-screen-reader" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.0.1">Twitter</span></button><button class="ec-share-button ec-share-button--transparent ec-share-button--facebook" data-bbc-container="Share Tools" data-bbc-title="Facebook" data-bbc-metadata="{&quot;CHD&quot;:&quot;button:: 1&quot;}" data-bbc-result="share-pop-up" data-bbc-ignore-views="1" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.1"><span class="ec-share-icon__svg ec-share-icon__svg--standalone ec-share-icon__svg--facebook" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.1.0"><svg viewBox="0 0 32 32" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.1.0.0"><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" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.1.0.0.0"></path></svg></span><span class="ec-share-cta-text ec-share-cta-text--display-only-to-screen-reader" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.1.1">Facebook</span></button><button class="ec-share-button ec-share-button--transparent ec-share-button--whatsapp" data-bbc-container="Share Tools" data-bbc-title="WhatsApp" data-bbc-metadata="{&quot;CHD&quot;:&quot;button:: 2&quot;}" data-bbc-result="share-pop-up" data-bbc-ignore-views="1" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.2"><span class="ec-share-icon__svg ec-share-icon__svg--standalone ec-share-icon__svg--whatsapp" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.2.0"><svg viewBox="0 0 24 24" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.2.0.0"><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" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.2.0.0.0"></path></svg></span><span class="ec-share-cta-text ec-share-cta-text--display-only-to-screen-reader" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.0.2.1">WhatsApp</span></button></span><div class="ec-share-tools" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1"><button class="ec-share-button ec-share-button__share" data-bbc-container="Share Tools" data-bbc-title="Share Icon" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.0"><span data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.0.0"><span class="ec-share-icon__svg" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.0.0.0"><svg width="16" height="16" viewBox="0 0 32 32" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.0.0.0.0"><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" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.0.0.0.0.0"></path></svg></span><span class="ec-share-cta-text" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.0.0.1">Share</span></span></button><div class="ec-share-panel" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1"><div class="ec-share-panel__header" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.0"><span class="ec-share-panel__header-text" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.0.0">Share this with</span><button class="ec-share-panel__close-button" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.0.1"><span class="ec-share-panel__close-button-icon" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.0.1.0"><svg viewBox="0 0 32 32" width="16" height="16" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.0.1.0.0"><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" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.0.1.0.0.0"></path></svg></span></button></div><div class="ec-share-panel__body" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1"><ul class="ec-share-panel__items" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0"><li class="ec-share-panel__item" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$0"><button class="ec-share-button ec-share-button--transparent ec-share-button--twitter" data-bbc-container="Share Tools" data-bbc-title="Twitter" data-bbc-metadata="{&quot;CHD&quot;:&quot;menu-item:: 0&quot;}" data-bbc-result="share-menu" data-bbc-ignore-views="1" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$0.0"><span class="ec-share-icon__svg ec-share-icon__svg--twitter" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$0.0.0"><svg viewBox="0 0 32 32" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$0.0.0.0"><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" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$0.0.0.0.0"></path></svg></span><span class="ec-share-cta-text" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$0.0.1">Twitter</span></button></li><li class="ec-share-panel__item" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$1"><button class="ec-share-button ec-share-button--transparent ec-share-button--facebook" data-bbc-container="Share Tools" data-bbc-title="Facebook" data-bbc-metadata="{&quot;CHD&quot;:&quot;menu-item:: 1&quot;}" data-bbc-result="share-menu" data-bbc-ignore-views="1" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$1.0"><span class="ec-share-icon__svg ec-share-icon__svg--facebook" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$1.0.0"><svg viewBox="0 0 32 32" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$1.0.0.0"><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" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$1.0.0.0.0"></path></svg></span><span class="ec-share-cta-text" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$1.0.1">Facebook</span></button></li><li class="ec-share-panel__item" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$2"><button class="ec-share-button ec-share-button--transparent ec-share-button--whatsapp" data-bbc-container="Share Tools" data-bbc-title="WhatsApp" data-bbc-metadata="{&quot;CHD&quot;:&quot;menu-item:: 2&quot;}" data-bbc-result="share-menu" data-bbc-ignore-views="1" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$2.0"><span class="ec-share-icon__svg ec-share-icon__svg--whatsapp" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$2.0.0"><svg viewBox="0 0 24 24" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$2.0.0.0"><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" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$2.0.0.0.0"></path></svg></span><span class="ec-share-cta-text" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$2.0.1">WhatsApp</span></button></li><li class="ec-share-panel__item" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$3"><div class="ec-share-copy-link" data-bbc-container="Share Tools" data-bbc-title="Copy Link" data-bbc-metadata="{&quot;CHD&quot;:&quot;copy-link:: 3&quot;}" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$3.0"><label class="ec-share-copy-link__text" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$3.0.0">Copy link</label><input class="ec-share-copy-link__input" readonly="" type="text" value="https://www.bbc.co.uk/bitesize/guides/zsxn82p" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.0:$3.0.1"/></div></li><li class="ec-share-panel__item" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.1"><a class="ec-share-panel__read-more-link" href="http://www.bbc.co.uk/faqs/questions/bbc_online/sharing" data-reactid=".1e4i884tpg6.2.1.0.1.1.6.1.1.1.0.1.0">Read more about sharing</a></li></ul></div></div></div></span></div></header></div></div></div></div></div><div id="u18388766272907264"><div data-reactid=".w71dbx79f4" data-react-checksum="870589705"><div class="studyguide" data-reactid=".w71dbx79f4.0"><div class="studyguide__layout" data-reactid=".w71dbx79f4.0.0"><section class="studyguide__content" data-reactid=".w71dbx79f4.0.0.0"><nav data-reactid=".w71dbx79f4.0.0.0.0"><ul class="study-guide-tabs" data-reactid=".w71dbx79f4.0.0.0.0.0"><li class="study-guide-tabs__tab study-guide-tabs__tab--revision study-guide-tabs__tab--active" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision"><div class="study-guide-tabs__tab-content" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1"><div class="gel-icon study-guide-tabs__chapter-icon gel-icon study-guide-tabs__chapter-icon--revision" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0"><svg width="66" height="66" viewBox="0 0 108 77" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0"><g data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0"><g data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0"><g data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0"><polygon stroke-width="7" fill="none" points="4 4 4 70.96 104 70.96 104 4.54 4 4" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.0"></polygon><path stroke-width="6" fill="none" d="M54,4V76" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.1"></path><g id="Group" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.2"><path stroke-width="5" fill="none" d="M13,19.5H43.42" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.2.0"></path><path stroke-width="5" fill="none" d="M13,32.5H43.42" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.2.1"></path><path stroke-width="5" fill="none" d="M13,44.5H43.42" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.2.2"></path></g><g id="Group-Copy" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.3"><path stroke-width="5" fill="none" d="M64,19.5H94.42" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.3.0"></path><path stroke-width="5" fill="none" d="M64,32.5H94.42" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.3.1"></path><path stroke-width="5" fill="none" d="M64,44.5H94.42" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.0.3.2"></path></g></g><path stroke-width="8" fill="none" d="M7,65h94" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.1"></path><rect class="cls-5" x="46" y="70" width="16" height="7" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.0.0.0.0.2"></rect></g></g></svg></div><span class="study-guide-tabs__label" data-reactid=".w71dbx79f4.0.0.0.0.0.$revision.1.1">Revise</span></div></li><li class="study-guide-tabs__tab study-guide-tabs__tab--test" data-reactid=".w71dbx79f4.0.0.0.0.0.$test"><a href="/bitesize/guides/zsxn82p/test" class="study-guide-tabs__tab-content study-guide-tabs__chapter-link" data-reactid=".w71dbx79f4.0.0.0.0.0.$test.1"><div class="gel-icon gel-icon--quiz study-guide-tabs__chapter-icon" data-reactid=".w71dbx79f4.0.0.0.0.0.$test.1.0"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.0.0.0.$test.1.0.0"><title data-reactid=".w71dbx79f4.0.0.0.0.0.$test.1.0.0.0">quiz</title><circle cx="4" cy="28" r="4" transform="rotate(-.3 -.05 19.099)" data-reactid=".w71dbx79f4.0.0.0.0.0.$test.1.0.0.1"></circle><path d="M17 7.3c-3.3 0-4.5 2.7-4.5 5.5s1.2 5.4 4.5 5.4c.5 0 1.3.1 1.5-.1l-1.9-1.7 1.7-1.8 2.2 1.9a6.1 6.1 0 0 0 1-3.7c0-2.8-1.2-5.5-4.5-5.5z" data-reactid=".w71dbx79f4.0.0.0.0.0.$test.1.0.0.2"></path><path d="M16.9 0C8.7 0 2 5.9 2 13.1S8.8 26 17.1 26 32 20.1 32 12.9 25.2 0 16.9 0zm7.9 20.4l-1.7 1.7-2.1-1.8a8.1 8.1 0 0 1-4 .9c-5.1 0-8.1-3.7-8.1-8.4s3-8.5 8.1-8.5 8.1 3.7 8.1 8.5a8.7 8.7 0 0 1-2.1 6z" data-reactid=".w71dbx79f4.0.0.0.0.0.$test.1.0.0.3"></path></svg></div><span class="study-guide-tabs__label" data-reactid=".w71dbx79f4.0.0.0.0.0.$test.1.1">Test</span></a></li></ul></nav><div data-reactid=".w71dbx79f4.0.0.0.1:0"><nav class="pagination" data-reactid=".w71dbx79f4.0.0.0.1:0.1"><ol class="pagination__items" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0"><li class="pagination__item pagination__arrow " data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.0"><span class="pagination__item__inner" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.0.0"><div class="gel-icon gel-icon--previous pagination__arrow__icon pagination__arrow__icon--previous" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.0.0.0"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.0.0.0.0"><title data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.0.0.0.0.0">previous</title><path d="M3 16l26 16v-7.2L14.4 16 29 7.2V0L3 16z" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.0.0.0.0.1"></path></svg></div></span></li><li class="pagination__item pagination__number pagination__number--current" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.1:$1"><span class="pagination__item__inner" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.1:$1.0">1</span></li><li class="pagination__item pagination__number " data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.1:$2"><a href="/bitesize/guides/zsxn82p/revision/2" class="pagination__item__inner" aria-label="Page 2" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.1:$2.0">2</a></li><li class="pagination__item pagination__number " data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.1:$3"><a href="/bitesize/guides/zsxn82p/revision/3" class="pagination__item__inner" aria-label="Page 3" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.1:$3.0">3</a></li><li class="pagination__item pagination__number " data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.1:$4"><a href="/bitesize/guides/zsxn82p/revision/4" class="pagination__item__inner" aria-label="Page 4" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.1:$4.0">4</a></li><li class="pagination__summary" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2"><span data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.0">Page</span><span data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.1"> </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.2">1</strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.3.0"> </span><span data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.3.1">of</span><span data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.3.2"> </span></span><span data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.4"> </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.2.5">4</strong></li><li class="pagination__item pagination__arrow pagination__arrow--active" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.3"><a href="/bitesize/guides/zsxn82p/revision/2" class="pagination__item__inner" aria-label="Page 2" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.3.0"><div class="gel-icon gel-icon--next pagination__arrow__icon pagination__arrow__icon--next" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.3.0.0"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.3.0.0.0"><title data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.3.0.0.0.0">next</title><path d="M29 16L3 0v7.2L17.6 16 3 24.8V32l26-16z" data-reactid=".w71dbx79f4.0.0.0.1:0.1.0.3.0.0.0.1"></path></svg></div></a></li></ol></nav><div class="isite-content" data-reactid=".w71dbx79f4.0.0.0.1:0.2"><div data-reactid=".w71dbx79f4.0.0.0.1:0.2.0"><div data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0"><h1 data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$0.0">Energy changes</span></h1><section data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1"><h2 data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$0.0">Breaking and making bonds</span></h2><p data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$1.0">During a chemical reaction:</span></p><ul class="list unordered" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2"><li data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$0.0">bonds in the </span><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$0.$1"><a role="button" tabindex="0" class="glossary-term " data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$0.$1.0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$0.$1.0.0">reactants</span></a><noscript data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$0.$1.1"></noscript></span><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$0.2"> are broken</span></li><li data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$1.0">new bonds are made in the </span><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$1.$1"><a role="button" tabindex="0" class="glossary-term " data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$1.$1.0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$1.$1.0.0">products</span></a><noscript data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$2.$1.$1.1"></noscript></span></li></ul><p data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$3.0">Energy is absorbed to break bonds. </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$3.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$3.$1.0">Bond-breaking</span></strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$3.2"> is an </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$3.$3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$3.$3.0">endothermic</span></strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$3.4"> process.</span></p><p data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$4"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$4.0">Energy is released when new bonds form. </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$4.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$4.$1.0">Bond-making</span></strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$4.2"> is an </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$4.$3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$4.$3.0">exothermic</span></strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$4.4"> process.</span></p><p data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$5"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$5.0">Whether a reaction is endothermic or exothermic depends on the difference between the energy needed to break bonds and the energy released when new bonds form.</span></p><div class="keyfact" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6"><div class="keyfact--icon-container" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.0"><div class="gel-icon gel-icon--curriculum-key-fact keyfact--icon" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.0.0"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.0.0.0"><title data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.0.0.0.0">curriculum-key-fact</title><path d="M12 26h8v2h-8zM13 32h6l1-2h-8l1 2zM15 0h2v2h-2zM27 12h2v2h-2zM3 12h2v2H3zM5 3h2v2H5zM25 3h2v2h-2zM6 21h2v2H6zM24 21h2v2h-2zM16 4a8.5 8.5 0 0 0-6.2 14.3A8.1 8.1 0 0 1 12 24h8a8.1 8.1 0 0 1 2.2-5.7A8.5 8.5 0 0 0 16 4zm4.7 12.9a9.7 9.7 0 0 0-2.5 5.1h-4.4a9.7 9.7 0 0 0-2.5-5 6.5 6.5 0 1 1 9.5 0z" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.0.0.0.1"></path></svg></div></div><div class="keyfact--content" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1"><ul class="list unordered" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0"><li data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0.$0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0.$0.0">If more heat energy is released when making the bonds than was taken in, the reaction is </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0.$0.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0.$0.$1.0">exothermic</span></strong></li><li data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0.$1.0">If more heat energy was taken in when making the bonds than was released, the reaction is </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0.$1.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$1.$6.1.$0.$1.$1.0">endothermic</span></strong></li></ul></div></div></section><section data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2"><h2 data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$0.0">Energy diagrams</span></h2><p data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$1.0">Energy diagrams show the level of energy of the reactants and of the products. The bigger the difference between the energy of the reactants and the energy of the products, the more energy is given out or taken in. It is easy to see from an energy level diagram whether the reaction is exothermic or endothermic:</span></p><ul class="list unordered" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$2"><li data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$2.$0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$2.$0.0">in exothermic reactions the reactants are higher than the products</span></li><li data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$2.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$2.$1.0">in endothermic reactions the reactants are lower than the products</span></li></ul><picture class="infographic" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$3"><source srcset="https://bam.files.bbci.co.uk/bam/live/content/z23jtfr/large" media="(min-width: 1008px)" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$3.0:$large"/><source srcset="https://bam.files.bbci.co.uk/bam/live/content/z23jtfr/medium" media="(min-width: 600px)" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$3.0:$medium"/><img alt="Graph of energy against progress of reaction. Horizontal line represents reactants energy. Drops vertically as energy released. Horizontal line at a lower level represents products&#x27; energy." srcset="https://bam.files.bbci.co.uk/bam/live/content/z23jtfr/small" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$3.1"/><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$3.2"></span><span class="caption" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$3.3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$3.3.0">An energy level diagram for an exothermic reaction</span></span><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$3.4"></span></picture><p data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.0">In an </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.$1.0">exothermic</span></strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.2"> reaction, the products are at a lower energy than the reactants. The difference between the energy of the reactants and the energy of the products is called the </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.$3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.$3.0">enthalpy change</span></strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.4"> (∆</span><em data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.$5"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.$5.0">H</span></em><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$4.6">) of the reaction. For an exothermic reaction, the enthalpy change is always negative.</span></p><picture class="infographic" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$5"><source srcset="https://bam.files.bbci.co.uk/bam/live/content/zmbqhyc/large" media="(min-width: 1008px)" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$5.0:$large"/><source srcset="https://bam.files.bbci.co.uk/bam/live/content/zmbqhyc/medium" media="(min-width: 600px)" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$5.0:$medium"/><img alt="Graph of energy against progress of reaction. A horizontal line represents the reactants&#x27; energy. It rises vertically as energy is absorbed. A horizontal line at a higher level then represents the products&#x27; energy." srcset="https://bam.files.bbci.co.uk/bam/live/content/zmbqhyc/small" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$5.1"/><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$5.2"></span><span class="caption" data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$5.3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$5.3.0">An energy level diagram for an endothermic reaction</span></span><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$5.4"></span></picture><p data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.0">In an </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.$1"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.$1.0">endothermic</span></strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.2"> reaction, the products are at a higher energy than the reactants. This means that the </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.$3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.$3.0">enthalpy change</span></strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.4"> of the reaction (∆</span><em data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.$5"><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.$5.0">H</span></em><span data-reactid=".w71dbx79f4.0.0.0.1:0.2.0.$0.$2.$6.6">) is positive.</span></p></section></div></div><div data-reactid=".w71dbx79f4.0.0.0.1:0.2.1"><div data-reactid=".w71dbx79f4.0.0.0.1:0.2.1.0"></div><div data-reactid=".w71dbx79f4.0.0.0.1:0.2.1.1"></div></div></div><nav class="pagination" data-reactid=".w71dbx79f4.0.0.0.1:0.3"><ol class="pagination__items" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0"><li class="pagination__item pagination__arrow " data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.0"><span class="pagination__item__inner" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.0.0"><div class="gel-icon gel-icon--previous pagination__arrow__icon pagination__arrow__icon--previous" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.0.0.0"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.0.0.0.0"><title data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.0.0.0.0.0">previous</title><path d="M3 16l26 16v-7.2L14.4 16 29 7.2V0L3 16z" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.0.0.0.0.1"></path></svg></div></span></li><li class="pagination__item pagination__number pagination__number--current" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.1:$1"><span class="pagination__item__inner" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.1:$1.0">1</span></li><li class="pagination__item pagination__number " data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.1:$2"><a href="/bitesize/guides/zsxn82p/revision/2" class="pagination__item__inner" aria-label="Page 2" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.1:$2.0">2</a></li><li class="pagination__item pagination__number " data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.1:$3"><a href="/bitesize/guides/zsxn82p/revision/3" class="pagination__item__inner" aria-label="Page 3" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.1:$3.0">3</a></li><li class="pagination__item pagination__number " data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.1:$4"><a href="/bitesize/guides/zsxn82p/revision/4" class="pagination__item__inner" aria-label="Page 4" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.1:$4.0">4</a></li><li class="pagination__summary" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2"><span data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.0">Page</span><span data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.1"> </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.2">1</strong><span data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.3"><span data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.3.0"> </span><span data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.3.1">of</span><span data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.3.2"> </span></span><span data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.4"> </span><strong data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.2.5">4</strong></li><li class="pagination__item pagination__arrow pagination__arrow--active" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.3"><a href="/bitesize/guides/zsxn82p/revision/2" class="pagination__item__inner" aria-label="Page 2" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.3.0"><div class="gel-icon gel-icon--next pagination__arrow__icon pagination__arrow__icon--next" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.3.0.0"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.3.0.0.0"><title data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.3.0.0.0.0">next</title><path d="M29 16L3 0v7.2L17.6 16 3 24.8V32l26-16z" data-reactid=".w71dbx79f4.0.0.0.1:0.3.0.3.0.0.0.1"></path></svg></div></a></li></ol></nav><div data-reactid=".w71dbx79f4.0.0.0.1:0.4"><section id="glossary" class=" glossary" data-reactid=".w71dbx79f4.0.0.0.1:0.4.0"><header data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0"><button type="button" class="glossary__headline" title="Reveal glossary" data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0"><span data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.0">Glossary</span><div class="gel-icon gel-icon--up" data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.1"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.1.0"><title data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.1.0.0">up</title><path d="M16 3L0 29h7.2L16 13.7 24.8 29H32L16 3z" data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.1.0.1"></path></svg></div><div class="gel-icon gel-icon--down gel-icon--visible" data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.2"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.2.0"><title data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.2.0.0">down</title><path d="M16 29L32 3h-7.2L16 18.3 7.2 3H0l16 26z" data-reactid=".w71dbx79f4.0.0.0.1:0.4.0.0.0.2.0.1"></path></svg></div></button></header></section></div></div></section><aside class="studyguide__aside" data-reactid=".w71dbx79f4.0.0.1"><div class="promo-panel" data-reactid=".w71dbx79f4.0.0.1.1"><div class="promo-panel__inner" data-reactid=".w71dbx79f4.0.0.1.1.0"><h2 class="promo-panel__inner__title" data-reactid=".w71dbx79f4.0.0.1.1.0.0">Struggling to get your head round revision and exams?</h2><p class="promo-panel__inner__body" data-reactid=".w71dbx79f4.0.0.1.1.0.1">Our team of exam survivors will get you started and keep you going. </p><a href="https://www.bbc.co.uk/bitesize/support" class="promo-panel__inner__button" data-reactid=".w71dbx79f4.0.0.1.1.0.2">Meet them here</a></div></div><div class="related-links" data-reactid=".w71dbx79f4.0.0.1.2"><h2 class="related-links__header" data-reactid=".w71dbx79f4.0.0.1.2.0">Links</h2><div class="related-links__promo" data-reactid=".w71dbx79f4.0.0.1.2.1"><a href="https://www.bbc.co.uk/education/levels/z98jmp3" class="related-links__promo__link" data-reactid=".w71dbx79f4.0.0.1.2.1.0"><img src="https://ichef.bbci.co.uk/images/ic/80x80/p06kdz93.jpg" alt="Bitesize personalisation promo 2018 branding showing pie chart monitor line graph mobile" width="80" height="80" data-reactid=".w71dbx79f4.0.0.1.2.1.0.0"/></a><div class="related-links__promo__body" data-reactid=".w71dbx79f4.0.0.1.2.1.1"><a href="https://www.bbc.co.uk/education/levels/z98jmp3" class="related-links__promo__titlelink" data-reactid=".w71dbx79f4.0.0.1.2.1.1.0">Personalise your Bitesize!</a><p data-reactid=".w71dbx79f4.0.0.1.2.1.1.1">Sign in, choose your GCSE subjects and see content that&#x27;s tailored for you.</p></div></div><ul class="related-links__list related-links__list--internal" data-reactid=".w71dbx79f4.0.0.1.2.2"><li class="related-links__item" data-reactid=".w71dbx79f4.0.0.1.2.2.$http=2//www=1bbc=1co=1uk/news/science_and_environment"><a href="http://www.bbc.co.uk/news/science_and_environment" class="related-links__link" data-reactid=".w71dbx79f4.0.0.1.2.2.$http=2//www=1bbc=1co=1uk/news/science_and_environment.0">BBC: Science and Environment</a></li><li class="related-links__item" data-reactid=".w71dbx79f4.0.0.1.2.2.$http=2//www=1bbc=1com/earth/uk"><a href="http://www.bbc.com/earth/uk" class="related-links__link" data-reactid=".w71dbx79f4.0.0.1.2.2.$http=2//www=1bbc=1com/earth/uk.0">BBC Earth</a></li><li class="related-links__item" data-reactid=".w71dbx79f4.0.0.1.2.2.$http=2//www=1bbc=1co=1uk/tomorrowsworld"><a href="http://www.bbc.co.uk/tomorrowsworld" class="related-links__link" data-reactid=".w71dbx79f4.0.0.1.2.2.$http=2//www=1bbc=1co=1uk/tomorrowsworld.0">BBC Tomorrow&#x27;s World</a></li></ul><hr data-reactid=".w71dbx79f4.0.0.1.2.3"/><ul class="related-links__list related-links__list--external" data-reactid=".w71dbx79f4.0.0.1.2.4"><li class="related-links__item" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1revisionbuddies=1com/"><a href="https://www.revisionbuddies.com/" class="related-links__link" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1revisionbuddies=1com/.0"><div class="gel-icon gel-icon--external-link related-links__link-icon" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1revisionbuddies=1com/.0.0"><svg width="32" height="32" viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1revisionbuddies=1com/.0.0.0"><title data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1revisionbuddies=1com/.0.0.0.0">external-link</title><path d="M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0H12z" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1revisionbuddies=1com/.0.0.0.1"></path></svg></div><span data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1revisionbuddies=1com/.0.1">Revision Buddies</span></a><span class="related-links__subscription" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1revisionbuddies=1com/.1">SUBSCRIPTION</span></li><li class="related-links__item" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1twinkl=1co=1uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry"><a href="https://www.twinkl.co.uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry" class="related-links__link" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1twinkl=1co=1uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry.0"><div class="gel-icon gel-icon--external-link related-links__link-icon" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1twinkl=1co=1uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry.0.0"><svg width="32" height="32" viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1twinkl=1co=1uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry.0.0.0"><title data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1twinkl=1co=1uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry.0.0.0.0">external-link</title><path d="M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0H12z" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1twinkl=1co=1uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry.0.0.0.1"></path></svg></div><span data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1twinkl=1co=1uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry.0.1">Twinkl</span></a><span class="related-links__subscription" data-reactid=".w71dbx79f4.0.0.1.2.4.$https=2//www=1twinkl=1co=1uk/resources/keystage3-ks3-science/keystage3-ks3-science-ks4/keystage3-ks3-science-ks4-chemistry.1">SUBSCRIPTION</span></li><li class="related-links__item" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1rsc=1org/learn-chemistry"><a href="http://www.rsc.org/learn-chemistry" class="related-links__link" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1rsc=1org/learn-chemistry.0"><div class="gel-icon gel-icon--external-link related-links__link-icon" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1rsc=1org/learn-chemistry.0.0"><svg width="32" height="32" viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1rsc=1org/learn-chemistry.0.0.0"><title data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1rsc=1org/learn-chemistry.0.0.0.0">external-link</title><path d="M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0H12z" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1rsc=1org/learn-chemistry.0.0.0.1"></path></svg></div><span data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1rsc=1org/learn-chemistry.0.1">Royal Society of Chemistry</span></a></li><li class="related-links__item" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1revisio=1co/"><a href="http://www.revisio.co/" class="related-links__link" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1revisio=1co/.0"><div class="gel-icon gel-icon--external-link related-links__link-icon" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1revisio=1co/.0.0"><svg width="32" height="32" viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1revisio=1co/.0.0.0"><title data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1revisio=1co/.0.0.0.0">external-link</title><path d="M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0H12z" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1revisio=1co/.0.0.0.1"></path></svg></div><span data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1revisio=1co/.0.1">Revisio</span></a><span class="related-links__subscription" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1revisio=1co/.1">SUBSCRIPTION</span></li><li class="related-links__item" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1sciencemuseum=1org=1uk"><a href="http://www.sciencemuseum.org.uk" class="related-links__link" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1sciencemuseum=1org=1uk.0"><div class="gel-icon gel-icon--external-link related-links__link-icon" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1sciencemuseum=1org=1uk.0.0"><svg width="32" height="32" viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1sciencemuseum=1org=1uk.0.0.0"><title data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1sciencemuseum=1org=1uk.0.0.0.0">external-link</title><path d="M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0H12z" data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1sciencemuseum=1org=1uk.0.0.0.1"></path></svg></div><span data-reactid=".w71dbx79f4.0.0.1.2.4.$http=2//www=1sciencemuseum=1org=1uk.0.1">Science Museum</span></a></li></ul></div></aside></div><div class="subjects-container" role="navigation" aria-label="Subjects" data-reactid=".w71dbx79f4.0.1"><h2 class="subjects-container__title" data-reactid=".w71dbx79f4.0.1.0"><a href="/bitesize/levels/z98jmp3" class="subjects-container__title__link" data-reactid=".w71dbx79f4.0.1.0.0">GCSE Subjects</a><button type="button" class="subjects-container__title__button" data-reactid=".w71dbx79f4.0.1.0.1"><span data-reactid=".w71dbx79f4.0.1.0.1.0">GCSE Subjects</span><div class="gel-icon gel-icon--up arrow-right " data-reactid=".w71dbx79f4.0.1.0.1.1"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.1.0.1.1.0"><title data-reactid=".w71dbx79f4.0.1.0.1.1.0.0">up</title><path d="M16 3L0 29h7.2L16 13.7 24.8 29H32L16 3z" data-reactid=".w71dbx79f4.0.1.0.1.1.0.1"></path></svg></div><div class="gel-icon gel-icon--down arrow-right visible" data-reactid=".w71dbx79f4.0.1.0.1.2"><svg viewBox="0 0 32 32" data-reactid=".w71dbx79f4.0.1.0.1.2.0"><title data-reactid=".w71dbx79f4.0.1.0.1.2.0.0">down</title><path d="M16 29L32 3h-7.2L16 18.3 7.2 3H0l16 26z" data-reactid=".w71dbx79f4.0.1.0.1.2.0.1"></path></svg></div></button></h2><ol class="subjects-container__list " data-reactid=".w71dbx79f4.0.1.1"><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z6hs34j"><a class="subjects-container__link" href="/bitesize/subjects/z6hs34j" data-reactid=".w71dbx79f4.0.1.1.$z6hs34j.0">Art and Design</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z9ddmp3"><a class="subjects-container__link" href="/bitesize/subjects/z9ddmp3" data-reactid=".w71dbx79f4.0.1.1.$z9ddmp3.0">Biology (Single Science)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zpsvr82"><a class="subjects-container__link" href="/bitesize/subjects/zpsvr82" data-reactid=".w71dbx79f4.0.1.1.$zpsvr82.0">Business</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zs6hvcw"><a class="subjects-container__link" href="/bitesize/subjects/zs6hvcw" data-reactid=".w71dbx79f4.0.1.1.$zs6hvcw.0">Chemistry (Single Science)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zp266yc"><a class="subjects-container__link" href="/bitesize/subjects/zp266yc" data-reactid=".w71dbx79f4.0.1.1.$zp266yc.0">Combined Science</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z34k7ty"><a class="subjects-container__link" href="/bitesize/subjects/z34k7ty" data-reactid=".w71dbx79f4.0.1.1.$z34k7ty.0">Computer Science</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zvg4d2p"><a class="subjects-container__link" href="/bitesize/subjects/zvg4d2p" data-reactid=".w71dbx79f4.0.1.1.$zvg4d2p.0">Design and Technology</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z9qy6yc"><a class="subjects-container__link" href="/bitesize/subjects/z9qy6yc" data-reactid=".w71dbx79f4.0.1.1.$z9qy6yc.0">Digital Technology (CCEA)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zbckjxs"><a class="subjects-container__link" href="/bitesize/subjects/zbckjxs" data-reactid=".w71dbx79f4.0.1.1.$zbckjxs.0">Drama</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zr9d7ty"><a class="subjects-container__link" href="/bitesize/subjects/zr9d7ty" data-reactid=".w71dbx79f4.0.1.1.$zr9d7ty.0">English Language</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zckw2hv"><a class="subjects-container__link" href="/bitesize/subjects/zckw2hv" data-reactid=".w71dbx79f4.0.1.1.$zckw2hv.0">English Literature</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z9dqxnb"><a class="subjects-container__link" href="/bitesize/subjects/z9dqxnb" data-reactid=".w71dbx79f4.0.1.1.$z9dqxnb.0">French</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zkw76sg"><a class="subjects-container__link" href="/bitesize/subjects/zkw76sg" data-reactid=".w71dbx79f4.0.1.1.$zkw76sg.0">Geography</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z8j2tfr"><a class="subjects-container__link" href="/bitesize/subjects/z8j2tfr" data-reactid=".w71dbx79f4.0.1.1.$z8j2tfr.0">German</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zj26n39"><a class="subjects-container__link" href="/bitesize/subjects/zj26n39" data-reactid=".w71dbx79f4.0.1.1.$zj26n39.0">History</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zdn9jhv"><a class="subjects-container__link" href="/bitesize/subjects/zdn9jhv" data-reactid=".w71dbx79f4.0.1.1.$zdn9jhv.0">Home Economics: Food and Nutrition (CCEA)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zbtvxyc"><a class="subjects-container__link" href="/bitesize/subjects/zbtvxyc" data-reactid=".w71dbx79f4.0.1.1.$zbtvxyc.0">Hospitality (CCEA)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zqmtsbk"><a class="subjects-container__link" href="/bitesize/subjects/zqmtsbk" data-reactid=".w71dbx79f4.0.1.1.$zqmtsbk.0">ICT</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zqtw7ty"><a class="subjects-container__link" href="/bitesize/subjects/zqtw7ty" data-reactid=".w71dbx79f4.0.1.1.$zqtw7ty.0">Irish – Learners (CCEA)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zqyqh39"><a class="subjects-container__link" href="/bitesize/subjects/zqyqh39" data-reactid=".w71dbx79f4.0.1.1.$zqyqh39.0">Journalism (CCEA)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zq9xdxs"><a class="subjects-container__link" href="/bitesize/subjects/zq9xdxs" data-reactid=".w71dbx79f4.0.1.1.$zq9xdxs.0">Learning for Life and Work (CCEA)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zkrqxnb"><a class="subjects-container__link" href="/bitesize/subjects/zkrqxnb" data-reactid=".w71dbx79f4.0.1.1.$zkrqxnb.0">Mandarin</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z38pycw"><a class="subjects-container__link" href="/bitesize/subjects/z38pycw" data-reactid=".w71dbx79f4.0.1.1.$z38pycw.0">Maths</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zc8tfrd"><a class="subjects-container__link" href="/bitesize/subjects/zc8tfrd" data-reactid=".w71dbx79f4.0.1.1.$zc8tfrd.0">Maths Numeracy (WJEC)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$ztnygk7"><a class="subjects-container__link" href="/bitesize/subjects/ztnygk7" data-reactid=".w71dbx79f4.0.1.1.$ztnygk7.0">Media Studies</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zhsvr82"><a class="subjects-container__link" href="/bitesize/subjects/zhsvr82" data-reactid=".w71dbx79f4.0.1.1.$zhsvr82.0">Modern Foreign Languages</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z9c6y4j"><a class="subjects-container__link" href="/bitesize/subjects/z9c6y4j" data-reactid=".w71dbx79f4.0.1.1.$z9c6y4j.0">Moving Image Arts (CCEA)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zpf3cdm"><a class="subjects-container__link" href="/bitesize/subjects/zpf3cdm" data-reactid=".w71dbx79f4.0.1.1.$zpf3cdm.0">Music</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$znyb4wx"><a class="subjects-container__link" href="/bitesize/subjects/znyb4wx" data-reactid=".w71dbx79f4.0.1.1.$znyb4wx.0">Physical Education</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zpm6fg8"><a class="subjects-container__link" href="/bitesize/subjects/zpm6fg8" data-reactid=".w71dbx79f4.0.1.1.$zpm6fg8.0">Physics (Single Science)</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z3ckjxs"><a class="subjects-container__link" href="/bitesize/subjects/z3ckjxs" data-reactid=".w71dbx79f4.0.1.1.$z3ckjxs.0">PSHE and Citizenship</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zb48q6f"><a class="subjects-container__link" href="/bitesize/subjects/zb48q6f" data-reactid=".w71dbx79f4.0.1.1.$zb48q6f.0">Religious Studies</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zrkw2hv"><a class="subjects-container__link" href="/bitesize/subjects/zrkw2hv" data-reactid=".w71dbx79f4.0.1.1.$zrkw2hv.0">Science</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$zbbw2hv"><a class="subjects-container__link" href="/bitesize/subjects/zbbw2hv" data-reactid=".w71dbx79f4.0.1.1.$zbbw2hv.0">Sociology</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z4dqxnb"><a class="subjects-container__link" href="/bitesize/subjects/z4dqxnb" data-reactid=".w71dbx79f4.0.1.1.$z4dqxnb.0">Spanish</a></li><li class="subjects-container__item" data-reactid=".w71dbx79f4.0.1.1.$z8qmhyc"><a class="subjects-container__link" href="/bitesize/subjects/z8qmhyc" data-reactid=".w71dbx79f4.0.1.1.$z8qmhyc.0">Welsh Second Language (WJEC)</a></li></ol></div></div></div></div> </div>
  635. <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://www.bbc.co.uk">Home</a></li><li class="orb-nav-news"><a href="https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-tv"><a href="https://www.bbc.co.uk/tv">TV</a></li><li class="orb-nav-radio"><a href="https://www.bbc.co.uk/radio">Radio</a></li><li class="orb-nav-three"><a href="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://advertising.bbcworldwide.com/">Advertise with us<'+'/a><'+'/li><li class="orb-footer-adchoices"><a href="https://www.bbc.com/usingthebbc/cookies/how-does-the-bbc-use-cookies-for-advertising/">Ad choices<'+'/a><'+'/li>';</script><div class="orb-footer-inner"> <ul><li class="orb-footer-terms"><a href="https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright &copy; 2019 BBC.</em> The BBC is not responsible for the content of external sites. <span class="orb-footer-links"><a href="https://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/a07e26191aed6a8725358c88df999791/" src="https://nav.files.bbci.co.uk/orbit/a07e26191aed6a8725358c88df999791/js/orb.min.js"></script> <script type="text/javascript">require(['orb/lib/_$'], function($) {
  636.         $.ready(function() {
  637.             initialiseFooter();
  638.         });
  639.  
  640.         var scrollCheckTimer;
  641.         var didScroll;
  642.         var previousPosition = 0;
  643.         var delta = 5;
  644.         var PROMO_SHOW_BREAKPOINT = 1500;
  645.         var pageLength = 0;
  646.  
  647.         function initialiseFooter() {
  648.             // Suppress this feature on browsers we no longer test
  649.             var myNav = navigator.userAgent.toLowerCase();
  650.             var oldIE = (myNav.indexOf('msie') !== -1) && parseInt(myNav.split('msie')[1], 10) <= 10;
  651.             if (!oldIE) {
  652.                 require(['orb/cookies'], function (bbccookies) {
  653.                     var disabledByCookie = (parseInt(bbccookies.get('ckns_nav_promofail')) || 0) >= 3;
  654.                     if (!disabledByCookie) {
  655.                         require(['orb/fig'], function (orbFig) {
  656.                             orbFig.load(function (fig) {
  657.                                 if (fig.geo.isUK()) {
  658.                                     setUpLazyLoading();
  659.                                 }
  660.                             });
  661.                         });
  662.                     }
  663.                 });
  664.             }
  665.         }
  666.  
  667.         function setUpLazyLoading() {
  668.             // offsetHeight is expensive to calculate, only do it once.
  669.             pageLength = Math.abs(document.body.offsetHeight);
  670.  
  671.             if (pageLength < getViewportHeight() + 300 || pageLength - getCurrentPosition() < PROMO_SHOW_BREAKPOINT) {
  672.                 loadPromo();
  673.  
  674.             } else {
  675.                 window.onscroll = function () {
  676.                     didScroll = true;
  677.                 };
  678.  
  679.                 scrollCheckTimer = setInterval(function () {
  680.                     if (didScroll) {
  681.                         hasScrolled();
  682.                         didScroll = false;
  683.                     }
  684.                 }, 250);
  685.             }
  686.         }
  687.  
  688.         function loadPromo() {
  689.             clearInterval(scrollCheckTimer);
  690.  
  691.             require(['orb/async/_footerpromo'], function(promo) {
  692.                 promo.init('https://navpromo.api.bbci.co.uk', '');
  693.             });
  694.         }
  695.  
  696.         function getViewportHeight() {
  697.             return window.innerHeight;
  698.         }
  699.  
  700.         function getCurrentPosition() {
  701.             return Math.abs(window.scrollY || document.body.scrollTop || document.documentElement.scrollTop);
  702.         }
  703.  
  704.         function hasScrolled() {
  705.             var currentPosition = getCurrentPosition();
  706.             if (Math.abs(previousPosition - currentPosition) <= delta) {
  707.                 return;
  708.             }
  709.             if (currentPosition > previousPosition) {
  710.                 if ((pageLength - currentPosition) <= PROMO_SHOW_BREAKPOINT) {
  711.                     loadPromo();
  712.                 }
  713.             }
  714.             previousPosition = currentPosition;
  715.         }
  716.  
  717.     })</script><script type="text/javascript">/*<![CDATA[*/
  718.                 require(['orb/nav'], function(nav) {
  719.                     window.bbcuser.isUKCombined().then(function(isUK) {
  720.                         if (isUK) {
  721.                             nav.loadJs('https://nav.files.bbci.co.uk/orbit/a07e26191aed6a8725358c88df999791/js/edr.min.js');
  722.                         }
  723.                     });
  724.                 });
  725.             /*]]>*/</script><script type="text/javascript">require.config({
  726.             paths: {
  727.                 "mybbc/templates": '//mybbc.files.bbci.co.uk/notification-ui/3.9.10/templates',
  728.                 "mybbc/notifications": '//mybbc.files.bbci.co.uk/notification-ui/3.9.10/js'
  729.             }
  730.         });
  731.  
  732.         require(['mybbc/notifications/NotificationsMain', 'idcta/idcta-1'], function (NotificationsMain, idcta) {
  733.  
  734.             var loadNotifications = function (isUK) {
  735.                 if (isUK) {
  736.                     window.bbcpage.loadCSS('//mybbc.files.bbci.co.uk/notification-ui/3.9.10/css/main.min.css').then(function() {
  737.                         NotificationsMain.run(idcta, '//mybbc.files.bbci.co.uk/notification-ui/3.9.10/');
  738.                     });
  739.                 }
  740.             };
  741.            
  742.             if (window.bbcuser && window.bbcuser.isUKCombined && typeof(window.bbcuser.isUKCombined) === 'function') {
  743.                 // Use new API from Orbit if available
  744.                 window.bbcuser.isUKCombined().then(function(isUK) {
  745.                     loadNotifications(isUK);  
  746.                 });
  747.             } else {
  748.                 // Fallback to fig (ORB support)
  749.                 var orbFig = window.orb.fig;
  750.                 loadNotifications(orbFig.geo.isUK());
  751.             }
  752.         });</script><!-- BBCDOTCOM bodyLast --><div class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && window.bbcdotcom.analytics && bbcdotcom.config && !bbcdotcom.config.isSportApp() && !bbcdotcom.config.isReel()) { bbcdotcom.analytics.page(); } /*]]>*/</script><noscript><img src="//ssc.api.bbc.com/?c1=2&c2=19293874&ns_site=bbc&name=" height="1" width="1" alt=""></noscript><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.write(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.postWrite(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats === 1 && bbcdotcom.utils && window.location.pathname === '/') { var wwhpEdition = bbcdotcom.utils.getMetaPropertyContent('wwhp-edition'); var _sf_async_config={}; /** CONFIGURATION START **/ _sf_async_config.uid = 50924; _sf_async_config.domain = "bbc.co.uk"; _sf_async_config.title = "Homepage"+(wwhpEdition !== '' ? ' - '+wwhpEdition : ''); _sf_async_config.sections = "Homepage"+(wwhpEdition !== '' ? ', Homepage - '+wwhpEdition : ''); _sf_async_config.region = wwhpEdition; _sf_async_config.path = "/"+(wwhpEdition !== '' ? '?'+wwhpEdition : ''); /** CONFIGURATION END **/ (function(){ function loadChartbeat() { window._sf_endpt=(new Date()).getTime(); var e = document.createElement("script"); e.setAttribute("language", "javascript"); e.setAttribute("type", "text/javascript"); e.setAttribute('src', '//static.chartbeat.com/js/chartbeat.js'); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != "function") ? loadChartbeat : function() { oldonload(); loadChartbeat(); }; })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyLast = true; }()); /*]]>*/</script></div><!-- BBCDOTCOM all code in page --><script type="text/javascript">if (window.SEARCHBOX.suppress === false && window.SEARCHBOX.locale && /^en-?.*?/.test(window.SEARCHBOX.locale)) {
  753.     require.config({
  754.       paths: {
  755.         "search/searchbox": window.SEARCHBOX.searchboxAppStaticPrefix,
  756.       }
  757.     });
  758.  
  759.     if (bbcuser && bbcuser.isUKCombined) {
  760.         bbcuser.isUKCombined().then(function (isUK) {
  761.             if (isUK) {
  762.                 require(['search/searchbox/searchboxDrawer'], function (SearchboxDrawer) {
  763.                   SearchboxDrawer.run(window.SEARCHBOX);
  764.                 });
  765.             }
  766.         });
  767.     }
  768.  
  769.   }</script>  <script type="text/javascript">window.COOKIES_STATIC_HOST = 'https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-407.0fb42af/cookie-banner/cookie-prompt/';</script><script src="https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-407.0fb42af/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://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-407.0fb42af/detectview/detectview.bundle.js" async=""></script><script>Morph.toInit.bundles.push(function() { Morph.versions['bbc-morph-optimizely-ati@1.0.1']={'optimizely-ati':'1.0.0','amd-loader':'0.0.8','react':'0.14.7',};/******/ (function(modules) { // webpackBootstrap
  770. /******/        // The module cache
  771. /******/        var installedModules = {};
  772.  
  773. /******/        // The require function
  774. /******/        function __webpack_require__(moduleId) {
  775.  
  776. /******/                // Check if module is in cache
  777. /******/                if(installedModules[moduleId])
  778. /******/                        return installedModules[moduleId].exports;
  779.  
  780. /******/                // Create a new module (and put it into the cache)
  781. /******/                var module = installedModules[moduleId] = {
  782. /******/                        exports: {},
  783. /******/                        id: moduleId,
  784. /******/                        loaded: false
  785. /******/                };
  786.  
  787. /******/                // Execute the module function
  788. /******/                modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  789.  
  790. /******/                // Flag the module as loaded
  791. /******/                module.loaded = true;
  792.  
  793. /******/                // Return the exports of the module
  794. /******/                return module.exports;
  795. /******/        }
  796.  
  797.  
  798. /******/        // expose the modules object (__webpack_modules__)
  799. /******/        __webpack_require__.m = modules;
  800.  
  801. /******/        // expose the module cache
  802. /******/        __webpack_require__.c = installedModules;
  803.  
  804. /******/        // __webpack_public_path__
  805. /******/        __webpack_require__.p = "";
  806.  
  807. /******/        // Load entry module and return exports
  808. /******/        return __webpack_require__(0);
  809. /******/ })
  810. /************************************************************************/
  811. /******/ ([
  812. /* 0 */
  813. /***/ (function(module, exports, __webpack_require__) {
  814.  
  815.         Morph.modules["bbc-morph-optimizely-ati@1.0.1"] = __webpack_require__(1);
  816.  
  817. /***/ }),
  818. /* 1 */
  819. /***/ (function(module, exports, __webpack_require__) {
  820.  
  821.         module.exports =
  822.         /******/ (function(modules) { // webpackBootstrap
  823.         /******/        // The module cache
  824.         /******/        var installedModules = {};
  825.         /******/
  826.         /******/        // The require function
  827.         /******/        function __webpack_require__(moduleId) {
  828.         /******/
  829.         /******/                // Check if module is in cache
  830.         /******/                if(installedModules[moduleId]) {
  831.         /******/                        return installedModules[moduleId].exports;
  832.         /******/                }
  833.         /******/                // Create a new module (and put it into the cache)
  834.         /******/                var module = installedModules[moduleId] = {
  835.         /******/                        i: moduleId,
  836.         /******/                        l: false,
  837.         /******/                        exports: {}
  838.         /******/                };
  839.         /******/
  840.         /******/                // Execute the module function
  841.         /******/                modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  842.         /******/
  843.         /******/                // Flag the module as loaded
  844.         /******/                module.l = true;
  845.         /******/
  846.         /******/                // Return the exports of the module
  847.         /******/                return module.exports;
  848.         /******/        }
  849.         /******/
  850.         /******/
  851.         /******/        // expose the modules object (__webpack_modules__)
  852.         /******/        __webpack_require__.m = modules;
  853.         /******/
  854.         /******/        // expose the module cache
  855.         /******/        __webpack_require__.c = installedModules;
  856.         /******/
  857.         /******/        // define getter function for harmony exports
  858.         /******/        __webpack_require__.d = function(exports, name, getter) {
  859.         /******/                if(!__webpack_require__.o(exports, name)) {
  860.         /******/                        Object.defineProperty(exports, name, {
  861.         /******/                                configurable: false,
  862.         /******/                                enumerable: true,
  863.         /******/                                get: getter
  864.         /******/                        });
  865.         /******/                }
  866.         /******/        };
  867.         /******/
  868.         /******/        // getDefaultExport function for compatibility with non-harmony modules
  869.         /******/        __webpack_require__.n = function(module) {
  870.         /******/                var getter = module && module.__esModule ?
  871.         /******/                        function getDefault() { return module['default']; } :
  872.         /******/                        function getModuleExports() { return module; };
  873.         /******/                __webpack_require__.d(getter, 'a', getter);
  874.         /******/                return getter;
  875.         /******/        };
  876.         /******/
  877.         /******/        // Object.prototype.hasOwnProperty.call
  878.         /******/        __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  879.         /******/
  880.         /******/        // __webpack_public_path__
  881.         /******/        __webpack_require__.p = "";
  882.         /******/
  883.         /******/        // Load entry module and return exports
  884.         /******/        return __webpack_require__(__webpack_require__.s = 0);
  885.         /******/ })
  886.         /************************************************************************/
  887.         /******/ ([
  888.         /* 0 */
  889.         /***/ (function(module, exports, __webpack_require__) {
  890.  
  891.         "use strict";
  892.  
  893.  
  894.         Object.defineProperty(exports, "__esModule", {
  895.             value: true
  896.         });
  897.  
  898.         var _createClass = 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  899.  
  900.         var _react = __webpack_require__(1);
  901.  
  902.         function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  903.  
  904.         function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  905.  
  906.         function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  907.  
  908.         __webpack_require__(2);
  909.         var optimizelyATI = __webpack_require__(3);
  910.  
  911.         var OptimizelyATI = function (_Component) {
  912.             _inherits(OptimizelyATI, _Component);
  913.  
  914.             function OptimizelyATI() {
  915.                 _classCallCheck(this, OptimizelyATI);
  916.  
  917.                 return _possibleConstructorReturn(this, (OptimizelyATI.__proto__ || Object.getPrototypeOf(OptimizelyATI)).apply(this, arguments));
  918.             }
  919.  
  920.             _createClass(OptimizelyATI, [{
  921.                 key: 'componentDidMount',
  922.                 value: function componentDidMount() {
  923.                     optimizelyATI.init();
  924.                 }
  925.             }, {
  926.                 key: 'render',
  927.                 value: function render() {
  928.                     return null;
  929.                 }
  930.             }]);
  931.  
  932.             return OptimizelyATI;
  933.         }(_react.Component);
  934.  
  935.         exports.default = OptimizelyATI;
  936.         module.exports = exports['default'];
  937.  
  938.         /***/ }),
  939.         /* 1 */
  940.         /***/ (function(module, exports) {
  941.  
  942.         module.exports = __webpack_require__(2);
  943.  
  944.         /***/ }),
  945.         /* 2 */
  946.         /***/ (function(module, exports) {
  947.  
  948.         module.exports = __webpack_require__(3);
  949.  
  950.         /***/ }),
  951.         /* 3 */
  952.         /***/ (function(module, exports) {
  953.  
  954.         module.exports = __webpack_require__(4);
  955.  
  956.         /***/ })
  957.         /******/ ]);
  958.  
  959. /***/ }),
  960. /* 2 */
  961. /***/ (function(module, exports) {
  962.  
  963.         module.exports = React;
  964.  
  965. /***/ }),
  966. /* 3 */
  967. /***/ (function(module, exports) {
  968.  
  969.         module.exports = Morph.modules["amd-loader@0.0.8"];
  970.  
  971. /***/ }),
  972. /* 4 */
  973. /***/ (function(module, exports, __webpack_require__) {
  974.  
  975.         var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
  976.  
  977.         !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
  978.           // Provides an initialisation method
  979.  
  980.           function init() {
  981.             registerCurrentlyActiveExperiments();
  982.             registerFutureActiveExperiments();
  983.           }
  984.  
  985.           function experimentEventTest(experimentObject) {
  986.             //trigger custom experiment event
  987.  
  988.             const { experiment, variation } = experimentObject;
  989.  
  990.             if (experiment && variation) {
  991.               const experimentEvent = new CustomEvent('bbc-user-event', {
  992.                 detail: {
  993.                   personalisation: {
  994.                     EXP: experiment + '::' + variation
  995.                   }
  996.                 }
  997.               });
  998.               document.dispatchEvent(experimentEvent);
  999.             }
  1000.           }
  1001.  
  1002.           return {
  1003.             init: init,
  1004.             experimentTest: experimentEventTest
  1005.           };
  1006.  
  1007.           function registerCurrentlyActiveExperiments() {
  1008.             var activeCampaigns = getAllActiveOptimizelyCampaigns();
  1009.  
  1010.             if (activeCampaigns) {
  1011.               var experiments = [];
  1012.               for (var campaignId in activeCampaigns) {
  1013.                 if (activeCampaigns.hasOwnProperty(campaignId)) {
  1014.                   var experimentData = getExperimentData(campaignId);
  1015.                   experiments.push(experimentData);
  1016.                 }
  1017.               }
  1018.  
  1019.               for (var i = 0; i < experiments.length; i++) {
  1020.                 experimentEventTest(experiments[i]);
  1021.               }
  1022.             }
  1023.           }
  1024.  
  1025.           // Register an event handler whenever the campaignDecided event is triggered
  1026.  
  1027.           function registerFutureActiveExperiments() {
  1028.             window['optimizely'] = window['optimizely'] || [];
  1029.             window['optimizely'].push({
  1030.               type: 'addListener',
  1031.               filter: {
  1032.                 type: 'lifecycle',
  1033.                 name: 'campaignDecided'
  1034.               },
  1035.               handler: function (event) {
  1036.                 var id = event.data.campaign.id;
  1037.                 var experimentData = [getExperimentData(id)];
  1038.                 experimentEventTest(experimentData);
  1039.               }
  1040.             });
  1041.           }
  1042.  
  1043.           function getExperimentData(campaignId) {
  1044.             var campaign = getActiveOptimizelyCampaignById(campaignId);
  1045.  
  1046.             var experimentData = {};
  1047.             if (campaign) {
  1048.               var browserIsSeeingTheExperiment = !campaign.isInCampaignHoldback; // true
  1049.  
  1050.               if (browserIsSeeingTheExperiment) {
  1051.                 // construct an object with the experiment name and variation
  1052.                 experimentData = {
  1053.                   experiment: campaign.experiment.name,
  1054.                   variation: campaign.variation.name
  1055.                 };
  1056.               }
  1057.               // }
  1058.             }
  1059.             return experimentData;
  1060.           }
  1061.  
  1062.           // Gets a campaign object from the Optimizely API for a given campaign ID
  1063.  
  1064.           function getAllActiveOptimizelyCampaigns() {
  1065.             return getOptimizelyCampaignState();
  1066.           }
  1067.  
  1068.           function getActiveOptimizelyCampaignById(campaignId) {
  1069.             return getOptimizelyCampaignState()[campaignId];
  1070.           }
  1071.  
  1072.           function getOptimizelyCampaignState() {
  1073.             var state = window['optimizely'] && window['optimizely'].get('state');
  1074.  
  1075.             if (state) {
  1076.               return state.getCampaignStates({
  1077.                 isActive: true
  1078.               });
  1079.             }
  1080.  
  1081.             return {};
  1082.           }
  1083.         }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  1084.  
  1085.  
  1086. /***/ })
  1087. /******/ ]);;
  1088. });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-optimizely-ati","language":"en-GB","version":"1.0.1","_mrrVersion":"2.0.16"},'u33812745318788373'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//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(); } /* u33812745318788373 */</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")}}]);;
  1089. });</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"]}]);;
  1090. });</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),s=n(12),f=n(59),d=n(5),p=n(17),g=n(28),b=n(27),y=n(60),h=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),S=n(1),z=n(21),k=E.f,P=S.f,N=j.f,C=r.Symbol,R=r.JSON,T=R&&R.stringify,q=p("_hidden"),D=p("toPrimitive"),M={}.propertyIsEnumerable,A=s("symbol-registry"),B=s("symbols"),L=s("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=k(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=y(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=k(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,S.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=z(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 h(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),f(C,"Symbol"),f(Math,"Math",!0),f(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.29.1"]=a.a},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)}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=8)}([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","learn-revise":"Learn & revise",support:"Support",careers:"Careers","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","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","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","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(12)),l=r(n(5)),c=r(n(3)),s=r(n(7)),f=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,y=e.linkToHighlight;return c.default.initLocalisations({language:r,localisations:f.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,y)});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(s.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 a(e){return e&&e.__esModule?e:{default:e}}function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 s(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function f(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?p(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(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&&b(e,t)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return m(e)||v(e,t)||h()}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function v(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(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 m(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var _=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=r?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n(0)),w=a(n(1)),x=a(n(2)),O=a(n(13)),j=a(n(14)),E=function(){var e=new Date;return e.setYear(e.getFullYear()+1),e},S=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:E()})},z=function(e){S("ckps_kl_lang",e),window.location.reload(!0)},k=function(e){return y(O.default.filter(function(t){return t.languageCode===e}),1)[0]||O.default[0]},P=function(e){function t(){var e;return l(this,t),e=f(this,d(t).call(this)),e.state={showLanguages:!1},e.close=e.close.bind(p(e)),e.closeClickEvent=e.closeClickEvent.bind(p(e)),e.toggle=e.toggle.bind(p(e)),e.handleKeyPress=e.handleKeyPress.bind(p(e)),e.handleFocusOut=e.handleFocusOut.bind(p(e)),e}return g(t,e),s(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=k(n),i=O.default.filter(function(e){return e.languageCode!==o.languageCode});return _.default.createElement("div",{className:(0,x.default)("global-language-selector",r),ref:function(t){e.languageSelector=t}},_.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")},_.default.createElement("span",{className:"global-language-selector__drawer-text"},o.languageLabel)),_.default.createElement("div",{className:(0,x.default)("global-language-selector__container",{"global-language-selector__container--hidden":!a})},_.default.createElement("ol",{className:"global-language-selector__list"},_.default.createElement(j.default,u({},o,{onClick:z,selected:!0})),i.map(function(e){return _.default.createElement(j.default,u({key:"".concat(e.languageCode)},e,{onClick:z}))}))))}}]),t}(_.Component);P.defaultProps={language:"en-GB",className:""},P.propTypes={language:w.default.string,className:w.default.string};var N=P;t.default=N,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(9)),u=r(n(24)),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 a(e){return e&&e.__esModule?e:{default:e}}function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}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 s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(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&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var b=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=r?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n(0)),y=a(n(1)),h=a(n(10)),v=a(n(18)),m=function(e){function t(e){var n;return u(this,t),n=s(this,f(t).call(this,e)),n.state={showDrawer:!1},n.toggleDrawer=n.toggleDrawer.bind(d(n)),n}return p(t,e),c(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 b.default.createElement("div",{className:"global-navigation"},b.default.createElement(h.default,{buckets:a.buckets,pageType:t,href:o,language:n,subdirectory:r,onClick:this.toggleDrawer,showDrawer:l,phase:i,headerData:u}),b.default.createElement(v.default,{allBitesize:a.allBitesize,buckets:a.buckets,href:o,pageType:t,language:n,subdirectory:r,onClick:this.toggleDrawer,showDrawer:l,headerData:u}))}}]),t}(b.Component);m.defaultProps={pageType:"",href:"",subdirectory:"bitesize",language:"en-GB",phase:"",headerData:{href:null}},m.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}).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 _=m;t.default=_,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)),s=r(n(11)),f=function(e){var t=e.buckets,n=e.pageType,r=e.href,o=e.language,f=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(f),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(s.default,{href:r,buckets:t,pageType:n,language:o,subdirectory:f,showDrawer:p,onClick:d,headerData:b})))};f.displayName="Header",f.defaultProps={href:"",language:"en-GB",pageType:"",phase:"",showDrawer:!1,subdirectory:"bitesize",headerData:{}},f.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=f;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(16)),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,s=e.onClick,f=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:s,showDrawer:t,linkToHighlight:f?f.href:null,includeLanguageSelector:!0})),l(f)&&a.default.createElement(u.default,{submenu:f,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 s=c;t.default=s,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(15)),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 a(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(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){return!t||"object"!==o(t)&&"function"!=typeof t?f(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(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&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var g=a(n(0)),b=a(n(1)),y=a(n(2)),h=a(n(17)),v=function(e){function t(e){var n;return i(this,t),n=c(this,s(t).call(this,e)),n.toggleClick=n.toggleClick.bind(f(n)),n.state={isExpanded:!1},n}return d(t,e),l(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 g.default.createElement("nav",{className:(0,y.default)("global-navigation__mobile-sub-nav",{"global-navigation__mobile-sub-nav--expanded":o})},g.default.createElement("h3",{className:"global-navigation__mobile-sub-nav-title"},g.default.createElement("button",{type:"button",className:"global-navigation__mobile-sub-nav__toggle",onClick:this.toggleClick,"aria-expanded":o,"aria-controls":"mobile-sub-nav-menu"},g.default.createElement("span",{className:"global-navigation__mobile-sub-nav-title__text"},n),g.default.createElement("span",{className:"global-navigation__chevron__down-svg"},g.default.createElement(h.default,null)))),g.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 g.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})},g.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}(g.default.Component);v.displayName="MobileSubNav",v.propTypes={submenu:b.default.shape({title:b.default.string.isRequired,children:b.default.arrayOf(b.default.shape({title:b.default.string.isRequired,href:b.default.string.isRequired})).isRequired}).isRequired,currentPage:b.default.string.isRequired};var m=v;t.default=m,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(19)),u=r(n(6)),l=r(n(7)),c=r(n(23)),s=function(e){return e&&"title"in e&&"children"in e&&e.children.length>0},f=function(e){var t=e.allBitesize,n=e.buckets,r=e.pageType,o=e.language,f=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:f,onClick:d,showDrawer:p,href:g,linkToHighlight:b?b.href:null})),p&&a.default.createElement(i.default,{language:o,allBitesize:t,subdirectory:f}),s(b)&&a.default.createElement("div",{className:"global-navigation__sub-nav-wrap"},a.default.createElement(c.default,{currentPage:g,submenu:b})))};f.displayName="PrimaryNav",f.defaultProps={pageType:"",subdirectory:"bitesize",language:"en-GB",showDrawer:!1,href:"",headerData:{href:null}},f.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=f;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(20)),u=r(n(21)),l=r(n(22)),c=r(n(3)),s=r(n(4)),f=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:s.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(f(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(f(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(f(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(f(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){e.exports={buckets:[{title:"Home",href:""},{title:"learn-revise",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"}],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"}]}}])},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},s={initLocalisations:u,getLocale:l,localise:c};t.default=s,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 s(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)}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 s(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,s,f,d,p=e&l.F,g=e&l.G,b=e&l.S,y=e&l.P,h=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)s=!p&&v&&void 0!==v[c],f=(s?v:n)[c],d=h&&s?u(f,r):y&&"function"==typeof f?u(Function.call,f):f,v&&i(v,c,f,e&l.U),m[c]!=f&&o(m,c,d),y&&_[c]!=f&&(_[c]=f)};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({}))}),s=function(e){i(e,r,{value:{i:"O"+ ++u,w:{}}})},f=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";s(e)}return e[r].i},d=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;s(e)}return e[r].w},p=function(e){return c&&g.NEED&&l(e)&&!o(e,r)&&s(e),e},g=e.exports={KEY:r,NEED:!1,fastKey:f,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),s=o(i,c);if(e&&n!=n){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||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 s=e.length;return n<0&&(n=c(s+n,0)),i(e)?n<=s&&e.indexOf(t,n)>-1:!!s&&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||s.test(e)?f(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,s=/^0o[0-7]+$/i,f=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),s=!n&&!r&&u(e),d=!n&&!r&&!s&&c(e),p=n||r||s||d,g=p?a(e.length,String):[],b=g.length;for(var y in e)!t&&!f.call(e,y)||p&&("length"==y||s&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,b))||g.push(y);return g}var a=n(89),o=n(90),i=n(25),u=n(92),l=n(94),c=n(95),s=Object.prototype,f=s.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,s=c||a;e.exports=s}).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 s(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)}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 s(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 s(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)}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 s(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 s?s.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,s=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])",s="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",f="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,u].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",d="[\\ufe0e\\ufe0f]?"+s+f,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 s(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)}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 s(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}]);;
  1091. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-header-view@8.20.1"]={"@babel/runtime":"7.7.4","@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.29.1","bbc-morph-bitesize-header-data":"1.11.0","bbc-morph-bitesize-level":"3.1.0","bbc-morph-bitesize-personalisation-client-tools":"9.0.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.7.2","bbc-morph-istats":"1.3.0","bbc-morph-istats-internal-link-tracking":"1.0.0","classnames":"2.2.6","lodash":"4.17.15","morph-container":"4.0.0","react":"0.14.7","react-dom":"0.14.7"};
  1092. !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=197)}([function(t,e){t.exports=React},function(t,e,n){var r=n(126),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(486)()},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){var r=n(168),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){n(189)("asyncIterator")},function(t,e,n){"use strict";var r=n(7),o=n(15),i=n(14),u=n(41),a=n(44),c=n(460).KEY,f=n(21),s=n(45),l=n(74),p=n(30),d=n(16),h=n(190),y=n(189),v=n(461),g=n(462),b=n(42),_=n(29),m=n(23),x=n(68),j=n(43),w=n(122),O=n(463),k=n(464),A=n(13),P=n(22),S=k.f,E=A.f,T=O.f,I=r.Symbol,z=r.JSON,R=z&&z.stringify,M=d("_hidden"),C=d("toPrimitive"),W={}.propertyIsEnumerable,L=s("symbol-registry"),D=s("symbols"),B=s("op-symbols"),F=Object.prototype,N="function"==typeof I,q=r.QObject,U=!q||!q.prototype||!q.prototype.findChild,$=i&&f(function(){return 7!=w(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=S(F,e);r&&delete F[e],E(t,e,n),r&&t!==F&&E(F,e,r)}:E,G=function(t){var e=D[t]=w(I.prototype);return e._k=t,e},V=N&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},K=function(t,e,n){return t===F&&K(B,e,n),b(t),e=x(e,!0),b(n),o(D,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=w(n,{enumerable:j(0,!1)})):(o(t,M)||E(t,M,j(1,{})),t[M][e]=!0),$(t,e,n)):E(t,e,n)},Z=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},H=function(t,e){return void 0===e?w(t):Z(w(t),e)},Y=function(t){var e=W.call(this,t=x(t,!0));return!(this===F&&o(D,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,M)&&this[M][t])||e)},J=function(t,e){if(t=m(t),e=x(e,!0),t!==F||!o(D,e)||o(B,e)){var n=S(t,e);return!n||!o(D,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=T(m(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])||e==M||e==c||r.push(e);return r},Q=function(t){for(var e,n=t===F,r=T(n?B:m(t)),i=[],u=0;r.length>u;)!o(D,e=r[u++])||n&&!o(F,e)||i.push(D[e]);return i};N||(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===F&&e.call(B,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),$(this,t,j(1,n))};return i&&U&&$(F,t,{configurable:!0,set:e}),G(t)},a(I.prototype,"toString",function(){return this._k}),k.f=J,A.f=K,n(191).f=O.f=X,n(47).f=Y,n(71).f=Q,i&&!n(46)&&a(F,"propertyIsEnumerable",Y,!0),h.f=function(t){return G(d(t))}),u(u.G+u.W+u.F*!N,{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=P(d.store),rt=0;nt.length>rt;)y(nt[rt++]);u(u.S+u.F*!N,"Symbol",{for:function(t){return o(L,t+="")?L[t]:L[t]=I(t)},keyFor:function(t){if(!V(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),u(u.S+u.F*!N,"Object",{create:H,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),z&&u(u.S+u.F*(!N||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[C]||n(12)(I.prototype,C,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,n){var r=n(13),o=n(43);t.exports=n(14)?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(42),o=n(114),i=n(68),u=Object.defineProperty;e.f=n(14)?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(21)(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(45)("wks"),o=n(30),i=n(7).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(224),i=n(229);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(25),i=n(225),u=n(226),a="[object Null]",c="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=r},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(389),i=n(392);t.exports=r},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(116),o=n(70);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(117),o=n(119);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 null==t?void 0===t?c:a:f&&f in Object(t)?i(t):u(t)}var o=n(59),i=n(357),u=n(358),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){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(220),i=n(222);t.exports=r},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==u}var o=n(18),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(143),i=n(145),u=n(147);t.exports=r},function(t,e,n){var r=n(288),o=n(95),i=n(289),u=n(290),a=n(125),c=n(18),f=n(127),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(324);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(32),i=1/0;t.exports=r},function(t,e){t.exports=Morph.modules["prop-types@15.7.2"]},function(t,e,n){function r(t){return u(t)?o(t):i(t)}var o=n(364),i=n(371),u=n(58);t.exports=r},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(108),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(109)),u=o(n(110)),a=o(n(111)),c=o(n(112)),f=o(n(113)),s=o(n(489)),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){var r=n(7),o=n(28),i=n(12),u=n(44),a=n(202),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(29);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(7),o=n(12),i=n(15),u=n(30)("src"),a=n(201),c=(""+a).split("toString");n(28).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(28),o=n(7),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(46)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){e.f={}.propertyIsEnumerable},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,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(50),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(142),i=n(86);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(258),i=n(259),u=n(260),a=n(261),c=n(262);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(87);t.exports=r},function(t,e,n){var r=n(17),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(276);t.exports=r},function(t,e){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(167),i=n(102);t.exports=r},function(t,e,n){var r=n(8),o=r.Symbol;t.exports=o},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(26),i=n(27),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(379),i=n(380),u=n(381),a=n(382),c=n(383);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(176);t.exports=r},function(t,e,n){var r=n(20),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(401);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(61),i=1/0;t.exports=r},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){var r=n(29);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(45)("keys"),o=n(30);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(119);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(13).f,o=n(15),i=n(16)("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,j,w,O,k){var A=e&v;if(!A&&"function"!=typeof t)throw new TypeError(h);var P=r?r.length:0;if(P||(e&=~(_|m),r=j=void 0),O=void 0===O?O:x(d(O),0),k=void 0===k?k:d(k),P-=j?j.length:0,e&m){var S=r,E=j;r=j=void 0}var T=A?void 0:f(t),I=[t,e,n,r,j,S,E,w,O,k];if(T&&s(I,T),t=I[0],e=I[1],n=I[2],r=I[3],j=I[4],k=I[9]=void 0===I[9]?A?0:t.length:x(I[9]-P,0),!k&&e&(g|b)&&(e&=~(g|b)),e&&e!=y)z=e==g||e==b?u(t,e,k):e!=_&&e!=(y|_)||j.length?a.apply(void 0,I):c(t,e,n,r);else var z=i(t,e,n);return p((T?o:l)(z,I),t,e)}var o=n(123),i=n(230),u=n(231),a=n(128),c=n(248),f=n(81),s=n(249),l=n(134),p=n(136),d=n(140),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(18),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(50),i=n(80),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(124),o=n(233),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(50),i=n(80);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(138);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(253),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(254),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(19)(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(126),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(19)(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(53),i=n(263),u=n(264),a=n(265),c=n(266),f=n(267);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(17),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(268),i=n(275),u=n(277),a=n(278),c=n(279);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(285),o=n(150),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(146),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(154);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(32),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=r},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){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(377),i=n(428),u=n(437),a=n(5),c=n(438);t.exports=r},function(t,e,n){var r=n(20),o=n(8),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(393),i=n(400),u=n(402),a=n(403),c=n(404);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(61),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(195);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(195),i=n(196);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(485);t.exports=r},function(t,e,n){t.exports=!n(14)&&!n(21)(function(){return 7!=Object.defineProperty(n(115)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(29),o=n(7).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(15),o=n(23),i=n(205)(!1),u=n(69)("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(118);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(209),o=n(210),i=n(73),u=n(23);t.exports=n(211)(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(42),o=n(213),i=n(70),u=n(69)("IE_PROTO"),a=function(){},c=function(){var t,e=n(115)("iframe"),r=i.length;for(e.style.display="none",n(214).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(76),o=n(124),i=o?function(t,e){return o.set(t,e),t}:r;t.exports=i},function(t,e,n){var r=n(125),o=r&&new r;t.exports=o},function(t,e,n){var r=n(17),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(48))},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,j,w,O,k){function A(){for(var d=arguments.length,h=Array(d),y=d;y--;)h[y]=arguments[y];if(T)var v=f(A),g=u(h,v);if(_&&(h=o(h,_,m,T)),x&&(h=i(h,x,j,T)),d-=g,T&&d<k){var b=l(h,v);return c(t,e,r,A.placeholder,n,h,b,w,O,k-d)}var R=S?n:this,M=E?R[t]:t;return d=h.length,w?h=s(h,w):I&&d>1&&h.reverse(),P&&O<d&&(h.length=O),this&&this!==p&&this instanceof A&&(M=z||a(M)),M.apply(R,h)}var P=e&g,S=e&d,E=e&h,T=e&(y|v),I=e&b,z=E?void 0:a(t);return A}var o=n(129),i=n(130),u=n(232),a=n(49),c=n(131),f=n(139),s=n(247),l=n(85),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,j=_?h:void 0,w=_?void 0:h;e|=_?l:p,(e&=~(_?p:l))&f||(e&=~(a|c));var O=[t,e,d,j,m,w,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(132),i=n(134),u=n(136),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(79),i=n(81),u=n(133),a=n(235);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(234),i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(123),o=n(135),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(237),i=n(238),u=n(137),a=n(241);t.exports=r},function(t,e,n){var r=n(239),o=n(135),i=o(r);t.exports=i},function(t,e,n){var r=n(17),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(250);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(52),i=n(33);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(86),i=n(87),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(252),i=n(88),u=n(2),a=n(89),c=n(84),f=n(144),s=Object.prototype,l=s.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(255),o=n(91),i=n(92),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(93),i=n(256),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(77),i=n(90);t.exports=r},function(t,e,n){function r(t,e,n,R,M,C){var W,L=e&k,D=e&A,B=e&P;if(n&&(W=M?n(t,R,M,C):n(t)),void 0!==W)return W;if(!j(t))return t;var F=_(t);if(F){if(W=v(t),!L)return s(t,W)}else{var N=y(t),q=N==E||N==T;if(m(t))return f(t,L);if(N==I||N==S||q&&!M){if(W=D||q?{}:b(t),!L)return D?p(t,c(W,t)):l(t,a(W,t))}else{if(!z[N])return M?t:{};W=g(t,N,L)}}C||(C=new o);var U=C.get(t);if(U)return U;if(C.set(t,W),w(t))return t.forEach(function(o){W.add(r(o,e,n,o,t,C))}),W;if(x(t))return t.forEach(function(o,i){W.set(i,r(o,e,n,i,t,C))}),W;var $=B?D?h:d:D?keysIn:O,G=F?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,C))}),W}var o=n(94),i=n(83),u=n(142),a=n(141),c=n(280),f=n(283),s=n(51),l=n(284),p=n(286),d=n(152),h=n(287),y=n(34),v=n(291),g=n(292),b=n(297),_=n(2),m=n(89),x=n(298),j=n(11),w=n(300),O=n(33),k=1,A=2,P=4,S="[object Arguments]",E="[object Function]",T="[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[E]=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(143),i=n(281),u=n(147);t.exports=r},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){var r=n(98),o=n(99),i=n(97),u=n(150),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(153),i=n(97),u=n(33);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(98),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(307),i=n(320),u=n(76),a=n(2),c=n(328);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(309),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(310),i=n(313),u=n(314),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(161),i=n(36);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(101),u=n(162),a=n(35);t.exports=r},function(t,e,n){var r=n(322),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(332),i=n(335),u=n(137);t.exports=r},function(t,e){t.exports={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1}},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(26),i=n(60),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(48))},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(360);t.exports=r},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(366),o=n(27),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(8),o=n(367),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(19)(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(368),o=n(369),i=n(370),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(62),i=n(384),u=n(385),a=n(386),c=n(387),f=n(388);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(405),i=n(27);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(406),i=n(409),u=n(410),a=1,c=2;t.exports=r},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(60);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(183);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(184),i=n(66);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(106),u=n(429),a=n(432);t.exports=r},function(t,e){t.exports=Morph.modules["bbc-morph-promise@1.0.6"]},function(t,e,n){"use strict";var r=n(107);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(185)),i=r(n(57)),u=function(){return window.Promise||(window.Promise=o.default),new o.default(function(t,e){requirejs(["idcta-v2/id-config"],function(n){n["bbcid-v5"]&&"RED"!==n["bbcid-v5"]?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 window&&window.Morph&&""!==window.Morph.config.pushEnv?window.Morph.config.pushEnv:"test"},i=function(){return window&&window.location&&window.location.hostname&&window.location.hostname.includes("bbc.co.uk")?"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};e.default=y,t.exports=e.default},function(t,e,n){var r=n(7),o=n(28),i=n(46),u=n(190),a=n(13).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(16)},function(t,e,n){var r=n(116),o=n(70).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(37)),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(t){return(n="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 r(e){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?t.exports=r=function(t){return n(t)}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(e)}t.exports=r},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(198),o=n.n(r);Morph.modules["bbc-morph-bitesize-header-view@8.20.1"]=o.a},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)}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=42)}([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(22)),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!"}},"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!"}},"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!"}},"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"}}},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(199)},function(t,e){t.exports=n(353)},function(t,e){t.exports=n(375)},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(57)},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(8)),i=r(n(7)),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 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(t){return(u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function a(){return a=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},a.apply(this,arguments)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(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 s(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}function l(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?p(t):e}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(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&&y(t,e)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var v=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==u(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=r?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}(n(0)),g=o(n(13)),b=o(n(14)),_=o(n(15)),m=o(n(16)),x=o(n(3)),j=n(17),w=o(n(18)),O=o(n(40)),k=function(t,e){return(0,g.default)("header-image-no-logo",{"header-image-container--in-app":t},{"header-image-container--no-illustration":!e})},A=function(t,e,n){return(0,g.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})},P=function(t){var e=["programme-of-study","examspecs","primary-index"];return(0,x.default)(e,t)},S=function(t,e){var n=["zgkw2hv","zjxhfg8","z6svr82","z826n39","zv48q6f","z2pfb9q","zyhbwmn","zvnrq6f","zwxhfg8","zdm3nrd","zbkw2hv","z7hs34j"],r=["primary-index"];return(0,x.default)(n,e)||(0,x.default)(r,t)},E=function(t,e){return P(t)&&!S(t,e)},T=function(t){function e(t){var n;return c(this,e),n=l(this,d(e).call(this,t)),n.state={notificationMessage:"",notificationError:!1},n}return h(e,t),s(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.phase,r=t.fosZid;n(41);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,u=e.pageType,c=e.headerData,f=e.zid,s=this.state,l=s.notificationMessage,p=s.notificationError,d=["index-page","flashcards","tags","collection-index"],h=function(e,n){t.setState({notificationMessage:e,notificationError:n})},y=P(u),g=E(u,f);return v.default.createElement("div",null,v.default.createElement("div",{className:A(n,u,r)}),v.default.createElement(m.default,{message:l,notificationClearedAction:function(){t.state.notificationMessage="",t.state.notificationError=!1},isError:p}),v.default.createElement("div",null,!r&&v.default.createElement(b.default,a({},this.props,{headerData:c})),v.default.createElement(_.default,{fosZid:o,className:k(r,y)},i&&v.default.createElement("p",{className:"preview-panel"},"THIS IS A PREVIEW PAGE"),d.indexOf(u)<0&&v.default.createElement(w.default,a({},this.props,{displayPartialWidth:g,displaySubjectIllustration:y,setNotificationMessage:h,showPartOf:!r&&"primary-index"!==u})),y&&v.default.createElement(O.default,{pageHasPartialWidthContextPanel:g,url:(0,j.getIllustrationUrl)(this.props)}))))}}]),e}(v.Component);T.displayName="Header",T.defaultProps={description:"",zid:null,topicId:null,label:"",isPreview:void 0,numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,fosZid:"",subdirectory:"education",globalNav:"false",phase:"",isTaggedWithMultipleTopics:!1,headerData:{}},T.propTypes={description:v.PropTypes.string,fosZid:v.PropTypes.string,label:v.PropTypes.string,language:v.PropTypes.string.isRequired,numberOfClassClips:v.PropTypes.number,numberOfLearnerGuides:v.PropTypes.number,hasTopics:v.PropTypes.bool,pageType:v.PropTypes.string.isRequired,zid:v.PropTypes.string,topicId:v.PropTypes.string,isPreview:v.PropTypes.string,subdirectory:v.PropTypes.string,globalNav:v.PropTypes.string,phase:v.PropTypes.string,isInApp:v.PropTypes.bool.isRequired,isTaggedWithMultipleTopics:v.PropTypes.bool,headerData:v.PropTypes.shape({title:v.PropTypes.string.isRequired,href:v.PropTypes.string.isRequired,children:v.PropTypes.arrayOf(v.PropTypes.shape({title:v.PropTypes.string.isRequired,href:v.PropTypes.string.isRequired})).isRequired})};var I=T;e.default=I,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(459)},function(t,e,n){var r=function(t){return"primary-index"===t.pageType?"https://bitesize.files.bbci.co.uk/images/phases/primary/".concat(t.pageType,".png"):"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 o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function i(t){return t&&t.__esModule?t:{default:t}}function u(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return u=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var e=u();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=r?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=t[i]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=i(n(3)),f=i(n(19)),s=i(n(20)),l=i(n(24)),p=n(5),d=i(n(25)),h=i(n(28)),y=i(n(38)),v=function(t,e,n){var r="404"!==t,o=""!==e;return r&&o&&!n},g=function(t,e,n){var r=["z98jmp3","z6gw2hv","zdpp34j","z8w76sg","zp3d7ty","z8hhvcw","zkdqxnb","zqq4wxs"];return!n&&(0,c.default)(r,t)&&"guide"===e},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":"")},j=function(t){var e=t.contentId,n=t.description,r=t.hasTopics,o=t.label,i=t.language,u=t.levelId,c=t.levelLabel,j=t.examspecLabel,w=t.numberOfClassClips,O=t.numberOfLearnerGuides,k=t.pageType,A=t.zid,P=t.duration,S=t.subdirectory,E=t.isInApp,T=t.setNotificationMessage,I=t.showPartOf,z=t.displayPartialWidth,R=t.displaySubjectIllustration,M=b(o,c,j);return a.default.createElement("header",{className:_(z)},v(k,c,E)&&a.default.createElement(f.default,t),a.default.createElement("div",{className:m(z,R)},a.default.createElement("div",{className:"context-panel__header-container"},"guide"===k&&a.default.createElement("h2",{className:"context-panel__header"},M),"guide"!==k&&a.default.createElement("h1",{className:"context-panel__header"},M)),n&&a.default.createElement("div",{className:"context-panel__description-container"},a.default.createElement("p",{className:x(k)},n)),I&&a.default.createElement(d.default,t),!r&&("clips"===k||O>0)&&a.default.createElement(s.default,{subdirectory:S,language:i,numberOfClassClips:w,numberOfLearnerGuides:O,pageType:k,zid:A}),!r&&(0,p.validateDuration)(P)&&a.default.createElement(l.default,{duration:P,language:i}),!E&&a.default.createElement(h.default,{contentId:e,pageType:k,setNotificationMessage:T,language:i}),g(u,k,E)&&a.default.createElement(y.default,{zid:e,language:i})))};j.displayName="ContextPanel",j.defaultProps={contentId:"",description:"",numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,zid:"",topicId:"",levelLabel:"",examspecLabel:"",subdirectory:"bitesize",examspecId:"",levelId:"",duration:"",isInApp:!1,showPartOf:!0,displaySubjectIllustration:!1},j.propTypes={contentId:a.PropTypes.string,description:a.PropTypes.string,label:a.PropTypes.string.isRequired,language:a.PropTypes.string.isRequired,numberOfClassClips:a.PropTypes.number,numberOfLearnerGuides:a.PropTypes.number,hasTopics:a.PropTypes.bool,pageType:a.PropTypes.string.isRequired,zid:a.PropTypes.string,topicId:a.PropTypes.string,levelLabel:a.PropTypes.string,examspecLabel:a.PropTypes.string,subdirectory:a.PropTypes.string,examspecId:a.PropTypes.string,levelId:a.PropTypes.string,duration:a.PropTypes.string,isInApp:a.PropTypes.bool,setNotificationMessage:a.PropTypes.func.isRequired,showPartOf:a.PropTypes.bool,displayPartialWidth:a.PropTypes.bool.isRequired,displaySubjectIllustration:a.PropTypes.bool};var w=j;e.default=w,t.exports=e.default},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(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"!==o(t)&&"function"!=typeof t)return{default:t};var e=i();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)),a=function(t){return t&&t.__esModule?t:{default:t}}(n(2)),c=(0,a.default)(function(t){return u.default.createElement("a",t,t.children)}),f=function(t){var e=t.levelLabel,n=t.levelId,r=t.examspecLabel,o=t.examspecId,i=t.subdirectory;return u.default.createElement("div",{className:"level-filter"},u.default.createElement("div",{className:"level-filter__items"},u.default.createElement("div",{className:"level-filter__item"},u.default.createElement(c,{className:"level-filter__item-level",href:"/".concat(i,"/levels/").concat(n),iStatsAction:"part-of",iStatsType:"click-level"},e)),r&&u.default.createElement("div",{className:"level-filter__item"},u.default.createElement(c,{className:"level-filter__item-examspec",href:"/".concat(i,"/examspecs/").concat(o),iStatsAction:"part-of",iStatsType:"click-examboard"},r))))};f.displayName="LevelFilter",f.defaultProps={levelLabel:"",levelId:"",examspecLabel:"",examspecId:"",subdirectory:"bitesize"},f.propTypes={levelLabel:u.PropTypes.string,levelId:u.PropTypes.string,examspecLabel:u.PropTypes.string,examspecId:u.PropTypes.string,subdirectory:u.PropTypes.string};var s=f;e.default=s,t.exports=e.default},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function i(t){return t&&t.__esModule?t:{default:t}}function u(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return u=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var e=u();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=r?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=t[i]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=i(n(21)),f=i(n(23)),s=function(t){var e=t.pageType;return a.default.createElement("div",{className:"resource-counter__container"},"clips"===e?a.default.createElement(c.default,t):a.default.createElement(f.default,t))};s.displayName="ResourceCounter",s.propTypes={pageType:a.PropTypes.string.isRequired};var l=s;e.default=l,t.exports=e.default},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function i(t){return t&&t.__esModule?t:{default:t}}function u(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return u=function(){return t},t}function a(){return a=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},a.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var e=u();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=r?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=t[i]}return n.default=t,e&&e.set(t,n),n}(n(0)),f=i(n(2)),s=i(n(1)),l=(0,f.default)(function(t){return c.default.createElement("a",a({className:"resource-counter__container-link"},t),t.children)}),p=function(t){return t>1?"plural":"singular"},d=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.subdirectory,i=t.zid,u=(0,s.default)(e),a=r>0&&n>0?" + ":"";return c.default.createElement("p",{className:"resource-counter__container-text"},r>0&&c.default.createElement(l,{className:"resource-counter__container-link",href:"/".concat(o,"/topics/").concat(i),iStatsAction:"learner_guides",iStatsType:"click"},u("counter.guides.".concat(p(r)),{numberOfLearnerGuides:r})),a,n>0&&u("counter.clips.".concat(p(n)),{numberOfClassClips:n}))};d.displayName="ClipsResourceCounter",d.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0,subdirectory:"bitesize"},d.propTypes={language:c.PropTypes.string.isRequired,numberOfClassClips:c.PropTypes.number,numberOfLearnerGuides:c.PropTypes.number,subdirectory:c.PropTypes.string,zid:c.PropTypes.string.isRequired};var h=d;e.default=h,t.exports=e.default},function(t,e){t.exports=n(182)},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function i(t){return t&&t.__esModule?t:{default:t}}function u(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return u=function(){return t},t}function a(){return a=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},a.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var e=u();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=r?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=t[i]}return n.default=t,e&&e.set(t,n),n}(n(0)),f=i(n(2)),s=i(n(1)),l=(0,f.default)(function(t){return c.default.createElement("a",a({className:"resource-counter__container-link"},t),t.children)}),p=function(t){return t>1?"plural":"singular"},d=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.zid,i=(0,s.default)(e);return c.default.createElement("p",{className:"resource-counter__container-text"},r>0&&i("counter.guides.".concat(p(r)),{numberOfLearnerGuides:r})+(n>0?" + ":""),n>0&&c.default.createElement(l,{className:"resource-counter__container-link",href:"/bitesize/topics/".concat(o,"/resources/1"),iStatsAction:"class_clips",iStatsType:"click"},i("counter.clips.".concat(p(n)),{numberOfClassClips:n})))};d.displayName="TopicsResourceCounter",d.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0},d.propTypes={language:c.PropTypes.string.isRequired,numberOfClassClips:c.PropTypes.number,numberOfLearnerGuides:c.PropTypes.number,zid:c.PropTypes.string.isRequired};var h=d;e.default=h,t.exports=e.default},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(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"!==o(t)&&"function"!=typeof t)return{default:t};var e=i();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)),a=n(5),c=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),f=function(t){var e=t.language,n=t.duration,r=(0,c.default)(e),o=(0,a.formatDuration)(n);return""!==o?u.default.createElement("div",{className:"context-panel__duration"},u.default.createElement("span",null,r("duration",{clipDuration:o}))):u.default.createElement("span",null)};f.displayName="Duration",f.propTypes={language:u.PropTypes.string.isRequired,duration:u.PropTypes.string.isRequired};var s=f;e.default=s,t.exports=e.default},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=u(n(9)),c=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var e=i();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)),f=u(n(26)),s=u(n(4)),l=u(n(3)),p=u(n(27)),d=["programme-of-study","field-of-study"],h=function(t,e,n,r){var o=["Support","Careers"],i=r&&(0,s.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,a=t.stubs,s=(0,f.default)(u,"type"),l=r?{label:r,id:o}:s["topic-of-study"],d=h(e,s["programme-of-study"],l,n);return c.default.createElement(p.default,{subdirectory:e,language:i,context:d,topic:l,stubs:a})},v=function(t){var e=t.crumbtrail,n=t.language,r=t.stubs,o=t.subdirectory,i=(0,f.default)(e,"type"),u=i["programme-of-study"],a=i["topic-of-study"],s=h(o,u);return c.default.createElement(p.default,{subdirectory:o,language:n,context:s,topic:a,stubs:r})},g=a.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,l.default)(d,e)?c.default.createElement(v,t):c.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:c.PropTypes.string,language:c.PropTypes.string,crumbtrail:c.PropTypes.arrayOf(c.PropTypes.shape({id:c.PropTypes.string.isRequired,type:c.PropTypes.string.isRequired,label:c.PropTypes.string.isRequired}).isRequired),tags:c.PropTypes.arrayOf(c.PropTypes.shape({label:c.PropTypes.string})),topicLabel:c.PropTypes.string,topicId:c.PropTypes.string,stubs:c.default.PropTypes.shape({id:c.default.PropTypes.string.isRequired,label:c.default.PropTypes.string.isRequired,path:c.default.PropTypes.string.isRequired})};var _=b;e.default=_,t.exports=e.default},function(t,e){t.exports=n(466)},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function i(t){return t&&t.__esModule?t:{default:t}}function u(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return u=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var e=u();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=r?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=t[i]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=i(n(2)),f=i(n(1)),s=(0,c.default)(function(t){return a.default.createElement("a",t,t.children)}),l=function(t){var e=t.context,n=t.language,r=t.stubs,o=(0,f.default)(n),i=e.label,u=e.link,c=e&&null!==i.match(/Learn & revise|Support/i)&&"cy-GB"===n?"partOfWelshAlternative":"partOf";return a.default.createElement("div",{className:"context-label"},a.default.createElement("div",{className:"context-label__title"},o(c)),a.default.createElement("div",{className:"context-label__items"},e&&a.default.createElement("div",{className:"context-label__item"},a.default.createElement(s,{className:"context-label__item-link",href:u,iStatsAction:"part-of",iStatsType:"click"},o(i)||i)),r.map(function(t){return a.default.createElement("div",{className:"context-label__item"},a.default.createElement(s,{className:"context-label__item-link",href:t.path,iStatsAction:"part-of",iStatsType:"click"},t.label))})))};l.displayName="ContextLabel",l.defaultProps={topic:{},language:"en-GB",stubs:[]},l.propTypes={context:a.PropTypes.shape({label:a.PropTypes.string,link:a.PropTypes.string}).isRequired,topic:a.PropTypes.shape({id:a.PropTypes.string,type:a.PropTypes.string,label:a.PropTypes.string}),language:a.PropTypes.string,stubs:a.default.PropTypes.arrayOf(a.PropTypes.shape({id:a.default.PropTypes.string.isRequired,label:a.default.PropTypes.string.isRequired,path:a.default.PropTypes.string.isRequired}).isRequired)};var p=l;e.default=p,t.exports=e.default},function(t,e,n){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(t){return(u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}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){return!e||"object"!==u(e)&&"function"!=typeof e?p(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(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&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var y=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==u(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=r?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}(n(0)),v=o(n(6)),g=o(n(7)),b=o(n(29)),_=o(n(30)),m=o(n(31)),x=o(n(32)),j=o(n(8)),w=o(n(33)),O=o(n(10)),k=o(n(1)),A=o(n(34)),P=function(t){return t?"favourited":"unfavourited"},S=function(t){return P(!t)},E=function(t){return"guide"===t||"blocks"===t},T=function(t){return"guide"===t?"study-guide":"article"},I=function(t){function e(t){var n;a(this,e),n=s(this,l(e).call(this,t));var r=(0,k.default)(t.language);return n.localisations={buttonText:r("buttonText"),errorMessage:r("errorSavingNotification"),signInUpsellToolTipTitle:r("signInUpsellToolTipTitle"),signInUpsellToolTipText:r("signInUpsellToolTipText")},n.state={featureEnabled:!1,isFavourited:!1,saveInProgress:!1,uasClientType:T(t.pageType),isSignedIn:!1},n.save=n.save.bind(p(n)),n.getButtonContent=n.getButtonContent.bind(p(n)),n}return d(e,t),f(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}),g.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(P(e));return e?{buttonClass:o,text:r.added,icon:y.default.createElement(m.default,null),hoverText:r.remove,hoverIcon:y.default.createElement(x.default,null),savingText:r.removing,iStatsAction:"remove_cta",saveInProgress:n}:{buttonClass:o,text:r.addToMyBitesize,icon:y.default.createElement(_.default,null),hoverText:r.addToMyBitesize,hoverIcon:y.default.createElement(_.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 y.default.createElement(b.default,{disabled:a,onClick:this.save,className:e,aria:"polite"},a&&y.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--saving"},i,y.default.createElement("span",null,u)),!a&&y.default.createElement("span",null,y.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--normal"},r,y.default.createElement("span",null,n)),y.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--hover"},i,y.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=y.default.createElement("span",null,y.default.createElement(_.default,null),y.default.createElement("span",null,o.addToMyBitesize));return y.default.createElement(w.default,{title:r,text:n,buttonContent:i,body:y.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}),v.default.track(s,"click"),O.default.submitFavourite(a,S(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?y.default.createElement("div",{className:"bitesize-header__my-bitesize"},n?this.createButtonView():this.createSignedOutButtonView()):null}}]),e}(y.Component);I.propTypes={contentId:y.PropTypes.string.isRequired,pageType:y.PropTypes.string.isRequired,setNotificationMessage:y.PropTypes.func.isRequired,language:y.PropTypes.string.isRequired};var z=I;e.default=z,t.exports=e.default},function(t,e){t.exports=n(194)},function(t,e){t.exports=n(477)},function(t,e){t.exports=n(478)},function(t,e){t.exports=n(479)},function(t,e){t.exports=n(480)},function(t,e,n){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(t){return(u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}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){return!e||"object"!==u(e)&&"function"!=typeof e?l(t):e}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(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&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var y=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==u(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=r?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}(n(0)),v=o(n(6)),g=o(n(35)),b=o(n(36)),_=o(n(37)),m=function(){v.default.track("sign-in-cta","click")},x=function(){v.default.track("register","click")},j=function(){document.querySelector(".my-bitesize__idcta-container .id4-cta-signin").addEventListener("click",m),document.querySelector(".my-bitesize__idcta-container .id4-cta-register").addEventListener("click",x)},w=function(){document.querySelector(".my-bitesize__idcta-container .id4-cta-signin").removeEventListener("click",m),document.querySelector(".my-bitesize__idcta-container .id4-cta-register").removeEventListener("click",x)},O=function(t){function e(t){var n;return a(this,e),n=s(this,p(e).call(this,t)),n.state={idcta:void 0},n}return d(e,t),f(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.language,r=e.purposeText;g.default.checkFlagpole().then(function(){var e=window.location.href;(0,b.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&&w()}},{key:"render",value:function(){var t=this.state.idcta;return t?y.default.createElement("div",{className:"my-bitesize__idcta-container",dangerouslySetInnerHTML:t}):y.default.createElement("div",{className:"my-bitesize__idcta-container"},y.default.createElement(_.default,null))}}]),e}(y.default.Component);O.defaultProps={language:"en-GB",purposeText:""},O.propTypes={language:y.PropTypes.string,purposeText:y.PropTypes.string};var k=O;e.default=k,t.exports=e.default},function(t,e){t.exports=n(186)},function(t,e){t.exports=n(481)},function(t,e){t.exports=n(482)},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(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"!==o(t)&&"function"!=typeof t)return{default:t};var e=i();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)),a=n(39),c=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),f=function(t){var e=t.zid,n=t.language,r="https://www.bbc.co.uk/bitesize/guides/".concat(e),o=(0,c.default)(n),i=o("shareTools"),f=i.ctaText,s=i.headerText,l=i.readMoreText,p=i.copyLinkText,d=i.copiedText;return u.default.createElement("span",{className:"bitesize-sharetools"},u.default.createElement("span",{className:"bitesize-sharetools__standalone-buttons"},u.default.createElement(a.Twitter,{link:r,position:0,standalone:!0}),u.default.createElement(a.Facebook,{link:r,position:1,standalone:!0}),u.default.createElement(a.WhatsApp,{link:r,position:2,standalone:!0})),u.default.createElement(a.SharePanel,{ctaText:f,headerText:s,readMoreText:l},u.default.createElement(a.Twitter,{link:r,position:0}),u.default.createElement(a.Facebook,{link:r,position:1}),u.default.createElement(a.WhatsApp,{link:r,position:2}),u.default.createElement(a.CopyLinkBox,{link:r,shareText:p,copiedText:d,position:3})))};f.displayName="BitesizeShareTools",f.propTypes={zid:u.PropTypes.string.isRequired,language:u.PropTypes.string.isRequired};var s=f;e.default=s,t.exports=e.default},function(t,e){t.exports=n(483)},function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(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"!==o(t)&&"function"!=typeof t)return{default:t};var e=i();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)),a=function(t){var e=t.pageHasPartialWidthContextPanel,n=t.url;return u.default.createElement("span",{className:e?"bitesize-header__subject-illustration--partial-width":"bitesize-header__subject-illustration",style:{backgroundImage:"url(".concat(n,")")}})};a.propTypes={pageHasPartialWidthContextPanel:u.PropTypes.bool.isRequired,url:u.PropTypes.string.isRequired};var c=a;e.default=c,t.exports=e.default},function(t,e){t.exports=n(497)},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(9)),f=r(n(43)),s=r(n(44)),l=r(n(45)),p=r(n(46)),d=r(n(47)),h=r(n(48)),y=r(n(49)),v=r(n(50)),g=r(n(52)),b=r(n(53)),_=r(n(54)),m=r(n(55)),x=r(n(56)),j=r(n(57)),w=r(n(58)),O=r(n(59)),k=r(n(60)),A={"all-subjects":p.default,blocks:x.default,clips:l.default,clip:s.default,"collection-index":w.default,examspecs:d.default,"field-of-study":h.default,flashcards:j.default,guide:y.default,"index-page":j.default,levels:v.default,"programme-of-study":g.default,"primary-index":k.default,tags:O.default,topic:b.default,404:_.default,500:m.default},P=function(t){var e=t.pageType,n=i(t,["pageType"]);return A[e].getData(n)},S=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:S}))},T=c.default.create(E,{data:function(t){return P(t)?{context:{uri:P(t),requireSuccess:!0,updates:!1},levels:{uri:{data:"bbc-morph-bitesize-level"},requireSuccess:!1,updates:!1}}:{}}}),I=function(t){if(t.pageType in A)return a.default.createElement(T,t);throw new Error("".concat(t.pageType," is an invalid page type"))},z=I;e.default=z,t.exports=e.default},function(t,e,n){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(t){return(u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function a(){return a=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},a.apply(this,arguments)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(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 s(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}function l(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?p(t):e}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(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&&y(t,e)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var v=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==u(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=r?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}(n(0)),g=o(n(4)),b=o(n(12)),_=o(n(10)),m=function(t){function e(){return c(this,e),l(this,d(e).apply(this,arguments))}return h(e,t),s(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&&_.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,u=t.subdirectory,c=t.zid,f=t.topicId,s=t.context.body,l=t.levels,p=t.isInApp,d=r({pageType:o,data:s,language:e,zid:c,topicId:f}),h="";if(l){var y=(0,g.default)(l.body,function(t){return t.id===d.levelId});h=y?y.phase:""}return v.default.createElement(b.default,a({href:n,language:e,pageType:o,isPreview:i,subdirectory:u,phase:h,isInApp:p},d))}}]),e}(v.Component);m.defaultProps={context:{body:{}},levels:void 0,globalNav:"false",isPreview:void 0,zid:void 0,topicId:void 0,isInApp:!1,href:""},m.propTypes={zid:v.PropTypes.string,topicId:v.PropTypes.string,pageType:v.PropTypes.string.isRequired,href:v.PropTypes.string,parseData:v.PropTypes.func.isRequired,context:v.PropTypes.oneOfType([v.PropTypes.shape({body:v.PropTypes.shape()}),v.PropTypes.shape({body:v.PropTypes.shape({id:v.PropTypes.string.isRequired,label:v.PropTypes.string.isRequired,description:v.PropTypes.string.isRequired,programmeOfStudy:v.PropTypes.shape({label:v.PropTypes.string.isRequired}),fieldOfStudy:v.PropTypes.shape({label:v.PropTypes.string})})}),v.PropTypes.array]),levels:v.PropTypes.shape({body:v.PropTypes.arrayOf(v.PropTypes.shape({id:v.PropTypes.string.isRequired,label:v.PropTypes.string,description:v.PropTypes.string,lowerAge:v.PropTypes.number,phase:v.PropTypes.string,subLevelOf:v.PropTypes.string,type:v.PropTypes.string,upperAge:v.PropTypes.number,nations:v.PropTypes.arrayOf(v.PropTypes.shape({id:v.PropTypes.string.isRequired,label:v.PropTypes.string.isRequired,type:v.PropTypes.string}))}))}),globalNav:v.PropTypes.string,language:v.PropTypes.string.isRequired,subdirectory:v.PropTypes.string.isRequired,isPreview:v.PropTypes.string,isInApp:v.PropTypes.bool};var x=m;e.default=x,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(11),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(51)),i=r(n(3)),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(498)},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,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 o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){i(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function i(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 u=function(t){return t&&t.__esModule?t:{default:t}}(n(4)),a=function(t){return{data:"bbc-morph-blocks-article-data",projectName:"blocks-bitesize",zid:t.zid,preview:t.preview,timestamp:t.timestamp}},c=function(t,e){return e&&t&&t.length?(0,u.default)(t,function(t){return t.id===e}):null},f=function(t,e){if(t&&t.length){var n=c(t,e)||t[0],r=n.id,i=n.label,u=n.fieldOfStudy,a=n.keyStage,f=n.examSpecification,s=[{id:r,label:i,path:"/bitesize/topics/".concat(r)}];return o({levelLabel:a.label,levelId:a.id,examspecLabel:f.label,examspecId:f.id,stubs:s,fosZid:u.id},t.length>1?{topicId:r}:{})}return null},s=function(t){var e=t.data,n=t.topicId,r=e.headline,i=e.topics,u=e.tags,a=i&&1===i.length,c=i&&i.length>1;return o({label:r,zid:a?i[0].id:e.id,contentId:e.id,tags:u,isTaggedWithMultipleTopics:c},f(i,n))},l={getData:a,parseData:s};e.default=l,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(11),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.href,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;if(e&&(e.endsWith("support")||e.endsWith("careers")))return o({data:"bbc-morph-bitesize-header-data",pageType:"index-page",href: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(11),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(11),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){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=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){"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(200),n(208),n(121),n(216),n(218);var a=r(n(219)),c=r(n(0)),f=(r(n(37)),r(n(57))),s=n(341),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(41);r(r.S+r.F,"Object",{assign:n(204)})},function(t,e,n){t.exports=n(45)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(203);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(22),o=n(71),i=n(47),u=n(72),a=n(117),c=Object.assign;t.exports=!c||n(21)(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(23),o=n(206),i=n(207);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(120),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(120),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(121),o=n(22),i=n(44),u=n(7),a=n(12),c=n(73),f=n(16),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(16)("unscopables"),o=Array.prototype;void 0==o[r]&&n(12)(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(46),o=n(41),i=n(44),u=n(12),a=n(73),c=n(212),f=n(74),s=n(215),l=n(16)("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)}},j=e+" Iterator",w="values"==y,O=!1,k=t.prototype,A=k[l]||k["@@iterator"]||y&&k[y],P=A||x(y),S=y?w?x("entries"):P:void 0,E="Array"==e?k.entries||A:A;if(E&&(m=s(E.call(new t)))!==Object.prototype&&m.next&&(f(m,j,!0),r||"function"==typeof m[l]||u(m,l,d)),w&&A&&"values"!==A.name&&(O=!0,P=function(){return A.call(this)}),r&&!g||!p&&!O&&k[l]||u(k,l,P),a[e]=P,a[j]=d,y)if(b={values:w?P:x("values"),keys:v?P: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(122),o=n(43),i=n(74),u={};n(12)(u,n(16)("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(13),o=n(42),i=n(22);t.exports=n(14)?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(7).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(15),o=n(72),i=n(69)("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(72),o=n(22);n(217)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(41),o=n(28),i=n(21);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(13).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(14)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){var r=n(31),o=r("mapValues",n(337));o.placeholder=n(24),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(A.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||A.curry&&n>1?W(e,n):e}function y(t,e,n){if(A.fixed&&(E||!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 A.rearg&&n>1&&(T||!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=C(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||F(c)||B(c)||N(c)||(u[a]=C(n==o?c:Object(c))),u=u[a]}return i}function b(t){return Z.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=M(M({},o),t);return f(i,n,u,a)}}function m(t,e){return j(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return j(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function j(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=A.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function w(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):A.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))),L(V,function(t){return L(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 A={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},P=O?n:l,S="curry"in p&&p.curry,E="fixed"in p&&p.fixed,T="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,M=z.assign,C=z.clone,W=z.curry,L=z.forEach,D=z.isArray,B=z.isError,F=z.isFunction,N=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 D(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 A.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(!F(n))return t(n,Object(e));var r=[];return L(q(e),function(t){F(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),L(r,function(t){var e=t[1];F(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 w(e,n,P);var Z=n,H=[];return L(V,function(t){L(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&H.push([t,w(t,e,Z)])})}),L(q(Z),function(t){var e=Z[t];if("function"==typeof e){for(var n=H.length;n--;)if(H[n][0]==t)return;e.convert=_(t,e),H.push([t,e])}}),L(H,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,L(q(Z),function(t){L(s.realToAlias[t]||[],function(e){Z[e]=Z[t]})}),Z}var s=n(221),l=n(24),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(223),assign:n(141),clone:n(257),curry:n(302),forEach:n(83),isArray:n(2),isError:n(303),isFunction:n(77),isWeakMap:n(305),iteratee:n(306),keys:n(145),rearg:n(331),toInteger:n(140),toPath:n(336)}},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(75),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(77),i=n(227),u=n(11),a=n(127),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(25),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(228),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(49),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(78),i=n(49),u=n(128),a=n(131),c=n(139),f=n(85),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(79),i=n(82),u=n(80),a=n(2),c=n(3),f=n(236),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(79),i=n(82),u=n(51);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(240),o=n(138),i=n(76),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(83),i=n(242),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(243);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(244),i=n(245),u=n(246);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(51),i=n(84),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(78),i=n(49),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(129),i=n(130),u=n(85),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(251),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(32),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(18),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(18),i=n(90),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(146),o=r(Object.keys,Object);t.exports=o},function(t,e,n){function r(t){return o(t,i)}var o=n(148),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(54),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(54);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(54);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(54);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(53);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(53),i=n(95),u=n(96),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(269),i=n(53),u=n(95);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(270),i=n(271),u=n(272),a=n(273),c=n(274);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(55);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(55),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(55),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(55),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(56);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(56);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(56);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(56);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(52),i=n(149);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(93),u=n(282),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(19)(t))},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(52),i=n(97);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(52),i=n(151);t.exports=r},function(t,e,n){function r(t){return o(t,u,i)}var o=n(153),i=n(151),u=n(149);t.exports=r},function(t,e,n){var r=n(17),o=n(1),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(17),o=n(1),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(17),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 j:case w:case O:case k:case A:case P: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(100),i=n(293),u=n(294),a=n(295),c=n(296),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]",j="[object Int16Array]",w="[object Int32Array]",O="[object Uint8Array]",k="[object Uint8ClampedArray]",A="[object Uint16Array]",P="[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(100);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(25),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(100);t.exports=r},function(t,e,n){function r(t){return"function"!=typeof t.constructor||u(t)?{}:o(i(t))}var o=n(50),i=n(99),u=n(93);t.exports=r},function(t,e,n){var r=n(299),o=n(91),i=n(92),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(34),i=n(3),u="[object Map]";t.exports=r},function(t,e,n){var r=n(301),o=n(91),i=n(92),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(34),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(75),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(18),i=n(3),u=n(304),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(18),i=n(99),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(34),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(148),i=n(155),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(308),i=n(319),u=n(159);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(94),i=n(156),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),j=m?h:c(e);x=x==d?y:x,j=j==d?y:j;var w=x==y,O=j==y,k=x==j;if(k&&s(t)){if(!s(e))return!1;_=!0,w=!1}if(k&&!w)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 A=w&&g.call(t,"__wrapped__"),P=O&&g.call(e,"__wrapped__");if(A||P){var S=A?t.value():t,E=P?e.value():e;return b||(b=new o),v(S,E,n,r,b)}}return!!k&&(b||(b=new o),a(t,e,n,r,v,b))}var o=n(94),i=n(157),u=n(315),a=n(318),c=n(34),f=n(2),s=n(89),l=n(144),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(96),i=n(311),u=n(312);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,w,k){switch(n){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!w(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 A=c;case b:var P=r&s;if(A||(A=f),t.size!=e.size&&!P)return!1;var S=k.get(t);if(S)return S==e;r|=l,k.set(t,e);var E=a(A(t),A(e),r,o,w,k);return k.delete(t),E;case m:if(O)return O.call(t)==O.call(e)}return!1}var o=n(25),i=n(154),u=n(87),a=n(157),c=n(316),f=n(317),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]",j="[object DataView]",w=o?o.prototype:void 0,O=w?w.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(152),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(158),i=n(33);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(156),i=n(321),u=n(325),a=n(101),c=n(158),f=n(159),s=n(36),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(160);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(323),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(96),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(25),i=n(163),u=n(2),a=n(32),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(326),i=n(327);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(161),i=n(88),u=n(2),a=n(84),c=n(90),f=n(36);t.exports=r},function(t,e,n){function r(t){return u(t)?o(a(t)):i(t)}var o=n(329),i=n(330),u=n(101),a=n(36);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(160);t.exports=r},function(t,e,n){var r=n(75),o=n(164),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(333);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(98),i=n(334);t.exports=r},function(t,e,n){function r(t){return u(t)||i(t)||!!(a&&t&&t[a])}var o=n(25),i=n(88),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(78),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(163),i=n(51),u=n(2),a=n(32),c=n(162),f=n(36),s=n(35);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(86),i=n(338),u=n(155);t.exports=r},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(339),i=n(33);t.exports=r},function(t,e,n){var r=n(340),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(342)),i=r(n(344)),u=r(n(348)),a=r(n(351)),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(31),o=r("replace",n(343));o.placeholder=n(24),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(35);t.exports=r},function(t,e,n){var r=n(31),o=r("deburr",n(345),n(165));o.placeholder=n(24),t.exports=o},function(t,e,n){function r(t){return(t=i(t))&&t.replace(u,o).replace(a,"")}var o=n(346),i=n(35),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(347),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(31),o=r("flow",n(349));o.placeholder=n(24),t.exports=o},function(t,e,n){var r=n(350),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(82),i=n(164),u=n(81),a=n(133),c=n(2),f=n(132),s="Expected a function",l=8,p=32,d=128,h=256;t.exports=r},function(t,e,n){var r=n(31),o=r("toLower",n(352),n(165));o.placeholder=n(24),t.exports=o},function(t,e,n){function r(t){return o(t).toLowerCase()}var o=n(35);t.exports=r},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(354),i=n(58),u=n(359),a=n(169),c=n(362),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(166),i=n(355),u=n(356);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(59),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(26),i=n(5),u=n(27),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(361),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(60),i=n(61),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(363),i=n(38);t.exports=r},function(t,e,n){function r(t,e){return o(e,function(e){return t[e]})}var o=n(170);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(365),i=n(171),u=n(5),a=n(172),c=n(173),f=n(174),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(26),i=n(27),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(26),i=n(102),u=n(27),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(168),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(19)(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(372),i=n(373),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(374),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(376),o=n(441),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(103),i=n(58),u=n(38);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(378),i=n(427),u=n(181);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(175),i=n(178),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(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(104),u=n(105),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(167),i=n(390),u=n(60),a=n(177),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(391),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(8),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(394),i=n(62),u=n(104);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(395),i=n(396),u=n(397),a=n(398),c=n(399);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,n,r,v,b){var _=f(t),m=f(e),x=_?h:c(t),j=m?h:c(e);x=x==d?y:x,j=j==d?y:j;var w=x==y,O=j==y,k=x==j;if(k&&s(t)){if(!s(e))return!1;_=!0,w=!1}if(k&&!w)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 A=w&&g.call(t,"__wrapped__"),P=O&&g.call(e,"__wrapped__");if(A||P){var S=A?t.value():t,E=P?e.value():e;return b||(b=new o),v(S,E,n,r,b)}}return!!k&&(b||(b=new o),a(t,e,n,r,v,b))}var o=n(175),i=n(179),u=n(411),a=n(415),c=n(422),f=n(5),s=n(172),l=n(174),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(105),i=n(407),u=n(408);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,w,k){switch(n){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!w(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 A=c;case b:var P=r&s;if(A||(A=f),t.size!=e.size&&!P)return!1;var S=k.get(t);if(S)return S==e;r|=l,k.set(t,e);var E=a(A(t),A(e),r,o,w,k);return k.delete(t),E;case m:if(O)return O.call(t)==O.call(e)}return!1}var o=n(59),i=n(412),u=n(176),a=n(179),c=n(413),f=n(414),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]",j="[object DataView]",w=o?o.prototype:void 0,O=w?w.valueOf:void 0;t.exports=r},function(t,e,n){var r=n(8),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(416),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(417),i=n(419),u=n(38);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(418),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(420),o=n(421),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(423),o=n(104),i=n(424),u=n(425),a=n(426),c=n(26),f=n(177),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(20),o=n(8),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(20),o=n(8),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(20),o=n(8),i=r(o,"Set");t.exports=i},function(t,e,n){var r=n(20),o=n(8),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(180),i=n(38);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(178),i=n(182),u=n(434),a=n(106),c=n(180),f=n(181),s=n(66),l=1,p=2;t.exports=r},function(t,e,n){var r=n(430),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(431),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(105),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(433);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(59),i=n(170),u=n(5),a=n(61),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(435),i=n(436);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(184),i=n(171),u=n(5),a=n(173),c=n(102),f=n(66);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(439),i=n(440),u=n(106),a=n(66);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(183);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(166),i=n(103),u=n(169),a=Math.max;t.exports=r},function(t,e,n){"use strict";var r=n(107);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(185)),i=r(n(57)),u=r(n(186)),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(107);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(444));n(187);var i=n(445),u=n(188),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},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()})},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()}).then(function(t){return t.items})},O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return w("/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))},A=function(t){return _("/my/follows",t)},P=function(t){return j("/my/follows/".concat(t))},S=function(t){return w("/my/follows".concat(x(t)))},E=function(t){return _("/my/reads",h(t))},T=function(t){return w("/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 w("/my/favourites/unlimited?resourceDomain=learning&action=favourited&resourceType=".concat(s(e))).then(function(n){return(0,i.some)({resourceId:v(t,e)},n)})},M=function(t){return w("/my/reads/".concat(g(t))).then(function(){return!0}).catch(function(){return!1})},C={getFollow:P,getFollows:S,getSavedForLater:O,postFollow:A,postFollows:k,getReads:T,postRead:E,postReadForAnArticle:I,postFavourite:z,isFavourited:R,isArticleRead:M};e.default=C,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,j,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 j(t){return t!==t}function w(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 A(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function P(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 E(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function T(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 M(t,e){for(var n=-1,r=t.length;++n<r&&-1<m(e,t[n],0););return n}function C(t,e){for(var n=t.length;n--&&-1<m(e,t[n],0););return n}function W(t){return"\\"+Lt[t]}function L(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function D(t,e){return function(n){return t(e(n))}}function B(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 F(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function N(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=Tt.lastIndex=0;Tt.test(t);)++e;t=e}else t=te(t);return t}function U(t){return zt.test(t)?t.match(Tt)||[]: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]],Z=/\b__p\+='';/g,H=/\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\]$/,jt=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,Ot=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,At=/['\n\r\u2028\u2029\\]/g,Pt="[\\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"),Et=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Tt=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])"+Pt,"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 ]/,Mt="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(" "),Ct={};Ct["[object Float32Array]"]=Ct["[object Float64Array]"]=Ct["[object Int8Array]"]=Ct["[object Int16Array]"]=Ct["[object Int32Array]"]=Ct["[object Uint8Array]"]=Ct["[object Uint8ClampedArray]"]=Ct["[object Uint16Array]"]=Ct["[object Uint32Array]"]=!0,Ct["[object Arguments]"]=Ct["[object Array]"]=Ct["[object ArrayBuffer]"]=Ct["[object Boolean]"]=Ct["[object DataView]"]=Ct["[object Date]"]=Ct["[object Error]"]=Ct["[object Function]"]=Ct["[object Map]"]=Ct["[object Number]"]=Ct["[object Object]"]=Ct["[object RegExp]"]=Ct["[object Set]"]=Ct["[object String]"]=Ct["[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 Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dt=parseFloat,Bt=parseInt,Ft="object"==typeof t&&t&&t.Object===Object&&t,Nt="object"==typeof self&&self&&self.Object===Object&&self,qt=Ft||Nt||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&&Ft.process,Kt=function(){try{var t=$t&&$t.f&&$t.f("util").types;return t||Vt&&Vt.binding&&Vt.binding("util")}catch(t){}}(),Zt=Kt&&Kt.isArrayBuffer,Ht=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({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),re=k({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),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 Nr(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 Pt(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 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 Lt(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 Ft(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Lt;++e<n;)this.add(t[e])}function Nt(t){this.size=(this.__data__=new Tt(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)?E(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)||Pr(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 Lr(Cn(t),pe(e,0,t.length))}function Kt(t){return Lr(Cn(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,Mo(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=Zo(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=wr(t),!c)return Cn(t,u)}else{var l=vu(t),p="[object Function]"==l||"[object GeneratorFunction]"==l;if(ca(t))return En(t,c);if("[object Object]"==l||"[object Arguments]"==l||p&&!o){if(u=f||p?{}:Or(t),!c)return f?Dn(t,fe(u,t)):Ln(t,ce(u,t))}else{if(!Wt[l])return o?t:{};u=kr(t,l,c)}}if(i||(i=new Nt),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?Mo: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 Ft(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&&!wo(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=Ar),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 je(t,e){return t&&au(t,e,Ro)}function we(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=Pn(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Dr(e[n++])];return n&&n==r?t:$}function Ae(t,e,n){return e=e(t),ua(t)?e:h(e,n(t))}function Pe(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 Ee(t,e){return null!=t&&ai.call(t,e)}function Te(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=Zo(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,I(e))),c=Li(s.length,c),a[u]=!n&&(e||120<=o&&120<=s.length)?new Ft(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 je(t,function(t,o,i){e(r,n(t),o,i)}),r}function Re(t,e,n){return e=Pn(e,t),t=2>e.length?t:ke(t,pn(e,0,-1)),e=null==t?t:t[Dr(Vr(e))],null==e?$:i(e,t,n)}function Me(t){return _o(t)&&"[object Arguments]"==Pe(t)}function Ce(t){return _o(t)&&"[object ArrayBuffer]"==Pe(t)}function We(t){return _o(t)&&"[object Date]"==Pe(t)}function Le(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 Nt),e=i||da(t)?lr(t,e,n,r,Le,o):pr(t,e,a,n,r,Le,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 Nt),e=Le(t,e,n,r,o);break t}if(c)e:if(o||(o=new Nt),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&&!Le(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 De(t){return _o(t)&&"[object Map]"==vu(t)}function Be(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 Nt,r)var l=r(f,s,c,t,e,a);if(l===$?!Le(s,f,3,r,a):!l)return!1}}return!0}function Fe(t){return!(!bo(t)||fi&&fi in t)&&(yo(t)?di:xt).test(Br(t))}function Ne(t){return _o(t)&&"[object RegExp]"==Pe(t)}function qe(t){return _o(t)&&"[object Set]"==vu(t)}function Ue(t){return _o(t)&&go(t.length)&&!!Ct[Pe(t)]}function $e(t){return"function"==typeof t?t:null==t?No:"object"==typeof t?ua(t)?He(t[0],t[1]):Ze(t):Go(t)}function Ge(t){if(!Ir(t))return Ci(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)?Zo(t.length):[];return iu(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function Ze(t){var e=mr(t);return 1==e.length&&e[0][2]?zr(e[0][0],e[0][1]):function(n){return n===t||Be(n,t,e)}}function He(t,e){return Er(t)&&e===e&&!bo(e)?zr(Dr(t),e):function(n){var r=Io(n,t);return r===$&&r===e?zo(n,t):Le(e,r,3)}}function Ye(t,e,n,r,o){t!==e&&au(e,function(i,u){if(o||(o=new Nt),bo(i)){var a=o,c=Mr(t,u),f=Mr(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=Cn(c):d?(l=!1,s=En(f,!0)):h?(l=!1,s=In(f,!0)):s=[]:xo(f)||ia(f)?(s=c,ia(c)?s=Eo(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(Mr(t,u),i,u+"",t,e,o):$,a===$&&(a=i),te(t,u,a)},Mo)}function Je(t,e){var n=t.length;if(n)return e+=0>e?n:0,Pr(e,n)?t[e]:$}function Xe(t,e,n){var r=-1;return e=d(e.length?e:[No],I(br())),t=Ke(t,function(t){return{a:d(e,function(e){return e(t)}),b:++r,c:t}}),P(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,Pn(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=Cn(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;Pr(o)?xi.call(t,o,1):mn(t,o)}}}function on(t,e){return t+Ti(Fi()*(e-t+1))}function un(t,e){var n="";if(!t||1>e||9007199254740991<e)return n;do{e%2&&(n+=t),(e=Ti(e/2))&&(t+=t)}while(e);return n}function an(t,e){return mu(Rr(t,e,No),t+"")}function cn(t){return $t(Wo(t))}function fn(t,e){var n=Wo(t);return Lr(n,pe(e,0,n.length))}function sn(t,e,n,r){if(!bo(t))return t;e=Pn(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Dr(e[o]),f=n;if(o!=u){var s=a[c],f=r?r(s,c,a):$;f===$&&(f=bo(s)?s:Pr(e[o+1])?[]:{})}ie(a,c,f),a=a[c]}return t}function ln(t){return Lr(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=Zo(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&&!wo(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return yn(t,e,No,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=wo(e),f=e===$;o<i;){var s=Ti((o+i)/2),l=n(t[s]),p=l!==$,d=null===l,h=l===l,y=wo(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 Li(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:wo(t)?V:+t}function bn(t){if("string"==typeof t)return t;if(ua(t))return d(t,bn)+"";if(wo(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 F(o);u=!1,o=R,c=new Ft}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=Pn(e,t),null==(t=2>e.length?t:ke(t,pn(e,0,-1)))||delete t[Dr(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 jn(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 wn(t,e,n){var r=t.length;if(2>r)return r?_n(t[0]):[];for(var o=-1,i=Zo(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 An(t){return"function"==typeof t?t:No}function Pn(t,e){return ua(t)?t:Er(t,e)?[t]:xu(To(t))}function Sn(t,e,n){var r=t.length;return n=n===$?r:n,!e&&n>=r?t:pn(t,e,n)}function En(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 Tn(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?Tn(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=wo(t),u=e!==$,a=null===e,c=e===e,f=wo(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=Zo(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 Mn(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=Zo(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 Cn(t,e){var n=-1,r=t.length;for(e||(e=Zo(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 Ln(t,e){return Wn(t,hu(t),e)}function Dn(t,e){return Wn(t,yu(t),e)}function Bn(t,e){return function(n,r){var o=ua(n)?u:ae,i=e?e():{};return o(n,t,br(r,2),i)}}function Fn(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 Nn(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=To(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(Bo(Do(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=Zo(u),c=u,f=gr(r);c--;)a[c]=arguments[c];return c=3>u&&a[0]!==f&&a[u-1]!==f?[]:B(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 Zn(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 Hn(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&&Tr(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[vr(c[0])].apply(a,c[3]):1==u.length&&Tr(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=Zo(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=Mn(b,i,u,h)),g-=m,h&&g<f)return x=B(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 j=Li(a.length,m),w=Cn(b);j--;){var O=a[j];b[j]=Pr(O,m)?w[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,Ei(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=Zo(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(Ei((n-e)/(r||1)),0);for(var i=Zo(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),Tr(t)&&bu(n,o),n.placeholder=r,Cr(n,t,e)}function ir(t){var e=Xo[t];return function(t,n){if(t=So(t),(n=null==n?0:Li(Ao(n),292))&&Ri(t)){var r=(To(t)+"e").split("e"),r=e(r[0]+"e"+(+r[1]+n)),r=(To(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?L(e):"[object Set]"==n?N(e):T(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(Ao(u),0),a=a===$?a:Ao(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?B(i[3],"__lodash_placeholder__"):p[4]),(n=p[5])&&(r=i[5],i[5]=r?Mn(r,n,p[6]):n,i[6]=r?B(i[5],"__lodash_placeholder__"):p[6]),(n=p[7])&&(i[7]=n),128&t&&(i[8]=null==i[8]?p[8]:Li(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),Cr((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 Ft:$;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=L;case"[object Set]":if(a||(a=F),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 Ae(t,Ro,hu)}function yr(t){return Ae(t,Mo,yu)}function vr(t){for(var e=t.name+"",n=Hi[e],r=ai.call(Hi,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 Fe(n)?n:$}function jr(t,e,n){e=Pn(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Dr(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)&&Pr(u,o)&&(ua(t)||ia(t))}function wr(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 Tn(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return e=n?Tn(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 Ar(t){return ua(t)||ia(t)||!!(ji&&t&&t[ji])}function Pr(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&wt.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)&&Pr(e,n.length):"string"==r&&e in n)&&so(n[e],t)}function Er(t,e){if(ua(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!wo(t))||it.test(t)||!ot.test(t)||null!=e&&t in Qo(e)}function Tr(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=Zo(u);++o<u;)a[o]=r[e+o];for(o=-1,u=Zo(e+1);++o<e;)u[o]=r[o];return u[e]=n(a),i(t,this,u)}}function Mr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Cr(t,e,n){var r=e+"";e=mu;var o,i=Fr;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=Di(),o=16-(r-n);if(n=r,0<o){if(800<=++e)return arguments[0]}else e=0;return t.apply($,arguments)}}function Lr(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 Dr(t){if("string"==typeof t||wo(t))return t;var e=t+"";return"0"==e&&1/t==-G?"-0":e}function Br(t){if(null!=t){try{return ui.call(t)}catch(t){}return t+""}return""}function Fr(t,e){return a(K,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function Nr(t){if(t instanceof k)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Cn(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:Ao(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=Ao(n),o=0>n?Wi(r+o,0):Li(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 Zr(t){return null==t?t:Ni.call(t)}function Hr(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}),E(e,function(e){return d(t,O(e))})}function Yr(t,e){if(!t||!t.length)return[];var n=Hr(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=Ao(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=Zu();if(o(t))return u(t);var n,r=_u;n=t-h,t=e-(t-d),n=v?Li(t,s-n):t,p=r(i,n)}function u(t){return p=$,g&&c?r(t):(c=f=$,l)}function a(){var t=Zu(),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(Zu())},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||Lt),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=Pe(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=Pe(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function vo(t){return"number"==typeof t&&t==Ao(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]"==Pe(t)}function xo(t){return!(!_o(t)||"[object Object]"!=Pe(t))&&(null===(t=bi(t))||"function"==typeof(t=ai.call(t,"constructor")&&t.constructor)&&t instanceof t&&ui.call(t)==li)}function jo(t){return"string"==typeof t||!ua(t)&&_o(t)&&"[object String]"==Pe(t)}function wo(t){return"symbol"==typeof t||_o(t)&&"[object Symbol]"==Pe(t)}function Oo(t){if(!t)return[];if(lo(t))return jo(t)?U(t):Cn(t);if(wi&&t[wi]){t=t[wi]();for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}return e=vu(t),("[object Map]"==e?L:"[object Set]"==e?F: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 Ao(t){t=ko(t);var e=t%1;return t===t?e?t-e:t:0}function Po(t){return t?pe(Ao(t),0,4294967295):0}function So(t){if("number"==typeof t)return t;if(wo(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||jt.test(t)?Bt(t.slice(2),e?2:8):_t.test(t)?V:+t}function Eo(t){return Wn(t,Mo(t))}function To(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&&jr(t,e,Te)}function Ro(t){return lo(t)?Ut(t):Ge(t)}function Mo(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 Co(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 Lo(t){return Ba(To(t).toLowerCase())}function Do(t){return(t=To(t))&&t.replace(Ot,ee).replace(Et,"")}function Bo(t,e,n){return t=To(t),e=n?$:e,e===$?Rt.test(t)?t.match(It)||[]:t.match(yt)||[]:t.match(e)||[]}function Fo(t){return function(){return t}}function No(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__=Cn(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 Er(t)?O(Dr(t)):en(t)}function Vo(){return[]}function Ko(){return!1}e=null==e?qt:oe.defaults(qt.Object(),e,oe.pick(qt,Mt));var Zo=e.Array,Ho=e.Date,Yo=e.Error,Jo=e.Function,Xo=e.Math,Qo=e.Object,ti=e.RegExp,ei=e.String,ni=e.TypeError,ri=Zo.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=D(Qo.getPrototypeOf,Qo),_i=Qo.create,mi=oi.propertyIsEnumerable,xi=ri.splice,ji=yi?yi.isConcatSpreadable:$,wi=yi?yi.iterator:$,Oi=yi?yi.toStringTag:$,ki=function(){try{var t=xr(Qo,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ai=e.clearTimeout!==qt.clearTimeout&&e.clearTimeout,Pi=Ho&&Ho.now!==qt.Date.now&&Ho.now,Si=e.setTimeout!==qt.setTimeout&&e.setTimeout,Ei=Xo.ceil,Ti=Xo.floor,Ii=Qo.getOwnPropertySymbols,zi=hi?hi.isBuffer:$,Ri=e.isFinite,Mi=ri.join,Ci=D(Qo.keys,Qo),Wi=Xo.max,Li=Xo.min,Di=Ho.now,Bi=e.parseInt,Fi=Xo.random,Ni=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"),Zi=Vi&&new Vi,Hi={},Yi=Br(qi),Ji=Br(Ui),Xi=Br($i),Qi=Br(Gi),tu=Br(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,Pt.prototype.clear=function(){this.__data__=Ki?Ki(null):{},this.size=0},Pt.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},Pt.prototype.get=function(t){var e=this.__data__;return Ki?(t=e[t],"__lodash_hash_undefined__"===t?$:t):ai.call(e,t)?e[t]:$},Pt.prototype.has=function(t){var e=this.__data__;return Ki?e[t]!==$:ai.call(e,t)},Pt.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},Tt.prototype.clear=function(){this.__data__=[],this.size=0},Tt.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))},Tt.prototype.get=function(t){var e=this.__data__;return t=ue(e,t),0>t?$:e[t][1]},Tt.prototype.has=function(t){return-1<ue(this.__data__,t)},Tt.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},Lt.prototype.clear=function(){this.size=0,this.__data__={hash:new Pt,map:new(Ui||Tt),string:new Pt}},Lt.prototype.delete=function(t){return t=_r(this,t).delete(t),this.size-=t?1:0,t},Lt.prototype.get=function(t){return _r(this,t).get(t)},Lt.prototype.has=function(t){return _r(this,t).has(t)},Lt.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},Ft.prototype.add=Ft.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Ft.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.clear=function(){this.__data__=new Tt,this.size=0},Nt.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},Nt.prototype.get=function(t){return this.__data__.get(t)},Nt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var r=n.__data__;if(!Ui||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Lt(r)}return n.set(t,e),this.size=n.size,this};var iu=Nn(je),uu=Nn(we,!0),au=qn(),cu=qn(!0),fu=Zi?function(t,e){return Zi.set(t,e),t}:No,su=ki?function(t,e){return ki(t,"toString",{configurable:!0,enumerable:!1,value:Fo(e),writable:!0})}:No,lu=Ai||function(t){return qt.clearTimeout(t)},pu=Gi&&1/F(new Gi([,-0]))[1]==G?function(t){return new Gi(t)}:$o,du=Zi?function(t){return Zi.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=Pe;(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=Pe(t);if(t=(t="[object Object]"==e?t.constructor:$)?Br(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}),ju=an(function(t,e){return po(t)?ge(t,xe(e,1,po,!0)):[]}),wu=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):[]}),Au=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)):[]}),Pu=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),Eu=dr(function(t,e){var n=null==t?0:t.length,r=le(t,e);return rn(t,d(e,function(t){return Pr(t,n)?+t:t}).sort(zn)),r}),Tu=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):[]}),Mu=an(function(t){return wn(s(t,po))}),Cu=an(function(t){var e=Vr(t);return po(e)&&(e=$),wn(s(t,po),br(e,2))}),Wu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return wn(s(t,po),$,e)}),Lu=an(Hr),Du=an(function(t){var e=t.length,e=1<e?t[e-1]:$,e="function"==typeof e?(t.pop(),e):$;return Yr(t,e)}),Bu=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&&Pr(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)}),Fu=Bn(function(t,e,n){ai.call(t,n)?++t[n]:se(t,n,1)}),Nu=Zn(qr),qu=Zn(Ur),Uu=Bn(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)?Zo(t.length):[];return iu(t,function(t){u[++r]=o?i(e,t,n):Re(t,e,n)}),u}),Gu=Bn(function(t,e,n){se(t,n,e)}),Vu=Bn(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),[])}),Zu=Pi||function(){return qt.Date.now()},Hu=an(function(t,e,n){var r=1;if(n.length)var o=B(n,gr(Hu)),r=32|r;return ar(t,r,e,n,o)}),Yu=an(function(t,e,n){var r=3;if(n.length)var o=B(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=Lt;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=Li(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,B(e,gr(ta)))}),ea=an(function(t,e){return ar(t,64,$,e,B(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=Me(function(){return arguments}())?Me:function(t){return _o(t)&&ai.call(t,"callee")&&!mi.call(t,"callee")},ua=Zo.isArray,aa=Zt?I(Zt):Ce,ca=zi||Ko,fa=Ht?I(Ht):We,sa=Yt?I(Yt):De,la=Jt?I(Jt):Ne,pa=Xt?I(Xt):qe,da=Qt?I(Qt):Ue,ha=rr(Ve),ya=rr(function(t,e){return t<=e}),va=Fn(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=Fn(function(t,e){Wn(e,Mo(e),t)}),ba=Fn(function(t,e,n,r){Wn(e,Mo(e),t,r)}),_a=Fn(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=Mo(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}),ja=an(function(t){return t.push($,fr),i(Pa,$,t)}),wa=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),t[e]=n},Fo(No)),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),Aa=Fn(function(t,e,n){Ye(t,e,n)}),Pa=Fn(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=Pn(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}),Ea=dr(function(t,e){return null==t?{}:Qe(t,e)}),Ta=ur(Ro),Ia=ur(Mo),za=Gn(function(t,e,n){return e=e.toLowerCase(),t+(n?Lo(e):e)}),Ra=Gn(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ma=Gn(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ca=$n("toLowerCase"),Wa=Gn(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),La=Gn(function(t,e,n){return t+(n?" ":"")+Ba(e)}),Da=Gn(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ba=$n("toUpperCase"),Fa=an(function(t,e){try{return i(t,$,e)}catch(t){return ho(t)?t:new Yo(t)}}),Na=dr(function(t,e){return a(e,function(e){e=Dr(e),se(t,e,Hu(t[e],t))}),t}),qa=Hn(),Ua=Hn(!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),Za=Qn(g),Ha=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=Ao(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=Hu,n.bindAll=Na,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(Ao(e),0),!(n=null==t?0:t.length)||1>e)return[];for(var r=0,o=0,i=Zo(Ei(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=Zo(t-1),n=arguments[0];t--;)e[t-1]=arguments[t];return h(ua(n)?Cn(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=Fo,n.countBy=Fu,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=ja,n.defer=Ju,n.delay=Xu,n.difference=ju,n.differenceBy=wu,n.differenceWith=Ou,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Ao(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:Ao(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=Ao(n),0>n&&(n=-n>o?0:o+n),r=r===$||r>o?o:Ao(r),0>r&&(r+=o),r=n>r?0:Po(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:Ao(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:Ao(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,Mo(t))},n.groupBy=Uu,n.initial=function(t){return(null==t?0:t.length)?pn(t,0,-1):[]},n.intersection=ku,n.intersectionBy=Au,n.intersectionWith=Pu,n.invert=wa,n.invertBy=Oa,n.invokeMap=$u,n.iteratee=qo,n.keyBy=Gu,n.keys=Ro,n.keysIn=Mo,n.map=no,n.mapKeys=function(t,e){var n={};return e=br(e,3),je(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),je(t,function(t,r,o){se(n,r,e(t,r,o))}),n},n.matches=function(t){return Ze(de(t,1))},n.matchesProperty=function(t,e){return He(t,de(e,1))},n.memoize=co,n.merge=Aa,n.mergeWith=Pa,n.method=$a,n.methodOf=Ga,n.mixin=Uo,n.negate=fo,n.nthArg=function(t){return t=Ao(t),an(function(e){return Je(e,t)})},n.omit=Sa,n.omitBy=function(t,e){return Co(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=Za,n.partial=ta,n.partialRight=ea,n.partition=Vu,n.pick=Ea,n.pickBy=Co,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=Eu,n.range=Ha,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:Ao(e),an(t,e)},n.reverse=Zr,n.sampleSize=function(t,e,n){return e=(n?Sr(t,e,n):e===$)?1:Ao(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:Ao(e),n=n===$?r:Ao(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=To(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(Ao(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:Ao(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:Ao(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=Ta,n.toPairsIn=Ia,n.toPath=function(t){return ua(t)?d(t,Dr):wo(t)?[t]:Cn(xu(To(t)))},n.toPlainObject=Eo,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:je)(t,function(t,r,o){return e(n,t,r,o)}),n},n.unary=function(t){return ro(t,1)},n.union=Tu,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=Hr,n.unzipWith=Yr,n.update=function(t,e,n){return null==t?t:sn(t,e,An(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,An(n)(ke(t,e)),r)),t},n.values=Wo,n.valuesIn=function(t){return null==t?[]:z(t,Mo(t))},n.without=Ru,n.words=Bo,n.wrap=function(t,e){return ta(An(e),t)},n.xor=Mu,n.xorBy=Cu,n.xorWith=Wu,n.zip=Lu,n.zipObject=function(t,e){return On(t||[],e||[],ie)},n.zipObjectDeep=function(t,e){return On(t||[],e||[],sn)},n.zipWith=Du,n.entries=Ta,n.entriesIn=Ia,n.extend=ga,n.extendWith=ba,Uo(n,n),n.add=Ja,n.attempt=Fa,n.camelCase=za,n.capitalize=Lo,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=Do,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Qa,n.endsWith=function(t,e,n){t=To(t),e=bn(e);var r=t.length,r=n=n===$?r:pe(Ao(n),0,r);return 0<=(n-=e.length)&&t.slice(n,r)==e},n.eq=so,n.escape=function(t){return(t=To(t))&&tt.test(t)?t.replace(X,ne):t},n.escapeRegExp=function(t){return(t=To(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=Nu,n.findIndex=qr,n.findKey=function(t,e){return b(t,br(e,3),je)},n.findLast=qu,n.findLastIndex=Ur,n.findLastKey=function(t,e){return b(t,br(e,3),we)},n.floor=tc,n.forEach=to,n.forEachRight=eo,n.forIn=function(t,e){return null==t?t:au(t,br(e,3),Mo)},n.forInRight=function(t,e){return null==t?t:cu(t,br(e,3),Mo)},n.forOwn=function(t,e){return t&&je(t,br(e,3))},n.forOwnRight=function(t,e){return t&&we(t,br(e,3))},n.get=Io,n.gt=ra,n.gte=oa,n.has=function(t,e){return null!=t&&jr(t,e,Ee)},n.hasIn=zo,n.head=Gr,n.identity=No,n.includes=function(t,e,n,r){return t=lo(t)?t:Wo(t),n=n&&!r?Ao(n):0,r=t.length,0>n&&(n=Wi(r+n,0)),jo(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:Ao(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))>=Li(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]"==Pe(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 Le(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:$)?n(t,e):$;return r===$?Le(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||Be(t,e,mr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:$,Be(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 Fe(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=jo,n.isSymbol=wo,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]"==Pe(t)},n.join=function(t,e){return null==t?"":Mi.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=Ao(n),o=0>o?Wi(r+o,0):Li(o,r-1)),e===e){for(n=o+1;n--&&t[n]!==e;);t=n}else t=_(t,j,o,!0);return t},n.lowerCase=Ma,n.lowerFirst=Ca,n.lt=ha,n.lte=ya,n.max=function(t){return t&&t.length?_e(t,No,Se):$},n.maxBy=function(t,e){return t&&t.length?_e(t,br(e,2),Se):$},n.mean=function(t){return w(t,No)},n.meanBy=function(t,e){return w(t,br(e,2))},n.min=function(t){return t&&t.length?_e(t,No,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,Ao(e)):$},n.noConflict=function(){return qt._===this&&(qt._=pi),this},n.noop=$o,n.now=Zu,n.pad=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return!e||r>=e?t:(e=(e-r)/2,tr(Ti(e),n)+t+tr(Ei(e),n))},n.padEnd=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return e&&r<e?t+tr(e-r,n):t},n.padStart=function(t,e,n){t=To(t);var r=(e=Ao(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),Bi(To(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=Fi(),Li(t+n*(e-t+Dt("1e-"+((n+"").length-1))),e)):on(t,e)},n.reduce=function(t,e,n){var r=ua(t)?y:A,o=3>arguments.length;return r(t,br(e,4),n,o,iu)},n.reduceRight=function(t,e,n){var r=ua(t)?v:A,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:Ao(e),un(To(t),e)},n.replace=function(){var t=arguments,e=To(t[0]);return 3>t.length?e:e.replace(t[1],t[2])},n.result=function(t,e,n){e=Pn(e,t);var r=-1,o=e.length;for(o||(o=1,t=$);++r<o;){var i=null==t?$:t[Dr(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 jo(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=La,n.startsWith=function(t,e,n){return t=To(t),n=null==n?0:pe(Ao(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,No):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=To(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(At,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(Z,""):s).replace(H,"$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=Fa(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=Ao(t))||9007199254740991<t)return[];var n=4294967295,r=Li(t,4294967295);for(e=br(e),t-=4294967295,r=E(r,e);++n<t;)e(n);return r},n.toFinite=ko,n.toInteger=Ao,n.toLength=Po,n.toLower=function(t){return To(t).toLowerCase()},n.toNumber=So,n.toSafeInteger=function(t){return t?pe(Ao(t),-9007199254740991,9007199254740991):0===t?t:0},n.toString=To,n.toUpper=function(t){return To(t).toUpperCase()},n.trim=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(ft,""):t&&(e=bn(e))?(t=U(t),n=U(e),e=M(t,n),n=C(t,n)+1,Sn(t,e,n).join("")):t},n.trimEnd=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(lt,""):t&&(e=bn(e))?(t=U(t),e=C(t,U(e))+1,Sn(t,0,e).join("")):t},n.trimStart=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(st,""):t&&(e=bn(e))?(t=U(t),e=M(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?Ao(e.length):n,r="omission"in e?bn(e.omission):r;t=To(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,To(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=To(t))&&Q.test(t)?t.replace(J,re):t},n.uniqueId=function(t){var e=++ci;return To(t)+e},n.upperCase=Da,n.upperFirst=Ba,n.each=to,n.eachRight=eo,n.first=Gr,Uo(n,function(){var t={};return je(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(Ao(n),0);var r=this.__filtered__&&!e?new k(this):this.clone();return r.__filtered__?r.__takeCount__=Li(n,r.__takeCount__):r.__views__.push({size:Li(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(No)},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=Ao(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=Ao(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)},je(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)})}}),je(k.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";ai.call(Hi,o)||(Hi[o]=[]),Hi[o].push({name:e,func:r})}}),Hi[Yn($,2).name]=[{name:"wrapper",func:$}],k.prototype.clone=function(){var t=new k(this.__wrapped__);return t.__actions__=Cn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Cn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Cn(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=Li(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=Li(t,this.__takeCount__),!r||!o&&i==t&&s==t)return jn(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=Bu,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=Nr(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:[Zr],thisArg:$}),new o(t,this.__chain__)):this.thru(Zr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,wi&&(n.prototype[wi]=Qr),n}();qt._=oe,void 0!==(o=function(){return oe}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(48),n(19)(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(A.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||A.curry&&n>1?W(e,n):e}function y(t,e,n){if(A.fixed&&(E||!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 A.rearg&&n>1&&(T||!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=C(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||F(c)||B(c)||N(c)||(u[a]=C(n==o?c:Object(c))),u=u[a]}return i}function b(t){return Z.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=M(M({},o),t);return f(i,n,u,a)}}function m(t,e){return j(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return j(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function j(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=A.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function w(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):A.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))),L(V,function(t){return L(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 A={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},P=O?n:l,S="curry"in p&&p.curry,E="fixed"in p&&p.fixed,T="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,M=z.assign,C=z.clone,W=z.curry,L=z.forEach,D=z.isArray,B=z.isError,F=z.isFunction,N=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 D(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 A.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(!F(n))return t(n,Object(e));var r=[];return L(q(e),function(t){F(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),L(r,function(t){var e=t[1];F(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 w(e,n,P);var Z=n,H=[];return L(V,function(t){L(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&H.push([t,w(t,e,Z)])})}),L(q(Z),function(t){var e=Z[t];if("function"==typeof e){for(var n=H.length;n--;)if(H[n][0]==t)return;e.convert=_(t,e),H.push([t,e])}}),L(H,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,L(q(Z),function(t){L(s.realToAlias[t]||[],function(e){Z[e]=Z[t]})}),Z}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.20.1",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||!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,j,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 j(t){return t!==t}function w(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 A(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function P(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 E(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function T(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 M(t,e){for(var n=-1,r=t.length;++n<r&&-1<m(e,t[n],0););return n}function C(t,e){for(var n=t.length;n--&&-1<m(e,t[n],0););return n}function W(t){return"\\"+Lt[t]}function L(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function D(t,e){return function(n){return t(e(n))}}function B(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 F(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function N(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=Tt.lastIndex=0;Tt.test(t);)++e;t=e}else t=te(t);return t}function U(t){return zt.test(t)?t.match(Tt)||[]: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]],Z=/\b__p\+='';/g,H=/\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\]$/,jt=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,Ot=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,At=/['\n\r\u2028\u2029\\]/g,Pt="[\\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"),Et=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Tt=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])"+Pt,"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 ]/,Mt="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(" "),Ct={};Ct["[object Float32Array]"]=Ct["[object Float64Array]"]=Ct["[object Int8Array]"]=Ct["[object Int16Array]"]=Ct["[object Int32Array]"]=Ct["[object Uint8Array]"]=Ct["[object Uint8ClampedArray]"]=Ct["[object Uint16Array]"]=Ct["[object Uint32Array]"]=!0,Ct["[object Arguments]"]=Ct["[object Array]"]=Ct["[object ArrayBuffer]"]=Ct["[object Boolean]"]=Ct["[object DataView]"]=Ct["[object Date]"]=Ct["[object Error]"]=Ct["[object Function]"]=Ct["[object Map]"]=Ct["[object Number]"]=Ct["[object Object]"]=Ct["[object RegExp]"]=Ct["[object Set]"]=Ct["[object String]"]=Ct["[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 Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dt=parseFloat,Bt=parseInt,Ft="object"==typeof t&&t&&t.Object===Object&&t,Nt="object"==typeof self&&self&&self.Object===Object&&self,qt=Ft||Nt||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&&Ft.process,Kt=function(){try{var t=$t&&$t.f&&$t.f("util").types;return t||Vt&&Vt.binding&&Vt.binding("util")}catch(t){}}(),Zt=Kt&&Kt.isArrayBuffer,Ht=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({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),re=k({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),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 Nr(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 Pt(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 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 Lt(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 Ft(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Lt;++e<n;)this.add(t[e])}function Nt(t){this.size=(this.__data__=new Tt(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)?E(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)||Pr(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 Lr(Cn(t),pe(e,0,t.length))}function Kt(t){return Lr(Cn(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,Mo(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=Zo(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=wr(t),!c)return Cn(t,u)}else{var l=vu(t),p="[object Function]"==l||"[object GeneratorFunction]"==l;if(ca(t))return En(t,c);if("[object Object]"==l||"[object Arguments]"==l||p&&!o){if(u=f||p?{}:Or(t),!c)return f?Dn(t,fe(u,t)):Ln(t,ce(u,t))}else{if(!Wt[l])return o?t:{};u=kr(t,l,c)}}if(i||(i=new Nt),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?Mo: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 Ft(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&&!wo(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=Ar),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 je(t,e){return t&&au(t,e,Ro)}function we(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=Pn(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Dr(e[n++])];return n&&n==r?t:$}function Ae(t,e,n){return e=e(t),ua(t)?e:h(e,n(t))}function Pe(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 Ee(t,e){return null!=t&&ai.call(t,e)}function Te(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=Zo(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,I(e))),c=Li(s.length,c),a[u]=!n&&(e||120<=o&&120<=s.length)?new Ft(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 je(t,function(t,o,i){e(r,n(t),o,i)}),r}function Re(t,e,n){return e=Pn(e,t),t=2>e.length?t:ke(t,pn(e,0,-1)),e=null==t?t:t[Dr(Vr(e))],null==e?$:i(e,t,n)}function Me(t){return _o(t)&&"[object Arguments]"==Pe(t)}function Ce(t){return _o(t)&&"[object ArrayBuffer]"==Pe(t)}function We(t){return _o(t)&&"[object Date]"==Pe(t)}function Le(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 Nt),e=i||da(t)?lr(t,e,n,r,Le,o):pr(t,e,a,n,r,Le,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 Nt),e=Le(t,e,n,r,o);break t}if(c)e:if(o||(o=new Nt),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&&!Le(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 De(t){return _o(t)&&"[object Map]"==vu(t)}function Be(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 Nt,r)var l=r(f,s,c,t,e,a);if(l===$?!Le(s,f,3,r,a):!l)return!1}}return!0}function Fe(t){return!(!bo(t)||fi&&fi in t)&&(yo(t)?di:xt).test(Br(t))}function Ne(t){return _o(t)&&"[object RegExp]"==Pe(t)}function qe(t){return _o(t)&&"[object Set]"==vu(t)}function Ue(t){return _o(t)&&go(t.length)&&!!Ct[Pe(t)]}function $e(t){return"function"==typeof t?t:null==t?No:"object"==typeof t?ua(t)?He(t[0],t[1]):Ze(t):Go(t)}function Ge(t){if(!Ir(t))return Ci(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)?Zo(t.length):[];return iu(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function Ze(t){var e=mr(t);return 1==e.length&&e[0][2]?zr(e[0][0],e[0][1]):function(n){return n===t||Be(n,t,e)}}function He(t,e){return Er(t)&&e===e&&!bo(e)?zr(Dr(t),e):function(n){var r=Io(n,t);return r===$&&r===e?zo(n,t):Le(e,r,3)}}function Ye(t,e,n,r,o){t!==e&&au(e,function(i,u){if(o||(o=new Nt),bo(i)){var a=o,c=Mr(t,u),f=Mr(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=Cn(c):d?(l=!1,s=En(f,!0)):h?(l=!1,s=In(f,!0)):s=[]:xo(f)||ia(f)?(s=c,ia(c)?s=Eo(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(Mr(t,u),i,u+"",t,e,o):$,a===$&&(a=i),te(t,u,a)},Mo)}function Je(t,e){var n=t.length;if(n)return e+=0>e?n:0,Pr(e,n)?t[e]:$}function Xe(t,e,n){var r=-1;return e=d(e.length?e:[No],I(br())),t=Ke(t,function(t){return{a:d(e,function(e){return e(t)}),b:++r,c:t}}),P(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,Pn(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=Cn(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;Pr(o)?xi.call(t,o,1):mn(t,o)}}}function on(t,e){return t+Ti(Fi()*(e-t+1))}function un(t,e){var n="";if(!t||1>e||9007199254740991<e)return n;do{e%2&&(n+=t),(e=Ti(e/2))&&(t+=t)}while(e);return n}function an(t,e){return mu(Rr(t,e,No),t+"")}function cn(t){return $t(Wo(t))}function fn(t,e){var n=Wo(t);return Lr(n,pe(e,0,n.length))}function sn(t,e,n,r){if(!bo(t))return t;e=Pn(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Dr(e[o]),f=n;if(o!=u){var s=a[c],f=r?r(s,c,a):$;f===$&&(f=bo(s)?s:Pr(e[o+1])?[]:{})}ie(a,c,f),a=a[c]}return t}function ln(t){return Lr(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=Zo(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&&!wo(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return yn(t,e,No,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=wo(e),f=e===$;o<i;){var s=Ti((o+i)/2),l=n(t[s]),p=l!==$,d=null===l,h=l===l,y=wo(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 Li(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:wo(t)?V:+t}function bn(t){if("string"==typeof t)return t;if(ua(t))return d(t,bn)+"";if(wo(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 F(o);u=!1,o=R,c=new Ft}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=Pn(e,t),null==(t=2>e.length?t:ke(t,pn(e,0,-1)))||delete t[Dr(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 jn(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 wn(t,e,n){var r=t.length;if(2>r)return r?_n(t[0]):[];for(var o=-1,i=Zo(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 An(t){return"function"==typeof t?t:No}function Pn(t,e){return ua(t)?t:Er(t,e)?[t]:xu(To(t))}function Sn(t,e,n){var r=t.length;return n=n===$?r:n,!e&&n>=r?t:pn(t,e,n)}function En(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 Tn(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?Tn(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=wo(t),u=e!==$,a=null===e,c=e===e,f=wo(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=Zo(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 Mn(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=Zo(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 Cn(t,e){var n=-1,r=t.length;for(e||(e=Zo(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 Ln(t,e){return Wn(t,hu(t),e)}function Dn(t,e){return Wn(t,yu(t),e)}function Bn(t,e){return function(n,r){var o=ua(n)?u:ae,i=e?e():{};return o(n,t,br(r,2),i)}}function Fn(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 Nn(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=To(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(Bo(Do(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=Zo(u),c=u,f=gr(r);c--;)a[c]=arguments[c];return c=3>u&&a[0]!==f&&a[u-1]!==f?[]:B(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 Zn(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 Hn(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&&Tr(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[vr(c[0])].apply(a,c[3]):1==u.length&&Tr(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=Zo(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=Mn(b,i,u,h)),g-=m,h&&g<f)return x=B(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 j=Li(a.length,m),w=Cn(b);j--;){var O=a[j];b[j]=Pr(O,m)?w[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,Ei(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=Zo(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(Ei((n-e)/(r||1)),0);for(var i=Zo(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),Tr(t)&&bu(n,o),n.placeholder=r,Cr(n,t,e)}function ir(t){var e=Xo[t];return function(t,n){if(t=So(t),(n=null==n?0:Li(Ao(n),292))&&Ri(t)){var r=(To(t)+"e").split("e"),r=e(r[0]+"e"+(+r[1]+n)),r=(To(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?L(e):"[object Set]"==n?N(e):T(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(Ao(u),0),a=a===$?a:Ao(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?B(i[3],"__lodash_placeholder__"):p[4]),(n=p[5])&&(r=i[5],i[5]=r?Mn(r,n,p[6]):n,i[6]=r?B(i[5],"__lodash_placeholder__"):p[6]),(n=p[7])&&(i[7]=n),128&t&&(i[8]=null==i[8]?p[8]:Li(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),Cr((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 Ft:$;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=L;case"[object Set]":if(a||(a=F),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 Ae(t,Ro,hu)}function yr(t){return Ae(t,Mo,yu)}function vr(t){for(var e=t.name+"",n=Hi[e],r=ai.call(Hi,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 Fe(n)?n:$}function jr(t,e,n){e=Pn(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Dr(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)&&Pr(u,o)&&(ua(t)||ia(t))}function wr(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 Tn(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return e=n?Tn(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 Ar(t){return ua(t)||ia(t)||!!(ji&&t&&t[ji])}function Pr(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&wt.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)&&Pr(e,n.length):"string"==r&&e in n)&&so(n[e],t)}function Er(t,e){if(ua(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!wo(t))||it.test(t)||!ot.test(t)||null!=e&&t in Qo(e)}function Tr(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=Zo(u);++o<u;)a[o]=r[e+o];for(o=-1,u=Zo(e+1);++o<e;)u[o]=r[o];return u[e]=n(a),i(t,this,u)}}function Mr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Cr(t,e,n){var r=e+"";e=mu;var o,i=Fr;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=Di(),o=16-(r-n);if(n=r,0<o){if(800<=++e)return arguments[0]}else e=0;return t.apply($,arguments)}}function Lr(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 Dr(t){if("string"==typeof t||wo(t))return t;var e=t+"";return"0"==e&&1/t==-G?"-0":e}function Br(t){if(null!=t){try{return ui.call(t)}catch(t){}return t+""}return""}function Fr(t,e){return a(K,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function Nr(t){if(t instanceof k)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Cn(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:Ao(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=Ao(n),o=0>n?Wi(r+o,0):Li(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 Zr(t){return null==t?t:Ni.call(t)}function Hr(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}),E(e,function(e){return d(t,O(e))})}function Yr(t,e){if(!t||!t.length)return[];var n=Hr(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=Ao(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=Zu();if(o(t))return u(t);var n,r=_u;n=t-h,t=e-(t-d),n=v?Li(t,s-n):t,p=r(i,n)}function u(t){return p=$,g&&c?r(t):(c=f=$,l)}function a(){var t=Zu(),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(Zu())},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||Lt),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=Pe(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=Pe(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function vo(t){return"number"==typeof t&&t==Ao(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]"==Pe(t)}function xo(t){return!(!_o(t)||"[object Object]"!=Pe(t))&&(null===(t=bi(t))||"function"==typeof(t=ai.call(t,"constructor")&&t.constructor)&&t instanceof t&&ui.call(t)==li)}function jo(t){return"string"==typeof t||!ua(t)&&_o(t)&&"[object String]"==Pe(t)}function wo(t){return"symbol"==typeof t||_o(t)&&"[object Symbol]"==Pe(t)}function Oo(t){if(!t)return[];if(lo(t))return jo(t)?U(t):Cn(t);if(wi&&t[wi]){t=t[wi]();for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}return e=vu(t),("[object Map]"==e?L:"[object Set]"==e?F: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 Ao(t){t=ko(t);var e=t%1;return t===t?e?t-e:t:0}function Po(t){return t?pe(Ao(t),0,4294967295):0}function So(t){if("number"==typeof t)return t;if(wo(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||jt.test(t)?Bt(t.slice(2),e?2:8):_t.test(t)?V:+t}function Eo(t){return Wn(t,Mo(t))}function To(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&&jr(t,e,Te)}function Ro(t){return lo(t)?Ut(t):Ge(t)}function Mo(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 Co(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 Lo(t){return Ba(To(t).toLowerCase())}function Do(t){return(t=To(t))&&t.replace(Ot,ee).replace(Et,"")}function Bo(t,e,n){return t=To(t),e=n?$:e,e===$?Rt.test(t)?t.match(It)||[]:t.match(yt)||[]:t.match(e)||[]}function Fo(t){return function(){return t}}function No(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__=Cn(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 Er(t)?O(Dr(t)):en(t)}function Vo(){return[]}function Ko(){return!1}e=null==e?qt:oe.defaults(qt.Object(),e,oe.pick(qt,Mt));var Zo=e.Array,Ho=e.Date,Yo=e.Error,Jo=e.Function,Xo=e.Math,Qo=e.Object,ti=e.RegExp,ei=e.String,ni=e.TypeError,ri=Zo.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=D(Qo.getPrototypeOf,Qo),_i=Qo.create,mi=oi.propertyIsEnumerable,xi=ri.splice,ji=yi?yi.isConcatSpreadable:$,wi=yi?yi.iterator:$,Oi=yi?yi.toStringTag:$,ki=function(){try{var t=xr(Qo,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ai=e.clearTimeout!==qt.clearTimeout&&e.clearTimeout,Pi=Ho&&Ho.now!==qt.Date.now&&Ho.now,Si=e.setTimeout!==qt.setTimeout&&e.setTimeout,Ei=Xo.ceil,Ti=Xo.floor,Ii=Qo.getOwnPropertySymbols,zi=hi?hi.isBuffer:$,Ri=e.isFinite,Mi=ri.join,Ci=D(Qo.keys,Qo),Wi=Xo.max,Li=Xo.min,Di=Ho.now,Bi=e.parseInt,Fi=Xo.random,Ni=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"),Zi=Vi&&new Vi,Hi={},Yi=Br(qi),Ji=Br(Ui),Xi=Br($i),Qi=Br(Gi),tu=Br(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,Pt.prototype.clear=function(){this.__data__=Ki?Ki(null):{},this.size=0},Pt.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},Pt.prototype.get=function(t){var e=this.__data__;return Ki?(t=e[t],"__lodash_hash_undefined__"===t?$:t):ai.call(e,t)?e[t]:$},Pt.prototype.has=function(t){var e=this.__data__;return Ki?e[t]!==$:ai.call(e,t)},Pt.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},Tt.prototype.clear=function(){this.__data__=[],this.size=0},Tt.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))},Tt.prototype.get=function(t){var e=this.__data__;return t=ue(e,t),0>t?$:e[t][1]},Tt.prototype.has=function(t){return-1<ue(this.__data__,t)},Tt.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},Lt.prototype.clear=function(){this.size=0,this.__data__={hash:new Pt,map:new(Ui||Tt),string:new Pt}},Lt.prototype.delete=function(t){return t=_r(this,t).delete(t),this.size-=t?1:0,t},Lt.prototype.get=function(t){return _r(this,t).get(t)},Lt.prototype.has=function(t){return _r(this,t).has(t)},Lt.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},Ft.prototype.add=Ft.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Ft.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.clear=function(){this.__data__=new Tt,this.size=0},Nt.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},Nt.prototype.get=function(t){return this.__data__.get(t)},Nt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var r=n.__data__;if(!Ui||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Lt(r)}return n.set(t,e),this.size=n.size,this};var iu=Nn(je),uu=Nn(we,!0),au=qn(),cu=qn(!0),fu=Zi?function(t,e){return Zi.set(t,e),t}:No,su=ki?function(t,e){return ki(t,"toString",{configurable:!0,enumerable:!1,value:Fo(e),writable:!0})}:No,lu=Ai||function(t){return qt.clearTimeout(t)},pu=Gi&&1/F(new Gi([,-0]))[1]==G?function(t){return new Gi(t)}:$o,du=Zi?function(t){return Zi.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=Pe;(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=Pe(t);if(t=(t="[object Object]"==e?t.constructor:$)?Br(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}),ju=an(function(t,e){return po(t)?ge(t,xe(e,1,po,!0)):[]}),wu=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):[]}),Au=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)):[]}),Pu=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),Eu=dr(function(t,e){var n=null==t?0:t.length,r=le(t,e);return rn(t,d(e,function(t){return Pr(t,n)?+t:t}).sort(zn)),r}),Tu=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):[]}),Mu=an(function(t){return wn(s(t,po))}),Cu=an(function(t){var e=Vr(t);return po(e)&&(e=$),wn(s(t,po),br(e,2))}),Wu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return wn(s(t,po),$,e)}),Lu=an(Hr),Du=an(function(t){var e=t.length,e=1<e?t[e-1]:$,e="function"==typeof e?(t.pop(),e):$;return Yr(t,e)}),Bu=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&&Pr(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)}),Fu=Bn(function(t,e,n){ai.call(t,n)?++t[n]:se(t,n,1)}),Nu=Zn(qr),qu=Zn(Ur),Uu=Bn(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)?Zo(t.length):[];return iu(t,function(t){u[++r]=o?i(e,t,n):Re(t,e,n)}),u}),Gu=Bn(function(t,e,n){se(t,n,e)}),Vu=Bn(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),[])}),Zu=Pi||function(){return qt.Date.now()},Hu=an(function(t,e,n){var r=1;if(n.length)var o=B(n,gr(Hu)),r=32|r;return ar(t,r,e,n,o)}),Yu=an(function(t,e,n){var r=3;if(n.length)var o=B(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=Lt;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=Li(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,B(e,gr(ta)))}),ea=an(function(t,e){return ar(t,64,$,e,B(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=Me(function(){return arguments}())?Me:function(t){return _o(t)&&ai.call(t,"callee")&&!mi.call(t,"callee")},ua=Zo.isArray,aa=Zt?I(Zt):Ce,ca=zi||Ko,fa=Ht?I(Ht):We,sa=Yt?I(Yt):De,la=Jt?I(Jt):Ne,pa=Xt?I(Xt):qe,da=Qt?I(Qt):Ue,ha=rr(Ve),ya=rr(function(t,e){return t<=e}),va=Fn(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=Fn(function(t,e){Wn(e,Mo(e),t)}),ba=Fn(function(t,e,n,r){Wn(e,Mo(e),t,r)}),_a=Fn(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=Mo(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}),ja=an(function(t){return t.push($,fr),i(Pa,$,t)}),wa=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),t[e]=n},Fo(No)),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),Aa=Fn(function(t,e,n){Ye(t,e,n)}),Pa=Fn(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=Pn(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}),Ea=dr(function(t,e){return null==t?{}:Qe(t,e)}),Ta=ur(Ro),Ia=ur(Mo),za=Gn(function(t,e,n){return e=e.toLowerCase(),t+(n?Lo(e):e)}),Ra=Gn(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ma=Gn(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ca=$n("toLowerCase"),Wa=Gn(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),La=Gn(function(t,e,n){return t+(n?" ":"")+Ba(e)}),Da=Gn(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ba=$n("toUpperCase"),Fa=an(function(t,e){try{return i(t,$,e)}catch(t){return ho(t)?t:new Yo(t)}}),Na=dr(function(t,e){return a(e,function(e){e=Dr(e),se(t,e,Hu(t[e],t))}),t}),qa=Hn(),Ua=Hn(!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),Za=Qn(g),Ha=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=Ao(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=Hu,n.bindAll=Na,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(Ao(e),0),!(n=null==t?0:t.length)||1>e)return[];for(var r=0,o=0,i=Zo(Ei(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=Zo(t-1),n=arguments[0];t--;)e[t-1]=arguments[t];return h(ua(n)?Cn(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=Fo,n.countBy=Fu,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=ja,n.defer=Ju,n.delay=Xu,n.difference=ju,n.differenceBy=wu,n.differenceWith=Ou,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Ao(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:Ao(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=Ao(n),0>n&&(n=-n>o?0:o+n),r=r===$||r>o?o:Ao(r),0>r&&(r+=o),r=n>r?0:Po(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:Ao(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:Ao(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,Mo(t))},n.groupBy=Uu,n.initial=function(t){return(null==t?0:t.length)?pn(t,0,-1):[]},n.intersection=ku,n.intersectionBy=Au,n.intersectionWith=Pu,n.invert=wa,n.invertBy=Oa,n.invokeMap=$u,n.iteratee=qo,n.keyBy=Gu,n.keys=Ro,n.keysIn=Mo,n.map=no,n.mapKeys=function(t,e){var n={};return e=br(e,3),je(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),je(t,function(t,r,o){se(n,r,e(t,r,o))}),n},n.matches=function(t){return Ze(de(t,1))},n.matchesProperty=function(t,e){return He(t,de(e,1))},n.memoize=co,n.merge=Aa,n.mergeWith=Pa,n.method=$a,n.methodOf=Ga,n.mixin=Uo,n.negate=fo,n.nthArg=function(t){return t=Ao(t),an(function(e){return Je(e,t)})},n.omit=Sa,n.omitBy=function(t,e){return Co(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=Za,n.partial=ta,n.partialRight=ea,n.partition=Vu,n.pick=Ea,n.pickBy=Co,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=Eu,n.range=Ha,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:Ao(e),an(t,e)},n.reverse=Zr,n.sampleSize=function(t,e,n){return e=(n?Sr(t,e,n):e===$)?1:Ao(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:Ao(e),n=n===$?r:Ao(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=To(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(Ao(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:Ao(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:Ao(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=Ta,n.toPairsIn=Ia,n.toPath=function(t){return ua(t)?d(t,Dr):wo(t)?[t]:Cn(xu(To(t)))},n.toPlainObject=Eo,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:je)(t,function(t,r,o){return e(n,t,r,o)}),n},n.unary=function(t){return ro(t,1)},n.union=Tu,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=Hr,n.unzipWith=Yr,n.update=function(t,e,n){return null==t?t:sn(t,e,An(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,An(n)(ke(t,e)),r)),t},n.values=Wo,n.valuesIn=function(t){return null==t?[]:z(t,Mo(t))},n.without=Ru,n.words=Bo,n.wrap=function(t,e){return ta(An(e),t)},n.xor=Mu,n.xorBy=Cu,n.xorWith=Wu,n.zip=Lu,n.zipObject=function(t,e){return On(t||[],e||[],ie)},n.zipObjectDeep=function(t,e){return On(t||[],e||[],sn)},n.zipWith=Du,n.entries=Ta,n.entriesIn=Ia,n.extend=ga,n.extendWith=ba,Uo(n,n),n.add=Ja,n.attempt=Fa,n.camelCase=za,n.capitalize=Lo,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=Do,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Qa,n.endsWith=function(t,e,n){t=To(t),e=bn(e);var r=t.length,r=n=n===$?r:pe(Ao(n),0,r);return 0<=(n-=e.length)&&t.slice(n,r)==e},n.eq=so,n.escape=function(t){return(t=To(t))&&tt.test(t)?t.replace(X,ne):t},n.escapeRegExp=function(t){return(t=To(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=Nu,n.findIndex=qr,n.findKey=function(t,e){return b(t,br(e,3),je)},n.findLast=qu,n.findLastIndex=Ur,n.findLastKey=function(t,e){return b(t,br(e,3),we)},n.floor=tc,n.forEach=to,n.forEachRight=eo,n.forIn=function(t,e){return null==t?t:au(t,br(e,3),Mo)},n.forInRight=function(t,e){return null==t?t:cu(t,br(e,3),Mo)},n.forOwn=function(t,e){return t&&je(t,br(e,3))},n.forOwnRight=function(t,e){return t&&we(t,br(e,3))},n.get=Io,n.gt=ra,n.gte=oa,n.has=function(t,e){return null!=t&&jr(t,e,Ee)},n.hasIn=zo,n.head=Gr,n.identity=No,n.includes=function(t,e,n,r){return t=lo(t)?t:Wo(t),n=n&&!r?Ao(n):0,r=t.length,0>n&&(n=Wi(r+n,0)),jo(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:Ao(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))>=Li(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]"==Pe(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 Le(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:$)?n(t,e):$;return r===$?Le(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||Be(t,e,mr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:$,Be(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 Fe(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=jo,n.isSymbol=wo,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]"==Pe(t)},n.join=function(t,e){return null==t?"":Mi.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=Ao(n),o=0>o?Wi(r+o,0):Li(o,r-1)),e===e){for(n=o+1;n--&&t[n]!==e;);t=n}else t=_(t,j,o,!0);return t},n.lowerCase=Ma,n.lowerFirst=Ca,n.lt=ha,n.lte=ya,n.max=function(t){return t&&t.length?_e(t,No,Se):$},n.maxBy=function(t,e){return t&&t.length?_e(t,br(e,2),Se):$},n.mean=function(t){return w(t,No)},n.meanBy=function(t,e){return w(t,br(e,2))},n.min=function(t){return t&&t.length?_e(t,No,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,Ao(e)):$},n.noConflict=function(){return qt._===this&&(qt._=pi),this},n.noop=$o,n.now=Zu,n.pad=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return!e||r>=e?t:(e=(e-r)/2,tr(Ti(e),n)+t+tr(Ei(e),n))},n.padEnd=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return e&&r<e?t+tr(e-r,n):t},n.padStart=function(t,e,n){t=To(t);var r=(e=Ao(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),Bi(To(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=Fi(),Li(t+n*(e-t+Dt("1e-"+((n+"").length-1))),e)):on(t,e)},n.reduce=function(t,e,n){var r=ua(t)?y:A,o=3>arguments.length;return r(t,br(e,4),n,o,iu)},n.reduceRight=function(t,e,n){var r=ua(t)?v:A,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:Ao(e),un(To(t),e)},n.replace=function(){var t=arguments,e=To(t[0]);return 3>t.length?e:e.replace(t[1],t[2])},n.result=function(t,e,n){e=Pn(e,t);var r=-1,o=e.length;for(o||(o=1,t=$);++r<o;){var i=null==t?$:t[Dr(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 jo(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=La,n.startsWith=function(t,e,n){return t=To(t),n=null==n?0:pe(Ao(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,No):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=To(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(At,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(Z,""):s).replace(H,"$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=Fa(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=Ao(t))||9007199254740991<t)return[];var n=4294967295,r=Li(t,4294967295);for(e=br(e),t-=4294967295,r=E(r,e);++n<t;)e(n);return r},n.toFinite=ko,n.toInteger=Ao,n.toLength=Po,n.toLower=function(t){return To(t).toLowerCase()},n.toNumber=So,n.toSafeInteger=function(t){return t?pe(Ao(t),-9007199254740991,9007199254740991):0===t?t:0},n.toString=To,n.toUpper=function(t){return To(t).toUpperCase()},n.trim=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(ft,""):t&&(e=bn(e))?(t=U(t),n=U(e),e=M(t,n),n=C(t,n)+1,Sn(t,e,n).join("")):t},n.trimEnd=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(lt,""):t&&(e=bn(e))?(t=U(t),e=C(t,U(e))+1,Sn(t,0,e).join("")):t},n.trimStart=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(st,""):t&&(e=bn(e))?(t=U(t),e=M(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?Ao(e.length):n,r="omission"in e?bn(e.omission):r;t=To(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,To(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=To(t))&&Q.test(t)?t.replace(J,re):t},n.uniqueId=function(t){var e=++ci;return To(t)+e},n.upperCase=Da,n.upperFirst=Ba,n.each=to,n.eachRight=eo,n.first=Gr,Uo(n,function(){var t={};return je(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(Ao(n),0);var r=this.__filtered__&&!e?new k(this):this.clone();return r.__filtered__?r.__takeCount__=Li(n,r.__takeCount__):r.__views__.push({size:Li(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(No)},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=Ao(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=Ao(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)},je(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)})}}),je(k.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";ai.call(Hi,o)||(Hi[o]=[]),Hi[o].push({name:e,func:r})}}),Hi[Yn($,2).name]=[{name:"wrapper",func:$}],k.prototype.clone=function(){var t=new k(this.__wrapped__);return t.__actions__=Cn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Cn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Cn(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=Li(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=Li(t,this.__takeCount__),!r||!o&&i==t&&s==t)return jn(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=Bu,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=Nr(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:[Zr],thisArg:$}),new o(t,this.__chain__)):this.thru(Zr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,wi&&(n.prototype[wi]=Qr),n}();qt._=oe,void 0!==(o=function(){return oe}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(48),n(19)(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(A.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||A.curry&&n>1?W(e,n):e}function y(t,e,n){if(A.fixed&&(E||!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 A.rearg&&n>1&&(T||!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=C(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||F(c)||B(c)||N(c)||(u[a]=C(n==o?c:Object(c))),u=u[a]}return i}function b(t){return Z.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=M(M({},o),t);return f(i,n,u,a)}}function m(t,e){return j(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return j(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function j(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=A.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function w(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):A.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))),L(V,function(t){return L(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 A={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},P=O?n:l,S="curry"in p&&p.curry,E="fixed"in p&&p.fixed,T="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,M=z.assign,C=z.clone,W=z.curry,L=z.forEach,D=z.isArray,B=z.isError,F=z.isFunction,N=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 D(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 A.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(!F(n))return t(n,Object(e));var r=[];return L(q(e),function(t){F(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),L(r,function(t){var e=t[1];F(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 w(e,n,P);var Z=n,H=[];return L(V,function(t){L(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&H.push([t,w(t,e,Z)])})}),L(q(Z),function(t){var e=Z[t];if("function"==typeof e){for(var n=H.length;n--;)if(H[n][0]==t)return;e.convert=_(t,e),H.push([t,e])}}),L(H,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,L(q(Z),function(t){L(s.realToAlias[t]||[],function(e){Z[e]=Z[t]})}),Z}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.29.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(37)),r(n(458))),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(37)),r(n(192))),y=r(n(193)),v=r(n(465)),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(30)("meta"),o=n(29),i=n(15),u=n(13).f,a=0,c=Object.isExtensible||function(){return!0},f=!n(21)(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(22),o=n(71),i=n(47);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(118);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(23),o=n(191).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(47),o=n(43),i=n(23),u=n(68),a=n(15),c=n(114),f=Object.getOwnPropertyDescriptor;e.f=n(14)?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(467),o=n(469),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(468);t.exports=r},function(t,e,n){var r=n(20),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(470),i=n(471),u=n(103),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(472);t.exports=r},function(t,e,n){var r=n(473),o=n(476),i=o(r);t.exports=i},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(474),i=n(38);t.exports=r},function(t,e,n){var r=n(475),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(58);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(37)),r(n(192))),y=r(n(193)),v=r(n(194)),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(187);var r=n(188),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(484)),i=r(n(488)),u=r(n(490)),a=r(n(491)),c=r(n(494)),f=r(n(495)),s=r(n(496))},function(t,e,n){"use strict";var r=n(108),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(109)),u=o(n(110)),a=o(n(111)),c=o(n(112)),f=o(n(113)),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(487);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://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://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(108),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(109)),u=o(n(110)),a=o(n(111)),c=o(n(112)),f=o(n(196)),s=o(n(113)),l=r(n(0)),p=o(n(67)),d=o(n(492)),h=o(n(493)),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:"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://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://api.whatsapp.com/send":"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("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://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-primary.js",geography:"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-geography.js","english-lit":"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lit.js","english-lang":"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lang.js",language:"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-language.js",maths:"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-maths.js",science:"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-science.js"},secondary:{universal:"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-secondary.js",geography:"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-geography.js","english-lit":"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lit.js","english-lang":"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lang.js",language:"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-language.js",maths:"https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-maths.js",science:"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)},j=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);j(i)}else{var u=p[r][e||"universal"];window.require([u],function(){o=x(r,e);var t=new _(n,o);j(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}}}]);
  1093. //# sourceMappingURL=bundle.js.map;
  1094. });</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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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/zwngqty', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":[{"id":"z98jmp3","type":"level","label":"GCSE"},{"id":"zrkw2hv","type":"programme-of-study","label":"Science"},{"id":"zs6hvcw","type":"programme-of-study","label":"Chemistry (Single Science)"},{"id":"zq2n4j6","type":"exam-specification","label":"Other"}]}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-header-data/chapterType/revision/pageIndex/1/pageType/guide/version/1.11.0/zid/zsxn82p', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"contentId":"zsxn82p","label":"Energy changes","levelLabel":"GCSE","levelId":"z98jmp3","examspecLabel":"Other","examspecId":"zq2n4j6","fosZid":"zmf3cdm","description":"Energy is absorbed to break bonds and released when bonds are made. Energy changes in a reaction are calculated by bond energies and shown by energy diagrams. Heat energy is released when fuels burn.","topicId":"zwngqty","topicLabel":"Energy","zid":"zwngqty","stubs":[{"id":"zwngqty","label":"Energy","path":"\/bitesize\/topics\/zwngqty"}]}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-header-view","pageType":"guide","zid":"zsxn82p","chapterType":"revision","language":"en-GB","globalNav":"true","partOf":"true","subdirectory":"bitesize","version":"8.20.1","_mrrVersion":"2.0.16"},'u9044932814522063'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//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(); } /* u9044932814522063 */</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")}}]);;
  1095. });</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"]}]);;
  1096. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bump@1.0.2"]={"bbc-morph-promise":"1.0.6"},function(r){function o(e){if(n[e])return n[e].exports;var t=n[e]={exports:{},id:e,loaded:!1};return r[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}var n={};return o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-bump@1.0.2"]=n(1)},function(r,o,n){function e(){return new p(function(r){requirejs(["bump-3"],function(o){u=o,r(u)})})}function t(){return u?p.resolve(u):e()}var u,p=n(2);o.load=t},function(r,o){r.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);;
  1097. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-smp@2.12.6"]={"bbc-morph-bump":"1.0.2","bbc-morph-classnames":"1.0.1","bbc-morph-istats":"1.3.0","bbc-morph-promise":"1.0.6",lodash:"4.17.5",morph:"3.10.0",react:"0.14.7","react-dom":"0.14.7",requirejs:"2.3.5"},function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){Morph.modules["bbc-morph-smp@2.12.6"]=e(1)},function(t,n,e){function r(){var t;if(document&&document.cookie&&(t=document.cookie.match(/ckps_morph_smp_mediator_host=([a-z]{3,4})/i)))return t[1]}function o(t){var n=r(),e="live";return n&&(e=n),t.mediator&&t.mediator.host?t.mediator.host:"open."+e+".bbc.co.uk"}function i(t){return void 0===t||t}function a(t){return void 0!==t&&t}function u(t){return"false"!==t&&!!t}function c(t){var n;return t.playlistObject?t.playlistObject:(n={title:t.title,holdingImageURL:t.holdingImageUrl,items:[{vpid:t.vpid,kind:t.mediaType}]},t.guidance&&t.guidance.trim().length&&(n.guidance=t.guidance),n)}function s(t){return"clip"===t||"episode"===t?t+"PID":"PID"}function p(t){var n={playlistLabels:{title:t.title,status:t.status}},e=s(t.mediaForm);return n[e]=t.parentPid,"undefined"!=typeof t.sessionLabels&&(n.sessionLabels=t.sessionLabels),n}function f(t,n,e){return{product:t.product,delayEmbed:t.delayEmbed,appName:t.appName,appType:t.appType,playlistObject:c(e),statsObject:p(t),counterName:n,mediator:{host:o(t)},ui:d(t),responsive:t.responsive,superResponsive:t.superResponsive,autoplay:t.autoplay,mediaProfile:t.mediaProfile,allowCasting:t.allowCasting,plugins:{toLoad:t.plugins},significantTime:t.significantTime||10,preferHtmlOnMobile:t.preferHtmlOnMobile,preferHtmlControls:t.preferHtmlControls}}function l(t){return{cta:{enabled:!0,backgroundColour:"#000000"},controls:{availableOnMediaEnded:t.availableOnMediaEnded},markers:{enabled:!1},fullscreen:{enabled:!0},poster:{enabled:!0}}}function d(t){var n=l(t);return b(n,t.ui),n}function v(t){return{title:t.title||"",holdingImageUrl:t.holdingImageUrl,vpid:t.sid||t.vpid,guidance:t.guidance,status:"string"==typeof t.status?t.status.toLowerCase():"",mediaForm:"string"==typeof t.mediaForm?t.mediaForm.toLowerCase():"",parentPid:t.parentPid,product:t.product||"news",delayEmbed:i(t.delayEmbed),appName:t.appName||t.product,appType:t.appType||"responsive",availableOnMediaEnded:t.controlsAvailableOnMediaEnded!==!1,responsive:a(t.responsive),superResponsive:i(t.superResponsive),autoplay:t.autoplay||!1,mediaProfile:t.mediaProfile||"journalism",mediaType:t.mediaType,sessionLabels:t.sessionLabels,allowCasting:u(t.allowCasting)||!1,plugins:t.plugins||[],playlistObject:t.playlistObject,ui:t.ui||{},mediator:t.mediator,significantTime:t.significantTime,preferHtmlOnMobile:t.preferHtmlOnMobile||!1,preferHtmlControls:t.preferHtmlControls}}e(2);var h=e(3),y=e(4),b=e(5),m=e(102),x=e(103);t.exports=h.createClass({displayName:"Smp",componentWillReceiveProps:function(t){var t=v(t);this.setState({title:t.title,holdingImageUrl:t.holdingImageUrl,vpid:t.vpid,mediaType:t.mediaType,guidance:t.guidance,playlistObject:t.playlistObject})},shouldComponentUpdate:function(t,n){function e(t){return t.vpid!==n.vpid}function r(t){return JSON.stringify(t.playlistObject)!==JSON.stringify(n.playlistObject)}return this.state&&(e(this.state)||r(this.state))},componentWillUpdate:function(t,n){if(this.player){var e={autoplay:!0,statsObject:p(t)};this.player.loadPlaylist(c(n),e)}},componentDidMount:function(){var t=v(this.props);this.setState({title:t.title,holdingImageUrl:t.holdingImageUrl,vpid:t.vpid,mediaType:t.mediaType,guidance:t.guidance,playlistObject:t.playlistObject}),x.load().then(function(n){m.getCountername().then(function(e){var r=n(y.findDOMNode(this)),o=f(t,e,this.state),i=r.player(o);this.player=i,this.player.bind("initialised",function(){this.props.onPlayerLoaded&&this.props.onPlayerLoaded(this.player)}.bind(this)),this.player.bind("playing",function(){this.props.onPlaying&&this.props.onPlaying(this.player)}.bind(this)),this.player.bind("pause",function(){this.props.onPause&&this.props.onPause(this.player)}.bind(this)),this.player.bind("error",function(t){this.props.onError&&this.props.onError(this.player,t)}.bind(this)),this.player.bind("playlistEnded",function(){this.props.onPlaylistEnded&&this.props.onPlaylistEnded(this.player)}.bind(this)),this.player.load()}.bind(this))}.bind(this))},playerInstance:function(){return this.player},render:function(){return h.createElement("div",{className:"smp"})}})},function(t,n){t.exports=Morph.modules["bbc-morph-promise@1.0.6"]},function(t,n){t.exports=React},function(t,n){t.exports=ReactDOM},function(t,n,e){var r=e(6),o=e(92),i=o(function(t,n,e){r(t,n,e)});t.exports=i},function(t,n,e){function r(t,n,e,f,l){t!==n&&a(n,function(a,s){if(c(a))l||(l=new o),u(t,n,s,e,r,f,l);else{var d=f?f(p(t,s),a,s+"",t,n,l):void 0;void 0===d&&(d=a),i(t,s,d)}},s)}var o=e(7),i=e(51),a=e(54),u=e(56),c=e(31),s=e(86),p=e(82);t.exports=r},function(t,n,e){function r(t){var n=this.__data__=new o(t);this.size=n.size}var o=e(8),i=e(16),a=e(17),u=e(18),c=e(19),s=e(20);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=c,r.prototype.set=s,t.exports=r},function(t,n,e){function r(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}var o=e(9),i=e(10),a=e(13),u=e(14),c=e(15);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,n){function e(){this.__data__=[],this.size=0}t.exports=e},function(t,n,e){function r(t){var n=this.__data__,e=o(n,t);if(e<0)return!1;var r=n.length-1;return e==r?n.pop():a.call(n,e,1),--this.size,!0}var o=e(11),i=Array.prototype,a=i.splice;t.exports=r},function(t,n,e){function r(t,n){for(var e=t.length;e--;)if(o(t[e][0],n))return e;return-1}var o=e(12);t.exports=r},function(t,n){function e(t,n){return t===n||t!==t&&n!==n}t.exports=e},function(t,n,e){function r(t){var n=this.__data__,e=o(n,t);return e<0?void 0:n[e][1]}var o=e(11);t.exports=r},function(t,n,e){function r(t){return o(this.__data__,t)>-1}var o=e(11);t.exports=r},function(t,n,e){function r(t,n){var e=this.__data__,r=o(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}var o=e(11);t.exports=r},function(t,n,e){function r(){this.__data__=new o,this.size=0}var o=e(8);t.exports=r},function(t,n){function e(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}t.exports=e},function(t,n){function e(t){return this.__data__.get(t)}t.exports=e},function(t,n){function e(t){return this.__data__.has(t)}t.exports=e},function(t,n,e){function r(t,n){var e=this.__data__;if(e instanceof o){var r=e.__data__;if(!i||r.length<u-1)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new a(r)}return e.set(t,n),this.size=e.size,this}var o=e(8),i=e(21),a=e(36),u=200;t.exports=r},function(t,n,e){var r=e(22),o=e(27),i=r(o,"Map");t.exports=i},function(t,n,e){function r(t,n){var e=i(t,n);return o(e)?e:void 0}var o=e(23),i=e(35);t.exports=r},function(t,n,e){function r(t){if(!a(t)||i(t))return!1;var n=o(t)?v:s;return n.test(u(t))}var o=e(24),i=e(32),a=e(31),u=e(34),c=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,p=Function.prototype,f=Object.prototype,l=p.toString,d=f.hasOwnProperty,v=RegExp("^"+l.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,n,e){function r(t){if(!i(t))return!1;var n=o(t);return n==u||n==c||n==a||n==s}var o=e(25),i=e(31),a="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";t.exports=r},function(t,n,e){function r(t){return null==t?void 0===t?c:u:s&&s in Object(t)?i(t):a(t)}var o=e(26),i=e(29),a=e(30),u="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;t.exports=r},function(t,n,e){var r=e(27),o=r.Symbol;t.exports=o},function(t,n,e){var r=e(28),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,n){(function(n){var e="object"==typeof n&&n&&n.Object===Object&&n;t.exports=e}).call(n,function(){return this}())},function(t,n,e){function r(t){var n=a.call(t,c),e=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(n?t[c]=e:delete t[c]),o}var o=e(26),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,n){function e(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=e},function(t,n){function e(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=e},function(t,n,e){function r(t){return!!i&&i in t}var o=e(33),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,n,e){var r=e(27),o=r["__core-js_shared__"];t.exports=o},function(t,n){function e(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=e},function(t,n){function e(t,n){return null==t?void 0:t[n]}t.exports=e},function(t,n,e){function r(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}var o=e(37),i=e(45),a=e(48),u=e(49),c=e(50);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,n,e){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=e(38),i=e(8),a=e(21);t.exports=r},function(t,n,e){function r(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}var o=e(39),i=e(41),a=e(42),u=e(43),c=e(44);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,n,e){function r(){this.__data__=o?o(null):{},this.size=0}var o=e(40);t.exports=r},function(t,n,e){var r=e(22),o=r(Object,"create");t.exports=o},function(t,n){function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}t.exports=e},function(t,n,e){function r(t){var n=this.__data__;if(o){var e=n[t];return e===i?void 0:e}return u.call(n,t)?n[t]:void 0}var o=e(40),i="__lodash_hash_undefined__",a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,n,e){function r(t){var n=this.__data__;return o?void 0!==n[t]:a.call(n,t)}var o=e(40),i=Object.prototype,a=i.hasOwnProperty;t.exports=r},function(t,n,e){function r(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=o&&void 0===n?i:n,this}var o=e(40),i="__lodash_hash_undefined__";t.exports=r},function(t,n,e){function r(t){var n=o(this,t).delete(t);return this.size-=n?1:0,n}var o=e(46);t.exports=r},function(t,n,e){function r(t,n){var e=t.__data__;return o(n)?e["string"==typeof n?"string":"hash"]:e.map}var o=e(47);t.exports=r},function(t,n){function e(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=e},function(t,n,e){function r(t){return o(this,t).get(t)}var o=e(46);t.exports=r},function(t,n,e){function r(t){return o(this,t).has(t)}var o=e(46);t.exports=r},function(t,n,e){function r(t,n){var e=o(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this}var o=e(46);t.exports=r},function(t,n,e){function r(t,n,e){(void 0===e||i(t[n],e))&&(void 0!==e||n in t)||o(t,n,e)}var o=e(52),i=e(12);t.exports=r},function(t,n,e){function r(t,n,e){"__proto__"==n&&o?o(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}var o=e(53);t.exports=r},function(t,n,e){var r=e(22),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,e){var r=e(55),o=r();t.exports=o},function(t,n){function e(t){return function(n,e,r){for(var o=-1,i=Object(n),a=r(n),u=a.length;u--;){var c=a[t?u:++o];if(e(i[c],c,i)===!1)break}return n}}t.exports=e},function(t,n,e){function r(t,n,e,r,x,_,g){var j=b(t,e),O=b(n,e),w=g.get(O);if(w)return void o(t,e,w);var P=_?_(j,O,e+"",t,n,g):void 0,T=void 0===P;if(T){var A=p(O),z=!A&&l(O),M=!A&&!z&&y(O);P=O,A||z||M?p(j)?P=j:f(j)?P=u(j):z?(T=!1,P=i(O,!0)):M?(T=!1,P=a(O,!0)):P=[]:h(O)||s(O)?(P=j,s(j)?P=m(j):(!v(j)||r&&d(j))&&(P=c(O))):T=!1}T&&(g.set(O,P),x(P,O,r,_,g),g.delete(O)),o(t,e,P)}var o=e(51),i=e(57),a=e(59),u=e(62),c=e(63),s=e(68),p=e(71),f=e(72),l=e(75),d=e(24),v=e(31),h=e(77),y=e(78),b=e(82),m=e(83);t.exports=r},function(t,n,e){(function(t){function r(t,n){if(n)return t.slice();var e=t.length,r=s?s(e):new t.constructor(e);return t.copy(r),r}var o=e(27),i="object"==typeof n&&n&&!n.nodeType&&n,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,c=u?o.Buffer:void 0,s=c?c.allocUnsafe:void 0;t.exports=r}).call(n,e(58)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n,e){function r(t,n){var e=n?o(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}var o=e(60);t.exports=r},function(t,n,e){function r(t){var n=new t.constructor(t.byteLength);return new o(n).set(new o(t)),n}var o=e(61);t.exports=r},function(t,n,e){var r=e(27),o=r.Uint8Array;t.exports=o},function(t,n){function e(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e<r;)n[e]=t[e];return n}t.exports=e},function(t,n,e){function r(t){return"function"!=typeof t.constructor||a(t)?{}:o(i(t))}var o=e(64),i=e(65),a=e(67);t.exports=r},function(t,n,e){var r=e(31),o=Object.create,i=function(){function t(){}return function(n){if(!r(n))return{};if(o)return o(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();t.exports=i},function(t,n,e){var r=e(66),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,n){function e(t,n){return function(e){return t(n(e))}}t.exports=e},function(t,n){function e(t){var n=t&&t.constructor,e="function"==typeof n&&n.prototype||r;return t===e}var r=Object.prototype;t.exports=e},function(t,n,e){var r=e(69),o=e(70),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=c},function(t,n,e){function r(t){return i(t)&&o(t)==a}var o=e(25),i=e(70),a="[object Arguments]";t.exports=r},function(t,n){function e(t){return null!=t&&"object"==typeof t}t.exports=e},function(t,n){var e=Array.isArray;t.exports=e},function(t,n,e){function r(t){return i(t)&&o(t)}var o=e(73),i=e(70);t.exports=r},function(t,n,e){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=e(24),i=e(74);t.exports=r},function(t,n){function e(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=e},function(t,n,e){(function(t){var r=e(27),o=e(76),i="object"==typeof n&&n&&!n.nodeType&&n,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,c=u?r.Buffer:void 0,s=c?c.isBuffer:void 0,p=s||o;t.exports=p}).call(n,e(58)(t))},function(t,n){function e(){return!1}t.exports=e},function(t,n,e){function r(t){if(!a(t)||o(t)!=u)return!1;var n=i(t);if(null===n)return!0;var e=f.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&p.call(e)==l}var o=e(25),i=e(65),a=e(70),u="[object Object]",c=Function.prototype,s=Object.prototype,p=c.toString,f=s.hasOwnProperty,l=p.call(Object);t.exports=r},function(t,n,e){var r=e(79),o=e(80),i=e(81),a=i&&i.isTypedArray,u=a?o(a):r;t.exports=u},function(t,n,e){function r(t){return a(t)&&i(t.length)&&!!S[o(t)]}var o=e(25),i=e(74),a=e(70),u="[object Arguments]",c="[object Array]",s="[object Boolean]",p="[object Date]",f="[object Error]",l="[object Function]",d="[object Map]",v="[object Number]",h="[object Object]",y="[object RegExp]",b="[object Set]",m="[object String]",x="[object WeakMap]",_="[object ArrayBuffer]",g="[object DataView]",j="[object Float32Array]",O="[object Float64Array]",w="[object Int8Array]",P="[object Int16Array]",T="[object Int32Array]",A="[object Uint8Array]",z="[object Uint8ClampedArray]",M="[object Uint16Array]",E="[object Uint32Array]",S={};S[j]=S[O]=S[w]=S[P]=S[T]=S[A]=S[z]=S[M]=S[E]=!0,S[u]=S[c]=S[_]=S[s]=S[g]=S[p]=S[f]=S[l]=S[d]=S[v]=S[h]=S[y]=S[b]=S[m]=S[x]=!1,t.exports=r},function(t,n){function e(t){return function(n){return t(n)}}t.exports=e},function(t,n,e){(function(t){var r=e(28),o="object"==typeof n&&n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o,u=a&&r.process,c=function(){try{return u&&u.binding&&u.binding("util")}catch(t){}}();t.exports=c}).call(n,e(58)(t))},function(t,n){function e(t,n){return"__proto__"==n?void 0:t[n]}t.exports=e},function(t,n,e){function r(t){return o(t,i(t))}var o=e(84),i=e(86);t.exports=r},function(t,n,e){function r(t,n,e,r){var a=!e;e||(e={});for(var u=-1,c=n.length;++u<c;){var s=n[u],p=r?r(e[s],t[s],s,e,t):void 0;void 0===p&&(p=t[s]),a?i(e,s,p):o(e,s,p)}return e}var o=e(85),i=e(52);t.exports=r},function(t,n,e){function r(t,n,e){var r=t[n];u.call(t,n)&&i(r,e)&&(void 0!==e||n in t)||o(t,n,e)}var o=e(52),i=e(12),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,n,e){function r(t){return a(t)?o(t,!0):i(t)}var o=e(87),i=e(90),a=e(73);t.exports=r},function(t,n,e){function r(t,n){var e=a(t),r=!e&&i(t),p=!e&&!r&&u(t),l=!e&&!r&&!p&&s(t),d=e||r||p||l,v=d?o(t.length,String):[],h=v.length;for(var y in t)!n&&!f.call(t,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||l&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,h))||v.push(y);return v}var o=e(88),i=e(68),a=e(71),u=e(75),c=e(89),s=e(78),p=Object.prototype,f=p.hasOwnProperty;t.exports=r},function(t,n){function e(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}t.exports=e},function(t,n){function e(t,n){var e=typeof t;return n=null==n?r:n,!!n&&("number"==e||"symbol"!=e&&o.test(t))&&t>-1&&t%1==0&&t<n}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=e},function(t,n,e){function r(t){if(!o(t))return a(t);var n=i(t),e=[];for(var r in t)("constructor"!=r||!n&&c.call(t,r))&&e.push(r);return e}var o=e(31),i=e(67),a=e(91),u=Object.prototype,c=u.hasOwnProperty;t.exports=r},function(t,n){function e(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}t.exports=e},function(t,n,e){function r(t){return o(function(n,e){var r=-1,o=e.length,a=o>1?e[o-1]:void 0,u=o>2?e[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&i(e[0],e[1],u)&&(a=o<3?void 0:a,o=1),n=Object(n);++r<o;){var c=e[r];c&&t(n,c,r,a)}return n})}var o=e(93),i=e(101);t.exports=r},function(t,n,e){function r(t,n){return a(i(t,n,o),t+"")}var o=e(94),i=e(95),a=e(97);t.exports=r},function(t,n){function e(t){return t}t.exports=e},function(t,n,e){function r(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var r=arguments,a=-1,u=i(r.length-n,0),c=Array(u);++a<u;)c[a]=r[n+a];a=-1;for(var s=Array(n+1);++a<n;)s[a]=r[a];return s[n]=e(c),o(t,this,s)}}var o=e(96),i=Math.max;t.exports=r},function(t,n){function e(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}t.exports=e},function(t,n,e){var r=e(98),o=e(100),i=o(r);t.exports=i},function(t,n,e){var r=e(99),o=e(53),i=e(94),a=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(n),writable:!0})}:i;t.exports=a},function(t,n){function e(t){return function(){return t}}t.exports=e},function(t,n){function e(t){var n=0,e=0;return function(){var a=i(),u=o-(a-e);if(e=a,u>0){if(++n>=r)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=e},function(t,n,e){function r(t,n,e){if(!u(e))return!1;var r=typeof n;return!!("number"==r?i(e)&&a(n,e.length):"string"==r&&n in e)&&o(e[n],t)}var o=e(12),i=e(73),a=e(89),u=e(31);t.exports=r},function(t,n){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(t,n){t.exports=Morph.modules["bbc-morph-bump@1.0.2"]}]);;
  1098. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-istats@1.2.0"]={"bbc-morph-promise":"1.0.6",requirejs:"2.3.5"},function(r){function n(e){if(t[e])return t[e].exports;var o=t[e]={exports:{},id:e,loaded:!1};return r[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var t={};return n.m=r,n.c=t,n.p="",n(0)}([function(r,n,t){Morph.modules["bbc-morph-istats@1.2.0"]=t(1)},function(r,n,t){function e(){return p?f.resolve(p):new f(function(r){requirejs(["istats-1"],function(n){p=n,r(p)})})}function o(r){return"string"==typeof r&&r[0]}function u(r,n){return o(r)&&o(n)}function i(r,n,t){return e().then(function(e){e.log(r,n,t)})}function c(r,n,t){return u(r,n)?i(n,r,t):f.reject("Invalid parameters")}function s(){return e().then(function(r){return r.getCountername()})}var p,f=t(2);n.track=c,n.getCountername=s,n.log=i},function(r,n){r.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);;
  1099. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-classnames@1.0.2"]={classnames:"2.2.5"},function(r){function o(s){if(n[s])return n[s].exports;var e=n[s]={exports:{},id:s,loaded:!1};return r[s].call(e.exports,e,e.exports,o),e.loaded=!0,e.exports}var n={};o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-classnames@1.0.2"]=n(1)},function(r,o,n){var s=n(2);r.exports=s},function(r,o,n){var s,e;!function(){"use strict";function n(){for(var r=[],o=0;o<arguments.length;o++){var s=arguments[o];if(s){var e=typeof s;if("string"===e||"number"===e)r.push(s);else if(Array.isArray(s))r.push(n.apply(null,s));else if("object"===e)for(var a in s)t.call(s,a)&&s[a]&&r.push(a)}}return r.join(" ")}var t={}.hasOwnProperty;void 0!==r&&r.exports?r.exports=n:(s=[],void 0!==(e=function(){return n}.apply(o,s))&&(r.exports=e))}()}]);;
  1100. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@3.0.0"]={"bbc-morph-classnames":"1.0.2","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){Morph.modules["bbc-morph-gel-icons@3.0.0"]=t(1)},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=t(2),o=n(i),a=t(3),s=n(a),l=t(4),c=n(l),u=o.default.createClass({displayName:"GEL__Icon",propTypes:{iconName:o.default.PropTypes.string,additionalClassNames:o.default.PropTypes.string},render:function(){var e=(0,c.default)("gel-icon","gel-icon--"+this.props.iconName,this.props.additionalClassNames),r="";try{var t=s.default.selfTransitiveThenUpdate("gel-icon-"+this.props.iconName,this);r=t?o.default.createElement(t,null):o.default.createElement("noscript",null)}catch(e){r=o.default.createElement("noscript",null)}return o.default.createElement("div",{className:e},r)}});u.ensureIcon=function(e){"undefined"==typeof window&&s.default.selfTransitive("gel-icon-"+e,null)},r.default=u,e.exports=r.default},function(e,r){e.exports=React},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@3.0.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@3.0.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@3.0.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@3.0.0",e,r,!0)}}},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);;
  1101. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-promise@1.0.5"]={"es6-promise":"3.1.2"},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.5"]=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){J=t}function a(t){X=t}function f(){return function(){t.nextTick(d)}}function l(){return function(){I(d)}}function h(){var t=0,n=new tt(d),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=d,function(){t.port2.postMessage(0)}}function v(){return function(){setTimeout(d,1)}}function d(){for(var t=0;V>t;t+=2){var n=rt[t],e=rt[t+1];n(e),rt[t]=void 0,rt[t+1]=void 0}V=0}function _(){try{var t=e(5);return I=t.runOnLoop||t.runOnContext,l()}catch(n){return v()}}function y(t,n){var e=this,r=e._state;if(r===ut&&!t||r===ct&&!n)return this;var o=new this.constructor(w),i=e._result;if(r){var s=arguments[r-1];X(function(){F(r,o,s,i)})}else C(e,o,t,n);return o}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 g(){return new TypeError("You cannot resolve a promise with itself")}function b(){return new TypeError("A promises callback cannot return that same promise.")}function A(t){try{return t.then}catch(n){return at.error=n,at}}function x(t,n,e,r){try{t.call(n,e,r)}catch(o){return o}}function E(t,n,e){X(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===ut?M(t,n._result):n._state===ct?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===ot&&constructor.resolve===it?T(t,n):e===at?k(t,at.error):void 0===e?M(t,n):u(e)?E(t,n,e):M(t,n)}function j(t,n){t===n?k(t,g()):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===st&&(t._result=n,t._state=ut,0!==t._subscribers.length&&X(O,t))}function k(t,n){t._state===st&&(t._state=ct,t._result=n,X(P,t))}function C(t,n,e,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=n,o[i+ut]=e,o[i+ct]=r,0===i&&t._state&&X(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(e){return ft.error=e,ft}}function F(t,n,e,r){var o,i,s,c,a=u(e);if(a){if(o=Y(e,r),o===ft?(c=!0,i=o.error,o=null):s=!0,n===o)return void k(n,b())}else o=r,s=!0;n._state!==st||(a&&s?j(n,o):c?k(n,i):t===ut?M(n,o):t===ct&&k(n,o))}function D(t,n){try{n(function(n){j(t,n)},function(n){k(t,n)})}catch(e){k(t,e)}}function K(t){return new _t(this,t).promise}function N(t){function n(t){j(o,t)}function e(t){k(o,t)}var r=this,o=new r(w);if(!R(t))return k(o,new TypeError("You must pass an array to race.")),o;for(var i=t.length,s=0;o._state===st&&i>s;s++)C(r.resolve(t[s]),void 0,n,e);return o}function U(t){var n=this,e=new n(w);return k(e,t),e}function W(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function q(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function z(t){this._id=vt++,this._state=void 0,this._result=void 0,this._subscribers=[],w!==t&&("function"!=typeof t&&W(),this instanceof z?D(this,t):q())}function B(t,n){this._instanceConstructor=t,this.promise=new t(w),Array.isArray(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,this._validationError())}function G(){var t;if("undefined"!=typeof o)t=o;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(n){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;(!e||"[object Promise]"!==Object.prototype.toString.call(e.resolve())||e.cast)&&(t.Promise=dt)}var H;H=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var I,J,Q,R=H,V=0,X=function(t,n){rt[V]=t,rt[V+1]=n,V+=2,2===V&&(J?J(d):Q())},Z="undefined"!=typeof window?window:void 0,$=Z||{},tt=$.MutationObserver||$.WebKitMutationObserver,nt="undefined"!=typeof t&&"[object process]"==={}.toString.call(t),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,rt=new Array(1e3);Q=nt?f():tt?h():et?p():void 0===Z?_():v();var ot=y,it=m,st=void 0,ut=1,ct=2,at=new L,ft=new L,lt=K,ht=N,pt=U,vt=0,dt=z;z.all=lt,z.race=ht,z.resolve=it,z.reject=pt,z._setScheduler=c,z._setAsap=a,z._asap=X,z.prototype={constructor:z,then:ot,"catch":function(t){return this.then(null,t)}};var _t=B;B.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},B.prototype._enumerate=function(){for(var t=this.length,n=this._input,e=0;this._state===st&&t>e;e++)this._eachEntry(n[e],e)},B.prototype._eachEntry=function(t,n){var e=this._instanceConstructor,r=e.resolve;if(r===it){var o=A(t);if(o===ot&&t._state!==st)this._settledAt(t._state,n,t._result);else if("function"!=typeof o)this._remaining--,this._result[n]=t;else if(e===dt){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)},B.prototype._settledAt=function(t,n,e){var r=this.promise;r._state===st&&(this._remaining--,t===ct?k(r,e):this._result[n]=e),0===this._remaining&&M(r,this._result)},B.prototype._willSettleAt=function(t,n){var e=this;C(t,void 0,function(t){e._settledAt(ut,n,t)},function(t){e._settledAt(ct,n,t)})};var yt=G,mt={Promise:dt,polyfill:yt};e(6).amd?(r=function(){return mt}.call(n,e,n,i),!(void 0!==r&&(i.exports=r))):"undefined"!=typeof i&&i.exports?i.exports=mt:"undefined"!=typeof this&&(this.ES6Promise=mt),yt()}).call(this)}).call(n,e(3),function(){return this}(),e(4)(t))},function(t,n){function e(){a=!1,s.length?c=s.concat(c):f=-1,c.length&&r()}function r(){if(!a){var t=setTimeout(e);a=!0;for(var n=c.length;n;){for(s=c,c=[];++f<n;)s&&s[f].run();f=-1,n=c.length}s=null,a=!1,clearTimeout(t)}}function o(t,n){this.fun=t,this.array=n}function i(){}var s,u=t.exports={},c=[],a=!1,f=-1;u.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];c.push(new o(t,n)),1!==c.length||a||setTimeout(r,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=i,u.addListener=i,u.once=i,u.off=i,u.removeListener=i,u.removeAllListeners=i,u.emit=i,u.binding=function(t){throw new Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(t){throw new Error("process.chdir is not supported")},u.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")}}]);;
  1102. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bump@1.0.1"]={"bbc-morph-promise":"1.0.5"},function(r){function o(e){if(n[e])return n[e].exports;var t=n[e]={exports:{},id:e,loaded:!1};return r[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}var n={};return o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-bump@1.0.1"]=n(1)},function(r,o,n){function e(){return new p(function(r){requirejs(["bump-3"],function(o){u=o,r(u)})})}function t(){return u?p.resolve(u):e()}var u,p=n(2);o.load=t},function(r,o){r.exports=Morph.modules["bbc-morph-promise@1.0.5"]}]);;
  1103. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@2.3.3"]={"bbc-morph-classnames":"1.0.2","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){Morph.modules["bbc-morph-gel-icons@2.3.3"]=t(1)},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=t(2),o=n(i),a=t(3),s=n(a),l=t(4),c=n(l),u=o.default.createClass({displayName:"GEL__Icon",propTypes:{iconName:o.default.PropTypes.string,additionalClassNames:o.default.PropTypes.string},render:function(){var e=(0,c.default)("gel-icon","gel-icon--"+this.props.iconName,this.props.additionalClassNames),r="";try{var t=s.default.selfTransitiveThenUpdate("gel-icon-"+this.props.iconName,this);r=t?o.default.createElement(t,null):o.default.createElement("noscript",null)}catch(e){r=o.default.createElement("noscript",null)}return o.default.createElement("div",{className:e},r)}});u.ensureIcon=function(e){"undefined"==typeof window&&s.default.selfTransitive("gel-icon-"+e,null)},r.default=u,e.exports=r.default},function(e,r){e.exports=React},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@2.3.3",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@2.3.3",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@2.3.3",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@2.3.3",e,r,!0)}}},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);;
  1104. });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-related-links-view@3.2.1"]={"@bbc/bitesize-branding":"10.0.0","bbc-morph-bitesize-related-links":"4.0.1","bbc-morph-gel-icons":"2.3.3","morph-container":"3.0.4","prop-types":"15.6.2",react:"0.14.7","react-dom":"0.14.7","svg-react-loader":"0.3.7"},function(e){function t(r){if(n[r])return n[r].exports;var l=n[r]={exports:{},id:r,loaded:!1};return e[r].call(l.exports,l,l.exports,t),l.loaded=!0,l.exports}var n={};t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){Morph.modules["bbc-morph-bitesize-related-links-view@3.2.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 l=n[r]={i:r,l:!1,exports:{}};return e[r].call(l.exports,l,l.exports,t),l.l=!0,l.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=5)}([function(e,t){e.exports=n(3)},function(e,t){e.exports=n(4)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(0)),a=(r(n(1)),r(n(3))),o=r(n(4)),i=function(e,t,n,r,a){return l.default.createElement("div",{className:"related-links__promo"},l.default.createElement("a",{href:e,className:"related-links__promo__link"},l.default.createElement("img",{src:"https://ichef.bbci.co.uk/images/ic/80x80/".concat(n,".jpg"),alt:r,width:"80",height:"80"})),l.default.createElement("div",{className:"related-links__promo__body"},l.default.createElement("a",{href:e,className:"related-links__promo__titlelink"},t),l.default.createElement("p",null,a)))},u=function(e,t){return l.default.createElement("a",{href:e,className:"related-links__link"},t)},s=function(e,t){return l.default.createElement("a",{href:e,className:"related-links__link"},l.default.createElement(a.default,{iconName:"external-link",additionalClassNames:"related-links__link-icon"}),t)},c=function(e){var t=e.links,n=t.internalLinks,r=t.externalLinks,a=e.language,c=n&&n.length>0&&n[0].pid?n[0]:null;return l.default.createElement("div",{className:"related-links"},l.default.createElement("h2",{className:"related-links__header"},(0,o.default)(a).title),c&&i(c.url,c.title,c.pid,c.altText,c.shortDescription),l.default.createElement("ul",{className:"related-links__list related-links__list--internal"},n.map(function(e,t){return null!==c&&t>0&&t<6||null===c&&t<5?l.default.createElement("li",{key:e.url,className:"related-links__item"},u(e.url,e.title)):null})),n&&r&&l.default.createElement("hr",null),l.default.createElement("ul",{className:"related-links__list related-links__list--external"},r.map(function(e,t){return t<5?l.default.createElement("li",{key:e.url,className:"related-links__item"},s(e.url,e.title),(e.subscription||e.requiresSubscription)&&l.default.createElement("span",{className:"related-links__subscription"},(0,o.default)(a).subscription)):null})))};c.defaultProps={language:"en-GB"},c.displayName="RelatedLinks";var f=c;t.default=f,e.exports=t.default},function(e,t){e.exports=n(5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){return{"en-GB":{title:"Links",subscription:"SUBSCRIPTION"},"cy-GB":{title:"Dolenni",subscription:"TANYSGRIFIAD"},"ga-GB":{title:"Naisc",subscription:"SÍNTIÚS"},"gd-GB":{title:"Ceanglaichean",subscription:"SEIRBHEIS PÀIGHTE"}}[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-GB"]};t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(6)),a=r(n(7)),o=l.default.create(a.default,{data:function(e){return{relatedLinksData:{uri:{data:"bbc-morph-bitesize-related-links",zid:e.zid,pageType:e.pageType},updates:!1}}}});t.default=o,e.exports=t.default},function(e,t){e.exports=n(6)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function&quo